Stream: shorthand
Topic: Setting the version element in a profile
Arvid Thunholm (Mar 10 2021 at 15:01):
I´m trying to edit the version element in the structure definition for a profile using *^version = "0.1". When published via IG publisher however, it doesn't register. It still says version 0.0.1 which is the version of the IG. Also when I look at the json version of the profile it says 0.0.1.
https://build.fhir.org/ig/HL7Sweden/basprofiler-r4/StructureDefinition-SEBasePatient.html
Seems like I'm missing something basic.
Nick Freiter (Mar 10 2021 at 16:38):
The IG Publisher by default will overwrite the version
field on profiles with the value specified in the ImplementationGuide.json
file. To avoid this behavior, you can set the apply-version
parameter to false
in that same ImplementationGuide.json
file. Here is the documentation on that. To accomplish this in SUSHI, you can add the following to your sushi-config.yaml
file:
parameters:
apply-version: false
and this should make it so that the version of the IG is not applied to all profiles.
Arvid Thunholm (Mar 12 2021 at 08:32):
Thank you
Last updated: Apr 12 2022 at 19:14 UTC