U
ucdcrush
Hi all. I am attempting to put together a database for a health
project..
There are 2 types of questionnaires, but they have in common that both
of them collect the same clinical measures. So there is tBaseline (one
of the questionnaires) and tEncounter (the other). They both should
store clinical data in tClinical, and they should be linked by the
patient ID and the date.
Problem is when I try to add a record to tBaseline, it tells me there
is no matching record in tEncounter.
I am using a simple form based on the client table, with a subform for
tBaseline [linked by site id and patient id] and a subform on that
subform which is linked to tClinical [linked by site id, patient id
and visit date].
Here is a picture of the relationship window:
http://farm1.static.flickr.com/210/474949547_7526018ed2_o.jpg
Can someone suggest a way to keep the clinical data stored in
tClinical yet have tBaseline and tEncounter linked to it by patient ID
and visit date and also have cascading updates and deletes?
Thanks for any insight..
project..
There are 2 types of questionnaires, but they have in common that both
of them collect the same clinical measures. So there is tBaseline (one
of the questionnaires) and tEncounter (the other). They both should
store clinical data in tClinical, and they should be linked by the
patient ID and the date.
Problem is when I try to add a record to tBaseline, it tells me there
is no matching record in tEncounter.
I am using a simple form based on the client table, with a subform for
tBaseline [linked by site id and patient id] and a subform on that
subform which is linked to tClinical [linked by site id, patient id
and visit date].
Here is a picture of the relationship window:
http://farm1.static.flickr.com/210/474949547_7526018ed2_o.jpg
Can someone suggest a way to keep the clinical data stored in
tClinical yet have tBaseline and tEncounter linked to it by patient ID
and visit date and also have cascading updates and deletes?
Thanks for any insight..