ผู้เขียน หัวข้อ: err medication profile version 2.49.8.12  (อ่าน 7707 ครั้ง)

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

ออฟไลน์ por

  • Hero Member
  • *****
  • กระทู้: 1,087
  • เพราะว่าเธอคือดวงใจของฉัน
  • Respect: 0
    • ดูรายละเอียด
    • Blog Adminpor
err medication profile version 2.49.8.12
« เมื่อ: สิงหาคม 22, 2006, 00:51:35 AM »
0
err medication profile version 2.49.8.12 ครับ ดังรูปที่แนบมาครับ
adminpor
ICT @ Office of Public Health.Nakhonsi Province.
Mobile.083-1740976
Office.075-343409 to 106

ออฟไลน์ manoi

  • Hero Member
  • *****
  • กระทู้: 8,669
  • Respect: +170
    • ดูรายละเอียด
    • HOSxP Community Center
Re: err medication profile version 2.49.8.12
« ตอบกลับ #1 เมื่อ: สิงหาคม 22, 2006, 01:17:27 AM »
0
Upgrade Structure หรือยังครับ

หากทำแล้วยัง error อยู่

ลองใ้ช้คำสั่งนี้ครับ

update nondrugitems set ipd_price = 0 where ipd_price IS NULL
HOSxP Project Manager / Cheif Developer / BMS MD

ออฟไลน์ por

  • Hero Member
  • *****
  • กระทู้: 1,087
  • เพราะว่าเธอคือดวงใจของฉัน
  • Respect: 0
    • ดูรายละเอียด
    • Blog Adminpor
Re: err medication profile version 2.49.8.12
« ตอบกลับ #2 เมื่อ: สิงหาคม 22, 2006, 02:11:53 AM »
0
หลังจาก 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

|
adminpor
ICT @ Office of Public Health.Nakhonsi Province.
Mobile.083-1740976
Office.075-343409 to 106

ออฟไลน์ burge

  • Full Member
  • ***
  • กระทู้: 180
  • Respect: 0
    • ดูรายละเอียด
Re: err medication profile version 2.49.8.12
« ตอบกลับ #3 เมื่อ: สิงหาคม 22, 2006, 08:19:15 AM »
0
สิทธิ์ที่ผมตั้งครับ
mr.boekroek unin;  laokwhan hospital
server  HP ml 110 3.0GHz ram 512 Mb
MySql 5.0.37   Hosxp version 3.51.3.28
เริ่มใช้ 1 พย 2548

ออฟไลน์ manoi

  • Hero Member
  • *****
  • กระทู้: 8,669
  • Respect: +170
    • ดูรายละเอียด
    • HOSxP Community Center
Re: err medication profile version 2.49.8.12
« ตอบกลับ #4 เมื่อ: สิงหาคม 22, 2006, 19:03:02 PM »
0
ต้องกดปุ่ม exec ครับ (แต่กดปุ่ม run มันก็ execute ให้เหมือนกันครับ)

ใช้ IPD Drug Profile ได้หรือยังครับ
HOSxP Project Manager / Cheif Developer / BMS MD

ออฟไลน์ por

  • Hero Member
  • *****
  • กระทู้: 1,087
  • เพราะว่าเธอคือดวงใจของฉัน
  • Respect: 0
    • ดูรายละเอียด
    • Blog Adminpor
Re: err medication profile version 2.49.8.12
« ตอบกลับ #5 เมื่อ: สิงหาคม 22, 2006, 19:55:36 PM »
0
update structer แล้ว และทำตามอาจารย์ยังขึ้นเหมือนเดิมครับ
adminpor
ICT @ Office of Public Health.Nakhonsi Province.
Mobile.083-1740976
Office.075-343409 to 106

ออฟไลน์ por

  • Hero Member
  • *****
  • กระทู้: 1,087
  • เพราะว่าเธอคือดวงใจของฉัน
  • Respect: 0
    • ดูรายละเอียด
    • Blog Adminpor
Re: err medication profile version 2.49.8.12
« ตอบกลับ #6 เมื่อ: สิงหาคม 23, 2006, 00:11:03 AM »
0
แก้ได้แล้วครับ ปัญหามันอยู่ที่มีผู้ป่วยในที่ไม่มี AN นะครับแล้วมีการสั่งรายการ nondrugsitems  ไว้ตาม icode ที่โปรแกรมแจ้งเตือนครับ ในตาราง medplan_ipd ซึ่งคิดว่าน่าจะเกิดจากการที่ลบ an ออก หรือไม่ ก้คีย์ยาผู้ป่วยนอกผ่าน medication profile
ลองเปิด sql trace windows แล้วไล่ตามก็เจอตัวปัญหาครับ ได้ทำการลบ reccord ตัวที่ไม่มี an ออก ก็สามารถใช้งานได้ตามปกติครับ

ขอขอบคุณอ.ชัยพร   อ.อ๊อด อ.นาจ และคุณ burge มากครับที่ให้คำแนะนำครับ
adminpor
ICT @ Office of Public Health.Nakhonsi Province.
Mobile.083-1740976
Office.075-343409 to 106