コード例 #1
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (null !== $this->patient) {
         $json['patient'] = $this->patient->jsonSerialize();
     }
     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 (0 < count($this->modifier)) {
         $json['modifier'] = array();
         foreach ($this->modifier as $modifier) {
             $json['modifier'][] = $modifier->jsonSerialize();
         }
     }
     if (null !== $this->description) {
         $json['description'] = $this->description->jsonSerialize();
     }
     if (0 < count($this->image)) {
         $json['image'] = array();
         foreach ($this->image as $image) {
             $json['image'][] = $image->jsonSerialize();
         }
     }
     return $json;
 }
コード例 #2
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->valueCodeableConcept) {
         $json['valueCodeableConcept'] = $this->valueCodeableConcept->jsonSerialize();
     }
     if (null !== $this->valueBoolean) {
         $json['valueBoolean'] = $this->valueBoolean->jsonSerialize();
     }
     if (null !== $this->valueQuantity) {
         $json['valueQuantity'] = $this->valueQuantity->jsonSerialize();
     }
     if (null !== $this->valueRange) {
         $json['valueRange'] = $this->valueRange->jsonSerialize();
     }
     if (null !== $this->exclude) {
         $json['exclude'] = $this->exclude->jsonSerialize();
     }
     if (null !== $this->period) {
         $json['period'] = $this->period->jsonSerialize();
     }
     return $json;
 }
コード例 #3
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->outcome) {
         $json['outcome'] = $this->outcome->jsonSerialize();
     }
     if (null !== $this->onsetQuantity) {
         $json['onsetQuantity'] = $this->onsetQuantity->jsonSerialize();
     }
     if (null !== $this->onsetRange) {
         $json['onsetRange'] = $this->onsetRange->jsonSerialize();
     }
     if (null !== $this->onsetPeriod) {
         $json['onsetPeriod'] = $this->onsetPeriod->jsonSerialize();
     }
     if (null !== $this->onsetString) {
         $json['onsetString'] = $this->onsetString->jsonSerialize();
     }
     if (null !== $this->note) {
         $json['note'] = $this->note->jsonSerialize();
     }
     return $json;
 }
コード例 #4
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->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->schedule) {
         $json['schedule'] = $this->schedule->jsonSerialize();
     }
     if (null !== $this->freeBusyType) {
         $json['freeBusyType'] = $this->freeBusyType->jsonSerialize();
     }
     if (null !== $this->start) {
         $json['start'] = $this->start->jsonSerialize();
     }
     if (null !== $this->end) {
         $json['end'] = $this->end->jsonSerialize();
     }
     if (null !== $this->overbooked) {
         $json['overbooked'] = $this->overbooked->jsonSerialize();
     }
     if (null !== $this->comment) {
         $json['comment'] = $this->comment->jsonSerialize();
     }
     return $json;
 }
コード例 #5
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->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;
 }
コード例 #6
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (0 < count($this->specimen)) {
         $json['specimen'] = array();
         foreach ($this->specimen as $specimen) {
             $json['specimen'][] = $specimen->jsonSerialize();
         }
     }
     if (null !== $this->bodySite) {
         $json['bodySite'] = $this->bodySite->jsonSerialize();
     }
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (0 < count($this->event)) {
         $json['event'] = array();
         foreach ($this->event as $event) {
             $json['event'][] = $event->jsonSerialize();
         }
     }
     return $json;
 }
