-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Highest
-
Affects Version/s: None
-
None
-
FLW Mobile App
-
AMRIT Demo
POST
flw-api/tb/screening/saveAll
flw-api/tb/screening/getAll
**
Add to key{}
| referredForDigitalChestXray | Boolean | Yes | Beneficiary referred for Digital Chest X-ray |
| referredForSputumCollection | Boolean | Yes | Beneficiary referred for sputum collection |
| sputumSampleSubmittedAt | String / VARCHAR(50) | Yes | Location where sputum sample submitted |
| recommendedForTruenat | Boolean | Yes | Beneficiary recommended for Truenat test |
| recommendedForLiquidCulture | Boolean | Yes | Beneficiary recommended for liquid culture test |
| testDenialReasons | Text / JSON | Yes | Multi-select denial reasons |
Expected Values
testDenialReasons should support multiple values:
["Fear and anxiety","Misconceptions","Social stigma","Privacy concerns","Long waiting times at the camp","Others"]
DB Storage Recommendation
For testDenialReasons, use JSON/Text column for faster implementation:
testDenialReasons TEXT
Example stored value:
["Privacy concerns","Long waiting times at the camp"]
API Impact
Backend save, get, pull, and sync APIs must include these fields.
Sample Payload
{{
}}