I have a patient database with five columns that say procedure and the Procedure tables have the same fields. I need to query a specific procedure. How do I make a query that will ultimately filter any patient with a specific procedure, but the procedure is not necessarily listed as the primary one? EX: Proc1, Proc2, Proc3, Proc4, Proc5 and I need to query a procedure coded 18 in any of these columns.
Or maybe a query via the SQL view that will ultimately say search "1 or 2 or 15 or 17 or 18 or 30" in Proc1, if no match in Proc1 search Proc2, if not in Proc2 check Proc3, etc.