You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

FHIR R4中正确表示母亲姓氏(HumanName Mother's Family)的方法

正确表示FHIR R4中患者母亲姓氏的方式

你遇到的错误是因为http://hl7.org/fhir/StructureDefinition/humanname-mothers-family这个扩展的正确附着位置是HumanName.family元素,而非整个HumanName对象的扩展节点。

修正后的JSON代码:

{
  "resourceType": "Patient",
  "name": [
    {
      "family": {
        "value": "Family",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family",
            "valueString": "Mothers family"
          }
        ]
      },
      "given": ["Names"]
    }
  ]
}

说明:

  • 原写法将扩展放在HumanName的extension数组中,不符合该扩展的定义要求
  • 修正后把family从字符串改为对象,包含value(原姓氏值)和extension数组,将母亲姓氏的扩展放在这个位置即可通过FHIR validator校验

内容的提问来源于stack exchange,提问作者Daniel Neri

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.22 14:45:04