[Top][All Lists]

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

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

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

Thank you very much Luis!

Joe Gene

On Wed, Jun 10, 2015 at 3:52 AM, Luis Falcon <address@hidden> wrote:
Dear Joe

On Sun, 7 Jun 2015 11:16:26 +0800
Joe Gene Q <address@hidden> wrote:

> Dear GNU Health Community,
> I would like to request for help for the following filter I would
> like to create:
> 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"
Sorry for the late response.
The hospitalization status - at patient model level - is a function. In
order to be able to search, we need to add a searcher.

I will create a task to add a searcher to the function.

BTW, we have made the hospitalization status a boolean, so no more
chars :)

Thanks for your feedback on this !
> Would truly appreciate your help in making this filter work.

> Thank you in advance and regards,
> Joe Gene Quesada
> Your GNU Health Partner from the Philippines

reply via email to

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