Skip to content

Commit

Permalink
Community pharmacy medicines review example added
Browse files Browse the repository at this point in the history
  • Loading branch information
dtr-agency committed Jan 30, 2022
1 parent 9c68df3 commit e7af773
Show file tree
Hide file tree
Showing 35 changed files with 1,654 additions and 20 deletions.
63 changes: 63 additions & 0 deletions examples/allergyintolerance-Ibuprofen-psml-03.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<AllergyIntolerance xmlns="http://hl7.org/fhir">
<id value="ibuprofen-psml-03"/>
<clinicalStatus>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"/>
<code value="active"/>
<display value="Active"/>
</coding>
</clinicalStatus>
<verificationStatus>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"/>
<code value="unconfirmed"/>
<display value="Unconfirmed"/>
</coding>
</verificationStatus>
<type value="allergy"/>
<category value="medication"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="293619005"/>
<display value="Ibuprofen allergy"/>
</coding>
<text value="Ibuprofen allergy"/>
</code>
<patient>
<!-- relative reference to entry of Patient resource -->
<reference value="Patient/hi-testdata-priest-mac"/>
</patient>
<encounter>
<!-- relative reference to entry of Encounter resource -->
<reference value="Encounter/psml-03"/>
</encounter>
<onsetDateTime value="2016-10"/>
<recorder>
<!-- relative reference to entry of PractitionerRole resource -->
<reference value="PractitionerRole/pharmacist-retail"/>
</recorder>
<asserter>
<!-- relative reference to entry of Patient resource -->
<reference value="Patient/hi-testdata-priest-mac"/>
</asserter>
<reaction>
<substance>
<coding>
<system value="http://snomed.info/sct"/>
<code value="21885011000036105"/>
<display value="Ibuprofen"/>
</coding>
<text value="ibuprofen"/>
</substance>
<manifestation>
<coding>
<system value="http://snomed.info/sct"/>
<code value="39579001"/>
<display value="Anaphylaxis"/>
</coding>
<text value="Anaphylaxis"/>
</manifestation>
</reaction>
</AllergyIntolerance>
512 changes: 512 additions & 0 deletions examples/composition-psml-03.xml

Large diffs are not rendered by default.

