FHIR Chat · Value is not in the value set · implementers

Stream: implementers

Topic: Value is not in the value set


view this post on Zulip Igor (Jan 05 2022 at 11:57):

Hi!
I getting this outcome error:
The value provided ('generated') is not in the value set http://hl7.org/fhir/ValueSet/narrative-status|4.6.0 (http://hl7.org/fhir/ValueSet/narrative-status), and a code is required from this value set) (error message = Validation failed)
But the narrative-status ValueSet has the "generated" status. Could you please explain to me why I am getting this error?
Thanks!

view this post on Zulip Notification Bot (Jan 05 2022 at 12:14):

Igor has marked this topic as resolved.

view this post on Zulip Notification Bot (Jan 05 2022 at 12:15):

Igor has marked this topic as unresolved.

view this post on Zulip Daniel Venton (Jan 05 2022 at 13:29):

Are you getting another error about not being about being able to retrieve the value set?

view this post on Zulip Igor (Jan 05 2022 at 14:21):

I am getting error for all value sets:
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "processing", "diagnostics": "The value provided ('generated') is not in the value set http://hl7.org/fhir/ValueSet/narrative-status|4.6.0 (http://hl7.org/fhir/ValueSet/narrative-status), and a code is required from this value set) (error message = Validation failed)", "location": [ "Parameters.parameter[0].resource.ofType(Patient).text.status", "Line 1, Col 291" ] }, { "severity": "error", "code": "processing", "diagnostics": "The Coding provided (urn:oid:2.16.840.1.113883.6.238#2106-3) is not in the value set http://hl7.org/fhir/us/core/ValueSet/omb-race-category, and a code is required from this value set. (error message = Validation failed)", "location": [ "Parameters.parameter[0].resource.ofType(Patient).extension[2].extension[0].value.ofType(Coding)", "Line 1, Col 770" ] }, { "severity": "error", "code": "processing", "diagnostics": "The value provided ('M') is not in the value set http://hl7.org/fhir/us/core/ValueSet/birthsex (http://hl7.org/fhir/us/core/ValueSet/birthsex), and a code is required from this value set) (error message = Validation failed)", "location": [ "Parameters.parameter[0].resource.ofType(Patient).extension[5].value.ofType(code)", "Line 1, Col 1640" ] } ] }

view this post on Zulip Lloyd McKenzie (Jan 05 2022 at 19:19):

When you look at the console log, is it showing issues connecting to the terminology server? (Even if it is, it shouldn't be raising errors like this. If a terminology isn't available, the validator should be spitting out warnings, not errors... - @Grahame Grieve?)

view this post on Zulip Grahame Grieve (Jan 27 2022 at 04:55):

Something is wrong... how to reproduce?


Last updated: Apr 12 2022 at 19:14 UTC