BMS-HOSxP Community

HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: bjhxp ที่ มกราคม 09, 2008, 14:32:47 PM

หัวข้อ: hosxp pcu
เริ่มหัวข้อโดย: bjhxp ที่ มกราคม 09, 2008, 14:32:47 PM
ฝ่ายส่งเสริม  หรือ pcu ส่วนใหญ่รับคนไข้ anc  wbc  ทั้งใน และนอก
แต่ onestop service บังคับให้ใช้งานเฉพาะ ในเขต
อยากให้เปิดทำนอกเขตด้วย
จะได้ใช้module ที่จุดเดียวกันเลยครับ 
ง่ายต่อการใช้งาน
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: manoi ที่ มกราคม 09, 2008, 14:33:59 PM
ตอนนี้ให้บริการผู้ป่วยนอกเขตได้แล้วครับ
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: bjhxp ที่ มกราคม 09, 2008, 14:42:13 PM
อยากได้คู่มือออกมาเร็วๆครับ
ลองหลายครั้ง โดยนำ hn จาก patieint มา เข้า hosxp pcu โดย cid ไม่มีใน person 
มันไม่ยอมให้ลงทะเบียนเลยครับ สงสัยว่า ผมทำผิดขั้นตอนใด
pcu  ver 3...12.10
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: manoi ที่ มกราคม 09, 2008, 15:09:23 PM
download ตัวใหม่ครับ http://hosxp.net:8080/hosxp/
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: bjhxp ที่ มกราคม 10, 2008, 13:23:03 PM
ลองเล่นแล้วมี err ครับ  ในปุ่ม "ลงทะเบียนนอกเขต." ครับ
ผมสร้างหมู่บ้านเป็น 0   บ้าน เป็น 0 แล้ว ตอนกดปุ่ม ยืนยันการลงทะเียน person ก็ ok
หลัง Done มี err
13:12:16 Update error SQL Error: Duplicate entry '14' for key 1 SQL=select * from person where cid = '0000000020001'  and cid is not null and cid<>''

sql trace

