“HumanName Mother’s Family” 可以翻译为 “人名 母亲的家庭”。

huangapple go评论99阅读模式
英文:

HumanName Mother's Family

问题

以下是翻译好的部分:

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

但我认为这不正确,因为在 FHIR 验证器中标记了这个错误:

"The modifier extension http://hl7.org/fhir/StructureDefinition/humanname-mothers-family is not allowed to be used at this point (allowed = e:HumanName.family; this element is [Patient.name, HumanName])"

顺便说一下,我使用的是 FHIR 版本 R4。

表示母亲的姓氏的正确形式是什么?

英文:

I have this:

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

But I believe that is not correct because in FHIR validator marks this error:

>"The modifier extension http://hl7.org/fhir/StructureDefinition/humanname-mothers-family is not allowed to be used at this point (allowed = e:HumanName.family; this element is [Patient.name, HumanName])"

By the way I use FHIR version R4

Which is the correct form to representing Mother's family name?

答案1

得分: 3

尝试这样做:

{
  "resourceType": "Patient",
  "name": [
    {
      "family": "Family1-Family2",
      "_family": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/humanname-mothers-family",
            "valueString": "Family2"
          }
        ]
      },
      "given": ["Names"]
    }
  ]
}
英文:

Try this:

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

The issue is that the extension must appear on HumanName.family, not HumanName directly. (Not sure why the validator was calling it a modifier extension though, because it's definitely not.)

huangapple
  • 本文由 发表于 2023年5月11日 07:35:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/76223225.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定