Difference between revisions of "Submit-json"

From Hiasobi - FHIR
Jump to: navigation, search
(Created page with "<pre> { "resourceType": "Bundle", "id": "4fc07761-959f-4f7c-8e46-d515555afde7", "type": "transaction", "total": 16, "entry": [ { "fullU...")
(No difference)

Revision as of 21:23, 14 October 2017

{
    "resourceType": "Bundle",
    "id": "4fc07761-959f-4f7c-8e46-d515555afde7",
    "type": "transaction",
    "total": 16,
    "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"
                }
            }
        },
		   "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
            }
        }
    ]
}