microsoft / vscode-azurehealthcareapis-tools

This VS Code extension contains a collection of tools to work with Azure Healthcare APIs.
MIT License
22 stars 16 forks source link

ccda xml to FHIR conversion errors #70

Open kirankumarduddu opened 1 year ago

kirankumarduddu commented 1 year ago

I am using liquid templates from fhir convertor in acr to convert ccda xml to fhir .Once converted i am getting validation errors like below

Validation errors: Bundle.entry[12].resource.ofType(DiagnosticReport): DiagnosticReport.code: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/DiagnosticReport|4.0.1) on line 1. Jump to error. Bundle.entry[7].resource.ofType(MedicationStatement): MedicationStatement.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/MedicationStatement|4.0.1) on line 1. Jump to error.

Validation warnings: Bundle.entry[3].resource.ofType(Patient).extension[0].extension[0].value.ofType(Coding): A code with no system has no defined meaning. A system should be provided on line 1. Jump to error. Bundle.entry[3].resource.ofType(Patient).extension[1].extension[0].value.ofType(Coding): A code with no system has no defined meaning. A system should be provided on line 1. Jump to error. Bundle.entry[3].resource.ofType(Patient).communication[0].language.coding[0]: Local Error: Resolved system urn:ietf:bcp:47 (v2.0.1), but the definition is not complete. Server Error: Error from server: Access violation at address 0000000001158DD8 in module 'FHIRServer.exe'. Read of address 0000000000000028 on line 1. Jump to error. Bundle.entry[3].resource.ofType(Patient).communication[0].language: None of the codings provided are in the value set 'Language codes with language and optionally a region modifier' (http://hl7.org/fhir/us/core/ValueSet/simple-language|6.0.0-ballot), and a coding should come from this value set unless it has no suitable code (note that the validator cannot judge what is suitable) (codes = urn:ietf:bcp:47#en-us) on line 1. Jump to error. Bundle.entry[72].resource.ofType(Procedure).code: None of the codings provided are in the value set 'US Core Procedure Codes' (http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code|6.0.0-ballot), and a coding should come from this value set unless it has no suitable code (note that the validator cannot judge what is suitable) (codes = http://snomed.info/sct#23426006) on line 1. Jump to error. Bundle.entry[70].resource.ofType(Procedure).code: None of the codings provided are in the value set 'US Core Procedure Codes' (http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code|6.0.0-ballot), and a coding should come from this value set unless it has no suitable code (note that the validator cannot judge what is suitable) (codes = http://snomed.info/sct#430193006) on line 1. Jump to error. Bundle.entry[71].resource.ofType(Procedure).code: None of the codings provided are in the value set 'US Core Procedure Codes' (http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code|6.0.0-ballot), and a coding should come from this value set unless it has no suitable code (note that the validator cannot judge what is suitable) (codes = http://snomed.info/sct#430193006) on line 1. Jump to error. Bundle.entry[0].resource.ofType(Composition).section[0].code.coding[0]: The display "Allergy List" is not a valid display for the code {http://loinc.org}48765-2 - should be one of ['Allergies and adverse reactions Document', 'Allergies &or adverse reactions Doc', '', '临床文档型' (zh-CN), '临床文档' (zh-CN), '文档' (zh-CN), '文书' (zh-CN), '医疗文书' (zh-CN), '临床医疗文书 医疗服务对象' (zh-CN), '客户' (zh-CN), '病人' (zh-CN), '病患' (zh-CN), '病号' (zh-CN), '超系统 - 病人 发现是一个原子型临床观察指标,并不是作为印象的概括陈述。体格检查、病史、系统检查及其他此类观察指标的属性均为发现。它们的标尺对于编码型发现可能是名义型,而对于叙述型文本之中所报告的发现,则可能是叙述型。' (zh-CN), '发现物' (zh-CN), '所见' (zh-CN), '结果' (zh-CN), '结论 变态反应与不良反应 文档.其他' (zh-CN), '杂项类文档' (zh-CN), '其他文档 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 杂项' (zh-CN), '杂项类' (zh-CN), '杂项试验 过敏反应' (zh-CN), '过敏' (zh-CN), 'Allergie e reazioni avverse Documentazione miscellanea Miscellanea Osservazione paziente Punto nel tempo (episodio)' (it-IT), 'Документ Точка во времени' (ru-RU), 'Момент' (ru-RU)] (from http://tx.fhir.org/r4) for 'http://loinc.org#48765-2' on line 1. Jump to error. Bundle.entry[24].resource.ofType(Observation).code.coding[0]: The display "Body Mass Index" is not a valid display for the code {http://loinc.org}39156-5 - should be one of ['Body mass index (BMI) [Ratio]', 'BMI', '', '体重指数' (zh-CN), '人体质量指数' (zh-CN), '身体质量指数 一般体重' (zh-CN), '一般身体重量' (zh-CN), '身体重量.原子型 医疗服务对象' (zh-CN), '客户' (zh-CN), '病人' (zh-CN), '病患' (zh-CN), '病号' (zh-CN), '超系统 - 病人 可用数量表示的' (zh-CN), '定量性' (zh-CN), '数值型' (zh-CN), '数量型' (zh-CN), '连续数值型标尺 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 来自于不同体系的两个观察指标之比' (zh-CN), '比' (zh-CN), '比值 物体' (zh-CN), 'Rto' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'Quantitative' (pt-BR), 'QNT' (pt-BR), 'Quant' (pt-BR), 'Quan' (pt-BR), 'bod' (pt-BR), 'Bodies' (pt-BR), 'BODY WEIGHT.ATOM' (pt-BR), 'paziente Peso del corpo - atomico Punto nel tempo (episodio)' (it-IT), 'Количественный Коэффициент' (ru-RU), 'Соотношение' (ru-RU), 'Пропорция Точка во времени' (ru-RU), 'Момент' (ru-RU), 'Body-Mass-Index (BMI)' (de-AT)] (from http://tx.fhir.org/r4) for 'http://loinc.org#39156-5' on line 1. Jump to