简体   繁体   English

FHIR-扩展操作参数(患者资源中的其他参数)

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

在此处输入图片说明

https://www.hl7.org/fhir/parameters.html 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 这是HL7 FHIR上的帖子,其中包含有关可扩展性的详细信息和示例

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" } }] }] } 例如: {“ resourceType”:“患者”,“扩展名”:[{“ url”:“ http://hl7.org/fhir/StructureDefinition/ Patient- citizenship ”,“ 扩展名 ”:[{“ url”:“ code“,” valueCodeableConcept“:{” coding“:[{” system“:” urn:iso:std:iso:3166“,” code“:” DE“}]}}},{” url“:”句点“ ,“ valuePeriod”:{“ start”:“ 2009-03-14”}}]}]}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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