[英]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.