FHIR Chat · more qa errors for contained patients · IG creation

Stream: IG creation

Topic: more qa errors for contained patients


view this post on Zulip Eric Haas (Feb 16 2019 at 00:13):

Athough I have not explicitly declared a profile for a contained patient it is validated against US-Core

In my STU3 IG I get this error:

QuestionnaireResponse/questionnaireresponse-example-sampler-contained-patient: QuestionnaireResponse.subject.contained  error   Profile http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient, Element 'QuestionnaireResponse.subject.contained.identifier': minimum required = 1, but only found 0

Nor do I declare a global in ig.xml. I only list US Core as a dependency in ig.json. What is the expected default behavior because I did not expect this.

view this post on Zulip Lloyd McKenzie (Feb 16 2019 at 00:50):

Did us-core declare a global?

view this post on Zulip Lloyd McKenzie (Feb 16 2019 at 00:51):

Submitting a change request around inherited globals - especially if importing multiples or trying to override sounds like a good idea.

view this post on Zulip Eric Haas (Feb 16 2019 at 02:15):

I checked and I don't have global in my i IG resource. I did not even think that was implemented

view this post on Zulip Eric Haas (Feb 16 2019 at 02:16):

This is for Argo Questionnaire which has a US-Core Dependency.

view this post on Zulip Lloyd McKenzie (Feb 16 2019 at 04:43):

My question wasn't about your IG - the question was whether there are globals in US Core that you might be inadvertently inheriting

view this post on Zulip Eric Haas (Feb 16 2019 at 04:48):

I did not define globals there either. Would a global declaration in one IG be applied to another?

view this post on Zulip Lloyd McKenzie (Feb 16 2019 at 05:15):

That's what I think we need a change request to better define.

view this post on Zulip Grahame Grieve (Feb 17 2019 at 14:07):

if an IG depends on another, then it acquires the globals. But I don't see that this is the case since US-Core doesn't define globals. Nor does the validator enforce globals (yet), so far as I know


Last updated: Apr 12 2022 at 19:14 UTC