Actions
Activity #1359
closedFeature #138: Development and Unit Testing
Version #1285: Version 1.5
Module #1291: Login
Change API for retrieving hospital information
Start date:
10/16/2023
Due date:
10/16/2023
% Done:
100%
Estimated time:
Planned Due Date:
Description
Change API for retrieving hospital information as per the following
- Get UserID input
- use the following tables to fetch all institutions for the ASHA Blocks assigned to the user
- ph_ashablock_assign
- ph_ashablocks
- ph_ward_mapping
- mas_hospital
If no ASHA Block is assigned to the user,
{"message": "NO_ASHABLOCKS"
"hospitals": []
}
If ASHA Blocks are assigned to the user (the ASHA Blocks may be mapped with multiple institutions)
{"message": "SUCCESS"
"hospitals": [{"hospitalid": "", "hospitalname": "", "hospitaltype": "", ,,,,},
{"hospitalid": "", "hospitalname": "", "hospitaltype": "", ,,,,}]
}
Updated by Thara S Pillai almost 3 years ago
- Priority changed from Normal to Urgent
Actions