本文整理汇总了PHP中PHPFHIRGenerated\FHIRElement\FHIRCodeableConcept::jsonSerialize方法的典型用法代码示例。如果您正苦于以下问题:PHP FHIRCodeableConcept::jsonSerialize方法的具体用法?PHP FHIRCodeableConcept::jsonSerialize怎么用?PHP FHIRCodeableConcept::jsonSerialize使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PHPFHIRGenerated\FHIRElement\FHIRCodeableConcept
的用法示例。
在下文中一共展示了FHIRCodeableConcept::jsonSerialize方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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: jsonSerialize
/**
* @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;
}
示例15: jsonSerialize
/**
* @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;
}