【发布时间】:2018-11-26 13:46:31
【问题描述】:
如何在 FHIR 中搜索扩展值?搜索扩展是否需要SearchParameter 注册?任何有关示例的帮助都会很棒。在SearchParameter注册后,我一直在尝试使用我自己的FHIR服务器(https://github.com/Microsoft/fhir-server)使用mothersMaidenName,但它提供了来自服务器的所有Patients。
更新
我将此 JSON 设置为患者资源的扩展。
{
"extension": [
{
"url": "http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-mothersMaidenName",
"valueString": "trial"
}
]
}
SearchParameters 注册是这样完成的(这些来自https://www.hl7.org/fhir):
{
"resourceType": "SearchParameter",
"id": "e3f10e54-f558-49bb-8732-faee3a4dda8d",
"url": "http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-mothersMaidenName",
"version": "3.6.0",
"name": "mothersMaidenName",
"status": "draft",
"experimental": true,
"code": "mothersMaidenName",
"base": [
"Patient"
],
"type": "string",
"description": "Search based on patient's mother's maiden name",
"expression": "Patient.extension(http://hl7.org/fhir/SearchParameter/patient-extensions-Patient-mothersMaidenName)",
"xpathUsage": "normal"
}
【问题讨论】:
-
嗨!您在哪里找到了 SearchParameter 定义?它包含一个错误,因此如果您将链接发送给我们,我可以报告它以修复它。