แสดงกระทู้
|
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to. |
Topics - weerachaijit
|
หน้า: [1]
|
5
|
หมวดหมู่ทั่วไป / HOSxP / sql ตรวจ surveil
|
เมื่อ: ตุลาคม 16, 2012, 02:09:57 PM
|
ใช้ตรวจ surveil ที่มี diag ไม่ตรงกับรหัส 506 ครับ
select * from surveil_member where pdx not in (select min from code506) and vstdate between '2012-09-01' and '2012-09-30'
แต่ต้องใช้กับตาราง code506 ที่แนบมานี้นะครับ หรือจะเอารหัสโรคทั้งหมดมาใส่ในวงเล็ปก็ได้
|
|
|
|