select distinct pt.person_id, p.last_name, p.first_name, p.address_line_1, p.city, p.state, p.zip from patient_ pt INNER JOIN vital_signs_ vs ON vs.person_id = pt.person_id INNER JOIN patient_problems pp ON pp.person_id = pt.person_id INNER JOIN lab_results_obx lr ON lr.person_id = pt.person_id INNER JOIN person p on p.person_id = pt.person_id where pt.age >= 18 AND vs.BMI_calc >= 22 and ((lr.obs_id like '25000000^GLUCOSE^' and CAST(lr.observ_value AS decimal)>100) OR (lr.obs_id like '%FM HEM A1C^HEMOGLOBIN A1C^I%') and NOT EXISTS (select NULL from patient_problems p1 where ( description like 'Diabetes%') AND pt.person_id = p1.person_id)) order by p.last_name desc
and NOT EXISTS (select NULL from patient_problems p1 where ( description like 'Diabetes%') AND pt.person_id = p1.person_id))
Gain unlimited access to on-demand training courses with an Experts Exchange subscription.Get Access
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.
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE
Connect with Certified Experts to gain insight and support on specific technology challenges including: