Skip to content

Commit

Permalink
Merge pull request #239 from NHSDigital/fix/ObsVitalSignsReferences
Browse files Browse the repository at this point in the history
Fix obs vital signs references
  • Loading branch information
APageNHS authored Feb 22, 2023
2 parents c8841b9 + d757cf1 commit 0e65f97
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 106 deletions.
56 changes: 3 additions & 53 deletions structuredefinitions/UKCore-Observation-VitalSigns.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,37 +57,6 @@
<baseDefinition value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation" />
<derivation value="constraint" />
<differential>
<element id="Observation.identifier.assigner.identifier.assigner">
<path value="Observation.identifier.assigner.identifier.assigner" />
<type>
<code value="Reference" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
</type>
</element>
<element id="Observation.basedOn">
<path value="Observation.basedOn" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-CarePlan" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest" />
</type>
</element>
<element id="Observation.partOf">
<path value="Observation.partOf" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationDispense" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Immunization" />
</type>
</element>
<element id="Observation.code.coding:snomedCT">
<path value="Observation.code.coding" />
<sliceName value="snomedCT" />
Expand All @@ -108,18 +77,6 @@
<valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult" />
</binding>
</element>
<element id="Observation.performer">
<path value="Observation.performer" />
<type>
<code value="Reference" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-CareTeam" />
</type>
</element>
<element id="Observation.value[x]">
<path value="Observation.value[x]" />
<binding>
Expand All @@ -146,18 +103,11 @@
<path value="Observation.bodySite.coding.display" />
<min value="1" />
</element>
<element id="Observation.specimen">
<path value="Observation.specimen" />
<type>
<code value="Reference" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen" />
</type>
</element>
<element id="Observation.hasMember">
<path value="Observation.hasMember" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-VitalSigns" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation" />
Expand All @@ -167,9 +117,9 @@
<path value="Observation.derivedFrom" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-ImagingStudy" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Media" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-VitalSigns" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-DocumentReference" />
Expand Down
56 changes: 3 additions & 53 deletions structuredefinitions/UKCore-VitalSigns-Observation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,37 +57,6 @@
<baseDefinition value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation" />
<derivation value="constraint" />
<differential>
<element id="Observation.identifier.assigner.identifier.assigner">
<path value="Observation.identifier.assigner.identifier.assigner" />
<type>
<code value="Reference" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
</type>
</element>
<element id="Observation.basedOn">
<path value="Observation.basedOn" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/DeviceRequest" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/NutritionOrder" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-CarePlan" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationRequest" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-ServiceRequest" />
</type>
</element>
<element id="Observation.partOf">
<path value="Observation.partOf" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MedicationAdministration" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationDispense" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-MedicationStatement" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Immunization" />
</type>
</element>
<element id="Observation.code.coding:snomedCT">
<path value="Observation.code.coding" />
<sliceName value="snomedCT" />
Expand All @@ -108,18 +77,6 @@
<valueSet value="http://hl7.org/fhir/ValueSet/observation-vitalsignresult" />
</binding>
</element>
<element id="Observation.performer">
<path value="Observation.performer" />
<type>
<code value="Reference" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-CareTeam" />
</type>
</element>
<element id="Observation.value[x]">
<path value="Observation.value[x]" />
<binding>
Expand All @@ -146,18 +103,11 @@
<path value="Observation.bodySite.coding.display" />
<min value="1" />
</element>
<element id="Observation.specimen">
<path value="Observation.specimen" />
<type>
<code value="Reference" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Specimen" />
</type>
</element>
<element id="Observation.hasMember">
<path value="Observation.hasMember" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-VitalSigns-Observation" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation" />
Expand All @@ -167,9 +117,9 @@
<path value="Observation.derivedFrom" />
<type>
<code value="Reference" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/ImagingStudy" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-ImagingStudy" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/Media" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-QuestionnaireResponse" />
<targetProfile value="http://hl7.org/fhir/StructureDefinition/MolecularSequence" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-VitalSigns-Observation" />
<targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-DocumentReference" />
Expand Down

0 comments on commit 0e65f97

Please sign in to comment.