-
Notifications
You must be signed in to change notification settings - Fork 4
List appointments
Oridashi edited this page Mar 19, 2020
·
1 revision
- get appointments for today
- include practitioner and patient
Request
GET http://demo.oridashi.com.au:8304/Appointment?_include=Appointment:actor&date=2020-03-19
Response
{ "resourceType": "Bundle", "id": "f95bd409-a7b0-4c70-ac5e-a773532617c0", "meta": { "versionId": "20200319125858", "lastUpdated": "2020-03-19T01:58:58.5919781+00:00" }, "type": "searchset", "total": 2, "link": [ { "relation": "self", "url": "http://demo.oridashi.com.au:8304/Appointment?_include=Appointment:actor&date=2020-03-19&_format=json" }, { "relation": "last", "url": "http://demo.oridashi.com.au:8304/Appointment?_include=Appointment:actor&date=2020-03-19&_format=json&_page=1&_snapshot=637202195380165291" } ], "entry": [ { "fullUrl": "http://demo.oridashi.com.au:8304/Appointment/B5C410B1158847ACA70C0FC83B4C2888.1432", "resource": { "resourceType": "Appointment", "id": "B5C410B1158847ACA70C0FC83B4C2888.1432", "meta": { "versionId": "20200319003724", "lastUpdated": "2020-03-19T00:37:24.943+00:00" }, "status": "arrived", "serviceCategory": [ { "coding": [ { "system": "http://oridashi.com.au/system/code/bestpracticeappointmenttype", "code": "1" } ] } ], "start": "2020-03-19T10:45:00+11:00", "end": "2020-03-19T11:00:00+11:00", "participant": [ { "actor": { "reference": "Practitioner/B5C410B1158847ACA70C0FC83B4C2888.1" }, "status": "accepted" }, { "actor": { "reference": "Patient/B5C410B1158847ACA70C0FC83B4C2888.9" }, "status": "accepted" } ] } }, { "fullUrl": "http://demo.oridashi.com.au:8304/Practitioner/B5C410B1158847ACA70C0FC83B4C2888.1", "resource": { "resourceType": "Practitioner", "id": "B5C410B1158847ACA70C0FC83B4C2888.1", "meta": { "versionId": "20191007055915", "lastUpdated": "2019-10-07T05:59:15+00:00" }, "text": { "status": "generated", "div": "" }, "identifier": [ { "use": "usual", "type": { "coding": [ { "system": "http://terminology.hl7.org.au/CodeSystem/v2-0203", "code": "PRESC", "display": "Prescriber Number" } ], "text": "Prescriber Number" }, "system": "http://ns.electronichealth.net.au/id/medicare-prescriber-number", "value": "453221" }, { "use": "usual", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "code": "NPI", "display": "National provider identifier" } ], "text": "HPI-I" }, "system": "http://ns.electronichealth.net.au/id/hi/hpii/1.0", "value": "8003619900015717" } ], "active": true, "name": [ { "use": "official", "family": "Findacure", "given": [ "Frederick" ], "prefix": [ "Dr" ] } ], "telecom": [ { "system": "phone", "value": "456131345", "use": "home" }, { "system": "phone", "value": "05645613121", "use": "mobile" }, { "system": "email", "value": "[email protected]", "use": "work" } ] } }, { "fullUrl": "http://demo.oridashi.com.au:8304/Patient/B5C410B1158847ACA70C0FC83B4C2888.9", "resource": { "resourceType": "Patient", "id": "B5C410B1158847ACA70C0FC83B4C2888.9", "meta": { "versionId": "20120329225305", "lastUpdated": "2012-03-29T22:53:05+00:00" }, "text": { "status": "generated", "div": "Findacure, Frederick
" }, "extension": [ { "url": "http://hl7.org.au/fhir/StructureDefinition/indigenous-status", "valueCoding": { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "9", "display": "Not stated/inadequately described" } } ], "identifier": [ { "use": "usual", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "code": "MC", "display": "Patient's Medicare Number" } ], "text": "Medicare Number" }, "system": "http://ns.electronichealth.net.au/id/medicare-number", "value": "22345678911" }, { "use": "usual", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "code": "MB", "display": "Member Number" } ], "text": "Health Fund Number" }, "value": "789431564", "assigner": { "display": "Medihealthy" } } ], "active": true, "name": [ { "use": "usual", "family": "Allen", "given": [ "Janelle" ], "prefix": [ "Mrs." ] }, { "use": "nickname", "text": "Janelle" } ], "telecom": [ { "system": "phone", "value": "0899905050", "use": "home" }, { "system": "phone", "value": "1300999787", "use": "work" }, { "system": "phone", "value": "097561238", "use": "mobile" }, { "system": "email", "value": "[email protected]", "use": "home" } ], "gender": "female", "birthDate": "1965-01-24", "deceasedBoolean": false, "address": [ { "use": "home", "type": "physical", "line": [ "22 Star Street" ], "city": "Fremantle", "state": "WA", "postalCode": "6160" } ], "maritalStatus": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", "code": "M", "display": "Married" } ], "text": "Married" }, "contact": [ { "relationship": [ { "coding": [ { "system": "http://hl7.org/fhir/patient-contact-relationship", "code": "family", "display": "Family" } ], "text": "Next of Kin" } ], "name": { "use": "usual", "family": "Allen", "given": [ "David" ], "prefix": [ "Mr." ] }, "telecom": [ { "system": "phone", "value": "0899905050", "use": "home" } ], "address": { "line": [ "22 Star Street" ], "city": "Fremantle", "postalCode": "6160" } } ], "generalPractitioner": [ { "reference": "Organization/B5C410B1158847ACA70C0FC83B4C2888.0" } ], "managingOrganization": { "reference": "Organization/B5C410B1158847ACA70C0FC83B4C2888.0" } } }, { "fullUrl": "http://demo.oridashi.com.au:8304/Appointment/B5C410B1158847ACA70C0FC83B4C2888.1431", "resource": { "resourceType": "Appointment", "id": "B5C410B1158847ACA70C0FC83B4C2888.1431", "meta": { "versionId": "20200319003514", "lastUpdated": "2020-03-19T00:35:14+00:00" }, "status": "booked", "serviceCategory": [ { "coding": [ { "system": "http://oridashi.com.au/system/code/bestpracticeappointmenttype", "code": "1" } ] } ], "start": "2020-03-19T10:30:00+11:00", "end": "2020-03-19T10:45:00+11:00", "participant": [ { "actor": { "reference": "Practitioner/B5C410B1158847ACA70C0FC83B4C2888.1" }, "status": "accepted" }, { "actor": { "reference": "Patient/B5C410B1158847ACA70C0FC83B4C2888.33" }, "status": "accepted" } ] } }, { "fullUrl": "http://demo.oridashi.com.au:8304/Patient/B5C410B1158847ACA70C0FC83B4C2888.33", "resource": { "resourceType": "Patient", "id": "B5C410B1158847ACA70C0FC83B4C2888.33", "meta": { "versionId": "20060222130000", "lastUpdated": "2006-02-22T13:00:00+00:00" }, "text": { "status": "generated", "div": "Allen, Janelle (Female 55y)
" }, "extension": [ { "url": "http://hl7.org.au/fhir/StructureDefinition/indigenous-status", "valueCoding": { "system": "https://healthterminologies.gov.au/fhir/CodeSystem/australian-indigenous-status-1", "code": "9", "display": "Not stated/inadequately described" } } ], "identifier": [ { "use": "usual", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "code": "MC", "display": "Patient's Medicare Number" } ], "text": "Medicare Number" }, "system": "http://ns.electronichealth.net.au/id/medicare-number", "value": "41331804661" }, { "use": "usual", "system": "http://ns.electronichealth.net.au/id/centrelink-customer-reference-number", "value": "123897586X" } ], "active": true, "name": [ { "use": "usual", "family": "Alfreds", "given": [ "David Charles" ] }, { "use": "nickname", "text": "David" } ], "telecom": [ { "system": "phone", "value": "0748759654", "use": "home" } ], "gender": "male", "birthDate": "1930-03-19", "deceasedBoolean": false, "address": [ { "use": "home", "type": "physical", "line": [ "481 Spence St" ], "city": "Oxley", "state": "QLD", "postalCode": "4075" } ], "maritalStatus": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", "code": "UNK", "display": "unknown" } ], "text": "Unknown" }, "contact": [ { "relationship": [ { "coding": [ { "system": "http://hl7.org/fhir/patient-contact-relationship", "code": "family", "display": "Family" } ], "text": "Next of Kin" }, { "text": "Wife" } ], "name": { "use": "usual", "family": "Alfreds", "given": [ "Gwenda" ], "prefix": [ "Mrs." ] }, "telecom": [ { "system": "phone", "value": "48759654", "use": "home" } ], "address": { "line": [ "481 Spence Street" ], "city": "Oxley", "postalCode": "2711" } } ], "generalPractitioner": [ { "reference": "Organization/B5C410B1158847ACA70C0FC83B4C2888.0" } ], "managingOrganization": { "reference": "Organization/B5C410B1158847ACA70C0FC83B4C2888.0" } } } ] }Alfreds, David Charles (Male 90y)