/**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (0 < count($this->identifier)) {
         $json['identifier'] = array();
         foreach ($this->identifier as $identifier) {
             $json['identifier'][] = $identifier->jsonSerialize();
         }
     }
     if (null !== $this->request) {
         $json['request'] = $this->request->jsonSerialize();
     }
     if (null !== $this->date) {
         $json['date'] = $this->date->jsonSerialize();
     }
     if (null !== $this->who) {
         $json['who'] = $this->who->jsonSerialize();
     }
     if (null !== $this->orderStatus) {
         $json['orderStatus'] = $this->orderStatus->jsonSerialize();
     }
     if (null !== $this->description) {
         $json['description'] = $this->description->jsonSerialize();
     }
     if (0 < count($this->fulfillment)) {
         $json['fulfillment'] = array();
         foreach ($this->fulfillment as $fulfillment) {
             $json['fulfillment'][] = $fulfillment->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->collector) {
         $json['collector'] = $this->collector->jsonSerialize();
     }
     if (0 < count($this->comment)) {
         $json['comment'] = array();
         foreach ($this->comment as $comment) {
             $json['comment'][] = $comment->jsonSerialize();
         }
     }
     if (null !== $this->collectedDateTime) {
         $json['collectedDateTime'] = $this->collectedDateTime->jsonSerialize();
     }
     if (null !== $this->collectedPeriod) {
         $json['collectedPeriod'] = $this->collectedPeriod->jsonSerialize();
     }
     if (null !== $this->quantity) {
         $json['quantity'] = $this->quantity->jsonSerialize();
     }
     if (null !== $this->method) {
         $json['method'] = $this->method->jsonSerialize();
     }
     if (null !== $this->bodySite) {
         $json['bodySite'] = $this->bodySite->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->identifier) {
         $json['identifier'] = $this->identifier->jsonSerialize();
     }
     if (null !== $this->timestamp) {
         $json['timestamp'] = $this->timestamp->jsonSerialize();
     }
     if (null !== $this->total) {
         $json['total'] = $this->total->jsonSerialize();
     }
     if (null !== $this->offset) {
         $json['offset'] = $this->offset->jsonSerialize();
     }
     if (0 < count($this->parameter)) {
         $json['parameter'] = array();
         foreach ($this->parameter as $parameter) {
             $json['parameter'][] = $parameter->jsonSerialize();
         }
     }
     if (0 < count($this->contains)) {
         $json['contains'] = array();
         foreach ($this->contains as $contains) {
             $json['contains'][] = $contains->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (null !== $this->identifier) {
         $json['identifier'] = $this->identifier->jsonSerialize();
     }
     if (null !== $this->date) {
         $json['date'] = $this->date->jsonSerialize();
     }
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->class) {
         $json['class'] = $this->class->jsonSerialize();
     }
     if (null !== $this->title) {
         $json['title'] = $this->title->jsonSerialize();
     }
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->confidentiality) {
         $json['confidentiality'] = $this->confidentiality->jsonSerialize();
     }
     if (null !== $this->subject) {
         $json['subject'] = $this->subject->jsonSerialize();
     }
     if (0 < count($this->author)) {
         $json['author'] = array();
         foreach ($this->author as $author) {
             $json['author'][] = $author->jsonSerialize();
         }
     }
     if (0 < count($this->attester)) {
         $json['attester'] = array();
         foreach ($this->attester as $attester) {
             $json['attester'][] = $attester->jsonSerialize();
         }
     }
     if (null !== $this->custodian) {
         $json['custodian'] = $this->custodian->jsonSerialize();
     }
     if (0 < count($this->event)) {
         $json['event'] = array();
         foreach ($this->event as $event) {
             $json['event'][] = $event->jsonSerialize();
         }
     }
     if (null !== $this->encounter) {
         $json['encounter'] = $this->encounter->jsonSerialize();
     }
     if (0 < count($this->section)) {
         $json['section'] = array();
         foreach ($this->section as $section) {
             $json['section'][] = $section->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->identifier) {
         $json['identifier'] = $this->identifier->jsonSerialize();
     }
     if (null !== $this->issued) {
         $json['issued'] = $this->issued->jsonSerialize();
     }
     if (null !== $this->applies) {
         $json['applies'] = $this->applies->jsonSerialize();
     }
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->subType) {
         $json['subType'] = $this->subType->jsonSerialize();
     }
     if (null !== $this->subject) {
         $json['subject'] = $this->subject->jsonSerialize();
     }
     if (0 < count($this->action)) {
         $json['action'] = array();
         foreach ($this->action as $action) {
             $json['action'][] = $action->jsonSerialize();
         }
     }
     if (0 < count($this->actionReason)) {
         $json['actionReason'] = array();
         foreach ($this->actionReason as $actionReason) {
             $json['actionReason'][] = $actionReason->jsonSerialize();
         }
     }
     if (0 < count($this->actor)) {
         $json['actor'] = array();
         foreach ($this->actor as $actor) {
             $json['actor'][] = $actor->jsonSerialize();
         }
     }
     if (null !== $this->text) {
         $json['text'] = $this->text->jsonSerialize();
     }
     if (0 < count($this->valuedItem)) {
         $json['valuedItem'] = array();
         foreach ($this->valuedItem as $valuedItem) {
             $json['valuedItem'][] = $valuedItem->jsonSerialize();
         }
     }
     if (0 < count($this->group)) {
         $json['group'] = array();
         foreach ($this->group as $group) {
             $json['group'][] = $group->jsonSerialize();
         }
     }
     return $json;
 }
Пример #6
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->start) {
         $json['start'] = $this->start->jsonSerialize();
     }
     if (null !== $this->end) {
         $json['end'] = $this->end->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->value) {
         $json['value'] = $this->value->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->lotNumber) {
         $json['lotNumber'] = $this->lotNumber->jsonSerialize();
     }
     if (null !== $this->expirationDate) {
         $json['expirationDate'] = $this->expirationDate->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->name) {
         $json['name'] = $this->name->jsonSerialize();
     }
     if (null !== $this->version) {
         $json['version'] = $this->version->jsonSerialize();
     }
     if (null !== $this->releaseDate) {
         $json['releaseDate'] = $this->releaseDate->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->date) {
         $json['date'] = $this->date->jsonSerialize();
     }
     if (null !== $this->detail) {
         $json['detail'] = $this->detail->jsonSerialize();
     }
     if (null !== $this->reported) {
         $json['reported'] = $this->reported->jsonSerialize();
     }
     return $json;
 }
Пример #13
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->authorReference) {
         $json['authorReference'] = $this->authorReference->jsonSerialize();
     }
     if (null !== $this->authorString) {
         $json['authorString'] = $this->authorString->jsonSerialize();
     }
     if (null !== $this->time) {
         $json['time'] = $this->time->jsonSerialize();
     }
     if (null !== $this->text) {
         $json['text'] = $this->text->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->description) {
         $json['description'] = $this->description->jsonSerialize();
     }
     if (null !== $this->dateTime) {
         $json['dateTime'] = $this->dateTime->jsonSerialize();
     }
     if (null !== $this->actor) {
         $json['actor'] = $this->actor->jsonSerialize();
     }
     return $json;
 }
Пример #15
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->flag) {
         $json['flag'] = $this->flag->jsonSerialize();
     }
     if (null !== $this->deleted) {
         $json['deleted'] = $this->deleted->jsonSerialize();
     }
     if (null !== $this->date) {
         $json['date'] = $this->date->jsonSerialize();
     }
     if (null !== $this->item) {
         $json['item'] = $this->item->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (0 < count($this->mode)) {
         $json['mode'] = array();
         foreach ($this->mode as $mode) {
             $json['mode'][] = $mode->jsonSerialize();
         }
     }
     if (null !== $this->time) {
         $json['time'] = $this->time->jsonSerialize();
     }
     if (null !== $this->party) {
         $json['party'] = $this->party->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (null !== $this->subject) {
         $json['subject'] = $this->subject->jsonSerialize();
     }
     if (null !== $this->date) {
         $json['date'] = $this->date->jsonSerialize();
     }
     if (null !== $this->condition) {
         $json['condition'] = $this->condition->jsonSerialize();
     }
     if (null !== $this->encounter) {
         $json['encounter'] = $this->encounter->jsonSerialize();
     }
     if (null !== $this->performer) {
         $json['performer'] = $this->performer->jsonSerialize();
     }
     if (null !== $this->identifier) {
         $json['identifier'] = $this->identifier->jsonSerialize();
     }
     if (null !== $this->method) {
         $json['method'] = $this->method->jsonSerialize();
     }
     if (0 < count($this->basis)) {
         $json['basis'] = array();
         foreach ($this->basis as $basis) {
             $json['basis'][] = $basis->jsonSerialize();
         }
     }
     if (0 < count($this->prediction)) {
         $json['prediction'] = array();
         foreach ($this->prediction as $prediction) {
             $json['prediction'][] = $prediction->jsonSerialize();
         }
     }
     if (null !== $this->mitigation) {
         $json['mitigation'] = $this->mitigation->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (null !== $this->patient) {
         $json['patient'] = $this->patient->jsonSerialize();
     }
     if (null !== $this->source) {
         $json['source'] = $this->source->jsonSerialize();
     }
     if (null !== $this->date) {
         $json['date'] = $this->date->jsonSerialize();
     }
     if (null !== $this->identifier) {
         $json['identifier'] = $this->identifier->jsonSerialize();
     }
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->kind) {
         $json['kind'] = $this->kind->jsonSerialize();
     }
     if (null !== $this->orderedItem) {
         $json['orderedItem'] = $this->orderedItem->jsonSerialize();
     }
     if (0 < count($this->supplier)) {
         $json['supplier'] = array();
         foreach ($this->supplier as $supplier) {
             $json['supplier'][] = $supplier->jsonSerialize();
         }
     }
     if (null !== $this->reasonCodeableConcept) {
         $json['reasonCodeableConcept'] = $this->reasonCodeableConcept->jsonSerialize();
     }
     if (null !== $this->reasonReference) {
         $json['reasonReference'] = $this->reasonReference->jsonSerialize();
     }
     if (null !== $this->when) {
         $json['when'] = $this->when->jsonSerialize();
     }
     return $json;
 }
Пример #19
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (0 < count($this->identifier)) {
         $json['identifier'] = array();
         foreach ($this->identifier as $identifier) {
             $json['identifier'][] = $identifier->jsonSerialize();
         }
     }
     if (null !== $this->date) {
         $json['date'] = $this->date->jsonSerialize();
     }
     if (null !== $this->subject) {
         $json['subject'] = $this->subject->jsonSerialize();
     }
     if (null !== $this->source) {
         $json['source'] = $this->source->jsonSerialize();
     }
     if (null !== $this->target) {
         $json['target'] = $this->target->jsonSerialize();
     }
     if (null !== $this->reasonCodeableConcept) {
         $json['reasonCodeableConcept'] = $this->reasonCodeableConcept->jsonSerialize();
     }
     if (null !== $this->reasonReference) {
         $json['reasonReference'] = $this->reasonReference->jsonSerialize();
     }
     if (null !== $this->when) {
         $json['when'] = $this->when->jsonSerialize();
     }
     if (0 < count($this->detail)) {
         $json['detail'] = array();
         foreach ($this->detail as $detail) {
             $json['detail'][] = $detail->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();
     $json['resourceType'] = $this->_fhirElementName;
     if (0 < count($this->identifier)) {
         $json['identifier'] = array();
         foreach ($this->identifier as $identifier) {
             $json['identifier'][] = $identifier->jsonSerialize();
         }
     }
     if (null !== $this->dateWritten) {
         $json['dateWritten'] = $this->dateWritten->jsonSerialize();
     }
     if (null !== $this->patient) {
         $json['patient'] = $this->patient->jsonSerialize();
     }
     if (null !== $this->prescriber) {
         $json['prescriber'] = $this->prescriber->jsonSerialize();
     }
     if (null !== $this->encounter) {
         $json['encounter'] = $this->encounter->jsonSerialize();
     }
     if (null !== $this->reasonCodeableConcept) {
         $json['reasonCodeableConcept'] = $this->reasonCodeableConcept->jsonSerialize();
     }
     if (null !== $this->reasonReference) {
         $json['reasonReference'] = $this->reasonReference->jsonSerialize();
     }
     if (0 < count($this->dispense)) {
         $json['dispense'] = array();
         foreach ($this->dispense as $dispense) {
             $json['dispense'][] = $dispense->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (0 < count($this->identifier)) {
         $json['identifier'] = array();
         foreach ($this->identifier as $identifier) {
             $json['identifier'][] = $identifier->jsonSerialize();
         }
     }
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->patient) {
         $json['patient'] = $this->patient->jsonSerialize();
     }
     if (null !== $this->practitioner) {
         $json['practitioner'] = $this->practitioner->jsonSerialize();
     }
     if (null !== $this->encounter) {
         $json['encounter'] = $this->encounter->jsonSerialize();
     }
     if (null !== $this->prescription) {
         $json['prescription'] = $this->prescription->jsonSerialize();
     }
     if (null !== $this->wasNotGiven) {
         $json['wasNotGiven'] = $this->wasNotGiven->jsonSerialize();
     }
     if (0 < count($this->reasonNotGiven)) {
         $json['reasonNotGiven'] = array();
         foreach ($this->reasonNotGiven as $reasonNotGiven) {
             $json['reasonNotGiven'][] = $reasonNotGiven->jsonSerialize();
         }
     }
     if (0 < count($this->reasonGiven)) {
         $json['reasonGiven'] = array();
         foreach ($this->reasonGiven as $reasonGiven) {
             $json['reasonGiven'][] = $reasonGiven->jsonSerialize();
         }
     }
     if (null !== $this->effectiveTimeDateTime) {
         $json['effectiveTimeDateTime'] = $this->effectiveTimeDateTime->jsonSerialize();
     }
     if (null !== $this->effectiveTimePeriod) {
         $json['effectiveTimePeriod'] = $this->effectiveTimePeriod->jsonSerialize();
     }
     if (null !== $this->medicationCodeableConcept) {
         $json['medicationCodeableConcept'] = $this->medicationCodeableConcept->jsonSerialize();
     }
     if (null !== $this->medicationReference) {
         $json['medicationReference'] = $this->medicationReference->jsonSerialize();
     }
     if (0 < count($this->device)) {
         $json['device'] = array();
         foreach ($this->device as $device) {
             $json['device'][] = $device->jsonSerialize();
         }
     }
     if (null !== $this->note) {
         $json['note'] = $this->note->jsonSerialize();
     }
     if (null !== $this->dosage) {
         $json['dosage'] = $this->dosage->jsonSerialize();
     }
     return $json;
 }
Пример #23
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (0 < count($this->identifier)) {
         $json['identifier'] = array();
         foreach ($this->identifier as $identifier) {
             $json['identifier'][] = $identifier->jsonSerialize();
         }
     }
     if (null !== $this->ruleset) {
         $json['ruleset'] = $this->ruleset->jsonSerialize();
     }
     if (null !== $this->originalRuleset) {
         $json['originalRuleset'] = $this->originalRuleset->jsonSerialize();
     }
     if (null !== $this->created) {
         $json['created'] = $this->created->jsonSerialize();
     }
     if (null !== $this->target) {
         $json['target'] = $this->target->jsonSerialize();
     }
     if (null !== $this->provider) {
         $json['provider'] = $this->provider->jsonSerialize();
     }
     if (null !== $this->organization) {
         $json['organization'] = $this->organization->jsonSerialize();
     }
     if (null !== $this->use) {
         $json['use'] = $this->use->jsonSerialize();
     }
     if (null !== $this->priority) {
         $json['priority'] = $this->priority->jsonSerialize();
     }
     if (null !== $this->fundsReserve) {
         $json['fundsReserve'] = $this->fundsReserve->jsonSerialize();
     }
     if (null !== $this->enterer) {
         $json['enterer'] = $this->enterer->jsonSerialize();
     }
     if (null !== $this->facility) {
         $json['facility'] = $this->facility->jsonSerialize();
     }
     if (null !== $this->prescription) {
         $json['prescription'] = $this->prescription->jsonSerialize();
     }
     if (null !== $this->originalPrescription) {
         $json['originalPrescription'] = $this->originalPrescription->jsonSerialize();
     }
     if (null !== $this->payee) {
         $json['payee'] = $this->payee->jsonSerialize();
     }
     if (null !== $this->referral) {
         $json['referral'] = $this->referral->jsonSerialize();
     }
     if (0 < count($this->diagnosis)) {
         $json['diagnosis'] = array();
         foreach ($this->diagnosis as $diagnosis) {
             $json['diagnosis'][] = $diagnosis->jsonSerialize();
         }
     }
     if (0 < count($this->condition)) {
         $json['condition'] = array();
         foreach ($this->condition as $condition) {
             $json['condition'][] = $condition->jsonSerialize();
         }
     }
     if (null !== $this->patient) {
         $json['patient'] = $this->patient->jsonSerialize();
     }
     if (0 < count($this->coverage)) {
         $json['coverage'] = array();
         foreach ($this->coverage as $coverage) {
             $json['coverage'][] = $coverage->jsonSerialize();
         }
     }
     if (0 < count($this->exception)) {
         $json['exception'] = array();
         foreach ($this->exception as $exception) {
             $json['exception'][] = $exception->jsonSerialize();
         }
     }
     if (null !== $this->school) {
         $json['school'] = $this->school->jsonSerialize();
     }
     if (null !== $this->accident) {
         $json['accident'] = $this->accident->jsonSerialize();
     }
     if (null !== $this->accidentType) {
         $json['accidentType'] = $this->accidentType->jsonSerialize();
     }
     if (0 < count($this->interventionException)) {
         $json['interventionException'] = array();
         foreach ($this->interventionException as $interventionException) {
             $json['interventionException'][] = $interventionException->jsonSerialize();
         }
     }
     if (0 < count($this->item)) {
         $json['item'] = array();
         foreach ($this->item as $item) {
             $json['item'][] = $item->jsonSerialize();
         }
     }
     if (0 < count($this->additionalMaterials)) {
         $json['additionalMaterials'] = array();
         foreach ($this->additionalMaterials as $additionalMaterials) {
             $json['additionalMaterials'][] = $additionalMaterials->jsonSerialize();
         }
     }
     if (0 < count($this->missingTeeth)) {
         $json['missingTeeth'] = array();
         foreach ($this->missingTeeth as $missingTeeth) {
             $json['missingTeeth'][] = $missingTeeth->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (0 < count($this->identifier)) {
         $json['identifier'] = array();
         foreach ($this->identifier as $identifier) {
             $json['identifier'][] = $identifier->jsonSerialize();
         }
     }
     if (null !== $this->ruleset) {
         $json['ruleset'] = $this->ruleset->jsonSerialize();
     }
     if (null !== $this->originalRuleset) {
         $json['originalRuleset'] = $this->originalRuleset->jsonSerialize();
     }
     if (null !== $this->created) {
         $json['created'] = $this->created->jsonSerialize();
     }
     if (null !== $this->target) {
         $json['target'] = $this->target->jsonSerialize();
     }
     if (null !== $this->provider) {
         $json['provider'] = $this->provider->jsonSerialize();
     }
     if (null !== $this->organization) {
         $json['organization'] = $this->organization->jsonSerialize();
     }
     if (null !== $this->request) {
         $json['request'] = $this->request->jsonSerialize();
     }
     if (null !== $this->response) {
         $json['response'] = $this->response->jsonSerialize();
     }
     if (null !== $this->paymentStatus) {
         $json['paymentStatus'] = $this->paymentStatus->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (null !== $this->patient) {
         $json['patient'] = $this->patient->jsonSerialize();
     }
     if (null !== $this->assessor) {
         $json['assessor'] = $this->assessor->jsonSerialize();
     }
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->date) {
         $json['date'] = $this->date->jsonSerialize();
     }
     if (null !== $this->description) {
         $json['description'] = $this->description->jsonSerialize();
     }
     if (null !== $this->previous) {
         $json['previous'] = $this->previous->jsonSerialize();
     }
     if (0 < count($this->problem)) {
         $json['problem'] = array();
         foreach ($this->problem as $problem) {
             $json['problem'][] = $problem->jsonSerialize();
         }
     }
     if (null !== $this->triggerCodeableConcept) {
         $json['triggerCodeableConcept'] = $this->triggerCodeableConcept->jsonSerialize();
     }
     if (null !== $this->triggerReference) {
         $json['triggerReference'] = $this->triggerReference->jsonSerialize();
     }
     if (0 < count($this->investigations)) {
         $json['investigations'] = array();
         foreach ($this->investigations as $investigations) {
             $json['investigations'][] = $investigations->jsonSerialize();
         }
     }
     if (null !== $this->protocol) {
         $json['protocol'] = $this->protocol->jsonSerialize();
     }
     if (null !== $this->summary) {
         $json['summary'] = $this->summary->jsonSerialize();
     }
     if (0 < count($this->finding)) {
         $json['finding'] = array();
         foreach ($this->finding as $finding) {
             $json['finding'][] = $finding->jsonSerialize();
         }
     }
     if (0 < count($this->resolved)) {
         $json['resolved'] = array();
         foreach ($this->resolved as $resolved) {
             $json['resolved'][] = $resolved->jsonSerialize();
         }
     }
     if (0 < count($this->ruledOut)) {
         $json['ruledOut'] = array();
         foreach ($this->ruledOut as $ruledOut) {
             $json['ruledOut'][] = $ruledOut->jsonSerialize();
         }
     }
     if (null !== $this->prognosis) {
         $json['prognosis'] = $this->prognosis->jsonSerialize();
     }
     if (0 < count($this->plan)) {
         $json['plan'] = array();
         foreach ($this->plan as $plan) {
             $json['plan'][] = $plan->jsonSerialize();
         }
     }
     if (0 < count($this->action)) {
         $json['action'] = array();
         foreach ($this->action as $action) {
             $json['action'][] = $action->jsonSerialize();
         }
     }
     return $json;
 }
Пример #26
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (null !== $this->url) {
         $json['url'] = $this->url->jsonSerialize();
     }
     if (null !== $this->version) {
         $json['version'] = $this->version->jsonSerialize();
     }
     if (null !== $this->name) {
         $json['name'] = $this->name->jsonSerialize();
     }
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->identifier) {
         $json['identifier'] = $this->identifier->jsonSerialize();
     }
     if (null !== $this->experimental) {
         $json['experimental'] = $this->experimental->jsonSerialize();
     }
     if (null !== $this->publisher) {
         $json['publisher'] = $this->publisher->jsonSerialize();
     }
     if (0 < count($this->contact)) {
         $json['contact'] = array();
         foreach ($this->contact as $contact) {
             $json['contact'][] = $contact->jsonSerialize();
         }
     }
     if (null !== $this->date) {
         $json['date'] = $this->date->jsonSerialize();
     }
     if (null !== $this->description) {
         $json['description'] = $this->description->jsonSerialize();
     }
     if (0 < count($this->useContext)) {
         $json['useContext'] = array();
         foreach ($this->useContext as $useContext) {
             $json['useContext'][] = $useContext->jsonSerialize();
         }
     }
     if (null !== $this->requirements) {
         $json['requirements'] = $this->requirements->jsonSerialize();
     }
     if (null !== $this->copyright) {
         $json['copyright'] = $this->copyright->jsonSerialize();
     }
     if (null !== $this->metadata) {
         $json['metadata'] = $this->metadata->jsonSerialize();
     }
     if (null !== $this->multiserver) {
         $json['multiserver'] = $this->multiserver->jsonSerialize();
     }
     if (0 < count($this->fixture)) {
         $json['fixture'] = array();
         foreach ($this->fixture as $fixture) {
             $json['fixture'][] = $fixture->jsonSerialize();
         }
     }
     if (0 < count($this->profile)) {
         $json['profile'] = array();
         foreach ($this->profile as $profile) {
             $json['profile'][] = $profile->jsonSerialize();
         }
     }
     if (0 < count($this->variable)) {
         $json['variable'] = array();
         foreach ($this->variable as $variable) {
             $json['variable'][] = $variable->jsonSerialize();
         }
     }
     if (null !== $this->setup) {
         $json['setup'] = $this->setup->jsonSerialize();
     }
     if (0 < count($this->test)) {
         $json['test'] = array();
         foreach ($this->test as $test) {
             $json['test'][] = $test->jsonSerialize();
         }
     }
     if (null !== $this->teardown) {
         $json['teardown'] = $this->teardown->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (null !== $this->identifier) {
         $json['identifier'] = $this->identifier->jsonSerialize();
     }
     if (null !== $this->questionnaire) {
         $json['questionnaire'] = $this->questionnaire->jsonSerialize();
     }
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->subject) {
         $json['subject'] = $this->subject->jsonSerialize();
     }
     if (null !== $this->author) {
         $json['author'] = $this->author->jsonSerialize();
     }
     if (null !== $this->authored) {
         $json['authored'] = $this->authored->jsonSerialize();
     }
     if (null !== $this->source) {
         $json['source'] = $this->source->jsonSerialize();
     }
     if (null !== $this->encounter) {
         $json['encounter'] = $this->encounter->jsonSerialize();
     }
     if (null !== $this->group) {
         $json['group'] = $this->group->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();
     $json['resourceType'] = $this->_fhirElementName;
     if (null !== $this->bodySiteCodeableConcept) {
         $json['bodySiteCodeableConcept'] = $this->bodySiteCodeableConcept->jsonSerialize();
     }
     if (null !== $this->bodySiteReference) {
         $json['bodySiteReference'] = $this->bodySiteReference->jsonSerialize();
     }
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->device) {
         $json['device'] = $this->device->jsonSerialize();
     }
     if (null !== $this->encounter) {
         $json['encounter'] = $this->encounter->jsonSerialize();
     }
     if (0 < count($this->identifier)) {
         $json['identifier'] = array();
         foreach ($this->identifier as $identifier) {
             $json['identifier'][] = $identifier->jsonSerialize();
         }
     }
     if (0 < count($this->indication)) {
         $json['indication'] = array();
         foreach ($this->indication as $indication) {
             $json['indication'][] = $indication->jsonSerialize();
         }
     }
     if (0 < count($this->notes)) {
         $json['notes'] = array();
         foreach ($this->notes as $notes) {
             $json['notes'][] = $notes->jsonSerialize();
         }
     }
     if (0 < count($this->prnReason)) {
         $json['prnReason'] = array();
         foreach ($this->prnReason as $prnReason) {
             $json['prnReason'][] = $prnReason->jsonSerialize();
         }
     }
     if (null !== $this->orderedOn) {
         $json['orderedOn'] = $this->orderedOn->jsonSerialize();
     }
     if (null !== $this->recordedOn) {
         $json['recordedOn'] = $this->recordedOn->jsonSerialize();
     }
     if (null !== $this->subject) {
         $json['subject'] = $this->subject->jsonSerialize();
     }
     if (null !== $this->timingTiming) {
         $json['timingTiming'] = $this->timingTiming->jsonSerialize();
     }
     if (null !== $this->timingPeriod) {
         $json['timingPeriod'] = $this->timingPeriod->jsonSerialize();
     }
     if (null !== $this->timingDateTime) {
         $json['timingDateTime'] = $this->timingDateTime->jsonSerialize();
     }
     if (null !== $this->priority) {
         $json['priority'] = $this->priority->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (null !== $this->uid) {
         $json['uid'] = $this->uid->jsonSerialize();
     }
     if (null !== $this->patient) {
         $json['patient'] = $this->patient->jsonSerialize();
     }
     if (null !== $this->title) {
         $json['title'] = $this->title->jsonSerialize();
     }
     if (null !== $this->description) {
         $json['description'] = $this->description->jsonSerialize();
     }
     if (null !== $this->author) {
         $json['author'] = $this->author->jsonSerialize();
     }
     if (null !== $this->authoringTime) {
         $json['authoringTime'] = $this->authoringTime->jsonSerialize();
     }
     if (0 < count($this->study)) {
         $json['study'] = array();
         foreach ($this->study as $study) {
             $json['study'][] = $study->jsonSerialize();
         }
     }
     return $json;
 }