Who CANNOT access the EHRs in Healthcare Information Systems?

In the healthcare domain, various types of authorities, such as patients and doctors, produce Electronic Health Records (EHRs) data. The system stores this vital information in the medical server along with some security information. On the other hand, health centers that are usually open have dozens or even hundreds of unknown visitors. Apart from the hospital personnel, patients (or even family members of patients) can also generate vital information that is uploaded to the medical server. In our previous blog “Who can access the EHRs in Healthcare Information Systems?”, we mentioned that several authorization models have been developed to provide access grants for authorized users to this data. However, conventional authorization models have primarily focused on access statically granted to subjects by administrators, usually in specific rules (i.e., static policy). Moreover, the access should not be permanent or forever and users may no longer be allowed access to the information or vice versa. For example, in some emergencies, an admin (or a user) may need to delegate or revoke his/her access to the other user(s) and this should be online. So, the questions that arise here are how do these authorization models, in addition to granting access to authorized users, prevent unauthorized access to resources? How to apply prompt rules to the model?

To answer the above questions, we would like to explain the concepts of ‘’dynamic policy” and “access grant/revocation” as potential solutions.

As we mentioned, conventional authorization models are based on static policies that cannot be automatically changed when the system evolves. This means that these models do not meet the requirements for dynamic application scenarios (e.g., when the admin of the system wants to change the policies). Therefore, there is a need for representation of a policy, called “dynamic policy”, which could be generated and bound dynamically to the data stored in the medical server. When the authorization model uses this “dynamic policy”, the admin of the system can add, remove or change the policy online. If we go one step further towards having the authorization model with the flexible “dynamic policy”, the user in the system must be able to define a rule related to his/her data and add it to the “dynamic policy”.

Besides having the “dynamic policy”, the authorization model needs to provide the “access grant/revocation” feature. This means that the data owner (or in some models the admin on behalf of the data owner) must be able to delegate his/her access rights to another user. It is also expected that the authorization model provides access revocation.

In ProTego, we proposed a new representation of a policy, called dynamic policy access control. we enhanced our access control architecture by relying on Open Policy Agent (OPA). OPA is an open-source engine that unifies policy enforcement across the stack. OPA provides a high-level declarative language (Rego) that lets us specify policy as code and simple APIs to offload policy decision-making from our access control component. When our access control component needs to make policy decisions it queries OPA and supplies structured data (e.g., JSON) as input. Then, OPA outputs policy decisions by evaluating the query input and against policies (here, dynamic policy) and data. The policies that the admin of the system defines can be inspected and transformed using OPA’s native query language called Rego. In our new dynamic model, it is also possible for the data owner to define some rules (e.g., the doctor generates the file for the patient and informs the system that in addition to himself the patient also can access the data) and direct them to the access control component. Then, at the time of reading data, the access control component makes the query input based on these rules. Then, OPA outputs policy decisions by evaluating the request not only based on admin rules but also using data owner rules. It is important to emphasize that in our model, the admin can also define rules for ignoring data owner rules.

In conclusion, the enhanced access control component enables many functionalities to the system authorization model.

This blog post was written for the ProTego project by Farhad Aghili (KU Leuven).