Lifeseeker
Registered User.
- Local time
- Today, 11:25
- Joined
- Mar 18, 2011
- Messages
- 273
Hi,
I have a one to many database set up. Primary table contains patient demographics, and the encounter table contains each medical visit. When there are two medical encounters, there will be two records of that same patient.
One of the analyses is find out which encounter of the patient meets certain criteria and guidelines set out by this provincial authority. The analysis can be......of the total number of patients coming to this hospital, how many of them have evidence of a specific test in a given period. (say in the month of july and august)
So the calculation is patient-specific as you can see.
Now given that the database can actually store multiple encounters for each patient, how do I essentially base my calculation on each encounter rather than patient? I am told that each encounter needs to be looked at and we would like to find out if every encounter for that patient meets the criteria, etc.
How should I go about doing the analysis this way?
Any thoughts/comment is much appreciated.
I have a one to many database set up. Primary table contains patient demographics, and the encounter table contains each medical visit. When there are two medical encounters, there will be two records of that same patient.
One of the analyses is find out which encounter of the patient meets certain criteria and guidelines set out by this provincial authority. The analysis can be......of the total number of patients coming to this hospital, how many of them have evidence of a specific test in a given period. (say in the month of july and august)
So the calculation is patient-specific as you can see.
Now given that the database can actually store multiple encounters for each patient, how do I essentially base my calculation on each encounter rather than patient? I am told that each encounter needs to be looked at and we would like to find out if every encounter for that patient meets the criteria, etc.
How should I go about doing the analysis this way?
Any thoughts/comment is much appreciated.