I am working on a report to show the n most used diagnoses in a medical clinic. I need to show the n most used diagnoses for a given reason for visit (RFV). The RFV for each visit is in one table, and the diagnoses used for each visit are in another table, linked by a unique visit ID number. Each visit will have one RFV, but may have several diagnoses used. I am thinking that the top N sort would be appropriate, but I am having trouble applying it to this situation (newbie that I am). Any ideas on how to approach this, whether by top n sort or any other method?
Thanks in advance to anyone who replies!
Thanks in advance to anyone who replies!