BMS-HOSxP Community

HOSxP => Report Exchange => ข้อความที่เริ่มโดย: Bluebird ที่ พฤษภาคม 19, 2009, 10:19:49 AM

หัวข้อ: รายงานข้อมูลเด็กเกิดใหม่
เริ่มหัวข้อโดย: Bluebird ที่ พฤษภาคม 19, 2009, 10:19:49 AM
ที่ไหนมีรายงานข้อมูลเด็กเกิดใหม่ตามรูปไหมครับ
หัวข้อ: Re: รายงานข้อมูลเด็กเกิดใหม่
เริ่มหัวข้อโดย: por ที่ พฤษภาคม 19, 2009, 15:42:40 PM
select ipn.born_date,concat(pt.pname,pt.fname,'  ',pt.lname) as newbornname,ipn.born_time,ipn.birth_weight,
concat(pt.fathername,'  ',pt.fatherlname)as fathername,concat(pt.mathername,'  ',pt.motherlname)  from ipt_newborn ipn
left outer join ipt i on i.an = ipn.an
left outer join patient pt on pt.hn = i.hn