简体   繁体   English

通过内部参考搜索 FHIR 资源

[英]Search FHIR resource by internal reference

DSTU2 documentation does not describe ability to search resources by internal references. DSTU2 文档没有描述通过内部参考搜索资源的能力。 Is there any way to find the below resource having contained Practitioner resource and internal reference on it like:有什么方法可以找到以下包含从业者资源和内部参考的资源,例如:

[base]/fhir/Patient?careprovider:Practitioner=ContainedId or [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"} }] }

Actually DSTU2 documentation does specify how to search for values in contained resources, see http://www.hl7.org/fhir/search.html#contained .实际上 DSTU2 文档确实指定了如何在包含的资源中搜索值,请参阅http://www.hl7.org/fhir/search.html#contained It's done with a chained search and looks like this:它是通过链式搜索完成的,如下所示:

[base]/Patient?careprovider._id=ContainedId

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

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