Skip to content

Commit

Permalink
Follow up encounter for UTI example added
Browse files Browse the repository at this point in the history
  • Loading branch information
dtr-agency committed Jan 30, 2022
1 parent e7af773 commit 0c542f8
Show file tree
Hide file tree
Showing 17 changed files with 1,304 additions and 49 deletions.
37 changes: 37 additions & 0 deletions examples/allergyintolerance-noneknown-es-02.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<AllergyIntolerance xmlns="http://hl7.org/fhir">
<id value="noneknown-es-02"/>
<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>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="716186003"/>
<display value="No known allergy"/>
</coding>
</code>
<patient>
<reference value="Patient/mhr-zhang-wei"/>
</patient>
<encounter>
<reference value="Encounter/es-02"/>
</encounter>
<recorder>
<reference value="PractitionerRole/algrester-greg-gp"/>
</recorder>
<asserter>
<reference value="Patient/mhr-zhang-wei"/>
</asserter>
</AllergyIntolerance>
4 changes: 2 additions & 2 deletions examples/bundle-es-02-doc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@
<entry>
<fullUrl value="urn:uuid:59e2ba97-44b0-45db-8f61-0a1b0e198580"/>
<resource>
<Observation>
<Observation xmlns="http://hl7.org/fhir">
<id value="59e2ba97-44b0-45db-8f61-0a1b0e198580"/>
<status value="final"/>
<category>
Expand Down Expand Up @@ -718,7 +718,7 @@
<entry>
<fullUrl value="urn:uuid:81a46e66-3d35-45d4-8f6c-8041d902160d"/>
<resource>
<Specimen>
<Specimen xmlns="http://hl7.org/fhir">
<id value="81a46e66-3d35-45d4-8f6c-8041d902160d"/>
<type>
<coding>
Expand Down
851 changes: 851 additions & 0 deletions examples/bundle-psml-02-doc.xml

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions examples/condition-uti-es-02.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<Condition xmlns="http://hl7.org/fhir">
<id value="uti-es-02"/>
<clinicalStatus>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/condition-clinical"/>
<code value="active"/>
<display value="Active"/>
</coding>
</clinicalStatus>
<verificationStatus>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/condition-ver-status"/>
<code value="confirmed"/>
<display value="Confirmed"/>
</coding>
</verificationStatus>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/condition-category"/>
<code value="problem-list-item"/>
<display value="Problem List Item"/>
</coding>
</category>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="68566005"/>
<display value="Urinary tract infection"/>
</coding>
</code>
<subject>
<reference value="Patient/mhr-zhang-wei"/>
</subject>
<encounter>
<reference value="Encounter/es-02"/>
</encounter>
<onsetDateTime value="2020-05-10"/>
<recorder>
<reference value="PractitionerRole/algrester-greg-gp"/>
</recorder>
<asserter>
<reference value="PractitionerRole/algrester-greg-gp"/>
</asserter>
</Condition>
63 changes: 63 additions & 0 deletions examples/encounter-es-02.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<Encounter xmlns="http://hl7.org/fhir">
<id value="es-02"/>
<text>
<status value="additional"/>
<div xmlns="http://www.w3.org/1999/xhtml" lang="en-AU">
<p>ZHANG Wei; MC = 29533070311; IHI = 8003608000228437; gender = male</p>
<p>Patient presented for follow-up with urinary tract infection on 30
May.</p>
<p>Complaining of frequent and painful urinating. Midstream urine test was
done and revealed urinary infection.</p>
<p>Culture and sensitivity test discovered escherichia coli sensitive to
Bactrim.</p>
<p>Patient was prescribed Bactrim 2 tablets twice a day, and Panadol one
tablet 4 times a day.</p>
<p>Patient has no allergies.</p>
</div>
</text>
<extension url="http://hl7.org.au/fhir/StructureDefinition/encounter-description">
<valueString value="Patient presented for follow-up with urinary tract infection on 30 May. Complaining of frequent and painful urinating.
Midstream urine test was done and revealed urinary infection. Culture and sensitivity test discovered escherichia coli sensitive to Bactrim.
Patient was prescribed Bactrim 2 tablets twice a day, and Panadol one tablet 4 times a day. Patient has no allergies."/>
</extension>
<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="390906007"/>
<display value="Follow-up encounter"/>
</coding>
</type>
<serviceType>
<coding>
<system value="http://snomed.info/sct"/>
<code value="700232004"/>
<display value="General medical service"/>
</coding>
</serviceType>
<subject>
<reference value="Patient/mhr-zhang-wei"/>
</subject>
<participant>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ParticipationType"/>
<code value="PPRF"/>
<display value="primary performer"/>
</coding>
</type>
<individual>
<reference value="PractitionerRole/algrester-greg-gp"/>
</individual>
</participant>
<period>
<start value="2020-05-30T09:00:00+10:00"/>
<end value="2020-05-30T09:30:00+10:00"/>
</period>
</Encounter>
92 changes: 46 additions & 46 deletions examples/encounter-psml-03.xml
Original file line number Diff line number Diff line change
@@ -1,47 +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>
<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>
46 changes: 46 additions & 0 deletions examples/medicationstatement-intended-bactrim-es-02.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<MedicationStatement xmlns="http://hl7.org/fhir">
<id value="intended-bactrim-es-02"/>
<status value="intended"/>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/medication-statement-category"/>
<code value="community"/>
<display value="Community"/>
</coding>
</category>
<medicationCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="6632011000036102"/>
<display value="Bactrim DS tablet"/>
</coding>
<text value="Bactrim DS - tablet"/>
</medicationCodeableConcept>
<subject>
<reference value="Patient/mhr-zhang-wei"/>
</subject>
<context>
<reference value="Encounter/es-02"/>
</context>
<dateAsserted value="2020-05-30T10:00:00+10:00"/>
<informationSource>
<reference value="PractitionerRole/algrester-greg-gp"/>
</informationSource>
<reasonCode>
<coding>
<system value="http://snomed.info/sct"/>
<code value="68566005"/>
<display value="Urinary tract infection"/>
</coding>
</reasonCode>
<reasonReference>
<reference value="Condition/uti-es-02"/>
</reasonReference>
<note>
<text value="Prescription issued."/>
</note>
<dosage>
<text value="Take 2 tablets twice a day"/>
</dosage>
</MedicationStatement>
36 changes: 36 additions & 0 deletions examples/medicationstatement-intended-panadol-es-02.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<MedicationStatement xmlns="http://hl7.org/fhir">
<id value="intended-panadol-es-02"/>
<status value="intended"/>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/medication-statement-category"/>
<code value="community"/>
<display value="Community"/>
</coding>
</category>
<medicationCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="54012011000036102"/>
<display value="Panadol 500 mg tablet"/>
</coding>
<text value="Panadol 500mg - tablet"/>
</medicationCodeableConcept>
<subject>
<reference value="Patient/mhr-zhang-wei"/>
</subject>
<context>
<reference value="Encounter/es-02"/>
</context>
<dateAsserted value="2020-05-30T10:00:00+10:00"/>
<informationSource>
<reference value="PractitionerRole/algrester-greg-gp"/>
</informationSource>
<reasonCode>
<text value="For pain"/>
</reasonCode>
<dosage>
<text value="Take 1 tablet four times a day"/>
</dosage>
</MedicationStatement>
38 changes: 38 additions & 0 deletions examples/observation-urineculture-es-02.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<Observation xmlns="http://hl7.org/fhir">
<id value="urineculture-es-02"/>
<status value="final"/>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/observation-category"/>
<code value="laboratory"/>
</coding>
</category>
<category>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0074"/>
<code value="MB"/>
</coding>
</category>
<code>
<coding>
<system value="http://snomed.info/sct"/>
<code value="413625003"/>
<display value="Bacterial culture and sensitivity"/>
</coding>
</code>
<subject>
<reference value="Patient/mhr-zhang-wei"/>
</subject>
<effectiveDateTime value="2020-05-23T12:20:00+10:00"/>
<valueCodeableConcept>
<coding>
<system value="http://snomed.info/sct"/>
<code value="167570003"/>
<display value="Urine culture - E. coli"/>
</coding>
</valueCodeableConcept>
<specimen>
<reference value="Specimen/urine-01"/>
</specimen>
</Observation>
Loading

0 comments on commit 0c542f8

Please sign in to comment.