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_tmpqof0011_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 "20170401" and "20180331" then 1 end) sum_work from nhso_tmpqof0011_person1 where (CHRONIC is null or (CHRONIC is not null and DATE_DIAG < DATE_SERV_NCDSCREEN)) and bstest in ("1","2","3","4") and bslevel > 0 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
แสดง 1 ถึง 20 จาก 48 ผลลัพธ์

ร้อยละของประชากรไทยอายุ 35-74 ปี ได้รับการคัดกรองเบาหวาน โดยการตรวจวัดระดับน้ำตาลในเลือด

#HOSPCODEสิทธิ์ประกันสุขภาพ ผลงานไตรมาส 3 ปี2559ผลงานไตรมาส 4 ปี2559ผลงานไตรมาส 1 ปี2560ผลงานไตรมาส 2 ปี2560ผลงานรวม 4 ไตรมาสเป้าหมายทั้งหมด
107733OTHER00000121
207733UCS00000955
307711OTHER0059253312394
407711UCS004711,4911,9622,347
507712OTHER005210521583
607712UCS001,91201,9122,088
707713OTHER0024631277296
807713UCS001,1371191,2561,336
907714OTHER3903791095272,033
1007714UCS4907112691,0293,063
1107715OTHER102621264469
1207715UCS1089088991,399
1307716OTHER0043748485501
1407716UCS001,4181451,5631,622
1507717OTHER002353075421,292
1607717UCS001,0135331,5463,928
1707718OTHER006632981,110
1807718UCS004541656194,145
1907719OTHER0055055284
2007719UCS0225912621,137
  090210,5253,51214,12929,103