Skip to content

Commit

Permalink
Merge pull request #24 from IHE/moehrke-inactive
Browse files Browse the repository at this point in the history
change codeSystem to use inactive as well as deprecated
  • Loading branch information
JohnMoehrke authored Feb 8, 2024
2 parents 251a4c7 + a3e5ee4 commit efebd9d
Show file tree
Hide file tree
Showing 10 changed files with 660 additions and 96 deletions.
3 changes: 3 additions & 0 deletions _updatePublisher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,16 @@ if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].*$ ]]; then

curl -L $gencont_sh_url -o /tmp/_gencontinuous.new
cp /tmp/_gencontinuous.new _gencontinuous.sh
chmod +x _gencontinuous.sh
rm /tmp/_gencontinuous.new

curl -L $gen_sh_url -o /tmp/_genonce.new
cp /tmp/_genonce.new _genonce.sh
chmod +x _genonce.sh
rm /tmp/_genonce.new

curl -L $update_sh_url -o /tmp/_updatePublisher.new
cp /tmp/_updatePublisher.new _updatePublisher.sh
chmod +x _updatePublisher.sh
rm /tmp/_updatePublisher.new
fi
20 changes: 2 additions & 18 deletions input/ignoreWarnings.txt
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
== Suppressed Messages ==

# The valueset import the XDS-I FormatCode from dicom the SOP id for KOS. But I get a warning from the IG build tool because DICOM does not have this code in their DCM, eventhough XDS-I indicates this is in that code system.
The code 1.2.840.10008.5.1.4.1.1.88.59 is not valid in the system http://dicom.nema.org/resources/ontology/DCM

# the Implementation Guide is expected
Validate resource against profile http://hl7.org/fhir/StructureDefinition/ImplementationGuide

# There is provenance use for history
Validate resource against profile http://hl7.org/fhir/StructureDefinition/Bundle
Validate resource against profile http://hl7.org/fhir/StructureDefinition/Provenance

# There is a code system
Validate resource against profile http://hl7.org/fhir/StructureDefinition/CodeSystem

# There is a valueset
Validate resource against profile http://hl7.org/fhir/StructureDefinition/ValueSet

# New html fragment pages that don't add value because FormatCode IG is just vocabulary
WARNING: 1: The HTML fragment 'ip-statements.xhtml' is not included anywhere in the produced implementation guide
WARNING: 4: The HTML fragment 'globals-table.xhtml' is not included anywhere in the produced implementation guide
WARNING: ValueSet/formatcode: ValueSet.compose.include[2].concept[0]: The code '1.2.840.10008.5.1.4.1.1.88.59' is not valid in the system http://dicom.nema.org/resources/ontology/DCM
INFORMATION: ValueSet/formatcode: ValueSet.compose.include[2].concept[0]: Unknown code '1.2.840.10008.5.1.4.1.1.88.59' in the CodeSystem 'http://dicom.nema.org/resources/ontology/DCM' version '01'
4 changes: 2 additions & 2 deletions input/implementationguide-IHE.FormatCode.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ ImplementationGuide for IHE Format Code vocabulary.
</div>
</text>
<extension url="http://hl7.org/fhir/StructureDefinition/resource-approvalDate">
<valueDate value="2022-03-01"/>
<valueDate value="2024-02-08"/>
</extension>
<url value="https://profiles.ihe.net/fhir/ihe.formatcode.fhir/ImplementationGuide/ihe.formatcode.fhir" />
<version value="1.1.1-current" />
<version value="1.1.1" />
<name value="IHE_FORMATCODE" />
<title value="IHE FormatCode Vocabulary" />
<status value="active" />
Expand Down
7 changes: 7 additions & 0 deletions input/pagecontent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@ The main sections of this IG are:

{% include dependency-table.xhtml %}

#### IP Statements

{% include ip-statements.xhtml %}

#### Globals