47 changes: 47 additions & 0 deletions examples/encounter-psml-03.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<Encounter xmlns="http://hl7.org/fhir">
<id value="psml-03"/>
<status value="finished"/>
<class>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode"/>
<code value="AMB"/>
<display value="ambulatory"/>
</class>
<type>
<coding>
<system value="http://snomed.info/sct"/>
<code value="1348961000168104"/>
<display value="Community pharmacy medicines review"/>
</coding>
<text value="Community pharmacy medicine review"/>
</type>
<serviceType>
<coding>
<system value="http://snomed.info/sct"/>
<code value="182836005"/>
<display value="Review of medication"/>
</coding>
<text value="Medicines review"/>
</serviceType>
<subject>
<!--relative reference to Patient resource-->
<reference value="Patient/hi-testdata-priest-mac"/>
</subject>
<participant>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
<code value="PPRF"/>
<display value="primary performer"/>
</coding>
</type>
<individual>
<!--relative reference to PractitionerRole resource-->
<reference value="PractitionerRole/pharmacist-retail"/>
</individual>
</participant>
<period>
<start value="2018-12-11T10:00:00+10:00"/>
<end value="2018-12-11T13:30:00+10:00"/>
</period>
</Encounter>
151 changes: 151 additions & 0 deletions examples/list-psml-03.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,151 @@
<?xml version="1.0" encoding="UTF-8"?>
<List xmlns="http://hl7.org/fhir">
<id value="psml-03"/>
<meta>
<profile
value="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-list-medication-use-pmr-1"
/>
</meta>
<language value="en-AU"/>
<extension
url="http://ns.electronichealth.net.au/ci/fhir/StructureDefinition/dh-packed-in-daa-1">
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="1469421000168108"/>
<display value="No medicines on list packed in dose administration aid"/>
</coding>
</valueCodeableConcept>
</extension>
<status value="current"/>
<mode value="snapshot"/>
<title value="Medicines List"/>
<code>
<coding>
<system value="http://loinc.org"/>
<code value="10160-0"/>
<display value="History of Medication use Narrative"/>
</coding>
</code>
<subject>
<!-- relative reference to entry of Patient resource -->
<reference value="Patient/hi-testdata-priest-mac"/>
</subject>
<encounter>
<!-- relative reference to entry of Encounter resource -->
<reference value="Encounter/psml-03"/>
</encounter>
<date value="2018-12-11T13:30:00+10:00"/>
<source>
<!-- relative reference to entry of Practitioner resource -->
<reference value="PractitionerRole/pharmacist-retail"/>
</source>
<note>
<text
value="Please review this list with your pharmacist on or soon
after 02/Apr/2019."
/>
</note>
<entry>
<flag>
<coding>
<system value="http://terminology.hl7.org.au/CodeSystem/medicine-item-change"/>
<code value="nochange"/>
<display value="Unchanged"/>
</coding>
</flag>
<item>
<!-- relative reference to entry of MedicationStatement resource -->
<reference value="MedicationStatement/active-ironsup-psml-03"/>
</item>
</entry>
<entry>
<extension url="http://hl7.org.au/fhir/StructureDefinition/change-description">
<valueString value="Chest infection"/>
</extension>
<flag>
<coding>
<system value="http://terminology.hl7.org.au/CodeSystem/medicine-item-change"/>
<code value="new"/>
<display value="New"/>
</coding>
</flag>
<item>
<!-- relative reference to entry of MedicationStatement resource -->
<reference value="MedicationStatement/active-amoxicillin-psml-03"/>
</item>
</entry>
<entry>
<extension url="http://hl7.org.au/fhir/StructureDefinition/change-description">
<valueString value="Dose increased from 250mg to 500mg"/>
</extension>
<flag>
<coding>
<system value="http://terminology.hl7.org.au/CodeSystem/medicine-item-change"/>
<code value="amended"/>
<display value="Amended"/>
</coding>
</flag>
<item>
<!-- relative reference to entry of MedicationStatement resource -->
<reference value="MedicationStatement/active-metformin-psml-03"/>
</item>
</entry>
<entry>
<flag>
<coding>
<system value="http://terminology.hl7.org.au/CodeSystem/medicine-item-change"/>
<code value="nochange"/>
<display value="Unchanged"/>
</coding>
</flag>
<item>
<!-- relative reference to entry of MedicationStatement resource -->
<reference value="MedicationStatement/active-multivitamins-psml-03"/>
</item>
</entry>
<entry>
<flag>
<coding>
<system value="http://terminology.hl7.org.au/CodeSystem/medicine-item-change"/>
<code value="nochange"/>
<display value="Unchanged"/>
</coding>
</flag>
<item>
<!-- relative reference to entry of MedicationStatement resource -->
<reference value="MedicationStatement/active-paracetamol-psml-03"/>
</item>
</entry>
<entry>
<extension url="http://hl7.org.au/fhir/StructureDefinition/change-description">
<valueString value="Duplicated medicine"/>
</extension>
<flag>
<coding>
<system value="http://terminology.hl7.org.au/CodeSystem/medicine-item-change"/>
<code value="ceased"/>
<display value="Ceased"/>
</coding>
</flag>
<item>
<!-- relative reference to entry of MedicationStatement resource -->
<reference value="MedicationStatement/stopped-paracetamol-psml-03"/>
</item>
</entry>
<entry>
<extension url="http://hl7.org.au/fhir/StructureDefinition/change-description">
<valueString value="Allergic reaction"/>
</extension>
<flag>
<coding>
<system value="http://terminology.hl7.org.au/CodeSystem/medicine-item-change"/>
<code value="ceased"/>
</coding>
</flag>
<item>
<!-- relative reference to entry of MedicationStatement resource -->
<reference value="MedicationStatement/stopped-ibuprofen-psml-03"/>
</item>
</entry>
</List>
20 changes: 20 additions & 0 deletions examples/medication-amoxicillin-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<Medication xmlns="http://hl7.org/fhir">
<id value="amoxicillin-01"/>
<extension url="http://hl7.org.au/fhir/StructureDefinition/medication-brand-name">
<valueString value="Augmentin Duo Forte"/>
</extension>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="28152011000036108"/>
<display value="amoxicillin 875 mg + clavulanic acid 125 mg tablet, 10"/>
</coding>
<coding>
<system value="http://pbs.gov.au/code/item"/>
<code value="5006L"/>
<display value="amoxicillin 875 mg + clavulanic acid 125 mg tablet, 10"/>
</coding>
<text value="Amoxicillin 875 mg + clavulanic acid 125 mg tablet, Augmentin Duo Forte"/>
</code>
</Medication>
17 changes: 17 additions & 0 deletions examples/medication-ibuprofen-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<Medication xmlns="http://hl7.org/fhir">
<id value="ibuprofen-01"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="21885011000036105"/>
<display value="Ibuprofen"/>
</coding>
<coding>
<system value="http://pbs.gov.au/code/item"/>
<code value="3192B"/>
<display value="IBUPROFEN"/>
</coding>
<text value="Ibuprofen"/>
</code>
</Medication>
19 changes: 19 additions & 0 deletions examples/medication-ironsup-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<Medication xmlns="http://hl7.org/fhir">
<id value="ironsup-01"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="53373011000036103"/>
<display value="Ferro-Grad C"/>
</coding>
<text value="Ferro-Grad C"/>
</code>
<form>
<coding>
<system value="http://snomed.info/sct"/>
<code value="154011000036109"/>
<display value="tablet"/>
</coding>
</form>
</Medication>
20 changes: 20 additions & 0 deletions examples/medication-metformin-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<Medication xmlns="http://hl7.org/fhir">
<id value="metformin-01"/>
<extension url="http://hl7.org.au/fhir/StructureDefinition/medication-brand-name">
<valueString value="Sandoz"/>
</extension>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="23358011000036102"/>
<display value="metformin hydrochloride 500 mg tablet"/>
</coding>
<coding>
<system value="http://pbs.gov.au/code/item"/>
<code value="2430X"/>
<display value="metformin hydrochloride 500 mg tablet, 100"/>
</coding>
<text value="Metformin 500mg tablet, Sandoz"/>
</code>
</Medication>
14 changes: 14 additions & 0 deletions examples/medication-multivitamins-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<Medication xmlns="http://hl7.org/fhir">
<id value="multivitamins-01"/>
<code>
<text value="Multi-vitamins"/>
</code>
<form>
<coding>
<system value="http://snomed.info/sct"/>
<code value="154011000036109"/>
<display value="tablet"/>
</coding>
</form>
</Medication>
12 changes: 12 additions & 0 deletions examples/medication-paracetamol-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<Medication xmlns="http://hl7.org/fhir">
<id value="paracetamol-01"/>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="23628011000036109"/>
<display value="paracetamol 500 mg tablet"/>
</coding>
<text value="Paracetamol 500 mg tablet"/>
</code>
</Medication>
Loading

0 comments on commit e7af773

Please sign in to comment.