本文整理汇总了PHP中PHPFHIRGenerated\FHIRElement\FHIRBackboneElement::jsonSerialize方法的典型用法代码示例。如果您正苦于以下问题:PHP FHIRBackboneElement::jsonSerialize方法的具体用法?PHP FHIRBackboneElement::jsonSerialize怎么用?PHP FHIRBackboneElement::jsonSerialize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PHPFHIRGenerated\FHIRElement\FHIRBackboneElement
的用法示例。
在下文中一共展示了FHIRBackboneElement::jsonSerialize方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->label) {
$json['label'] = $this->label->jsonSerialize();
}
if (null !== $this->description) {
$json['description'] = $this->description->jsonSerialize();
}
if (null !== $this->direction) {
$json['direction'] = $this->direction->jsonSerialize();
}
if (null !== $this->compareToSourceId) {
$json['compareToSourceId'] = $this->compareToSourceId->jsonSerialize();
}
if (null !== $this->compareToSourcePath) {
$json['compareToSourcePath'] = $this->compareToSourcePath->jsonSerialize();
}
if (null !== $this->contentType) {
$json['contentType'] = $this->contentType->jsonSerialize();
}
if (null !== $this->headerField) {
$json['headerField'] = $this->headerField->jsonSerialize();
}
if (null !== $this->minimumId) {
$json['minimumId'] = $this->minimumId->jsonSerialize();
}
if (null !== $this->navigationLinks) {
$json['navigationLinks'] = $this->navigationLinks->jsonSerialize();
}
if (null !== $this->operator) {
$json['operator'] = $this->operator->jsonSerialize();
}
if (null !== $this->path) {
$json['path'] = $this->path->jsonSerialize();
}
if (null !== $this->resource) {
$json['resource'] = $this->resource->jsonSerialize();
}
if (null !== $this->response) {
$json['response'] = $this->response->jsonSerialize();
}
if (null !== $this->responseCode) {
$json['responseCode'] = $this->responseCode->jsonSerialize();
}
if (null !== $this->sourceId) {
$json['sourceId'] = $this->sourceId->jsonSerialize();
}
if (null !== $this->validateProfileId) {
$json['validateProfileId'] = $this->validateProfileId->jsonSerialize();
}
if (null !== $this->value) {
$json['value'] = $this->value->jsonSerialize();
}
if (null !== $this->warningOnly) {
$json['warningOnly'] = $this->warningOnly->jsonSerialize();
}
return $json;
}
示例2: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->required) {
$json['required'] = $this->required->jsonSerialize();
}
if (null !== $this->validated) {
$json['validated'] = $this->validated->jsonSerialize();
}
if (null !== $this->description) {
$json['description'] = $this->description->jsonSerialize();
}
if (null !== $this->destination) {
$json['destination'] = $this->destination->jsonSerialize();
}
if (0 < count($this->link)) {
$json['link'] = array();
foreach ($this->link as $link) {
$json['link'][] = $link->jsonSerialize();
}
}
if (null !== $this->conformance) {
$json['conformance'] = $this->conformance->jsonSerialize();
}
return $json;
}
示例3: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->identifier) {
$json['identifier'] = $this->identifier->jsonSerialize();
}
if (null !== $this->expiry) {
$json['expiry'] = $this->expiry->jsonSerialize();
}
if (null !== $this->quantity) {
$json['quantity'] = $this->quantity->jsonSerialize();
}
return $json;
}
示例4: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->operation) {
$json['operation'] = $this->operation->jsonSerialize();
}
if (null !== $this->assert) {
$json['assert'] = $this->assert->jsonSerialize();
}
return $json;
}
示例5: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->system) {
$json['system'] = $this->system->jsonSerialize();
}
if (null !== $this->version) {
$json['version'] = $this->version->jsonSerialize();
}
if (0 < count($this->concept)) {
$json['concept'] = array();
foreach ($this->concept as $concept) {
$json['concept'][] = $concept->jsonSerialize();
}
}
if (0 < count($this->filter)) {
$json['filter'] = array();
foreach ($this->filter as $filter) {
$json['filter'][] = $filter->jsonSerialize();
}
}
return $json;
}
示例6: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->schedule) {
$json['schedule'] = $this->schedule->jsonSerialize();
}
if (null !== $this->quantity) {
$json['quantity'] = $this->quantity->jsonSerialize();
}
if (null !== $this->rateQuantity) {
$json['rateQuantity'] = $this->rateQuantity->jsonSerialize();
}
if (null !== $this->rateRatio) {
$json['rateRatio'] = $this->rateRatio->jsonSerialize();
}
return $json;
}
示例7: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->role) {
$json['role'] = $this->role->jsonSerialize();
}
if (null !== $this->member) {
$json['member'] = $this->member->jsonSerialize();
}
return $json;
}
示例8: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->sequenceLinkId) {
$json['sequenceLinkId'] = $this->sequenceLinkId->jsonSerialize();
}
if (null !== $this->detailSequenceLinkId) {
$json['detailSequenceLinkId'] = $this->detailSequenceLinkId->jsonSerialize();
}
if (null !== $this->subdetailSequenceLinkId) {
$json['subdetailSequenceLinkId'] = $this->subdetailSequenceLinkId->jsonSerialize();
}
if (null !== $this->code) {
$json['code'] = $this->code->jsonSerialize();
}
return $json;
}
示例9: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->type) {
$json['type'] = $this->type->jsonSerialize();
}
if (0 < count($this->specialty)) {
$json['specialty'] = array();
foreach ($this->specialty as $specialty) {
$json['specialty'][] = $specialty->jsonSerialize();
}
}
return $json;
}
示例10: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (0 < count($this->element)) {
$json['element'] = array();
foreach ($this->element as $element) {
$json['element'][] = $element->jsonSerialize();
}
}
return $json;
}
示例11: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->number) {
$json['number'] = $this->number->jsonSerialize();
}
if (null !== $this->type) {
$json['type'] = $this->type->jsonSerialize();
}
if (null !== $this->text) {
$json['text'] = $this->text->jsonSerialize();
}
return $json;
}
示例12: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->summary) {
$json['summary'] = $this->summary->jsonSerialize();
}
if (0 < count($this->assessment)) {
$json['assessment'] = array();
foreach ($this->assessment as $assessment) {
$json['assessment'][] = $assessment->jsonSerialize();
}
}
return $json;
}
示例13: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->baseFormulaType) {
$json['baseFormulaType'] = $this->baseFormulaType->jsonSerialize();
}
if (null !== $this->baseFormulaProductName) {
$json['baseFormulaProductName'] = $this->baseFormulaProductName->jsonSerialize();
}
if (null !== $this->additiveType) {
$json['additiveType'] = $this->additiveType->jsonSerialize();
}
if (null !== $this->additiveProductName) {
$json['additiveProductName'] = $this->additiveProductName->jsonSerialize();
}
if (null !== $this->caloricDensity) {
$json['caloricDensity'] = $this->caloricDensity->jsonSerialize();
}
if (null !== $this->routeofAdministration) {
$json['routeofAdministration'] = $this->routeofAdministration->jsonSerialize();
}
if (0 < count($this->administration)) {
$json['administration'] = array();
foreach ($this->administration as $administration) {
$json['administration'][] = $administration->jsonSerialize();
}
}
if (null !== $this->maxVolumeToDeliver) {
$json['maxVolumeToDeliver'] = $this->maxVolumeToDeliver->jsonSerialize();
}
if (null !== $this->administrationInstruction) {
$json['administrationInstruction'] = $this->administrationInstruction->jsonSerialize();
}
return $json;
}
示例14: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (0 < count($this->identifier)) {
$json['identifier'] = array();
foreach ($this->identifier as $identifier) {
$json['identifier'][] = $identifier->jsonSerialize();
}
}
if (null !== $this->description) {
$json['description'] = $this->description->jsonSerialize();
}
if (null !== $this->type) {
$json['type'] = $this->type->jsonSerialize();
}
if (null !== $this->capacity) {
$json['capacity'] = $this->capacity->jsonSerialize();
}
if (null !== $this->specimenQuantity) {
$json['specimenQuantity'] = $this->specimenQuantity->jsonSerialize();
}
if (null !== $this->additiveCodeableConcept) {
$json['additiveCodeableConcept'] = $this->additiveCodeableConcept->jsonSerialize();
}
if (null !== $this->additiveReference) {
$json['additiveReference'] = $this->additiveReference->jsonSerialize();
}
return $json;
}
示例15: jsonSerialize
/**
* @return array
*/
public function jsonSerialize()
{
$json = parent::jsonSerialize();
if (null !== $this->valueBoolean) {
$json['valueBoolean'] = $this->valueBoolean->jsonSerialize();
}
if (null !== $this->valueDecimal) {
$json['valueDecimal'] = $this->valueDecimal->jsonSerialize();
}
if (null !== $this->valueInteger) {
$json['valueInteger'] = $this->valueInteger->jsonSerialize();
}
if (null !== $this->valueDate) {
$json['valueDate'] = $this->valueDate->jsonSerialize();
}
if (null !== $this->valueDateTime) {
$json['valueDateTime'] = $this->valueDateTime->jsonSerialize();
}
if (null !== $this->valueInstant) {
$json['valueInstant'] = $this->valueInstant->jsonSerialize();
}
if (null !== $this->valueTime) {
$json['valueTime'] = $this->valueTime->jsonSerialize();
}
if (null !== $this->valueString) {
$json['valueString'] = $this->valueString->jsonSerialize();
}
if (null !== $this->valueUri) {
$json['valueUri'] = $this->valueUri->jsonSerialize();
}
if (null !== $this->valueAttachment) {
$json['valueAttachment'] = $this->valueAttachment->jsonSerialize();
}
if (null !== $this->valueCoding) {
$json['valueCoding'] = $this->valueCoding->jsonSerialize();
}
if (null !== $this->valueMeasuredQuantity) {
$json['valueMeasuredQuantity'] = $this->valueMeasuredQuantity->jsonSerialize();
}
if (null !== $this->valueReference) {
$json['valueReference'] = $this->valueReference->jsonSerialize();
}
if (0 < count($this->group)) {
$json['group'] = array();
foreach ($this->group as $group) {
$json['group'][] = $group->jsonSerialize();
}
}
return $json;
}