/**
  * @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();
     }
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->documentation) {
         $json['documentation'] = $this->documentation->jsonSerialize();
     }
     if (0 < count($this->target)) {
         $json['target'] = array();
         foreach ($this->target as $target) {
             $json['target'][] = $target->jsonSerialize();
         }
     }
     if (0 < count($this->modifier)) {
         $json['modifier'] = array();
         foreach ($this->modifier as $modifier) {
             $json['modifier'][] = $modifier->jsonSerialize();
         }
     }
     if (0 < count($this->chain)) {
         $json['chain'] = array();
         foreach ($this->chain as $chain) {
             $json['chain'][] = $chain->jsonSerialize();
         }
     }
     return $json;
 }
예제 #2
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (0 < count($this->type)) {
         $json['type'] = array();
         foreach ($this->type as $type) {
             $json['type'][] = $type->jsonSerialize();
         }
     }
     if (null !== $this->when) {
         $json['when'] = $this->when->jsonSerialize();
     }
     if (null !== $this->whoUri) {
         $json['whoUri'] = $this->whoUri->jsonSerialize();
     }
     if (null !== $this->whoReference) {
         $json['whoReference'] = $this->whoReference->jsonSerialize();
     }
     if (null !== $this->contentType) {
         $json['contentType'] = $this->contentType->jsonSerialize();
     }
     if (null !== $this->blob) {
         $json['blob'] = $this->blob->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (0 < count($this->link)) {
         $json['link'] = array();
         foreach ($this->link as $link) {
             $json['link'][] = $link->jsonSerialize();
         }
     }
     if (null !== $this->fullUrl) {
         $json['fullUrl'] = $this->fullUrl->jsonSerialize();
     }
     if (null !== $this->resource) {
         $json['resource'] = $this->resource->jsonSerialize();
     }
     if (null !== $this->search) {
         $json['search'] = $this->search->jsonSerialize();
     }
     if (null !== $this->request) {
         $json['request'] = $this->request->jsonSerialize();
     }
     if (null !== $this->response) {
         $json['response'] = $this->response->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->system) {
         $json['system'] = $this->system->jsonSerialize();
     }
     if (null !== $this->abstract) {
         $json['abstract'] = $this->abstract->jsonSerialize();
     }
     if (null !== $this->version) {
         $json['version'] = $this->version->jsonSerialize();
     }
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->display) {
         $json['display'] = $this->display->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();
     if (null !== $this->codeSystem) {
         $json['codeSystem'] = $this->codeSystem->jsonSerialize();
     }
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->equivalence) {
         $json['equivalence'] = $this->equivalence->jsonSerialize();
     }
     if (null !== $this->comments) {
         $json['comments'] = $this->comments->jsonSerialize();
     }
     if (0 < count($this->dependsOn)) {
         $json['dependsOn'] = array();
         foreach ($this->dependsOn as $dependsOn) {
             $json['dependsOn'][] = $dependsOn->jsonSerialize();
         }
     }
     if (0 < count($this->product)) {
         $json['product'] = array();
         foreach ($this->product as $product) {
             $json['product'][] = $product->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();
     if (null !== $this->source) {
         $json['source'] = $this->source->jsonSerialize();
     }
     if (null !== $this->name) {
         $json['name'] = $this->name->jsonSerialize();
     }
     if (null !== $this->kind) {
         $json['kind'] = $this->kind->jsonSerialize();
     }
     if (0 < count($this->type)) {
         $json['type'] = array();
         foreach ($this->type as $type) {
             $json['type'][] = $type->jsonSerialize();
         }
     }
     if (0 < count($this->package)) {
         $json['package'] = array();
         foreach ($this->package as $package) {
             $json['package'][] = $package->jsonSerialize();
         }
     }
     if (null !== $this->format) {
         $json['format'] = $this->format->jsonSerialize();
     }
     if (0 < count($this->page)) {
         $json['page'] = array();
         foreach ($this->page as $page) {
             $json['page'][] = $page->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->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 (null !== $this->requirements) {
         $json['requirements'] = $this->requirements->jsonSerialize();
     }
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->base) {
         $json['base'] = $this->base->jsonSerialize();
     }
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->description) {
         $json['description'] = $this->description->jsonSerialize();
     }
     if (null !== $this->xpath) {
         $json['xpath'] = $this->xpath->jsonSerialize();
     }
     if (null !== $this->xpathUsage) {
         $json['xpathUsage'] = $this->xpathUsage->jsonSerialize();
     }
     if (0 < count($this->target)) {
         $json['target'] = array();
         foreach ($this->target as $target) {
             $json['target'][] = $target->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->protocol) {
         $json['protocol'] = $this->protocol->jsonSerialize();
     }
     if (null !== $this->address) {
         $json['address'] = $this->address->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->description) {
         $json['description'] = $this->description->jsonSerialize();
     }
     if (null !== $this->url) {
         $json['url'] = $this->url->jsonSerialize();
     }
     return $json;
 }
 /**
  * @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;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->uri) {
         $json['uri'] = $this->uri->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->element) {
         $json['element'] = $this->element->jsonSerialize();
     }
     if (null !== $this->codeSystem) {
         $json['codeSystem'] = $this->codeSystem->jsonSerialize();
     }
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->name) {
         $json['name'] = $this->name->jsonSerialize();
     }
     if (null !== $this->target) {
         $json['target'] = $this->target->jsonSerialize();
     }
     if (null !== $this->endpoint) {
         $json['endpoint'] = $this->endpoint->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (0 < count($this->frameNumbers)) {
         $json['frameNumbers'] = array();
         foreach ($this->frameNumbers as $frameNumbers) {
             $json['frameNumbers'][] = $frameNumbers->jsonSerialize();
         }
     }
     if (null !== $this->url) {
         $json['url'] = $this->url->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->strength) {
         $json['strength'] = $this->strength->jsonSerialize();
     }
     if (null !== $this->valueSetUri) {
         $json['valueSetUri'] = $this->valueSetUri->jsonSerialize();
     }
     if (null !== $this->valueSetReference) {
         $json['valueSetReference'] = $this->valueSetReference->jsonSerialize();
     }
     return $json;
 }
예제 #17
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = array();
     if (null !== $this->id) {
         $json['id'] = $this->id->jsonSerialize();
     }
     if (null !== $this->meta) {
         $json['meta'] = $this->meta->jsonSerialize();
     }
     if (null !== $this->implicitRules) {
         $json['implicitRules'] = $this->implicitRules->jsonSerialize();
     }
     if (null !== $this->language) {
         $json['language'] = $this->language->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->codeSystem) {
         $json['codeSystem'] = $this->codeSystem->jsonSerialize();
     }
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (0 < count($this->target)) {
         $json['target'] = array();
         foreach ($this->target as $target) {
             $json['target'][] = $target->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->endpoint) {
         $json['endpoint'] = $this->endpoint->jsonSerialize();
     }
     if (null !== $this->payload) {
         $json['payload'] = $this->payload->jsonSerialize();
     }
     if (null !== $this->header) {
         $json['header'] = $this->header->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->uid) {
         $json['uid'] = $this->uid->jsonSerialize();
     }
     if (null !== $this->url) {
         $json['url'] = $this->url->jsonSerialize();
     }
     if (0 < count($this->instance)) {
         $json['instance'] = array();
         foreach ($this->instance as $instance) {
             $json['instance'][] = $instance->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->identity) {
         $json['identity'] = $this->identity->jsonSerialize();
     }
     if (null !== $this->uri) {
         $json['uri'] = $this->uri->jsonSerialize();
     }
     if (null !== $this->name) {
         $json['name'] = $this->name->jsonSerialize();
     }
     if (null !== $this->comments) {
         $json['comments'] = $this->comments->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->status) {
         $json['status'] = $this->status->jsonSerialize();
     }
     if (null !== $this->location) {
         $json['location'] = $this->location->jsonSerialize();
     }
     if (null !== $this->etag) {
         $json['etag'] = $this->etag->jsonSerialize();
     }
     if (null !== $this->lastModified) {
         $json['lastModified'] = $this->lastModified->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->system) {
         $json['system'] = $this->system->jsonSerialize();
     }
     if (null !== $this->version) {
         $json['version'] = $this->version->jsonSerialize();
     }
     if (null !== $this->caseSensitive) {
         $json['caseSensitive'] = $this->caseSensitive->jsonSerialize();
     }
     if (0 < count($this->concept)) {
         $json['concept'] = array();
         foreach ($this->concept as $concept) {
             $json['concept'][] = $concept->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->uid) {
         $json['uid'] = $this->uid->jsonSerialize();
     }
     if (null !== $this->url) {
         $json['url'] = $this->url->jsonSerialize();
     }
     if (null !== $this->imagingStudy) {
         $json['imagingStudy'] = $this->imagingStudy->jsonSerialize();
     }
     if (0 < count($this->series)) {
         $json['series'] = array();
         foreach ($this->series as $series) {
             $json['series'][] = $series->jsonSerialize();
         }
     }
     return $json;
 }
예제 #25
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->system) {
         $json['system'] = $this->system->jsonSerialize();
     }
     if (null !== $this->version) {
         $json['version'] = $this->version->jsonSerialize();
     }
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->display) {
         $json['display'] = $this->display->jsonSerialize();
     }
     if (null !== $this->userSelected) {
         $json['userSelected'] = $this->userSelected->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->sopClass) {
         $json['sopClass'] = $this->sopClass->jsonSerialize();
     }
     if (null !== $this->uid) {
         $json['uid'] = $this->uid->jsonSerialize();
     }
     if (null !== $this->url) {
         $json['url'] = $this->url->jsonSerialize();
     }
     if (0 < count($this->frames)) {
         $json['frames'] = array();
         foreach ($this->frames as $frames) {
             $json['frames'][] = $frames->jsonSerialize();
         }
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->role) {
         $json['role'] = $this->role->jsonSerialize();
     }
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->reference) {
         $json['reference'] = $this->reference->jsonSerialize();
     }
     if (null !== $this->display) {
         $json['display'] = $this->display->jsonSerialize();
     }
     if (null !== $this->agent) {
         $json['agent'] = $this->agent->jsonSerialize();
     }
     return $json;
 }
예제 #28
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->use) {
         $json['use'] = $this->use->jsonSerialize();
     }
     if (null !== $this->type) {
         $json['type'] = $this->type->jsonSerialize();
     }
     if (null !== $this->system) {
         $json['system'] = $this->system->jsonSerialize();
     }
     if (null !== $this->value) {
         $json['value'] = $this->value->jsonSerialize();
     }
     if (null !== $this->period) {
         $json['period'] = $this->period->jsonSerialize();
     }
     if (null !== $this->assigner) {
         $json['assigner'] = $this->assigner->jsonSerialize();
     }
     return $json;
 }
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->method) {
         $json['method'] = $this->method->jsonSerialize();
     }
     if (null !== $this->url) {
         $json['url'] = $this->url->jsonSerialize();
     }
     if (null !== $this->ifNoneMatch) {
         $json['ifNoneMatch'] = $this->ifNoneMatch->jsonSerialize();
     }
     if (null !== $this->ifModifiedSince) {
         $json['ifModifiedSince'] = $this->ifModifiedSince->jsonSerialize();
     }
     if (null !== $this->ifMatch) {
         $json['ifMatch'] = $this->ifMatch->jsonSerialize();
     }
     if (null !== $this->ifNoneExist) {
         $json['ifNoneExist'] = $this->ifNoneExist->jsonSerialize();
     }
     return $json;
 }
예제 #30
0
 /**
  * @return array
  */
 public function jsonSerialize()
 {
     $json = parent::jsonSerialize();
     if (null !== $this->value) {
         $json['value'] = $this->value->jsonSerialize();
     }
     if (null !== $this->comparator) {
         $json['comparator'] = $this->comparator->jsonSerialize();
     }
     if (null !== $this->units) {
         $json['units'] = $this->units->jsonSerialize();
     }
     if (null !== $this->system) {
         $json['system'] = $this->system->jsonSerialize();
     }
     if (null !== $this->code) {
         $json['code'] = $this->code->jsonSerialize();
     }
     if (null !== $this->id) {
         $json['id'] = $this->id;
     }
     return $json;
 }