Schedule-json

From Hiasobi - FHIR
Jump to: navigation, search
GET /Schedule?date=2017-10-14&actor=1&_include=Schedule:actor
Accept: application/fhir+json
{
    "resourceType": "Bundle",
    "id": "762d64c3-30e1-43fe-a671-644afa11a5ef",
    "meta": {
        "versionId": "20171014205737",
        "lastUpdated": "2017-10-14T09:57:37.837+00:00"
    },
    "type": "searchset",
    "total": 2,
    "link": [
        {
            "relation": "self",
            "url": "https://localhost.oridashi.com.au:8102/Schedule?date=2017-10-14&actor=1&_include=Schedule:actor&_format=json"
        },
        {
            "relation": "last",
            "url": "https://localhost.oridashi.com.au:8102/Schedule?date=2017-10-14&actor=1&_include=Schedule:actor&_format=json&_page=1&_snapshot=636436114577959536"
        }
    ],
    "entry": [
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Schedule/1-20171014-32400-10800-900",
            "resource": {
                "resourceType": "Schedule",
                "id": "1-20171014-32400-10800-900",
                "meta": {
                    "versionId": "20171014095737",
                    "lastUpdated": "2017-10-14T09:57:37.806+00:00"
                },
                "extension": [
                    {
                        "url": "http://oridashi.com.au/fhir/Profile/schedule-extensions#default-duration",
                        "valueQuantity": {
                            "value": 900,
                            "unit": "s"
                        }
                    }
                ],
                "actor": [
                    {
                        "reference": "Practitioner/1"
                    },
                    {
                        "reference": "Location/0"
                    }
                ],
                "planningHorizon": {
                    "start": "2017-10-14T09:00:00+11:00",
                    "end": "2017-10-14T12:00:00+11:00"
                }
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Practitioner/1",
            "resource": {
                "resourceType": "Practitioner",
                "id": "1",
                "meta": {
                    "versionId": "20170602044032",
                    "lastUpdated": "2017-06-02T04:40:32+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>D'Sousa, Frederick Tao</p></div>"
                },
                "identifier": [
                    {
                        "use": "usual",
                        "type": {
                            "coding": [
                                {
                                    "system": "http://hl7.org.au/v2/0203",
                                    "code": "PRESC",
                                    "display": "Prescriber Number"
                                }
                            ],
                            "text": "Prescriber Number"
                        },
                        "system": "http://ns.electronichealth.net.au/id/prescriber-number",
                        "value": "453221"
                    }
                ],
                "active": true,
                "name": [
                    {
                        "use": "official",
                        "family": "D'Sousa",
                        "given": [
                            "Frederick Tao"
                        ],
                        "prefix": [
                            "Dr"
                        ]
                    }
                ],
                "telecom": [
                    {
                        "system": "phone",
                        "value": "456131345",
                        "use": "home"
                    },
                    {
                        "system": "phone",
                        "value": "05645613121",
                        "use": "mobile"
                    },
                    {
                        "system": "email",
                        "value": "findacure@bpsoftware.com.au",
                        "use": "work"
                    }
                ]
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Location/0",
            "resource": {
                "resourceType": "Location",
                "id": "0",
                "meta": {
                    "versionId": "20170919041016",
                    "lastUpdated": "2017-09-19T04:10:16+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Oridashi BP Test Practice</p></div>"
                },
                "status": "active",
                "name": "Oridashi BP Test Practice",
                "mode": "instance",
                "telecom": [
                    {
                        "system": "phone",
                        "value": "0423083847",
                        "use": "work"
                    },
                    {
                        "system": "fax",
                        "value": "0394951418",
                        "use": "work"
                    },
                    {
                        "system": "email",
                        "value": "frontdesk2@oridashi.com.au",
                        "use": "work"
                    }
                ],
                "address": {
                    "use": "work",
                    "line": [
                        "3 Main Street",
                        "Plaza Del Pinto"
                    ],
                    "city": "Thornbury",
                    "state": "VIC",
                    "postalCode": "3071"
                },
                "managingOrganization": {
                    "reference": "Organization/0"
                }
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Schedule/1-20171014-50400-10800-1800",
            "resource": {
                "resourceType": "Schedule",
                "id": "1-20171014-50400-10800-1800",
                "meta": {
                    "versionId": "20171014095737",
                    "lastUpdated": "2017-10-14T09:57:37.819+00:00"
                },
                "extension": [
                    {
                        "url": "http://oridashi.com.au/fhir/Profile/schedule-extensions#default-duration",
                        "valueQuantity": {
                            "value": 1800,
                            "unit": "s"
                        }
                    }
                ],
                "actor": [
                    {
                        "reference": "Practitioner/1"
                    },
                    {
                        "reference": "Location/0"
                    }
                ],
                "planningHorizon": {
                    "start": "2017-10-14T14:00:00+11:00",
                    "end": "2017-10-14T17:00:00+11:00"
                }
            }
        }
    ]
}