Consent-API: Doctor time-limited access and emergency access

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: High
    • 3.14
    • Affects Version/s: None

      What this is
      A doctor asks for access to a patient's record for a set number of days. The patient approves by OTP, and access ends on its own. In an emergency, a doctor can open the record with a reason (break-glass).

      APIs

      • Doctor access: POST /consent/v1/access-grants, .../ {id}/approve, .../{id}

        /revoke

      • Emergency access: POST /consent/v1/access-grants/break-glass

      Steps

      1. A doctor requests access for N days.
      2. An OTP goes to the patient (or guardian), who approves.
      3. Access is active until the end date, then stops automatically.
      4. The patient can cancel access at any time.
      5. For an emergency, the doctor enters a reason. Access lasts 24 hours, the DPO is alerted, and it is reviewed later.

      Done when

      • Access starts only after OTP approval.
      • Access stops on the end date or when the patient cancels it.
      • Emergency access needs a reason, ends after 24 hours and alerts the DPO.

      Note: Not in release 3.14 (current focus is TB).

      Source: DPDPA Compliance Proposal v14, sections 3.2.1, 3.2.2, 6 (C23), 7 (H6), 9 (T3)

              Assignee:
              Virendra Kumar
              Reporter:
              Shivani Garg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: