health
[Top][All Lists]
Advanced

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

Re: [Health] Record Rules


From: Khurram Shahzad
Subject: Re: [Health] Record Rules
Date: Fri, 27 May 2016 18:49:51 +0500

Dear Cedric,

Thanks a lot. Let me give it a try before being more thankful!

Khurram.

On Fri, May 27, 2016 at 3:04 PM, Cédric Krier <address@hidden> wrote:
On 2016-05-27 14:54, Khurram Shahzad wrote:
> Dear All,
>
> I am trying to add record rules but failing with flying colours.
>
> We want that "A Doctor should be able to see ONLY those appointments which
> have been entered as that doctor being the health professional.
>
> I created a record rule with model "Patient Appointments" with "read"
> access. Now when I create a new Test under domain and try to save the rule,
> an error message "Invalid domain in rule "70" " is displayed and the record
> rule is not saved.
>
> Snapshot is attached.
>
> Can anybody please guide me on what is being done wrong by me?

Domain must be a PYSON statement (JSON), so it should be something like:

    [["healthprof.id", "=", 10]]


--
Cédric Krier - B2CK SPRL
Email/Jabber: address@hidden
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/




--
 
Regards,
Khurram.

reply via email to

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