Each Patient has a unique MedRecNumber - the problem is I need to count the RaceCd for each MedRecNumber - this is the SQL I have if that helps. I really appreciate all you are trying to do.
SELECT DISTINCT "TPM300_PAT_VISIT"."med_rec_no", "TSM040_PERSON_HDR"."lst_nm"...
I work in Healthcare and need to count "people" who have been admitted to the hospital in the last year by race. My problem is that I can get this to do it by "visit"....a person could have visited the hospital numerous times in the year and I only want it to count once per person. Any help...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.