SELECT DISTINCT crii.PP_Last, crii.PP_First, crii.PP_Middle, crii.PP_Birthdate, crii.PP_Address1, crii.PP_Phone1, pvp.DateOfServiceFrom, pp.MedicalRecordNumber, pvd.ICD9Code, fac.ListName as Facility, df.ListName as Doctor FROM PatientVisit pv INNER JOIN DoctorFacility fac ON pv.FacilityId = fac.DoctorFacilityId INNER JOIN PatientVisitProcs pvp ON pv.PatientVisitId = pvp.PatientVisitId INNER JOIN cusCRIInterview crii ON pv.PatientProfileId = crii.PatientProfileID INNER JOIN DoctorFacility df ON pv.DoctorId = df.DoctorFacilityId INNER JOIN PatientProfile pp ON pv.PatientProfileId = pp.PatientProfileId INNER JOIN PatientVisitDiags pvd ON pv.PatientVisitId = pvd.PatientVisitId WHERE ( (NULL IS NOT NULL AND pv.FacilityId IN (NULL)) OR (NULL IS NULL) ) AND ( (NULL IS NOT NULL AND pv.DoctorID IN (NULL)) OR (NULL IS NULL) ) AND ( pvp.DateOfServiceFrom >= ISNULL('01/01/2008','1/1/1900') AND pvp.DateOfServiceFrom < dateadd(month, 1, ISNULL('01/29/2009','1/1/3000')) )
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE