/**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->doseSequence) {
         $json['doseSequence'] = $this->doseSequence->jsonSerialize();
     }
     if (null !== $this->description) {
         $json['description'] = $this->description->jsonSerialize();
     }
     if (null !== $this->authority) {
         $json['authority'] = $this->authority->jsonSerialize();
     }
     if (null !== $this->series) {
         $json['series'] = $this->series->jsonSerialize();
     }
     if (null !== $this->seriesDoses) {
         $json['seriesDoses'] = $this->seriesDoses->jsonSerialize();
     }
     if (0 < count($this->targetDisease)) {
         $json['targetDisease'] = array();
         foreach ($this->targetDisease as $targetDisease) {
             $json['targetDisease'][] = $targetDisease->jsonSerialize();
         }
     }
     if (null !== $this->doseStatus) {
         $json['doseStatus'] = $this->doseStatus->jsonSerialize();
     }
     if (null !== $this->doseStatusReason) {
         $json['doseStatusReason'] = $this->doseStatusReason->jsonSerialize();
     }
     return $json;
 }
 /**
  * @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;
 }
 /**
  * @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;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->text) {
         $json['text'] = $this->text->jsonSerialize();
     }
     if (null !== $this->siteCodeableConcept) {
         $json['siteCodeableConcept'] = $this->siteCodeableConcept->jsonSerialize();
     }
     if (null !== $this->siteReference) {
         $json['siteReference'] = $this->siteReference->jsonSerialize();
     }
     if (null !== $this->route) {
         $json['route'] = $this->route->jsonSerialize();
     }
     if (null !== $this->method) {
         $json['method'] = $this->method->jsonSerialize();
     }
     if (null !== $this->quantity) {
         $json['quantity'] = $this->quantity->jsonSerialize();
     }
     if (null !== $this->rateRatio) {
         $json['rateRatio'] = $this->rateRatio->jsonSerialize();
     }
     if (null !== $this->rateRange) {
         $json['rateRange'] = $this->rateRange->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 (0 < count($this->type)) {
         $json['type'] = array();
         foreach ($this->type as $type) {
             $json['type'][] = $type->jsonSerialize();
         }
     }
     if (null !== $this->actor) {
         $json['actor'] = $this->actor->jsonSerialize();
     }
     if (null !== $this->planningHorizon) {
         $json['planningHorizon'] = $this->planningHorizon->jsonSerialize();
     }
     if (null !== $this->comment) {
         $json['comment'] = $this->comment->jsonSerialize();
     }
     return $json;
 }
Пример #6
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;
 }
 /**
  * @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;
 }
Пример #8
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;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     $json['resourceType'] = $this->_fhirElementName;
     if (null !== $this->masterIdentifier) {
         $json['masterIdentifier'] = $this->masterIdentifier->jsonSerialize();
     }
     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 (0 < count($this->recipient)) {
         $json['recipient'] = array();
         foreach ($this->recipient as $recipient) {
             $json['recipient'][] = $recipient->jsonSerialize();
         }
     }
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (0 < count($this->author)) {
         $json['author'] = array();
         foreach ($this->author as $author) {
             $json['author'][] = $author->jsonSerialize();
         }
     }
     if (null !== $this->created) {
         $json['created'] = $this->created->jsonSerialize();
     }
     if (null !== $this->source) {
         $json['source'] = $this->source->jsonSerialize();
     }
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->description) {
         $json['description'] = $this->description->jsonSerialize();
     }
     if (0 < count($this->content)) {
         $json['content'] = array();
         foreach ($this->content as $content) {
             $json['content'][] = $content->jsonSerialize();
         }
     }
     if (0 < count($this->related)) {
         $json['related'] = array();
         foreach ($this->related as $related) {
             $json['related'][] = $related->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->identifier) {
         $json['identifier'] = $this->identifier->jsonSerialize();
     }
     if (null !== $this->ref) {
         $json['ref'] = $this->ref->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->name) {
         $json['name'] = $this->name->jsonSerialize();
     }
     if (null !== $this->definition) {
         $json['definition'] = $this->definition->jsonSerialize();
     }
     return $json;
 }
 /**
  * @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;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->other) {
         $json['other'] = $this->other->jsonSerialize();
     }
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->profile) {
         $json['profile'] = $this->profile->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->quantity) {
         $json['quantity'] = $this->quantity->jsonSerialize();
     }
     if (null !== $this->substance) {
         $json['substance'] = $this->substance->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->plan) {
         $json['plan'] = $this->plan->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->comment) {
         $json['comment'] = $this->comment->jsonSerialize();
     }
     if (null !== $this->link) {
         $json['link'] = $this->link->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->role) {
         $json['role'] = $this->role->jsonSerialize();
     }
     if (null !== $this->member) {
         $json['member'] = $this->member->jsonSerialize();
     }
     return $json;
 }
Пример #19
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->target) {
         $json['target'] = $this->target->jsonSerialize();
     }
     if (null !== $this->assurance) {
         $json['assurance'] = $this->assurance->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->contentAttachment) {
         $json['contentAttachment'] = $this->contentAttachment->jsonSerialize();
     }
     if (null !== $this->contentReference) {
         $json['contentReference'] = $this->contentReference->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->item) {
         $json['item'] = $this->item->jsonSerialize();
     }
     if (null !== $this->amount) {
         $json['amount'] = $this->amount->jsonSerialize();
     }
     return $json;
 }
 /**
  * @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;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->profile) {
         $json['profile'] = $this->profile->jsonSerialize();
     }
     if (0 < count($this->interaction)) {
         $json['interaction'] = array();
         foreach ($this->interaction as $interaction) {
             $json['interaction'][] = $interaction->jsonSerialize();
         }
     }
     if (null !== $this->versioning) {
         $json['versioning'] = $this->versioning->jsonSerialize();
     }
     if (null !== $this->readHistory) {
         $json['readHistory'] = $this->readHistory->jsonSerialize();
     }
     if (null !== $this->updateCreate) {
         $json['updateCreate'] = $this->updateCreate->jsonSerialize();
     }
     if (null !== $this->conditionalCreate) {
         $json['conditionalCreate'] = $this->conditionalCreate->jsonSerialize();
     }
     if (null !== $this->conditionalUpdate) {
         $json['conditionalUpdate'] = $this->conditionalUpdate->jsonSerialize();
     }
     if (null !== $this->conditionalDelete) {
         $json['conditionalDelete'] = $this->conditionalDelete->jsonSerialize();
     }
     if (0 < count($this->searchInclude)) {
         $json['searchInclude'] = array();
         foreach ($this->searchInclude as $searchInclude) {
             $json['searchInclude'][] = $searchInclude->jsonSerialize();
         }
     }
     if (0 < count($this->searchRevInclude)) {
         $json['searchRevInclude'] = array();
         foreach ($this->searchRevInclude as $searchRevInclude) {
             $json['searchRevInclude'][] = $searchRevInclude->jsonSerialize();
         }
     }
     if (0 < count($this->searchParam)) {
         $json['searchParam'] = array();
         foreach ($this->searchParam as $searchParam) {
             $json['searchParam'][] = $searchParam->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->location) {
         $json['location'] = $this->location->jsonSerialize();
     }
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->period) {
         $json['period'] = $this->period->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->autocreate) {
         $json['autocreate'] = $this->autocreate->jsonSerialize();
     }
     if (null !== $this->autodelete) {
         $json['autodelete'] = $this->autodelete->jsonSerialize();
     }
     if (null !== $this->resource) {
         $json['resource'] = $this->resource->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->identifier) {
         $json['identifier'] = $this->identifier->jsonSerialize();
     }
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->details) {
         $json['details'] = $this->details->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->entity) {
         $json['entity'] = $this->entity->jsonSerialize();
     }
     if (null !== $this->period) {
         $json['period'] = $this->period->jsonSerialize();
     }
     if (null !== $this->inactive) {
         $json['inactive'] = $this->inactive->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->entity) {
         $json['entity'] = $this->entity->jsonSerialize();
     }
     if (0 < count($this->role)) {
         $json['role'] = array();
         foreach ($this->role as $role) {
             $json['role'][] = $role->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->party) {
         $json['party'] = $this->party->jsonSerialize();
     }
     if (null !== $this->signature) {
         $json['signature'] = $this->signature->jsonSerialize();
     }
     return $json;
 }