G
Guest
I have clients that want to view patient diagnosis' like this
Patient Diagnosis1, Diagnosis2, Diagnosis3 (upto10)
Is there a way to construct this in a query?
my tables are:
Patient (Patient info, Key is Pat_ID)
Pat_Enc (Which is a patient encounter , Key is Pat_ID)
Pat_Enc_DX (this includes the Diagnosis which is ICD9_Code, Line is the
Diagnosis Number, and also includes Pat_ID)
Clarity_EDG (has the DX_Name which is the ICD9_Code description)
I was going to write a VBA loop, but I bet there's a SQL solution to this -
which would be great for a Crystal Report... Thanks!
Patient Diagnosis1, Diagnosis2, Diagnosis3 (upto10)
Is there a way to construct this in a query?
my tables are:
Patient (Patient info, Key is Pat_ID)
Pat_Enc (Which is a patient encounter , Key is Pat_ID)
Pat_Enc_DX (this includes the Diagnosis which is ICD9_Code, Line is the
Diagnosis Number, and also includes Pat_ID)
Clarity_EDG (has the DX_Name which is the ICD9_Code description)
I was going to write a VBA loop, but I bet there's a SQL solution to this -
which would be great for a Crystal Report... Thanks!