/**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (0 < count($this->reason)) {
         $json['reason'] = array();
         foreach ($this->reason as $reason) {
             $json['reason'][] = $reason->jsonSerialize();
         }
     }
     if (0 < count($this->reasonNotGiven)) {
         $json['reasonNotGiven'] = array();
         foreach ($this->reasonNotGiven as $reasonNotGiven) {
             $json['reasonNotGiven'][] = $reasonNotGiven->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->name) {
         $json['name'] = $this->name->jsonSerialize();
     }
     if (0 < count($this->telecom)) {
         $json['telecom'] = array();
         foreach ($this->telecom as $telecom) {
             $json['telecom'][] = $telecom->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->number) {
         $json['number'] = $this->number->jsonSerialize();
     }
     if (null !== $this->uid) {
         $json['uid'] = $this->uid->jsonSerialize();
     }
     if (null !== $this->sopClass) {
         $json['sopClass'] = $this->sopClass->jsonSerialize();
     }
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->title) {
         $json['title'] = $this->title->jsonSerialize();
     }
     if (0 < count($this->content)) {
         $json['content'] = array();
         foreach ($this->content as $content) {
             $json['content'][] = $content->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->language) {
         $json['language'] = $this->language->jsonSerialize();
     }
     if (null !== $this->use) {
         $json['use'] = $this->use->jsonSerialize();
     }
     if (null !== $this->value) {
         $json['value'] = $this->value->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->date) {
         $json['date'] = $this->date->jsonSerialize();
     }
     if (null !== $this->vaccineCode) {
         $json['vaccineCode'] = $this->vaccineCode->jsonSerialize();
     }
     if (null !== $this->doseNumber) {
         $json['doseNumber'] = $this->doseNumber->jsonSerialize();
     }
     if (null !== $this->forecastStatus) {
         $json['forecastStatus'] = $this->forecastStatus->jsonSerialize();
     }
     if (0 < count($this->dateCriterion)) {
         $json['dateCriterion'] = array();
         foreach ($this->dateCriterion as $dateCriterion) {
             $json['dateCriterion'][] = $dateCriterion->jsonSerialize();
         }
     }
     if (null !== $this->protocol) {
         $json['protocol'] = $this->protocol->jsonSerialize();
     }
     if (0 < count($this->supportingImmunization)) {
         $json['supportingImmunization'] = array();
         foreach ($this->supportingImmunization as $supportingImmunization) {
             $json['supportingImmunization'][] = $supportingImmunization->jsonSerialize();
         }
     }
     if (0 < count($this->supportingPatientInformation)) {
         $json['supportingPatientInformation'] = array();
         foreach ($this->supportingPatientInformation as $supportingPatientInformation) {
             $json['supportingPatientInformation'][] = $supportingPatientInformation->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->service) {
         $json['service'] = $this->service->jsonSerialize();
     }
     if (null !== $this->fee) {
         $json['fee'] = $this->fee->jsonSerialize();
     }
     if (0 < count($this->adjudication)) {
         $json['adjudication'] = array();
         foreach ($this->adjudication as $adjudication) {
             $json['adjudication'][] = $adjudication->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->comment) {
         $json['comment'] = $this->comment->jsonSerialize();
     }
     if (null !== $this->link) {
         $json['link'] = $this->link->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->sequence) {
         $json['sequence'] = $this->sequence->jsonSerialize();
     }
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->provider) {
         $json['provider'] = $this->provider->jsonSerialize();
     }
     if (0 < count($this->diagnosisLinkId)) {
         $json['diagnosisLinkId'] = array();
         foreach ($this->diagnosisLinkId as $diagnosisLinkId) {
             $json['diagnosisLinkId'][] = $diagnosisLinkId->jsonSerialize();
         }
     }
     if (null !== $this->service) {
         $json['service'] = $this->service->jsonSerialize();
     }
     if (null !== $this->serviceDate) {
         $json['serviceDate'] = $this->serviceDate->jsonSerialize();
     }
     if (null !== $this->quantity) {
         $json['quantity'] = $this->quantity->jsonSerialize();
     }
     if (null !== $this->unitPrice) {
         $json['unitPrice'] = $this->unitPrice->jsonSerialize();
     }
     if (null !== $this->factor) {
         $json['factor'] = $this->factor->jsonSerialize();
     }
     if (null !== $this->points) {
         $json['points'] = $this->points->jsonSerialize();
     }
     if (null !== $this->net) {
         $json['net'] = $this->net->jsonSerialize();
     }
     if (null !== $this->udi) {
         $json['udi'] = $this->udi->jsonSerialize();
     }
     if (null !== $this->bodySite) {
         $json['bodySite'] = $this->bodySite->jsonSerialize();
     }
     if (0 < count($this->subSite)) {
         $json['subSite'] = array();
         foreach ($this->subSite as $subSite) {
             $json['subSite'][] = $subSite->jsonSerialize();
         }
     }
     if (0 < count($this->modifier)) {
         $json['modifier'] = array();
         foreach ($this->modifier as $modifier) {
             $json['modifier'][] = $modifier->jsonSerialize();
         }
     }
     if (0 < count($this->detail)) {
         $json['detail'] = array();
         foreach ($this->detail as $detail) {
             $json['detail'][] = $detail->jsonSerialize();
         }
     }
     if (null !== $this->prosthesis) {
         $json['prosthesis'] = $this->prosthesis->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->abstract) {
         $json['abstract'] = $this->abstract->jsonSerialize();
     }
     if (null !== $this->display) {
         $json['display'] = $this->display->jsonSerialize();
     }
     if (null !== $this->definition) {
         $json['definition'] = $this->definition->jsonSerialize();
     }
     if (0 < count($this->designation)) {
         $json['designation'] = array();
         foreach ($this->designation as $designation) {
             $json['designation'][] = $designation->jsonSerialize();
         }
     }
     if (0 < count($this->concept)) {
         $json['concept'] = array();
         foreach ($this->concept as $concept) {
             $json['concept'][] = $concept->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->action) {
         $json['action'] = $this->action->jsonSerialize();
     }
     if (null !== $this->date) {
         $json['date'] = $this->date->jsonSerialize();
     }
     if (null !== $this->author) {
         $json['author'] = $this->author->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->modifier) {
         $json['modifier'] = $this->modifier->jsonSerialize();
     }
     if (null !== $this->amount) {
         $json['amount'] = $this->amount->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->value) {
         $json['value'] = $this->value->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->period) {
         $json['period'] = $this->period->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->form) {
         $json['form'] = $this->form->jsonSerialize();
     }
     if (0 < count($this->ingredient)) {
         $json['ingredient'] = array();
         foreach ($this->ingredient as $ingredient) {
             $json['ingredient'][] = $ingredient->jsonSerialize();
         }
     }
     if (0 < count($this->batch)) {
         $json['batch'] = array();
         foreach ($this->batch as $batch) {
             $json['batch'][] = $batch->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->modifier) {
         $json['modifier'] = $this->modifier->jsonSerialize();
     }
     if (null !== $this->foodType) {
         $json['foodType'] = $this->foodType->jsonSerialize();
     }
     return $json;
 }