ผู้เขียน หัวข้อ: ท่านอาจารย์และท่านพี่ครับน้องมีปัญหา ตรงรายการใบสั่งยา scan จาก IPD  (อ่าน 2880 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ yossak

  • Sr. Member
  • ****
  • กระทู้: 429
  • Respect: 0
    • ดูรายละเอียด
    • www.tpphosp.com
ตรงรายการใบสั่งยา scan จาก IPD เปิด file ที่ scan แล้วมันค้างต้องใช้เวลานานมากครับ ประมาณ 5 นาที่ กว่าจะแสดงภาพออกมา ลองทดสอบดูเป็นตั้งแต่ v.54.1.3-v54.1.19 ไมรู้ว่า version ใหม่จะมีปัญหาแบบนี้เปล่า ต้องย้อนกับใบใช้V53.12.30 เปิดที่เดียวขึ้นเลย v.54.2.XX จะมีปัญหาแบบนี้เปล่าครับ
ยศศักดิ์   ธัมกำเนิดทรัพย์  โรงพยาบาลทองผาภูมิ ขนาด 90 เตียง
Server Dell R650 XS / SSD scis 3 TB. / Ram 128 GB./ Almalinux 9 / Mysql 11.4.4/ Hosxp 3.68.9.x
ขึ้นระบบ 2549  จากทีม BMS และขอขอบพี่กิจ สสจ.กจ     พี่นาจ รพ.หลวงพ่อเปิ่น, พี่อ๊อด สสจ.กาญจนบุรี, และที่ให้ความรู้และคำแน

doramon

  • บุคคลทั่วไป
select i1.*,i.hn,concat(p.pname,p.fname,' ',p.lname) as patient_name,a.bedno  ,w.name as ward_name,  it.ipt_doctor_scan_type_name
from ipt_doctor_scan i1, ipt i,patient p ,iptadm a ,ward w ,ipt_doctor_scan_type it
where i1.rxdate between '2011-02-08' and '2011-02-08'
 and i.an = i1.an
 and p.hn = i.hn
 and a.an = i.an
 and  w.ward = i.ward
 and  it.ipt_doctor_scan_type_id = i1.ipt_doctor_scan_type_id  order by i1.ipt_doctor_scan_id desc

ทดสอบรันตัวนี้ดูเปลียนวันที่ แล้วดูว่ามันช้าเหมือนกันหรือเปล่า


doramon

  • บุคคลทั่วไป
select * from ipt_doctor_scan_image

รูปเก็บที่ตารางนี้

เก็บกี่ record แล้ว