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

ICD10-GM代码在BBMRI.de Specimen资源验证失败求助

关于BBMRI.de样本资源ICD-10-GM验证错误的问题

我在用HAPI FHIR库针对BBMRI.de实施指南的Specimen profile验证样本档案中的德语版ICD-10代码时,遇到了以下错误:

Bundle.entry[6].resource.ofType(Specimen).extension[2].value.ofType(CodeableConcept).coding[0] slicing-1: 'When slice no-icd is present, the other slices must not be present' Rule 'When slice no-icd is present, the other slices must not be present' Failed
Bundle.entry[7].resource.ofType(Specimen).extension[2].value.ofType(CodeableConcept).coding[0] Validation failed for 'http://fhir.de/CodeSystem/dimdi/icd-10-gm#C34.9'
Bundle.entry[7].resource.ofType(Specimen).extension[2].value.ofType(CodeableConcept).coding[0] slicing-1: 'When slice no-icd is present, the other slices must not be present' Rule 'When slice no-icd is present, the other slices must not be present' Failed
Bundle.entry[9].resource.ofType(Specimen).extension[2].value.ofType(CodeableConcept).coding[0] Validation failed for 'http://fhir.de/CodeSystem/dimdi/icd-10-gm#C78.0'

以下是我尝试验证的JSON文件中的一个Specimen资源示例:

"resource": {
        "resourceType": "Specimen",
        "id": "pat0-specimen0",
        "meta": {
          "profile": [
            "https://fhir.bbmri.de/StructureDefinition/Specimen"
          ]
        },
        "extension": [
          {
            "url": "https://fhir.bbmri.de/StructureDefinition/Custodian",
            "valueReference": {
              "reference": "Organization/Tumor"
            }
          },
          {
            "url": "https://fhir.bbmri.de/StructureDefinition/StorageTemperature",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "https://fhir.bbmri.de/CodeSystem/StorageTemperature",
                  "code": "temperatureLN",
                  "display": "Liquid nitrogen"
                }
              ]
            }
          },
          {
            "url": "https://fhir.bbmri.de/StructureDefinition/SampleDiagnosis",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "http://fhir.de/CodeSystem/dimdi/icd-10-gm",
                  "code": "C50",
                  "display": "Bösartige Neubildung der Brustdrüse [Mamma]"
                }
              ]
            }
          }
        ],
        "status": "available",
        "type": {
          "coding": [
            {
              "system": "https://fhir.bbmri.de/CodeSystem/SampleMaterialType",
              "code": "tissue-ffpe",
              "display": "Tissue FFPE"
            }
          ]
        },
        "subject": {
          "reference": "Patient/pat0"
        },
        "collection": {
          "collectedDateTime": "2021-11-19T13:44:13+01:00",
          "fastingStatusCodeableConcept": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/v2-0916",
                "code": "NG",
                "display": "Not Given - Patient was not asked at the time of the procedure."
              }
            ]
          }
        }
      }

想请教一下,这是我的配置有问题,还是profile本身的定义存在问题?BBMRI实施指南中的其他资源验证都正常。

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.08.21 23:30:47