DPDP HMS and GDPR Compliant HMS 2027: Privacy by Design in Hospital Software
What India's DPDP Act and the GDPR ask of hospital software, translated into engineering controls, and the questions to put to any vendor.
A hospital holds the most sensitive data most people will ever hand over: diagnoses, test results, prescriptions, and the phone number of the next of kin. India's Digital Personal Data Protection Act, 2023 (the DPDP Act) and the EU's General Data Protection Regulation (GDPR) both put duties on whoever decides how that data is used. Software cannot carry those duties for a hospital, but it can make them easy to meet or nearly impossible.
This post is the engineering view. It is not legal advice, and a hospital should confirm its obligations with a lawyer. We also describe APEX HMS as built to support DPDP Act and GDPR compliance. Compliance belongs to the hospital's whole operation, including its staff, policies and paper files, and no software makes a hospital compliant on its own.
Who is responsible for what
Under the DPDP Act, the hospital is the Data Fiduciary: it decides why and how personal data is processed. The patient is the Data Principal. A software vendor that processes data on the hospital's behalf is a Data Processor. The GDPR uses similar roles, controller and processor, and treats health data as a special category that needs extra justification to process.
The practical point for a DPDP HMS is that the hospital must be able to show what it does with data. The software has to record enough to make that possible.
From legal duty to software control
| Duty | DPDP Act | GDPR | What the HMS has to do |
|---|---|---|---|
| Basis for processing | Consent, or a listed legitimate use such as a medical emergency | A lawful basis plus a condition for special-category data | Record why each kind of data is held, so treatment data and reminder-call data are not treated as one purpose |
| Notice | Clear notice, available in English or a language in the Eighth Schedule | Transparent information at collection | Print and display notices in the patient's language, and record which version they saw |
| Patient rights | Access, correction, completion, updating and erasure, plus grievance redressal | Access, rectification, erasure, restriction, portability, objection | Find every record about one patient across OPD, IPD, lab, pharmacy and billing, and export it |
| Security | Reasonable security safeguards to prevent breaches | Appropriate technical and organisational measures | Role-based access, encryption, session expiry, and logs of who viewed what |
| Breaches | Inform the Data Protection Board and affected people | Notify the supervisory authority, generally within 72 hours | Detect unusual access and produce an accurate record of what was exposed |
| Transfers abroad | Allowed except to countries the government restricts | Restricted outside the EEA without safeguards such as adequacy or contract clauses | Know where every copy lives, including backups and third-party services |
Access control starts with roles
The receptionist needs the appointment list, not the biopsy result. The pharmacist needs the prescription, not the billing history. Restricting each role to what it needs is the oldest privacy control there is, and it only works if the software is organised around roles from the start.
APEX HMS gives every staff member a role-based home, a starting screen built around what that role does. Organising the product this way keeps data minimisation the default, instead of a set of permissions someone has to remember to switch off.
The other half is logging. When a patient asks who looked at their record, or a breach needs investigating, the hospital needs a record of access. If the logs do not exist, there is nothing to examine.
Reminder calls need their own purpose
APEX HMS can call patients for reminders through APEX Connect, our AI voice agent. A phone number collected to register a patient is not automatically permission to call them with an AI agent. A careful design records the patient's agreement to reminder calls as its own item, lets them withdraw it easily, and stops calls when they do.
Call recordings and transcripts are personal data too, and often health data, because a patient may mention symptoms during the call. They need the same retention rules and access limits as the clinical record. Our post on AI in an HMS explains why we limit that AI to calls in the first place.
Retention and erasure pull in different directions
Both laws give people a right to erasure, and both allow data to be kept where another law requires it. Medical record-keeping rules often do. The software therefore cannot simply delete a patient on request. It needs to:
- Separate data that must be retained, such as treatment records within the legal retention period, from data that can go, such as marketing preferences and call recordings past their use.
- Apply retention periods automatically, so data does not sit forever because nobody scheduled the deletion.
- Record each erasure request and its outcome, including what was kept and why.
Offline-first raises the stakes on devices
An offline-first HMS keeps data on devices so work continues without internet. That is good for care and adds risk if a phone is lost. Device storage should be protected, sessions should expire, and shared devices need a sign-out routine. Hospitals that want every server copy on their own premises can run APEX HMS on-premise.
Questions to ask any vendor of a GDPR compliant HMS 2027
- Where is patient data stored, including backups, and which third parties process it?
- Can you export everything held about one patient within a day?
- Who can see a lab result, and where is that access logged?
- How are retention periods applied, and what happens to call recordings?
- If you say "certified" or "fully compliant", certified by whom, and for what scope?
The last question is the useful one. A vendor can build software that supports compliance. A blanket "compliant" label usually skips over the parts only the hospital can do.
Frequently asked questions
Is APEX HMS DPDP compliant?
APEX HMS is built to support DPDP Act and GDPR compliance, through role-based access, offline-first design and an on-premise option. Compliance also depends on the hospital's own policies and staff, so we do not claim certification or full compliance.
Who is the Data Fiduciary when a hospital uses an HMS?
Under the DPDP Act the hospital is normally the Data Fiduciary because it decides why and how patient data is processed. A software vendor processing data on the hospital's behalf is usually a Data Processor.
Does the GDPR apply to a hospital in India?
It can in specific cases. The GDPR applies to organisations outside the EU when they offer services to people in the EU or monitor their behaviour there. A hospital that thinks this may apply should take legal advice.
Can a patient ask a hospital to delete their records?
A patient can ask, and both the DPDP Act and the GDPR give a right to erasure. Both also allow data to be kept where another law requires it, such as medical record retention rules, so the HMS must separate what must be kept from what can be deleted.
APEX HMS: built to support DPDP Act and GDPR compliance
Role-based homes for every staff member, offline-first design and an on-premise option for hospitals that want the data inside their own walls.