Skip to content

Instantly share code, notes, and snippets.

@dipkasyap
Created June 24, 2020 07:50
Show Gist options
  • Save dipkasyap/41a859b20837ab12761688681bc7b911 to your computer and use it in GitHub Desktop.
Save dipkasyap/41a859b20837ab12761688681bc7b911 to your computer and use it in GitHub Desktop.
{
"_embedded": {
"hospitals": [
{
"id": 1,
"name": "St Vincent's Hospital",
"waitingList": [
{
"patientCount": 10,
"levelOfPain": 0,
"averageProcessTime": 20
},
{
"patientCount": 5,
"levelOfPain": 1,
"averageProcessTime": 33
},
{
"patientCount": 1,
"levelOfPain": 2,
"averageProcessTime": 15
},
{
"patientCount": 10,
"levelOfPain": 3,
"averageProcessTime": 39
},
{
"patientCount": 2,
"levelOfPain": 4,
"averageProcessTime": 33
}
],
"location": {
"lat": -33.880409,
"lng": 151.220958
}
},
{
"id": 2,
"name": "Royal Prince Alfred Hospital",
"waitingList": [
{
"patientCount": 0,
"levelOfPain": 0,
"averageProcessTime": 60
},
{
"patientCount": 1,
"levelOfPain": 1,
"averageProcessTime": 15
},
{
"patientCount": 2,
"levelOfPain": 2,
"averageProcessTime": 16
},
{
"patientCount": 0,
"levelOfPain": 3,
"averageProcessTime": 87
},
{
"patientCount": 1,
"levelOfPain": 4,
"averageProcessTime": 71
}
],
"location": {
"lat": -33.889406,
"lng": 151.183488
}
},
{
"id": 3,
"name": "Royal North Shore Hospital",
"waitingList": [
{
"patientCount": 4,
"levelOfPain": 0,
"averageProcessTime": 75
},
{
"patientCount": 4,
"levelOfPain": 1,
"averageProcessTime": 25
},
{
"patientCount": 4,
"levelOfPain": 2,
"averageProcessTime": 5
},
{
"patientCount": 4,
"levelOfPain": 3,
"averageProcessTime": 60
},
{
"patientCount": 14,
"levelOfPain": 4,
"averageProcessTime": 87
}
],
"location": {
"lat": -33.820992,
"lng": 151.191415
}
},
{
"id": 4,
"name": "Sydney Children's Hospital",
"waitingList": [
{
"patientCount": 2,
"levelOfPain": 0,
"averageProcessTime": 30
},
{
"patientCount": 11,
"levelOfPain": 1,
"averageProcessTime": 29
},
{
"patientCount": 10,
"levelOfPain": 2,
"averageProcessTime": 44
},
{
"patientCount": 2,
"levelOfPain": 3,
"averageProcessTime": 16
},
{
"patientCount": 11,
"levelOfPain": 4,
"averageProcessTime": 75
}
],
"location": {
"lat": -33.917286,
"lng": 151.23767
}
},
{
"id": 5,
"name": "Prince of Wales Hospital",
"waitingList": [
{
"patientCount": 0,
"levelOfPain": 0,
"averageProcessTime": 23
},
{
"patientCount": 2,
"levelOfPain": 1,
"averageProcessTime": 20
},
{
"patientCount": 2,
"levelOfPain": 2,
"averageProcessTime": 28
},
{
"patientCount": 3,
"levelOfPain": 3,
"averageProcessTime": 25
},
{
"patientCount": 21,
"levelOfPain": 4,
"averageProcessTime": 65
}
],
"location": {
"lat": -33.91851,
"lng": 151.23897
}
},
{
"id": 6,
"name": "Ryde Hospital",
"waitingList": [
{
"patientCount": 1,
"levelOfPain": 0,
"averageProcessTime": 40
},
{
"patientCount": 1,
"levelOfPain": 1,
"averageProcessTime": 38
},
{
"patientCount": 1,
"levelOfPain": 2,
"averageProcessTime": 50
},
{
"patientCount": 4,
"levelOfPain": 3,
"averageProcessTime": 30
},
{
"patientCount": 4,
"levelOfPain": 4,
"averageProcessTime": 29
}
],
"location": {
"lat": -33.796271,
"lng": 151.089709
}
},
{
"id": 7,
"name": "Concord Repatriation General Hospital",
"waitingList": [
{
"patientCount": 5,
"levelOfPain": 0,
"averageProcessTime": 42
},
{
"patientCount": 1,
"levelOfPain": 1,
"averageProcessTime": 16
},
{
"patientCount": 2,
"levelOfPain": 2,
"averageProcessTime": 80
},
{
"patientCount": 5,
"levelOfPain": 3,
"averageProcessTime": 44
},
{
"patientCount": 4,
"levelOfPain": 4,
"averageProcessTime": 23
}
],
"location": {
"lat": -33.835132,
"lng": 151.096655
}
},
{
"id": 8,
"name": "St George Hospital",
"waitingList": [
{
"patientCount": 5,
"levelOfPain": 0,
"averageProcessTime": 11
},
{
"patientCount": 5,
"levelOfPain": 1,
"averageProcessTime": 42
},
{
"patientCount": 5,
"levelOfPain": 2,
"averageProcessTime": 37
},
{
"patientCount": 15,
"levelOfPain": 3,
"averageProcessTime": 39
},
{
"patientCount": 5,
"levelOfPain": 4,
"averageProcessTime": 68
}
],
"location": {
"lat": -33.965493,
"lng": 151.134032
}
},
{
"id": 9,
"name": "Northern Beaches Hospital",
"waitingList": [
{
"patientCount": 10,
"levelOfPain": 0,
"averageProcessTime": 21
},
{
"patientCount": 10,
"levelOfPain": 1,
"averageProcessTime": 41
},
{
"patientCount": 21,
"levelOfPain": 2,
"averageProcessTime": 39
},
{
"patientCount": 10,
"levelOfPain": 3,
"averageProcessTime": 40
},
{
"patientCount": 10,
"levelOfPain": 4,
"averageProcessTime": 38
}
],
"location": {
"lat": -33.7504,
"lng": 151.2326
}
},
{
"id": 10,
"name": "Auburn Hospital & Community Health Services",
"waitingList": [
{
"patientCount": 1,
"levelOfPain": 0,
"averageProcessTime": 36
},
{
"patientCount": 6,
"levelOfPain": 1,
"averageProcessTime": 20
},
{
"patientCount": 3,
"levelOfPain": 2,
"averageProcessTime": 18
},
{
"patientCount": 4,
"levelOfPain": 3,
"averageProcessTime": 50
},
{
"patientCount": 6,
"levelOfPain": 4,
"averageProcessTime": 4
}
],
"location": {
"lat": -33.860402,
"lng": 151.03362
}
}
]
},
"_links": {
"self": {
"href": "http://dmmw-api.australiaeast.cloudapp.azure.com:8080/hospitals"
},
"next": {
"href": "http://dmmw-api.australiaeast.cloudapp.azure.com:8080/hospitals?limit=10&page=1"
}
},
"page": {
"size": 10,
"totalElements": 23,
"totalPages": 2,
"number": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment