select targets.hospcode ,targets.right_new ,ifnull(works.work_t3, 0) work_t3 ,ifnull(works.work_t4, 0) work_t4 ,ifnull(works.work_t1, 0) work_t1 ,ifnull(works.work_t2, 0) work_t2 ,ifnull(works.sum_work, 0) sum_work ,targets.target from ( select hospcode ,right_new ,count(cid) target from nhso_tmpqof0021_person1 where (CHRONIC is null or (CHRONIC is not null and DATE_DIAG < DATE_SERV_NCDSCREEN)) and RIGHT_NEW in ("UCS","OTHER") group by hospcode, right_new ) targets left join ( select hospcode ,right_new ,count(case when DATE_SERV_NCDSCREEN between "20170401" and "20170630" then 1 end) work_t3 ,count(case when DATE_SERV_NCDSCREEN between "20170701" and "20170930" then 1 end) work_t4 ,count(case when DATE_SERV_NCDSCREEN between "20171001" and "20171231" then 1 end) work_t1 ,count(case when DATE_SERV_NCDSCREEN between "20180101" and "20180331" then 1 end) work_t2 ,count(case when DATE_SERV_NCDSCREEN between "20180401" and "20180331" then 1 end) sum_work from nhso_tmpqof0021_person1 where (CHRONIC is null or (CHRONIC is not null and DATE_DIAG < DATE_SERV_NCDSCREEN)) and SBP_1 >= 30 and DBP_1 >= 20 and (DATE_SERV_DIAG is null or DATE_SERV_DIAG >= DATE_SERV_NCDSCREEN) and RIGHT_NEW in ("UCS","OTHER") group by hospcode, right_new ) works on works.hospcode = targets.hospcode and works.right_new = targets.right_new order by works.hospcode, works.right_new
แสดง 21 ถึง 40 จาก 48 ผลลัพธ์

ร้อยละของประชากรไทยอายุ 35-74 ปี ได้รับการคัดกรองความดันโลหิตสูง

#HOSPCODEสิทธิ์ประกันสุขภาพ ผลงานไตรมาส 3 ปี2559ผลงานไตรมาส 4 ปี2559ผลงานไตรมาส 1 ปี2560ผลงานไตรมาส 2 ปี2560ผลงานรวม 4 ไตรมาสเป้าหมายทั้งหมด
2107720OTHER0067100701
2207720UCS002,774103,070
2307721OTHER0062290684
2407721UCS002,6272302,914
2507722OTHER00800087
2607722UCS0064200718
2707723OTHER00571260615
2807723UCS001,9819802,185
2907724OTHER00447520864
3007724UCS003972,63903,382
3107725OTHER00651280218
3207725UCS0041562101,264
3307726OTHER0018400209
3407726UCS0089010979
3507727OTHER0089616701,244
3607727UCS003,05042304,325
3707728OTHER001881290348
3807728UCS001,13851901,862
3907729OTHER0026810313
4007729UCS002,076902,337
  00019,5795,546028,319