BMS-HOSxP Community

HOSxP => แจ้งข้อผิดพลาดการทำงานของ HOSxP V3 => ข้อความที่เริ่มโดย: tote ที่ พฤษภาคม 16, 2008, 16:52:39 PM

หัวข้อ: 3.51.4.17 bug เกี่ยวกับยาที่แพ้ หลังจากกด บันทึก
เริ่มหัวข้อโดย: tote ที่ พฤษภาคม 16, 2008, 16:52:39 PM
มีผู้ป่วยรายหนึ่ง มีข้อมูลบันทึกอยู่ก่อนแล้วว่า แพ้ยา penicillin
ที่ห้องตรวจแพทย์หลังจากสั่งยา และบันทึกเสร็จ
มี error message ขึ้นว่า
อ้างถึง
SQL Error: Unknown column 'penicillin' in 'where clause'
ดูใน SQL trace หาคำว่า penicillin เป็นดังนี้
อ้างถึง
select * from opitemrece where vn='510516145248' and hos_guid='{B2CF3E80-5474-47C2-A795-C20D50B1F4F0}'
select * from opitemrece where vn='510516145248' and hos_guid='{35362E89-BFD8-4E1C-BA03-F079539A879C}'
select drugusage from drugusage where shortlist='13pt(1 เม็ด * 3 pc ) รับประทาน ครั้งละ   1   เม็ด'
select icode from s_drugitems where rtrim(concat(name,' ',strength,' ',units))='DICLOFENAC 25 mg. เม็ด'
select hn from ovst where vn='510516145248'
select vsttime from ovst where vn='510516145248'
select vstdate from ovst where vn='510516145248'
select * from opitemrece where vn='510516145248' and hos_guid='{35362E89-BFD8-4E1C-BA03-F079539A879C}'
select count(*) as cc from ipt where vn = '510516145248'
select * from opitemrece where vn = '510516145248'
select * from rx_doctor where vn='510516145248'
select depcode from kskdepartment where department=''
select vstdate from ovst where vn = '510516145248'
select * from rx_doctor where vn='510516145248' and doctor='35'
select distinct pharmacology_group1 from drugitems  where generic_name in (penicillin)
select generic_name from drugitems where icode='1000260'
select generic_name from drugitems where icode='1480021'
select generic_name from drugitems where icode='1000110'
select generic_name from drugitems where icode='1000260'
select generic_name from drugitems where icode='1480021'
select generic_name from drugitems where icode='1000110'
select must_paid,high_cost,use_right from drugitems where icode='1000260'
select name from income where income = '03'
select drugaccount from drugitems where icode='1000260'
select name from income where income = ''
หัวข้อ: Re: 3.51.4.17 bug เกี่ยวกับยาที่แพ้ หลังจากกด บันทึก
เริ่มหัวข้อโดย: doramon ที่ พฤษภาคม 16, 2008, 17:50:38 PM
ทดสอบ 3.51.5.14 ครับ