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