/** * @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->outcome) { $json['outcome'] = $this->outcome->jsonSerialize(); } if (null !== $this->disposition) { $json['disposition'] = $this->disposition->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->organization) { $json['organization'] = $this->organization->jsonSerialize(); } if (null !== $this->requestProvider) { $json['requestProvider'] = $this->requestProvider->jsonSerialize(); } if (null !== $this->requestOrganization) { $json['requestOrganization'] = $this->requestOrganization->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; }
/** * @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->patient) { $json['patient'] = $this->patient->jsonSerialize(); } if (0 < count($this->recommendation)) { $json['recommendation'] = array(); foreach ($this->recommendation as $recommendation) { $json['recommendation'][] = $recommendation->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->subject) { $json['subject'] = $this->subject->jsonSerialize(); } if (null !== $this->startDate) { $json['startDate'] = $this->startDate->jsonSerialize(); } if (null !== $this->startCodeableConcept) { $json['startCodeableConcept'] = $this->startCodeableConcept->jsonSerialize(); } if (null !== $this->targetDate) { $json['targetDate'] = $this->targetDate->jsonSerialize(); } if (null !== $this->targetQuantity) { $json['targetQuantity'] = $this->targetQuantity->jsonSerialize(); } if (0 < count($this->category)) { $json['category'] = array(); foreach ($this->category as $category) { $json['category'][] = $category->jsonSerialize(); } } if (null !== $this->description) { $json['description'] = $this->description->jsonSerialize(); } if (null !== $this->status) { $json['status'] = $this->status->jsonSerialize(); } if (null !== $this->statusDate) { $json['statusDate'] = $this->statusDate->jsonSerialize(); } if (null !== $this->statusReason) { $json['statusReason'] = $this->statusReason->jsonSerialize(); } if (null !== $this->author) { $json['author'] = $this->author->jsonSerialize(); } if (null !== $this->priority) { $json['priority'] = $this->priority->jsonSerialize(); } if (0 < count($this->addresses)) { $json['addresses'] = array(); foreach ($this->addresses as $addresses) { $json['addresses'][] = $addresses->jsonSerialize(); } } if (0 < count($this->note)) { $json['note'] = array(); foreach ($this->note as $note) { $json['note'][] = $note->jsonSerialize(); } } if (0 < count($this->outcome)) { $json['outcome'] = array(); foreach ($this->outcome as $outcome) { $json['outcome'][] = $outcome->jsonSerialize(); } } return $json; }
/** * @return array */ public function jsonSerialize() { $json = parent::jsonSerialize(); $json['resourceType'] = $this->_fhirElementName; if (null !== $this->event) { $json['event'] = $this->event->jsonSerialize(); } if (0 < count($this->participant)) { $json['participant'] = array(); foreach ($this->participant as $participant) { $json['participant'][] = $participant->jsonSerialize(); } } if (null !== $this->source) { $json['source'] = $this->source->jsonSerialize(); } if (0 < count($this->object)) { $json['object'] = array(); foreach ($this->object as $object) { $json['object'][] = $object->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->active) { $json['active'] = $this->active->jsonSerialize(); } if (null !== $this->type) { $json['type'] = $this->type->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(); } } if (0 < count($this->address)) { $json['address'] = array(); foreach ($this->address as $address) { $json['address'][] = $address->jsonSerialize(); } } if (null !== $this->partOf) { $json['partOf'] = $this->partOf->jsonSerialize(); } if (0 < count($this->contact)) { $json['contact'] = array(); foreach ($this->contact as $contact) { $json['contact'][] = $contact->jsonSerialize(); } } return $json; }
/** * @return array */ public function jsonSerialize() { $json = parent::jsonSerialize(); $json['resourceType'] = $this->_fhirElementName; if (null !== $this->kind) { $json['kind'] = $this->kind->jsonSerialize(); } if (null !== $this->identifier) { $json['identifier'] = $this->identifier->jsonSerialize(); } if (null !== $this->status) { $json['status'] = $this->status->jsonSerialize(); } if (null !== $this->orderedItem) { $json['orderedItem'] = $this->orderedItem->jsonSerialize(); } if (null !== $this->patient) { $json['patient'] = $this->patient->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->category) { $json['category'] = $this->category->jsonSerialize(); } if (null !== $this->code) { $json['code'] = $this->code->jsonSerialize(); } if (null !== $this->subject) { $json['subject'] = $this->subject->jsonSerialize(); } if (null !== $this->encounter) { $json['encounter'] = $this->encounter->jsonSerialize(); } if (null !== $this->effectiveDateTime) { $json['effectiveDateTime'] = $this->effectiveDateTime->jsonSerialize(); } if (null !== $this->effectivePeriod) { $json['effectivePeriod'] = $this->effectivePeriod->jsonSerialize(); } if (null !== $this->issued) { $json['issued'] = $this->issued->jsonSerialize(); } if (0 < count($this->performer)) { $json['performer'] = array(); foreach ($this->performer as $performer) { $json['performer'][] = $performer->jsonSerialize(); } } if (null !== $this->valueQuantity) { $json['valueQuantity'] = $this->valueQuantity->jsonSerialize(); } if (null !== $this->valueCodeableConcept) { $json['valueCodeableConcept'] = $this->valueCodeableConcept->jsonSerialize(); } if (null !== $this->valueString) { $json['valueString'] = $this->valueString->jsonSerialize(); } if (null !== $this->valueRange) { $json['valueRange'] = $this->valueRange->jsonSerialize(); } if (null !== $this->valueRatio) { $json['valueRatio'] = $this->valueRatio->jsonSerialize(); } if (null !== $this->valueSampledData) { $json['valueSampledData'] = $this->valueSampledData->jsonSerialize(); } if (null !== $this->valueAttachment) { $json['valueAttachment'] = $this->valueAttachment->jsonSerialize(); } if (null !== $this->valueTime) { $json['valueTime'] = $this->valueTime->jsonSerialize(); } if (null !== $this->valueDateTime) { $json['valueDateTime'] = $this->valueDateTime->jsonSerialize(); } if (null !== $this->valuePeriod) { $json['valuePeriod'] = $this->valuePeriod->jsonSerialize(); } if (null !== $this->dataAbsentReason) { $json['dataAbsentReason'] = $this->dataAbsentReason->jsonSerialize(); } if (null !== $this->interpretation) { $json['interpretation'] = $this->interpretation->jsonSerialize(); } if (null !== $this->comments) { $json['comments'] = $this->comments->jsonSerialize(); } if (null !== $this->bodySite) { $json['bodySite'] = $this->bodySite->jsonSerialize(); } if (null !== $this->method) { $json['method'] = $this->method->jsonSerialize(); } if (null !== $this->specimen) { $json['specimen'] = $this->specimen->jsonSerialize(); } if (null !== $this->device) { $json['device'] = $this->device->jsonSerialize(); } if (0 < count($this->referenceRange)) { $json['referenceRange'] = array(); foreach ($this->referenceRange as $referenceRange) { $json['referenceRange'][] = $referenceRange->jsonSerialize(); } } if (0 < count($this->related)) { $json['related'] = array(); foreach ($this->related as $related) { $json['related'][] = $related->jsonSerialize(); } } if (0 < count($this->component)) { $json['component'] = array(); foreach ($this->component as $component) { $json['component'][] = $component->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->active) { $json['active'] = $this->active->jsonSerialize(); } if (0 < count($this->name)) { $json['name'] = array(); foreach ($this->name as $name) { $json['name'][] = $name->jsonSerialize(); } } if (0 < count($this->telecom)) { $json['telecom'] = array(); foreach ($this->telecom as $telecom) { $json['telecom'][] = $telecom->jsonSerialize(); } } if (null !== $this->gender) { $json['gender'] = $this->gender->jsonSerialize(); } if (null !== $this->birthDate) { $json['birthDate'] = $this->birthDate->jsonSerialize(); } if (null !== $this->deceasedBoolean) { $json['deceasedBoolean'] = $this->deceasedBoolean->jsonSerialize(); } if (null !== $this->deceasedDateTime) { $json['deceasedDateTime'] = $this->deceasedDateTime->jsonSerialize(); } if (0 < count($this->address)) { $json['address'] = array(); foreach ($this->address as $address) { $json['address'][] = $address->jsonSerialize(); } } if (null !== $this->maritalStatus) { $json['maritalStatus'] = $this->maritalStatus->jsonSerialize(); } if (null !== $this->multipleBirthBoolean) { $json['multipleBirthBoolean'] = $this->multipleBirthBoolean->jsonSerialize(); } if (null !== $this->multipleBirthInteger) { $json['multipleBirthInteger'] = $this->multipleBirthInteger->jsonSerialize(); } if (0 < count($this->photo)) { $json['photo'] = array(); foreach ($this->photo as $photo) { $json['photo'][] = $photo->jsonSerialize(); } } if (0 < count($this->contact)) { $json['contact'] = array(); foreach ($this->contact as $contact) { $json['contact'][] = $contact->jsonSerialize(); } } if (null !== $this->animal) { $json['animal'] = $this->animal->jsonSerialize(); } if (0 < count($this->communication)) { $json['communication'] = array(); foreach ($this->communication as $communication) { $json['communication'][] = $communication->jsonSerialize(); } } if (0 < count($this->careProvider)) { $json['careProvider'] = array(); foreach ($this->careProvider as $careProvider) { $json['careProvider'][] = $careProvider->jsonSerialize(); } } if (null !== $this->managingOrganization) { $json['managingOrganization'] = $this->managingOrganization->jsonSerialize(); } if (0 < count($this->link)) { $json['link'] = array(); foreach ($this->link as $link) { $json['link'][] = $link->jsonSerialize(); } } return $json; }
/** * @return array */ public function jsonSerialize() { $json = parent::jsonSerialize(); $json['resourceType'] = $this->_fhirElementName; if (null !== $this->started) { $json['started'] = $this->started->jsonSerialize(); } if (null !== $this->patient) { $json['patient'] = $this->patient->jsonSerialize(); } if (null !== $this->uid) { $json['uid'] = $this->uid->jsonSerialize(); } if (null !== $this->accession) { $json['accession'] = $this->accession->jsonSerialize(); } if (0 < count($this->identifier)) { $json['identifier'] = array(); foreach ($this->identifier as $identifier) { $json['identifier'][] = $identifier->jsonSerialize(); } } if (0 < count($this->order)) { $json['order'] = array(); foreach ($this->order as $order) { $json['order'][] = $order->jsonSerialize(); } } if (0 < count($this->modalityList)) { $json['modalityList'] = array(); foreach ($this->modalityList as $modalityList) { $json['modalityList'][] = $modalityList->jsonSerialize(); } } if (null !== $this->referrer) { $json['referrer'] = $this->referrer->jsonSerialize(); } if (null !== $this->availability) { $json['availability'] = $this->availability->jsonSerialize(); } if (null !== $this->url) { $json['url'] = $this->url->jsonSerialize(); } if (null !== $this->numberOfSeries) { $json['numberOfSeries'] = $this->numberOfSeries->jsonSerialize(); } if (null !== $this->numberOfInstances) { $json['numberOfInstances'] = $this->numberOfInstances->jsonSerialize(); } if (0 < count($this->procedure)) { $json['procedure'] = array(); foreach ($this->procedure as $procedure) { $json['procedure'][] = $procedure->jsonSerialize(); } } if (null !== $this->interpreter) { $json['interpreter'] = $this->interpreter->jsonSerialize(); } if (null !== $this->description) { $json['description'] = $this->description->jsonSerialize(); } if (0 < count($this->series)) { $json['series'] = array(); foreach ($this->series as $series) { $json['series'][] = $series->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 (0 < count($this->statusHistory)) { $json['statusHistory'] = array(); foreach ($this->statusHistory as $statusHistory) { $json['statusHistory'][] = $statusHistory->jsonSerialize(); } } if (null !== $this->class) { $json['class'] = $this->class->jsonSerialize(); } if (0 < count($this->type)) { $json['type'] = array(); foreach ($this->type as $type) { $json['type'][] = $type->jsonSerialize(); } } if (null !== $this->priority) { $json['priority'] = $this->priority->jsonSerialize(); } if (null !== $this->patient) { $json['patient'] = $this->patient->jsonSerialize(); } if (0 < count($this->episodeOfCare)) { $json['episodeOfCare'] = array(); foreach ($this->episodeOfCare as $episodeOfCare) { $json['episodeOfCare'][] = $episodeOfCare->jsonSerialize(); } } if (0 < count($this->incomingReferral)) { $json['incomingReferral'] = array(); foreach ($this->incomingReferral as $incomingReferral) { $json['incomingReferral'][] = $incomingReferral->jsonSerialize(); } } if (0 < count($this->participant)) { $json['participant'] = array(); foreach ($this->participant as $participant) { $json['participant'][] = $participant->jsonSerialize(); } } if (null !== $this->appointment) { $json['appointment'] = $this->appointment->jsonSerialize(); } if (null !== $this->period) { $json['period'] = $this->period->jsonSerialize(); } if (null !== $this->length) { $json['length'] = $this->length->jsonSerialize(); } if (0 < count($this->reason)) { $json['reason'] = array(); foreach ($this->reason as $reason) { $json['reason'][] = $reason->jsonSerialize(); } } if (0 < count($this->indication)) { $json['indication'] = array(); foreach ($this->indication as $indication) { $json['indication'][] = $indication->jsonSerialize(); } } if (null !== $this->hospitalization) { $json['hospitalization'] = $this->hospitalization->jsonSerialize(); } if (0 < count($this->location)) { $json['location'] = array(); foreach ($this->location as $location) { $json['location'][] = $location->jsonSerialize(); } } if (null !== $this->serviceProvider) { $json['serviceProvider'] = $this->serviceProvider->jsonSerialize(); } if (null !== $this->partOf) { $json['partOf'] = $this->partOf->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->category) { $json['category'] = $this->category->jsonSerialize(); } if (null !== $this->sender) { $json['sender'] = $this->sender->jsonSerialize(); } if (0 < count($this->recipient)) { $json['recipient'] = array(); foreach ($this->recipient as $recipient) { $json['recipient'][] = $recipient->jsonSerialize(); } } if (0 < count($this->payload)) { $json['payload'] = array(); foreach ($this->payload as $payload) { $json['payload'][] = $payload->jsonSerialize(); } } if (0 < count($this->medium)) { $json['medium'] = array(); foreach ($this->medium as $medium) { $json['medium'][] = $medium->jsonSerialize(); } } if (null !== $this->status) { $json['status'] = $this->status->jsonSerialize(); } if (null !== $this->encounter) { $json['encounter'] = $this->encounter->jsonSerialize(); } if (null !== $this->sent) { $json['sent'] = $this->sent->jsonSerialize(); } if (null !== $this->received) { $json['received'] = $this->received->jsonSerialize(); } if (0 < count($this->reason)) { $json['reason'] = array(); foreach ($this->reason as $reason) { $json['reason'][] = $reason->jsonSerialize(); } } if (null !== $this->subject) { $json['subject'] = $this->subject->jsonSerialize(); } if (null !== $this->requestDetail) { $json['requestDetail'] = $this->requestDetail->jsonSerialize(); } return $json; }
/** * @return array */ public function jsonSerialize() { $json = parent::jsonSerialize(); $json['resourceType'] = $this->_fhirElementName; if (null !== $this->url) { $json['url'] = $this->url->jsonSerialize(); } if (0 < count($this->identifier)) { $json['identifier'] = array(); foreach ($this->identifier as $identifier) { $json['identifier'][] = $identifier->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->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 (0 < count($this->useContext)) { $json['useContext'] = array(); foreach ($this->useContext as $useContext) { $json['useContext'][] = $useContext->jsonSerialize(); } } if (null !== $this->copyright) { $json['copyright'] = $this->copyright->jsonSerialize(); } if (null !== $this->severity) { $json['severity'] = $this->severity->jsonSerialize(); } if (0 < count($this->occurance)) { $json['occurance'] = array(); foreach ($this->occurance as $occurance) { $json['occurance'][] = $occurance->jsonSerialize(); } } if (0 < count($this->findingSite)) { $json['findingSite'] = array(); foreach ($this->findingSite as $findingSite) { $json['findingSite'][] = $findingSite->jsonSerialize(); } } if (0 < count($this->morphology)) { $json['morphology'] = array(); foreach ($this->morphology as $morphology) { $json['morphology'][] = $morphology->jsonSerialize(); } } if (0 < count($this->causedBy)) { $json['causedBy'] = array(); foreach ($this->causedBy as $causedBy) { $json['causedBy'][] = $causedBy->jsonSerialize(); } } if (0 < count($this->associated)) { $json['associated'] = array(); foreach ($this->associated as $associated) { $json['associated'][] = $associated->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->appointment) { $json['appointment'] = $this->appointment->jsonSerialize(); } if (null !== $this->start) { $json['start'] = $this->start->jsonSerialize(); } if (null !== $this->end) { $json['end'] = $this->end->jsonSerialize(); } if (0 < count($this->participantType)) { $json['participantType'] = array(); foreach ($this->participantType as $participantType) { $json['participantType'][] = $participantType->jsonSerialize(); } } if (null !== $this->actor) { $json['actor'] = $this->actor->jsonSerialize(); } if (null !== $this->participantStatus) { $json['participantStatus'] = $this->participantStatus->jsonSerialize(); } if (null !== $this->comment) { $json['comment'] = $this->comment->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->request) { $json['request'] = $this->request->jsonSerialize(); } if (null !== $this->outcome) { $json['outcome'] = $this->outcome->jsonSerialize(); } if (null !== $this->disposition) { $json['disposition'] = $this->disposition->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->period) { $json['period'] = $this->period->jsonSerialize(); } if (null !== $this->organization) { $json['organization'] = $this->organization->jsonSerialize(); } if (null !== $this->requestProvider) { $json['requestProvider'] = $this->requestProvider->jsonSerialize(); } if (null !== $this->requestOrganization) { $json['requestOrganization'] = $this->requestOrganization->jsonSerialize(); } if (0 < count($this->detail)) { $json['detail'] = array(); foreach ($this->detail as $detail) { $json['detail'][] = $detail->jsonSerialize(); } } if (null !== $this->form) { $json['form'] = $this->form->jsonSerialize(); } if (null !== $this->total) { $json['total'] = $this->total->jsonSerialize(); } if (0 < count($this->note)) { $json['note'] = array(); foreach ($this->note as $note) { $json['note'][] = $note->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 (0 < count($this->issue)) { $json['issue'] = array(); foreach ($this->issue as $issue) { $json['issue'][] = $issue->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(); $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 (0 < count($this->statusHistory)) { $json['statusHistory'] = array(); foreach ($this->statusHistory as $statusHistory) { $json['statusHistory'][] = $statusHistory->jsonSerialize(); } } if (0 < count($this->type)) { $json['type'] = array(); foreach ($this->type as $type) { $json['type'][] = $type->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 (null !== $this->managingOrganization) { $json['managingOrganization'] = $this->managingOrganization->jsonSerialize(); } if (null !== $this->period) { $json['period'] = $this->period->jsonSerialize(); } if (0 < count($this->referralRequest)) { $json['referralRequest'] = array(); foreach ($this->referralRequest as $referralRequest) { $json['referralRequest'][] = $referralRequest->jsonSerialize(); } } if (null !== $this->careManager) { $json['careManager'] = $this->careManager->jsonSerialize(); } if (0 < count($this->careTeam)) { $json['careTeam'] = array(); foreach ($this->careTeam as $careTeam) { $json['careTeam'][] = $careTeam->jsonSerialize(); } } return $json; }
/** * @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 (0 < count($this->identifier)) { $json['identifier'] = array(); foreach ($this->identifier as $identifier) { $json['identifier'][] = $identifier->jsonSerialize(); } } if (null !== $this->type) { $json['type'] = $this->type->jsonSerialize(); } if (0 < count($this->note)) { $json['note'] = array(); foreach ($this->note as $note) { $json['note'][] = $note->jsonSerialize(); } } if (null !== $this->status) { $json['status'] = $this->status->jsonSerialize(); } if (null !== $this->manufacturer) { $json['manufacturer'] = $this->manufacturer->jsonSerialize(); } if (null !== $this->model) { $json['model'] = $this->model->jsonSerialize(); } if (null !== $this->version) { $json['version'] = $this->version->jsonSerialize(); } if (null !== $this->manufactureDate) { $json['manufactureDate'] = $this->manufactureDate->jsonSerialize(); } if (null !== $this->expiry) { $json['expiry'] = $this->expiry->jsonSerialize(); } if (null !== $this->udi) { $json['udi'] = $this->udi->jsonSerialize(); } if (null !== $this->lotNumber) { $json['lotNumber'] = $this->lotNumber->jsonSerialize(); } if (null !== $this->owner) { $json['owner'] = $this->owner->jsonSerialize(); } if (null !== $this->location) { $json['location'] = $this->location->jsonSerialize(); } if (null !== $this->patient) { $json['patient'] = $this->patient->jsonSerialize(); } if (0 < count($this->contact)) { $json['contact'] = array(); foreach ($this->contact as $contact) { $json['contact'][] = $contact->jsonSerialize(); } } if (null !== $this->url) { $json['url'] = $this->url->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->type) { $json['type'] = $this->type->jsonSerialize(); } if (null !== $this->reason) { $json['reason'] = $this->reason->jsonSerialize(); } if (null !== $this->priority) { $json['priority'] = $this->priority->jsonSerialize(); } if (null !== $this->description) { $json['description'] = $this->description->jsonSerialize(); } if (null !== $this->start) { $json['start'] = $this->start->jsonSerialize(); } if (null !== $this->end) { $json['end'] = $this->end->jsonSerialize(); } if (null !== $this->minutesDuration) { $json['minutesDuration'] = $this->minutesDuration->jsonSerialize(); } if (0 < count($this->slot)) { $json['slot'] = array(); foreach ($this->slot as $slot) { $json['slot'][] = $slot->jsonSerialize(); } } if (null !== $this->comment) { $json['comment'] = $this->comment->jsonSerialize(); } if (0 < count($this->participant)) { $json['participant'] = array(); foreach ($this->participant as $participant) { $json['participant'][] = $participant->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->code) { $json['code'] = $this->code->jsonSerialize(); } if (null !== $this->subject) { $json['subject'] = $this->subject->jsonSerialize(); } if (null !== $this->author) { $json['author'] = $this->author->jsonSerialize(); } if (null !== $this->created) { $json['created'] = $this->created->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->active) { $json['active'] = $this->active->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(); } } if (0 < count($this->address)) { $json['address'] = array(); foreach ($this->address as $address) { $json['address'][] = $address->jsonSerialize(); } } if (null !== $this->gender) { $json['gender'] = $this->gender->jsonSerialize(); } if (null !== $this->birthDate) { $json['birthDate'] = $this->birthDate->jsonSerialize(); } if (0 < count($this->photo)) { $json['photo'] = array(); foreach ($this->photo as $photo) { $json['photo'][] = $photo->jsonSerialize(); } } if (0 < count($this->practitionerRole)) { $json['practitionerRole'] = array(); foreach ($this->practitionerRole as $practitionerRole) { $json['practitionerRole'][] = $practitionerRole->jsonSerialize(); } } if (0 < count($this->qualification)) { $json['qualification'] = array(); foreach ($this->qualification as $qualification) { $json['qualification'][] = $qualification->jsonSerialize(); } } if (0 < count($this->communication)) { $json['communication'] = array(); foreach ($this->communication as $communication) { $json['communication'][] = $communication->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; }
/** * @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->code) { $json['code'] = $this->code->jsonSerialize(); } if (null !== $this->isBrand) { $json['isBrand'] = $this->isBrand->jsonSerialize(); } if (null !== $this->manufacturer) { $json['manufacturer'] = $this->manufacturer->jsonSerialize(); } if (null !== $this->product) { $json['product'] = $this->product->jsonSerialize(); } if (null !== $this->package) { $json['package'] = $this->package->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; }
/** * @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; }