vdrl_rs ได้จากคำสั่งนี้ครับ
select p2.anc_service_date,p3.anc_lab_result
from person_anc p1, person_anc_service p2,person_anc_lab p3,anc_lab a1
where p1.person_anc_id = p2.person_anc_id and p2.person_anc_service_id = p3.person_anc_service_id
and p3.anc_lab_id = a1.anc_lab_id and a1.anc_lab_code = "VDRL1"
order by p2.anc_service_date desc
HB_RS ได้จาก
select p2.anc_service_date,p3.anc_lab_result
from person_anc p1, person_anc_service p2,person_anc_lab p3,anc_lab a1
where p1.person_anc_id = p2.person_anc_id and p2.person_anc_service_id = p3.person_anc_service_id
and p3.anc_lab_id = a1.anc_lab_id and a1.anc_lab_code = "HB"
order by p2.anc_service_date desc
hiv_rs ได้จาก
select p2.anc_service_date,p3.anc_lab_result
from person_anc p1, person_anc_service p2,person_anc_lab p3,anc_lab a1
where p1.person_anc_id = p2.person_anc_id and p2.person_anc_service_id = p3.person_anc_service_id
and p3.anc_lab_id = a1.anc_lab_id and a1.anc_lab_code = "HIV1"
order by p2.anc_service_date desc
hct_rs ได้จาก
select p2.anc_service_date,p3.anc_lab_result
from person_anc p1, person_anc_service p2,person_anc_lab p3,anc_lab a1
where p1.person_anc_id = p2.person_anc_id and p2.person_anc_service_id = p3.person_anc_service_id
and p3.anc_lab_id = a1.anc_lab_id and a1.anc_lab_code = "HCT1"
order by p2.anc_service_date desc
ผลที่ลงต้องมีคำว่า pos หรือ neg โปรแกรมจะนำไปแปลเป็นรหัส 1 / 2 ให้ครับ