FHIR Chat · IG Validator error when system is missing · IG creation

Stream: IG creation

Topic: IG Validator error when system is missing


view this post on Zulip Eric Haas (Apr 08 2019 at 02:52):

since some of my examples don't contain a code system, the validate-code operation fails, since the binding is required, I don't really need a code system. nor is it required in the profile.

AllergyIntolerance/example: AllergyIntolerance.clinicalStatus   error   None of the codes provided are in the value set http://hl7.org/fhir/ValueSet/allergyintolerance-clinical (http://hl7.org/fhir/ValueSet/allergyintolerance-clinical, and a code from this value set is required) (codes = null#active) (see Tx log)
AllergyIntolerance/example: AllergyIntolerance.verificationStatus   error   None of the codes provided are in the value set http://hl7.org/fhir/ValueSet/allergyintolerance-verification (http://hl7.org/fhir/ValueSet/allergyintolerance-verification, and a code from this value set is required) (codes = null#confirmed) (see Tx log)

I think the validator should be using the required binding when the a) binding is required and b) no code system is provided in the coding.
I also think that PC did something making these elements codeable but that is a separate issue.

view this post on Zulip Lloyd McKenzie (Apr 08 2019 at 03:35):

System can't be safely inferred. It should always be present in examples. It does not default, regardless of the binding. The only time it should be absent is if it's legacy data where the sender has no clue what the system is.

view this post on Zulip Grahame Grieve (Apr 09 2019 at 07:12):

it made no sense, what PC did to those elements, and I very much dislike it. I missed it until too late in R4 cycle to do anything about it. I will be focused on getting it fixed for R5.

view this post on Zulip Grahame Grieve (Apr 09 2019 at 07:12):

in the mean time.... you must use the system


Last updated: Apr 12 2022 at 19:14 UTC