Skip to content

Commit

Permalink
Valid extension, duff data
Browse files Browse the repository at this point in the history
  • Loading branch information
APageNHS committed Oct 25, 2023
1 parent 9f2bbb7 commit 41441d0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 22 deletions.
22 changes: 12 additions & 10 deletions examples/ODS-Organization-Example.xml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
<Organization xmlns="http://hl7.org/fhir">
<id value="ODS-Organization-Example"/>
<extension url="https://fhir.nhs.uk/England/StructureDefinition/Extension-England-AbsolutelyNotAValidURL-DateTime">
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-TypedPeriod">
<extension url="AbsolutelyNotAValidSubURL">
<valueCoding>
<system value="https://fhir.nhs.uk/England/CodeSystem/England-AbsolutelyNotAValidURL-ORDDateTime"/>
<code value="AbsolutelyNotAValidCode"/>
<display value="Last Change Date"/>
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AbsolutelyNotAValidURL-PeriodType"/>
<code value="legal"/>
<display value="Legal"/>
</valueCoding>
</extension>
<extension url="dateTime">
<valueDateTime value="2020-09-24"/>
<extension url="period">
<valuePeriod>
<start value="2015-05-11T00:00:00+00:00"/>
</valuePeriod>
</extension>
</extension>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AbsolutelyNotAValidURL-TypedPeriod">
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-TypedPeriod">
<extension url="dataType">
<valueCoding>
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AbsolutelyNotAValidURL-PeriodType"/>
<code value="AbsolutelyNotAValidCode"/>
<code value="legal"/>
<display value="Legal"/>
</valueCoding>
</extension>
Expand All @@ -26,10 +28,10 @@
</valuePeriod>
</extension>
</extension>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AbsolutelyNotAValidURL-TypedPeriod">
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-TypedPeriod">
<extension url="dataType">
<valueCoding>
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-AbsolutelyNotAValidURL-PeriodType"/>
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-PeriodType"/>
<code value="AbsolutelyNotAValidCode"/>
<display value="Operational"/>
</valueCoding>
Expand Down
24 changes: 12 additions & 12 deletions valuesets/ValueSet-UKCore-MedicationRequestCategory.xml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
<ValueSet xmlns="http://hl7.org/fhir">
<id value="UKCore-MedicationRequestCategory"/>
<id value="UKCore-MedicationRequestCategory"/>
<url value="https://fhir.hl7.org.uk/ValueSet/UKCore-MedicationRequestCategory"/>
<version value="1.1.1" />
<version value="1.1.1"/>
<name value="UKCoreMedicationRequestCategory"/>
<title value="UK Core Medication Request Category"/>
<status value="active" />
<date value="2023-10-06" />
<publisher value="HL7 UK" />
<status value="active"/>
<date value="2023-10-06"/>
<publisher value="HL7 UK"/>
<contact>
<name value="HL7 UK" />
<name value="HL7 UK"/>
<telecom>
<system value="email" />
<value value="[email protected]" />
<use value="work" />
<rank value="1" />
<system value="email"/>
<value value="[email protected]"/>
<use value="work"/>
<rank value="1"/>
</telecom>
</contact>
<description value="A set of codes to define a category for a medication request."/>
<copyright value="Copyright &#169; 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html." />
<copyright value="Copyright &#169; 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7&#174; FHIR&#174; standard Copyright &#169; 2011+ HL7 The HL7&#174; FHIR&#174; standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html."/>
<compose>
<include>
<system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category"/>
Expand Down Expand Up @@ -60,7 +60,7 @@
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-MedicationRequestCategory"/>
<code value="primarycare"/>
<display value="Primary Care"/>
<inactive value="True"/>
<inactive value="true"/>
</contains>
</expansion>
</ValueSet>

0 comments on commit 41441d0

Please sign in to comment.