BMS-HOSxP Community

HOSxP => แจ้งข้อผิดพลาดการทำงานของ HOSxP V3 => ข้อความที่เริ่มโดย: Banna ที่ กันยายน 19, 2006, 22:09:59 PM

หัวข้อ: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: Banna ที่ กันยายน 19, 2006, 22:09:59 PM
ขอแสดงผลจากการ update  v 18a แล้ว  สรุปก็ยังไม่สามารถใช้งานได้ ??? :'( ??? :'( ??? :'(
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: nillada ที่ กันยายน 19, 2006, 23:05:13 PM
update structure หรือยังครับ ผมทดสอบตามปัญหาที่แจ้งไม่พบนะครับ แต่ต้อง update structure ก่อนครับ
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: วีระวัฒน์ (เอก) ที่ กันยายน 20, 2006, 15:00:25 PM
ผมพบใน patient drug profile ครับ ใน V2.49.9.18a update structure แล้ว

EurekaLog 5.1.9

Application:
-------------------------------------------------------
  1.1 Start Date      : Wed, 20 Sep 2006 03:11:36 -1200
  1.2 Name/Description: HOSMy.exe
  1.3 Version Number  : 2.49.9.33
  1.4 Parameters      :
  1.5 Compilation Date: Mon, 18 Sep 2006 03:01:51 -1200

Exception:
-----------------------------------------------------------------
  2.1 Date   : Wed, 20 Sep 2006 03:54:34 -1200
  2.2 Address: 006C6869
  2.3 Module : HOSMy.exe
  2.4 Type   : EZSQLException
  2.5 Message: SQL Error: Table 'hos.ipt_order_no' doesn't exist.

Active Controls:
-----------------------------------------------------------
  3.1 Form Class   : TMainForm
  3.2 Form Text    : :: HOSxP :: - [IPD Medication Profile]
  3.3 Control Class:
  3.4 Control Text :

Computer:
-----------------------------------------------------
  4.1 Name          : WIN2006
  4.2 User          : weerawat
  4.3 Total Memory  : 479 Mb
  4.4 Free Memory   : 219 Mb
  4.5 Total Disk    : 58.59 Gb
  4.6 Free Disk     : 25.31 Gb
  4.7 System Up Time: 3 hours, 46 minutes, 30 seconds
  4.8 Processor     : Intel(R) Celeron(R) CPU 2.66GHz
  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: 000.000.000.000 - 192.168.001.231 - 192.168.095.001 - 192.168.197.001
  6.2 Submask   : 000.000.000.000 - 255.255.255.000 - 255.255.255.000 - 255.255.255.000
  6.3 Gateway   : 000.000.000.000 - 192.168.001.001 - 000.000.000.000 - 000.000.000.000
  6.4 DNS 1     : 000.000.000.000 - 192.168.001.001 - 000.000.000.000 - 000.000.000.000
  6.5 DNS 2     : 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 000.000.000.000
  6.6 DHCP      : ON              - OFF             - OFF             - OFF           

Other Information:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  7.1 : Hospital Code = 11123 [รพช. แม่แตง]
        Database Type = MySQL
        Database Protocol = mysql-4.1
        Last 3 SQL Statement
        .
        No 1 = select i.rxdate,i.order_no,i.order_type,i.entry_staff,i.rxtime  ,w.name as ward_name  ,count(o.icode) as item_count,  sum(o.sum_price) as amount  from ipt_order_no i  left outer join opitemrece o on o.an = i.an and o.order_no = i.order_no  left outer join ward w on w.ward = i.ward  where i.an='490002648'  group by  i.rxdate,i.order_no,i.order_type,i.entry_staff,i.rxtime ,w.name  order by i.rxdate desc,i.rxtime desc
        .
        No 2 = select distinct med_rx_number from  medpay_ipd where an='490002648' and med_rx_number>0 order by med_rx_number
        .
        No 3 = select name from pttype where pttype='50'
        .
        Server variable
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: manoi ที่ กันยายน 20, 2006, 17:35:10 PM
โค๊ด: SQL
  1. CREATE TABLE `ipt_order_no` (
  2.   `ipt_order_id` INT(11) NOT NULL DEFAULT '0',
  3.   `an` VARCHAR(9) NOT NULL DEFAULT '',
  4.   `rxdate` DATE DEFAULT NULL,
  5.   `order_no` INT(11) DEFAULT NULL,
  6.   `order_type` CHAR(3) DEFAULT NULL,
  7.   `entry_staff` VARCHAR(25) DEFAULT NULL,
  8.   `ward` VARCHAR(4) DEFAULT NULL,
  9.   `rxtime` TIME DEFAULT NULL,
  10.   PRIMARY KEY  (`ipt_order_id`),
  11.   UNIQUE KEY `ipt_order_id` (`ipt_order_id`),
  12.   KEY `ix_an` (`an`),
  13.   KEY `ix_rxdate` (`rxdate`),
  14.   KEY `ix_order_no` (`order_no`)
  15. )
  16.  
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: วีระวัฒน์ (เอก) ที่ กันยายน 21, 2006, 23:50:30 PM
จุดที่ 2 ครับ แก้ไขรายการเวชภัณฑ์ยา
EurekaLog 5.1.9

Application:
-------------------------------------------------------
  1.1 Start Date      : Thu, 21 Sep 2006 12:41:53 -1200
  1.2 Name/Description: HOSMy.exe
  1.3 Version Number  : 2.49.9.33
  1.4 Parameters      :
  1.5 Compilation Date: Mon, 18 Sep 2006 03:01:51 -1200

Exception:
------------------------------------------------------
  2.1 Date   : Thu, 21 Sep 2006 12:45:40 -1200
  2.2 Address: 005AE71C
  2.3 Module : HOSMy.exe
  2.4 Type   : EDatabaseError
  2.5 Message: DrugCDS: Field 'show_notify' not found
Active Controls:
------------------------------------------------------------------------
  3.1 Form Class   : TMainForm
  3.2 Form Text    : :: HOSxP :: - [รายการเวชภัณฑ์ยาในโรงพยาบาลที่มีใช้]
  3.3 Control Class: TcxGridSite
  3.4 Control Text :

Computer:
-----------------------------------------------------
  4.1 Name          : WEERAWAT1
  4.2 User          : admin
  4.3 Total Memory  : 479 Mb
  4.4 Free Memory   : 111 Mb
  4.5 Total Disk    : 58.59 Gb
  4.6 Free Disk     : 25.25 Gb
  4.7 System Up Time: 3 hours, 24 minutes, 10 seconds
  4.8 Processor     : Intel(R) Celeron(R) CPU 2.66GHz
  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: 000.000.000.000 - 192.168.001.231
  6.2 Submask   : 000.000.000.000 - 255.255.255.000
  6.3 Gateway   : 000.000.000.000 - 192.168.001.001
  6.4 DNS 1     : 000.000.000.000 - 192.168.001.001
  6.5 DNS 2     : 000.000.000.000 - 000.000.000.000
  6.6 DHCP      : ON              - OFF           

Other Information:
---------------------------------------------------------------------------------------------------------------------------------------
  7.1 : Hospital Code = 11135 [รพช. สารภี]
        Database Type = MySQL
        Database Protocol = mysql-4.1
        Last 3 SQL Statement
        .
        No 1 = select * from drugitems where icode='1440403'
        .
        No 2 = select concat(dg.name,' ',dg.strength,' x ',  dg.packqty,' ',units) as iname from drugitems dg  where dg.icode='1440403'
        .
        No 3 = select distinct drugcategory from drugitems order by drugcategory
        .
        Server variable
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: manoi ที่ กันยายน 22, 2006, 00:12:29 AM
อาจจะมีปัญหาในขั้นตอน upgrade structure นะครับ ให้ทำการ upgrade structure ใหม่ครับ
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: chon ที่ กันยายน 22, 2006, 01:15:29 AM
ผมมีปัญหาสั่งยาผู้ป่วยในดังนี้ครับ..
SQL Statement
 
No 1 = select agent from opd_allergy where hn='4502939'

No 2 = select hn from ipt where an='490003171'

No 3 = select count(*) as cc from anc_member where hn='4502939' and discharge <> 'Y'

Server variable
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: วีระวัฒน์ (เอก) ที่ กันยายน 22, 2006, 01:49:06 AM
update structure ครั้งที่ 3 เป็นเหมือนเดิมครับ หลังคลิก  OK  ที่ err masage แล้วเป็นดังรูปครับ
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: manoi ที่ กันยายน 22, 2006, 02:42:14 AM
upgrade structure ผ่านหมดหรือเปล่าครับ
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: วีระวัฒน์ (เอก) ที่ กันยายน 22, 2006, 02:52:08 AM
update ผ่านหมดทุกขั้นตอนครับ เจอที่ ER อีกครับ  มีแต่ค่า component  xxxEdit ไม่มีค่าตัวเลือกครับ และ ตามรูปครับ
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: manoi ที่ กันยายน 22, 2006, 03:08:34 AM
ปัญหาเกิดจาก upgrade structure ไม่ผ่านครับ
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: chon ที่ กันยายน 22, 2006, 03:17:03 AM
สั่งยา ผป.ใน จะขึ้น error: is not a valid integer value รายละเอียดดังนี้.
EurekaLog 5.1.9

Application:
-------------------------------------------------------
  1.1 Start Date      : Thu, 21 Sep 2006 16:03:11 -1200
  1.2 Name/Description: HOSMy.exe
  1.3 Version Number  : 2.49.9.33
  1.4 Parameters      :
  1.5 Compilation Date: Mon, 18 Sep 2006 03:01:51 -1200

Exception:
-----------------------------------------------
  2.1 Date   : Thu, 21 Sep 2006 16:06:16 -1200
  2.2 Address: 0040C0F1
  2.3 Module : HOSMy.exe
  2.4 Type   : EConvertError
  2.5 Message: '' is not a valid integer value.

Active Controls:
-----------------------------------------------------------
  3.1 Form Class   : TMainForm
  3.2 Form Text    : :: HOSxP :: - [IPD Medication Profile]
  3.3 Control Class: TSeSkinButton
  3.4 Control Text :

Computer:
-----------------------------------------------------
  4.1 Name          : WIN06V4
  4.2 User          : IPD
  4.3 Total Memory  : 247 Mb
  4.4 Free Memory   : 95 Mb
  4.5 Total Disk    : 25.9 Gb
  4.6 Free Disk     : 21.41 Gb
  4.7 System Up Time: 5 hours, 19 minutes, 48 seconds
  4.8 Processor     : Intel(R) Celeron(R) CPU 2.66GHz
  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.041
  6.2 Submask   : 255.255.255.000
  6.3 Gateway   : 192.168.001.001
  6.4 DNS 1     : 203.155.102.001
  6.5 DNS 2     : 000.000.000.000
  6.6 DHCP      : OFF           

Other Information:
--------------------------------------------------------------------------------------------
  7.1 : Hospital Code = 11123 [รพช. แม่แตง]
        Database Type = MySQL
        Database Protocol = mysql-4.1
        Last 3 SQL Statement
        .
        No 1 = select agent from opd_allergy where hn='4905126'
        .
        No 2 = select hn from ipt where an='490003205'
        .
        No 3 = select count(*) as cc from anc_member where hn='4905126' and discharge <> 'Y'
        .
        Server variabl
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: manoi ที่ กันยายน 22, 2006, 04:46:47 AM
กดปุ่ม New ก่อน แล้วค่อยสั่งยาครับ
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: วีระวัฒน์ (เอก) ที่ กันยายน 22, 2006, 08:56:55 AM
เดิมผมใช้ V 2.49.7.9 และที่ผมใช้ ตัว hosxp_upgrade2.49.9.18a upgrade แล้ว update structure 3-4 ครั้ง แต่ก็เป็นเหมือนเดิมครับ
ก็เลยลองกลับไปใช้ ตัว upgrade2.49.7.18 upgrade โปรแกรม แล้ว update structure 1 ครั้ง และใช้
                             ตัว upgrade2.49.8.18 upgrade โปรแกรม แล้ว update structure 1 ครั้ง และใช้
                             ตัว upgrade2.49.9.16 upgrade โปรแกรม แล้ว update structure 1 ครั้ง และสุดท้ายใช้
                             ตัว upgrade2.49.9.18a  upgrade โปรแกรม แล้ว update structure 1 ครั้ง
จึงจะไม่เกิด Error ตามที่แจ้งมาครับ  /ไม่ทราบว่าเป็นวีธีการที่ถูกต้องหรือไม่   /วีระวํฒน์   
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: manoi ที่ ตุลาคม 11, 2006, 05:54:43 AM
น่าจะได้ครับ แต่ปกติสามารถ upgrade เป็น รุ่นใหม่ได้เลยครับ
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: วีระวัฒน์ (เอก) ที่ ตุลาคม 20, 2006, 21:31:39 PM
v 2.49.10.10 ,v2.49.10.17 upgrade structure แล้ว เข้าแก้ไขรายการเวชภัณท์ยาไม่ได้
ขอคำสั่ง เพิ่มฟิวด์ ด้วยครับ
 2.5 Message: DrugCDS: Field 'income' not found.
EurekaLog 5.1.9

Application:
-------------------------------------------------------
  1.1 Start Date      : Fri, 20 Oct 2006 10:01:28 -1200
  1.2 Name/Description: HOSMy.exe
  1.3 Version Number  : 2.49.10.17
  1.4 Parameters      :
  1.5 Compilation Date: Mon, 16 Oct 2006 17:20:34 -1200

Exception:
-------------------------------------------------
  2.1 Date   : Fri, 20 Oct 2006 10:18:22 -1200
  2.2 Address: 005AE754
  2.3 Module : HOSMy.exe
  2.4 Type   : EDatabaseError
  2.5 Message: DrugCDS: Field 'income' not found.

Active Controls:
------------------------------------------------------------------------
  3.1 Form Class   : TMainForm
  3.2 Form Text    : :: HOSxP :: - [รายการเวชภัณฑ์ยาในโรงพยาบาลที่มีใช้]
  3.3 Control Class: TcxGridSite
  3.4 Control Text :

Computer:
-----------------------------------------------------
  4.1 Name          : WIN2006
  4.2 User          : weerawat
  4.3 Total Memory  : 479 Mb
  4.4 Free Memory   : 173 Mb
  4.5 Total Disk    : 58.59 Gb
  4.6 Free Disk     : 29.3 Gb
  4.7 System Up Time: 2 hours, 19 minutes, 48 seconds
  4.8 Processor     : Intel(R) Celeron(R) CPU 2.66GHz
  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: 000.000.000.000 - 192.168.001.231 - 192.168.095.001 - 192.168.197.001
  6.2 Submask   : 000.000.000.000 - 255.255.255.000 - 255.255.255.000 - 255.255.255.000
  6.3 Gateway   : 000.000.000.000 - 192.168.001.001 - 000.000.000.000 - 000.000.000.000
  6.4 DNS 1     : 000.000.000.000 - 192.168.001.001 - 000.000.000.000 - 000.000.000.000
  6.5 DNS 2     : 000.000.000.000 - 000.000.000.000 - 000.000.000.000 - 000.000.000.000
  6.6 DHCP      : ON              - OFF             - OFF             - OFF           

Other Information:
---------------------------------------------------------------------------------------------------------------------------------------
  7.1 : Hospital Code = 11123 [รพช. แม่แตง]
        Database Type = MySQL
        Database Protocol = mysql-4.1
        Last 3 SQL Statement
        .
        No 1 = select * from drugitems where icode='1460039'
        .
        No 2 = select concat(dg.name,' ',dg.strength,' x ',  dg.packqty,' ',units) as iname from drugitems dg  where dg.icode='1460039'
        .
        No 3 = SHOW KEYS FROM hos.drugitems
        Server variable
หัวข้อ: Re: Bug V 2.49.9.18a
เริ่มหัวข้อโดย: manoi ที่ ตุลาคม 20, 2006, 21:35:07 PM
โค๊ด: SQL
  1. ALTER TABLE drugitems ADD income CHAR(2)
  2.