Skip to content

Commit

Permalink
Merge pull request #554 from NHSDigital/missingValueSetsSTU2
Browse files Browse the repository at this point in the history
readd missing valuesets to STU2
  • Loading branch information
ryma2fhir authored Jul 15, 2024
2 parents 8eb3a83 + 470b7ab commit aa7cebc
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 27 deletions.
18 changes: 18 additions & 0 deletions examples/UKCore-Extension-BirthSex-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<Patient xmlns="http://hl7.org/fhir">
<id value="UKCore-Extension-BirthSex-Example" />
<text>
<status value="additional" />
<div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate the extension for a patient's birth sex</div>
</text>
<!-- **************extension start************** -->
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex">
<valueCodeableConcept>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender" />
<code value="F" />
<display value="Female" />
</coding>
</valueCodeableConcept>
</extension>
<!-- **************extension end************** -->
</Patient>
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<coding>
<system value="https://dmd.nhs.uk"/>
<code value="18677911000001109"/>
<display value="Panadol Extra Advance 500mg/65mg tablets (Haleon UK Ltd)"/>
<display value="Panadol Extra Advance 500mg/65mg tablets (Haleon UK Trading Ltd)"/>
</coding>
</code>
</Medication>
14 changes: 0 additions & 14 deletions examples/UKCore-Patient-Extension-BirthSex-Example.xml

This file was deleted.

10 changes: 7 additions & 3 deletions structuredefinitions/Extension-UKCore-BirthSex.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Extension-UKCore-BirthSex" />
<url value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-BirthSex" />
<version value="2.0.0" />
<version value="2.1.0" />
<name value="ExtensionUKCoreBirthSex" />
<title value="Extension UK Core Birth Sex" />
<status value="active" />
<date value="2023-12-12" />
<date value="2024-06-28" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
Expand Down Expand Up @@ -54,6 +54,10 @@
<type>
<code value="CodeableConcept" />
</type>
<binding>
<strength value="required" />
<valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-BirthSex" />
</binding>
</element>
</differential>
</StructureDefinition>
</StructureDefinition>
10 changes: 7 additions & 3 deletions structuredefinitions/Extension-UKCore-ConditionEpisode.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Extension-UKCore-ConditionEpisode" />
<url value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ConditionEpisode" />
<version value="3.0.0" />
<version value="3.1.0" />
<name value="ExtensionUKCoreConditionEpisode" />
<title value="Extension UK Core Condition Episode" />
<status value="active" />
<date value="2023-12-12" />
<date value="2024-06-28" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
Expand Down Expand Up @@ -53,6 +53,10 @@
<type>
<code value="CodeableConcept" />
</type>
<binding>
<strength value="extensible" />
<valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-ConditionEpisodicity" />
</binding>
</element>
</differential>
</StructureDefinition>
</StructureDefinition>
10 changes: 7 additions & 3 deletions structuredefinitions/Extension-UKCore-DeliveryChannel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Extension-UKCore-DeliveryChannel" />
<url value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeliveryChannel" />
<version value="2.0.0" />
<version value="2.1.0" />
<name value="ExtensionUKCoreDeliveryChannel" />
<title value="Extension UK Core Delivery Channel" />
<status value="active" />
<date value="2023-12-12" />
<date value="2024-06-28" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
Expand Down Expand Up @@ -57,6 +57,10 @@
<type>
<code value="CodeableConcept" />
</type>
<binding>
<strength value="extensible" />
<valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-DeliveryChannel" />
</binding>
</element>
</differential>
</StructureDefinition>
</StructureDefinition>
10 changes: 7 additions & 3 deletions structuredefinitions/Extension-UKCore-ListWarningCode.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<StructureDefinition xmlns="http://hl7.org/fhir">
<id value="Extension-UKCore-ListWarningCode" />
<url value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-ListWarningCode" />
<version value="3.0.0" />
<version value="3.1.0" />
<name value="ExtensionUKCoreListWarningCode" />
<title value="Extension UK Core List Warning Code" />
<status value="active" />
<date value="2023-12-12" />
<date value="2024-06-28" />
<publisher value="HL7 UK" />
<contact>
<name value="HL7 UK" />
Expand Down Expand Up @@ -53,6 +53,10 @@
<type>
<code value="CodeableConcept" />
</type>
<binding>
<strength value="extensible" />
<valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-ListWarningCode" />
</binding>
</element>
</differential>
</StructureDefinition>
</StructureDefinition>

0 comments on commit aa7cebc

Please sign in to comment.