-
Type:
Task
-
Resolution: Unresolved
-
Priority:
High
-
Affects Version/s: None
-
Platform
-
Dev
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
- A doctor requests access for N days.
- An OTP goes to the patient (or guardian), who approves.
- Access is active until the end date, then stops automatically.
- The patient can cancel access at any time.
- 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)