Implement sync ABHA details to AMRIT from local db

XMLWordPrintable

    • Type: Story
    • Resolution: Done
    • Priority: High
    • 2.3
    • Affects Version/s: None
    • None
    • FLW Sprint 25, FLW Sprint 26
    • FLW Mobile App
    • UAT

      As an ASHA, I should able to create ABHA for beneficiaries online and should able save this ABHA in AMRIT server, so that next time I can see all created beneficiaries ABHA numbers in the line listing without fail.

      Problem Statement:
      ABHA is created using native ABDM APIs and after that ABHA is saved in the AMRIT by calling an AMRIT API, may be due to poor network in the field sometimes this AMRIT API is failing.
      ABHA is saved in the AMRIT by calling below AMRIT API:
      fhirapi-v1.0/healthIDRecord/mapHealthIDToBeneficiary

      New Approach:
      After creating the ABHA, currently AMRIT API is called, instead better to save ABHA response in the local db and sync to AMRIT and maintain the ABHA sync status.
      to ensure all ABHA records synced to AMRIT.

      Acceptance criteria:

      1. Create ABHA from Ben card, and if ABHA is synced to AMRIT successfully, then show ABHA No on the card and hide the 'ABHA' button
      2. If ABHA is Not synced to AMRIT, then disable the 'ABHA' button
      3. If ABHA No is already linked to other beneficiary ID, then show 'ABHA' button and show the pop-up with message "This ABHA No is already linked to some one, please try again using correct Aadhaar No of <Beneficiary Name>"

              Assignee:
              Ritik Rathaur
              Reporter:
              Madhava Ramu N
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: