G
G.
Not as easy as the subject my indicate:
I have a query with Lic_Num, MR_Num, Admit_Dt, Disch_Dt. The query lists all
patients within a certain date period and the associated physican who treated
them. I need to get the number of times a patient was re-admitted. The MR_Num
identifies the patient and LIC_Num identifies the physician. Both fields
contain duplicate values because there could have been many instances of a
patient admission with the specified date period. However, the query lists
ALL patient admissions, so if a patient was only admitted once, the MR_Num
would show once.
I want to weed out all MR_Num's that have only one admission and so I need a
query that will return all the MR_Num's that have more than one record within
the query. Grouping the records is the closest I've gotted thus far but this
will still return records that are only listed once and therefore, are not a
readmission.
Any help is appreciated. Hope I explained that well. Thank you.
I have a query with Lic_Num, MR_Num, Admit_Dt, Disch_Dt. The query lists all
patients within a certain date period and the associated physican who treated
them. I need to get the number of times a patient was re-admitted. The MR_Num
identifies the patient and LIC_Num identifies the physician. Both fields
contain duplicate values because there could have been many instances of a
patient admission with the specified date period. However, the query lists
ALL patient admissions, so if a patient was only admitted once, the MR_Num
would show once.
I want to weed out all MR_Num's that have only one admission and so I need a
query that will return all the MR_Num's that have more than one record within
the query. Grouping the records is the closest I've gotted thus far but this
will still return records that are only listed once and therefore, are not a
readmission.
Any help is appreciated. Hope I explained that well. Thank you.