L
LMS
Do I need code to do this, rather than just writing a
query?
I'm working with a table of medical data, where each row
represents a billable procedure performed on a patient.
A single surgery may include several procedures; e.g. the
doctor might fix two or more different valves in the
heart, and fixing each valve is a separate procedure.
My table has records with the following fields:
MD_NAME, PROCEDURE_CODE, DATE, PATIENT_ID, HOSPITAL, CHARGE
etc.
I want to count the number of surgeries done. That is,
for any case where there are multiple records with the
same MD_NAME, DATE, and PATIENT_ID, I want all those
records to count as 1. There is no other indication that
more than one procedure was part of the same surgery.
Is there any way to do this without writing code?
thanks much.
query?
I'm working with a table of medical data, where each row
represents a billable procedure performed on a patient.
A single surgery may include several procedures; e.g. the
doctor might fix two or more different valves in the
heart, and fixing each valve is a separate procedure.
My table has records with the following fields:
MD_NAME, PROCEDURE_CODE, DATE, PATIENT_ID, HOSPITAL, CHARGE
etc.
I want to count the number of surgeries done. That is,
for any case where there are multiple records with the
same MD_NAME, DATE, and PATIENT_ID, I want all those
records to count as 1. There is no other indication that
more than one procedure was part of the same surgery.
Is there any way to do this without writing code?
thanks much.