API for pulling Referred Data from Server

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: High
    • None
    • Affects Version/s: None
    • AMRIT Sprint 48, AMRIT Sprint 49
    • FLW Mobile App
    • AMRIT Demo

      We need to implement an API to fetch the Refer Data from the server and store it locally in the app’s Room database for offline usage.

      Currently, data is being saved to the server using the following API:
      POST /hwc-api/generalOPD/save/doctorData

      we need a API for getting referred  response in list.

      Response should like this : -

      {"data":[

      {"id":1,"benId":545466983394,"referredToInstituteID":3,"refrredToAdditionalServiceList":["FLW"],"referredToInstituteName":"District Hospital","referralReason":"fever ","revisitDate":1761157800000,"vanID":0,"parkingPlaceID":0,"beneficiaryRegID":0,"benVisitID":0,"visitCode":0,"providerServiceMapID":0,"createdBy":"","isSpecialist":false}

      ],"statusCode":200,"errorMessage":"Success","status":"Success"}

      along with this Incentive logic

      1. ASHA is eligible for incentive of Rs. 10, for population enumeration, CBAC filling and mobilizing for NCD screening
      2. ASHA is eligible for incentive of Rs. 50, once the beneficiary completes the treatment diagnosed with Hypertension, Diabetes Mellitus & 3 common cancers(Oral, Breast, Cervical), if the beneficiary referred to HWC

            Assignee:
            Deep Shikha
            Reporter:
            Ritik Rathaur
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: