Difference between revisions of "Schedule-xml"
From Hiasobi - FHIR
Brett Esler (Talk | contribs) |
Brett Esler (Talk | contribs) |
||
| Line 1: | Line 1: | ||
| + | <pre> | ||
| + | GET [base]/Schedule?date=2017-10-14&actor=1&_include=Schedule:actor | ||
| + | Accept: application/fhir+xml | ||
| + | </pre> | ||
| + | |||
<pre> | <pre> | ||
<Bundle xmlns="http://hl7.org/fhir"> | <Bundle xmlns="http://hl7.org/fhir"> | ||
Revision as of 21:31, 14 October 2017
GET [base]/Schedule?date=2017-10-14&actor=1&_include=Schedule:actor Accept: application/fhir+xml
<Bundle xmlns="http://hl7.org/fhir">
<id value="c9ad2b1d-440e-42bd-9b9a-229104a8b1e4" />
<meta>
<versionId value="20171014203851" />
<lastUpdated value="2017-10-14T09:38:51.101+00:00" />
</meta>
<type value="searchset" />
<total value="2" />
<link>
<relation value="self" />
<url value="https://localhost.oridashi.com.au:8102/Schedule?date=2017-10-14&actor=1&_include=Schedule:actor" />
</link>
<link>
<relation value="last" />
<url value="https://localhost.oridashi.com.au:8102/Schedule?date=2017-10-14&actor=1&_include=Schedule:actor&_page=1&_snapshot=636436103310503751" />
</link>
<entry>
<fullUrl value="https://localhost.oridashi.com.au:8102/Schedule/1-20171014-32400-10800-900" />
<resource>
<Schedule>
<id value="1-20171014-32400-10800-900" />
<meta>
<versionId value="20171014093851" />
<lastUpdated value="2017-10-14T09:38:51.07+00:00" />
</meta>
<extension url="http://oridashi.com.au/fhir/Profile/schedule-extensions#default-duration">
<valueQuantity>
<value value="900" />
<unit value="s" />
</valueQuantity>
</extension>
<actor>
<reference value="Practitioner/1" />
</actor>
<actor>
<reference value="Location/0" />
</actor>
<planningHorizon>
<start value="2017-10-14T09:00:00+11:00" />
<end value="2017-10-14T12:00:00+11:00" />
</planningHorizon>
</Schedule>
</resource>
</entry>
<entry>
<fullUrl value="https://localhost.oridashi.com.au:8102/Practitioner/1" />
<resource>
<Practitioner>
<id value="1" />
<meta>
<versionId value="20170602044032" />
<lastUpdated value="2017-06-02T04:40:32+00:00" />
</meta>
<text>
<status value="generated" />
<div xmlns="http://www.w3.org/1999/xhtml">
<p>D'Sousa, Frederick Tao</p>
</div>
</text>
<identifier>
<use value="usual" />
<type>
<coding>
<system value="http://hl7.org.au/v2/0203" />
<code value="PRESC" />
<display value="Prescriber Number" />
</coding>
<text value="Prescriber Number" />
</type>
<system value="http://ns.electronichealth.net.au/id/prescriber-number" />
<value value="453221" />
</identifier>
<active value="true" />
<name>
<use value="official" />
<family value="D'Sousa" />
<given value="Frederick Tao" />
<prefix value="Dr" />
</name>
<telecom>
<system value="phone" />
<value value="456131345" />
<use value="home" />
</telecom>
<telecom>
<system value="phone" />
<value value="05645613121" />
<use value="mobile" />
</telecom>
<telecom>
<system value="email" />
<value value="findacure@bpsoftware.com.au" />
<use value="work" />
</telecom>
</Practitioner>
</resource>
</entry>
<entry>
<fullUrl value="https://localhost.oridashi.com.au:8102/Location/0" />
<resource>
<Location>
<id value="0" />
<meta>
<versionId value="20170919041016" />
<lastUpdated value="2017-09-19T04:10:16+00:00" />
</meta>
<text>
<status value="generated" />
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Oridashi BP Test Practice</p>
</div>
</text>
<status value="active" />
<name value="Oridashi BP Test Practice" />
<mode value="instance" />
<telecom>
<system value="phone" />
<value value="0423083847" />
<use value="work" />
</telecom>
<telecom>
<system value="fax" />
<value value="0394951418" />
<use value="work" />
</telecom>
<telecom>
<system value="email" />
<value value="frontdesk2@oridashi.com.au" />
<use value="work" />
</telecom>
<address>
<use value="work" />
<line value="3 Main Street" />
<line value="Plaza Del Pinto" />
<city value="Thornbury" />
<state value="VIC" />
<postalCode value="3071" />
</address>
<managingOrganization>
<reference value="Organization/0" />
</managingOrganization>
</Location>
</resource>
</entry>
<entry>
<fullUrl value="https://localhost.oridashi.com.au:8102/Schedule/1-20171014-50400-10800-1800" />
<resource>
<Schedule>
<id value="1-20171014-50400-10800-1800" />
<meta>
<versionId value="20171014093851" />
<lastUpdated value="2017-10-14T09:38:51.089+00:00" />
</meta>
<extension url="http://oridashi.com.au/fhir/Profile/schedule-extensions#default-duration">
<valueQuantity>
<value value="1800" />
<unit value="s" />
</valueQuantity>
</extension>
<actor>
<reference value="Practitioner/1" />
</actor>
<actor>
<reference value="Location/0" />
</actor>
<planningHorizon>
<start value="2017-10-14T14:00:00+11:00" />
<end value="2017-10-14T17:00:00+11:00" />
</planningHorizon>
</Schedule>
</resource>
</entry>
</Bundle>