project-husky / husky

Health Usability Key
https://project-husky.github.io/husky/
Eclipse Public License 1.0
17 stars 8 forks source link

CH-EMED-EPR: support serialization without meta.profile #175

Open qligier opened 2 months ago

qligier commented 2 months ago

In production mode, the ChEmedEprParser should allow removing the meta.profile from the produced JSON/XML, as per FHIR recommendation.

The parser can be configured with setDontEncodeElements:

parser.setDontEncodeElements(Sets.newHashSet("*.meta.profile"));
qligier commented 2 months ago

Issue with dontEncodeElements reported to HAPI: https://github.com/hapifhir/hapi-fhir/issues/6304