You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Clicking the ICMR Specimen Referral Form button from a sample page takes to patient test sample page (patient/.../test_sample/.../icmr_sample) which results in internal server error
To Reproduce
Steps to reproduce the behavior:
Click Sample Test tab in side bar
Click on sample details for any one of the sample.
Click on ICMR Specimen Referral Form
See error
Expected behavior
The route should be handled if it is still in use otherwise it need to be handled accordingly. If this is not actively used and gets revamped with new upcoming Lab management module I think we can ignore this.
TypeError: 'RelatedManager' object is not iterable
(12 additional frame(s) were not displayed)
...
File "care/facility/api/viewsets/patient_sample.py", line 107, in icmr_sample
return Response(data=PatientICMRSerializer(patient).data)
File "care/facility/models/patient_icmr.py", line 164, in symptoms
for symptom in self.consultation.symptoms:
The text was updated successfully, but these errors were encountered:
As we discussed on Slack this route will be going away soon and with no active users using it. I believe it's not worth fixing it, will close the issue. Please pick a new one.
Describe the bug
Clicking the
ICMR Specimen Referral Form
button from a sample page takes to patient test sample page (patient/.../test_sample/.../icmr_sample
) which results in internal server errorTo Reproduce
Steps to reproduce the behavior:
Sample Test
tab inside bar
sample details
for any one of the sample.ICMR Specimen Referral Form
Expected behavior
The route should be handled if it is still in use otherwise it need to be handled accordingly. If this is not actively used and gets revamped with new upcoming Lab management module I think we can ignore this.
Additional context
Sentry Issue: CARE-F9X
http://careapi.ohc.network/api/v1/patient/c31e9b1f-0edc-4b4e-9b26-4ad9dfcbd698/test_sample/d5fbfd97-b225-48ef-aff6-914f73b75566/icmr_sample/
The text was updated successfully, but these errors were encountered: