From 033d0855cdb4a602327e1f4f19808a8d706db4ed Mon Sep 17 00:00:00 2001 From: Ashesh <3626859+Ashesh3@users.noreply.github.com> Date: Tue, 5 Dec 2023 13:42:38 +0530 Subject: [PATCH] Ensure Deterministic Ordering of Local Self Government and Ward Data (#1665) * Make ordering of lsg and ward deterministic * fix dump data * Fix lsg and ward --- .../management/commands/load_lsg_data.py | 8 +- .../management/commands/load_ward_data.py | 3 +- data/dummy/facility.json | 6223 +++++++++-------- 3 files changed, 3135 insertions(+), 3099 deletions(-) diff --git a/care/users/management/commands/load_lsg_data.py b/care/users/management/commands/load_lsg_data.py index fc70815973..9e16d1327b 100644 --- a/care/users/management/commands/load_lsg_data.py +++ b/care/users/management/commands/load_lsg_data.py @@ -65,6 +65,12 @@ def create_local_bodies(local_body_list): type of the local body will be match based on this. if not found, it will be matched against the last item in the choices - "Others" """ + local_body_list.sort( + key=lambda lb: ( + lb["name"], + lb.get("localbody_code", ""), + ) + ) local_body_objs = [] for lb in local_body_list: dist_obj = get_district_obj(lb["district"], lb["state"]) @@ -87,7 +93,7 @@ def create_local_bodies(local_body_list): # Hence, those records can be ignored using the `ignore_conflicts` flag LocalBody.objects.bulk_create(local_body_objs, ignore_conflicts=True) - for f in glob.glob(f"{folder}/*.json"): + for f in sorted(glob.glob(f"{folder}/*.json")): counter += 1 with open(f"{f}", "r") as data_f: data = json.load(data_f) diff --git a/care/users/management/commands/load_ward_data.py b/care/users/management/commands/load_ward_data.py index 99c612851f..5eb29fdcc0 100644 --- a/care/users/management/commands/load_ward_data.py +++ b/care/users/management/commands/load_ward_data.py @@ -59,7 +59,7 @@ def get_local_body(lb): ), ).first() - for f in glob.glob(f"{folder}/*.json"): + for f in sorted(glob.glob(f"{folder}/*.json")): with open(f"{f}", "r") as data_f: data = json.load(data_f) wards = data.pop("wards", None) @@ -69,6 +69,7 @@ def get_local_body(lb): local_body = get_local_body(data) if not local_body: continue + wards.sort(key=lambda x: get_ward_name(x) + str(get_ward_number(x))) for ward in wards: counter += 1 try: diff --git a/data/dummy/facility.json b/data/dummy/facility.json index 52a3037077..03331ddc02 100644 --- a/data/dummy/facility.json +++ b/data/dummy/facility.json @@ -1,3099 +1,3128 @@ [ - { - "model": "facility.facility", - "pk": 1, - "fields": { - "external_id": "81092ced-8720-44cb-b4c5-3f0ad0540153", - "created_date": "2022-09-27T06:59:15.929Z", - "modified_date": "2022-09-27T06:59:15.929Z", - "deleted": false, - "name": "Dummy Facility 1", - "is_active": true, - "verified": false, - "facility_type": 2, - "kasp_empanelled": false, - "features": "1,2,3,4,5,6", - "longitude": null, - "latitude": null, - "pincode": 670000, - "address": "127.0.0.1", - "ward": 1, - "local_body": 920, - "district": 7, - "state": 1, - "oxygen_capacity": 0, - "type_b_cylinders": 0, - "type_c_cylinders": 0, - "type_d_cylinders": 0, - "expected_oxygen_requirement": 0, - "expected_type_b_cylinders": 0, - "expected_type_c_cylinders": 0, - "expected_type_d_cylinders": 0, - "phone_number": "+919999999888", - "corona_testing": false, - "created_by": 2, - "cover_image_url": null, - "middleware_address": null - } - }, - { - "model": "facility.facility", - "pk": 2, - "fields": { - "external_id": "fa33079d-727d-4295-b0fd-19153b36b2db", - "created_date": "2022-09-27T07:15:51.075Z", - "modified_date": "2022-09-27T07:15:51.075Z", - "deleted": false, - "name": "Dummy Shifting Center", - "is_active": true, - "verified": false, - "facility_type": 1300, - "kasp_empanelled": false, - "features": "1,6", - "longitude": null, - "latitude": null, - "pincode": 670112, - "address": "89.66.33.55", - "ward": 218, - "local_body": 12, - "district": 7, - "state": 1, - "oxygen_capacity": 0, - "type_b_cylinders": 0, - "type_c_cylinders": 0, - "type_d_cylinders": 0, - "expected_oxygen_requirement": 0, - "expected_type_b_cylinders": 0, - "expected_type_c_cylinders": 0, - "expected_type_d_cylinders": 0, - "phone_number": "+919876665987", - "corona_testing": false, - "created_by": 2, - "cover_image_url": null, - "middleware_address": null - } - }, - { - "model": "facility.facility", - "pk": 3, - "fields": { - "external_id": "4c293ecd-1aae-4ebc-9b5b-b53497dffac9", - "created_date": "2023-09-15T06:11:14.166Z", - "modified_date": "2023-09-15T06:11:14.166Z", - "deleted": false, - "name": "Dummy Request Approving Center", - "is_active": true, - "verified": false, - "facility_type": 1500, - "kasp_empanelled": false, - "features": "1,4,6", - "longitude": "78.6757364624373000", - "latitude": "21.4009146842158660", - "pincode": 670000, - "address": "Dummy Facility Address", - "ward": 7574, - "local_body": 431, - "district": 7, - "state": 1, - "oxygen_capacity": 0, - "type_b_cylinders": 0, - "type_c_cylinders": 0, - "type_d_cylinders": 0, - "expected_oxygen_requirement": 0, - "expected_type_b_cylinders": 0, - "expected_type_c_cylinders": 0, - "expected_type_d_cylinders": 0, - "phone_number": "+919999999888", - "corona_testing": false, - "created_by": 2, - "cover_image_url": null, - "middleware_address": null - } - }, - { - "model": "facility.facility", - "pk": 4, - "fields": { - "external_id": "e70e0b82-7a99-48c2-a735-41cdea3b4076", - "created_date": "2023-09-15T06:12:14.266Z", - "modified_date": "2023-09-15T06:12:14.266Z", - "deleted": false, - "name": "Dummy Request Fulfilment Center", - "is_active": true, - "verified": false, - "facility_type": 1510, - "kasp_empanelled": false, - "features": "1,3,5", - "longitude": "75.2139014820876600", - "latitude": "18.2774285038890340", - "pincode": 670000, - "address": "Dummy Facility Address 2", - "ward": 5412, - "local_body": 309, - "district": 7, - "state": 1, - "oxygen_capacity": 0, - "type_b_cylinders": 0, - "type_c_cylinders": 0, - "type_d_cylinders": 0, - "expected_oxygen_requirement": 0, - "expected_type_b_cylinders": 0, - "expected_type_c_cylinders": 0, - "expected_type_d_cylinders": 0, - "phone_number": "+918899885588", - "corona_testing": false, - "created_by": 2, - "cover_image_url": null, - "middleware_address": null - } - }, - { - "model": "facility.hospitaldoctors", - "pk": 1, - "fields": { - "external_id": "d68776c9-1197-411f-b19d-2069364b17a2", - "created_date": "2023-09-15T06:12:36.941Z", - "modified_date": "2023-09-15T06:12:36.941Z", - "deleted": false, - "facility": 4, - "area": 2, - "count": 5 - } - }, - { - "model": "facility.hospitaldoctors", - "pk": 2, - "fields": { - "external_id": "df1ef651-4e4f-4a0a-9df7-55e5949468ce", - "created_date": "2023-09-15T06:12:54.835Z", - "modified_date": "2023-09-15T06:12:54.835Z", - "deleted": false, - "facility": 3, - "area": 3, - "count": 4 - } - }, - { - "model": "facility.historicalfacilitycapacity", - "pk": 1, - "fields": { - "id": 1, - "external_id": "bfb7a4d8-6bf0-46d6-bf20-d5020850ea55", - "created_date": "2022-09-27T07:00:19.399Z", - "modified_date": "2022-09-27T07:00:19.399Z", - "deleted": false, - "room_type": 150, - "total_capacity": 1000, - "current_capacity": 20, - "facility": 1, - "history_date": "2022-09-27T07:00:19.400Z", - "history_change_reason": null, - "history_type": "+", - "history_user": 2 - } - }, - { - "model": "facility.historicalfacilitycapacity", - "pk": 2, - "fields": { - "id": 2, - "external_id": "52bd4e97-9064-4697-8fea-37e0a2b8c87c", - "created_date": "2022-09-27T07:16:52.525Z", - "modified_date": "2022-09-27T07:16:52.525Z", - "deleted": false, - "room_type": 150, - "total_capacity": 20, - "current_capacity": 1, - "facility": 2, - "history_date": "2022-09-27T07:16:52.526Z", - "history_change_reason": null, - "history_type": "+", - "history_user": 2 - } - }, - { - "model": "facility.historicalfacilitycapacity", - "pk": 3, - "fields": { - "id": 3, - "external_id": "4fed54e3-672b-412c-998f-a7d8f303016c", - "created_date": "2023-09-15T06:12:31.548Z", - "modified_date": "2023-09-15T06:12:31.548Z", - "deleted": false, - "room_type": 150, - "total_capacity": 12, - "current_capacity": 2, - "facility": 4, - "history_date": "2023-09-15T06:12:31.550Z", - "history_change_reason": null, - "history_type": "+", - "history_user": 2 - } - }, - { - "model": "facility.historicalfacilitycapacity", - "pk": 4, - "fields": { - "id": 4, - "external_id": "c7d64165-8097-4dec-a4df-616647e70c31", - "created_date": "2023-09-15T06:12:50.165Z", - "modified_date": "2023-09-15T06:12:50.165Z", - "deleted": false, - "room_type": 20, - "total_capacity": 31, - "current_capacity": 2, - "facility": 3, - "history_date": "2023-09-15T06:12:50.166Z", - "history_change_reason": null, - "history_type": "+", - "history_user": 2 - } - }, - { - "model": "facility.facilitycapacity", - "pk": 1, - "fields": { - "external_id": "bfb7a4d8-6bf0-46d6-bf20-d5020850ea55", - "created_date": "2022-09-27T07:00:19.399Z", - "modified_date": "2022-09-27T07:00:19.399Z", - "deleted": false, - "facility": 1, - "room_type": 150, - "total_capacity": 1000, - "current_capacity": 20 - } - }, - { - "model": "facility.facilitycapacity", - "pk": 2, - "fields": { - "external_id": "52bd4e97-9064-4697-8fea-37e0a2b8c87c", - "created_date": "2022-09-27T07:16:52.525Z", - "modified_date": "2022-09-27T07:16:52.525Z", - "deleted": false, - "facility": 2, - "room_type": 150, - "total_capacity": 20, - "current_capacity": 1 - } - }, - { - "model": "facility.facilitycapacity", - "pk": 3, - "fields": { - "external_id": "4fed54e3-672b-412c-998f-a7d8f303016c", - "created_date": "2023-09-15T06:12:31.548Z", - "modified_date": "2023-09-15T06:12:31.548Z", - "deleted": false, - "facility": 4, - "room_type": 150, - "total_capacity": 12, - "current_capacity": 2 - } - }, - { - "model": "facility.facilitycapacity", - "pk": 4, - "fields": { - "external_id": "c7d64165-8097-4dec-a4df-616647e70c31", - "created_date": "2023-09-15T06:12:50.165Z", - "modified_date": "2023-09-15T06:12:50.165Z", - "deleted": false, - "facility": 3, - "room_type": 20, - "total_capacity": 31, - "current_capacity": 2 - } - }, - { - "model": "facility.facilityuser", - "pk": 1, - "fields": { - "facility": 1, - "user": 2, - "created_by": 2 - } - }, - { - "model": "facility.facilityuser", - "pk": 2, - "fields": { - "facility": 2, - "user": 2, - "created_by": 2 - } - }, - { - "model": "facility.facilityuser", - "pk": 3, - "fields": { - "facility": 1, - "user": 21, - "created_by": 2 - } - }, - { - "model": "facility.facilityuser", - "pk": 4, - "fields": { - "facility": 1, - "user": 22, - "created_by": 2 - } - }, - { - "model": "facility.facilityuser", - "pk": 5, - "fields": { - "facility": 3, - "user": 2, - "created_by": 2 - } - }, - { - "model": "facility.facilityuser", - "pk": 6, - "fields": { - "facility": 4, - "user": 2, - "created_by": 2 - } - }, - { - "model": "facility.assetlocation", - "pk": 1, - "fields": { - "external_id": "c3ab727f-dc3f-4a11-bf8d-2472bd79b5f7", - "created_date": "2022-09-27T07:02:07.969Z", - "modified_date": "2022-09-27T07:02:07.969Z", - "deleted": false, - "name": "Camera Locations", - "description": "", - "location_type": 1, - "facility": 1 - } - }, - { - "model": "facility.assetlocation", - "pk": 2, - "fields": { - "external_id": "a5cd0a56-cd5a-425c-9a87-cf79c0a90887", - "created_date": "2023-09-15T06:13:24.614Z", - "modified_date": "2023-09-15T06:13:24.614Z", - "deleted": false, - "name": "Dummy Location 1", - "description": "", - "location_type": 1, - "facility": 1 - } - }, - { - "model": "facility.asset", - "pk": 1, - "fields": { - "external_id": "ae4290a0-e86a-48d7-9c82-60b7d6514707", - "created_date": "2022-09-27T07:03:57.401Z", - "modified_date": "2022-09-27T07:03:57.401Z", - "deleted": false, - "name": "Dummy Camera 1", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 2, - "fields": { - "external_id": "7c06ec3c-838d-447a-bf36-d20239c8442f", - "created_date": "2022-09-27T07:04:30.802Z", - "modified_date": "2022-09-27T07:04:30.802Z", - "deleted": false, - "name": "Dummy Camera 2", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 3, - "fields": { - "external_id": "46740927-f782-49aa-bf6e-52a1208e8d18", - "created_date": "2022-09-27T07:04:35.291Z", - "modified_date": "2022-09-27T07:04:35.291Z", - "deleted": false, - "name": "Dummy Camera 3", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 4, - "fields": { - "external_id": "d6e9e071-e67e-4fbc-a872-4c3b1b9f749f", - "created_date": "2022-09-27T07:04:38.335Z", - "modified_date": "2022-09-27T07:04:38.335Z", - "deleted": false, - "name": "Dummy Camera 4", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 5, - "fields": { - "external_id": "35a2200d-6c1a-4c53-936c-60ebec1f9d42", - "created_date": "2022-09-27T07:04:41.179Z", - "modified_date": "2022-09-27T07:04:41.179Z", - "deleted": false, - "name": "Dummy Camera 5", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 6, - "fields": { - "external_id": "db1c2f95-5ae9-4e64-b647-30250beb79c7", - "created_date": "2022-09-27T07:04:43.869Z", - "modified_date": "2022-09-27T07:04:43.870Z", - "deleted": false, - "name": "Dummy Camera 6", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 7, - "fields": { - "external_id": "604ec344-a7d1-4523-8a6f-3e78cd3409ef", - "created_date": "2022-09-27T07:04:46.610Z", - "modified_date": "2022-09-27T07:04:46.610Z", - "deleted": false, - "name": "Dummy Camera 7", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 8, - "fields": { - "external_id": "271ace96-6bc6-4d32-916b-6b69eb81e4c3", - "created_date": "2022-09-27T07:04:49.732Z", - "modified_date": "2022-09-27T07:04:49.732Z", - "deleted": false, - "name": "Dummy Camera 8", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 9, - "fields": { - "external_id": "fe2f171f-0c69-4305-be60-0db625d0e38e", - "created_date": "2022-09-27T07:04:52.832Z", - "modified_date": "2022-09-27T07:04:52.832Z", - "deleted": false, - "name": "Dummy Camera 9", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 10, - "fields": { - "external_id": "cf77edb2-e771-46db-a73d-80ac2b446987", - "created_date": "2022-09-27T07:04:55.942Z", - "modified_date": "2022-09-27T07:04:55.942Z", - "deleted": false, - "name": "Dummy Camera 10", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 11, - "fields": { - "external_id": "2a19c4a9-84a2-41c8-ac0d-bbbc35e5f18d", - "created_date": "2022-09-27T07:04:58.599Z", - "modified_date": "2022-09-27T07:04:58.599Z", - "deleted": false, - "name": "Dummy Camera 11", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 12, - "fields": { - "external_id": "efb41cef-4d39-477f-b437-7ec9e4406971", - "created_date": "2022-09-27T07:05:01.182Z", - "modified_date": "2022-09-27T07:05:01.182Z", - "deleted": false, - "name": "Dummy Camera 12", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 13, - "fields": { - "external_id": "875b2bd3-67a8-4968-a589-d62c656cacb9", - "created_date": "2022-09-27T07:05:03.955Z", - "modified_date": "2022-09-27T07:05:03.955Z", - "deleted": false, - "name": "Dummy Camera 13", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 14, - "fields": { - "external_id": "b9ff3001-ed15-4538-bb54-78d0b2be445f", - "created_date": "2022-09-27T07:05:07.194Z", - "modified_date": "2022-09-27T07:05:07.194Z", - "deleted": false, - "name": "Dummy Camera 14", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 15, - "fields": { - "external_id": "a9678d31-17a9-4474-be01-c095553e97b5", - "created_date": "2022-09-27T07:05:10.384Z", - "modified_date": "2022-09-27T07:05:10.384Z", - "deleted": false, - "name": "Dummy Camera 15", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 16, - "fields": { - "external_id": "b0e4063e-3f05-4f94-aea0-e15e9e474f96", - "created_date": "2022-09-27T07:05:13.857Z", - "modified_date": "2022-09-27T07:05:13.857Z", - "deleted": false, - "name": "Dummy Camera 16", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 17, - "fields": { - "external_id": "634e1421-f1a7-41d1-bde2-13d1ee7eabf4", - "created_date": "2022-09-27T07:05:16.707Z", - "modified_date": "2022-09-27T07:05:16.707Z", - "deleted": false, - "name": "Dummy Camera 17", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 18, - "fields": { - "external_id": "17992979-d18a-46c6-a48f-c7f0f40f85c3", - "created_date": "2022-09-27T07:05:19.781Z", - "modified_date": "2022-09-27T07:05:19.781Z", - "deleted": false, - "name": "Dummy Camera 18", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 19, - "fields": { - "external_id": "c6e2c6c3-ba16-4c69-b1f8-822d28317268", - "created_date": "2022-09-27T07:13:12.608Z", - "modified_date": "2022-09-27T07:13:12.608Z", - "deleted": false, - "name": "Dummy Camera 19", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 20, - "fields": { - "external_id": "cb375e24-a98c-45ed-85c4-bdd340625357", - "created_date": "2022-09-27T07:13:16.362Z", - "modified_date": "2022-09-27T07:13:16.362Z", - "deleted": false, - "name": "Dummy Camera 20", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 21, - "fields": { - "external_id": "36a0d62c-9f2d-465f-ad9f-772ec7a342d0", - "created_date": "2022-09-27T07:13:19.599Z", - "modified_date": "2022-09-27T07:13:19.599Z", - "deleted": false, - "name": "Dummy Camera 21", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 22, - "fields": { - "external_id": "e24d8936-e4f3-4f30-870e-8bc560be66f2", - "created_date": "2022-09-27T07:13:22.225Z", - "modified_date": "2022-09-27T07:13:22.225Z", - "deleted": false, - "name": "Dummy Camera 22", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 23, - "fields": { - "external_id": "cc0ebf9e-0fe1-45ff-9954-4b92fc072846", - "created_date": "2022-09-27T07:13:25.053Z", - "modified_date": "2022-09-27T07:13:25.053Z", - "deleted": false, - "name": "Dummy Camera 23", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 24, - "fields": { - "external_id": "b10bed38-4a06-473a-85f8-87004703bb2a", - "created_date": "2022-09-27T07:13:27.907Z", - "modified_date": "2022-09-27T07:13:27.907Z", - "deleted": false, - "name": "Dummy Camera 24", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 25, - "fields": { - "external_id": "51ce3355-1773-47c0-a929-54bb57293940", - "created_date": "2022-09-27T07:13:30.944Z", - "modified_date": "2022-09-27T07:13:30.944Z", - "deleted": false, - "name": "Dummy Camera 25", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 26, - "fields": { - "external_id": "567ddf56-f86a-488e-bdff-9c69daacb654", - "created_date": "2022-09-27T07:13:33.581Z", - "modified_date": "2022-09-27T07:13:33.581Z", - "deleted": false, - "name": "Dummy Camera 26", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 27, - "fields": { - "external_id": "234a8559-167b-4e61-9971-15dbc59b9319", - "created_date": "2022-09-27T07:13:37.020Z", - "modified_date": "2022-09-27T07:13:37.020Z", - "deleted": false, - "name": "Dummy Camera 27", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 28, - "fields": { - "external_id": "3f203a24-84ae-44c0-897a-1b3ddd42e072", - "created_date": "2022-09-27T07:13:39.951Z", - "modified_date": "2022-09-27T07:13:39.951Z", - "deleted": false, - "name": "Dummy Camera 28", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 29, - "fields": { - "external_id": "fc4c25cd-de00-494a-ad58-20e581520198", - "created_date": "2022-09-27T07:13:43.511Z", - "modified_date": "2022-09-27T07:13:43.511Z", - "deleted": false, - "name": "Dummy Camera 29", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.asset", - "pk": 30, - "fields": { - "external_id": "cb6f3bf8-cfea-498a-a4f1-effae723d6e0", - "created_date": "2022-09-27T07:13:46.850Z", - "modified_date": "2022-09-27T07:13:46.850Z", - "deleted": false, - "name": "Dummy Camera 30", - "description": "This is a dummy camera", - "asset_type": 50, - "asset_class": "ONVIF", - "status": 50, - "current_location": 1, - "is_working": true, - "not_working_reason": "", - "serial_number": "", - "warranty_details": "", - "meta": {}, - "vendor_name": "Vendors Inc.", - "support_name": "", - "support_phone": "+914578889765", - "support_email": "", - "qr_code_id": null, - "manufacturer": null, - "warranty_amc_end_of_validity": null, - "last_service": null - } - }, - { - "model": "facility.patientconsultation", - "pk": 1, - "fields": { - "external_id": "b5217729-3008-4a44-b347-72ba738d5f45", - "created_date": "2022-09-27T07:20:40.117Z", - "modified_date": "2022-09-27T07:20:40.123Z", - "deleted": false, - "patient": 1, - "patient_no": "88.99.44.66", - "facility": 1, - "symptoms": "3", - "other_symptoms": "", - "symptoms_onset_date": "2022-09-27T07:19:53.380Z", - "deprecated_covid_category": null, - "category": "Moderate", - "examination_details": "", - "history_of_present_illness": "", - "treatment_plan": "", - "consultation_notes": "Transfer", - "course_in_facility": null, - "investigation": [], - "prescriptions": {}, - "procedure": {}, - "suggestion": "R", - "route_to_facility": null, - "review_interval": -1, - "referred_to": 2, - "is_readmission": false, - "referred_to_external": "", - "admitted": false, - "admission_date": null, - "discharge_date": null, - "discharge_reason": null, - "discharge_notes": "", - "discharge_prescription": {}, - "discharge_prn_prescription": {}, - "death_datetime": null, - "death_confirmed_doctor": "", - "bed_number": null, - "is_kasp": false, - "kasp_enabled_date": null, - "is_telemedicine": false, - "last_updated_by_telemedicine": false, - "assigned_to": null, - "deprecated_verified_by": "", - "treating_physician": null, - "created_by": 2, - "last_edited_by": 2, - "last_daily_round": null, - "current_bed": null, - "height": 0.0, - "weight": 0.0, - "operation": null, - "special_instruction": "", - "intubation_history": [], - "prn_prescription": [], - "discharge_advice": [] - } - }, - { - "model": "facility.bed", - "pk": 1, - "fields": { - "external_id": "260de825-7ef2-4155-8fd2-ae4d66980734", - "created_date": "2023-09-15T06:13:43.199Z", - "modified_date": "2023-09-15T06:13:43.199Z", - "deleted": false, - "name": "Dummy Bed 1", - "description": "", - "bed_type": 2, - "facility": 1, - "meta": {}, - "location": 2 - } - }, - { - "model": "facility.bed", - "pk": 2, - "fields": { - "external_id": "8ab99d71-7263-4c60-b6d4-b22e7f8dfecf", - "created_date": "2023-09-15T06:13:43.199Z", - "modified_date": "2023-09-15T06:13:43.199Z", - "deleted": false, - "name": "Dummy Bed 2", - "description": "", - "bed_type": 2, - "facility": 1, - "meta": {}, - "location": 2 - } - }, - { - "model": "facility.bed", - "pk": 3, - "fields": { - "external_id": "e7a9c643-4841-47f3-9729-4ccdadb9783a", - "created_date": "2023-09-15T06:13:43.200Z", - "modified_date": "2023-09-15T06:13:43.200Z", - "deleted": false, - "name": "Dummy Bed 3", - "description": "", - "bed_type": 2, - "facility": 1, - "meta": {}, - "location": 2 - } - }, - { - "model": "facility.bed", - "pk": 5, - "fields": { - "external_id": "fe749328-1a6a-43ae-b4c2-fb718b8ca84b", - "created_date": "2023-09-15T06:14:13.862Z", - "modified_date": "2023-09-15T06:14:13.862Z", - "deleted": false, - "name": "Dummy Bed 5", - "description": "", - "bed_type": 1, - "facility": 1, - "meta": {}, - "location": 1 - } - }, - { - "model": "facility.bed", - "pk": 7, - "fields": { - "external_id": "ddd0ce36-c4ff-409c-96d3-ea943ac876e4", - "created_date": "2023-09-15T06:14:45.458Z", - "modified_date": "2023-09-15T06:14:45.458Z", - "deleted": false, - "name": "Dummy Bed 6", - "description": "", - "bed_type": 6, - "facility": 1, - "meta": {}, - "location": 1 - } - }, - { - "model": "facility.bed", - "pk": 8, - "fields": { - "external_id": "90a90743-0a95-42c1-bdf2-b7fbf9b9edd1", - "created_date": "2023-09-15T06:14:56.105Z", - "modified_date": "2023-09-15T06:14:56.105Z", - "deleted": false, - "name": "Dummy Bed 4", - "description": "", - "bed_type": 2, - "facility": 1, - "meta": {}, - "location": 1 - } - }, - { - "model": "facility.facilityinventoryitemtag", - "pk": 1, - "fields": { - "name": "Safety" - } - }, - { - "model": "facility.facilityinventoryitemtag", - "pk": 2, - "fields": { - "name": "Medical" - } - }, - { - "model": "facility.facilityinventoryitemtag", - "pk": 3, - "fields": { - "name": "Food" - } - }, - { - "model": "facility.facilityinventoryunit", - "pk": 1, - "fields": { - "name": "Items" - } - }, - { - "model": "facility.facilityinventoryunit", - "pk": 2, - "fields": { - "name": "Dozen" - } - }, - { - "model": "facility.facilityinventoryunit", - "pk": 3, - "fields": { - "name": "Kilo Litre" - } - }, - { - "model": "facility.facilityinventoryunit", - "pk": 4, - "fields": { - "name": "Cylinders" - } - }, - { - "model": "facility.facilityinventoryunit", - "pk": 5, - "fields": { - "name": "kg" - } - }, - { - "model": "facility.facilityinventoryunit", - "pk": 6, - "fields": { - "name": "gram" - } - }, - { - "model": "facility.facilityinventoryunit", - "pk": 7, - "fields": { - "name": "Cubic Meter" - } - }, - { - "model": "facility.facilityinventoryunitconverter", - "pk": 1, - "fields": { - "from_unit": 5, - "to_unit": 6, - "multiplier": 1000.0 - } - }, - { - "model": "facility.facilityinventoryunitconverter", - "pk": 2, - "fields": { - "from_unit": 2, - "to_unit": 1, - "multiplier": 12.0 - } - }, - { - "model": "facility.facilityinventoryitem", - "pk": 1, - "fields": { - "name": "PPE", - "default_unit": 1, - "description": "", - "min_quantity": 150.0, - "allowed_units": [ - 1, - 2 - ], - "tags": [ - 1, - 2 - ] - } - }, - { - "model": "facility.facilityinventoryitem", - "pk": 2, - "fields": { - "name": "IV Fluid 500 ml", - "default_unit": 1, - "description": "", - "min_quantity": 2.0, - "allowed_units": [ - 1, - 2 - ], - "tags": [ - 2 - ] - } - }, - { - "model": "facility.facilityinventoryitem", - "pk": 3, - "fields": { - "name": "Liquid Oxygen", - "default_unit": 7, - "description": "", - "min_quantity": 10.0, - "allowed_units": [ - 7 - ], - "tags": [ - 2 - ] - } - }, - { - "model": "facility.facilityinventoryitem", - "pk": 4, - "fields": { - "name": "Jumbo D Type Oxygen Cylinder", - "default_unit": 4, - "description": "", - "min_quantity": 100.0, - "allowed_units": [ - 4 - ], - "tags": [] - } - }, - { - "model": "facility.facilityinventoryitem", - "pk": 5, - "fields": { - "name": "B Type Oxygen Cylinder", - "default_unit": 4, - "description": "", - "min_quantity": 100.0, - "allowed_units": [ - 4 - ], - "tags": [] - } - }, - { - "model": "facility.facilityinventoryitem", - "pk": 6, - "fields": { - "name": "C Type Oxygen Cylinder", - "default_unit": 4, - "description": "", - "min_quantity": 100.0, - "allowed_units": [ - 4 - ], - "tags": [] - } - }, - { - "model": "facility.facilityinventoryitem", - "pk": 7, - "fields": { - "name": "Gaseous Oxygen", - "default_unit": 7, - "description": "", - "min_quantity": 10.0, - "allowed_units": [ - 7 - ], - "tags": [ - 2 - ] - } - }, - { - "model": "facility.historicalpatientregistration", - "pk": 1, - "fields": { - "id": 1, - "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", - "created_date": "2022-09-27T07:19:20.379Z", - "modified_date": "2022-09-27T07:19:20.379Z", - "deleted": false, - "source": 10, - "name": "Dummy Patient", - "age": 120, - "gender": 1, - "phone_number": "+911234567896", - "emergency_phone_number": "+919898797775", - "address": "55.66.44.33", - "permanent_address": "55.66.44.33", - "pincode": 600115, - "date_of_birth": "1901-10-16", - "year_of_birth": 1901, - "nationality": "India", - "passport_no": "", - "is_medical_worker": false, - "blood_group": "O+", - "contact_with_confirmed_carrier": false, - "contact_with_suspected_carrier": false, - "estimated_contact_date": null, - "past_travel": false, - "countries_travelled_old": null, - "countries_travelled": null, - "date_of_return": null, - "allergies": "", - "present_health": "", - "ongoing_medication": "", - "has_SARI": false, - "is_antenatal": false, - "ward_old": "", - "is_migrant_worker": false, - "disease_status": 2, - "number_of_aged_dependents": 0, - "number_of_chronic_diseased_dependents": 0, - "action": 10, - "review_time": null, - "is_active": true, - "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", - "test_id": "", - "date_of_test": null, - "srf_id": "", - "test_type": 30, - "allow_transfer": false, - "will_donate_blood": null, - "fit_for_blood_donation": null, - "village": "", - "designation_of_health_care_worker": "", - "instituion_of_health_care_worker": "", - "transit_details": null, - "frontline_worker": null, - "date_of_result": null, - "number_of_primary_contacts": null, - "number_of_secondary_contacts": null, - "is_vaccinated": false, - "number_of_doses": 0, - "vaccine_name": null, - "covin_id": null, - "last_vaccinated_date": null, - "cluster_name": null, - "is_declared_positive": true, - "date_declared_positive": "2022-09-27T07:15:04.715Z", - "facility": 1, - "nearest_facility": null, - "ward": 1729, - "local_body": 95, - "district": 7, - "state": 1, - "last_edited": null, - "created_by": 2, - "last_consultation": null, - "assigned_to": null, - "abha_number": null, - "history_date": "2022-09-27T07:19:20.385Z", - "history_change_reason": null, - "history_type": "+", - "history_user": 2 - } - }, - { - "model": "facility.historicalpatientregistration", - "pk": 2, - "fields": { - "id": 1, - "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", - "created_date": "2022-09-27T07:19:20.379Z", - "modified_date": "2022-09-27T07:19:20.400Z", - "deleted": false, - "source": 10, - "name": "Dummy Patient", - "age": 120, - "gender": 1, - "phone_number": "+911234567896", - "emergency_phone_number": "+919898797775", - "address": "55.66.44.33", - "permanent_address": "55.66.44.33", - "pincode": 600115, - "date_of_birth": "1901-10-16", - "year_of_birth": 1901, - "nationality": "India", - "passport_no": "", - "is_medical_worker": false, - "blood_group": "O+", - "contact_with_confirmed_carrier": false, - "contact_with_suspected_carrier": false, - "estimated_contact_date": null, - "past_travel": false, - "countries_travelled_old": null, - "countries_travelled": null, - "date_of_return": null, - "allergies": "", - "present_health": "", - "ongoing_medication": "", - "has_SARI": false, - "is_antenatal": false, - "ward_old": "", - "is_migrant_worker": false, - "disease_status": 2, - "number_of_aged_dependents": 0, - "number_of_chronic_diseased_dependents": 0, - "action": 10, - "review_time": null, - "is_active": true, - "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", - "test_id": "", - "date_of_test": null, - "srf_id": "", - "test_type": 30, - "allow_transfer": false, - "will_donate_blood": null, - "fit_for_blood_donation": null, - "village": "", - "designation_of_health_care_worker": "", - "instituion_of_health_care_worker": "", - "transit_details": null, - "frontline_worker": null, - "date_of_result": null, - "number_of_primary_contacts": null, - "number_of_secondary_contacts": null, - "is_vaccinated": false, - "number_of_doses": 0, - "vaccine_name": null, - "covin_id": null, - "last_vaccinated_date": null, - "cluster_name": null, - "is_declared_positive": true, - "date_declared_positive": "2022-09-27T07:15:04.715Z", - "facility": 1, - "nearest_facility": null, - "ward": 1729, - "local_body": 95, - "district": 7, - "state": 1, - "last_edited": null, - "created_by": 2, - "last_consultation": null, - "assigned_to": null, - "abha_number": null, - "history_date": "2022-09-27T07:19:20.403Z", - "history_change_reason": null, - "history_type": "~", - "history_user": 2 - } - }, - { - "model": "facility.historicalpatientregistration", - "pk": 3, - "fields": { - "id": 1, - "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", - "created_date": "2022-09-27T07:19:20.379Z", - "modified_date": "2022-09-27T07:19:20.413Z", - "deleted": false, - "source": 10, - "name": "Dummy Patient", - "age": 120, - "gender": 1, - "phone_number": "+911234567896", - "emergency_phone_number": "+919898797775", - "address": "55.66.44.33", - "permanent_address": "55.66.44.33", - "pincode": 600115, - "date_of_birth": "1901-10-16", - "year_of_birth": 1901, - "nationality": "India", - "passport_no": "", - "is_medical_worker": false, - "blood_group": "O+", - "contact_with_confirmed_carrier": false, - "contact_with_suspected_carrier": false, - "estimated_contact_date": null, - "past_travel": false, - "countries_travelled_old": null, - "countries_travelled": null, - "date_of_return": null, - "allergies": "", - "present_health": "", - "ongoing_medication": "", - "has_SARI": false, - "is_antenatal": false, - "ward_old": "", - "is_migrant_worker": false, - "disease_status": 2, - "number_of_aged_dependents": 0, - "number_of_chronic_diseased_dependents": 0, - "action": 10, - "review_time": null, - "is_active": true, - "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", - "test_id": "", - "date_of_test": null, - "srf_id": "", - "test_type": 30, - "allow_transfer": false, - "will_donate_blood": null, - "fit_for_blood_donation": null, - "village": "", - "designation_of_health_care_worker": "", - "instituion_of_health_care_worker": "", - "transit_details": null, - "frontline_worker": null, - "date_of_result": null, - "number_of_primary_contacts": null, - "number_of_secondary_contacts": null, - "is_vaccinated": false, - "number_of_doses": 0, - "vaccine_name": null, - "covin_id": null, - "last_vaccinated_date": null, - "cluster_name": null, - "is_declared_positive": true, - "date_declared_positive": "2022-09-27T07:15:04.715Z", - "facility": 1, - "nearest_facility": null, - "ward": 1729, - "local_body": 95, - "district": 7, - "state": 1, - "last_edited": 2, - "created_by": 2, - "last_consultation": null, - "assigned_to": null, - "abha_number": null, - "history_date": "2022-09-27T07:19:20.415Z", - "history_change_reason": null, - "history_type": "~", - "history_user": 2 - } - }, - { - "model": "facility.historicalpatientregistration", - "pk": 4, - "fields": { - "id": 1, - "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", - "created_date": "2022-09-27T07:19:20.379Z", - "modified_date": "2022-09-27T07:20:40.135Z", - "deleted": false, - "source": 10, - "name": "Dummy Patient", - "age": 120, - "gender": 1, - "phone_number": "+911234567896", - "emergency_phone_number": "+919898797775", - "address": "55.66.44.33", - "permanent_address": "55.66.44.33", - "pincode": 600115, - "date_of_birth": "1901-10-16", - "year_of_birth": 1901, - "nationality": "India", - "passport_no": "", - "is_medical_worker": false, - "blood_group": "O+", - "contact_with_confirmed_carrier": false, - "contact_with_suspected_carrier": false, - "estimated_contact_date": null, - "past_travel": false, - "countries_travelled_old": null, - "countries_travelled": null, - "date_of_return": null, - "allergies": "", - "present_health": "", - "ongoing_medication": "", - "has_SARI": false, - "is_antenatal": false, - "ward_old": "", - "is_migrant_worker": false, - "disease_status": 2, - "number_of_aged_dependents": 0, - "number_of_chronic_diseased_dependents": 0, - "action": 10, - "review_time": null, - "is_active": true, - "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", - "test_id": "", - "date_of_test": null, - "srf_id": "", - "test_type": 30, - "allow_transfer": false, - "will_donate_blood": null, - "fit_for_blood_donation": null, - "village": "", - "designation_of_health_care_worker": "", - "instituion_of_health_care_worker": "", - "transit_details": null, - "frontline_worker": null, - "date_of_result": null, - "number_of_primary_contacts": null, - "number_of_secondary_contacts": null, - "is_vaccinated": false, - "number_of_doses": 0, - "vaccine_name": null, - "covin_id": null, - "last_vaccinated_date": null, - "cluster_name": null, - "is_declared_positive": true, - "date_declared_positive": "2022-09-27T07:15:04.715Z", - "facility": 1, - "nearest_facility": null, - "ward": 1729, - "local_body": 95, - "district": 7, - "state": 1, - "last_edited": 2, - "created_by": 2, - "last_consultation": 1, - "assigned_to": null, - "abha_number": null, - "history_date": "2022-09-27T07:20:40.139Z", - "history_change_reason": null, - "history_type": "~", - "history_user": 2 - } - }, - { - "model": "facility.historicalpatientregistration", - "pk": 5, - "fields": { - "id": 1, - "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", - "created_date": "2022-09-27T07:19:20.379Z", - "modified_date": "2022-09-27T07:22:00.563Z", - "deleted": false, - "source": 10, - "name": "Dummy Patient", - "age": 120, - "gender": 1, - "phone_number": "+911234567896", - "emergency_phone_number": "+919898797775", - "address": "55.66.44.33", - "permanent_address": "55.66.44.33", - "pincode": 600115, - "date_of_birth": "1901-10-16", - "year_of_birth": 1901, - "nationality": "India", - "passport_no": "", - "is_medical_worker": false, - "blood_group": "O+", - "contact_with_confirmed_carrier": false, - "contact_with_suspected_carrier": false, - "estimated_contact_date": null, - "past_travel": false, - "countries_travelled_old": null, - "countries_travelled": null, - "date_of_return": null, - "allergies": "", - "present_health": "", - "ongoing_medication": "", - "has_SARI": false, - "is_antenatal": false, - "ward_old": "", - "is_migrant_worker": false, - "disease_status": 2, - "number_of_aged_dependents": 0, - "number_of_chronic_diseased_dependents": 0, - "action": 10, - "review_time": null, - "is_active": true, - "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", - "test_id": "", - "date_of_test": null, - "srf_id": "", - "test_type": 30, - "allow_transfer": true, - "will_donate_blood": null, - "fit_for_blood_donation": null, - "village": "", - "designation_of_health_care_worker": "", - "instituion_of_health_care_worker": "", - "transit_details": null, - "frontline_worker": null, - "date_of_result": null, - "number_of_primary_contacts": null, - "number_of_secondary_contacts": null, - "is_vaccinated": false, - "number_of_doses": 0, - "vaccine_name": null, - "covin_id": null, - "last_vaccinated_date": null, - "cluster_name": null, - "is_declared_positive": true, - "date_declared_positive": "2022-09-27T07:15:04.715Z", - "facility": 1, - "nearest_facility": null, - "ward": 1729, - "local_body": 95, - "district": 7, - "state": 1, - "last_edited": 2, - "created_by": 2, - "last_consultation": 1, - "assigned_to": null, - "abha_number": null, - "history_date": "2022-09-27T07:22:00.566Z", - "history_change_reason": null, - "history_type": "~", - "history_user": 2 - } - }, - { - "model": "facility.patientregistration", - "pk": 1, - "fields": { - "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", - "created_date": "2022-09-27T07:19:20.379Z", - "modified_date": "2022-09-27T07:22:00.563Z", - "deleted": false, - "source": 10, - "facility": 1, - "nearest_facility": null, - "meta_info": null, - "name": "Dummy Patient", - "age": 120, - "gender": 1, - "phone_number": "+911234567896", - "emergency_phone_number": "+919898797775", - "address": "55.66.44.33", - "permanent_address": "55.66.44.33", - "pincode": 600115, - "date_of_birth": "1901-10-16", - "year_of_birth": 1901, - "nationality": "India", - "passport_no": "", - "is_medical_worker": false, - "blood_group": "O+", - "contact_with_confirmed_carrier": false, - "contact_with_suspected_carrier": false, - "estimated_contact_date": null, - "past_travel": false, - "countries_travelled_old": null, - "countries_travelled": null, - "date_of_return": null, - "allergies": "", - "present_health": "", - "ongoing_medication": "", - "has_SARI": false, - "is_antenatal": false, - "ward_old": "", - "ward": 1729, - "local_body": 95, - "district": 7, - "state": 1, - "is_migrant_worker": false, - "disease_status": 2, - "number_of_aged_dependents": 0, - "number_of_chronic_diseased_dependents": 0, - "last_edited": 2, - "action": 10, - "review_time": null, - "created_by": 2, - "is_active": true, - "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", - "test_id": "", - "date_of_test": null, - "srf_id": "", - "test_type": 30, - "allow_transfer": true, - "last_consultation": 1, - "will_donate_blood": null, - "fit_for_blood_donation": null, - "village": "", - "designation_of_health_care_worker": "", - "instituion_of_health_care_worker": "", - "transit_details": null, - "frontline_worker": null, - "date_of_result": null, - "number_of_primary_contacts": null, - "number_of_secondary_contacts": null, - "is_vaccinated": false, - "number_of_doses": 0, - "vaccine_name": null, - "covin_id": null, - "last_vaccinated_date": null, - "cluster_name": null, - "is_declared_positive": true, - "date_declared_positive": "2022-09-27T07:15:04.715Z", - "assigned_to": null, - "abha_number": null - } - }, - { - "model": "facility.disease", - "pk": 1, - "fields": { - "patient": 1, - "disease": 1, - "details": "", - "deleted": false - } - }, - { - "model": "facility.patientsample", - "pk": 1, - "fields": { - "external_id": "29689b96-6018-426f-984f-344fa5e3186b", - "created_date": "2022-09-27T07:23:29.568Z", - "modified_date": "2022-09-27T07:23:29.574Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 2, - "fields": { - "external_id": "ea48179e-90c5-450b-800d-c1866d2d3d74", - "created_date": "2022-09-27T07:25:39.605Z", - "modified_date": "2022-09-27T07:25:39.609Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 3, - "fields": { - "external_id": "dcaf07f9-8412-45bb-bb7c-1c232c28e9da", - "created_date": "2022-09-27T07:25:41.681Z", - "modified_date": "2022-09-27T07:25:41.685Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 4, - "fields": { - "external_id": "80868c78-4917-4401-b4b4-9eea49c47493", - "created_date": "2022-09-27T07:25:42.673Z", - "modified_date": "2022-09-27T07:25:42.676Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 5, - "fields": { - "external_id": "093863c4-1778-4464-9ee9-c408bef0bafe", - "created_date": "2022-09-27T07:25:43.611Z", - "modified_date": "2022-09-27T07:25:43.615Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 6, - "fields": { - "external_id": "5b015be7-ffb3-4f36-a08a-7510dd53ee7f", - "created_date": "2022-09-27T07:25:44.707Z", - "modified_date": "2022-09-27T07:25:44.711Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 7, - "fields": { - "external_id": "b8cb7a31-5480-4466-8388-de1eafa35ede", - "created_date": "2022-09-27T07:25:52.375Z", - "modified_date": "2022-09-27T07:25:52.379Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 8, - "fields": { - "external_id": "c04f9bd2-e11f-466e-8649-d80f9e5d8649", - "created_date": "2022-09-27T07:25:53.556Z", - "modified_date": "2022-09-27T07:25:53.559Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 9, - "fields": { - "external_id": "27001f33-e193-42d5-8809-61b2c63304a9", - "created_date": "2022-09-27T07:25:54.406Z", - "modified_date": "2022-09-27T07:25:54.410Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 10, - "fields": { - "external_id": "1a604325-11bf-44b7-985b-6222b6c37092", - "created_date": "2022-09-27T07:25:55.280Z", - "modified_date": "2022-09-27T07:25:55.284Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 11, - "fields": { - "external_id": "0bd4f6ff-e084-4d2c-9803-79b829682a1d", - "created_date": "2022-09-27T07:25:56.119Z", - "modified_date": "2022-09-27T07:25:56.123Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 12, - "fields": { - "external_id": "fecb4ef3-2889-47ca-8e08-6a27a5e77715", - "created_date": "2022-09-27T07:25:56.959Z", - "modified_date": "2022-09-27T07:25:56.964Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 13, - "fields": { - "external_id": "45186f6d-1ed5-454a-aadd-94ceaefacf20", - "created_date": "2022-09-27T07:25:57.875Z", - "modified_date": "2022-09-27T07:25:57.878Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 14, - "fields": { - "external_id": "bcbc2e7e-d2b8-4e5e-ab50-7c36a51c1e09", - "created_date": "2022-09-27T07:25:58.676Z", - "modified_date": "2022-09-27T07:25:58.681Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 15, - "fields": { - "external_id": "342639b4-f347-4f83-87d1-85c6d7968ee7", - "created_date": "2022-09-27T07:25:59.671Z", - "modified_date": "2022-09-27T07:25:59.674Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 16, - "fields": { - "external_id": "388099f9-f005-47c1-9be3-650ddda769a0", - "created_date": "2022-09-27T07:26:00.354Z", - "modified_date": "2022-09-27T07:26:00.358Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsample", - "pk": 17, - "fields": { - "external_id": "5aef7a72-5e2c-4a0f-b689-747aae8b0dce", - "created_date": "2022-09-27T07:26:00.860Z", - "modified_date": "2022-09-27T07:26:00.863Z", - "deleted": false, - "patient": 1, - "consultation": 1, - "sample_type": 1, - "sample_type_other": "", - "has_sari": false, - "has_ari": false, - "doctor_name": "NO DOCTOR SPECIFIED", - "diff_diagnosis": "", - "etiology_identified": "", - "is_atypical_presentation": false, - "atypical_presentation": "", - "is_unusual_course": false, - "icmr_category": 10, - "icmr_label": "Test", - "status": 1, - "result": 3, - "fast_track": "", - "date_of_sample": "2022-09-27T07:23:29.508Z", - "date_of_result": null, - "testing_facility": 1, - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 1, - "fields": { - "external_id": "64bf6eb2-055d-4a16-8c91-e7ce1390e541", - "created_date": "2022-09-27T07:23:29.580Z", - "modified_date": "2022-09-27T07:23:29.580Z", - "deleted": false, - "patient_sample": 1, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 2, - "fields": { - "external_id": "1f68131b-9aab-456f-b61b-eb0a93d521c4", - "created_date": "2022-09-27T07:25:39.613Z", - "modified_date": "2022-09-27T07:25:39.613Z", - "deleted": false, - "patient_sample": 2, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 3, - "fields": { - "external_id": "80ead199-cd58-44c3-97de-4142e3e7d7ac", - "created_date": "2022-09-27T07:25:41.689Z", - "modified_date": "2022-09-27T07:25:41.689Z", - "deleted": false, - "patient_sample": 3, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 4, - "fields": { - "external_id": "ebe8ffac-1ca0-40fe-80d3-b895e7524ce2", - "created_date": "2022-09-27T07:25:42.681Z", - "modified_date": "2022-09-27T07:25:42.681Z", - "deleted": false, - "patient_sample": 4, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 5, - "fields": { - "external_id": "ed7f8727-3784-40cd-97c6-49e9de3e2fdb", - "created_date": "2022-09-27T07:25:43.620Z", - "modified_date": "2022-09-27T07:25:43.620Z", - "deleted": false, - "patient_sample": 5, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 6, - "fields": { - "external_id": "f7a3695f-bfd4-4af5-9280-e2d54124286e", - "created_date": "2022-09-27T07:25:44.716Z", - "modified_date": "2022-09-27T07:25:44.716Z", - "deleted": false, - "patient_sample": 6, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 7, - "fields": { - "external_id": "a0cad511-4dad-4244-93c4-50277d6734c2", - "created_date": "2022-09-27T07:25:52.383Z", - "modified_date": "2022-09-27T07:25:52.383Z", - "deleted": false, - "patient_sample": 7, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 8, - "fields": { - "external_id": "f3ff09b9-1c79-4afc-bd3d-70eeecc87daa", - "created_date": "2022-09-27T07:25:53.564Z", - "modified_date": "2022-09-27T07:25:53.564Z", - "deleted": false, - "patient_sample": 8, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 9, - "fields": { - "external_id": "a03684c4-4769-4643-b457-8be382895e8b", - "created_date": "2022-09-27T07:25:54.414Z", - "modified_date": "2022-09-27T07:25:54.414Z", - "deleted": false, - "patient_sample": 9, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 10, - "fields": { - "external_id": "a62f7677-31af-42f6-94f9-fcb5e8ab94de", - "created_date": "2022-09-27T07:25:55.288Z", - "modified_date": "2022-09-27T07:25:55.288Z", - "deleted": false, - "patient_sample": 10, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 11, - "fields": { - "external_id": "e9dae65e-bca7-47fc-b490-8ef4de67e331", - "created_date": "2022-09-27T07:25:56.127Z", - "modified_date": "2022-09-27T07:25:56.127Z", - "deleted": false, - "patient_sample": 11, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 12, - "fields": { - "external_id": "e065bb9a-10d2-4bdd-b375-affa163dacdf", - "created_date": "2022-09-27T07:25:56.968Z", - "modified_date": "2022-09-27T07:25:56.968Z", - "deleted": false, - "patient_sample": 12, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 13, - "fields": { - "external_id": "dae215d0-bbfe-41e5-a6e2-20e4504eb068", - "created_date": "2022-09-27T07:25:57.883Z", - "modified_date": "2022-09-27T07:25:57.883Z", - "deleted": false, - "patient_sample": 13, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 14, - "fields": { - "external_id": "dabdd193-f800-4848-902b-b33b345252e5", - "created_date": "2022-09-27T07:25:58.686Z", - "modified_date": "2022-09-27T07:25:58.686Z", - "deleted": false, - "patient_sample": 14, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 15, - "fields": { - "external_id": "8a32a9f0-0686-4104-8fe7-27c7be6a4233", - "created_date": "2022-09-27T07:25:59.679Z", - "modified_date": "2022-09-27T07:25:59.679Z", - "deleted": false, - "patient_sample": 15, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 16, - "fields": { - "external_id": "db4ceed2-a7e5-4cb1-828b-085ddae5fa0a", - "created_date": "2022-09-27T07:26:00.363Z", - "modified_date": "2022-09-27T07:26:00.363Z", - "deleted": false, - "patient_sample": 16, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.patientsampleflow", - "pk": 17, - "fields": { - "external_id": "48b8eb3a-c901-429a-abbb-7e5aae0f9cd2", - "created_date": "2022-09-27T07:26:00.867Z", - "modified_date": "2022-09-27T07:26:00.867Z", - "deleted": false, - "patient_sample": 17, - "status": 1, - "notes": "created", - "created_by": 2 - } - }, - { - "model": "facility.shiftingrequest", - "pk": 1, - "fields": { - "external_id": "a0e4cf70-49b4-4e26-83fa-c2c962386885", - "created_date": "2022-09-27T07:22:00.581Z", - "modified_date": "2022-09-27T07:22:00.581Z", - "deleted": false, - "origin_facility": 1, - "shifting_approving_facility": 2, - "assigned_facility_type": 2, - "assigned_facility": null, - "assigned_facility_external": "", - "patient": 1, - "emergency": true, - "is_up_shift": true, - "reason": "Test", - "vehicle_preference": "", - "preferred_vehicle_choice": 10, - "comments": "", - "refering_facility_contact_name": "Someone at Facility", - "refering_facility_contact_number": "+914455666777", - "is_kasp": false, - "status": 10, - "breathlessness_level": 30, - "is_assigned_to_user": false, - "assigned_to": null, - "ambulance_driver_name": "", - "ambulance_phone_number": "", - "ambulance_number": "", - "created_by": 2, - "last_edited_by": 2 - } - }, - { - "model": "facility.facilityrelatedsummary", - "pk": "99627ad6-53e7-4585-821a-21ac6e765f7b", - "fields": { - "created_date": "2022-09-27T07:00:00.163Z", - "modified_date": "2022-09-27T07:25:00.165Z", - "facility": 1, - "s_type": "FacilityCapacity", - "data": { - "id": "81092ced-8720-44cb-b4c5-3f0ad0540153", - "name": "Dummy Facility 1", - "ward": 1, - "state": 1, - "address": "127.0.0.1", - "pincode": 670000, - "district": 7, - "features": [ - 1, - 2, - 3, - 4, - 5, - 6 - ], - "latitude": null, - "inventory": {}, - "longitude": null, - "local_body": 920, - "ward_object": { - "id": 1, - "name": "NEERICODE WEST", - "number": 1, - "local_body": 920 - }, - "availability": [ - { - "id": "bfb7a4d8-6bf0-46d6-bf20-d5020850ea55", - "room_type": 150, - "modified_date": "2022-09-27T12:30:19.399000+05:30", - "room_type_text": "Oxygen beds", - "total_capacity": 1000, - "current_capacity": 20 - } - ], - "created_date": "2022-09-27T12:29:15.929000+05:30", - "phone_number": "+919999999888", - "state_object": { - "id": 1, - "name": "Kerala" - }, - "facility_type": "Private Hospital", - "modified_date": "2022-09-27T12:29:15.929000+05:30", - "district_object": { - "id": 7, - "name": "Ernakulam", - "state": 1 - }, - "kasp_empanelled": false, - "oxygen_capacity": 0, - "type_b_cylinders": 0, - "type_c_cylinders": 0, - "type_d_cylinders": 0, - "local_body_object": { - "id": 920, - "name": "Alangad  Grama Panchayat, Ernakulam District", - "district": 7, - "body_type": 1, - "localbody_code": "G070203" - }, - "actual_live_patients": 1, - "read_cover_image_url": null, - "expected_type_b_cylinders": 0, - "expected_type_c_cylinders": 0, - "expected_type_d_cylinders": 0, - "actual_discharged_patients": 0, - "expected_oxygen_requirement": 0 - } - } - }, - { - "model": "facility.facilityrelatedsummary", - "pk": "e294a2c2-3b05-469f-b975-e7766201df13", - "fields": { - "created_date": "2022-09-27T07:20:00.162Z", - "modified_date": "2022-09-27T07:25:00.171Z", - "facility": 2, - "s_type": "FacilityCapacity", - "data": { - "id": "fa33079d-727d-4295-b0fd-19153b36b2db", - "name": "Dummy Shifting Center", - "ward": 218, - "state": 1, - "address": "89.66.33.55", - "pincode": 670112, - "district": 7, - "features": [ - 1, - 6 - ], - "latitude": null, - "inventory": {}, - "longitude": null, - "local_body": 12, - "ward_object": { - "id": 218, - "name": "VALAMBOOR", - "number": 2, - "local_body": 12 - }, - "availability": [ - { - "id": "52bd4e97-9064-4697-8fea-37e0a2b8c87c", - "room_type": 150, - "modified_date": "2022-09-27T12:46:52.525280+05:30", - "room_type_text": "Oxygen beds", - "total_capacity": 20, - "current_capacity": 1 - } - ], - "created_date": "2022-09-27T12:45:51.075776+05:30", - "phone_number": "+919876665987", - "state_object": { - "id": 1, - "name": "Kerala" - }, - "facility_type": "Shifting Centre", - "modified_date": "2022-09-27T12:45:51.075811+05:30", - "district_object": { - "id": 7, - "name": "Ernakulam", - "state": 1 - }, - "kasp_empanelled": false, - "oxygen_capacity": 0, - "type_b_cylinders": 0, - "type_c_cylinders": 0, - "type_d_cylinders": 0, - "local_body_object": { - "id": 12, - "name": "Aikaranad  Grama Panchayat, Ernakulam District", - "district": 7, - "body_type": 1, - "localbody_code": "G071005" - }, - "actual_live_patients": 0, - "read_cover_image_url": null, - "expected_type_b_cylinders": 0, - "expected_type_c_cylinders": 0, - "expected_type_d_cylinders": 0, - "actual_discharged_patients": 0, - "expected_oxygen_requirement": 0 - } - } - } + { + "model": "facility.facility", + "pk": 1, + "fields": { + "external_id": "81092ced-8720-44cb-b4c5-3f0ad0540153", + "created_date": "2022-09-27T06:59:15.929Z", + "modified_date": "2023-12-03T09:26:02.089Z", + "deleted": false, + "name": "Dummy Facility 1", + "is_active": true, + "verified": false, + "facility_type": 2, + "kasp_empanelled": false, + "features": "1,2,3,4,5,6", + "longitude": null, + "latitude": null, + "pincode": 670000, + "address": "127.0.0.1", + "ward": 15162, + "local_body": 6, + "district": 7, + "state": 1, + "oxygen_capacity": 0, + "type_b_cylinders": 0, + "type_c_cylinders": 0, + "type_d_cylinders": 0, + "expected_oxygen_requirement": 0, + "expected_type_b_cylinders": 0, + "expected_type_c_cylinders": 0, + "expected_type_d_cylinders": 0, + "phone_number": "+919999999888", + "corona_testing": false, + "created_by": 2, + "cover_image_url": null, + "middleware_address": null + } + }, + { + "model": "facility.facility", + "pk": 2, + "fields": { + "external_id": "fa33079d-727d-4295-b0fd-19153b36b2db", + "created_date": "2022-09-27T07:15:51.075Z", + "modified_date": "2022-09-27T07:15:51.075Z", + "deleted": false, + "name": "Dummy Shifting Center", + "is_active": true, + "verified": false, + "facility_type": 1300, + "kasp_empanelled": false, + "features": "1,6", + "longitude": null, + "latitude": null, + "pincode": 670112, + "address": "89.66.33.55", + "ward": 218, + "local_body": 12, + "district": 7, + "state": 1, + "oxygen_capacity": 0, + "type_b_cylinders": 0, + "type_c_cylinders": 0, + "type_d_cylinders": 0, + "expected_oxygen_requirement": 0, + "expected_type_b_cylinders": 0, + "expected_type_c_cylinders": 0, + "expected_type_d_cylinders": 0, + "phone_number": "+919876665987", + "corona_testing": false, + "created_by": 2, + "cover_image_url": null, + "middleware_address": null + } + }, + { + "model": "facility.facility", + "pk": 3, + "fields": { + "external_id": "4c293ecd-1aae-4ebc-9b5b-b53497dffac9", + "created_date": "2023-09-15T06:11:14.166Z", + "modified_date": "2023-12-03T09:26:10.570Z", + "deleted": false, + "name": "Dummy Request Approving Center", + "is_active": true, + "verified": false, + "facility_type": 1500, + "kasp_empanelled": false, + "features": "1,4,6", + "longitude": "78.6757364624373000", + "latitude": "21.4009146842158660", + "pincode": 670000, + "address": "Dummy Facility Address", + "ward": 15162, + "local_body": 6, + "district": 7, + "state": 1, + "oxygen_capacity": 0, + "type_b_cylinders": 0, + "type_c_cylinders": 0, + "type_d_cylinders": 0, + "expected_oxygen_requirement": 0, + "expected_type_b_cylinders": 0, + "expected_type_c_cylinders": 0, + "expected_type_d_cylinders": 0, + "phone_number": "+919999999888", + "corona_testing": false, + "created_by": 2, + "cover_image_url": null, + "middleware_address": null + } + }, + { + "model": "facility.facility", + "pk": 4, + "fields": { + "external_id": "e70e0b82-7a99-48c2-a735-41cdea3b4076", + "created_date": "2023-09-15T06:12:14.266Z", + "modified_date": "2023-12-03T09:26:14.909Z", + "deleted": false, + "name": "Dummy Request Fulfilment Center", + "is_active": true, + "verified": false, + "facility_type": 1510, + "kasp_empanelled": false, + "features": "1,3,5", + "longitude": "75.2139014820876600", + "latitude": "18.2774285038890340", + "pincode": 670000, + "address": "Dummy Facility Address 2", + "ward": 15162, + "local_body": 6, + "district": 7, + "state": 1, + "oxygen_capacity": 0, + "type_b_cylinders": 0, + "type_c_cylinders": 0, + "type_d_cylinders": 0, + "expected_oxygen_requirement": 0, + "expected_type_b_cylinders": 0, + "expected_type_c_cylinders": 0, + "expected_type_d_cylinders": 0, + "phone_number": "+918899885588", + "corona_testing": false, + "created_by": 2, + "cover_image_url": null, + "middleware_address": null + } + }, + { + "model": "facility.hospitaldoctors", + "pk": 1, + "fields": { + "external_id": "d68776c9-1197-411f-b19d-2069364b17a2", + "created_date": "2023-09-15T06:12:36.941Z", + "modified_date": "2023-09-15T06:12:36.941Z", + "deleted": false, + "facility": 4, + "area": 2, + "count": 5 + } + }, + { + "model": "facility.hospitaldoctors", + "pk": 2, + "fields": { + "external_id": "df1ef651-4e4f-4a0a-9df7-55e5949468ce", + "created_date": "2023-09-15T06:12:54.835Z", + "modified_date": "2023-09-15T06:12:54.835Z", + "deleted": false, + "facility": 3, + "area": 3, + "count": 4 + } + }, + { + "model": "facility.historicalfacilitycapacity", + "pk": 1, + "fields": { + "id": 1, + "external_id": "bfb7a4d8-6bf0-46d6-bf20-d5020850ea55", + "created_date": "2022-09-27T07:00:19.399Z", + "modified_date": "2022-09-27T07:00:19.399Z", + "deleted": false, + "room_type": 150, + "total_capacity": 1000, + "current_capacity": 20, + "facility": 1, + "history_date": "2022-09-27T07:00:19.400Z", + "history_change_reason": null, + "history_type": "+", + "history_user": 2 + } + }, + { + "model": "facility.historicalfacilitycapacity", + "pk": 2, + "fields": { + "id": 2, + "external_id": "52bd4e97-9064-4697-8fea-37e0a2b8c87c", + "created_date": "2022-09-27T07:16:52.525Z", + "modified_date": "2022-09-27T07:16:52.525Z", + "deleted": false, + "room_type": 150, + "total_capacity": 20, + "current_capacity": 1, + "facility": 2, + "history_date": "2022-09-27T07:16:52.526Z", + "history_change_reason": null, + "history_type": "+", + "history_user": 2 + } + }, + { + "model": "facility.historicalfacilitycapacity", + "pk": 3, + "fields": { + "id": 3, + "external_id": "4fed54e3-672b-412c-998f-a7d8f303016c", + "created_date": "2023-09-15T06:12:31.548Z", + "modified_date": "2023-09-15T06:12:31.548Z", + "deleted": false, + "room_type": 150, + "total_capacity": 12, + "current_capacity": 2, + "facility": 4, + "history_date": "2023-09-15T06:12:31.550Z", + "history_change_reason": null, + "history_type": "+", + "history_user": 2 + } + }, + { + "model": "facility.historicalfacilitycapacity", + "pk": 4, + "fields": { + "id": 4, + "external_id": "c7d64165-8097-4dec-a4df-616647e70c31", + "created_date": "2023-09-15T06:12:50.165Z", + "modified_date": "2023-09-15T06:12:50.165Z", + "deleted": false, + "room_type": 20, + "total_capacity": 31, + "current_capacity": 2, + "facility": 3, + "history_date": "2023-09-15T06:12:50.166Z", + "history_change_reason": null, + "history_type": "+", + "history_user": 2 + } + }, + { + "model": "facility.facilitycapacity", + "pk": 1, + "fields": { + "external_id": "bfb7a4d8-6bf0-46d6-bf20-d5020850ea55", + "created_date": "2022-09-27T07:00:19.399Z", + "modified_date": "2022-09-27T07:00:19.399Z", + "deleted": false, + "facility": 1, + "room_type": 150, + "total_capacity": 1000, + "current_capacity": 20 + } + }, + { + "model": "facility.facilitycapacity", + "pk": 2, + "fields": { + "external_id": "52bd4e97-9064-4697-8fea-37e0a2b8c87c", + "created_date": "2022-09-27T07:16:52.525Z", + "modified_date": "2022-09-27T07:16:52.525Z", + "deleted": false, + "facility": 2, + "room_type": 150, + "total_capacity": 20, + "current_capacity": 1 + } + }, + { + "model": "facility.facilitycapacity", + "pk": 3, + "fields": { + "external_id": "4fed54e3-672b-412c-998f-a7d8f303016c", + "created_date": "2023-09-15T06:12:31.548Z", + "modified_date": "2023-09-15T06:12:31.548Z", + "deleted": false, + "facility": 4, + "room_type": 150, + "total_capacity": 12, + "current_capacity": 2 + } + }, + { + "model": "facility.facilitycapacity", + "pk": 4, + "fields": { + "external_id": "c7d64165-8097-4dec-a4df-616647e70c31", + "created_date": "2023-09-15T06:12:50.165Z", + "modified_date": "2023-09-15T06:12:50.165Z", + "deleted": false, + "facility": 3, + "room_type": 20, + "total_capacity": 31, + "current_capacity": 2 + } + }, + { + "model": "facility.facilityuser", + "pk": 1, + "fields": { + "facility": 1, + "user": 2, + "created_by": 2 + } + }, + { + "model": "facility.facilityuser", + "pk": 2, + "fields": { + "facility": 2, + "user": 2, + "created_by": 2 + } + }, + { + "model": "facility.facilityuser", + "pk": 3, + "fields": { + "facility": 1, + "user": 21, + "created_by": 2 + } + }, + { + "model": "facility.facilityuser", + "pk": 4, + "fields": { + "facility": 1, + "user": 22, + "created_by": 2 + } + }, + { + "model": "facility.facilityuser", + "pk": 5, + "fields": { + "facility": 3, + "user": 2, + "created_by": 2 + } + }, + { + "model": "facility.facilityuser", + "pk": 6, + "fields": { + "facility": 4, + "user": 2, + "created_by": 2 + } + }, + { + "model": "facility.assetlocation", + "pk": 1, + "fields": { + "external_id": "c3ab727f-dc3f-4a11-bf8d-2472bd79b5f7", + "created_date": "2022-09-27T07:02:07.969Z", + "modified_date": "2022-09-27T07:02:07.969Z", + "deleted": false, + "name": "Camera Locations", + "description": "", + "location_type": 1, + "facility": 1, + "middleware_address": null + } + }, + { + "model": "facility.assetlocation", + "pk": 2, + "fields": { + "external_id": "a5cd0a56-cd5a-425c-9a87-cf79c0a90887", + "created_date": "2023-09-15T06:13:24.614Z", + "modified_date": "2023-09-15T06:13:24.614Z", + "deleted": false, + "name": "Dummy Location 1", + "description": "", + "location_type": 1, + "facility": 1, + "middleware_address": null + } + }, + { + "model": "facility.asset", + "pk": 1, + "fields": { + "external_id": "ae4290a0-e86a-48d7-9c82-60b7d6514707", + "created_date": "2022-09-27T07:03:57.401Z", + "modified_date": "2022-09-27T07:03:57.401Z", + "deleted": false, + "name": "Dummy Camera 1", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 2, + "fields": { + "external_id": "7c06ec3c-838d-447a-bf36-d20239c8442f", + "created_date": "2022-09-27T07:04:30.802Z", + "modified_date": "2022-09-27T07:04:30.802Z", + "deleted": false, + "name": "Dummy Camera 2", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 3, + "fields": { + "external_id": "46740927-f782-49aa-bf6e-52a1208e8d18", + "created_date": "2022-09-27T07:04:35.291Z", + "modified_date": "2022-09-27T07:04:35.291Z", + "deleted": false, + "name": "Dummy Camera 3", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 4, + "fields": { + "external_id": "d6e9e071-e67e-4fbc-a872-4c3b1b9f749f", + "created_date": "2022-09-27T07:04:38.335Z", + "modified_date": "2022-09-27T07:04:38.335Z", + "deleted": false, + "name": "Dummy Camera 4", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 5, + "fields": { + "external_id": "35a2200d-6c1a-4c53-936c-60ebec1f9d42", + "created_date": "2022-09-27T07:04:41.179Z", + "modified_date": "2022-09-27T07:04:41.179Z", + "deleted": false, + "name": "Dummy Camera 5", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 6, + "fields": { + "external_id": "db1c2f95-5ae9-4e64-b647-30250beb79c7", + "created_date": "2022-09-27T07:04:43.869Z", + "modified_date": "2022-09-27T07:04:43.870Z", + "deleted": false, + "name": "Dummy Camera 6", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 7, + "fields": { + "external_id": "604ec344-a7d1-4523-8a6f-3e78cd3409ef", + "created_date": "2022-09-27T07:04:46.610Z", + "modified_date": "2022-09-27T07:04:46.610Z", + "deleted": false, + "name": "Dummy Camera 7", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 8, + "fields": { + "external_id": "271ace96-6bc6-4d32-916b-6b69eb81e4c3", + "created_date": "2022-09-27T07:04:49.732Z", + "modified_date": "2022-09-27T07:04:49.732Z", + "deleted": false, + "name": "Dummy Camera 8", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 9, + "fields": { + "external_id": "fe2f171f-0c69-4305-be60-0db625d0e38e", + "created_date": "2022-09-27T07:04:52.832Z", + "modified_date": "2022-09-27T07:04:52.832Z", + "deleted": false, + "name": "Dummy Camera 9", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 10, + "fields": { + "external_id": "cf77edb2-e771-46db-a73d-80ac2b446987", + "created_date": "2022-09-27T07:04:55.942Z", + "modified_date": "2022-09-27T07:04:55.942Z", + "deleted": false, + "name": "Dummy Camera 10", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 11, + "fields": { + "external_id": "2a19c4a9-84a2-41c8-ac0d-bbbc35e5f18d", + "created_date": "2022-09-27T07:04:58.599Z", + "modified_date": "2022-09-27T07:04:58.599Z", + "deleted": false, + "name": "Dummy Camera 11", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 12, + "fields": { + "external_id": "efb41cef-4d39-477f-b437-7ec9e4406971", + "created_date": "2022-09-27T07:05:01.182Z", + "modified_date": "2022-09-27T07:05:01.182Z", + "deleted": false, + "name": "Dummy Camera 12", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 13, + "fields": { + "external_id": "875b2bd3-67a8-4968-a589-d62c656cacb9", + "created_date": "2022-09-27T07:05:03.955Z", + "modified_date": "2022-09-27T07:05:03.955Z", + "deleted": false, + "name": "Dummy Camera 13", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 14, + "fields": { + "external_id": "b9ff3001-ed15-4538-bb54-78d0b2be445f", + "created_date": "2022-09-27T07:05:07.194Z", + "modified_date": "2022-09-27T07:05:07.194Z", + "deleted": false, + "name": "Dummy Camera 14", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 15, + "fields": { + "external_id": "a9678d31-17a9-4474-be01-c095553e97b5", + "created_date": "2022-09-27T07:05:10.384Z", + "modified_date": "2022-09-27T07:05:10.384Z", + "deleted": false, + "name": "Dummy Camera 15", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 16, + "fields": { + "external_id": "b0e4063e-3f05-4f94-aea0-e15e9e474f96", + "created_date": "2022-09-27T07:05:13.857Z", + "modified_date": "2022-09-27T07:05:13.857Z", + "deleted": false, + "name": "Dummy Camera 16", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 17, + "fields": { + "external_id": "634e1421-f1a7-41d1-bde2-13d1ee7eabf4", + "created_date": "2022-09-27T07:05:16.707Z", + "modified_date": "2022-09-27T07:05:16.707Z", + "deleted": false, + "name": "Dummy Camera 17", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 18, + "fields": { + "external_id": "17992979-d18a-46c6-a48f-c7f0f40f85c3", + "created_date": "2022-09-27T07:05:19.781Z", + "modified_date": "2022-09-27T07:05:19.781Z", + "deleted": false, + "name": "Dummy Camera 18", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 19, + "fields": { + "external_id": "c6e2c6c3-ba16-4c69-b1f8-822d28317268", + "created_date": "2022-09-27T07:13:12.608Z", + "modified_date": "2022-09-27T07:13:12.608Z", + "deleted": false, + "name": "Dummy Camera 19", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 20, + "fields": { + "external_id": "cb375e24-a98c-45ed-85c4-bdd340625357", + "created_date": "2022-09-27T07:13:16.362Z", + "modified_date": "2022-09-27T07:13:16.362Z", + "deleted": false, + "name": "Dummy Camera 20", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 21, + "fields": { + "external_id": "36a0d62c-9f2d-465f-ad9f-772ec7a342d0", + "created_date": "2022-09-27T07:13:19.599Z", + "modified_date": "2022-09-27T07:13:19.599Z", + "deleted": false, + "name": "Dummy Camera 21", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 22, + "fields": { + "external_id": "e24d8936-e4f3-4f30-870e-8bc560be66f2", + "created_date": "2022-09-27T07:13:22.225Z", + "modified_date": "2022-09-27T07:13:22.225Z", + "deleted": false, + "name": "Dummy Camera 22", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 23, + "fields": { + "external_id": "cc0ebf9e-0fe1-45ff-9954-4b92fc072846", + "created_date": "2022-09-27T07:13:25.053Z", + "modified_date": "2022-09-27T07:13:25.053Z", + "deleted": false, + "name": "Dummy Camera 23", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 24, + "fields": { + "external_id": "b10bed38-4a06-473a-85f8-87004703bb2a", + "created_date": "2022-09-27T07:13:27.907Z", + "modified_date": "2022-09-27T07:13:27.907Z", + "deleted": false, + "name": "Dummy Camera 24", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 25, + "fields": { + "external_id": "51ce3355-1773-47c0-a929-54bb57293940", + "created_date": "2022-09-27T07:13:30.944Z", + "modified_date": "2022-09-27T07:13:30.944Z", + "deleted": false, + "name": "Dummy Camera 25", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 26, + "fields": { + "external_id": "567ddf56-f86a-488e-bdff-9c69daacb654", + "created_date": "2022-09-27T07:13:33.581Z", + "modified_date": "2022-09-27T07:13:33.581Z", + "deleted": false, + "name": "Dummy Camera 26", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 27, + "fields": { + "external_id": "234a8559-167b-4e61-9971-15dbc59b9319", + "created_date": "2022-09-27T07:13:37.020Z", + "modified_date": "2022-09-27T07:13:37.020Z", + "deleted": false, + "name": "Dummy Camera 27", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 28, + "fields": { + "external_id": "3f203a24-84ae-44c0-897a-1b3ddd42e072", + "created_date": "2022-09-27T07:13:39.951Z", + "modified_date": "2022-09-27T07:13:39.951Z", + "deleted": false, + "name": "Dummy Camera 28", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 29, + "fields": { + "external_id": "fc4c25cd-de00-494a-ad58-20e581520198", + "created_date": "2022-09-27T07:13:43.511Z", + "modified_date": "2022-09-27T07:13:43.511Z", + "deleted": false, + "name": "Dummy Camera 29", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.asset", + "pk": 30, + "fields": { + "external_id": "cb6f3bf8-cfea-498a-a4f1-effae723d6e0", + "created_date": "2022-09-27T07:13:46.850Z", + "modified_date": "2022-09-27T07:13:46.850Z", + "deleted": false, + "name": "Dummy Camera 30", + "description": "This is a dummy camera", + "asset_type": 50, + "asset_class": "ONVIF", + "status": 50, + "current_location": 1, + "is_working": true, + "not_working_reason": "", + "serial_number": "", + "warranty_details": "", + "meta": {}, + "vendor_name": "Vendors Inc.", + "support_name": "", + "support_phone": "+914578889765", + "support_email": "", + "qr_code_id": null, + "manufacturer": null, + "warranty_amc_end_of_validity": null, + "last_service": null + } + }, + { + "model": "facility.patientconsultation", + "pk": 1, + "fields": { + "external_id": "b5217729-3008-4a44-b347-72ba738d5f45", + "created_date": "2022-09-27T07:20:40.117Z", + "modified_date": "2022-09-27T07:20:40.123Z", + "deleted": false, + "patient": 1, + "patient_no": "88.99.44.66", + "facility": 1, + "deprecated_diagnosis": "", + "deprecated_icd11_provisional_diagnoses": "[]", + "deprecated_icd11_diagnoses": "[]", + "deprecated_icd11_principal_diagnosis": "", + "symptoms": "3", + "other_symptoms": "", + "symptoms_onset_date": "2022-09-27T07:19:53.380Z", + "deprecated_covid_category": null, + "category": "Moderate", + "examination_details": "", + "history_of_present_illness": "", + "treatment_plan": "", + "consultation_notes": "Transfer", + "course_in_facility": null, + "investigation": [], + "prescriptions": {}, + "procedure": {}, + "suggestion": "R", + "route_to_facility": null, + "review_interval": -1, + "referred_to": 2, + "referred_to_external": "", + "transferred_from_location": null, + "referred_from_facility": null, + "referred_from_facility_external": "", + "referred_by_external": "", + "is_readmission": false, + "admitted": false, + "admission_date": null, + "icu_admission_date": null, + "discharge_date": null, + "discharge_reason": null, + "discharge_notes": "", + "discharge_prescription": {}, + "discharge_prn_prescription": {}, + "death_datetime": null, + "death_confirmed_doctor": "", + "bed_number": null, + "is_kasp": false, + "kasp_enabled_date": null, + "is_telemedicine": false, + "last_updated_by_telemedicine": false, + "assigned_to": null, + "medico_legal_case": false, + "deprecated_verified_by": "", + "treating_physician": null, + "created_by": 2, + "last_edited_by": 2, + "last_daily_round": null, + "current_bed": null, + "height": 0.0, + "weight": 0.0, + "operation": null, + "special_instruction": "", + "intubation_history": [], + "prn_prescription": [], + "discharge_advice": [] + } + }, + { + "model": "facility.bed", + "pk": 1, + "fields": { + "external_id": "260de825-7ef2-4155-8fd2-ae4d66980734", + "created_date": "2023-09-15T06:13:43.199Z", + "modified_date": "2023-09-15T06:13:43.199Z", + "deleted": false, + "name": "Dummy Bed 1", + "description": "", + "bed_type": 2, + "facility": 1, + "meta": {}, + "location": 2 + } + }, + { + "model": "facility.bed", + "pk": 2, + "fields": { + "external_id": "8ab99d71-7263-4c60-b6d4-b22e7f8dfecf", + "created_date": "2023-09-15T06:13:43.199Z", + "modified_date": "2023-09-15T06:13:43.199Z", + "deleted": false, + "name": "Dummy Bed 2", + "description": "", + "bed_type": 2, + "facility": 1, + "meta": {}, + "location": 2 + } + }, + { + "model": "facility.bed", + "pk": 3, + "fields": { + "external_id": "e7a9c643-4841-47f3-9729-4ccdadb9783a", + "created_date": "2023-09-15T06:13:43.200Z", + "modified_date": "2023-09-15T06:13:43.200Z", + "deleted": false, + "name": "Dummy Bed 3", + "description": "", + "bed_type": 2, + "facility": 1, + "meta": {}, + "location": 2 + } + }, + { + "model": "facility.bed", + "pk": 5, + "fields": { + "external_id": "fe749328-1a6a-43ae-b4c2-fb718b8ca84b", + "created_date": "2023-09-15T06:14:13.862Z", + "modified_date": "2023-09-15T06:14:13.862Z", + "deleted": false, + "name": "Dummy Bed 5", + "description": "", + "bed_type": 1, + "facility": 1, + "meta": {}, + "location": 1 + } + }, + { + "model": "facility.bed", + "pk": 7, + "fields": { + "external_id": "ddd0ce36-c4ff-409c-96d3-ea943ac876e4", + "created_date": "2023-09-15T06:14:45.458Z", + "modified_date": "2023-09-15T06:14:45.458Z", + "deleted": false, + "name": "Dummy Bed 6", + "description": "", + "bed_type": 6, + "facility": 1, + "meta": {}, + "location": 1 + } + }, + { + "model": "facility.bed", + "pk": 8, + "fields": { + "external_id": "90a90743-0a95-42c1-bdf2-b7fbf9b9edd1", + "created_date": "2023-09-15T06:14:56.105Z", + "modified_date": "2023-09-15T06:14:56.105Z", + "deleted": false, + "name": "Dummy Bed 4", + "description": "", + "bed_type": 2, + "facility": 1, + "meta": {}, + "location": 1 + } + }, + { + "model": "facility.facilityinventoryitemtag", + "pk": 1, + "fields": { + "name": "Safety" + } + }, + { + "model": "facility.facilityinventoryitemtag", + "pk": 2, + "fields": { + "name": "Medical" + } + }, + { + "model": "facility.facilityinventoryitemtag", + "pk": 3, + "fields": { + "name": "Food" + } + }, + { + "model": "facility.facilityinventoryunit", + "pk": 1, + "fields": { + "name": "Items" + } + }, + { + "model": "facility.facilityinventoryunit", + "pk": 2, + "fields": { + "name": "Dozen" + } + }, + { + "model": "facility.facilityinventoryunit", + "pk": 3, + "fields": { + "name": "Kilo Litre" + } + }, + { + "model": "facility.facilityinventoryunit", + "pk": 4, + "fields": { + "name": "Cylinders" + } + }, + { + "model": "facility.facilityinventoryunit", + "pk": 5, + "fields": { + "name": "kg" + } + }, + { + "model": "facility.facilityinventoryunit", + "pk": 6, + "fields": { + "name": "gram" + } + }, + { + "model": "facility.facilityinventoryunit", + "pk": 7, + "fields": { + "name": "Cubic Meter" + } + }, + { + "model": "facility.facilityinventoryunitconverter", + "pk": 1, + "fields": { + "from_unit": 5, + "to_unit": 6, + "multiplier": 1000.0 + } + }, + { + "model": "facility.facilityinventoryunitconverter", + "pk": 2, + "fields": { + "from_unit": 2, + "to_unit": 1, + "multiplier": 12.0 + } + }, + { + "model": "facility.facilityinventoryitem", + "pk": 1, + "fields": { + "name": "PPE", + "default_unit": 1, + "description": "", + "min_quantity": 150.0, + "allowed_units": [ + 1, + 2 + ], + "tags": [ + 1, + 2 + ] + } + }, + { + "model": "facility.facilityinventoryitem", + "pk": 2, + "fields": { + "name": "IV Fluid 500 ml", + "default_unit": 1, + "description": "", + "min_quantity": 2.0, + "allowed_units": [ + 1, + 2 + ], + "tags": [ + 2 + ] + } + }, + { + "model": "facility.facilityinventoryitem", + "pk": 3, + "fields": { + "name": "Liquid Oxygen", + "default_unit": 7, + "description": "", + "min_quantity": 10.0, + "allowed_units": [ + 7 + ], + "tags": [ + 2 + ] + } + }, + { + "model": "facility.facilityinventoryitem", + "pk": 4, + "fields": { + "name": "Jumbo D Type Oxygen Cylinder", + "default_unit": 4, + "description": "", + "min_quantity": 100.0, + "allowed_units": [ + 4 + ], + "tags": [] + } + }, + { + "model": "facility.facilityinventoryitem", + "pk": 5, + "fields": { + "name": "B Type Oxygen Cylinder", + "default_unit": 4, + "description": "", + "min_quantity": 100.0, + "allowed_units": [ + 4 + ], + "tags": [] + } + }, + { + "model": "facility.facilityinventoryitem", + "pk": 6, + "fields": { + "name": "C Type Oxygen Cylinder", + "default_unit": 4, + "description": "", + "min_quantity": 100.0, + "allowed_units": [ + 4 + ], + "tags": [] + } + }, + { + "model": "facility.facilityinventoryitem", + "pk": 7, + "fields": { + "name": "Gaseous Oxygen", + "default_unit": 7, + "description": "", + "min_quantity": 10.0, + "allowed_units": [ + 7 + ], + "tags": [ + 2 + ] + } + }, + { + "model": "facility.historicalpatientregistration", + "pk": 1, + "fields": { + "id": 1, + "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", + "created_date": "2022-09-27T07:19:20.379Z", + "modified_date": "2022-09-27T07:19:20.379Z", + "deleted": false, + "source": 10, + "name": "Dummy Patient", + "age": 120, + "gender": 1, + "phone_number": "+911234567896", + "emergency_phone_number": "+919898797775", + "address": "55.66.44.33", + "permanent_address": "55.66.44.33", + "pincode": 600115, + "date_of_birth": "1901-10-16", + "year_of_birth": 1901, + "nationality": "India", + "passport_no": "", + "is_medical_worker": false, + "blood_group": "O+", + "contact_with_confirmed_carrier": false, + "contact_with_suspected_carrier": false, + "estimated_contact_date": null, + "past_travel": false, + "countries_travelled_old": null, + "countries_travelled": null, + "date_of_return": null, + "allergies": "", + "present_health": "", + "ongoing_medication": "", + "has_SARI": false, + "is_antenatal": false, + "ward_old": "", + "is_migrant_worker": false, + "disease_status": 2, + "number_of_aged_dependents": 0, + "number_of_chronic_diseased_dependents": 0, + "action": 10, + "review_time": null, + "is_active": true, + "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", + "test_id": "", + "date_of_test": null, + "srf_id": "", + "test_type": 30, + "allow_transfer": false, + "will_donate_blood": null, + "fit_for_blood_donation": null, + "village": "", + "designation_of_health_care_worker": "", + "instituion_of_health_care_worker": "", + "transit_details": null, + "frontline_worker": null, + "date_of_result": null, + "number_of_primary_contacts": null, + "number_of_secondary_contacts": null, + "is_vaccinated": false, + "number_of_doses": 0, + "vaccine_name": null, + "covin_id": null, + "last_vaccinated_date": null, + "cluster_name": null, + "is_declared_positive": true, + "date_declared_positive": "2022-09-27T07:15:04.715Z", + "facility": 1, + "nearest_facility": null, + "ward": 1729, + "local_body": 95, + "district": 7, + "state": 1, + "last_edited": null, + "created_by": 2, + "last_consultation": null, + "assigned_to": null, + "abha_number": null, + "history_date": "2022-09-27T07:19:20.385Z", + "history_change_reason": null, + "history_type": "+", + "history_user": 2 + } + }, + { + "model": "facility.historicalpatientregistration", + "pk": 2, + "fields": { + "id": 1, + "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", + "created_date": "2022-09-27T07:19:20.379Z", + "modified_date": "2022-09-27T07:19:20.400Z", + "deleted": false, + "source": 10, + "name": "Dummy Patient", + "age": 120, + "gender": 1, + "phone_number": "+911234567896", + "emergency_phone_number": "+919898797775", + "address": "55.66.44.33", + "permanent_address": "55.66.44.33", + "pincode": 600115, + "date_of_birth": "1901-10-16", + "year_of_birth": 1901, + "nationality": "India", + "passport_no": "", + "is_medical_worker": false, + "blood_group": "O+", + "contact_with_confirmed_carrier": false, + "contact_with_suspected_carrier": false, + "estimated_contact_date": null, + "past_travel": false, + "countries_travelled_old": null, + "countries_travelled": null, + "date_of_return": null, + "allergies": "", + "present_health": "", + "ongoing_medication": "", + "has_SARI": false, + "is_antenatal": false, + "ward_old": "", + "is_migrant_worker": false, + "disease_status": 2, + "number_of_aged_dependents": 0, + "number_of_chronic_diseased_dependents": 0, + "action": 10, + "review_time": null, + "is_active": true, + "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", + "test_id": "", + "date_of_test": null, + "srf_id": "", + "test_type": 30, + "allow_transfer": false, + "will_donate_blood": null, + "fit_for_blood_donation": null, + "village": "", + "designation_of_health_care_worker": "", + "instituion_of_health_care_worker": "", + "transit_details": null, + "frontline_worker": null, + "date_of_result": null, + "number_of_primary_contacts": null, + "number_of_secondary_contacts": null, + "is_vaccinated": false, + "number_of_doses": 0, + "vaccine_name": null, + "covin_id": null, + "last_vaccinated_date": null, + "cluster_name": null, + "is_declared_positive": true, + "date_declared_positive": "2022-09-27T07:15:04.715Z", + "facility": 1, + "nearest_facility": null, + "ward": 1729, + "local_body": 95, + "district": 7, + "state": 1, + "last_edited": null, + "created_by": 2, + "last_consultation": null, + "assigned_to": null, + "abha_number": null, + "history_date": "2022-09-27T07:19:20.403Z", + "history_change_reason": null, + "history_type": "~", + "history_user": 2 + } + }, + { + "model": "facility.historicalpatientregistration", + "pk": 3, + "fields": { + "id": 1, + "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", + "created_date": "2022-09-27T07:19:20.379Z", + "modified_date": "2022-09-27T07:19:20.413Z", + "deleted": false, + "source": 10, + "name": "Dummy Patient", + "age": 120, + "gender": 1, + "phone_number": "+911234567896", + "emergency_phone_number": "+919898797775", + "address": "55.66.44.33", + "permanent_address": "55.66.44.33", + "pincode": 600115, + "date_of_birth": "1901-10-16", + "year_of_birth": 1901, + "nationality": "India", + "passport_no": "", + "is_medical_worker": false, + "blood_group": "O+", + "contact_with_confirmed_carrier": false, + "contact_with_suspected_carrier": false, + "estimated_contact_date": null, + "past_travel": false, + "countries_travelled_old": null, + "countries_travelled": null, + "date_of_return": null, + "allergies": "", + "present_health": "", + "ongoing_medication": "", + "has_SARI": false, + "is_antenatal": false, + "ward_old": "", + "is_migrant_worker": false, + "disease_status": 2, + "number_of_aged_dependents": 0, + "number_of_chronic_diseased_dependents": 0, + "action": 10, + "review_time": null, + "is_active": true, + "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", + "test_id": "", + "date_of_test": null, + "srf_id": "", + "test_type": 30, + "allow_transfer": false, + "will_donate_blood": null, + "fit_for_blood_donation": null, + "village": "", + "designation_of_health_care_worker": "", + "instituion_of_health_care_worker": "", + "transit_details": null, + "frontline_worker": null, + "date_of_result": null, + "number_of_primary_contacts": null, + "number_of_secondary_contacts": null, + "is_vaccinated": false, + "number_of_doses": 0, + "vaccine_name": null, + "covin_id": null, + "last_vaccinated_date": null, + "cluster_name": null, + "is_declared_positive": true, + "date_declared_positive": "2022-09-27T07:15:04.715Z", + "facility": 1, + "nearest_facility": null, + "ward": 1729, + "local_body": 95, + "district": 7, + "state": 1, + "last_edited": 2, + "created_by": 2, + "last_consultation": null, + "assigned_to": null, + "abha_number": null, + "history_date": "2022-09-27T07:19:20.415Z", + "history_change_reason": null, + "history_type": "~", + "history_user": 2 + } + }, + { + "model": "facility.historicalpatientregistration", + "pk": 4, + "fields": { + "id": 1, + "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", + "created_date": "2022-09-27T07:19:20.379Z", + "modified_date": "2022-09-27T07:20:40.135Z", + "deleted": false, + "source": 10, + "name": "Dummy Patient", + "age": 120, + "gender": 1, + "phone_number": "+911234567896", + "emergency_phone_number": "+919898797775", + "address": "55.66.44.33", + "permanent_address": "55.66.44.33", + "pincode": 600115, + "date_of_birth": "1901-10-16", + "year_of_birth": 1901, + "nationality": "India", + "passport_no": "", + "is_medical_worker": false, + "blood_group": "O+", + "contact_with_confirmed_carrier": false, + "contact_with_suspected_carrier": false, + "estimated_contact_date": null, + "past_travel": false, + "countries_travelled_old": null, + "countries_travelled": null, + "date_of_return": null, + "allergies": "", + "present_health": "", + "ongoing_medication": "", + "has_SARI": false, + "is_antenatal": false, + "ward_old": "", + "is_migrant_worker": false, + "disease_status": 2, + "number_of_aged_dependents": 0, + "number_of_chronic_diseased_dependents": 0, + "action": 10, + "review_time": null, + "is_active": true, + "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", + "test_id": "", + "date_of_test": null, + "srf_id": "", + "test_type": 30, + "allow_transfer": false, + "will_donate_blood": null, + "fit_for_blood_donation": null, + "village": "", + "designation_of_health_care_worker": "", + "instituion_of_health_care_worker": "", + "transit_details": null, + "frontline_worker": null, + "date_of_result": null, + "number_of_primary_contacts": null, + "number_of_secondary_contacts": null, + "is_vaccinated": false, + "number_of_doses": 0, + "vaccine_name": null, + "covin_id": null, + "last_vaccinated_date": null, + "cluster_name": null, + "is_declared_positive": true, + "date_declared_positive": "2022-09-27T07:15:04.715Z", + "facility": 1, + "nearest_facility": null, + "ward": 1729, + "local_body": 95, + "district": 7, + "state": 1, + "last_edited": 2, + "created_by": 2, + "last_consultation": 1, + "assigned_to": null, + "abha_number": null, + "history_date": "2022-09-27T07:20:40.139Z", + "history_change_reason": null, + "history_type": "~", + "history_user": 2 + } + }, + { + "model": "facility.historicalpatientregistration", + "pk": 5, + "fields": { + "id": 1, + "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", + "created_date": "2022-09-27T07:19:20.379Z", + "modified_date": "2022-09-27T07:22:00.563Z", + "deleted": false, + "source": 10, + "name": "Dummy Patient", + "age": 120, + "gender": 1, + "phone_number": "+911234567896", + "emergency_phone_number": "+919898797775", + "address": "55.66.44.33", + "permanent_address": "55.66.44.33", + "pincode": 600115, + "date_of_birth": "1901-10-16", + "year_of_birth": 1901, + "nationality": "India", + "passport_no": "", + "is_medical_worker": false, + "blood_group": "O+", + "contact_with_confirmed_carrier": false, + "contact_with_suspected_carrier": false, + "estimated_contact_date": null, + "past_travel": false, + "countries_travelled_old": null, + "countries_travelled": null, + "date_of_return": null, + "allergies": "", + "present_health": "", + "ongoing_medication": "", + "has_SARI": false, + "is_antenatal": false, + "ward_old": "", + "is_migrant_worker": false, + "disease_status": 2, + "number_of_aged_dependents": 0, + "number_of_chronic_diseased_dependents": 0, + "action": 10, + "review_time": null, + "is_active": true, + "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", + "test_id": "", + "date_of_test": null, + "srf_id": "", + "test_type": 30, + "allow_transfer": true, + "will_donate_blood": null, + "fit_for_blood_donation": null, + "village": "", + "designation_of_health_care_worker": "", + "instituion_of_health_care_worker": "", + "transit_details": null, + "frontline_worker": null, + "date_of_result": null, + "number_of_primary_contacts": null, + "number_of_secondary_contacts": null, + "is_vaccinated": false, + "number_of_doses": 0, + "vaccine_name": null, + "covin_id": null, + "last_vaccinated_date": null, + "cluster_name": null, + "is_declared_positive": true, + "date_declared_positive": "2022-09-27T07:15:04.715Z", + "facility": 1, + "nearest_facility": null, + "ward": 1729, + "local_body": 95, + "district": 7, + "state": 1, + "last_edited": 2, + "created_by": 2, + "last_consultation": 1, + "assigned_to": null, + "abha_number": null, + "history_date": "2022-09-27T07:22:00.566Z", + "history_change_reason": null, + "history_type": "~", + "history_user": 2 + } + }, + { + "model": "facility.patientregistration", + "pk": 1, + "fields": { + "external_id": "7c1d2896-8ebf-45c7-b507-98fcedd48ef3", + "created_date": "2022-09-27T07:19:20.379Z", + "modified_date": "2022-09-27T07:22:00.563Z", + "deleted": false, + "source": 10, + "facility": 1, + "nearest_facility": null, + "meta_info": null, + "name": "Dummy Patient", + "age": 120, + "gender": 1, + "phone_number": "+911234567896", + "emergency_phone_number": "+919898797775", + "address": "55.66.44.33", + "permanent_address": "55.66.44.33", + "pincode": 600115, + "date_of_birth": "1901-10-16", + "year_of_birth": 1901, + "nationality": "India", + "passport_no": "", + "is_medical_worker": false, + "blood_group": "O+", + "contact_with_confirmed_carrier": false, + "contact_with_suspected_carrier": false, + "estimated_contact_date": null, + "past_travel": false, + "countries_travelled_old": null, + "countries_travelled": null, + "date_of_return": null, + "allergies": "", + "present_health": "", + "ongoing_medication": "", + "has_SARI": false, + "is_antenatal": false, + "ward_old": "", + "ward": 1729, + "local_body": 95, + "district": 7, + "state": 1, + "is_migrant_worker": false, + "disease_status": 2, + "number_of_aged_dependents": 0, + "number_of_chronic_diseased_dependents": 0, + "last_edited": 2, + "action": 10, + "review_time": null, + "created_by": 2, + "is_active": true, + "date_of_receipt_of_information": "2022-09-27T07:19:20.374Z", + "test_id": "", + "date_of_test": null, + "srf_id": "", + "test_type": 30, + "allow_transfer": true, + "last_consultation": 1, + "will_donate_blood": null, + "fit_for_blood_donation": null, + "village": "", + "designation_of_health_care_worker": "", + "instituion_of_health_care_worker": "", + "transit_details": null, + "frontline_worker": null, + "date_of_result": null, + "number_of_primary_contacts": null, + "number_of_secondary_contacts": null, + "is_vaccinated": false, + "number_of_doses": 0, + "vaccine_name": null, + "covin_id": null, + "last_vaccinated_date": null, + "cluster_name": null, + "is_declared_positive": true, + "date_declared_positive": "2022-09-27T07:15:04.715Z", + "assigned_to": null, + "abha_number": null + } + }, + { + "model": "facility.disease", + "pk": 1, + "fields": { + "patient": 1, + "disease": 1, + "details": "", + "deleted": false + } + }, + { + "model": "facility.patientsample", + "pk": 1, + "fields": { + "external_id": "29689b96-6018-426f-984f-344fa5e3186b", + "created_date": "2022-09-27T07:23:29.568Z", + "modified_date": "2022-09-27T07:23:29.574Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 2, + "fields": { + "external_id": "ea48179e-90c5-450b-800d-c1866d2d3d74", + "created_date": "2022-09-27T07:25:39.605Z", + "modified_date": "2022-09-27T07:25:39.609Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 3, + "fields": { + "external_id": "dcaf07f9-8412-45bb-bb7c-1c232c28e9da", + "created_date": "2022-09-27T07:25:41.681Z", + "modified_date": "2022-09-27T07:25:41.685Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 4, + "fields": { + "external_id": "80868c78-4917-4401-b4b4-9eea49c47493", + "created_date": "2022-09-27T07:25:42.673Z", + "modified_date": "2022-09-27T07:25:42.676Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 5, + "fields": { + "external_id": "093863c4-1778-4464-9ee9-c408bef0bafe", + "created_date": "2022-09-27T07:25:43.611Z", + "modified_date": "2022-09-27T07:25:43.615Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 6, + "fields": { + "external_id": "5b015be7-ffb3-4f36-a08a-7510dd53ee7f", + "created_date": "2022-09-27T07:25:44.707Z", + "modified_date": "2022-09-27T07:25:44.711Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 7, + "fields": { + "external_id": "b8cb7a31-5480-4466-8388-de1eafa35ede", + "created_date": "2022-09-27T07:25:52.375Z", + "modified_date": "2022-09-27T07:25:52.379Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 8, + "fields": { + "external_id": "c04f9bd2-e11f-466e-8649-d80f9e5d8649", + "created_date": "2022-09-27T07:25:53.556Z", + "modified_date": "2022-09-27T07:25:53.559Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 9, + "fields": { + "external_id": "27001f33-e193-42d5-8809-61b2c63304a9", + "created_date": "2022-09-27T07:25:54.406Z", + "modified_date": "2022-09-27T07:25:54.410Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 10, + "fields": { + "external_id": "1a604325-11bf-44b7-985b-6222b6c37092", + "created_date": "2022-09-27T07:25:55.280Z", + "modified_date": "2022-09-27T07:25:55.284Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 11, + "fields": { + "external_id": "0bd4f6ff-e084-4d2c-9803-79b829682a1d", + "created_date": "2022-09-27T07:25:56.119Z", + "modified_date": "2022-09-27T07:25:56.123Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 12, + "fields": { + "external_id": "fecb4ef3-2889-47ca-8e08-6a27a5e77715", + "created_date": "2022-09-27T07:25:56.959Z", + "modified_date": "2022-09-27T07:25:56.964Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 13, + "fields": { + "external_id": "45186f6d-1ed5-454a-aadd-94ceaefacf20", + "created_date": "2022-09-27T07:25:57.875Z", + "modified_date": "2022-09-27T07:25:57.878Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 14, + "fields": { + "external_id": "bcbc2e7e-d2b8-4e5e-ab50-7c36a51c1e09", + "created_date": "2022-09-27T07:25:58.676Z", + "modified_date": "2022-09-27T07:25:58.681Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 15, + "fields": { + "external_id": "342639b4-f347-4f83-87d1-85c6d7968ee7", + "created_date": "2022-09-27T07:25:59.671Z", + "modified_date": "2022-09-27T07:25:59.674Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 16, + "fields": { + "external_id": "388099f9-f005-47c1-9be3-650ddda769a0", + "created_date": "2022-09-27T07:26:00.354Z", + "modified_date": "2022-09-27T07:26:00.358Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsample", + "pk": 17, + "fields": { + "external_id": "5aef7a72-5e2c-4a0f-b689-747aae8b0dce", + "created_date": "2022-09-27T07:26:00.860Z", + "modified_date": "2022-09-27T07:26:00.863Z", + "deleted": false, + "patient": 1, + "consultation": 1, + "sample_type": 1, + "sample_type_other": "", + "has_sari": false, + "has_ari": false, + "doctor_name": "NO DOCTOR SPECIFIED", + "diagnosis": "", + "diff_diagnosis": "", + "etiology_identified": "", + "is_atypical_presentation": false, + "atypical_presentation": "", + "is_unusual_course": false, + "icmr_category": 10, + "icmr_label": "Test", + "status": 1, + "result": 3, + "fast_track": "", + "date_of_sample": "2022-09-27T07:23:29.508Z", + "date_of_result": null, + "testing_facility": 1, + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 1, + "fields": { + "external_id": "64bf6eb2-055d-4a16-8c91-e7ce1390e541", + "created_date": "2022-09-27T07:23:29.580Z", + "modified_date": "2022-09-27T07:23:29.580Z", + "deleted": false, + "patient_sample": 1, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 2, + "fields": { + "external_id": "1f68131b-9aab-456f-b61b-eb0a93d521c4", + "created_date": "2022-09-27T07:25:39.613Z", + "modified_date": "2022-09-27T07:25:39.613Z", + "deleted": false, + "patient_sample": 2, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 3, + "fields": { + "external_id": "80ead199-cd58-44c3-97de-4142e3e7d7ac", + "created_date": "2022-09-27T07:25:41.689Z", + "modified_date": "2022-09-27T07:25:41.689Z", + "deleted": false, + "patient_sample": 3, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 4, + "fields": { + "external_id": "ebe8ffac-1ca0-40fe-80d3-b895e7524ce2", + "created_date": "2022-09-27T07:25:42.681Z", + "modified_date": "2022-09-27T07:25:42.681Z", + "deleted": false, + "patient_sample": 4, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 5, + "fields": { + "external_id": "ed7f8727-3784-40cd-97c6-49e9de3e2fdb", + "created_date": "2022-09-27T07:25:43.620Z", + "modified_date": "2022-09-27T07:25:43.620Z", + "deleted": false, + "patient_sample": 5, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 6, + "fields": { + "external_id": "f7a3695f-bfd4-4af5-9280-e2d54124286e", + "created_date": "2022-09-27T07:25:44.716Z", + "modified_date": "2022-09-27T07:25:44.716Z", + "deleted": false, + "patient_sample": 6, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 7, + "fields": { + "external_id": "a0cad511-4dad-4244-93c4-50277d6734c2", + "created_date": "2022-09-27T07:25:52.383Z", + "modified_date": "2022-09-27T07:25:52.383Z", + "deleted": false, + "patient_sample": 7, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 8, + "fields": { + "external_id": "f3ff09b9-1c79-4afc-bd3d-70eeecc87daa", + "created_date": "2022-09-27T07:25:53.564Z", + "modified_date": "2022-09-27T07:25:53.564Z", + "deleted": false, + "patient_sample": 8, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 9, + "fields": { + "external_id": "a03684c4-4769-4643-b457-8be382895e8b", + "created_date": "2022-09-27T07:25:54.414Z", + "modified_date": "2022-09-27T07:25:54.414Z", + "deleted": false, + "patient_sample": 9, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 10, + "fields": { + "external_id": "a62f7677-31af-42f6-94f9-fcb5e8ab94de", + "created_date": "2022-09-27T07:25:55.288Z", + "modified_date": "2022-09-27T07:25:55.288Z", + "deleted": false, + "patient_sample": 10, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 11, + "fields": { + "external_id": "e9dae65e-bca7-47fc-b490-8ef4de67e331", + "created_date": "2022-09-27T07:25:56.127Z", + "modified_date": "2022-09-27T07:25:56.127Z", + "deleted": false, + "patient_sample": 11, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 12, + "fields": { + "external_id": "e065bb9a-10d2-4bdd-b375-affa163dacdf", + "created_date": "2022-09-27T07:25:56.968Z", + "modified_date": "2022-09-27T07:25:56.968Z", + "deleted": false, + "patient_sample": 12, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 13, + "fields": { + "external_id": "dae215d0-bbfe-41e5-a6e2-20e4504eb068", + "created_date": "2022-09-27T07:25:57.883Z", + "modified_date": "2022-09-27T07:25:57.883Z", + "deleted": false, + "patient_sample": 13, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 14, + "fields": { + "external_id": "dabdd193-f800-4848-902b-b33b345252e5", + "created_date": "2022-09-27T07:25:58.686Z", + "modified_date": "2022-09-27T07:25:58.686Z", + "deleted": false, + "patient_sample": 14, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 15, + "fields": { + "external_id": "8a32a9f0-0686-4104-8fe7-27c7be6a4233", + "created_date": "2022-09-27T07:25:59.679Z", + "modified_date": "2022-09-27T07:25:59.679Z", + "deleted": false, + "patient_sample": 15, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 16, + "fields": { + "external_id": "db4ceed2-a7e5-4cb1-828b-085ddae5fa0a", + "created_date": "2022-09-27T07:26:00.363Z", + "modified_date": "2022-09-27T07:26:00.363Z", + "deleted": false, + "patient_sample": 16, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.patientsampleflow", + "pk": 17, + "fields": { + "external_id": "48b8eb3a-c901-429a-abbb-7e5aae0f9cd2", + "created_date": "2022-09-27T07:26:00.867Z", + "modified_date": "2022-09-27T07:26:00.867Z", + "deleted": false, + "patient_sample": 17, + "status": 1, + "notes": "created", + "created_by": 2 + } + }, + { + "model": "facility.shiftingrequest", + "pk": 1, + "fields": { + "external_id": "a0e4cf70-49b4-4e26-83fa-c2c962386885", + "created_date": "2022-09-27T07:22:00.581Z", + "modified_date": "2022-09-27T07:22:00.581Z", + "deleted": false, + "origin_facility": 1, + "shifting_approving_facility": 2, + "assigned_facility_type": 2, + "assigned_facility": null, + "assigned_facility_external": "", + "patient": 1, + "emergency": true, + "is_up_shift": true, + "reason": "Test", + "vehicle_preference": "", + "preferred_vehicle_choice": 10, + "comments": "", + "refering_facility_contact_name": "Someone at Facility", + "refering_facility_contact_number": "+914455666777", + "is_kasp": false, + "status": 10, + "breathlessness_level": 30, + "is_assigned_to_user": false, + "assigned_to": null, + "ambulance_driver_name": "", + "ambulance_phone_number": "", + "ambulance_number": "", + "created_by": 2, + "last_edited_by": 2 + } + }, + { + "model": "facility.facilityrelatedsummary", + "pk": "99627ad6-53e7-4585-821a-21ac6e765f7b", + "fields": { + "created_date": "2022-09-27T07:00:00.163Z", + "modified_date": "2022-09-27T07:25:00.165Z", + "facility": 1, + "s_type": "FacilityCapacity", + "data": { + "id": "81092ced-8720-44cb-b4c5-3f0ad0540153", + "name": "Dummy Facility 1", + "ward": 1, + "state": 1, + "address": "127.0.0.1", + "pincode": 670000, + "district": 7, + "features": [ + 1, + 2, + 3, + 4, + 5, + 6 + ], + "latitude": null, + "inventory": {}, + "longitude": null, + "local_body": 920, + "ward_object": { + "id": 1, + "name": "NEERICODE WEST", + "number": 1, + "local_body": 920 + }, + "availability": [ + { + "id": "bfb7a4d8-6bf0-46d6-bf20-d5020850ea55", + "room_type": 150, + "modified_date": "2022-09-27T12:30:19.399000+05:30", + "room_type_text": "Oxygen beds", + "total_capacity": 1000, + "current_capacity": 20 + } + ], + "created_date": "2022-09-27T12:29:15.929000+05:30", + "phone_number": "+919999999888", + "state_object": { + "id": 1, + "name": "Kerala" + }, + "facility_type": "Private Hospital", + "modified_date": "2022-09-27T12:29:15.929000+05:30", + "district_object": { + "id": 7, + "name": "Ernakulam", + "state": 1 + }, + "kasp_empanelled": false, + "oxygen_capacity": 0, + "type_b_cylinders": 0, + "type_c_cylinders": 0, + "type_d_cylinders": 0, + "local_body_object": { + "id": 920, + "name": "Alangad  Grama Panchayat, Ernakulam District", + "district": 7, + "body_type": 1, + "localbody_code": "G070203" + }, + "actual_live_patients": 1, + "read_cover_image_url": null, + "expected_type_b_cylinders": 0, + "expected_type_c_cylinders": 0, + "expected_type_d_cylinders": 0, + "actual_discharged_patients": 0, + "expected_oxygen_requirement": 0 + } + } + }, + { + "model": "facility.facilityrelatedsummary", + "pk": "e294a2c2-3b05-469f-b975-e7766201df13", + "fields": { + "created_date": "2022-09-27T07:20:00.162Z", + "modified_date": "2022-09-27T07:25:00.171Z", + "facility": 2, + "s_type": "FacilityCapacity", + "data": { + "id": "fa33079d-727d-4295-b0fd-19153b36b2db", + "name": "Dummy Shifting Center", + "ward": 218, + "state": 1, + "address": "89.66.33.55", + "pincode": 670112, + "district": 7, + "features": [ + 1, + 6 + ], + "latitude": null, + "inventory": {}, + "longitude": null, + "local_body": 12, + "ward_object": { + "id": 218, + "name": "VALAMBOOR", + "number": 2, + "local_body": 12 + }, + "availability": [ + { + "id": "52bd4e97-9064-4697-8fea-37e0a2b8c87c", + "room_type": 150, + "modified_date": "2022-09-27T12:46:52.525280+05:30", + "room_type_text": "Oxygen beds", + "total_capacity": 20, + "current_capacity": 1 + } + ], + "created_date": "2022-09-27T12:45:51.075776+05:30", + "phone_number": "+919876665987", + "state_object": { + "id": 1, + "name": "Kerala" + }, + "facility_type": "Shifting Centre", + "modified_date": "2022-09-27T12:45:51.075811+05:30", + "district_object": { + "id": 7, + "name": "Ernakulam", + "state": 1 + }, + "kasp_empanelled": false, + "oxygen_capacity": 0, + "type_b_cylinders": 0, + "type_c_cylinders": 0, + "type_d_cylinders": 0, + "local_body_object": { + "id": 12, + "name": "Aikaranad  Grama Panchayat, Ernakulam District", + "district": 7, + "body_type": 1, + "localbody_code": "G071005" + }, + "actual_live_patients": 0, + "read_cover_image_url": null, + "expected_type_b_cylinders": 0, + "expected_type_c_cylinders": 0, + "expected_type_d_cylinders": 0, + "actual_discharged_patients": 0, + "expected_oxygen_requirement": 0 + } + } + } ]