Skip to content

Commit

Permalink
patient's registered GP practice and practitioner - MyGP
Browse files Browse the repository at this point in the history
  • Loading branch information
dtr-agency committed Oct 13, 2022
1 parent 1524209 commit 8407f3d
Show file tree
Hide file tree
Showing 15 changed files with 803 additions and 5 deletions.
152 changes: 152 additions & 0 deletions examples/Bundle/bundle-vpr-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bundle xmlns="http://hl7.org/fhir">
<id value="vpr-01"/>
<!--Sample design for Voluntary Patient Registration project - patient has a registered GP practice-->
<type value="collection"/>
<timestamp value="2022-10-28T11:01:00+10:00"/>
<!-- PATIENT -->
<entry>
<fullUrl value="urn:uuid:1f1e3fc0-768f-4c76-ac1a-77345c890321"/>
<resource>
<Patient xmlns="http://hl7.org/fhir">
<meta>
<profile
value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1"/>
</meta>
<identifier>
<extension url="http://hl7.org.au/fhir/StructureDefinition/ihi-status">
<valueCoding>
<system
value="https://healthterminologies.gov.au/fhir/CodeSystem/ihi-status-1"/>
<code value="active"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org.au/fhir/StructureDefinition/ihi-record-status">
<valueCoding>
<system
value="https://healthterminologies.gov.au/fhir/CodeSystem/ihi-record-status-1"/>
<code value="verified"/>
</valueCoding>
</extension>
<use value="official"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="NI"/>
</coding>
<text value="IHI"/>
</type>
<system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
<value value="8003608833564727"/>
</identifier>
<identifier>
<use value="secondary"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="MC"/>
<userSelected value="false"/>
</coding>
</type>
<system value="http://ns.electronichealth.net.au/id/medicare-number"/>
<value value="29533070311"/>
<period>
<end value="2023-11-30"/>
</period>
</identifier>
<name>
<use value="usual"/>
<text value="Bert Gainey"/>
<family value="Gainey"/>
</name>
<gender value="male"/>
<birthDate value="1971-09-24"/>
<address>
<use value="home"/>
<line value="197 Woodstock Pl"/>
<city value="CANBERRA AIRPORT"/>
<state value="ACT"/>
<postalCode value="2609"/>
</address>
<generalPractitioner>
<reference value="urn:uuid:2250beff-bf54-492f-a8fa-6ea6d1d7f78f"/>
</generalPractitioner>
</Patient>
</resource>
</entry>
<!--GP Practice is an Organization resource-->
<entry>
<fullUrl value="urn:uuid:2250beff-bf54-492f-a8fa-6ea6d1d7f78f"/>
<resource>
<Organization>
<meta>
<profile
value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-organization-core-1"/>
</meta>
<type>
<coding>
<system value="http://snomed.info/sct"/>
<code value="394761003"/>
</coding>
<text value="GP practice"/>
</type>
<name value="ABC Medical Clinic"/>
<telecom>
<system value="phone"/>
<value value="(02) 5550 2427"/>
<use value="work"/>
</telecom>
<address>
<use value="work"/>
<line value="Andrew Fisher Building"/>
<line value="1 National Circuit"/>
<city value="Barton"/>
<state value="ACT"/>
<postalCode value="2600"/>
</address>
</Organization>
</resource>
</entry>
<!--Represents current GP Practice using EpisodeOfCare-->
<entry>
<fullUrl value="urn:uuid:75c257b4-eb01-4c29-a01e-9a154a36370a"/>
<resource>
<EpisodeOfCare>
<meta>
<profile value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-episodeofcare-mygp-1"/>
</meta>
<!--current represented by status=active-->
<status value="active"/>
<type>
<coding>
<system value="http://snomed.info/sct"/>
<code value="737470001"/>
<display value="Primary care management"/>
</coding>
</type>
<patient>
<reference value="urn:uuid:1f1e3fc0-768f-4c76-ac1a-77345c890321"/>
<identifier>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="NI"/>
</coding>
<text value="IHI"/>
</type>
<system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
<value value="8003608833564727"/>
</identifier>
</patient>
<managingOrganization>
<reference value="urn:uuid:2250beff-bf54-492f-a8fa-6ea6d1d7f78f"/>
</managingOrganization>
<!--current represented by no period.end-->
<period>
<start value="2021-06-13"/>
</period>
</EpisodeOfCare>
</resource>
</entry>
</Bundle>
155 changes: 155 additions & 0 deletions examples/Bundle/bundle-vpr-02.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
<?xml version="1.0" encoding="UTF-8"?>
<Bundle xmlns="http://hl7.org/fhir">
<id value="vpr-02"/>
<!--Sample design for Voluntary Patient Registration project - patient has a registered GP practice and practitioner-->
<type value="collection"/>
<timestamp value="2022-10-28T11:01:00+10:00"/>
<!-- PATIENT -->
<entry>
<fullUrl value="urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7715"/>
<resource>
<Patient xmlns="http://hl7.org/fhir">
<meta>
<profile value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-patient-core-1"/>
</meta>
<identifier>
<extension url="http://hl7.org.au/fhir/StructureDefinition/ihi-status">
<valueCoding>
<system
value="https://healthterminologies.gov.au/fhir/CodeSystem/ihi-status-1"/>
<code value="active"/>
</valueCoding>
</extension>
<extension
url="http://hl7.org.au/fhir/StructureDefinition/ihi-record-status">
<valueCoding>
<system
value="https://healthterminologies.gov.au/fhir/CodeSystem/ihi-record-status-1"/>
<code value="verified"/>
</valueCoding>
</extension>
<use value="official"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="NI"/>
</coding>
<text value="IHI"/>
</type>
<system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
<value value="8003608833564727"/>
</identifier>
<identifier>
<use value="secondary"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="MC"/>
</coding>
</type>
<system value="http://ns.electronichealth.net.au/id/medicare-number"/>
<value value="29533070311"/>
<period>
<end value="2023-11-30"/>
</period>
</identifier>
<name>
<use value="usual"/>
<text value="Bert Gainey"/>
<family value="Gainey"/>
</name>
<gender value="male"/>
<birthDate value="1971-09-24"/>
<address>
<use value="home"/>
<line value="197 Woodstock Pl"/>
<city value="CANBERRA AIRPORT"/>
<state value="ACT"/>
<postalCode value="2609"/>
</address>
<generalPractitioner>
<reference value="urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7716"/>
</generalPractitioner>
<!--Practitioner's name - only if additional data is shared should this be a full PractitionerRole resource-->
<generalPractitioner>
<type value="PractitionerRole"/>
<display value="Dr Sophia Yu"/>
</generalPractitioner>
</Patient>
</resource>
</entry>
<!--GP Practice is an Organization resource-->
<entry>
<fullUrl value="urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7716"/>
<resource>
<Organization>
<meta>
<profile
value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-organization-core-1"/>
</meta>
<type>
<coding>
<system value="http://snomed.info/sct"/>
<code value="394761003"/>
</coding>
<text value="GP practice"/>
</type>
<name value="ABC Medical Clinic"/>
<telecom>
<system value="phone"/>
<value value="(02) 5550 2427"/>
<use value="work"/>
</telecom>
<address>
<use value="work"/>
<line value="Andrew Fisher Building"/>
<line value="1 National Circuit"/>
<city value="Barton"/>
<state value="ACT"/>
<postalCode value="2600"/>
</address>
</Organization>
</resource>
</entry>
<!--Represents current GP Practice using EpisodeOfCare-->
<entry>
<fullUrl value="urn:uuid:cec6e9d8-6b61-432a-85e5-93c0558e66eb"/>
<resource>
<EpisodeOfCare>
<meta>
<profile value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-episodeofcare-mygp-1"/>
</meta>
<!--current represented by status=active-->
<status value="active"/>
<type>
<coding>
<system value="http://snomed.info/sct"/>
<code value="737470001"/>
<display value="Primary care management"/>
</coding>
</type>
<patient>
<reference value="urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7715"/>
<identifier>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
<code value="NI"/>
</coding>
<text value="IHI"/>
</type>
<system value="http://ns.electronichealth.net.au/id/hi/ihi/1.0"/>
<value value="8003608833564727"/>
</identifier>
</patient>
<managingOrganization>
<reference value="urn:uuid:cb7921cc-ba17-11ec-833a-b1763b0a7716"/>
</managingOrganization>
<!--current represented by no period.end-->
<period>
<start value="2021-06-13"/>
</period>
</EpisodeOfCare>
</resource>
</entry>
</Bundle>
Loading

0 comments on commit 8407f3d

Please sign in to comment.