E
ESheehan
[Using Access 2007]
Would like to run this relationship design by the community for some feedback:
I am building a db that tracks a patient's test results over the course of
12 months. I have set-up a "Patient Data" table that includes a few
demographic variables, as well as a unique Patient ID field. That field is
the Primary Key for that table.
Then, there are a series of tables that represent the various tests that
will be repeated at regular intervals (i.e., a "distance walked" test at
Visit 1, Visit 2, Visit 3, etc.). Each of these tables also has a "Subject
ID" field. However, I've made an AutoNumber field the primary key for these
tables. Each patient should have only one record in each unique Visit/Test
table. We eventually will want to run queries that pull a patient's results
from each visit per test to see any improvement or degradation on their test
results.
I thought this would be a One-to-Many relationship but would like any
feedback on other ways to represent a logical relationship to ensure that
queries run correctly in the future.
Thanks for any input or ideas.
Would like to run this relationship design by the community for some feedback:
I am building a db that tracks a patient's test results over the course of
12 months. I have set-up a "Patient Data" table that includes a few
demographic variables, as well as a unique Patient ID field. That field is
the Primary Key for that table.
Then, there are a series of tables that represent the various tests that
will be repeated at regular intervals (i.e., a "distance walked" test at
Visit 1, Visit 2, Visit 3, etc.). Each of these tables also has a "Subject
ID" field. However, I've made an AutoNumber field the primary key for these
tables. Each patient should have only one record in each unique Visit/Test
table. We eventually will want to run queries that pull a patient's results
from each visit per test to see any improvement or degradation on their test
results.
I thought this would be a One-to-Many relationship but would like any
feedback on other ways to represent a logical relationship to ensure that
queries run correctly in the future.
Thanks for any input or ideas.