Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCDA- FHIR conversion #459

Open
kirankumarduddu opened this issue Mar 17, 2023 · 2 comments
Open

CCDA- FHIR conversion #459

kirankumarduddu opened this issue Mar 17, 2023 · 2 comments

Comments

@kirankumarduddu
Copy link

Team , I am using liquid templates 5.1 from fhir convertot in VS code after conversion I am getting several validation errors can you please help .Thanks .
Validated the uploaded resource against the http://hl7.org/fhir/StructureDefinition/Bundle StructureDefinition
Validation errors:
Bundle.entry[121].resource.ofType(Coverage): Coverage.beneficiary: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Coverage|4.0.1) on line 1. Jump to error.
Bundle.entry[121].resource.ofType(Coverage): Coverage.payor: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Coverage|4.0.1) on line 1. Jump to error.
Bundle.entry[121].resource.ofType(Coverage): Coverage.status: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Coverage|4.0.1) on line 1. Jump to error.
Bundle.entry[120].resource.ofType(Immunization): Immunization.occurrence[x]: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Immunization|4.0.1) on line 1. Jump to error.
Bundle.entry[4].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.
Bundle.entry[6].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.
Bundle.entry[8].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.
Bundle.entry[10].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.
Bundle.entry[12].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.
Bundle.entry[14].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.
Bundle.entry[16].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.
Bundle.entry[18].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.
Bundle.entry[20].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.
Bundle.entry[22].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.
Bundle.entry[24].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.
Bundle.entry[26].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.
Bundle.entry[28].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.
Bundle.entry[30].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.
Bundle.entry[32].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.
Bundle.entry[34].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.
Bundle.entry[36].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.
Bundle.entry[38].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.
Bundle.entry[40].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.
Bundle.entry[42].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.
Bundle.entry[44].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.
Bundle.entry[46].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.
Bundle.entry[48].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.
Bundle.entry[50].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.
Bundle.entry[52].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.
Bundle.entry[54].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[2].resource.ofType(Patient).extension[0].extension[0].value.ofType(Coding): Display Name for http://terminology.hl7.org/CodeSystem/v3-NullFlavor#NI should be 'NoInformation', not 'Unknown' for 'http://terminology.hl7.org/CodeSystem/v3-NullFlavor#NI' on line 1. Jump to error.
Bundle.entry[2].resource.ofType(Patient).extension[1].extension[0].value.ofType(Coding): Display Name for http://terminology.hl7.org/CodeSystem/v3-NullFlavor#NI should be 'NoInformation', not 'Unknown' for 'http://terminology.hl7.org/CodeSystem/v3-NullFlavor#NI' on line 1. Jump to error.
Bundle.entry[121].resource.ofType(Coverage).relationship: None of the codings provided are in the value set 'SubscriberPolicyholder Relationship Codes' (http://hl7.org/fhir/ValueSet/subscriber-relationship|4.0.1), 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:oid:2.16.840.1.113883.5.110#FAMDEP) on line 1. Jump to error.
Bundle.entry[65].resource.ofType(DiagnosticReport).code.coding[0]: The display "CBC WO DIFFERENTIAL" is not a valid display for the code {http://snomed.info/sct}43789009 - should be one of ['Complete blood count without differential', 'Hemogram', 'CBC without differential', 'Complete blood count without differential (procedure)'] (from http://tx.fhir.org/r4) for 'http://snomed.info/sct#43789009' on line 1. Jump to error.
Bundle.entry[13].resource.ofType(Medication).code.coding[0]: The display "Debrox Earwax Removal Kit 6.5% otic solution" is not a valid display for the code {http://www.nlm.nih.gov/research/umls/rxnorm}827654 - should be one of ['carbamide peroxide 65 MG/ML Otic Solution [Debrox]', 'Debrox 65 MG/ML Otic Solution', 'Debrox 6.5 % Otic Solution', 'Debrox 6.5 % Otic Solution'] (from http://tx.fhir.org/r4) for 'http://www.nlm.nih.gov/research/umls/rxnorm#827654' on line 1. Jump to error.
Bundle.entry[0].resource.ofType(Composition).section[5].code.coding[0]: The display "HISTORY OF MEDICATION USE" is not a valid display for the code {http://loinc.org}10160-0 - should be one of ['History of Medication use Narrative', 'Hx of Medication use', '', '医疗服务对象' (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), '报告' (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), 'Anamnesi paziente Punto nel tempo (episodio) Storia' (it-IT), 'Anamnesi' (it-IT), 'История Лекарственный анамнез Описательный Точка во времени' (ru-RU), 'Момент' (ru-RU), 'anamnese geneesmiddelen' (nl-NL)] (from http://tx.fhir.org/r4) for 'http://loinc.org#10160-0' on line 1. Jump to error.
Bundle.entry[0].resource.ofType(Composition).section[9].code.coding[0]: The display "HISTORY OF PROCEDURES" is not a valid display for the code {http://loinc.org}47519-4 - should be one of ['History of Procedures Document', 'Procedures Hx 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), '发现物' (zh-CN), '所见' (zh-CN), '结果' (zh-CN), '结论 操作历史' (zh-CN), '操作项目历史' (zh-CN), '操作项目史 时刻' (zh-CN), '随机' (zh-CN), '随意' (zh-CN), '瞬间 未加明确说明的角色 病史与体格检查' (zh-CN), 'Procedures Hx' (pt-BR), 'Finding' (pt-BR), 'Findings' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'Anamnesi Osservazione Punto nel tempo (episodio) Ruolo non specificato' (it-IT)] (from http://tx.fhir.org/r4) for 'http://loinc.org#47519-4' on line 1. Jump to error.
Bundle.entry[0].resource.ofType(Composition).section[1].code.coding[0]: The display "History of encounters" is not a valid display for the code {http://loinc.org}46240-8 - should be one of ['History of Hospitalizations+Outpatient visits Narrative', 'Hx of Hospitalizations+OP visits', '', '住院治疗历史+门诊就诊历史' (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), '历史纪录与体格检查小节.历史记录类' (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), 'Outpatient visits Hx' (pt-BR), 'Hospitalizations+OP visits Hx' (pt-BR), 'Hospitalizations Hx' (pt-BR), 'Finding' (pt-BR), 'Findings' (pt-BR), 'Point in time' (pt-BR), 'Random' (pt-BR), 'Narrative' (pt-BR), 'Report' (pt-BR), 'Anamnesi paziente Punto nel tempo (episodio) Storia' (it-IT), 'Anamnesi visite paziente ambulatoriale' (it-IT), 'Анамнез госпитализаций+Анамнез амбулаторных посещений История Описательный Точка во времени' (ru-RU), 'Момент' (ru-RU), 'anamnese' (nl-NL)] (from http://tx.fhir.org/r4) for 'http://loinc.org#46240-8' on line 1. Jump to error.

@dustinburson
Copy link
Member

@kirankumarduddu the errors you listed are not for the bundle itself but the resource types you have in the bundle. Please verify the MedicationStatement, Coverage, and Immunization resources inside the bundle.

@kirankumarduddu
Copy link
Author

kirankumarduddu commented Mar 22, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants