-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Testing not-present causes validation errors
- Loading branch information
Showing
4 changed files
with
155 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
<MedicationRequest xmlns="http://hl7.org/fhir"> | ||
<id value="DCAPI-MedicationRequest-Example" /> | ||
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-MedicationRepeatInformation"> | ||
<extension url="numberOfPrescriptionsIssued"> | ||
<valueUnsignedInt value="1" /> | ||
</extension> | ||
<extension url="authorisationExpiryDate"> | ||
<valueDateTime value="2023-09-10T19:00:00.000Z" /> | ||
</extension> | ||
</extension> | ||
<status value="active" /> | ||
<intent value="plan" /> | ||
<category> | ||
<coding> | ||
<system value="http://terminology.hl7.org/CodeSystem/medicationrequest-category" /> | ||
<code value="community" /> | ||
<display value="Community" /> | ||
</coding> | ||
</category> | ||
<medicationCodeableConcept> | ||
<coding> | ||
<system value="https://dmd.nhs.uk" /> | ||
<code value="3113111000001106" /> | ||
<display value="Pulmicort 100 Turbohaler (AstraZeneca UK Ltd)" /> | ||
</coding> | ||
</medicationCodeableConcept> | ||
<subject> | ||
<reference value="Patient/9000000009" /> | ||
<identifier> | ||
<system value="https://fhir.nhs.uk/Id/nhs-number" /> | ||
<value value="9000000009" /> | ||
</identifier> | ||
<display value="Jane Smith" /> | ||
</subject> | ||
<authoredOn value="2022-10-13T16:20:27+07:00" /> | ||
<requester> | ||
<reference value="PractitionerRole/DCAPI-PractitionerRole-Example" /> | ||
<display value="Dr Jane Smith" /> | ||
</requester> | ||
<groupIdentifier> | ||
<system value="https://fhir.nhs.uk/Id/prescription-order-number" /> | ||
<value value="PDI12E-Y765908-4FF3LQ" /> | ||
</groupIdentifier> | ||
<courseOfTherapyType> | ||
<coding> | ||
<system value="http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy" /> | ||
<code value="continuous" /> | ||
<display value="Continuous long term therapy" /> | ||
</coding> | ||
</courseOfTherapyType> | ||
<dosageInstruction> | ||
<text value="One to two puffs to be inhaled as needed" /> | ||
<method> | ||
<coding> | ||
<system value="http://snomed.info/sct" /> | ||
<code value="420652005" /> | ||
<display value="Until gone" /> | ||
</coding> | ||
</method> | ||
</dosageInstruction> | ||
<dispenseRequest> | ||
<numberOfRepeatsAllowed value="6" /> | ||
<quantity> | ||
<value value="1" /> | ||
<unit value="inhaler" /> | ||
<system value="http://snomed.info/sct" /> | ||
<code value="334980009" /> | ||
</quantity> | ||
<expectedSupplyDuration> | ||
<value value="28" /> | ||
<unit value="days" /> | ||
<system value="http://unitsofmeasure.org" /> | ||
<code value="d" /> | ||
</expectedSupplyDuration> | ||
<performer> | ||
<identifier> | ||
<system value="https://fhir.nhs.uk/Id/ods-organization-code" /> | ||
<value value="Y12345" /> | ||
</identifier> | ||
</performer> | ||
</dispenseRequest> | ||
<substitution> | ||
<allowedBoolean value="false" /> | ||
</substitution> | ||
</MedicationRequest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<PractitionerRole xmlns="http://hl7.org/fhir"> | ||
<id value="DCAPI-PractitionerRole-Example" /> | ||
<practitioner> | ||
<identifier> | ||
<system value="https://fhir.hl7.org.uk/Id/gmc-number" /> | ||
<value value="C9876543" /> | ||
</identifier> | ||
<display value="Dr Jane Smith" /> | ||
</practitioner> | ||
<organization> | ||
<identifier> | ||
<system value="https://fhir.nhs.uk/Id/ods-organization-code" /> | ||
<value value="L8048" /> | ||
</identifier> | ||
</organization> | ||
</PractitionerRole> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<Task xmlns="http://hl7.org/fhir"> | ||
<id value="DCAPI-Task-Example" /> | ||
<meta> | ||
<profile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Task" /> | ||
</meta> | ||
<status value="requested" /> | ||
<intent value="order" /> | ||
<code> | ||
<coding> | ||
<system value="http://snomed.info/sct" /> | ||
<code value="103742009" /> | ||
<display value="Renewal of prescription" /> | ||
</coding> | ||
</code> | ||
<focus> | ||
<reference value="MedicationRequest/DCAPI-MedicationRequest-Example" /> | ||
</focus> | ||
<for> | ||
<reference value="Patient/9000000009" /> | ||
<identifier> | ||
<system value="https://fhir.nhs.uk/Id/nhs-number" /> | ||
<value value="9000000009" /> | ||
</identifier> | ||
<display value="Jane Smith" /> | ||
</for> | ||
<authoredOn value="2022-10-13T09:20:27.000Z" /> | ||
<lastModified value="2022-10-13T09:20:27.000Z" /> | ||
<requester> | ||
<reference value="Patient/9000000009" /> | ||
<identifier> | ||
<system value="https://fhir.nhs.uk/Id/nhs-number" /> | ||
<value value="9000000009" /> | ||
</identifier> | ||
<display value="Jane Smith" /> | ||
</requester> | ||
<note> | ||
<authorString value="Patient" /> | ||
<text value="ran out of previous prescription" /> | ||
</note> | ||
<input> | ||
<type> | ||
<coding> | ||
<system value="https://fhir.hl7.org.uk/GPConnect-PrescriptionOrderingParameters" /> | ||
<code value="preferred-performer" /> | ||
<display value="Preferred performer" /> | ||
</coding> | ||
</type> | ||
<valueIdentifier> | ||
<system value="https://fhir.nhs.uk/Id/ods-organization-code" /> | ||
<value value="FLM49" /> | ||
</valueIdentifier> | ||
</input> | ||
</Task> |