Skip to content

Commit

Permalink
Merge pull request #422 from NHSDigital/develop
Browse files Browse the repository at this point in the history
Dev into Main
  • Loading branch information
APageNHS authored Sep 15, 2023
2 parents b191e51 + 4642892 commit 9f8b3c3
Show file tree
Hide file tree
Showing 29 changed files with 1,178 additions and 73 deletions.
538 changes: 538 additions & 0 deletions examples/UKCore-Bundle-NEWS2Observations-Example.xml

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions examples/UKCore-Device-Sphygmomanometer-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<Device xmlns="http://hl7.org/fhir">
<id value="UKCore-Device-Sphygmomanometer-Example"/>
<identifier>
<system value="https://www.leedsth.nhs.uk/identifier/devices"/>
<value value="DEV1999998132"/>
<assigner>
<reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example"/>
</assigner>
</identifier>
<status value="active"/>
<type>
<coding>
<system value="http://snomed.info/sct"/>
<code value="466086009"/>
<display value="Automatic-inflation electronic sphygmomanometer, portable, arm/wrist" />
</coding>
</type>
<owner>
<reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example"/>
</owner>
<location>
<reference value="Location/UKCore-Location-CardiologySJUH-Example"/>
</location>
</Device>
21 changes: 21 additions & 0 deletions examples/UKCore-Extension-CuffSize-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<Device xmlns="http://hl7.org/fhir">
<id value="UKCore-Extension-CuffSize-Example"/>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CuffSize">
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="990191000000101"/>
<display value="Large adult size blood pressure cuff"/>
</coding>
</valueCodeableConcept>
</extension>
<status value="active"/>
<type>
<coding>
<system value="http://snomed.info/sct"/>
<code value="39690000"/>
<display value="Sphygmomanometer" />
</coding>
</type>
</Device>
77 changes: 77 additions & 0 deletions examples/UKCore-Extension-RecordingSetting-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation>
<id value="UKCore-Extension-RecordingSetting-Example" />
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-RcordingSetting">
<valueCode value="residental"/>
</extension>
<status value="final"/>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
<code value="vital-signs"/>
<display value="Vital Signs"/>
</coding>
</category>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="75367002"/>
<display value="Blood pressure"/>
</coding>
<coding>
<system value="http://loinc.org" />
<code value="85354-9" />
<display value="Blood pressure panel with all children optional" />
</coding>
<text value="Blood pressure"/>
</code>
<subject>
<reference value="Patient/UKCore-Patient-RichardSmith-Example"/>
</subject>
<effectiveDateTime value="2023-09-10"/>
<performer>
<reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example"/>
</performer>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="72313002"/>
<display value="Systolic arterial pressure"/>
</coding>
<coding>
<system value="http://loinc.org" />
<code value="8480-6" />
<display value="Systolic blood pressure" />
</coding>
<text value="Systolic blood pressure"/>
</code>
<valueQuantity>
<value value="108"/>
<unit value="millimeter of mercury"/>
<system value="http://unitsofmeasure.org"/>
<code value="mm[Hg]"/>
</valueQuantity>
</component>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="1091811000000102"/>
<display value="Diastolic arterial pressure"/>
</coding>
<coding>
<system value="http://loinc.org" />
<code value="8462-4" />
<display value="Diastolic blood pressure" />
</coding>
<text value="Diastolic blood pressure"/>
</code>
<valueQuantity>
<value value="82"/>
<unit value="millimeter of mercury"/>
<system value="http://unitsofmeasure.org"/>
<code value="mm[Hg]"/>
</valueQuantity>
</component>
</Observation>
58 changes: 58 additions & 0 deletions examples/UKCore-Observation-24HourBloodPressure-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation>
<id value="UKCore-Observation-24HourBloodPressure-Example" />
<status value="final"/>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
<code value="vital-signs"/>
<display value="Vital Signs"/>
</coding>
</category>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="314463006"/>
<display value="24 hour blood pressure"/>
</coding>
</code>
<subject>
<reference value="Patient/UKCore-Patient-RichardSmith-Example"/>
</subject>
<effectiveDateTime value="2023-03-10"/>
<performer>
<reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example"/>
</performer>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="314464000"/>
<display value="24 hour systolic blood pressure"/>
</coding>
<text value="Systolic blood pressure"/>
</code>
<valueQuantity>
<value value="102"/>
<unit value="millimeter of mercury"/>
<system value="http://unitsofmeasure.org"/>
<code value="mm[Hg]"/>
</valueQuantity>
</component>
<component>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="314465004"/>
<display value="24 hour diastolic blood pressure"/>
</coding>
<text value="Diastolic blood pressure"/>
</code>
<valueQuantity>
<value value="84"/>
<unit value="millimeter of mercury"/>
<system value="http://unitsofmeasure.org"/>
<code value="mm[Hg]"/>
</valueQuantity>
</component>
</Observation>
26 changes: 26 additions & 0 deletions examples/UKCore-Observation-BreathingNormally-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation>
<id value="UKCore-Observation-BreathingNormally-Example" />
<status value="final" />
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category" />
<code value="exam" />
<display value="Exam" />
</coding>
</category>
<code>
<coding>
<system value="http://snomed.info/sct" />
<code value="722742002" />
<display value="Breathing room air" />
</coding>
</code>
<subject>
<reference value="Patient/UKCore-Patient-RichardSmith-Example"/>
</subject>
<effectiveDateTime value="2023-08-10"/>
<performer>
<reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
</performer>
</Observation>
32 changes: 32 additions & 0 deletions examples/UKCore-Observation-FastingTest-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation>
<id value="UKCore-Observation-FastingTest-Example" />
<status value="final" />
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category" />
<code value="exam" />
<display value="Exam" />
</coding>
</category>
<code>
<coding>
<system value="http://snomed.info/sct" />
<code value="997681000000108" />
<display value="Fasting blood glucose level" />
</coding>
</code>
<subject>
<reference value="Patient/UKCore-Patient-RichardSmith-Example"/>
</subject>
<effectiveDateTime value="2023-08-10"/>
<performer>
<reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
</performer>
<valueQuantity>
<value value="3.9"/>
<code value="mmol/L"/>
<system value="http://unitsofmeasure.org"/>
<unit value="millimoles per litre"/>
</valueQuantity>
</Observation>
32 changes: 32 additions & 0 deletions examples/UKCore-Observation-HeavyDrinker-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation>
<id value="UKCore-Observation-HeavyDrinker-Example" />
<status value="final" />
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category" />
<code value="social-history" />
<display value="Social History" />
</coding>
</category>
<code>
<coding>
<system value="http://snomed.info/sct" />
<code value="1082631000000102" />
<display value="Alcohol units consumed per day" />
</coding>
</code>
<subject>
<reference value="Patient/UKCore-Patient-RichardSmith-Example"/>
</subject>
<effectiveDateTime value="2023-08-10"/>
<performer>
<reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
</performer>
<valueQuantity>
<value value="20"/>
<code value="/d"/>
<system value="http://unitsofmeasure.org"/>
<unit value="per day"/>
</valueQuantity>
</Observation>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Observation xmlns="http://hl7.org/fhir">
<id value="UKCore-Observation-VitalSigns-NPEWSTotal-Example"/>
<id value="UKCore-Observation-NPEWSTotal-Example"/>
<status value="final"/>
<category>
<coding>
Expand Down
32 changes: 32 additions & 0 deletions examples/UKCore-Observation-OxygenTherapy-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation>
<id value="UKCore-Observation-OxygenTherapy-Example" />
<status value="final" />
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category" />
<code value="therapy" />
<display value="Therapy" />
</coding>
</category>
<code>
<coding>
<system value="http://snomed.info/sct" />
<code value="371825009" />
<display value="Patient on oxygen" />
</coding>
</code>
<subject>
<reference value="Patient/UKCore-Patient-RichardSmith-Example"/>
</subject>
<performer>
<reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
</performer>
<effectiveDateTime value="2023-08-10"/>
<valueQuantity>
<value value="2" />
<unit value="litre per minute" />
<system value="http://unitsofmeasure.org" />
<code value="l/min" />
</valueQuantity>
</Observation>
32 changes: 32 additions & 0 deletions examples/UKCore-Observation-PipeSmoker-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation>
<id value="UKCore-Observation-PipeSmoker-Example" />
<status value="final" />
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category" />
<code value="social-history" />
<display value="Social History" />
</coding>
</category>
<code>
<coding>
<system value="http://snomed.info/sct" />
<code value="230058003" />
<display value="Pipe tobacco consumption" />
</coding>
</code>
<subject>
<reference value="Patient/UKCore-Patient-RichardSmith-Example"/>
</subject>
<effectiveDateTime value="2023-08-10"/>
<performer>
<reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" />
</performer>
<valueQuantity>
<value value="5"/>
<code value="/d"/>
<system value="http://unitsofmeasure.org"/>
<unit value="per day"/>
</valueQuantity>
</Observation>
37 changes: 37 additions & 0 deletions examples/UKCore-Observation-VitalSigns-BMI-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<Observation xmlns="http://hl7.org/fhir">
<id value="UKCore-Observation-VitalSigns-BMI-Example"/>
<status value="final"/>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
<code value="vital-signs"/>
<display value="Vital Signs"/>
</coding>
<text value="Vital Signs"/>
</category>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="60621009"/>
<display value="Body mass index"/>
</coding>
<coding>
<system value="http://loinc.org" />
<code value="39156-5" />
<display value="Body mass index (BMI) [Ratio]" />
</coding>
</code>
<subject>
<reference value="Patient/UKCore-Patient-RichardSmith-Example"/>
</subject>
<effectiveDateTime value="2023-08-10"/>
<performer>
<reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example"/>
</performer>
<valueQuantity>
<value value="46"/>
<unit value="kilogram / (meter ^ 2)"/>
<system value="http://unitsofmeasure.org"/>
<code value="kg/m2"/>
</valueQuantity>
</Observation>
Loading

0 comments on commit 9f8b3c3

Please sign in to comment.