[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] [Health-dev] Group Access Permission Rule: How to filter by

From: Joe Gene Q
Subject: Re: [Health] [Health-dev] Group Access Permission Rule: How to filter by Patient Status = Hospitalized
Date: Wed, 10 Jun 2015 09:43:10 +0800

Hi Chris,

Thanks very much for addressing my query.

Yes, the purpose for the filter is for nurses at the hospital to have access only to hospitalized patients.

This is a requirement by the hospital for privacy purposes, and to reduce the list of names that are displayed in the list of patients.


Joe Gene

On Tue, Jun 9, 2015 at 2:00 PM, Chris <address@hidden> wrote:

I checked the source, and yeah, there is no searcher for that. I can add
it. Also, unless I'm misreading something, it's a boolean field, so
a regex search (with 'like') is, I believe, not what you want.  That is,
the patient_status field is a True/False value indicating if the patient
is hospitalized or not.

> I would like to create a rule to filter only patients whose status =
> 'hospitalized'
> I tried the following domain rule below, and got an error message:
> Health Nursing -> Groups -> Access Permissions -> Record Rules
> Model: Patient Related Information
> Domain [('patient_status','like','hospitalized')]
> Error Message: " Missing Search Function on field "patient status"

However, I'm more interested in your goal. From what I'm understanding,
you want nurses to only have access to hospitalized patients?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]