-
Notifications
You must be signed in to change notification settings - Fork 161
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
Suppress choice group element 'item' from being generated in CDA instances #1583
Comments
oliveregger
added a commit
to ahdis/org.hl7.fhir.core
that referenced
this issue
Mar 27, 2024
oliveregger
added a commit
to ahdis/fhir-test-cases
that referenced
this issue
Jul 8, 2024
oliveregger
added a commit
to ahdis/org.hl7.fhir.core
that referenced
this issue
Jul 8, 2024
oliveregger
added a commit
to ahdis/org.hl7.fhir.core
that referenced
this issue
Jul 8, 2024
grahamegrieve
added a commit
that referenced
this issue
Jul 9, 2024
#1583 do not serialize choice group
markiantorno
added a commit
that referenced
this issue
Jul 12, 2024
## Validator Changes * Add clearer message for errors around unable to validate because unknown code system * Fix problem with fhirVersion cardinality validating IG resources ## WHO I18n Project * Remove Questionnaire.item.linkId from translatable content ## Other code changes * Further revisions to rendering framework for id uniqueness, main spec rendering, and various reported issues * Improve doco for R4/R4B renderers * Introduce backwards compatible constructor in ValidationEngineBuilder and fix useEcosystem * Use v2 of PublishCodeCoverageResults (#1665) * #1583 do not serialize choice group + add testcase ***NO_CI***
I can confirm this as fixed with the latest release v6.3.16 Thank you @oliveregger , @grahamegrieve and @markiantorno |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The CDA Logical Model IG, v2.0.0-sd-snapshot1 introduced a choice group to a number of CDA datatypes, like AD and PN. See commit here.
This
item
element has an extension http://hl7.org/fhir/tools/StructureDefinition/xml-choice-group with its value set to true (see this for AD). And the definition of the extension states thatHowever, when generating a CDA instance via either the FHIR validator (using
-transform
of a FHIR Bundle against a StructureMap, with a target of the above CDA logical model) or being processed by the FHIR IG Publisher, in an IG derived from the CDA logical model, theitem
element appears in the generated CDA instance. This results in the instance failing schema validation. For example, an address appears as such:This was raised in zulip https://chat.fhir.org/#narrow/stream/246127-CDA-IG-Publisher/topic/CDA.20Logical.20Model.20-.20Choice.20Group.20.60item.60.20is.20not.20suppressed
With @grahamegrieve responding
Thank you
The text was updated successfully, but these errors were encountered: