Submit-xml
From Hiasobi - FHIR
POST / Content-Type: application/fhir+xml
Body
<Bundle xmlns="http://hl7.org/fhir"> <id value="1b5f843d-c73a-42bf-b4a9-8caa135db4f7"/> <type value="transaction"/> <total value="16"/> <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> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-32400-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-32400-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 09:00:00-09:15:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T09:00:00+11:00"/> <end value="2017-10-14T09:15:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-33300-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-33300-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 09:15:00-09:30:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T09:15:00+11:00"/> <end value="2017-10-14T09:30:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-34200-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-34200-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 09:30:00-09:45:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T09:30:00+11:00"/> <end value="2017-10-14T09:45:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-35100-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-35100-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 09:45:00-10:00:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T09:45:00+11:00"/> <end value="2017-10-14T10:00:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-36000-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-36000-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 10:00:00-10:15:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T10:00:00+11:00"/> <end value="2017-10-14T10:15:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-36900-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-36900-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 10:15:00-10:30:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T10:15:00+11:00"/> <end value="2017-10-14T10:30:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-37800-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-37800-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 10:30:00-10:45:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T10:30:00+11:00"/> <end value="2017-10-14T10:45:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-38700-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-38700-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 10:45:00-11:00:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T10:45:00+11:00"/> <end value="2017-10-14T11:00:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-39600-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-39600-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 11:00:00-11:15:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T11:00:00+11:00"/> <end value="2017-10-14T11:15:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-40500-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-40500-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 11:15:00-11:30:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T11:15:00+11:00"/> <end value="2017-10-14T11:30:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-41400-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-41400-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 11:30:00-11:45:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T11:30:00+11:00"/> <end value="2017-10-14T11:45:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> <entry> <fullUrl value="https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-42300-900-1-F"/> <resource> <Slot> <id value="1-20171014-32400-10800-900-42300-900-1-F"/> <meta> <versionId value="20171014101359"/> <lastUpdated value="2017-10-14T10:13:59.457+00:00"/> </meta> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>14-10-2017 11:45:00-12:00:00</p> </div> </text> <schedule> <reference value="Schedule/1-20171014-32400-10800-900"/> </schedule> <status value="free"/> <start value="2017-10-14T11:45:00+11:00"/> <end value="2017-10-14T12:00:00+11:00"/> <overbooked value="false"/> </Slot> </resource> </entry> </Bundle>