Jump to content

Load "Past" Related Records


This topic is 1303 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello, 

I need help please with the best relationship design. 

I'm designing a database for patients and their encounters/visits, and I would like to like to view their information related to each visit (Current and old).

I have the following tables:

tbl_Patient ---> tbl_Encounter (inc date/time) ---> many tables capturing patient data

What is the best way to view the old patient data based on the past date and time?

 

Thank you

Link to comment
Share on other sites

You can show all encounters of the currently viewed patient in a portal to the Encounters table. You can place a button in the portal that will load the selected encounter's ID into a global field in the Patients table. This global field can be used as the match field in an auxiliary relationship that will show the data related to the selected encounter.

P.S. I am not sure why you need "many tables capturing patient data".

 

Link to comment
Share on other sites

This topic is 1303 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.