Skip to content

Commit

Permalink
Location examples added
Browse files Browse the repository at this point in the history
  • Loading branch information
dtr-agency committed Mar 15, 2022
1 parent 797af1a commit 2ad010c
Show file tree
Hide file tree
Showing 14 changed files with 394 additions and 3 deletions.
23 changes: 23 additions & 0 deletions examples/Location/location-hi-testdata-dental.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Associated with Organization that is compliant with HI Test Data in Vendor Environment-->
<Location xmlns="http://hl7.org/fhir">
<id value="hi-testdata-dental"/>
<meta>
<profile value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-location-core-1"/>
</meta>
<mode value="instance"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<code value="PROFF"/>
<display value="Provider's Office"/>
</coding>
</type>
<address>
<line value="7A Henson Pl"/>
<city value="SALE"/>
<state value="VIC"/>
<postalCode value="3850"/>
<country value="AU"/>
</address>
</Location>
30 changes: 30 additions & 0 deletions examples/Location/location-hi-testdata-pharmacy.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Associated with Organization that is compliant with HI Test Data in Vendor Environment-->
<Location xmlns="http://hl7.org/fhir">
<id value="hi-testdata-pharmacy"/>
<meta>
<profile value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-location-core-1"/>
</meta>
<mode value="instance"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<code value="PHARM"/>
<display value="Pharmacy"/>
</coding>
</type>
<address>
<line value="570 Whatcha St"/>
<city value="GLEBE"/>
<state value="NSW"/>
<postalCode value="2037"/>
<country value="AU"/>
</address>
<physicalType>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
<code value="bu"/>
<display value="Building"/>
</coding>
</physicalType>
</Location>
25 changes: 25 additions & 0 deletions examples/Location/location-hi-testdata-racs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Associated with Organization that is compliant with HI Test Data in Vendor Environment-->
<Location xmlns="http://hl7.org/fhir">
<id value="hi-testdata-racs"/>
<meta>
<profile value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-location-core-1"/>
</meta>
<mode value="instance"/>
<address>
<use value="work"/>
<type value="physical"/>
<line value="12 Hoseason St"/>
<city value="FREMANTLE"/>
<state value="WA"/>
<postalCode value="6160"/>
<country value="AU"/>
</address>
<physicalType>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
<code value="si"/>
<display value="Site"/>
</coding>
</physicalType>
</Location>
36 changes: 36 additions & 0 deletions examples/Location/location-nsw-hospital-er.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<Location xmlns="http://hl7.org/fhir">
<id value="nsw-hospital-er"/>
<meta>
<profile value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-location-core-1"/>
</meta>
<status value="active"/>
<name value="Emergency Deparement NSW Hospital"/>
<mode value="instance"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<code value="ER"/>
<display value="Emergency room"/>
</coding>
</type>
<address>
<type value="physical"/>
<text value="2325 Rocklands Rd, North Sydney NSW 2060" />
<line value="2325 Rocklands Rd"/>
<city value="North Sydney"/>
<state value="NSW"/>
<postalCode value="2060"/>
<country value="AU"/>
</address>
<physicalType>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
<code value="bu"/>
<display value="Building"/>
</coding>
</physicalType>
<managingOrganization>
<reference value="Organization/nsw-hospital"/>
</managingOrganization>
</Location>
44 changes: 44 additions & 0 deletions examples/Location/location-nsw-hospital.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<Location xmlns="http://hl7.org/fhir">
<id value="nsw-hospital"/>
<meta>
<profile value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-location-core-1"/>
</meta>
<status value="active"/>
<name value="NSW Hospital"/>
<mode value="instance"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<code value="HOSP"/>
<display value="Hospital"/>
</coding>
</type>
<telecom>
<system value="url"/>
<value value="https://www.health.nsw.example.org/nsw-hospital"/>
</telecom>
<telecom>
<system value="phone"/>
<value value="(02) 5550 4444"/>
</telecom>
<address>
<type value="physical"/>
<text value="2325 Rocklands Rd, North Sydney NSW 2060" />
<line value="2325 Rocklands Rd"/>
<city value="North Sydney"/>
<state value="NSW"/>
<postalCode value="2060"/>
<country value="AU"/>
</address>
<physicalType>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
<code value="si"/>
<display value="Site"/>
</coding>
</physicalType>
<managingOrganization>
<reference value="Organization/nsw-hospital"/>
</managingOrganization>
</Location>
24 changes: 24 additions & 0 deletions examples/Location/location-patient-home-01.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<Location xmlns="http://hl7.org/fhir">
<id value="patient-home-01"/>
<meta>
<profile value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-location-core-1"/>
</meta>
<status value="active"/>
<name value="Patient's home"/>
<mode value="kind"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<code value="PTRES"/>
<display value="Patient's Residence"/>
</coding>
</type>
<physicalType>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
<code value="ho"/>
<display value="House"/>
</coding>
</physicalType>
</Location>
36 changes: 36 additions & 0 deletions examples/Location/location-qld-hospital-er.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<Location xmlns="http://hl7.org/fhir">
<id value="qld-hospital-er"/>
<meta>
<profile value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-location-core-1"/>
</meta>
<status value="active"/>
<name value="QLD Hospital ER"/>
<alias value="Emergency room - Queensland Hospital"/>
<mode value="instance"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<code value="ER"/>
<display value="Emergency room"/>
</coding>
</type>
<address>
<text value="54301 Stanley St, South Brisbane QLD 4101" />
<line value="54301 Stanley St"/>
<city value="South Brisbane"/>
<state value="QLD"/>
<postalCode value="4101"/>
<country value="AU"/>
</address>
<physicalType>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
<code value="bu"/>
<display value="Building"/>
</coding>
</physicalType>
<managingOrganization>
<reference value="Organization/qld-hospital"/>
</managingOrganization>
</Location>
40 changes: 40 additions & 0 deletions examples/Location/location-qld-hospital.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<Location xmlns="http://hl7.org/fhir">
<id value="qld-hospital"/>
<meta>
<profile value="http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-location-core-1"/>
</meta>
<status value="active"/>
<name value="QLD Hospital"/>
<alias value="Queensland Hospital"/>
<mode value="instance"/>
<type>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-RoleCode"/>
<code value="HOSP"/>
<display value="Hospital"/>
</coding>
</type>
<telecom>
<system value="phone"/>
<value value="(03) 5550 3333"/>
</telecom>
<address>
<text value="54301 Stanley St, South Brisbane QLD 4101" />
<line value="54301 Stanley St"/>
<city value="South Brisbane"/>
<state value="QLD"/>
<postalCode value="4101"/>
<country value="AU"/>
</address>
<physicalType>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/location-physical-type"/>
<code value="si"/>
<display value="Site"/>
</coding>
</physicalType>
<managingOrganization>
<reference value="Organization/qld-hospital"/>
</managingOrganization>
</Location>
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,8 @@
<display value="Cardiologist"/>
</coding>
<text value="Cardiologist"/>
</code>
</code>
<organization>
<reference value="Location/nsw-hospital"/>
</organization>
</PractitionerRole>
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,8 @@
<display value="Sonographer"/>
</coding>
<text value="Sonographer"/>
</code>
</code>
<organization>
<reference value="Location/nsw-hospital"/>
</organization>
</PractitionerRole>
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
</coding>
<text value="Pharmacist"/>
</code>
<location>
<!-- relative reference to entry of Location resource -->
<reference value="Location/hi-testdata-pharmacy"/>
</location>
<telecom>
<system value="email"/>
<value value="[email protected]"/>
Expand Down
1 change: 1 addition & 0 deletions ig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"examples/Endpoint",
"examples/ImagingStudy",
"examples/List",
"examples/Location",
"examples/Media",
"examples/Medication",
"examples/MedicationStatement",
Expand Down
67 changes: 66 additions & 1 deletion pages/_includes/dh-location-core-1-examples.md
Original file line number Diff line number Diff line change
@@ -1 +1,66 @@
None
<table class="list" width="100%">
<tr>
<th>Example name</th>
<th>id</th>
<th colspan="3">Format</th>
</tr>
<tr>
<td><a href="Location-patient-home-01.html">Patient Home</a></td>
<td>patient-home-01</td>
<td><a href="Location-patient-home-01.xml.html">XML</a></td>
<td><a href="Location-patient-home-01.json.html">JSON</a></td>
<td><a href="Location-patient-home-01.ttl.html">Turtle</a></td>
</tr>
<tr>
<td><a href="Location-hi-testdata-dental.html">Provider's Office of Test Org -DigitalHealth 5</a></td>
<td>hi-testdata-dental</td>
<td><a href="Location-hi-testdata-dental.xml.html">XML</a></td>
<td><a href="Location-hi-testdata-dental.json.html">JSON</a></td>
<td><a href="Location-hi-testdata-dental.ttl.html">Turtle</a></td>
</tr>
<tr>
<td><a href="Location-hi-testdata-pharmacy.html">Pharmacy Building of Test Org -DigitalHealth 6</a></td>
<td>hi-testdata-pharmacy</td>
<td><a href="Location-hi-testdata-pharmacy.xml.html">XML</a></td>
<td><a href="Location-hi-testdata-pharmacy.json.html">JSON</a></td>
<td><a href="Location-hi-testdata-pharmacy.ttl.html">Turtle</a></td>
</tr>
<tr>
<td><a href="Location-hi-testdata-racs.html">Site of Test Org -DigitalHealth 1</a></td>
<td>hi-testdata-racs</td>
<td><a href="Location-hi-testdata-racs.xml.html">XML</a></td>
<td><a href="Location-hi-testdata-racs.json.html">JSON</a></td>
<td><a href="Location-hi-testdata-racs.ttl.html">Turtle</a></td>
</tr>
<tr>
<td><a href="Location-nsw-hospital.html">Site of NSW Hospital</a></td>
<td>nsw-hospital</td>
<td><a href="Location-nsw-hospital.xml.html">XML</a></td>
<td><a href="Location-nsw-hospital.json.html">JSON</a></td>
<td><a href="Location-nsw-hospital.ttl.html">Turtle</a></td>
</tr>
<tr>
<td><a href="Location-nsw-hospital-er.html">Emergency Room Building of NSW Hospital</a></td>
<td>nsw-hospital-er</td>
<td><a href="Location-nsw-hospital-er.xml.html">XML</a></td>
<td><a href="Location-nsw-hospital-er.json.html">JSON</a></td>
<td><a href="Location-nsw-hospital-er.ttl.html">Turtle</a></td>
</tr>
<tr>
<td><a href="Location-qld-hospital.html">Site of QLD Hospital</a></td>
<td>qld-hospital</td>
<td><a href="Location-qld-hospital.xml.html">XML</a></td>
<td><a href="Location-qld-hospital.json.html">JSON</a></td>
<td><a href="Location-qld-hospital.ttl.html">Turtle</a></td>
</tr>
<tr>
<td><a href="Location-qld-hospital-er.html">Emergency Room Building of QLD Hospital</a></td>
<td>qld-hospital-er</td>
<td><a href="Location-qld-hospital-er.xml.html">XML</a></td>
<td><a href="Location-qld-hospital-er.json.html">JSON</a></td>
<td><a href="Location-qld-hospital-er.ttl.html">Turtle</a></td>
</tr>
<!--<tr>
<td colspan="5">Bundle examples:</td>
</tr>-->
</table>
Loading

0 comments on commit 2ad010c

Please sign in to comment.