Stream: implementers
Topic: Patient.communication.language
Mike Henderson (Jan 08 2019 at 17:28):
I'm validating resource instances using the Java command-line validator, and have so far been unable to resolve this error:
Error @ Patient.communication.language : None of the codes provided are in the maximum value set http://hl7.org/fhir/us/core/ValueSet/simple-language (http://hl7.org/fhir/us/core/ValueSet/simple-language, and a code from this value set is required) (codes = http://hl7.org/fhir/ValueSet/languages#en)
This is an example of the element that's raising the error:
... "communication":[ { "language":{ "coding":[ { "code":"en", "display":"English", "system":"http://hl7.org/fhir/ValueSet/languages" } ], "text":"English" }, "preferred":true } ], ...
This also happens with patient instances from Grahame's server. Is this a known issue? Any ideas about how to resolve it?
Igor Sirkovich (Jan 08 2019 at 17:43):
I suspect the issue might be with using a ValueSet URI in the "system" element, which should never be done, though this specific error might be caused by a different issue. You can try "system":"urn:ietf:bcp:47" instead and see if this works.
Lloyd McKenzie (Jan 08 2019 at 17:54):
Right. "system" should never contain a value set.
Last updated: Apr 12 2022 at 19:14 UTC