I have a report that looks at diagnosis codes and procedure codes. There were too many procedure codes to put into a crystal formula so we created what we call a 'grouper' from our Electronic Record EPIC. We can use this grouper from our database into a crystal report. The report needs to look a set of diagnosis codes first, i.e...."D78.11", "D78.12", etc...and then look to see if the patient had a procedure code that is contained in the grouper. If they have the diagnosis code and a code from the grouper then I don't want the patient to pull on the report. The query that I attached is what the EPIC support staff sent me as they are not real familiar with crystal formula's. Does this help ?
↧