hl7ch / cda-fhir-maps

Maps (FHIR Mapping Language) to transform documents from CDA to FHIR and back
Apache License 2.0
19 stars 8 forks source link

Map files need to be updated to align with latest cda logical model 2.0.0-sd-snapshot1 #56

Open robeastwood-agency opened 6 months ago

robeastwood-agency commented 6 months ago

The ahdis matchbox source code has been updated to use the latest cda logical model 2.0.0-sd-snapshot1 (see https://github.com/ahdis/matchbox/pull/211).

As a result of breaking changes mentioned here https://github.com/ahdis/matchbox/issues/196#issuecomment-1997582541, the map files (FML) in this repo need to be updated so that transform operations can be performed without error.

robeastwood-agency commented 6 months ago

A PR is forthcoming

robeastwood-agency commented 6 months ago

Submitted draft PR #57

robeastwood-agency commented 5 months ago

Partial fix via PR #57 - for FHIR to CDA maps - has been merged in.

Work to continue for maps in the reverse direction CDA to FHIR

oliveregger commented 5 months ago

@robeastwood-agency I sent you an invite that you can directly add branches to this repo.

i opend a branch cda_model_update if it is not to much effort you can merge your change into it, or otherwise I will work on your next updates, i just updated query, produced, canonicals, it might be you are already further ...

robeastwood-agency commented 5 months ago

@oliveregger - no problems, I'll add commits to the new branch, and I'm a bit further fixing some of the existing rules (ie as mentioned elsewhere)

oliveregger commented 5 months ago

@robeastwood-agency the issue with not fnding the default types was due to missing alias in the imports. cda2fhir and fhir2cda are now working back again if you get the latest update from the branch

i will need to work on the medication maps.

oliveregger commented 5 months ago

it will need a new release of matchbox, in dev mode the emed structure definitions can currently not be loaded, but with the next release we will have the item issue away and can do proper cda to fhir and back conversion again

robeastwood-agency commented 5 months ago

PR submitted with a couple more changes to the CDA to FHIR suite of http files; see #58

And I have summarised my findings of these files as there are some remaining errors that I cannot figure out how to resolve.