Opened by rithviknishad
Describe the bug
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots
Opened by sainak
Currently the header is very inconsistent and space consuming on the screen so, to fix that make the header a reusable component
current headers across pages
very rough sketch:
cc: @aparnacoronasafe
Opened by sainak
Sentry Issue: CARE-M5
Transaction Name | /api/v1/resource/ |
Parent Span | django.view - resource-request-list |
Repeating Spans (0) | db - SELECT COUNT(*) AS __count FROM facility_patientregistration WHERE (facility_patientregistration.deleted = %s AND facility_patientregistration.facility_id = %s AND facility_patientregistration.is_active = %s) |
db - SELECT COUNT(*) AS __count FROM facility_bed WHERE (facility_bed.deleted = %s AND facility_bed.facility_id = %s) |
Opened by aparnacoronasafe
Is your feature request related to a problem? Please describe. Within facilities, there is option to update bed capacity (https://care.coronasafe.in/facility/create) There are n number of bed types given in the form, which is confusing.
Current list
Describe the solution you'd like Update the list to
beds marked under the redundant bed types may be deleted.
Opened by rithviknishad
Since we have a growing number of contributions and since open-source contributors do not have triage permissions, we might miss to add "needs testing" label and the PR might become stale without being noticed.
The needs testing label can be added if either of the following conditions are met:
User comments "ready for testing" and the PR is not a draft PR
PR opened and is not a draft PR
PR changed from draft status to open.
When "changes required" label is added by a user, add a comment in the PR to remind the contributor on how to add the "needs testing" label by commenting "ready for testing".
Feel free to suggest alternatives or add on to this.
Opened by agneym
Label each page by their application.
Currently all pages are named Journal - Coronasafe. Keeping the same template, add the page name in front.
Use react-helmet
Opened by sainak
Opened by vigneshhari
Currently we only support SNS https://github.com/coronasafe/care/blob/develop/care/utils/sms/sendSMS.py#L7-L23 It would be good to have it configurable by the deployments
We could use https://github.com/roaldnefs/django-sms and write our own backends for other sms providers note, this package will require us to make our own backend for sns as well
Opened by sainak
Sentry Issue: CARE-KA
Transaction Name | /api/v1/bed/ |
Parent Span | django.view - bed-list |
Repeating Spans (0) | db - SELECT facility_facility.id, facility_facility.external_id, facility_facility.created_date, facility_facility.modified_date, facility_facility.deleted, facility_facility.name, facility_facility.is_active, facility_facility.verified, facility_facility.facility_type, facility_facility.kasp_empanelled, facility_facility.features, facility_facility.longitude, facility_facility.latitude, facility_facility.pincode, facility_facility.address, "facility... |
db - SELECT (1) AS a FROM facility_consultationbed WHERE (facility_consultationbed.deleted = %s AND facility_consultationbed.bed_id = %s AND facility_consultationbed.end_date IS NULL) LIMIT 1 |
Opened by sentry-io
Sentry Issue: CARE-7DF
Facility.DoesNotExist: Facility matching query does not exist.
File "django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
File "django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "contextlib.py", line 81, in inner
return func(*args, **kwds)
File "django/views/decorators/csrf.py", line 56, in wrapper_view
return view_func(*args, **kwargs)
File "rest_framework/viewsets.py", line 125, in view
return self.dispatch(request, *args, **kwargs)
File "rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
File "rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "rest_framework/mixins.py", line 19, in create
self.perform_create(serializer)
File "rest_framework/mixins.py", line 24, in perform_create
serializer.save()
File "rest_framework/serializers.py", line 212, in save
self.instance = self.create(validated_data)
File "care/facility/api/serializers/resources.py", line 150, in create
validated_data["origin_facility_id"] = Facility.objects.get(
File "django/db/models/manager.py", line 87, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "django/db/models/query.py", line 637, in get
raise self.model.DoesNotExist(
Opened by sainak
Sentry Issue: CARE-NF
Transaction Name | /api/v1/patient/ |
Parent Span | django.view - patientregistration-list |
Repeating Spans (0) | db - SELECT hcx_policy.id, hcx_policy.external_id, hcx_policy.created_date, hcx_policy.modified_date, hcx_policy.deleted, hcx_policy.patient_id, hcx_policy.subscriber_id, hcx_policy.policy_id, hcx_policy.insurer_id, hcx_policy.insurer_name, hcx_policy.status, hcx_policy.priority, hcx_policy.purpose, hcx_policy.outcome, hcx_policy.error_text, hcx_policy.created_by_id, hcx_policy.last_modified_by_id FROM hcx_policy WHERE (hcx_policy."delete... |
db - SELECT COUNT(*) AS __count FROM facility_patientregistration WHERE (facility_patientregistration.deleted = %s AND facility_patientregistration.facility_id = %s AND facility_patientregistration.is_active = %s) | |
db - SELECT COUNT(*) AS __count FROM facility_bed WHERE (facility_bed.deleted = %s AND facility_bed.facility_id = %s) |
Opened by aparnacoronasafe
The current facility dashboard (https://care.coronasafe.in/facility/7ab27974-32c8-4e36-bdf9-dbf102524718) is
Make the following changes to improve the usability of the screen
rearrange the banner on top with basic details of the hospital as below: a) arrange the address and phone number along with the rest of the details b) Enlarge the image. retain aspect ratio of 1:1 c) reduce the spacing between "manage facility" and "central nursing station" and reduce height of the entire banner.
Below the banner with basic details of the hospital, there are cards for "Oxygen information" "bed capacity", "Doctors list" and "corona Triage". rearrange these as
Opened by sainak
Sentry Issue: CARE-KD
Transaction Name | /api/v1/consultationbed/ |
Parent Span | django.view - consultationbed-list |
Repeating Spans (0) | db - SELECT facility_assetlocation.id, facility_assetlocation.external_id, facility_assetlocation.created_date, facility_assetlocation.modified_date, facility_assetlocation.deleted, facility_assetlocation.name, facility_assetlocation.description, facility_assetlocation.location_type, facility_assetlocation.facility_id FROM facility_assetlocation WHERE facility_assetlocation.id = %s |
db - SELECT facility_facility.id, facility_facility.external_id, facility_facility.created_date, facility_facility.modified_date, facility_facility.deleted, facility_facility.name, facility_facility.is_active, facility_facility.verified, facility_facility.facility_type, facility_facility.kasp_empanelled, facility_facility.features, facility_facility.longitude, facility_facility.latitude, facility_facility.pincode, facility_facility.address, "facility... | |
db - SELECT (1) AS a FROM facility_consultationbed WHERE (facility_consultationbed.deleted = %s AND facility_consultationbed.bed_id = %s AND facility_consultationbed.end_date IS NULL) LIMIT 1 |
Opened by rithviknishad
Opened by sainak
Sentry Issue: CARE-M3 Sentry Issue: CARE-KX
Transaction Name | /api/v1/getallfacilities/ |
Parent Span | django.view - facility-list |
Repeating Spans (0) | db - SELECT COUNT(*) AS __count FROM facility_bed WHERE (facility_bed.deleted = %s AND facility_bed.facility_id = %s) |
db - SELECT users_ward.id, users_ward.local_body_id, users_ward.name, users_ward.number FROM users_ward WHERE users_ward.id = %s | |
db - SELECT COUNT(*) AS __count FROM facility_patientregistration WHERE (facility_patientregistration.deleted = %s AND facility_patientregistration.facility_id = %s AND facility_patientregistration.is_active = %s) |
Sentry Issue: CARE-M2
Transaction Name | /api/v1/facility/ |
Parent Span | django.view - facility-list |
Repeating Spans (0) | db - SELECT COUNT(*) AS __count FROM facility_patientregistration WHERE (facility_patientregistration.deleted = %s AND facility_patientregistration.facility_id = %s AND facility_patientregistration.is_active = %s) |
db - SELECT COUNT(*) AS __count FROM facility_bed WHERE (facility_bed.deleted = %s AND facility_bed.facility_id = %s) |
Opened by gigincg
Creating a PPE Inventory, without having a Minimum Quantity marks it as Low Stock. This shouldn't be the case
Opened by rithviknishad
Currently, the size of each filter is not proper.
Opened by nihal467
Describe the bug
When we post multiple comment on a shifting detail page, it keep on stretching the page to the bottom
To Reproduce Steps to reproduce the behavior:
Expected behavior
It shouldn't be stretching the page a lot and the entire page should be effectively utilizing the white space
Screenshots
Opened by aparnacoronasafe
Is your feature request related to a problem? Please describe. It is very useful for the users to understand the "Day of admission" for any patient.
Describe the solution you'd like Calculate the number of days from the day of admission and show the same on
Opened by rithviknishad
We have recently redesigned the Location Management. It'd be nice to have a similar design for Bed Management too.
Current:
Expected:
Opened by rithviknishad
Describe the bug
#7287 has introduced support for an inline view of selected options for "MultiSelectFormField". However, the same is not present for AutocompleteMultiSelectFormField
and hence makes the UI inconsistent.
To Reproduce Steps to reproduce the behavior:
AutocompleteMultiSelectFormField
is used (for example Log Lab Results page)Expected behavior
The UI should be similar to the inline view that MultiSelectFormField
provides.
Screenshots
Current:
Expected:
Opened by gayann-au
To Tag Specialization to Treating Physician Card in Patient Dashboard. This will help the users to understanding specialization of respective Doctor without reviewing the skills and avoids multiple search efforts to know the specialization. PFA screenshot below for better understanding
Opened by Ashesh3
[!IMPORTANT]
Dark mode was temporarily disabled in #193 ; Make sure to enable it first insrc/components/sidebar/chatSidebar.tsx
Test results, PDF download: better to have it in light mode with white background (good to have). the title of the PDF is not visible as the text is in light grey in white background. Formatting of the PDF may be improved. [ Refer to video from 19:50 min. ]
Change the light grey text in feedback and selections (language/project) to black for better visibility.
Fix issues in UI elements like buttons and text fields that affect usability. (example: button at top right of project page)
Users page
User edit page
Test run page text, dropdown and attachment button
Test result
Cancel button in delete chat confirmation
Opened by aparnacoronasafe
Describe the bug Asset list- shows assets from deleted hospitals
Opened by rithviknishad
Reason:
Suggested alternatives:
Opened by aparnacoronasafe
Is your feature request related to a problem? Please describe. Log update is mentioned as "Daily rounds" and "consultation updates" in various places.
Describe the solution you'd like
viewing a saved log update (https://care.coronasafe.in/facility/0c95c7f0-e1d2-4aff-83fa-933cef60d3a8/patient/7e8fc20f-02da-47f7-8c33-f2d8c7e52dd8/consultation/cb44a173-6fe2-452f-b2d1-6c6e2695411e/daily_rounds/2da792c7-7ff8-4b8f-8e68-1397b7848597) title shows "consultation update"
https://care.coronasafe.in/facility/0c95c7f0-e1d2-4aff-83fa-933cef60d3a8/patient/7e8fc20f-02da-47f7-8c33-f2d8c7e52dd8/consultation/cb44a173-6fe2-452f-b2d1-6c6e2695411e/daily-rounds/6469a83e-470e-4fbb-a8ee-51770a42360e Viewing a saved log update, title shows "Consultation update" and bread crumb shows "Daily rounds"
Change all the above to "Log Update"
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
Opened by sainak
We need to change the facility form to allow deployments with hub and spoke hospitals specify relations between hub and spokes facilities
hub
field on facility model, with reverse relation_name as spokes
Opened by aparnacoronasafe
Is your feature request related to a problem? Please describe. Users in CARE may be linked with skills in the user management page (https://care.coronasafe.in/users).
List of such skills need to be upgraded.
Describe the solution you'd like Add: "MBBS doctor" "Dentist" "Oral and Maxillofacial Surgeon" "Infectious Disease Specialist" "Immunologist" "Geriatrician" "Sports Medicine Specialist" "Pediatric Surgeon" "Transfusion Medicine Specialist"
Opened by skks1212
With the addition of our new Dark Theme, we have implemented special classes that substitute to relative colors depending on Theme.
for example, bg-primary
substitutes to bg-white
in white mode and bg-black
in dark mode.
A list of all the relative colors are present in constants.
We have to migrate unmigrated pages to these new classes. Majorly in the Admin Panel.
Opened by khavinshankar
Opened by rithviknishad
Opened by gigincg
Opened by sentry-io
Sentry Issue: CARE-W1
CheckViolation: new row for relation "facility_patientregistration" violates check constraint "facility_patientregistration_age_check"
DETAIL: Failing row contains (8896, -1, 2, 1865, f, t, 42, 218, 2, 22, f, f, null, null, f, f, , null, UNK, 3, 0, 0, , f, India, , 2024-02-24 02:15:03.554366+00, 2024-02-24 02:15:03.554393+00, 2024-05-07, 2024, null, 10, null, 2024-02-24 02:15:03.547689+00, null, 8f396a45-83f7-4056-8220-4de9b2ead750, 562160, t, , f, null, javeeda khan madina chowk cpt, zaher banu, +918123234005, null, 10, null, , , f, null, null, +918123234005, null, , 10, null, null, , null, , null, null, null, , null, null, f, null, f, 0, null, javeeda khan madina chowk cpt, null, null, null, null, null).
File "django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "psycopg/cursor.py", line 737, in execute
raise ex.with_traceback(None)
IntegrityError: new row for relation "facility_patientregistration" violates check constraint "facility_patientregistration_age_check"
DETAIL: Failing row contains (8896, -1, 2, 1865, f, t, 42, 218, 2, 22, f, f, null, null, f, f, , null, UNK, 3, 0, 0, , f, India, , 2024-02-24 02:15:03.554366+00, 2024-02-24 02:15:03.554393+00, 2024-05-07, 2024, null, 10, null, 2024-02-24 02:15:03.547689+00, null, 8f396a45-83f7-4056-8220-4de9b2ead750, 562160, t, , f, null, javeeda khan madina chowk cpt, zaher banu, +918123234005, null, 10, null, , , f, null, null, +918123234005, null, , 10, null, null, , null, , null, null, null, , null, null, f, null, f, 0, null, javeeda khan madina chowk cpt, null, null, null, null, null).
(28 additional frame(s) were not displayed)
...
File "care/facility/api/serializers/patient.py", line 306, in create
patient = super().create(validated_data)
File "care/facility/models/patient.py", line 488, in save
super().save(*args, **kwargs)
request body:
{"abha_number": None, "date_declared_positive": None, "date_of_birth": "7665-09-12", "disease_status": "NEGATIVE", "emergency_phone_number": "+919000000666", "is_vaccinated": "false", "number_of_doses": 0, "phone_number": "+919000044343", "srf_id": "", "test_id": ""}
Opened by aparnacoronasafe
Is your feature request related to a problem? Please describe. In Log updates (Critical round), Vitals section, there is a section to mark details of pain.
Against a region, user can mark scale of pain from 0-5.
Here the text "Low" , "Normal", "High" comes written next to the number.
Describe the solution you'd like
It is not useful to tag pain as "Normal"
Only retain "Low" only at 0 and "High" at 5.
Opened by sainak
Sequentially building both takes more than 8 minutes. Improve our github actions pipeline to run builds in separate jobs
Opened by sainak
Currently, we only support s3 compatible storage providers for storing and retrieving files, we need to make the storage provider more configurable
we have 2 buckets currently:
The solution is to create a configurable storage provider class that can support s3/azure blob storage/local storage to serve files.
Share your implementation plan before working on this issue
Opened by Deep-Codes
Issue handles the Status of Translations
Refer This is to Add New Language
Languages Already Assigned and Maybe Completed:
Indian Languages (Folder) Added (Might not be Complete)
Status of Each Langauge Added:
UnTicked means the Languages doesn't have all words/phrases translated.
Hindi - HI
Marathi - MR
Tamil - TA
Telugu - TE
Bengali - BA
Punjabi - PA
Gujarati - GU
Kannada - KN
Tamil - TA
Malayalam - MA
Urdu - UR
TEMPLATE
Opened by NNSiri
Is your feature request related to a problem? Please describe. In the Patient registration page: Occupation dropdown is not sufficient. it shows only Student, Businessman, Healthcare Worker, Healthcare lab Worker, Animal Handler and others!!!
Describe the solution you'd like It should include all occupations. I found this on GitHub, it might be helpful
https://gist.github.com/ag14spirit/fbf877576c9d6b78899e3ad02fe92b50#file-occupation-dropdown-html
Atleast the below options are desirable.
Opened by sainak
icd11 diagnosis codes like RA01.1
are considered as 2 tokens if the string is indexed directly (ref)
so we need to escape the periods like this RA01\.1
before indexing
Opened by khavinshankar
This issue is IOS specific
Steps to Reproduce:
Expected Result:
Opened by konavivekramakrishna
Is your feature request related to a problem? Please describe. Add dummy data for Shifting and Resource to the codebase.
Opened by Sunilsubba
----Describe the bug-----
State Admin Read-only users are restricted from registering an asset. However, if we write the complete URL (.../assets/new), we can register an asset successfully.
----Steps to Reproduce---- 1- Log in using provided credentials 2- Click https://care.coronasafe.in/facility/497fd4fc-c5c1-4ed3-9b57-64cc881087fe/assets/new 3- Fill the asset details 4- Click on "Create Asset"
----Login Credentials---- Username: state_read123 Password: Lilo@123
----Screenshots----
Opened by aparnacoronasafe
Is your feature request related to a problem? Please describe. When registering a facility, user gives all details of the facility in the facility registration form (https://care.coronasafe.in/facility/create). However, this form has no option to add facility cover image.
The facility cover image is uploaded after the user submits the facility registration form with the details and is taken to the facility dashboard (https://care.coronasafe.in/facility/31809579-8e0d-402a-b137-843fd77f6290) where the option to upload facility cover image appears.
Describe the solution you'd like Add option to upload facility cover image in the facility registration form itself. This shall be a non-mandatory item.
Retain the option to upload cover image in the facility dashboard as is.
Opened by aparnacoronasafe
Is your feature request related to a problem? Please describe. https://care.coronasafe.in/facility/0c95c7f0-e1d2-4aff-83fa-933cef60d3a8/patient/7e8fc20f-02da-47f7-8c33-f2d8c7e52dd8/consultation/cb44a173-6fe2-452f-b2d1-6c6e2695411e/daily_rounds/8e4d0791-30d4-4e5d-8ca4-f6e27abb6418/update
Currently the pain scale in CARE is from 0-5.
Change it to 0-10 to allow user to input a more nuanced measure of pain experienced by the patient.
Opened by rithviknishad
We need to validate the data passed to the /update_observation
endpoint.
For example:
If waveform values are beyond the data-highlimit
or data-lowlimit
they should be rejected.