繁体   English   中英

通过内部参考搜索 FHIR 资源

[英]Search FHIR resource by internal reference

DSTU2 文档没有描述通过内部参考搜索资源的能力。 有什么方法可以找到以下包含从业者资源和内部参考的资源,例如:

[base]/fhir/Patient?careprovider:Practitioner=ContainedId

[base]/fhir/Patient?careprovider=ContainedId

 { "resourceType" : "Patient", "id" : "ContainedTestPatient", "careProvider" : [{ "reference" : "#ContainedId" }], "contained" : [{ "resourceType": "Practitioner", "id": "ContainedId", "name": {"text": "Good doctor INC"} }] }

实际上 DSTU2 文档确实指定了如何在包含的资源中搜索值,请参阅http://www.hl7.org/fhir/search.html#contained 它是通过链式搜索完成的,如下所示:

[base]/Patient?careprovider._id=ContainedId

暂无
暂无

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

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