John Moehrke Test ValueSets Example
0.1.0 - ci-build
John Moehrke Test ValueSets Example, published by John Moehrke (Moehrke Research LLC). This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/JohnMoehrke/test-valuesets/ and changes regularly. See the Directory of published versions
| Official URL: http://johnmoehrke.github.io/test-valuesets/ImplementationGuide/johnmoehrke.test-valuesets.example | Version: 0.1.0 | |||
| Draft as of 2026-01-30 | Computable Name: JohnMoehrkeTestValueSetsExample | |||
Shows how a ValueSet resource can be used to hold historic codes. Experimenting with inclusion of inactive codes.
First there is a Code System with active, inactive, retired, and inactive+retired codes.
Then there are a set of ValueSets that includes all codes from that Code System.
Note that these three properly include active or not properly.
Second there is exploration of the SAMHSA ValueSets from VSAC, specifically valueSets that are marked as not maintained, and how they include inactive codes that are needed for historic data.
active SAMHSAinactive SAMHSANote that all three of these are the same. So the ValueSets that are being included clearly don't indicate the active/inactive status of the codes.
Unfortunately the vsac codes are still made available to an IG by use of the vsac package.
Should not need to use the vsac package to get these ValueSets, but currently that is the only way.
This IG is founded on HL7 FHIR Revision 4.0.1 found at http://hl7.org/fhir/R4/
The source code for this Implementation Guide can be found on GitHub
This is an R4 IG. None of the features it uses are changed in R4B, so it can be used as is with R4B systems. Packages for both R4 (johnmoehrke.test-valuesets.example.r4) and R4B (johnmoehrke.test-valuesets.example.r4b) are available.
| IG | Package | FHIR | Comment |
|---|---|---|---|
| johnmoehrke.test-valuesets.example#0.1.0 | R4 | ||
| hl7.terminology.r4#7.0.1 | R4 | Automatically added as a dependency - all IGs depend on HL7 Terminology | |
| hl7.fhir.uv.extensions.r4#5.2.0 | R4 | ||
| us.nlm.vsac#0.19.0 | R4 | ||
| hl7.fhir.uv.tools.r4#0.9.0 | R4 | for example references |
Package hl7.fhir.uv.extensions.r4#5.2.0 This IG defines the global extensions - the ones defined for everyone. These extensions are always in scope wherever FHIR is being used (built Mon, Feb 10, 2025 21:45+1100+11:00) |
Package hl7.fhir.uv.tools.r4#0.9.0 This IG defines the extensions that the tools use internally. Some of these extensions are content that are being evaluated for elevation into the main spec, and others are tooling concerns (built Tue, Dec 16, 2025 23:18+1100+11:00) |
There are no Global profiles defined
No use of external IP (other than from the FHIR specification)