ยอด DM HT และ DMwithHT
DM 1722 – 782 = 940
HT 3224 – 782 = 2442
DM with HT 782
ตั้งค่า Server Mysql +Ubuntu 14.10 เพื่อทำ server Mypcu
เพิ่มสิทธิ root ให้เข้า ssh ได้ : vi /etc/ssh/sshd_config แก้ไข PermitRootLogin without-password เป็น PermitRootLogin yes
ติดตั้ง phpmyadin : sudo apt-get install phpmyadmin
กำหนดสิทธิ : grant all on *.* to root@’%’ identified by ‘xxxxxxx’;
ตรวจสอบ ovstdiag ที่ไม่มีใน icd10_nhso ส่งผลให้ บริการ diag เหล่านี้ไม่สามารถส่งออก 43 แฟ้ม ในส่วนแฟ้ม Service
select b.code,a.*
from (select * from ovstdiag group by icd10)as a
left join (select * from icd10_nhso)as b on b.code=a.icd10
where b.code is null
ตรวจสอบ ข้อมูลแพทย์แผนไทยไม่ถูกส่งออกใน 43 แฟ้ม (diag U77 U51-U74.4
ตรวจสอบ การบันทึกข้อมูลให้ครบถ้วน
***ในการส่งออก 43 แฟ้ม ต้องมีการตรวจสอบว่า มี icd10 ในตาราง icd10_nhso หรือไม่ เพื่อการส่งออก รหัส icd101 กับการส่งออก 43 แฟ้ม
รายงานทันตกรรม ผู้ป่วยใน
select a.an,dt.vn,dt.* from dtmain dt
left join an_stat a on a.vn=dt.vn
where a.vn is not null and (dt.vstdate between ‘2012-10-01’ and ‘2013-09-30’)
รายงานการบริการทันตกรรม
select dtg.dttm_group_id,dtg.name,dtm.name,count(dtm.name)as Total,dtm.code
from dtmain dt
left join dttm dtm on dtm.code=dt.tmcode
left join dttm_group dtg on dtg.dttm_group_id=dtm.dttm_group_id
where (vstdate between ‘2013-10-01’ and ‘2016-10-01’)
group by dtm.name
ความเห็นล่าสุด