BMS-HOSxP Community
HOSxP => แจ้งข้อผิดพลาดการทำงานของ HOSxP V3 => ข้อความที่เริ่มโดย: por ที่ สิงหาคม 22, 2006, 00:51:35 AM
-
err medication profile version 2.49.8.12 ครับ ดังรูปที่แนบมาครับ
-
Upgrade Structure หรือยังครับ
หากทำแล้วยัง error อยู่
ลองใ้ช้คำสั่งนี้ครับ
update nondrugitems set ipd_price = 0 where ipd_price IS NULL
-
หลังจาก up structure แล้วยังไม่ได้ครับ และใช้ update ของอ.ขึ้น err ดังนี้ครับ
EurekaLog 5.1.7
Application:
-------------------------------------------------------
1.1 Start Date : Mon, 21 Aug 2006 15:15:24 -1200
1.2 Name/Description: HOSMy.exe
1.3 Version Number : 2.49.8.12
1.4 Parameters :
1.5 Compilation Date: Sat, 12 Aug 2006 20:06:18 -1200
Exception:
----------------------------------------------
2.1 Date : Mon, 21 Aug 2006 15:16:57 -1200
2.2 Address: 0061EDE3
2.3 Module : HOSMy.exe
2.4 Type : EZSQLException
2.5 Message: Can not open a ResultSet.
Active Controls:
--------------------------------
3.1 Form Class : TMainForm
3.2 Form Text : :: HOSxP ::
3.3 Control Class: TdxPickEdit
3.4 Control Text :
Computer:
-------------------------------------------------------
4.1 Name : IM_THAMPANNARA
4.2 User : phongnatee
4.3 Total Memory : 504 Mb
4.4 Free Memory : 166 Mb
4.5 Total Disk : 34.18 Gb
4.6 Free Disk : 24.6 Gb
4.7 System Up Time: 6 hours, 42 minutes, 27 seconds
4.8 Processor : Intel(R) Pentium(R) 4 CPU 2.00GHz
4.9 Display Mode : 1024 x 768, 32 bit
Operating System:
------------------------------------
5.1 Type : Microsoft Windows XP
5.2 Build # : 2600
5.3 Update : Service Pack 2
5.4 Language: Thai
Network:
---------------------------------
6.1 IP Address: 192.168.001.003
6.2 Submask : 255.255.255.000
6.3 Gateway : 192.168.001.001
6.4 DNS 1 : 192.168.001.001
6.5 DNS 2 : 000.000.000.000
6.6 DHCP : OFF
Other Information:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
7.1 : Hospital Code = 11339 [þª. ¶éÓ¾ÃóÃÒ]
Database Type = MySQL
Database Protocol = mysql-4.1
Last 3 SQL Statement
.
No 1 = insert into replicate_log (`event_time`,`client`,`sql`) values (current_timestamp,'IM_THAMPANNARA','update nondrugitems set ipd_price = 0 where ipd_price IS NULL')
No 2 = update nondrugitems set ipd_price = 0 where ipd_price IS NULL
.
No 3 = select accessright from opduser where loginname='por_tham'
.
Server variable
|
-
สิทธิ์ที่ผมตั้งครับ
-
ต้องกดปุ่ม exec ครับ (แต่กดปุ่ม run มันก็ execute ให้เหมือนกันครับ)
ใช้ IPD Drug Profile ได้หรือยังครับ
-
update structer แล้ว และทำตามอาจารย์ยังขึ้นเหมือนเดิมครับ
-
แก้ได้แล้วครับ ปัญหามันอยู่ที่มีผู้ป่วยในที่ไม่มี AN นะครับแล้วมีการสั่งรายการ nondrugsitems ไว้ตาม icode ที่โปรแกรมแจ้งเตือนครับ ในตาราง medplan_ipd ซึ่งคิดว่าน่าจะเกิดจากการที่ลบ an ออก หรือไม่ ก้คีย์ยาผู้ป่วยนอกผ่าน medication profile
ลองเปิด sql trace windows แล้วไล่ตามก็เจอตัวปัญหาครับ ได้ทำการลบ reccord ตัวที่ไม่มี an ออก ก็สามารถใช้งานได้ตามปกติครับ
ขอขอบคุณอ.ชัยพร อ.อ๊อด อ.นาจ และคุณ burge มากครับที่ให้คำแนะนำครับ