Details
-
Bug
-
Status: Closed
-
TBD
-
Resolution: Won't Fix
-
None
-
None
-
Medium
-
Description
Steps:
1. Go to find patient
2. Click on '+' button.
3. It will show the download-able patients list.
4. Download one patient and open.
5. Go to VISITS tab and start new visit.
6. It will show 'Bad Request' toast.
This is the json received.
{"error":{"message":"Invalid Submission","code":"webservices.rest.error.invalid.submission","globalErrors":[],"fieldErrors":{"visitType":[{"code":"Visit.error.visitType.required","message":"Visit Type is required"}]}}}
Sometime 'visitType' in shared preference becomes empty and then you can't start visits. To solve this issue, we need to make sure 'visitType' is not empty.