BMS-HOSxP Community

HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: itnongjik ที่ สิงหาคม 21, 2013, 17:07:12 PM

หัวข้อ: lab ipd อยากเพิ่มสัญญษลักษณ์บอกค่าสูง ต่ำ กว่าค่าปกติ
เริ่มหัวข้อโดย: itnongjik ที่ สิงหาคม 21, 2013, 17:07:12 PM
ดีคับ เนื่อง ที่รพ. จะให้เพิ่มสัญญาลักษณ์บอกค่าสูง ต่ำ กว่าค่าปกติ ในตาราง อาจจะเป็น * หรือ เครื่องหมายสูง ต่ำ ในใบแลป ต้องเขียน  variable อย่างไร ครับ
หัวข้อ: Re: lab ipd อยากเพิ่มสัญญษลักษณ์บอกค่าสูง ต่ำ กว่าค่าปกติ
เริ่มหัวข้อโดย: เกื้อกูล ครับ.. ที่ สิงหาคม 22, 2013, 11:42:52 AM
ไม่แน่ใจว่าใช่ที่ต้องการหรือไม่ครับ..

   Value :='';
if  DBPipeline['alert_critical_value']='Y' then
 begin
    if DBPipeline['result_type'] ='0' then
      begin
        if (((DBPipeline['lab_items_code']='4') or (DBPipeline['lab_items_code']='3'))
        and (((DBPipeline['ay']='0') and (DBPipeline['am']='0')and (DBPipeline['ad'] <='7')and (DBPipeline['vy']='0') and (DBPipeline['vm']='0') and (DBPipeline['vd'] ='0') )
        or((DBPipeline['vy']='0') and (DBPipeline['vm']='0') and (DBPipeline['vd'] <='7') and (DBPipeline['ay']='0') and (DBPipeline['am']='0')and (DBPipeline['ad'] ='0') ))) then
          begin
            Value :='';
          end
        else
          begin
            if (DBPipeline['lab_order_result'] < DBPipeline['range_check_min']) then
                Value := '(µèÓÇԡĵ)';
            if (DBPipeline['lab_order_result'] > DBPipeline['range_check_max']) then
                Value := '(ÊÙÇԡĵ)';
          end;
      end;
    if DBPipeline['result_type'] ='1' then
        if (DBPipeline['lab_order_result'] <>DBPipeline['normal_value'] ) then
            Value := '(Çԡĵ)';
 end;
หัวข้อ: Re: lab ipd อยากเพิ่มสัญญษลักษณ์บอกค่าสูง ต่ำ กว่าค่าปกติ
เริ่มหัวข้อโดย: itnongjik ที่ สิงหาคม 22, 2013, 12:15:32 PM
ไม่มีเครื่องหมายแจ้งเตือน หรือสัญญาลักษณ์ เมื่อค่าของผล ต่ำหรือสูง กว่าปกติ หรือผมต้องกำหนดค่าอื่นๆให้ตรงกับที่ รพ.ผม อีกหรือป่าวครับ
หัวข้อ: Re: lab ipd อยากเพิ่มสัญญษลักษณ์บอกค่าสูง ต่ำ กว่าค่าปกติ
เริ่มหัวข้อโดย: เกื้อกูล ครับ.. ที่ สิงหาคม 22, 2013, 16:05:40 PM
ตั้ืงค่าปกติ  ค่าต่ำ  ค่าสูง ในตาราง lab_items หรือยังครับ

ทำผ่าน GUI  โดยนักเทคนิคการแพทย์นะครับ..ไม่ต้องทำผ่าน SQL
หัวข้อ: Re: lab ipd อยากเพิ่มสัญญษลักษณ์บอกค่าสูง ต่ำ กว่าค่าปกติ
เริ่มหัวข้อโดย: udomchok ที่ สิงหาคม 22, 2013, 18:06:44 PM
ลองอ่านกระทู้นี้นะครับ
http://hosxp.net/index.php?option=com_smf&Itemid=28&topic=12798.msg249427
หัวข้อ: Re: lab ipd อยากเพิ่มสัญญษลักษณ์บอกค่าสูง ต่ำ กว่าค่าปกติ
เริ่มหัวข้อโดย: itnongjik ที่ สิงหาคม 23, 2013, 09:35:20 AM
ขอบคุณครับ จะลองทำดูครับ