{% include globals-table.xhtml %}
53 changes: 52 additions & 1 deletion input/resources/Bundle-history-IHE-formatcode.codesystem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,58 @@
<type value="collection"/>
<!-- includes Provenance record for each revision of the IHE FormatCodes -->
<entry xmlns="http://hl7.org/fhir">
<fullUrl value="https://profiles.ihe.net/fhir/ihe.formatcode.fhir/Provenance/20220814"/>
<fullUrl value="urn:oid:1.3.6.1.4.1.19376.1.2.3.1.20240205.1"/>
<resource>
<Provenance>
<id value="formatcode-provenance-20240205"/>
<target>
<reference value="http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode"/>
<type value="CodeSystem"/>
</target>
<occurredPeriod>
<end value="2024-02-05"/>
</occurredPeriod>
<recorded value="2024-02-05T13:00:00.0000Z"/>
<reason>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
<code value="METAMGT"/>
</coding>
<text value="Change the non-deprecated to status of active."/>
</reason>
<activity>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation"/>
<code value="UPDATE"/>
</coding>
</activity>
<agent>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
<code value="author"/>
</coding>
</type>
<who>
<display value="John Moehrke"/>
</who>
</agent>
<agent>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
<code value="custodian"/>
</coding>
</type>
<who>
<display value="IHE ITI Domain"/>
</who>
</agent>
</Provenance>
</resource>
</entry>
<entry xmlns="http://hl7.org/fhir">
<fullUrl value="urn:oid:1.3.6.1.4.1.19376.1.2.3.1.20220814.1"/>
<resource>
<Provenance>
<id value="formatcode-provenance-20220814"/>
Expand Down
55 changes: 53 additions & 2 deletions input/resources/Bundle-history-IHE-formatcode.valueset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,58 @@
<type value="collection"/>
<!-- includes Provenance record for each revision of the IHE FormatCode ValueSet-->
<entry xmlns="http://hl7.org/fhir">
<fullUrl value="https://profiles.ihe.net/fhir/ihe.formatcode.fhir/Provenance/20220815"/>
<fullUrl value="urn:oid:1.3.6.1.4.1.19376.1.2.3.1.20240205.1"/>
<resource>
<Provenance>
<id value="formatcode-provenance-20240205"/>
<target>
<reference value="http://ihe.net/fhir/ihe.formatcode.fhir/ValueSet/formatcode"/>
<type value="ValueSet"/>
</target>
<occurredPeriod>
<end value="2024-02-05"/>
</occurredPeriod>
<recorded value="2024-02-05T13:00:00.0000Z"/>
<reason>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
<code value="METAMGT"/>
</coding>
<text value="Change the include to only pull in active."/>
</reason>
<activity>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-DataOperation"/>
<code value="UPDATE"/>
</coding>
</activity>
<agent>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
<code value="author"/>
</coding>
</type>
<who>
<display value="John Moehrke"/>
</who>
</agent>
<agent>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/provenance-participant-type"/>
<code value="custodian"/>
</coding>
</type>
<who>
<display value="IHE ITI Domain"/>
</who>
</agent>
</Provenance>
</resource>
</entry>
<entry xmlns="http://hl7.org/fhir">
<fullUrl value="urn:oid:1.3.6.1.4.1.19376.1.2.3.2.20220815"/>
<resource>
<Provenance>
<id value="formatcode-provenance-20220815"/>
Expand Down Expand Up @@ -56,7 +107,7 @@
</resource>
</entry>
<entry xmlns="http://hl7.org/fhir">
<fullUrl value="https://profiles.ihe.net/fhir/ihe.formatcode.fhir/Provenance/20201028"/>
<fullUrl value="urn:oid:1.3.6.1.4.1.19376.1.2.3.2.20201028"/>
<resource>
<Provenance>
<id value="formatcode-provenance-20201028"/>
Expand Down
Loading

0 comments on commit efebd9d

Please sign in to comment.