Stream: conformance
Topic: Minimal set of FHIR conformance resources
Michael Lawley (Jul 19 2018 at 22:07):
Is there a simple way to get the minimal set of Resources (StructureDefinitions, CodeSystems, & ValueSets) required for validation of the core FHIR specification? By minimal I mean excluding examples and things like ValueSets etc that are only part of example bindings.
Lloyd McKenzie (Jul 19 2018 at 22:13):
We don't have any filter that excludes example/preferred binding value sets. It is possible to download a set of files that doesn't include examples.
Grahame Grieve (Jul 19 2018 at 22:25):
there is no such package right now.
Grahame Grieve (Jul 19 2018 at 22:25):
you can make a task for the build to produce it, but I may refuse if it takes too long to generate it (build length is starting to become an acute problem)
Michael Lawley (Jul 20 2018 at 01:52):
At the moment we only really need this for STU3, although R4 will be needed at some point. Any advice on what the inclusion criteria are would be great, in particular with respect to the various extensions
Grahame Grieve (Jul 20 2018 at 02:03):
well, it would be all structure definitions that are not logical models
Grahame Grieve (Jul 20 2018 at 02:03):
and all value sets referenced from bindings that are extensible or required
Grahame Grieve (Jul 20 2018 at 02:03):
and all value sets and code systems that those value sets reference
Grahame Grieve (Jul 20 2018 at 02:04):
also any questionnaires and value sets they reference
Grahame Grieve (Jul 20 2018 at 02:04):
any value sets referenced in the extensions http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet and http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet
Grahame Grieve (Jul 20 2018 at 02:05):
and http://hl7.org/fhir/StructureDefinition/questionnaire-unit-valueSet
Grahame Grieve (Jul 20 2018 at 02:05):
also all operation definitions and any value sets they referene
Grahame Grieve (Jul 20 2018 at 02:06):
if you build one, package it as an npm package with the identity hl7.fhir.core.validation with version 3.0.1
Grahame Grieve (Jul 20 2018 at 02:06):
see http://wiki.hl7.org/index.php?title=FHIR_NPM_Package_Spec
Grahame Grieve (Jul 20 2018 at 02:07):
and maybe see org.hl7.fhir.utilities.cache.PackageGenerator
Michael Lawley (Jul 20 2018 at 06:02):
Excellent, that's a really useful answer.
Michael Lawley (Jul 20 2018 at 06:06):
Are there any Questionnaires defined as part of FHIR itself?
Grahame Grieve (Jul 20 2018 at 06:31):
only test ones
Michel Rutten (Jul 20 2018 at 09:05):
FYI The FHIR .NET API is distributed with a special "specification.zip" archive that contains all core definitions required for validation. The ZIP archive is build from the resources in this folder (STU3 branch):
https://github.com/ewoutkramer/fhir-net-api/tree/develop-stu3/src/Hl7.Fhir.Specification/data
Nuget package: https://www.nuget.org/packages/Hl7.Fhir.Specification.STU3/
Last updated: Apr 12 2022 at 19:14 UTC