Stream: IG creation
Topic: IGPub Warning: jurisdiction codes
Chris Moesel (Mar 25 2018 at 23:48):
The IG publisher seems to be emitting an invalid warning when we set a StructureDefinition's jurisdiction to the US. For example, we use this jursidiction (actually inherited from a US Core profile):
"jurisdiction": [ { "coding": [ { "system": "urn:iso:std:iso:3166", "code": "US", "display": "United States of America" } ] } ],
This causes the following warning:
Path: StructureDefinition/cimi-statement-ConditionPresenceStatement: StructureDefinition.jurisdiction
Severity: warning
Message: None of the codes provided are in the value set http://hl7.org/fhir/ValueSet/jurisdiction (http://hl7.org/fhir/ValueSet/jurisdiction, and a code should come from this value set unless it has no suitable code) (codes = urn:iso:std:iso:3166#US)
If you look at http://hl7.org/fhir/ValueSet/jurisdiction, however, urn:iso:std:iso:3166#US
is listed as a valid code. The only difference I see is that the VS indicates the display
is "United States of America (the)"
, while our structure definition has the display as "United States of America"
. I wouldn't expect the display
value to be considered when checking inclusion in a value set, but is it?
Grahame Grieve (Mar 26 2018 at 00:33):
this one is because the usps-state value set definition is a problem
Grahame Grieve (Mar 26 2018 at 02:56):
ok committed a fix for this - I think it will work
Chris Moesel (Mar 27 2018 at 02:03):
Unless the auto-builder hadn't picked it up yet as of 6pm EDT today, I don't think it worked:
http://build.fhir.org/ig/HL7/us-breastcancer/qa.html#_scratch_ig-build-temp-B1IIYU_repo_resources_structuredefinition-cimi-statement-ConditionPresenceStatement
Eric Haas (Mar 27 2018 at 15:09):
what is wrong with the usps vs = do I need to fix it?
Chris Moesel (Mar 27 2018 at 20:40):
FYI -- last night I reported this was not fixed, but today I can report that it is fixed in the latest builds.
Last updated: Apr 12 2022 at 19:14 UTC