Skip to content

Make exported outputs pass FHIR Validation #60

@bonarae

Description

@bonarae

For some time now in using this wonderful package, I have ran into a showstopping problem in using the resulting JSON files in any FHIR package, be it the FHIR Validator or HAPI FHIR (one of the most feature-complete open source FHIR servers at present.)

The FHIR Validator reports each exported JSON file from this package as incompatible with the standard (even v4.0.1 as that version was used as the base at its initial publication) as the CDM-based related URLs are all dead links by now.

To remedy this, I tried to comment out some or all meta extension-related lines of code (in meta.py) but it impacts the source file ID parameter needed for my bundling script (done outside the scope of this package, though) and when the entire meta section is commented out, the CsvToFHIR CLI program returns a Python error. On the other hand, when I modified either or both of the last two methods defined in convert.py to circumvent the said error, the files are still written but the source file ID is sadly omitted and the meta/extension part of the JSON is broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions