Dealing with schema extensions
Within the CDA XSD some extensions have been implemented such as sdtc
.
Most recently, the CDA logical model has been moved to a separate repository (https://github.com/HL7/CDA-core-sd). With this some changes have been applied to the logical model. These changes have now been applied to the CDA2FHIR maps (see https://github.com/HL7Austria/CDA2FHIR/pull/4).
As a result, elements which belong to extensions are prefixed with the extensions alias, e.g. statusCode
has become sdtcStatusCode
.
Would it be possible to integrate that into MaLaC-HD?
A good example where such an integration probably would make sense is the POCD_MT000040.Patient
. This contains a ethnicGroupCode
as well as a sdtc:ethnicGroupCode
. How is that currently supported?