BMS-HOSxP Community

HOSxP => Report Exchange => ข้อความที่เริ่มโดย: saxmaxx ที่ กุมภาพันธ์ 03, 2012, 10:56:57 AM

หัวข้อ: รบกวนแนะนำการเขียนรายงานการใช้ยา หน่อยครับ
เริ่มหัวข้อโดย: saxmaxx ที่ กุมภาพันธ์ 03, 2012, 10:56:57 AM
พอดี  เภสัชเขาต้องการรายงานยา 'CLOPIDOGREL TAB' แบบแสดงชื่อ เลขบัตรปชช. hn  an จำนวนที่ใช้  ซึ่งดูคล้ายๆกับรายงานยาสมุนไพรที่พี่ที่ร.พ.เขาได้เขียนไว้ให้  แต่ผมลองเอาไปปรับใช้แล้วก็รันไม่ผ่าน   ผมก็เลยอยากรบกวนแนะนำการเขียนรายงานการใช้ยา หน่อยครับ  ขอบคุณครับ

select op.vstdate,op.hn,pt.cid,op.an,concat(pt.pname,pt.fname,"  ",pt.lname),pt.birthday,m.name,oc.name,
concat(pt.addrpart," ม. ",pt.moopart," ต.",t3.name," อ. ",t2.name," จ.",t1.name),
py.name,concat(pt.fathername,"/",pt.mathername),d.name,op.qty
from opitemrece op
left outer join patient pt on pt.hn = op.hn
left outer join drugitems d on d.icode = op.icode
left outer join occupation oc on oc.occupation = pt.occupation
left outer join pttype py on py.pttype = pt.pttype
left outer join marrystatus m on m.code = pt.marrystatus
left outer join thaiaddress t1 on t1.chwpart = pt.chwpart and t1.amppart ="00" and t1.tmbpart="00"
left outer join thaiaddress t2 on t2.chwpart = pt.chwpart and t2.amppart =pt.amppart and t2.tmbpart=00
left outer join thaiaddress t3 on t3.chwpart = pt.chwpart and t3.amppart =pt.amppart and t3.tmbpart=pt.tmbpart
where d.drugcategory = "ยาสมุนไพร. (รพ ผลิต)" and op.an >"0" and op.vstdate between "2010-01-01" and "2010-01-31"
order by op.vstdate
หัวข้อ: Re: รบกวนแนะนำการเขียนรายงานการใช้ยา หน่อยครับ
เริ่มหัวข้อโดย: เกื้อกูล ครับ.. ที่ กุมภาพันธ์ 03, 2012, 11:36:32 AM
ลองนำทดสอบใช้ดูประมาณนี้ได้ไหมครับ
หัวข้อ: Re: รบกวนแนะนำการเขียนรายงานการใช้ยา หน่อยครับ
เริ่มหัวข้อโดย: saxmaxx ที่ กุมภาพันธ์ 03, 2012, 11:54:25 AM
ขอบคุณครับอ.เกื้อ

ผมลองเอาไปเปิดดูแล้ว icodeไม่ตรงกันครับ  ที่รพ.ผมเป็นเลข 1540005 ครับ


อ.ครับรบกวนช่วยเพิ่มเลขที่บัตรปชช. วันที่ตรวจ  และแพทย์ผู้ตรวจให้หน่อยครับ   
หัวข้อ: Re: รบกวนแนะนำการเขียนรายงานการใช้ยา หน่อยครับ
เริ่มหัวข้อโดย: เกื้อกูล ครับ.. ที่ กุมภาพันธ์ 03, 2012, 12:07:25 PM
มีแต่คนโหลด ...No Thank  ??? ??? ??? ??? ??? ???
หัวข้อ: Re: รบกวนแนะนำการเขียนรายงานการใช้ยา หน่อยครับ
เริ่มหัวข้อโดย: golf_win ที่ กุมภาพันธ์ 03, 2012, 13:06:02 PM
Thank ให้พี่เกื้อด้วยนะครับ ;D ;D
หัวข้อ: Re: รบกวนแนะนำการเขียนรายงานการใช้ยา หน่อยครับ
เริ่มหัวข้อโดย: thannawe ที่ กุมภาพันธ์ 03, 2012, 13:56:09 PM
มีแต่คนโหลด ...No Thank  ??? ??? ??? ??? ??? ???
เดี๋ยวนี้มีทวง 555
นิสัยเดียวกันเลย  ;D ;D ;D
หัวข้อ: Re: รบกวนแนะนำการเขียนรายงานการใช้ยา หน่อยครับ
เริ่มหัวข้อโดย: udomchok ที่ กุมภาพันธ์ 21, 2013, 16:28:38 PM
สงสัย...เอาไป key ส่ง สปสช.รึเปล่า