BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: มนตรี บอยรักยุ้ยคนเดียว ที่ พฤษภาคม 27, 2008, 09:04:53 AM
-
ตัวนำเข้า Surveillance จากตัว excel และวิธีนำเข้า
-
ขอบใจมาก
คนไปประชุม เขาไม่ได้ขอมา ว่าจะโทรไปหา
คนทำอยู่เหมือนกัน
-
เก็บ ๆ
-
ขอบคุณมากครับ
เพราะ จะได้ไม่ต้องบันทึกข้อมูลรายบุคคล ซ้ำซ้อนอีก
-
ขอบคุณครับ
กำลังทำอยู่เหมือนกัน กว่าจะรู้รหัสเข้าไฟล์ DBSurveillance.mdb ก็ต้องไปหา mdb unlock มาดู(เสียเวลา)
มี script sql มาฝากครับ (ยังไม่เสร็จดีครับ) มีให้เลือก DM , HT , IHD , Stroke , COPD ฝาก อ.อ๊อก ช่วยเพิ่มเติมให้ด้วยนะครับ
script ส่งออก ไปยัง โปรแกรม Chronic Diseases Surveillance v2.10 GT แต่ควรจะใช้ v2.21
DM ใช้
select chwpart as IDPv,'11447' as Hospital,v.vstdate as Daterec,v.cid as IDCard,p.hn as HN ,pname as Title , fname as NPatient,Lname as Spatient,
Birthday as Birthday,age_y as Age,p.Sex,s.bw as Weight,s.height as High,s.bpd+'/'+s.bps as Effect,addrpart as No,p.moopart as Moo,space(2) as Lane,
p.road as Road,aid as Address,nationality as Nation,p.occupation as Occupation,space(17) as Death,space(17) as Casue,space(17) as BMI,
space(16) as DateDiag,space(17) as Chornic,space(18) as code,pdx as Diagnosis,space(20) as Remark,space(21) as icd10,space(22) as "ที่อยู่"
from vn_stat v
left outer join patient p on p.hn= v.hn
left outer join opdscreen s on s.vn= v.vn
where v.vstdate between "2008-03-01" and "2008-03-29"
and ( (v.pdx >= "E100" and v.pdx <= "E149")
or (v.dx0 >= "E100" and v.dx0 <= "E149")
or (v.dx1 >= "E100" and v.dx1 <= "E149")
or (v.dx2 >= "E100" and v.dx2 <= "E149")
or (v.dx3 >= "E100" and v.dx3 <= "E149")
or (v.dx4 >= "E100" and v.dx4 <= "E149")
or (v.dx5 >= "E100" and v.dx5 <= "E149") )
HT ใช้
select chwpart as IDPv,'11447' as Hospital,v.vstdate as Daterec,v.cid as IDCard,p.hn as HN ,pname as Title , fname as NPatient,Lname as Spatient,
Birthday as Birthday,age_y as Age,p.Sex,s.bw as Weight,s.height as High,s.bpd+'/'+s.bps as Effect,addrpart as No,p.moopart as Moo,space(2) as Lane,
p.road as Road,aid as Address,nationality as Nation,p.occupation as Occupation,space(17) as Death,space(17) as Casue,space(17) as BMI,
space(16) as DateDiag,space(17) as Chornic,space(18) as code,pdx as Diagnosis,space(20) as Remark,space(21) as icd10,space(22) as "ที่อยู่"
from vn_stat v
left outer join patient p on p.hn= v.hn
left outer join opdscreen s on s.vn= v.vn
where v.vstdate between "2008-03-01" and "2008-03-29"
and ( (v.pdx >= "I100" and v.pdx <= "I159")
or (v.dx0 >= "I100" and v.dx0 <= "I159")
or (v.dx1 >= "I100" and v.dx1 <= "I159")
or (v.dx2 >= "I100" and v.dx2 <= "I159")
or (v.dx3 >= "I100" and v.dx3 <= "I159")
or (v.dx4 >= "I100" and v.dx4 <= "I159")
or (v.dx5 >= "I100" and v.dx5 <= "I159") )
IHD ใช้
select chwpart as IDPv,'11447' as Hospital,v.vstdate as Daterec,v.cid as IDCard,p.hn as HN ,pname as Title , fname as NPatient,Lname as Spatient,
Birthday as Birthday,age_y as Age,p.Sex,s.bw as Weight,s.height as High,s.bpd+'/'+s.bps as Effect,addrpart as No,p.moopart as Moo,space(2) as Lane,
p.road as Road,aid as Address,nationality as Nation,p.occupation as Occupation,space(17) as Death,space(17) as Casue,space(17) as BMI,
space(16) as DateDiag,space(17) as Chornic,space(18) as code,pdx as Diagnosis,space(20) as Remark,space(21) as icd10,space(22) as "ที่อยู่"
from vn_stat v
left outer join patient p on p.hn= v.hn
left outer join opdscreen s on s.vn= v.vn
where v.vstdate between "2008-03-01" and "2008-03-29"
and ( (v.pdx >= "I120" and v.pdx <= "I125")
or (v.dx0 >= "I120" and v.dx0 <= "I125")
or (v.dx1 >= "I120" and v.dx1 <= "I125")
or (v.dx2 >= "I120" and v.dx2 <= "I125")
or (v.dx3 >= "I120" and v.dx3 <= "I125")
or (v.dx4 >= "I120" and v.dx4 <= "I125")
or (v.dx5 >= "I120" and v.dx5 <= "I125") )
Stroke ใช้
select chwpart as IDPv,'11447' as Hospital,v.vstdate as Daterec,v.cid as IDCard,p.hn as HN ,pname as Title , fname as NPatient,Lname as Spatient,
Birthday as Birthday,age_y as Age,p.Sex,s.bw as Weight,s.height as High,s.bpd+'/'+s.bps as Effect,addrpart as No,p.moopart as Moo,space(2) as Lane,
p.road as Road,aid as Address,nationality as Nation,p.occupation as Occupation,space(17) as Death,space(17) as Casue,space(17) as BMI,
space(16) as DateDiag,space(17) as Chornic,space(18) as code,pdx as Diagnosis,space(20) as Remark,space(21) as icd10,space(22) as "ที่อยู่"
from vn_stat v
left outer join patient p on p.hn= v.hn
left outer join opdscreen s on s.vn= v.vn
where v.vstdate between "2008-03-01" and "2008-03-29"
and ( (v.pdx >= "I610" and v.pdx <= "I649")
or (v.dx0 >= "I610" and v.dx0 <= "I649")
or (v.dx1 >= "I610" and v.dx1 <= "I649")
or (v.dx2 >= "I610" and v.dx2 <= "I649")
or (v.dx3 >= "I610" and v.dx3 <= "I649")
or (v.dx4 >= "I610" and v.dx4 <= "I649")
or (v.dx5 >= "I610" and v.dx5 <= "I649") )
COPD ใช้
select chwpart as IDPv,'11447' as Hospital,v.vstdate as Daterec,v.cid as IDCard,p.hn as HN ,pname as Title , fname as NPatient,Lname as Spatient,
Birthday as Birthday,age_y as Age,p.Sex,s.bw as Weight,s.height as High,s.bpd+'/'+s.bps as Effect,addrpart as No,p.moopart as Moo,space(2) as Lane,
p.road as Road,aid as Address,nationality as Nation,p.occupation as Occupation,space(17) as Death,space(17) as Casue,space(17) as BMI,
space(16) as DateDiag,space(17) as Chornic,space(18) as code,pdx as Diagnosis,space(20) as Remark,space(21) as icd10,space(22) as "ที่อยู่"
from vn_stat v
left outer join patient p on p.hn= v.hn
left outer join opdscreen s on s.vn= v.vn
where v.vstdate between "2008-03-01" and "2008-03-29"
and ( (v.pdx >= "I410" and v.pdx <= "I449")
or (v.dx0 >= "I410" and v.dx0 <= "I449")
or (v.dx1 >= "I410" and v.dx1 <= "I449")
or (v.dx2 >= "I410" and v.dx2 <= "I449")
or (v.dx3 >= "I410" and v.dx3 <= "I449")
or (v.dx4 >= "I410" and v.dx4 <= "I449")
or (v.dx5 >= "I410" and v.dx5 <= "I449") )
-
ขอบคุณครับ
กำลังทำอยู่เหมือนกัน กว่าจะรู้รหัสเข้าไฟล์ DBSurveillance.mdb ก็ต้องไปหา mdb unlock มาดู(เสียเวลา)
มี script sql มาฝากครับ (ยังไม่เสร็จดีครับ) มีให้เลือก DM , HT , IHD , Stroke , COPD ฝาก อ.อ๊อก ช่วยเพิ่มเติมให้ด้วยนะครับ
script ส่งออก ไปยัง โปรแกรม Chronic Diseases Surveillance v2.10 GT แต่ควรจะใช้ v2.21
DM ใช้
select chwpart as IDPv,'11447' as Hospital,v.vstdate as Daterec,v.cid as IDCard,p.hn as HN ,pname as Title , fname as NPatient,Lname as Spatient,
Birthday as Birthday,age_y as Age,p.Sex,s.bw as Weight,s.height as High,s.bpd+'/'+s.bps as Effect,addrpart as No,p.moopart as Moo,space(2) as Lane,
p.road as Road,aid as Address,nationality as Nation,p.occupation as Occupation,space(17) as Death,space(17) as Casue,space(17) as BMI,
space(16) as DateDiag,space(17) as Chornic,space(18) as code,pdx as Diagnosis,space(20) as Remark,space(21) as icd10,space(22) as "ที่อยู่"
from vn_stat v
left outer join patient p on p.hn= v.hn
left outer join opdscreen s on s.vn= v.vn
where v.vstdate between "2008-03-01" and "2008-03-29"
and ( (v.pdx >= "E100" and v.pdx <= "E149")
or (v.dx0 >= "E100" and v.dx0 <= "E149")
or (v.dx1 >= "E100" and v.dx1 <= "E149")
or (v.dx2 >= "E100" and v.dx2 <= "E149")
or (v.dx3 >= "E100" and v.dx3 <= "E149")
or (v.dx4 >= "E100" and v.dx4 <= "E149")
or (v.dx5 >= "E100" and v.dx5 <= "E149") )
HT ใช้
select chwpart as IDPv,'11447' as Hospital,v.vstdate as Daterec,v.cid as IDCard,p.hn as HN ,pname as Title , fname as NPatient,Lname as Spatient,
Birthday as Birthday,age_y as Age,p.Sex,s.bw as Weight,s.height as High,s.bpd+'/'+s.bps as Effect,addrpart as No,p.moopart as Moo,space(2) as Lane,
p.road as Road,aid as Address,nationality as Nation,p.occupation as Occupation,space(17) as Death,space(17) as Casue,space(17) as BMI,
space(16) as DateDiag,space(17) as Chornic,space(18) as code,pdx as Diagnosis,space(20) as Remark,space(21) as icd10,space(22) as "ที่อยู่"
from vn_stat v
left outer join patient p on p.hn= v.hn
left outer join opdscreen s on s.vn= v.vn
where v.vstdate between "2008-03-01" and "2008-03-29"
and ( (v.pdx >= "I100" and v.pdx <= "I159")
or (v.dx0 >= "I100" and v.dx0 <= "I159")
or (v.dx1 >= "I100" and v.dx1 <= "I159")
or (v.dx2 >= "I100" and v.dx2 <= "I159")
or (v.dx3 >= "I100" and v.dx3 <= "I159")
or (v.dx4 >= "I100" and v.dx4 <= "I159")
or (v.dx5 >= "I100" and v.dx5 <= "I159") )
IHD ใช้
select chwpart as IDPv,'11447' as Hospital,v.vstdate as Daterec,v.cid as IDCard,p.hn as HN ,pname as Title , fname as NPatient,Lname as Spatient,
Birthday as Birthday,age_y as Age,p.Sex,s.bw as Weight,s.height as High,s.bpd+'/'+s.bps as Effect,addrpart as No,p.moopart as Moo,space(2) as Lane,
p.road as Road,aid as Address,nationality as Nation,p.occupation as Occupation,space(17) as Death,space(17) as Casue,space(17) as BMI,
space(16) as DateDiag,space(17) as Chornic,space(18) as code,pdx as Diagnosis,space(20) as Remark,space(21) as icd10,space(22) as "ที่อยู่"
from vn_stat v
left outer join patient p on p.hn= v.hn
left outer join opdscreen s on s.vn= v.vn
where v.vstdate between "2008-03-01" and "2008-03-29"
and ( (v.pdx >= "I120" and v.pdx <= "I125")
or (v.dx0 >= "I120" and v.dx0 <= "I125")
or (v.dx1 >= "I120" and v.dx1 <= "I125")
or (v.dx2 >= "I120" and v.dx2 <= "I125")
or (v.dx3 >= "I120" and v.dx3 <= "I125")
or (v.dx4 >= "I120" and v.dx4 <= "I125")
or (v.dx5 >= "I120" and v.dx5 <= "I125") )
Stroke ใช้
select chwpart as IDPv,'11447' as Hospital,v.vstdate as Daterec,v.cid as IDCard,p.hn as HN ,pname as Title , fname as NPatient,Lname as Spatient,
Birthday as Birthday,age_y as Age,p.Sex,s.bw as Weight,s.height as High,s.bpd+'/'+s.bps as Effect,addrpart as No,p.moopart as Moo,space(2) as Lane,
p.road as Road,aid as Address,nationality as Nation,p.occupation as Occupation,space(17) as Death,space(17) as Casue,space(17) as BMI,
space(16) as DateDiag,space(17) as Chornic,space(18) as code,pdx as Diagnosis,space(20) as Remark,space(21) as icd10,space(22) as "ที่อยู่"
from vn_stat v
left outer join patient p on p.hn= v.hn
left outer join opdscreen s on s.vn= v.vn
where v.vstdate between "2008-03-01" and "2008-03-29"
and ( (v.pdx >= "I610" and v.pdx <= "I649")
or (v.dx0 >= "I610" and v.dx0 <= "I649")
or (v.dx1 >= "I610" and v.dx1 <= "I649")
or (v.dx2 >= "I610" and v.dx2 <= "I649")
or (v.dx3 >= "I610" and v.dx3 <= "I649")
or (v.dx4 >= "I610" and v.dx4 <= "I649")
or (v.dx5 >= "I610" and v.dx5 <= "I649") )
COPD ใช้
select chwpart as IDPv,'11447' as Hospital,v.vstdate as Daterec,v.cid as IDCard,p.hn as HN ,pname as Title , fname as NPatient,Lname as Spatient,
Birthday as Birthday,age_y as Age,p.Sex,s.bw as Weight,s.height as High,s.bpd+'/'+s.bps as Effect,addrpart as No,p.moopart as Moo,space(2) as Lane,
p.road as Road,aid as Address,nationality as Nation,p.occupation as Occupation,space(17) as Death,space(17) as Casue,space(17) as BMI,
space(16) as DateDiag,space(17) as Chornic,space(18) as code,pdx as Diagnosis,space(20) as Remark,space(21) as icd10,space(22) as "ที่อยู่"
from vn_stat v
left outer join patient p on p.hn= v.hn
left outer join opdscreen s on s.vn= v.vn
where v.vstdate between "2008-03-01" and "2008-03-29"
and ( (v.pdx >= "I410" and v.pdx <= "I449")
or (v.dx0 >= "I410" and v.dx0 <= "I449")
or (v.dx1 >= "I410" and v.dx1 <= "I449")
or (v.dx2 >= "I410" and v.dx2 <= "I449")
or (v.dx3 >= "I410" and v.dx3 <= "I449")
or (v.dx4 >= "I410" and v.dx4 <= "I449")
or (v.dx5 >= "I410" and v.dx5 <= "I449") )
ผมทำไว้แล้ว ที่ end user report ครับ ไป download ครับ
เวลาเีรียก รายงาน ต้องกดว่าส่งออก excel ใช้ได้เลยครับ
-
ขอบคุณครับ
-
ขอบคุณครับ ตัว Import ตัวนี้แจ๋วจริงๆครับ :D
-
ผมทำไว้แล้ว ที่ end user report ครับ ไป download ครับ
เวลาเีรียก รายงาน ต้องกดว่าส่งออก excel ใช้ได้เลยครับ
ชื่อรายงานอะไรครับ
-
ผมรอคำตอบไม่ไหว เลยลองทำเอง และส่งออกเป็น excel และ เลือกตามสิทธิ์ได้ด้วย ถ้าไม่เลือก ก็ข้ามไปได้เลย จะเป็นการเลือกทั้งหมด ลองใช้ดูนะครับ มือใหม่
-
ตาไม่ดีหรือเปล่า
-
โห...อ.อ๊อด ดุน้อง ๆ จังเลย
-
ดันกระทู้นี้หน่อย ครับ คือ ผมเข้าไปดาวโหลด รายงาน ที่ว่าด้านบนไม่ได้ครับ ใครมี มั่งครับ
หรือ วิธีการ นำ เข้า surveillance อย่างใด ก็ได้ครับ พอดี น้องเค้าพึ่งมาขอ ค้นๆ ดูมีแต่กระทู้นี้ เอง
-
ดันกระทู้นี้หน่อย ครับ คือ ผมเข้าไปดาวโหลด รายงาน ที่ว่าด้านบนไม่ได้ครับ ใครมี มั่งครับ
หรือ วิธีการ นำ เข้า surveillance อย่างใด ก็ได้ครับ พอดี น้องเค้าพึ่งมาขอ ค้นๆ ดูมีแต่กระทู้นี้ เอง
;D ;D ;D ;D ;Dจะลองดูให้
-
;D ;D ;D ลองดูครับ ;D ;D ;D
-
ขอบคุณครับป๋า
;D ;D ;D
-
ขอบคุณครับอ.
-
:D :D ขอบคุณครับ :D :D
-
:D :D ขอบคุณครับ :D :D
มีแบบใหม่แล้ว แต่รอ อ.ทำเพิ่ม hba1c และ Microalbumin Urine Test ที่ OPDScreen
-
:D :D ขอบคุณครับ :D :D
มีแบบใหม่แล้ว แต่รอ อ.ทำเพิ่ม hba1c และ Microalbumin Urine Test ที่ OPDScreen
รอนะครับ .. :D :D :D :D ;D ;D ;D
-
8) 8) 8)
-
วันนี้ สสจ.กาญจนบุรี
ให้เขียนรายงานส่ง Surveillance
แบบนำเข้า visit ของสอ.นะครับ ต้องขอขอบคุณน้อง golf win+อ.ขวด ที่แนะนำ
-
วันนี้ สสจ.กาญจนบุรี
ให้เขียนรายงานส่ง Surveillance
แบบนำเข้า visit ของสอ.นะครับ ต้องขอขอบคุณน้อง golf win+อ.ขวด ที่แนะนำ
แบบมี UE ตรวจตาและเท้า
กำลัง................
-
ขอบคุณค่ะ ขอเก็บด้วยคนค่ะ
-
วันนี้ สสจ.กาญจนบุรี
ให้เขียนรายงานส่ง Surveillance
แบบนำเข้า visit ของสอ.นะครับ ต้องขอขอบคุณน้อง golf win+อ.ขวด ที่แนะนำ
ของ รพ.หล่ะครับ.. ;D ;D ;D ;D ;D
-
วันนี้ สสจ.กาญจนบุรี
ให้เขียนรายงานส่ง Surveillance
แบบนำเข้า visit ของสอ.นะครับ ต้องขอขอบคุณน้อง golf win+อ.ขวด ที่แนะนำ
ของ รพ.หล่ะครับ.. ;D ;D ;D ;D ;D
เสร็จแล้ว นะครับพึ่งเสร็จเมื่อเย็น แบบสมบูรณ์ เข้าพร้อม UE ตรวจตาและเท้าก็เช็คว่า ดีพอสมควร
เห็นว่า สสจ.จะคิดความสมบูรณ์เรื่องข้อมูลด้วยนะครับ