Skip to content

Commit

Permalink
Example and tweaked code
Browse files Browse the repository at this point in the history
  • Loading branch information
APageNHS committed Oct 20, 2023
1 parent 90a1de4 commit 5f44d31
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
4 changes: 2 additions & 2 deletions codesystems/CodeSystem-UKCore-DateTimeType.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
<definition value="The date/time that the first response arrived at the incident location that counts as the arrival time based on the National Ambulance Quality Indicator definitions"/>
</concept>
<concept>
<code value="last-change-date"/>
<display value="Last Change Date"/>
<code value="last-change-date-time"/>
<display value="Last Change Date Time"/>
<definition value="The date/time that the data was last changed"/>
</concept>
</CodeSystem>
23 changes: 23 additions & 0 deletions examples/UKCore-Extension-TypedDateTime-Example.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<Organization xmlns="http://hl7.org/fhir">
<id value="UKCore-Organization-LeedsTeachingHospital-Example"/>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-TypedDateTime">
<extension url="dateTimeType">
<valueCodeableConcept>
<coding>
<system value=" https://fhir.hl7.org.uk/CodeSystem/UKCore-DateTimeType"/>
<code value="last-change-date-time"/>
<display value="Last Change Date Time"/>
</coding>
</valueCodeableConcept>
</extension>
<extension url="dateTime">
<valueDateTime value="2023-10-20T11:41:20.265+00:00"/>
</extension>
</extension>
<identifier>
<use value="official"/>
<system value="https://fhir.nhs.uk/Id/ods-organization-code"/>
<value value="RR8"/>
</identifier>
<name value="LEEDS TEACHING HOSPITALS NHS TRUST"/>
</Organization>
4 changes: 2 additions & 2 deletions valuesets/ValueSet-UKCore-DateTimeType.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
</contains>
<contains>
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-DateTimeType"/>
<code value="last-change-date"/>
<display value="Last Change Date"/>
<code value="last-change-date-time"/>
<display value="Last Change Date Time"/>
</contains>
</expansion>
</ValueSet>

0 comments on commit 5f44d31

Please sign in to comment.