Relate data in two different databases

16 views
Skip to first unread message

Érique Moreira

unread,
May 15, 2019, 1:28:52 AM5/15/19
to web2py-users
Good afternoon

I have 3 different databases that relate the risk stratification in the patient's oral health.

1) Patient registration

2) Stratification data (eg smoking, pain, cavities, water with fluoride, etc.)

3) stratification result (Low Risk, Medium Risk, High Risk)

the BD 2 and 3 are referenced by the patient

I am creating graphs, but I can not relate, for example, to the smoker with the degree of risk. There are 36 stratified smokers, I would like to know how many are Low Risk, Medium Risk and High Risk.

Stratification Db
   
   


02estratificacao.py
Reply all
Reply to author
Forward
0 new messages