Stream: IG creation
Topic: build STU3 IG
Cees de Jonge (Nov 11 2019 at 16:09):
Next to our R4 IG's we are (still) building our STU3 IG's.
We have some trouble separating the STU3 from R4. Sooner or later in our STU3 IG's we hit R4 references (references without version information). We have some problems with the "baseDefinition" element in our profiles if they reference base-profiles (http://hl7.org/fhir).
We provide our derived profiles as differentials only. We notice in creation the snapshots the proper FHIR version is used (STU3) and also the "fhirVersion" element in the snapshot is adjusted to "3.0.2" (we specified 3.0.1), but the "baseDefinition" element stays untouched, which ends up in the IG's as a reference to R4 resources.
Is there a way out or do I overlook something (I'm pretty new to this subject)
Grahame Grieve (Nov 11 2019 at 19:28):
well, this ends up being tricky. the baseDefinition is a reference to a canonical URL and if you say that this is a R3 resource, the space of resolution is magically understood to be the R3 space, and the baseDefinition still refers to the R3 base
Cees de Jonge (Nov 12 2019 at 08:11):
Indeed the documentation pages we create for our resources indeed contains R3 content.
Only our line "This profile is based on ..." brings us to R4 content. Not if this point to our own profile, because they have fhir-version information in the canonicalURL.
I can of course create a little post-processing script to replace 'http://hl7.org/fhir' with 'http://hl7.org/fhir/stu3'.
I wonder if there is a better way to do this. Should this be done in the template we use?
Had a look at the template but was not able to find a hook, but then again I do not know Jekyll well enough.
Grahame Grieve (Nov 12 2019 at 08:33):
no you don't need to do post-processing. If the references are to hl7.org/fhir there's something wrong. can I try building this IG?
Last updated: Apr 12 2022 at 19:14 UTC