CDR based on values from LBT form

I have a LBT form with several fields in it.

I’d like to have an alert when one of the fields value is a specific value for the patient. If i go to admin → practice → rules. I see there is an option to in the rule - clinical targets to specify one table and one field for the rule. But the lbt_data table doesn’t have patient identifying data like a pid.

So I’m wondering is there a way to set up the alert so that it checks the transactions table for the form id of the relevant data in the lbt_data table for this patient?

I’m not sure if I described the problem accurately. If anyone needs more info feel free to ask it.

Can you create a view that combines data from multiple tables?

Then use that table for your clincial reminder

2 Likes

Got it. Create a view in the database then reference that view. that will probably make a few other things easier too.

Thanks, for the input.

1 Like