13:17:49 INSERT INTO person (person_id,house_id,cid,pname,fname,lname,pcode,sex,nationality,citizenship,education,occupation,religion,marrystatus,house_regist_type_id,birthdate,has_house_regist,chronic_disease_list,club_list,village_id,blood_group,current_age,death_date,hos_guid,income_per_year,home_position_id,family_position_id,drug_allergy,last_update,death,pttype,pttype_begin_date,pttype_expire_date,pttype_hospmain,pttype_hospsub,father_person_id,mother_person_id,pttype_no,sps_person_id,birthtime,age_y,age_m,age_d,family_id,person_house_position_id,couple_person_id) VALUES (16,5127,'0000000020001','¹Ò§ÊÒÇ','»ÃÕÂÒ ¨Ñ¹','ÅÙ¡¨éÒ§¤Ø³¹ÒÇÔ¹',NULL,'1','57','57',NULL,'403','01','1',NULL,'1971-10-08',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'40',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
13:17:49 select * from person where cid = '0000000020001'  and cid is not null and cid<>''

13:17:49 insert into `person` (`person_id`, `house_id`, `cid`, `pname`, `fname`, `lname`, `sex`, `nationality`, `citizenship`, `occupation`, `religion`, `marrystatus`, `birthdate`, `pttype`) values (16, 5127, '0000000020001', '¹Ò§ÊÒÇ', '»ÃÕÂÒ ¨Ñ¹', 'ÅÙ¡¨éÒ§¤Ø³¹ÒÇÔ¹', '1', '57', '57', '403', '01', '1', '1971-10-08', '40')
13:17:49 INSERT INTO person (person_id,house_id,cid,pname,fname,lname,pcode,sex,nationality,citizenship,education,occupation,religion,marrystatus,house_regist_type_id,birthdate,has_house_regist,chronic_disease_list,club_list,village_id,blood_group,current_age,death_date,hos_guid,income_per_year,home_position_id,family_position_id,drug_allergy,last_update,death,pttype,pttype_begin_date,pttype_expire_date,pttype_hospmain,pttype_hospsub,father_person_id,mother_person_id,pttype_no,sps_person_id,birthtime,age_y,age_m,age_d,family_id,person_house_position_id,couple_person_id) VALUES (16,5127,'0000000020001','¹Ò§ÊÒÇ','»ÃÕÂÒ ¨Ñ¹','ÅÙ¡¨éÒ§¤Ø³¹ÒÇÔ¹',NULL,'1','57','57',NULL,'403','01','1',NULL,'1971-10-08',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'40',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)
13:17:49 select * from person where cid = '0000000020001'  and cid is not null and cid<>''

13:17:49 UNLOCK TABLES

13:17:49 select serial_no from serial where name='person_id'

13:17:49 update serial set serial_no=serial_no+1 where name='person_id'

13:17:49 LOCK TABLES serial WRITE

13:17:49 select count(*) as cc from serial where name='person_id'

13:17:49 select * from person where cid = '0000000020001'  and cid is not null and cid<>''

13:17:49 select * from patient where hn = '470018307'

13:16:24 select house_id from house where village_id = 17 order by house_id desc limit 1

13:16:24 select count(*) as cc from house where village_id = 17

13:16:24 select village_id from village where village_moo = '0'

13:16:24 select count(*) as cc from village where village_moo = '0'

13:16:24 select person_id from person where cid = '0000000020001' and cid is not null and cid<>''

13:16:24 select cid from patient where hn = '470018307'

13:16:03 INSERT INTO person
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: bjhxp ที่ มกราคม 10, 2008, 14:36:31 PM
หลังจากเกิด err ลองเล่นต่อ
ลงpt นี้ในตาราง person ด้วย ตัวเอง
แล้วย้อนลงทะเบียนใหม่  พบว่า ผ่านได้ ให้ใช้ปุ่ม  ฝากครรภ์ vac วางแผนได้   (pic 1)
ถ้าลงทะเบียนไปแล้ว   ย้อนกลับมาแก้ไข ขอลงทะเบียน  ฝากครรภ์ vac วางแผน  ไม่ได้ (pic2)
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: bjhxp ที่ มกราคม 10, 2008, 15:03:04 PM
..
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: bjhxp ที่ มกราคม 10, 2008, 15:16:16 PM
..
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: อู๋kokha50 ที่ มกราคม 11, 2008, 08:16:36 AM
ผมลองพยายาม Download ไม่ได้ครับ กระทำเมื่อเวลา 8.00น. 11/01/2551 ครับ
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: bjhxp ที่ มกราคม 11, 2008, 10:02:08 AM
ลองอีกทีซิครับ  เมื่อประกี้ลองยังได้
จะได้ร่วมทดสอบ ด้วย
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: Dr.D-com ที่ มีนาคม 27, 2008, 12:05:15 PM
มีคู่มือการใช้งาน  ที่พอจะใช้นำทางได้บ้างมั๊ยครับ  แบบว่า.... คุยกับงานส่งเสริมไม่ค่อยจะเข้าใจซักเท่าไร   ปกติตอนนี้ห้องส่งเสริมใช้งานห้องตรวจแพทย์  ถ้านำ hosxp pcu มาใช้ด้วย  เจอคำถมทำไมจะต้องลงเพิ่มอีกและจะต้องลงที่เมนูไหนเพิ่มบ้าง   ประมาณว่างานนี้ใช้ห้องตรวจแพทย์ได้  งานนี้ต้องใช้ hosxp pcu  แนวๆนี้ครับ
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: nuttavut ที่ มีนาคม 27, 2008, 12:09:21 PM
ลองดูพอเป็นแนวทาง...
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: Khuad ที่ มีนาคม 27, 2008, 12:19:07 PM

..ขอบคุณท่าน nuttavut มากครับ..

..ถ้ามีโอกาส อาจจะขออนุญาตไปเยี่ยมเพื่อขอความรู้ในส่วนของ PCU บ้างนะครับ.. :D..
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: burge ที่ มีนาคม 27, 2008, 13:09:17 PM
ขอบคุณคูณNuttawut กำลังจะลองใช้อยู่เชียว
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: nuttavut ที่ มีนาคม 27, 2008, 13:41:16 PM

..ขอบคุณท่าน nuttavut มากครับ..

..ถ้ามีโอกาส อาจจะขออนุญาตไปเยี่ยมเพื่อขอความรู้ในส่วนของ PCU บ้างนะครับ.. :D..


ครับ..ร่วมแชร์ประสบการณ์กันครับ...ถ้ามีไรที่พอช่วยเหลือกันได้ก็ยินดีครับ..
หัวข้อ: Re: hosxp pcu
เริ่มหัวข้อโดย: Dr.D-com ที่ มีนาคม 27, 2008, 14:04:36 PM
[color=limegreen]แท้งกิ้วเวรีๆๆมัช...[/color]  ;D ;D ;)