简体   繁体   中英

FHIR - Extending a operation parameter (Additional parameters in Patient Resource)

在此处输入图片说明

https://www.hl7.org/fhir/parameters.html

is it right to add the additional parameters in extended operation or can we add the add the parameters in patient resource type . because if we have multiple values we are not able to map the patient data with the extended operation parameter.

how to add additional parameters in patient resource type???

Short Answer:

Every element in a resource can have extension child elements to represent additional information that is not part of the basic definition of the resource.

Here is the post on HL7 FHIR with detailed info and samples on Extensibility

Every element in a resource or data type includes an optional "extension" child element that may be present , So we can add the additional parameter with an extension

Eg: { "resourceType" : "Patient", "extension" : [{ "url" : " http://hl7.org/fhir/StructureDefinition/patient-citizenship ", " extension " : [{ "url" : "code", "valueCodeableConcept" : { "coding" : [{ "system" : "urn:iso:std:iso:3166", "code" : "DE" }] } }, { "url" : "period", "valuePeriod" : { "start" : "2009-03-14" } }] }] }

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM