Stream: implementers
Topic: Downloading packages of standard ValueSets
Merlyn Albery-Speyer (Jun 30 2021 at 16:39):
Do y'all know where I can download an archive of all the ValueSets referenced by the US Core IG? (such as are available from fhir.org, or with implementation sets) See examples of ValueSets referenced: (I was expecting to find them within the IG itself or the dependsOn IGs)
{
"code": "invariant",
"details": {
"text": "could not look up ValueSet http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1"
},
"diagnostics": "in http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0",
"expression": [
"Organization.telecom.system"
],
"severity": "warning"
},
{
"code": "invariant",
"details": {
"text": "could not look up ValueSet http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1"
},
"diagnostics": "in http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0",
"expression": [
"Organization.telecom.use"
],
"severity": "warning"
},
{
"code": "invariant",
"details": {
"text": "could not look up ValueSet http://hl7.org/fhir/ValueSet/address-use|4.0.1"
},
"diagnostics": "in http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0",
"expression": [
"Organization.address.use"
],
"severity": "warning"
},
{
"code": "invariant",
"details": {
"text": "could not look up ValueSet http://hl7.org/fhir/ValueSet/address-type|4.0.1"
},
"diagnostics": "in http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization|4.0.0",
"expression": [
"Organization.address.type"
],
"severity": "warning"
},
Lloyd McKenzie (Jun 30 2021 at 18:39):
There is no such package. You'd have to download the value sets published in the IG as well as the value sets defined in the core spec (and filter to those used).
Grahame Grieve (Jun 30 2021 at 19:36):
these would be in the US core package, and the packages it depends on
Eric Haas (Jun 30 2021 at 19:52):
see US Core Downloads page for link to package file. Also note that several valuesets are taken from vsac package
Merlyn Albery-Speyer (Jun 30 2021 at 21:19):
Thanks for your pointers.
Neither the us-core package.tgz (http://hl7.org/fhir/us/core/package.tgz) nor the us-core full-ig.zip (http://hl7.org/fhir/us/core/full-ig.zip) contain the ValueSet "http://hl7.org/fhir/ValueSet/contact-point-system".
The us-core IG lists two dependencies:
[
{
"id": "hl7_fhir_uv_bulkdata",
"uri": "http://hl7.org/fhir/uv/bulkdata/ImplementationGuide/hl7.fhir.uv.bulkdata",
"packageId": "hl7.fhir.uv.bulkdata",
"version": "1.0.1"
},
{
"id": "vsac",
"uri": "http://fhir.org/packages/us.nlm.vsac/ImplementationGuide/us.nlm.vsac",
"packageId": "us.nlm.vsac",
"version": "0.3.0"
}
]
Neither of those have this ValueSet defined, and neither of them have subsequent dependencies. What am I missing? (note that I didn't find an IG for us.nlm.vsac, just a package).
Merlyn Albery-Speyer (Jun 30 2021 at 21:58):
Found it (thanks to @Paul Church ) the ValueSets are in here: http://hl7.org/fhir/definitions.json.zip (in a Bundle called valuesets.json
).
Gino Canessa (Jun 30 2021 at 23:01):
You can also pull any of the 'expansion' downloads from the directory page - e.g., hl7.fhir.r4.expansions.tgz.
Eric Haas (Jun 30 2021 at 23:08):
US Core only contains valuesets and codesystems it defines. All the other valuesets are inherited from the base standard.
Last updated: Apr 12 2022 at 19:14 UTC