コード例 #7
0
 /**
  * @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;
 }
コード例 #8
0
 /**
  * @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;
 }
コード例 #9
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->entityCodeableConcept) {
         $json['entityCodeableConcept'] = $this->entityCodeableConcept->jsonSerialize();
     }
     if (null !== $this->entityReference) {
         $json['entityReference'] = $this->entityReference->jsonSerialize();
     }
     if (null !== $this->identifier) {
         $json['identifier'] = $this->identifier->jsonSerialize();
     }
     if (null !== $this->effectiveTime) {
         $json['effectiveTime'] = $this->effectiveTime->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();
     }
     return $json;
 }
コード例 #10
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->managingOrganization) {
         $json['managingOrganization'] = $this->managingOrganization->jsonSerialize();
     }
     if (null !== $this->role) {
         $json['role'] = $this->role->jsonSerialize();
     }
     if (0 < count($this->specialty)) {
         $json['specialty'] = array();
         foreach ($this->specialty as $specialty) {
             $json['specialty'][] = $specialty->jsonSerialize();
         }
     }
     if (null !== $this->period) {
         $json['period'] = $this->period->jsonSerialize();
     }
     if (0 < count($this->location)) {
         $json['location'] = array();
         foreach ($this->location as $location) {
             $json['location'][] = $location->jsonSerialize();
         }
     }
     if (0 < count($this->healthcareService)) {
         $json['healthcareService'] = array();
         foreach ($this->healthcareService as $healthcareService) {
             $json['healthcareService'][] = $healthcareService->jsonSerialize();
         }
     }
     return $json;
 }
コード例 #11
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->language) {
         $json['language'] = $this->language->jsonSerialize();
     }
     if (null !== $this->preferred) {
         $json['preferred'] = $this->preferred->jsonSerialize();
     }
     return $json;
 }
コード例 #12
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->target) {
         $json['target'] = $this->target->jsonSerialize();
     }
     return $json;
 }
コード例 #13
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->resultCodeableConcept) {
         $json['resultCodeableConcept'] = $this->resultCodeableConcept->jsonSerialize();
     }
     if (null !== $this->resultReference) {
         $json['resultReference'] = $this->resultReference->jsonSerialize();
     }
     return $json;
 }
コード例 #14
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->schedule) {
         $json['schedule'] = $this->schedule->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;
 }
コード例 #16
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->item) {
         $json['item'] = $this->item->jsonSerialize();
     }
     if (null !== $this->cause) {
         $json['cause'] = $this->cause->jsonSerialize();
     }
     return $json;
 }
コード例 #17
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->action) {
         $json['action'] = $this->action->jsonSerialize();
     }
     if (null !== $this->manipulated) {
         $json['manipulated'] = $this->manipulated->jsonSerialize();
     }
     return $json;
 }
コード例 #18
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->item) {
         $json['item'] = $this->item->jsonSerialize();
     }
     if (null !== $this->reason) {
         $json['reason'] = $this->reason->jsonSerialize();
     }
     return $json;
 }
コード例 #19
0
 /**
  * @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;
 }
コード例 #20
0
 /**
  * @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;
 }
コード例 #21
0
 /**
  * @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->reason) {
         $json['reason'] = $this->reason->jsonSerialize();
     }
     return $json;
 }
コード例 #23
0
 /**
  * @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->whenUsed) {
         $json['whenUsed'] = $this->whenUsed->jsonSerialize();
     }
     if (null !== $this->device) {
         $json['device'] = $this->device->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 (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();
     }
     return $json;
 }
コード例 #24
0
 /**
  * @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;
 }
コード例 #25
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->container) {
         $json['container'] = $this->container->jsonSerialize();
     }
     if (0 < count($this->content)) {
         $json['content'] = array();
         foreach ($this->content as $content) {
             $json['content'][] = $content->jsonSerialize();
         }
     }
     return $json;
 }
コード例 #26
0
 /**
  * @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;
 }
コード例 #27
0
 /**
  * @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->specType) {
         $json['specType'] = $this->specType->jsonSerialize();
     }
     if (null !== $this->componentId) {
         $json['componentId'] = $this->componentId->jsonSerialize();
     }
     if (null !== $this->productionSpec) {
         $json['productionSpec'] = $this->productionSpec->jsonSerialize();
     }
     return $json;
 }
コード例 #29
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (0 < count($this->detail)) {
         $json['detail'] = array();
         foreach ($this->detail as $detail) {
             $json['detail'][] = $detail->jsonSerialize();
         }
     }
     return $json;
 }
コード例 #30
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->species) {
         $json['species'] = $this->species->jsonSerialize();
     }
     if (null !== $this->breed) {
         $json['breed'] = $this->breed->jsonSerialize();
     }
     if (null !== $this->genderStatus) {
         $json['genderStatus'] = $this->genderStatus->jsonSerialize();
     }
     return $json;
 }