Stream: IG creation
Topic: Error handling sdf-5
Alexander Henket (Feb 18 2020 at 12:17):
I see this error a lot:
StructureDefinition/zib-FamilySituation-LivingAtHomeIndicator: StructureDefinition error sdf-5: If the structure defines an extension then the structure must have context information [(type != 'Extension') or (derivation = 'specialization') or (context.exists() and contextType.exists())]
I haven't checked them all but for example for at least this error the profile really does contain what's asked:
<contextType value="resource" /> <context value="Observation.component" /> <type value="Extension" /> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Extension" /> <derivation value="constraint" />
what am I missing? Could it be that this is due to R5 conversion where f:contextType does not exist anymore?
zib-FamilySituation-LivingAtHomeIndicator.xml
Grahame Grieve (Feb 18 2020 at 19:57):
so I just ran the IG you sent before that includes this resource, and didn't get that error message in the qa. (which is where it would appear). So I assume that, yes, it's due to the conversion, and that @Mark Iantorno's latest commits have fixed this.
Grahame Grieve (Feb 18 2020 at 19:57):
so let me know if it's not fixed in the next release
Mark Iantorno (Feb 18 2020 at 19:58):
Yeah, let me know if there are issues once you run it against the latest. I can look into it
Alexander Henket (Feb 19 2020 at 09:21):
Nice... all is well now
Last updated: Apr 12 2022 at 19:14 UTC