Skip to content

Instantly share code, notes, and snippets.

@pavan-idapalapati
Created June 7, 2018 14:38
Show Gist options
  • Save pavan-idapalapati/95b99987bb788c20ba11222880dd82f3 to your computer and use it in GitHub Desktop.
Save pavan-idapalapati/95b99987bb788c20ba11222880dd82f3 to your computer and use it in GitHub Desktop.
patients Response
{
"data": [
{
"id": "P100207",
"external_id": "",
"provider": null,
"firstName": "Bill",
"middleName": "k",
"lastName": "Johnson",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "12\/05\/1942",
"height": "510",
"weight": "154",
"diagnosis": "",
"infectious_disease": false,
"infectious_disease_description": "",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "2141425144",
"phone_type": "Mobile",
"alt_phone": "",
"alt_phone_type": "",
"email": "",
"addresses": [
{
"id": 69,
"use": "home",
"type": "Facility",
"facility_type": "",
"facility_name": "Na Facility",
"context": "",
"address1": "09752 Co Rd 33A",
"address2": "",
"city": "Wapakoneta",
"state": "OH",
"zip": "45895",
"country": "USA",
"primary_phone": "465.656.5654",
"primary_phone_type": "landline",
"longitude": "-84.26364899999999",
"latitude": "40.5572797",
"primary": false,
"unit_number": "55"
},
{
"id": 66,
"use": "old",
"type": "Facility",
"facility_type": "",
"facility_name": "hospice",
"context": "",
"address1": "232 Market St",
"address2": "",
"city": "Philadelphia",
"state": "PA",
"zip": "19106",
"country": "USA",
"primary_phone": "656.565.6565",
"primary_phone_type": "landline",
"longitude": "-75.14504320000003",
"latitude": "39.9499429",
"primary": false,
"unit_number": "66"
},
{
"id": 65,
"use": "home",
"type": "Facility",
"facility_type": "",
"facility_name": "Strcher",
"context": "",
"address1": "7-45 Wyckoff Ave",
"address2": "",
"city": "Flushing",
"state": "NY",
"zip": "11385",
"country": "USA",
"primary_phone": "343.433.4343",
"primary_phone_type": "landline",
"longitude": "-73.91021230000001",
"latitude": "40.6991777",
"primary": false,
"unit_number": "95"
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 67,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": true,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 68,
"opt_out": true
}
],
"nurses": [
{
"id": 21,
"first": "kamal",
"middle": null,
"last": "leo",
"phone": "365.656.5656",
"alt_phone": null,
"email": "kaml@gmail.com",
"active": true,
"notes": "",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 25
}
],
"notes": [
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 6,
"orders": [
"100043",
"100044",
"100045",
"100046",
"100047",
"100048"
]
},
"orders": [
{
"id": 100042,
"external_id": "",
"nsId": 0,
"orderType": "Delivery",
"urgency": "Morning",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-08T03:30:00Z",
"serviceDateTimeStart": "2018-06-08T03:30:00Z",
"serviceDateTimeEnd": "2018-06-08T07:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-06-07T07:41:25Z",
"suborders": [
],
"status": {
"internal": "Canceled",
"external": "Canceled",
"description": "Order \/ Job has been canceled",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-06-07 07:45:45",
"updated_at": "2018-06-07 07:45:45"
}
},
{
"id": 100043,
"external_id": "",
"nsId": 84879,
"orderType": "Delivery",
"urgency": "Morning",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-08T03:30:00Z",
"serviceDateTimeStart": "2018-06-08T03:30:00Z",
"serviceDateTimeEnd": "2018-06-08T07:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-06-07T07:47:31Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-06-07 07:47:40",
"updated_at": "2018-06-07 07:47:40"
}
},
{
"id": 100044,
"external_id": "",
"nsId": 85280,
"orderType": "Delivery",
"urgency": "Morning",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-08T03:30:00Z",
"serviceDateTimeStart": "2018-06-08T03:30:00Z",
"serviceDateTimeEnd": "2018-06-08T07:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-06-07T08:15:33Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-06-07 08:15:39",
"updated_at": "2018-06-07 08:15:39"
}
},
{
"id": 100045,
"external_id": "",
"nsId": 86385,
"orderType": "Delivery",
"urgency": "Morning",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-08T03:30:00Z",
"serviceDateTimeStart": "2018-06-08T03:30:00Z",
"serviceDateTimeEnd": "2018-06-08T07:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-06-07T11:22:06Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-06-07 11:22:16",
"updated_at": "2018-06-07 11:22:16"
}
},
{
"id": 100046,
"external_id": "",
"nsId": 86283,
"orderType": "Delivery",
"urgency": "Standard",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-07T15:30:00Z",
"serviceDateTimeStart": "2018-06-07T15:30:00Z",
"serviceDateTimeEnd": "2018-06-07T19:32:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-06-07T11:32:02Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-06-07 11:32:09",
"updated_at": "2018-06-07 11:32:09"
}
},
{
"id": 100047,
"external_id": "",
"nsId": 0,
"orderType": "Delivery",
"urgency": "Morning",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-08T03:30:00Z",
"serviceDateTimeStart": "2018-06-08T03:30:00Z",
"serviceDateTimeEnd": "2018-06-08T07:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-06-07T11:42:51Z",
"suborders": [
],
"status": {
"internal": "Submitted",
"external": "Received",
"description": "Order has been entered in HMS3 and not sent to NS",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-06-07 11:42:51",
"updated_at": "2018-06-07 11:42:51"
}
},
{
"id": 100048,
"external_id": "",
"nsId": 86583,
"orderType": "Delivery",
"urgency": "Morning",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-08T03:30:00Z",
"serviceDateTimeStart": "2018-06-08T03:30:00Z",
"serviceDateTimeEnd": "2018-06-08T07:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-06-07T11:47:53Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-06-07 11:48:03",
"updated_at": "2018-06-07 11:48:03"
}
}
]
},
{
"id": "P100206",
"external_id": "",
"provider": null,
"firstName": "Brian",
"middleName": "",
"lastName": "Jones",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "12\/14\/1942",
"height": "510",
"weight": "210",
"diagnosis": "",
"infectious_disease": false,
"infectious_disease_description": "",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "2141544564",
"phone_type": "Mobile",
"alt_phone": "",
"alt_phone_type": "",
"email": "",
"addresses": [
{
"id": 77,
"use": "home",
"type": "Personal Residence",
"facility_type": "",
"facility_name": "",
"context": "",
"address1": "1717 W Chandler Blvd",
"address2": "",
"city": "Chandler",
"state": "AZ",
"zip": "85224",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-111.87129770000001",
"latitude": "33.30554929999999",
"primary": false,
"unit_number": "t"
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 65,
"opt_out": false,
"first": "Janet",
"middle": "",
"last": "Jones",
"relationship": "Wife",
"phone": "214.562.0021",
"alt_phone": "",
"email": "",
"same_as_patient": false,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 66,
"opt_out": true
}
],
"nurses": [
{
"id": 21,
"first": "kamal",
"middle": null,
"last": "leo",
"phone": "365.656.5656",
"alt_phone": null,
"email": "kaml@gmail.com",
"active": true,
"notes": "",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 25
}
],
"notes": [
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 0,
"orders": null
},
"orders": [
]
},
{
"id": "P100200",
"external_id": "",
"provider": null,
"firstName": "Venkateshwar",
"middleName": "",
"lastName": "kamlekar",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "05\/05\/2018",
"height": "45",
"weight": "453",
"diagnosis": "",
"infectious_disease": false,
"infectious_disease_description": "",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "0950249802",
"phone_type": "landline",
"alt_phone": "",
"alt_phone_type": "",
"email": "kamlekar.venkatesh@gmail.com",
"addresses": [
{
"id": 71,
"use": "home",
"type": "Personal Residence",
"facility_type": "",
"facility_name": "",
"context": "",
"address1": "87 7th Ave",
"address2": "",
"city": "New York",
"state": "NY",
"zip": "10011",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-73.99899169999998",
"latitude": "40.73940350000001",
"primary": true,
"unit_number": ""
},
{
"id": 58,
"use": "home",
"type": "Facility",
"facility_type": "",
"facility_name": "Nurse facility",
"context": "",
"address1": "124 Market St",
"address2": "",
"city": "Philadelphia",
"state": "PA",
"zip": "19106",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-75.14327700000001",
"latitude": "39.9496657",
"primary": false,
"unit_number": ""
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 53,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": true,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 54,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": false,
"active": true,
"primary": false,
"emergency": true,
"secondary": false,
"notes": ""
}
],
"nurses": [
{
"id": 20,
"first": "Jioh",
"middle": null,
"last": "Jioh",
"phone": null,
"alt_phone": null,
"email": "fdsfsdfs@dfdf.cojf",
"active": true,
"notes": "dsfsdfs fsdfsdfdsfsdf f fdsf",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2638,
"company": "Collabria Care",
"description": "Collabria - Napa, CA",
"address1": "414 S Jefferson St",
"city": "Napa",
"primary": false,
"escalation_group": null
},
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 4
}
],
"notes": [
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 0,
"orders": null
},
"orders": [
]
},
{
"id": "P100199",
"external_id": "123",
"provider": null,
"firstName": "john",
"middleName": "",
"lastName": "Jackson",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "05\/03\/1973",
"height": "55",
"weight": "50",
"diagnosis": "",
"infectious_disease": false,
"infectious_disease_description": "",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "1212545454",
"phone_type": "Mobile",
"alt_phone": "",
"alt_phone_type": "",
"email": "john@gmail.com",
"addresses": [
{
"id": 70,
"use": "home",
"type": "Personal Residence",
"facility_type": "",
"facility_name": "",
"context": "",
"address1": "124 Market St",
"address2": "",
"city": "Philadelphia",
"state": "PA",
"zip": "19106",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-75.14327700000001",
"latitude": "39.9496657",
"primary": false,
"unit_number": ""
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 51,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": true,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 52,
"opt_out": true
}
],
"nurses": [
{
"id": 21,
"first": "kamal",
"middle": null,
"last": "leo",
"phone": "365.656.5656",
"alt_phone": null,
"email": "kaml@gmail.com",
"active": true,
"notes": "",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 25
}
],
"notes": [
{
"note": "test notes",
"user": null,
"created_at": "2018-06-04T09:21:37Z"
},
{
"note": "test notes2",
"user": null,
"created_at": "2018-06-04T09:22:04Z"
},
{
"note": "test notes 3",
"user": null,
"created_at": "2018-06-04T09:22:36Z"
}
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 0,
"orders": null
},
"orders": [
]
},
{
"id": "P100198",
"external_id": "",
"provider": null,
"firstName": "sam",
"middleName": "f",
"lastName": "Henry",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "05\/04\/2018",
"height": "44",
"weight": "44",
"diagnosis": "",
"infectious_disease": true,
"infectious_disease_description": "fggg",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "4354534353",
"phone_type": "landline",
"alt_phone": "4354534354",
"alt_phone_type": "landline",
"email": "",
"addresses": [
{
"id": 63,
"use": "old",
"type": "Facility",
"facility_type": "",
"facility_name": "Nurse1",
"context": "",
"address1": "1225 Broadway",
"address2": "",
"city": "New York",
"state": "NY",
"zip": "10001",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-73.98862869999999",
"latitude": "40.7466693",
"primary": true,
"unit_number": ""
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 49,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": true,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 50,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": false,
"active": true,
"primary": false,
"emergency": true,
"secondary": false,
"notes": ""
}
],
"nurses": [
{
"id": 18,
"first": "Janeee",
"middle": "Amanda",
"last": "DOEE",
"phone": "458.848.4848",
"alt_phone": null,
"email": "jane@gmail.com",
"active": true,
"notes": "",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2638,
"company": "Collabria Care",
"description": "Collabria - Napa, CA",
"address1": "414 S Jefferson St",
"city": "Napa",
"primary": false,
"escalation_group": null
},
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 0
}
],
"notes": [
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 0,
"orders": null
},
"orders": [
]
},
{
"id": "P100197",
"external_id": "",
"provider": null,
"firstName": "Ayeme",
"middleName": "J",
"lastName": "John",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "05\/07\/2018",
"height": "33",
"weight": "3",
"diagnosis": "",
"infectious_disease": true,
"infectious_disease_description": "anrawS",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "3434343434",
"phone_type": "landline",
"alt_phone": "4545454545",
"alt_phone_type": "Mobile",
"email": "",
"addresses": [
{
"id": 62,
"use": "old",
"type": "Facility",
"facility_type": "",
"facility_name": "Nurse facility",
"context": "",
"address1": "CU-9 International Dr",
"address2": "",
"city": "Orlando",
"state": "FL",
"zip": "32821",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-81.48039419999998",
"latitude": "28.38756189999999",
"primary": true,
"unit_number": ""
},
{
"id": 65,
"use": "home",
"type": "Facility",
"facility_type": "",
"facility_name": "Strcher",
"context": "",
"address1": "7-45 Wyckoff Ave",
"address2": "",
"city": "Flushing",
"state": "NY",
"zip": "11385",
"country": "USA",
"primary_phone": "343.433.4343",
"primary_phone_type": "landline",
"longitude": "-73.91021230000001",
"latitude": "40.6991777",
"primary": false,
"unit_number": ""
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 47,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": true,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 48,
"opt_out": false,
"first": "warlu",
"middle": "",
"last": "Venh",
"relationship": "dsfsdff",
"phone": "343.434.3434",
"alt_phone": "",
"email": "swarna@dfdf.comm",
"same_as_patient": false,
"active": true,
"primary": false,
"emergency": true,
"secondary": false,
"notes": ""
}
],
"nurses": [
{
"id": 8,
"first": "Toni j",
"middle": null,
"last": "Fowler",
"phone": "214.555.4321",
"alt_phone": "464.646.4646",
"email": "toni@example.com",
"active": true,
"notes": "This was set up by Gareth. Primary is Yolo. Added Blossom Ridge for testing",
"image_url": "",
"primary": false,
"branches": [
{
"id": 3628,
"company": "Blossom Ridge Home Health Agency, LLC",
"description": "Blossom Ridge - Sacramento, CA",
"address1": "1321 20th St; Ste H",
"city": "Sacramento",
"primary": false,
"escalation_group": null
},
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 78
}
],
"notes": [
{
"note": "test notes",
"user": null,
"created_at": "2018-06-04T09:04:22Z"
}
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 3,
"orders": [
"100021",
"100022",
"100023"
]
},
"orders": [
{
"id": 100021,
"external_id": "",
"nsId": 65528,
"orderType": "Delivery",
"urgency": "Anytime",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-01T02:30:00Z",
"serviceDateTimeStart": "2018-06-01T02:30:00Z",
"serviceDateTimeEnd": "2018-06-01T14:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T12:25:51Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 12:25:59",
"updated_at": "2018-05-31 12:25:59"
}
},
{
"id": 100022,
"external_id": "",
"nsId": 65529,
"orderType": "Delivery",
"urgency": "Standard",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-05-31T16:30:00Z",
"serviceDateTimeStart": "2018-05-31T16:30:00Z",
"serviceDateTimeEnd": "2018-05-31T20:41:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T12:36:52Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 12:36:58",
"updated_at": "2018-05-31 12:36:58"
}
},
{
"id": 100023,
"external_id": "",
"nsId": 65429,
"orderType": "Delivery",
"urgency": "Evening",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-02T11:30:00Z",
"serviceDateTimeStart": "2018-06-02T11:30:00Z",
"serviceDateTimeEnd": "2018-06-02T15:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T12:48:12Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 12:48:21",
"updated_at": "2018-05-31 12:48:21"
}
}
]
},
{
"id": "P100196",
"external_id": "",
"provider": null,
"firstName": "Simon",
"middleName": "",
"lastName": "Peter",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "07\/05\/1990",
"height": "61",
"weight": "185",
"diagnosis": "",
"infectious_disease": false,
"infectious_disease_description": "jadghjsgajhgjdhaghjsdgahjgjshdaghjdjfagjhdaghjgjagagjagjadjgadghaghghdaghgdahfgjgdjhjhy87878787899d89hgjsdfygdsghdgsjhfdjssyuagfgdshaggfhjgsjdjhskjssdf",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "7987888787",
"phone_type": "Mobile",
"alt_phone": "8888878667",
"alt_phone_type": "Mobile",
"email": "simon@gmail.com",
"addresses": [
{
"id": 57,
"use": "home",
"type": "Personal Residence",
"facility_type": "",
"facility_name": "",
"context": "",
"address1": "e808 El Camino Real",
"address2": "",
"city": "Burlingame",
"state": "CA",
"zip": "94010",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-122.36003870000002",
"latitude": "37.58090479999999",
"primary": true,
"unit_number": ""
},
{
"id": 59,
"use": "home",
"type": "Facility",
"facility_type": "",
"facility_name": "Nurse facility",
"context": "",
"address1": "116 Market St",
"address2": "",
"city": "Philadelphia",
"state": "PA",
"zip": "19106",
"country": "USA",
"primary_phone": "987.988.8897",
"primary_phone_type": "",
"longitude": "-75.1428439",
"latitude": "39.94964239999999",
"primary": false,
"unit_number": ""
},
{
"id": 58,
"use": "home",
"type": "Facility",
"facility_type": "",
"facility_name": "Nurse facility",
"context": "",
"address1": "124 Market St",
"address2": "",
"city": "Philadelphia",
"state": "PA",
"zip": "19106",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-75.14327700000001",
"latitude": "39.9496657",
"primary": false,
"unit_number": ""
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 45,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": true,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 46,
"opt_out": false,
"first": "slumen",
"middle": "",
"last": "luthue",
"relationship": "Friend",
"phone": "878.787.7788",
"alt_phone": "",
"email": "slumen@gmail.com",
"same_as_patient": false,
"active": true,
"primary": false,
"emergency": true,
"secondary": false,
"notes": ""
}
],
"nurses": [
{
"id": 19,
"first": "Jan",
"middle": "Aman",
"last": "JJJ",
"phone": "335.353.5353",
"alt_phone": "435.345.3534",
"email": "fgdfg@gmail.xom",
"active": true,
"notes": "",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 5
},
{
"id": 18,
"first": "Janeee",
"middle": "Amanda",
"last": "DOEE",
"phone": "458.848.4848",
"alt_phone": null,
"email": "jane@gmail.com",
"active": true,
"notes": "",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2638,
"company": "Collabria Care",
"description": "Collabria - Napa, CA",
"address1": "414 S Jefferson St",
"city": "Napa",
"primary": false,
"escalation_group": null
},
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 0
},
{
"id": 21,
"first": "kamal",
"middle": null,
"last": "leo",
"phone": "365.656.5656",
"alt_phone": null,
"email": "kaml@gmail.com",
"active": true,
"notes": "",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 25
},
{
"id": 8,
"first": "Toni j",
"middle": null,
"last": "Fowler",
"phone": "214.555.4321",
"alt_phone": "464.646.4646",
"email": "toni@example.com",
"active": true,
"notes": "This was set up by Gareth. Primary is Yolo. Added Blossom Ridge for testing",
"image_url": "",
"primary": false,
"branches": [
{
"id": 3628,
"company": "Blossom Ridge Home Health Agency, LLC",
"description": "Blossom Ridge - Sacramento, CA",
"address1": "1321 20th St; Ste H",
"city": "Sacramento",
"primary": false,
"escalation_group": null
},
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 78
}
],
"notes": [
{
"note": "Hospice Source\u00a0Hospice SourceHospice SourceHospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source\u00a0Hospice Source",
"user": null,
"created_at": "2018-05-31T09:12:16Z"
}
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 6,
"orders": [
"100010",
"100011",
"100012",
"100017",
"100018",
"100019"
]
},
"orders": [
{
"id": 100010,
"external_id": "",
"nsId": 63628,
"orderType": "Delivery",
"urgency": "Afternoon",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-02T07:30:00Z",
"serviceDateTimeStart": "2018-06-02T07:30:00Z",
"serviceDateTimeEnd": "2018-06-02T11:30:00Z",
"respiteEndDate": null,
"dischargeDate": "2018-06-02T13:22:00Z",
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T09:28:57Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 09:29:04",
"updated_at": "2018-05-31 09:29:04"
}
},
{
"id": 100011,
"external_id": "",
"nsId": 63729,
"orderType": "Delivery",
"urgency": "Anytime",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-01T02:30:00Z",
"serviceDateTimeStart": "2018-06-01T02:30:00Z",
"serviceDateTimeEnd": "2018-06-01T14:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T09:34:50Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 09:34:58",
"updated_at": "2018-05-31 09:34:58"
}
},
{
"id": 100012,
"external_id": "",
"nsId": 63928,
"orderType": "Delivery",
"urgency": "Standard",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-05-31T13:45:00Z",
"serviceDateTimeStart": "2018-05-31T13:45:00Z",
"serviceDateTimeEnd": "2018-05-31T17:53:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T09:39:04Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 09:39:09",
"updated_at": "2018-05-31 09:39:09"
}
},
{
"id": 100017,
"external_id": "",
"nsId": 64728,
"orderType": "Delivery",
"urgency": "Anytime",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-01T02:30:00Z",
"serviceDateTimeStart": "2018-06-01T02:30:00Z",
"serviceDateTimeEnd": "2018-06-01T14:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-05-31T11:13:47Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 11:13:54",
"updated_at": "2018-05-31 11:13:54"
}
},
{
"id": 100018,
"external_id": "",
"nsId": 64828,
"orderType": "Delivery",
"urgency": "Evening",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-01T11:30:00Z",
"serviceDateTimeStart": "2018-06-01T11:30:00Z",
"serviceDateTimeEnd": "2018-06-01T15:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-05-31T11:16:33Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 11:16:43",
"updated_at": "2018-05-31 11:16:43"
}
},
{
"id": 100019,
"external_id": "",
"nsId": 65228,
"orderType": "Delivery",
"urgency": "Anytime",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-01T02:30:00Z",
"serviceDateTimeStart": "2018-06-01T02:30:00Z",
"serviceDateTimeEnd": "2018-06-01T14:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T11:41:53Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 11:41:58",
"updated_at": "2018-05-31 11:41:58"
}
}
]
},
{
"id": "P100181",
"external_id": "505",
"provider": null,
"firstName": "Howard",
"middleName": "H",
"lastName": "Hamlin",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "05\/07\/2018",
"height": "55",
"weight": "55",
"diagnosis": "",
"infectious_disease": true,
"infectious_disease_description": "TYPHOID",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "8787878887",
"phone_type": "landline",
"alt_phone": "3333333333",
"alt_phone_type": "Mobile",
"email": "howard@gmail.com",
"addresses": [
{
"id": 42,
"use": "home",
"type": "Personal Residence",
"facility_type": "",
"facility_name": "",
"context": "",
"address1": "3451 Chestnut St",
"address2": "",
"city": "Philadelphia",
"state": "PA",
"zip": "19104",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-75.19328819999998",
"latitude": "39.954627",
"primary": true,
"unit_number": ""
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 15,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": true,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 16,
"opt_out": false,
"first": "Robert",
"middle": "",
"last": "Black",
"relationship": "Friend",
"phone": "334.343.4434",
"alt_phone": "",
"email": "Black@ff.com",
"same_as_patient": false,
"active": true,
"primary": false,
"emergency": true,
"secondary": false,
"notes": ""
}
],
"nurses": [
{
"id": 19,
"first": "Jan",
"middle": "Aman",
"last": "JJJ",
"phone": "335.353.5353",
"alt_phone": "435.345.3534",
"email": "fgdfg@gmail.xom",
"active": true,
"notes": "",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 5
},
{
"id": 20,
"first": "Jioh",
"middle": null,
"last": "Jioh",
"phone": null,
"alt_phone": null,
"email": "fdsfsdfs@dfdf.cojf",
"active": true,
"notes": "dsfsdfs fsdfsdfdsfsdf f fdsf",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2638,
"company": "Collabria Care",
"description": "Collabria - Napa, CA",
"address1": "414 S Jefferson St",
"city": "Napa",
"primary": false,
"escalation_group": null
},
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 4
},
{
"id": 8,
"first": "Toni j",
"middle": null,
"last": "Fowler",
"phone": "214.555.4321",
"alt_phone": "464.646.4646",
"email": "toni@example.com",
"active": true,
"notes": "This was set up by Gareth. Primary is Yolo. Added Blossom Ridge for testing",
"image_url": "",
"primary": false,
"branches": [
{
"id": 3628,
"company": "Blossom Ridge Home Health Agency, LLC",
"description": "Blossom Ridge - Sacramento, CA",
"address1": "1321 20th St; Ste H",
"city": "Sacramento",
"primary": false,
"escalation_group": null
},
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 78
}
],
"notes": [
{
"note": "Patinet notes .... .... .......",
"user": null,
"created_at": "2018-05-31T13:15:12Z"
}
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 0,
"orders": null
},
"orders": [
]
},
{
"id": "P100180",
"external_id": "",
"provider": null,
"firstName": "Charles",
"middleName": "",
"lastName": "McGill",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "05\/12\/2018",
"height": "45",
"weight": "44",
"diagnosis": "",
"infectious_disease": null,
"infectious_disease_description": "",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "9898989898",
"phone_type": "",
"alt_phone": "",
"alt_phone_type": "",
"email": "charles@gmail.com",
"addresses": [
{
"id": 59,
"use": "home",
"type": "Facility",
"facility_type": "",
"facility_name": "Nurse facility",
"context": "",
"address1": "116 Market St",
"address2": "",
"city": "Philadelphia",
"state": "PA",
"zip": "19106",
"country": "USA",
"primary_phone": "987.988.8897",
"primary_phone_type": "",
"longitude": "-75.1428439",
"latitude": "39.94964239999999",
"primary": false,
"unit_number": ""
},
{
"id": 46,
"use": "old",
"type": "Facility",
"facility_type": "",
"facility_name": "hospice",
"context": "",
"address1": "124 Market St",
"address2": "",
"city": "Philadelphia",
"state": "PA",
"zip": "19106",
"country": "USA",
"primary_phone": "656.565.6565",
"primary_phone_type": "",
"longitude": "-75.14327700000001",
"latitude": "39.9496657",
"primary": false,
"unit_number": ""
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 13,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": true,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 14,
"opt_out": true
}
],
"nurses": [
{
"id": 19,
"first": "Jan",
"middle": "Aman",
"last": "JJJ",
"phone": "335.353.5353",
"alt_phone": "435.345.3534",
"email": "fgdfg@gmail.xom",
"active": true,
"notes": "",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 5
}
],
"notes": [
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 1,
"orders": [
"100013"
]
},
"orders": [
{
"id": 100013,
"external_id": "",
"nsId": 64028,
"orderType": "Delivery",
"urgency": "Anytime",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-05-31T09:43:00Z",
"serviceDateTimeStart": "2018-05-31T09:43:00Z",
"serviceDateTimeEnd": "2018-05-31T14:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T09:44:06Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 09:44:16",
"updated_at": "2018-05-31 09:44:16"
}
}
]
},
{
"id": "P100178",
"external_id": "Patient_505",
"provider": null,
"firstName": "sam",
"middleName": "",
"lastName": "sunder",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "10\/05\/1980",
"height": "56",
"weight": "53",
"diagnosis": "",
"infectious_disease": null,
"infectious_disease_description": "",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "3232323232",
"phone_type": "",
"alt_phone": "3232323232",
"alt_phone_type": "",
"email": "sunder@gmail.com",
"addresses": [
{
"id": 68,
"use": "home",
"type": "Personal Residence",
"facility_type": "",
"facility_name": "",
"context": "",
"address1": "9090 US-1",
"address2": "",
"city": "Micco",
"state": "FL",
"zip": "32976",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-80.49310309999998",
"latitude": "27.8620071",
"primary": false,
"unit_number": "5"
},
{
"id": 45,
"use": "home",
"type": "Personal Residence",
"facility_type": "",
"facility_name": "",
"context": "",
"address1": "1229 1st Avenue",
"address2": "",
"city": "New York",
"state": "NY",
"zip": "10065",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-73.9587869",
"latitude": "40.764407",
"primary": false,
"unit_number": ""
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 9,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": true,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 10,
"opt_out": true
}
],
"nurses": [
],
"notes": [
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 1,
"orders": [
"100028"
]
},
"orders": [
{
"id": 100028,
"external_id": "",
"nsId": 73933,
"orderType": "Delivery",
"urgency": "Evening",
"orderStatus": null,
"statReason": null,
"description": "",
"serviceDateTime": "2018-06-06T11:30:00Z",
"serviceDateTimeStart": "2018-06-06T11:30:00Z",
"serviceDateTimeEnd": "2018-06-06T15:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-06-04T12:13:00Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-06-04 12:13:07",
"updated_at": "2018-06-04 12:13:07"
}
}
]
},
{
"id": "P100175",
"external_id": "",
"provider": null,
"firstName": "Patrick",
"middleName": "",
"lastName": "Roy",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "12\/06\/1975",
"height": "65",
"weight": "210",
"diagnosis": "",
"infectious_disease": null,
"infectious_disease_description": "",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "8795462133",
"phone_type": "",
"alt_phone": "",
"alt_phone_type": "",
"email": "",
"addresses": [
{
"id": 44,
"use": "home",
"type": "Personal Residence",
"facility_type": "",
"facility_name": "",
"context": "",
"address1": "1503 Klee Pl",
"address2": "",
"city": "Davis",
"state": "CA",
"zip": "95618",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-121.72559619999998",
"latitude": "38.5679269",
"primary": false,
"unit_number": ""
},
{
"id": 69,
"use": "home",
"type": "Facility",
"facility_type": "",
"facility_name": "Na Facility",
"context": "",
"address1": "09752 Co Rd 33A",
"address2": "",
"city": "Wapakoneta",
"state": "OH",
"zip": "45895",
"country": "USA",
"primary_phone": "465.656.5654",
"primary_phone_type": "landline",
"longitude": "-84.26364899999999",
"latitude": "40.5572797",
"primary": false,
"unit_number": "1"
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 3,
"opt_out": false,
"first": "Lucia",
"middle": "",
"last": "Roy",
"relationship": "wife",
"phone": "879.954.6213",
"alt_phone": "",
"email": "",
"same_as_patient": false,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 4,
"opt_out": true
}
],
"nurses": [
{
"id": 9,
"first": "Florence",
"middle": null,
"last": "Nightingale",
"phone": "555.555.5555",
"alt_phone": null,
"email": "florence@hospice.come",
"active": true,
"notes": "",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2025,
"company": "1st Choice Hospice, LLC",
"description": "1st Choice - Huntsville, TX",
"address1": "3001 Old Houston Rd",
"city": "Huntsville",
"primary": false,
"escalation_group": null
}
],
"order_items": 0
}
],
"notes": [
{
"note": "Please use side entrance",
"user": null,
"created_at": "2018-05-23T21:44:10Z"
}
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 1,
"orders": [
"100029"
]
},
"orders": [
{
"id": 1,
"external_id": "",
"nsId": 55720,
"orderType": "Delivery",
"urgency": "Anytime",
"orderStatus": null,
"statReason": null,
"description": "",
"serviceDateTime": "2018-05-24T15:00:00Z",
"serviceDateTimeStart": "2018-05-24T15:00:00Z",
"serviceDateTimeEnd": "2018-05-25T03:00:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-05-24T01:40:23Z",
"suborders": [
],
"status": {
"internal": "Canceled",
"external": "Canceled",
"description": "Order \/ Job has been canceled",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-06-03 14:01:13",
"updated_at": "2018-06-03 14:01:13"
}
},
{
"id": 100029,
"external_id": "",
"nsId": 74133,
"orderType": "Delivery",
"urgency": "Evening",
"orderStatus": null,
"statReason": null,
"description": "",
"serviceDateTime": "2018-06-06T11:30:00Z",
"serviceDateTimeStart": "2018-06-06T11:30:00Z",
"serviceDateTimeEnd": "2018-06-06T15:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-06-04T12:17:11Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-06-04 12:17:19",
"updated_at": "2018-06-04 12:17:19"
}
}
]
},
{
"id": "P100173",
"external_id": "",
"provider": null,
"firstName": "Ben Ten s",
"middleName": "",
"lastName": "Bishop",
"prefix": "",
"suffix": "",
"active": true,
"birthDate": "04\/05\/1933",
"height": "511",
"weight": "190",
"diagnosis": "",
"infectious_disease": false,
"infectious_disease_description": "",
"liter_flow": "",
"ipap": 0,
"epap": 0,
"managingOrganization": null,
"phone": "2142221345",
"phone_type": "landline",
"alt_phone": "7877878878",
"alt_phone_type": "Mobile",
"email": "ben@example.com",
"addresses": [
{
"id": 42,
"use": "home",
"type": "Personal Residence",
"facility_type": "",
"facility_name": "",
"context": "",
"address1": "3451 Chestnut St",
"address2": "",
"city": "Philadelphia",
"state": "PA",
"zip": "19104",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-75.19328819999998",
"latitude": "39.954627",
"primary": true,
"unit_number": ""
},
{
"id": 53,
"use": "home",
"type": "Personal Residence",
"facility_type": "",
"facility_name": "",
"context": "",
"address1": "344-352 Massachusetts Ave",
"address2": "",
"city": "Arlington",
"state": "MA",
"zip": "02474",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-71.1486218",
"latitude": "42.4111593",
"primary": false,
"unit_number": ""
},
{
"id": 43,
"use": "home",
"type": "Personal Residence",
"facility_type": "",
"facility_name": "",
"context": "",
"address1": "1502 Chalupa Pl",
"address2": "",
"city": "Davis",
"state": "CA",
"zip": "95618",
"country": "USA",
"primary_phone": "",
"primary_phone_type": "",
"longitude": "-121.70623039999998",
"latitude": "38.56142669999999",
"primary": false,
"unit_number": ""
}
],
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"contacts": [
{
"id": 1,
"opt_out": false,
"first": "",
"middle": "",
"last": "",
"relationship": "",
"phone": "",
"alt_phone": "",
"email": "",
"same_as_patient": true,
"active": true,
"primary": true,
"emergency": false,
"secondary": false,
"notes": ""
},
{
"id": 2,
"opt_out": true
}
],
"nurses": [
{
"id": 17,
"first": "Jaiun A",
"middle": null,
"last": "luthur",
"phone": "788.787.7879",
"alt_phone": "978.787.9877",
"email": "jain@gmail.com",
"active": true,
"notes": "",
"image_url": "",
"primary": false,
"branches": [
{
"id": 2429,
"company": "Yolo Hospice, Inc",
"description": "Yolo - Davis, CA",
"address1": "1909 Galileo Ct; Ste A",
"city": "Davis",
"primary": false,
"escalation_group": null
}
],
"order_items": 4
}
],
"notes": [
{
"note": "Enter",
"user": null,
"created_at": "2018-05-31T09:52:03Z"
},
{
"note": "new notes",
"user": null,
"created_at": "2018-06-01T09:28:00Z"
}
],
"stats": {
"items_on_hand": 0,
"items": [
],
"los": null,
"pending_orders": 5,
"orders": [
"100000",
"100014",
"100015",
"100016",
"100020"
]
},
"orders": [
{
"id": 2,
"external_id": "",
"nsId": 54520,
"orderType": "Delivery",
"urgency": "Anytime",
"orderStatus": null,
"statReason": null,
"description": "",
"serviceDateTime": "2018-05-25T15:00:00Z",
"serviceDateTimeStart": "2018-05-25T15:00:00Z",
"serviceDateTimeEnd": "2018-05-26T03:00:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-05-25T03:34:36Z",
"suborders": [
],
"status": {
"internal": "Canceled",
"external": "Canceled",
"description": "Order \/ Job has been canceled",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-06-03 14:00:57",
"updated_at": "2018-06-03 14:00:57"
}
},
{
"id": 100000,
"external_id": "",
"nsId": 55920,
"orderType": "Delivery",
"urgency": "Standard",
"orderStatus": null,
"statReason": null,
"description": "",
"serviceDateTime": "2018-05-28T03:30:00Z",
"serviceDateTimeStart": "2018-05-28T03:30:00Z",
"serviceDateTimeEnd": "2018-05-28T07:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "admin@hospicesource.net",
"placedDate": "2018-05-27T13:22:07Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-27 13:22:18",
"updated_at": "2018-05-27 13:22:18"
}
},
{
"id": 100014,
"external_id": "",
"nsId": 64228,
"orderType": "Delivery",
"urgency": "Anytime",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-02T02:30:00Z",
"serviceDateTimeStart": "2018-06-02T02:30:00Z",
"serviceDateTimeEnd": "2018-06-02T14:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T09:53:22Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 09:53:26",
"updated_at": "2018-05-31 09:53:26"
}
},
{
"id": 100015,
"external_id": "",
"nsId": 64029,
"orderType": "Delivery",
"urgency": "Anytime",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-01T02:30:00Z",
"serviceDateTimeStart": "2018-06-01T02:30:00Z",
"serviceDateTimeEnd": "2018-06-01T14:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T09:54:35Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 09:54:40",
"updated_at": "2018-05-31 09:54:40"
}
},
{
"id": 100016,
"external_id": "",
"nsId": 64528,
"orderType": "Delivery",
"urgency": "Anytime",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-01T02:30:00Z",
"serviceDateTimeStart": "2018-06-01T02:30:00Z",
"serviceDateTimeEnd": "2018-06-01T14:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T10:49:42Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 10:49:47",
"updated_at": "2018-05-31 10:49:47"
}
},
{
"id": 100020,
"external_id": "",
"nsId": 64830,
"orderType": "Delivery",
"urgency": "Anytime",
"orderStatus": null,
"statReason": "Hospital Discharge",
"description": "",
"serviceDateTime": "2018-06-01T02:30:00Z",
"serviceDateTimeStart": "2018-06-01T02:30:00Z",
"serviceDateTimeEnd": "2018-06-01T14:30:00Z",
"respiteEndDate": null,
"dischargeDate": null,
"orderTotalperDiem": 0,
"orderTotalperDay": 0,
"orderTotalperMonth": 0,
"orderTotalPurchase": 0,
"placedBy": "externaltest2@hospicesource.net",
"placedDate": "2018-05-31T11:45:02Z",
"suborders": [
],
"status": {
"internal": "Validating",
"external": "Received",
"description": "Order has been sent to Netsuite for validation",
"technician": "",
"truck": "",
"scheduled_start": "",
"scheduled_end": "",
"actual_start": "",
"actual_end": "",
"created_at": "2018-05-31 11:45:07",
"updated_at": "2018-05-31 11:45:07"
}
}
]
}
],
"links": {
"first": "http:\/\/api.hsourcesandbox.net\/api\/v1\/patients?page=1",
"last": "http:\/\/api.hsourcesandbox.net\/api\/v1\/patients?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "http:\/\/api.hsourcesandbox.net\/api\/v1\/patients",
"per_page": "1000",
"to": 12,
"total": 12
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment