Slot-json

From Hiasobi - FHIR
Revision as of 21:34, 14 October 2017 by Brett Esler (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
GET /Slot?schedule=1-20171014-32400-10800-900
Accept: application/fhir+json
{
    "resourceType": "Bundle",
    "id": "ae1b011e-c2ea-4f99-bac1-75c2dd384fdc",
    "meta": {
        "versionId": "20171014210831",
        "lastUpdated": "2017-10-14T10:08:31.494+00:00"
    },
    "type": "searchset",
    "total": 12,
    "link": [
        {
            "relation": "self",
            "url": "https://localhost.oridashi.com.au:8102/Slot?schedule=1-20171014-32400-10800-900&_format=json"
        },
        {
            "relation": "last",
            "url": "https://localhost.oridashi.com.au:8102/Slot?schedule=1-20171014-32400-10800-900&_format=json&_page=1&_snapshot=636436121114839614"
        }
    ],
    "entry": [
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-32400-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-32400-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.493+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 09:00:00-09:15:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T09:00:00+11:00",
                "end": "2017-10-14T09:15:00+11:00",
                "overbooked": false
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-33300-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-33300-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.493+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 09:15:00-09:30:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T09:15:00+11:00",
                "end": "2017-10-14T09:30:00+11:00",
                "overbooked": false
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-34200-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-34200-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.493+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 09:30:00-09:45:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T09:30:00+11:00",
                "end": "2017-10-14T09:45:00+11:00",
                "overbooked": false
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-35100-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-35100-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.493+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 09:45:00-10:00:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T09:45:00+11:00",
                "end": "2017-10-14T10:00:00+11:00",
                "overbooked": false
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-36000-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-36000-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.493+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 10:00:00-10:15:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T10:00:00+11:00",
                "end": "2017-10-14T10:15:00+11:00",
                "overbooked": false
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-36900-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-36900-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.493+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 10:15:00-10:30:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T10:15:00+11:00",
                "end": "2017-10-14T10:30:00+11:00",
                "overbooked": false
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-37800-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-37800-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.493+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 10:30:00-10:45:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T10:30:00+11:00",
                "end": "2017-10-14T10:45:00+11:00",
                "overbooked": false
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-38700-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-38700-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.493+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 10:45:00-11:00:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T10:45:00+11:00",
                "end": "2017-10-14T11:00:00+11:00",
                "overbooked": false
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-39600-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-39600-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.493+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 11:00:00-11:15:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T11:00:00+11:00",
                "end": "2017-10-14T11:15:00+11:00",
                "overbooked": false
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-40500-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-40500-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.493+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 11:15:00-11:30:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T11:15:00+11:00",
                "end": "2017-10-14T11:30:00+11:00",
                "overbooked": false
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-41400-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-41400-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.493+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 11:30:00-11:45:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T11:30:00+11:00",
                "end": "2017-10-14T11:45:00+11:00",
                "overbooked": false
            }
        },
        {
            "fullUrl": "https://localhost.oridashi.com.au:8102/Slot/1-20171014-32400-10800-900-42300-900-1-F",
            "resource": {
                "resourceType": "Slot",
                "id": "1-20171014-32400-10800-900-42300-900-1-F",
                "meta": {
                    "versionId": "20171014100831",
                    "lastUpdated": "2017-10-14T10:08:31.494+00:00"
                },
                "text": {
                    "status": "generated",
                    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>14-10-2017 11:45:00-12:00:00</p></div>"
                },
                "schedule": {
                    "reference": "Schedule/1-20171014-32400-10800-900"
                },
                "status": "free",
                "start": "2017-10-14T11:45:00+11:00",
                "end": "2017-10-14T12:00:00+11:00",
                "overbooked": false
            }
        }
    ]
}