簡體   English   中英

ICD10-GM 代碼驗證未能用於標本診斷

[英]Validation of ICD10-GM codes fails for specimen diagnosis

我在嘗試驗證樣本配置文件中的 ICD10(德語版)代碼時收到這些錯誤消息。 我使用 HAPI FHIR 庫進行驗證,並根據 bbmri.de implementation guide sample profile進行驗證。

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 文件中的一個樣本資源:

"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."
              }
            ]
          }
        }
      }
}

有人可以告訴我我做錯了什么還是配置文件定義有問題? bbmri IG 的其他資源運行良好。

這個約束:“no-icd.exists().not() or (icd-10-who.exists() or icd-10-gm.exists() or icd-9.exists()).not()”被打破。

資源中沒有(也不可能)任何名稱為“no-icd”或“icd-10-who”等的元素。約束不能與切片名稱相關聯,只能與實例中的實際數據相關聯。 你不得不說這樣的話:

code.coding.where(system="123" and version="456").exists()

此外,在查看您的個人資料時,我沒有看到為系統或版本聲明的固定值,這是您的鑒別器。 (通過 $this 來區分一種編碼也是沒有意義的。)

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM