1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>안전사고 통합보고</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <init>
- <trgtmanflag>
- </trgtmanflag>
- <lrg>
- </lrg>
- <serdiaggrde>
- </serdiaggrde>
- <prgnoacdrslt>
- <items>
- <value>01</value>
- <label>환자의 신체적 손실</label>
- </items>
- <items>
- <value>02</value>
- <label>환자의 경제적 손실</label>
- </items>
- <items>
- <value>03</value>
- <label>병원의 경제적 손실</label>
- </items>
- <items>
- <value>04</value>
- <label>업무의 지연/추가</label>
- </items>
- <items>
- <value>05</value>
- <label>민원발생/의료분쟁 가능성</label>
- </items>
- <items>
- <value>06</value>
- <label>기타</label>
- </items>
- </prgnoacdrslt>
- <imprvactcnts>
- <items>
- <value>01</value>
- <label>업무지침 수정 및 추가</label>
- </items>
- <items>
- <value>02</value>
- <label>정기 교육 및 재교육</label>
- </items>
- <items>
- <value>03</value>
- <label>업무과정 개선</label>
- </items>
- <items>
- <value>04</value>
- <label>경고 및 인사상 불이익</label>
- </items>
- <items>
- <value>05</value>
- <label>개선계획 없음</label>
- </items>
- <items>
- <value>06</value>
- <label>기타</label>
- </items>
- </imprvactcnts>
- <acdrslt>
- <items>
- <value>01</value>
- <label>환자의 신체적 손실</label>
- </items>
- <items>
- <value>02</value>
- <label>의료분쟁(소송)</label>
- </items>
- <items>
- <value>03</value>
- <label>보호자의 소란 및 점거농성</label>
- </items>
- <items>
- <value>04</value>
- <label>대중매체 기사화</label>
- </items>
- <items>
- <value>05</value>
- <label>진료 지연 및 중단</label>
- </items>
- </acdrslt>
- <rlstyn>
- </rlstyn>
- <prcsyn>
- </prcsyn>
- <mdl/>
- <trgsex/>
- <trgtorddept/>
- <trgtatdoct/>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- <gr/>
- <ty/>
- <sex/>
- </roomcd>
- <hardcd/>
- </init>
- <main>
- <condition>
- <reptid/>
- <reptnm/>
- <reptjobkind/>
- <reptjobkindtext/>
- <reptdutdept/>
- <reptdutdepttext/>
- <reptposdeptcd/>
- <reptcntctel/>
- <reptdutyearno/>
- <trgtmanflag/>
- <etctrgtmanflag/>
- <trgtrelemp/>
- <trgtrrgstno1/>
- <trgtrrgstno2/>
- <trgtnm/>
- <trgtsex/>
- <trgtsextext/>
- <trgtage/>
- <trgtcntctel/>
- <trgtid/>
- <trgtroom/>
- <trgtorddept/>
- <trgtatdoct/>
- <trgtdiagcd/>
- <trgtdiagcdnm/>
- <acptno/>
- <genrdd/>
- <genrtmmnt/>
- <genrthh/>
- <genrtmi/>
- <discvdd/>
- <discvtmmnt/>
- <discvthh/>
- <discvtmi/>
- <serdiaggrde/>
- <lrg/>
- <mdl/>
- <prgnoacdcnts/>
- <prgnoacdrsltcnts/>
- <imprvactetccnts/>
- <imprvactcnts/>
- <rsltyn/>
- <trsmyn/>
- <reptdd/>
- <repttmmnt/>
- <total/>
- <detlcnts/>
- <detlcnts_how/>
- <detlcnts_why/>
- <erracdyn/>
- <trgtwardcd/>
- <doctorcallyn/>
- <doctorcalldt/>
- <mediationyn/>
- <mediationdt/>
- <daychk/>
- <inwritingyn/>
- </condition>
- <chkcond>
- <chkprgnoacdrslt/>
- <chkimprvact/>
- </chkcond>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <reduct>
- <reductlist>
- <acptno/>
- <reductdd/>
- <reductamt/>
- </reductlist>
- </reduct>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- <gr/>
- <ty/>
- <sex/>
- </roomcd>
- <wardlist/>
- </main>
- <tmp>
- <trgtinfo/>
- <cond/>
- <userinfo/>
- <acptno/>
- <reptinfo/>
- <wardcd>
- <cd/>
- <nm/>
- <of/>
- </wardcd>
- <roomcd>
- <cd/>
- <nm/>
- <wd/>
- <gr/>
- <ty/>
- <sex/>
- </roomcd>
- <btn_value/>
- <trgtwardcd/>
- <initparam/>
- </tmp>
- <send>
- <cond>
- <recinfo/>
- <detlinfo/>
- </cond>
- <trgtman>
- <trgtid/>
- <trgtmanflag/>
- </trgtman>
- <acptno/>
- <reqdata/>
- <report>
- <recinfo/>
- <detlinfo/>
- <reductlist/>
- </report>
- <data3>
- <sess_posinstcd/>
- <ioflag/>
- </data3>
- <daychk/>
- <patinfo>
- <pid/>
- <orddd/>
- <cretno/>
- <ordtype/>
- <oprsrvno/>
- </patinfo>
- </send>
- <hidden>
- <rsltyn>N</rsltyn>
- <mycode/>
- <building/>
- <wardcd/>
- <roomcd/>
- </hidden>
- <temper>
- <daychk>
- <daychk/>
- </daychk>
- </temper>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
-
- fGetHardCDList("N", 5595, 0 , "/root/init/hardcd");
-
- var cnt = getNodesetCnt(model, "/root/init/hardcd/hardcd");
- var adminchk = "";
-
- for(var i=1; i<=cnt; i++){
- var userid=model.getValue("/root/init/hardcd/hardcd[" + i + "]/hardcd");
- if(getUserInfo("userid")==userid){
- adminchk=true;
- break;
- }
- }
-
- if( adminchk == true){ //hardcd 5595일시 서면보고가 보이도록 추가.
- chk_inwriting.visible = true;
- }else{
- chk_inwriting.visible = false;
- }
-
-
- ]]>
- </script>
- <submission id="TXMQR00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/tmp"/>
- <submission id="TRMQR00100" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/tmp"/>
- <submission id="TRMQR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/trgtman" resultref="/root/tmp"/>
- <submission id="TRMQR00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/acptno" resultref="/root/tmp/reptinfo"/>
- <submission id="TRMQR00104" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/serdiaggrde"/>
- <submission id="TRMQR00105" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/temper"/>
- <submission id="TRMQR00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patinfo" resultref="/root/tmp"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXMQR00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/tmp"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMQR001011" method="post" ref="/root/send/acptno" resultref="/root/tmp/reptinfo"/>
- <submission id="TRMQR03100" method="post" ref="/root/send/data3" resultref="/root/init"/>
- </model>
- <script type="javascript" src="../../../emr/qiweb/js/SMMQR00000.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../emr/qiweb/js/SMMQR00100.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../emr/medirecweb/js/MMRCommon.js"/>
- </xhtml:head>
- <xhtml:body scroll="autohscroll" pagewidth="1210" pageheight="830" guideline="1,720;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1190px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">안전사고 통합보고</caption>
- </group>
- <group id="group5" scroll="auto" style="left:0px; top:20px; width:1190px; height:790px; ">
- <group id="grp_nonpatInfo" style="left:452px; top:66px; width:725px; height:25px; ">
- <output id="output7" style="left:272px; top:1px; width:35px; height:19px; "/>
- <output id="output8" style="left:272px; top:1px; width:35px; height:19px; "/>
- <input id="ipt_trgtnm" ref="/root/main/condition/trgtnm" class="input_default" navindex="34" maxlength="16" appearance="input" style="left:47px; top:2px; width:87px; height:19px; "/>
- <select1 id="cmb_trgtsex" ref="/root/main/condition/trgtsex" navindex="35" appearance="minimal" style="left:187px; top:2px; width:56px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/trgsex/P0313">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="ip_trgtage" ref="/root/main/condition/trgtage" class="input_default" navindex="36" format="999" appearance="input" style="left:292px; top:2px; width:35px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:135px; top:0px; width:50px; height:23px; vertical-align:middle; ">성별</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:0px; width:45px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption8" class="cell_1" style="left:246px; top:0px; width:45px; height:23px; vertical-align:middle; ">연령</caption>
- <caption id="caption45" class="cell_1" style="left:329px; top:0px; width:55px; height:23px; vertical-align:middle; ">연락처</caption>
- <input id="ipt_trgtcntctel" ref="/root/main/condition/trgtcntctel" class="input_default" style="left:385px; top:2px; width:112px; height:19px; "/>
- <caption id="caption41" class="cell_1" style="left:500px; top:1px; width:65px; height:23px; vertical-align:middle; ">관련직원</caption>
- <input id="ipt_trgtrelemp" ref="/root/main/condition/trgtrelemp" class="input_default" navindex="3" maxlength="14" style="left:568px; top:3px; width:157px; height:19px; "/>
- </group>
- <group id="grp_nonpat" style="left:5px; top:92px; width:1179px; height:25px; ">
- <line id="line13" class="line_2" style="x1:0px; y1:25px; x2:1177px; y2:25px; "/>
- </group>
- <group id="grp_reductcase" visibility="hidden" style="left:5px; top:496px; width:1180px; height:219px; ">
- <caption id="caption13" class="tit_2" style="left:3px; top:0px; width:148px; height:13px; ">결과보고</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:13px; x2:1177px; y2:13px; "/>
- <line id="line4" class="line_3" style="x1:2px; y1:212px; x2:1179px; y2:212px; "/>
- <line id="line5" class="line_2" style="x1:0px; y1:187px; x2:1177px; y2:187px; "/>
- <button id="button4" class="btn2_letter2" navindex="21" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1134px; top:20px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_amt.subtotal("clear", -1, grd_amt.colRef("reductamt"));
- var amt = grd_amt.valueMatrix(grd_amt.rows-1 , 3); //마지막라인에 금액이 설정되어있는경우만 추가된다.
- if(grd_amt.rows == "1"){
- grd_amt.addRow(true, true);
- }
- else{
- if(amt > 0){
- grd_amt.addRow(true, true);
- }
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter2" navindex="22" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1134px; top:41px; width:42px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <caption>
- <![CDATA[삭제]]>
- </caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_amt.deleteItem(grd_amt.row);
- grd_amt.subtotal("clear", -1, grd_amt.colRef("reductamt"));
- grd_amt.subtotal("sum", -1, grd_amt.colRef("reductamt"),"", "", 2, "총 계");
- ]]>
- </script>
- </button>
- <line id="line9" class="line_2" style="x1:0px; y1:138px; x2:857px; y2:138px; "/>
- <datagrid id="grd_amt" nodeset="/root/main/reduct/reductlist" caption="acptno^날짜^금액" colsep="^" colwidth="0, 114, 115" defaultrows="0" frozenrows="1" mergecellsfixedrows="byrestriccol" rowheader="seq" rowsep="|" subtotalposition="above" navindex="20" style="left:862px; top:20px; width:271px; height:165px; ">
- <col/>
- <col ref="reductdd" type="inputdate"/>
- <col ref="reductamt" type="input" format="#,###" maxlength="15"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_amt.col == "3"){
- grd_amt.subtotal("clear", -1, grd_amt.colRef("reductamt"));
- grd_amt.subtotal("sum", -1, grd_amt.colRef("reductamt"),"", "", 2, "총 계");
- }
- var data = model.getvalue("/root/main/reduct/reductlist["+ grd_amt.row +"]/reductdd");
- if(grd_amt.col == "2"){
-
- var findrow = grd_amt.findrow(data, 1, 2);
- if(findrow != grd_amt.row)
- {
- if(findrow != -1){
- var rtnval = messageBox("감면날짜가 ","E006");
- model.setValue("/root/main/reduct/reductlist["+ grd_amt.row +"]/reductdd", "");
- }
- }
- }
-
- ]]>
- </script>
- </datagrid>
- <select1 id="cmb_prcsstat" ref="/root/main/condition/rsltyn" class="combo_essential" appearance="minimal" style="left:125px; top:190px; width:187px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/prcsyn/M0449">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_prcsstat" class="cell_1" style="left:1px; top:189px; width:120px; height:23px; vertical-align:middle; ">처리상태</caption>
- <caption id="cap_prgnoacdrslt2" class="cell_1" style="left:0px; top:18px; width:120px; height:121px; vertical-align:middle; ">예측되는 사고 결과</caption>
- <select id="chk_prgnoacdrslt2" ref="/root/main/chkcond/chkprgnoacdrslt" disabled="false" navindex="19" overflow="visible" appearance="full" cellspacing="5" cols="1" direction="downacross" rows="*" sep="▦" vcellspacing="8" style="left:125px; top:20px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/acdrslt/items">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- </select>
- <textarea id="tar_prgnoacdrsltcnts2" ref="/root/main/condition/prgnoacdrsltcnts" maxlength="50" style="left:125px; top:141px; width:735px; height:44px; "/>
- <caption id="cap_prgnoacdrsltcnts2" class="cell_1" style="left:0px; top:140px; width:120px; height:48px; vertical-align:middle; ">
- <![CDATA[예측되는 사고 결과
- 상세내용]]>
- </caption>
- </group>
- <group id="grp_nonreductcase" style="left:5px; top:592px; width:1180px; height:123px; ">
- <line id="line6" class="line_2" style="x1:0px; y1:96px; x2:1172px; y2:98px; "/>
- <caption id="caption70" class="tit_2" style="left:3px; top:3px; width:148px; height:13px; ">결과보고</caption>
- <line id="line25" class="line_1" style="x1:0px; y1:18px; x2:1177px; y2:18px; "/>
- <line id="line26" class="line_3" style="x1:0px; y1:122px; x2:1172px; y2:122px; "/>
- <select id="chk_prgnoacdrslt" ref="/root/main/chkcond/chkprgnoacdrslt" disabled="false" navindex="23" overflow="visible" appearance="full" cellspacing="10" cols="*" direction="downacross" rows="2" sep="▦" vcellspacing="0" style="left:125px; top:25px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/prgnoacdrslt/items">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- SetVisible("tar_prgnoacdcnts", "/root/main/chkcond/chkprgnoacdrslt", "06");
- ]]>
- </script>
- </select>
- <textarea id="tar_imprvactcnts" ref="/root/main/condition/imprvactcnts" navindex="28" maxlength="50" style="left:853px; top:63px; width:323px; height:32px; "/>
- <select1 id="cmb_rsltyn" ref="/root/main/condition/rsltyn" class="input_essential" navindex="29" appearance="minimal" style="left:123px; top:100px; width:187px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rlstyn/M0448">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line2" class="line_2" style="x1:0px; y1:60px; x2:1177px; y2:60px; "/>
- <caption id="caption12" class="cell_1" style="left:730px; top:62px; width:120px; height:36px; vertical-align:middle; ">
- <![CDATA[개선활동 내용
- 상세내용]]>
- </caption>
- <textarea id="tar_prgnoacdrsltcnts" ref="/root/main/condition/prgnoacdrsltcnts" navindex="25" maxlength="50" style="left:853px; top:25px; width:323px; height:32px; "/>
- <textarea id="tar_imprvactetccnts" ref="/root/main/condition/imprvactetccnts" navindex="27" visibility="hidden" maxlength="50" style="left:500px; top:63px; width:225px; height:32px; "/>
- <caption id="cap_prgnoacdrslt" class="cell_1" style="left:0px; top:23px; width:120px; height:38px; vertical-align:middle; ">
- <![CDATA[예측되는
- 사고 결과]]>
- </caption>
- <select id="chk_imprvactcnts" ref="/root/main/chkcond/chkimprvact" navindex="26" overflow="visible" appearance="full" cellspacing="5" cols="*" rows="2" sep="▦" vcellspacing="0" style="left:125px; top:64px; width:100px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/imprvactcnts/items">
- <label ref="label"/>
- <value ref="value"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- SetVisible("tar_imprvactetccnts", "/root/main/chkcond/chkimprvact", "06");
- ]]>
- </script>
- </select>
- <caption id="cap_imprvactcnts" class="cell_1" style="left:0px; top:62px; width:120px; height:36px; vertical-align:middle; ">
- <![CDATA[개선활동
- 내용]]>
- </caption>
- <caption id="cap_rsltyn" class="cell_1" style="left:0px; top:99px; width:120px; height:23px; vertical-align:middle; ">종결여부</caption>
- <caption id="cap_prgnoacdrsltcnts" class="cell_1" style="left:730px; top:24px; width:120px; height:36px; vertical-align:middle; ">
- <![CDATA[예측되는 사고 결과
- 상세내용]]>
- </caption>
- <textarea id="tar_prgnoacdcnts" ref="/root/main/condition/prgnoacdcnts" navindex="24" visibility="hidden" maxlength="50" style="left:560px; top:25px; width:165px; height:32px; "/>
- <select id="chk_inwriting" ref="/root/main/condition/inwritingyn" visibility="hidden" overflow="visible" appearance="full" style="left:800px; top:101px; width:75px; height:17px; font-weight:bold; background-color:#cc99ff; border-style:none; ">
- <choices>
- <item>
- <label>서면보고</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- </group>
- <line id="line8" class="line_2" style="x1:5px; y1:161px; x2:1182px; y2:161px; "/>
- <caption id="caption42" class="tit_2" style="left:10px; top:47px; width:148px; height:13px; ">사고 대상자 정보등록</caption>
- <line id="line16" class="line_1" style="x1:5px; y1:62px; x2:1182px; y2:62px; "/>
- <caption id="caption51" class="tit_2" style="left:10px; top:118px; width:148px; height:13px; vertical-align:top; ">보고사항</caption>
- <caption id="caption52" class="cell_1" style="left:5px; top:138px; width:90px; height:23px; vertical-align:middle; ">접수번호</caption>
- <line id="line19" class="line_1" style="x1:5px; y1:133px; x2:1183px; y2:133px; "/>
- <caption id="caption53" class="cell_1" style="left:204px; top:138px; width:83px; height:23px; text-align:center; vertical-align:middle; ">발생일시</caption>
- <caption id="caption54" class="cell_1" style="left:496px; top:138px; width:81px; height:23px; text-align:center; vertical-align:middle; ">발견일시</caption>
- <caption id="caption55" class="cell_1" style="left:5px; top:163px; width:90px; height:23px; vertical-align:middle; ">문제의 종류</caption>
- <line id="line20" class="line_2" style="x1:5px; y1:185px; x2:1182px; y2:185px; "/>
- <caption id="caption62" class="cell_1" style="left:5px; top:19px; width:90px; height:23px; vertical-align:middle; ">사번</caption>
- <caption id="caption63" class="cell_1" style="left:778px; top:19px; width:90px; height:23px; vertical-align:middle; ">연락처</caption>
- <caption id="caption64" class="cell_1" style="left:1028px; top:19px; width:80px; height:23px; vertical-align:middle; ">근무년수</caption>
- <caption id="caption65" class="tit_2" style="left:10px; top:0px; width:144px; height:13px; ">보고자 정보등록</caption>
- <line id="line23" class="line_1" style="x1:5px; y1:15px; x2:1182px; y2:15px; "/>
- <caption id="caption66" class="cell_1" style="left:363px; top:19px; width:90px; height:23px; vertical-align:middle; ">직종</caption>
- <line id="line24" class="line_3" style="x1:5px; y1:42px; x2:1182px; y2:42px; "/>
- <caption id="caption67" class="cell_1" style="left:183px; top:19px; width:90px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption68" class="cell_1" style="left:560px; top:19px; width:90px; height:23px; vertical-align:middle; ">근무부서</caption>
- <button id="button1" class="btn6_letter2" navindex="30" disable.background-image="../../../com/commonweb/images/dis_btn6_letter2.gif" style="left:890px; top:690px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn6_letter2.gif; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- SetRepDetlInfo();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter5" navindex="33" disable.background-image="../../../com/commonweb/images/dis_btn4_letter5.gif" style="left:1085px; top:690px; width:92px; height:22px; background-image:../../../com/commonweb/images/btn4_letter5.gif; ">
- <caption>QI실 전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var status = "";
- var adminchk=false;
- var cnt = getNodesetCnt(model, "/root/init/hardcd/hardcd");
- for(var i=1; i<=cnt; i++){
- var trgtcd=model.getValue("/root/init/hardcd/hardcd[" + i + "]/hardcd");
- if(getUserInfo("userid")==trgtcd){
- adminchk=true;
- break;
- }
- }
- status = model.getValue("/root/temp/status");
- if( status == "-" && adminchk==true ){
- messageBox("데이터 수정 후 저장만 하시면 됩니다.","E");
- return;
- }
- var genrthh = model.getValue("/root/main/condition/genrthh");
- var genrtmi = model.getValue("/root/main/condition/genrtmi");
- model.setValue("/root/main/condition/genrtmmnt" , genrthh+genrtmi);
-
- var discvthh = model.getValue("/root/main/condition/discvthh");
- var discvtmi = model.getValue("/root/main/condition/discvtmi");
- model.setValue("/root/main/condition/discvtmmnt", discvthh + discvtmi);
- var reptid = model.getValue("/root/main/condition/reptid");
-
- if(getUserInfo("userid") != reptid && reptid != "" ){
- messageBox("본인 외 전송불가합니다.","E");
- return;
- }
-
- var rtnval = messageBox("QI팀에 전송","S001");
- var lrg = model.getValue("/root/main/condition/lrg");
- if(rtnval == 6){ //예
- if(model.getValue("/root/main/condition/trsmyn") == "Y"){ //이미 전송이 된경우
- if(lrg == "03"){ //감면사례인경우 처리상태(종결여부)가 04번인경우가 종결이다
- if(model.getValue("/root/hidden/rsltyn") == "04"){ //이미 종결되었을경우
- messageBox("재전송 ","E001");
- return;
- }
- else{
- if(model.getValue("/root/main/condition/rsltyn") =="0"){ //현재 종결되었을 경우
- model.setValue("/root/main/condition/trsmyn", "Y");
- if(!fSetRlstYN()){
- return;
- }
- }
- else{ //현재 종결안됨, 종결상태 그대로
- if(model.getValue("/root/main/condition/rsltyn") == "04"){
- model.setValue("/root/hidden/rsltyn" , "04");
- }
- if(!fSetRlstYN()){
- return;
- }
- }
- }
- }
- else{ //감면사례가 아닌경우
- if(model.getValue("/root/hidden/rsltyn") == "03"){ //이미 종결되었을경우
- messageBox("재전송 ","E001");
- return;
- }
- else{
- if(model.getValue("/root/main/condition/rsltyn") =="03"){ //현재 종결되었을 경우
- model.setValue("/root/main/condition/trsmyn", "Y");
- if(!fSetRlstYN()){
- return;
- }
- }
- else{ //현재 종결안됨, 종결상태 그대로
- if(model.getValue("/root/main/condition/rsltyn") == "03"){
- model.setValue("/root/hidden/rsltyn" , "03");
- }
- if(!fSetRlstYN()){
- return;
- }
- }
- }
- }
- }
- else{ //이전에 전송이 안된경우
- if(!fCheck()){
- return;
- }
- model.setValue("/root/main/condition/trsmyn", "Y");
- if(lrg == "03"){ //감면사례인경우 처리상태(종결여부)가 04번인경우가 종결이다
- if(model.getValue("/root/main/condition/rsltyn") == "04"){
- model.setValue("/root/hidden/rsltyn" , "04");
- }
- }else{
- if(model.getValue("/root/main/condition/rsltyn") == "03"){
- model.setValue("/root/hidden/rsltyn" , "03");
- }
- }
- model.makeValue("/root/temp/status", "20");
- if(!fSave()){
- return;
- }
- }
- messageBox("QI팀으로 전송","I002");
- }else{
- messageBox("QI팀으로 전송하시기 바랍니다","I");
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" navindex="32" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:1025px; top:690px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //var value = child.javascript.getParameter("mycode");
- var genrthh = model.getValue("/root/main/condition/genrthh");
- var genrtmi = model.getValue("/root/main/condition/genrtmi");
- model.setValue("/root/main/condition/genrtmmnt" , genrthh+genrtmi);
-
- var discvthh = model.getValue("/root/main/condition/discvthh");
- var discvtmi = model.getValue("/root/main/condition/discvtmi");
- model.setValue("/root/main/condition/discvtmmnt", discvthh + discvtmi);
-
- if(!fCheck()){
- return;
- }
-
- var rtnval = messageBox("","Q002");
- var reptid = model.getValue("/root/main/condition/reptid");
- var anonyyn = "";
- anonyyn = model.getValue("/root/tmp/reptinfo/recinfo/anonyyn");
- if(rtnval == 6){ //예
- if(model.getValue("/root/main/condition/trsmyn") == "Y"){ //이미 전송된 경우
- var adminchk=false;
- var cnt = getNodesetCnt(model, "/root/init/hardcd/hardcd");
- for(var i=1; i<=cnt; i++){
- var trgtcd=model.getValue("/root/init/hardcd/hardcd[" + i + "]/hardcd");
- if(getUserInfo("userid")==trgtcd){
- adminchk=true;
- break;
- }
- }
- if( adminchk!=true ){
- messageBox("재전송 ","E001");
- return;
- }else{ //qi팀일 경우 수정가능하도록 (데이터만 수정, 상태나 종결여부 반영x)
- model.makeValue("/root/temp/status", "-");
- if(!fSave()){
- return;
- }
- }
- }else{ //신규이거나 수정(수정요청받은건)인경우
- if( getUserInfo("userid") == reptid || ( reptid == "" && anonybtn =="Y" ) || (reptid == "" && anonyyn =="Y")){
- model.setValue("/root/main/condition/trsmyn", "N");
- model.makeValue("/root/temp/status", "10");
- if(!fSave()){
- return;
- }
- button2.dispatch("DOMActivate");//qi실 전송
- }else{
- messageBox("본인 외 수정불가합니다.","E");
- }
- }
- }
- else{
- return;
- }
- ]]>
- </script>
- </button>
- <select1 id="rdo_lrg" ref="/root/main/condition/lrg" navindex="17" appearance="full" cellspacing="30" cols="6" rows="1" overflow="visible" style="left:98px; top:165px; width:110px; height:19px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/lrg/M0427">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var lrg = model.getValue("/root/main/condition/lrg");
- model.setValue("/root/main/condition/mdl","");
- //2012/07/25 Start
- /*
- if( lrg == "03"){
- chb_sudnacc.visible = false;
- chb_sudnacc.disabled = true;
- }else{
- chb_sudnacc.visible = true;
- chb_sudnacc.disabled = false;
- }
- */
- //2012/07/25 End
- setLrg(lrg);
- model.refresh();
-
- ]]>
- </script>
- </select1>
- <select1 id="rdo_mdl" ref="/root/main/condition/mdl" navindex="18" visibility="hidden" appearance="full" cellspacing="25" cols="8" rows="1" overflow="visible" style="left:502px; top:165px; width:110px; height:19px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/mdl">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var lrg = model.getValue("/root/main/condition/lrg");
- var mdl = model.getValue("/root/main/condition/mdl");
-
- SetIviewer(lrg, mdl);
- ]]>
- </script>
- </select1>
- <caption id="cap_mdl" class="cell_1" visibility="hidden" style="left:408px; top:163px; width:90px; height:23px; vertical-align:middle; ">중분류</caption>
- <output id="opt_reptId" ref="/root/main/condition/reptid" class="output_fix" appearance="output" style="left:98px; top:21px; width:84px; height:19px; "/>
- <output id="opt_reptNm" ref="/root/main/condition/reptnm" class="output_fix" appearance="output" style="left:275px; top:21px; width:85px; height:19px; "/>
- <output id="opt_reptjobkind" ref="/root/main/condition/reptjobkindtext" class="output_fix" appearance="output" style="left:455px; top:21px; width:102px; height:19px; "/>
- <output id="opt_reptdutdept" ref="/root/main/condition/reptdutdepttext" class="output_fix" appearance="output" style="left:653px; top:21px; width:123px; height:19px; "/>
- <output id="opt_reptcntctel" ref="/root/main/condition/reptcntctel" class="output_fix" appearance="output" style="left:870px; top:21px; width:155px; height:19px; "/>
- <select1 id="cmb_trgtmanflag" ref="/root/main/condition/trgtmanflag" class="combo_essential" navindex="1" appearance="minimal" style="left:98px; top:68px; width:159px; height:18px; ">
- <choices>
- <itemset nodeset="/root/init/trgtmanflag/M0425">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var trgtmanflag = model.getValue("/root/main/condition/trgtmanflag");
- if(trgtmanflag == "06"){
- ipt_etctrgtmanflag.visible = true;
- }else{
- ipt_etctrgtmanflag.visible = false;
- }
- model.setValue("/root/main/condition/etctrgtmanflag","");
- model.setValue("/root/main/condition/trgtrelemp","");
- model.setValue("/root/main/condition/trgtrrgstno1","");
- model.setValue("/root/main/condition/trgtrrgstno2","");
- model.setValue("/root/main/condition/trgtnm","");
- model.setValue("/root/main/condition/trgtsex","");
- model.setValue("/root/main/condition/trgtsextext","");
- model.setValue("/root/main/condition/trgtage","");
- model.setValue("/root/main/condition/trgtcntctel","");
- model.setValue("/root/main/condition/trgtid","");
- model.setValue("/root/main/condition/trgtroom","");
- model.setValue("/root/main/condition/trgtorddept","");
- model.setValue("/root/main/condition/trgtatdoct","");
- model.setValue("/root/main/condition/trgtdiagcd","");
- model.setValue("/root/main/condition/trgtdiagcdnm","");
-
- model.refresh();
-
- setTrgtView();
- ]]>
- </script>
- </select1>
- <output id="opt_reptdutyearno" ref="/root/main/condition/reptdutyearno" class="output_fix" appearance="output" style="left:1110px; top:21px; width:70px; height:19px; "/>
- <output id="opt_acptno" ref="/root/main/condition/acptno" class="output_fix" appearance="output" style="left:98px; top:139px; width:101px; height:19px; "/>
- <input id="ipt_genrdt" ref="/root/main/condition/genrdd" class="combo_essential" navindex="9" inputtype="date" appearance="input" style="left:291px; top:139px; width:95px; height:19px; "/>
- <input id="ipt_discvdt" ref="/root/main/condition/discvdd" class="combo_essential" navindex="12" inputtype="date" style="left:580px; top:139px; width:95px; height:19px; "/>
- <select1 id="cmb_serdiaggrde" ref="/root/main/condition/serdiaggrde" class="combo_essential" navindex="15" appearance="minimal" style="left:881px; top:139px; width:208px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/serdiaggrde/M0426">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChangegrade();
- ]]>
- </script>
- </select1>
- <input id="ipt_etctrgtmanflag" ref="/root/main/condition/etctrgtmanflag" disabled="true" navindex="2" maxlength="16" appearance="input" style="left:262px; top:68px; width:186px; height:19px; "/>
- <iviewer id="iviewer_rept" style="left:5px; top:187px; width:1180px; height:309px; border-style:hidden; "/>
- <button id="button9" class="btn4_letter3" navindex="31" disable.background-image="../../../com/commonweb/images/dis_btn4_letter2.gif" style="left:955px; top:690px; width:68px; height:22px; background-image:../../../com/commonweb/images/btn4_letter2.gif; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(opener.javascript.getParameter("SMMQR00100_PARAM") == ""){
- window.reload();
- }else{
- opener.javascript.setParameter("SMMQR00100_PARAM","");
- window.reload();
- }
- ]]>
- </script>
- </button>
- <caption id="cap_trgtmanflag" class="cell_1" style="left:5px; top:67px; width:90px; height:23px; vertical-align:middle; ">대상자구분</caption>
- <caption id="cap_serdiaggrde" class="cell_1" style="left:786px; top:138px; width:89px; height:23px; vertical-align:middle; ">안전사고 단계</caption>
- <line id="line1" class="line_2" style="x1:5px; y1:90px; x2:1182px; y2:90px; "/>
- <button id="button8" visibility="hidden" style="left:5px; top:720px; width:15px; height:20px; ">
- <caption>button8</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var hiddenrsltyn = model.getValue("/root/hidden/rsltyn");
- var rsltyn = model.getValue("/root/main/condition/rsltyn");
- var trsmyn = model.getValue("/root/main/condition/trsmyn");
- alert("이전 처리상태 : " + hiddenrsltyn +" ,현재선택된 처리상태 : "+ rsltyn + " , 전송여부 : "+ trsmyn);
- ]]>
- </script>
- </button>
- <caption id="caption1" style="left:716px; top:140px; width:15px; height:20px; ">시</caption>
- <caption id="caption9" style="left:768px; top:140px; width:15px; height:20px; ">분</caption>
- <caption id="caption10" style="left:425px; top:140px; width:15px; height:20px; ">시</caption>
- <caption id="caption11" style="left:476px; top:140px; width:15px; height:20px; ">분</caption>
- <input id="ipt_genrthh" ref="/root/main/condition/genrthh" class="input_essential" navindex="10" format="hh" showmask="true" validateformat="false" style="left:390px; top:139px; width:31px; height:19px; "/>
- <input id="ipt_genrtmi" ref="/root/main/condition/genrtmi" class="input_essential" navindex="11" format="nn" showmask="true" validateformat="false" style="left:441px; top:139px; width:31px; height:19px; "/>
- <input id="ipt_discvthh" ref="/root/main/condition/discvthh" class="input_essential" navindex="13" format="hh" showmask="true" validateformat="false" style="left:679px; top:139px; width:31px; height:19px; "/>
- <input id="ipt_discvtmi" ref="/root/main/condition/discvtmi" class="input_essential" navindex="14" format="nn" showmask="true" validateformat="false" style="left:733px; top:139px; width:31px; height:19px; "/>
- <!--
- <select id="chb_sudnacc" ref="/root/main/condition/erracdyn" overflow="visible" appearance="full" style="left:1105px; top:145px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>아차사고</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- -->
- <button id="btn_anony" class="btn2_letter4" disabled="true" navindex="16" ref="/root/temp/btn_value" disable.background-image="../../../com/commonweb/images/dis_btn2_letter2.gif" style="left:1095px; top:138px; width:64px; height:19px; background-image:../../../com/commonweb/images/btn2_letter2.gif; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fChangeValue();
- ]]>
- </script>
- <caption/>
- </button>
- <group id="grp_pat" style="left:2px; top:91px; width:1179px; height:25px; ">
- <line id="line11" class="line_2" style="x1:3px; y1:21px; x2:1170px; y2:21px; "/>
- <line id="line12" class="line_3" style="x1:3px; y1:23px; x2:1170px; y2:23px; "/>
- <caption id="caption30" class="cell_1" style="left:3px; top:1px; width:90px; height:23px; vertical-align:middle; ">ID NO.</caption>
- <caption id="caption31" class="cell_1" style="left:678px; top:0px; width:80px; height:23px; vertical-align:middle; ">주치의</caption>
- <caption id="caption32" class="cell_1" style="left:3px; top:0px; width:90px; height:23px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption35" class="cell_1" style="left:450px; top:0px; width:80px; height:23px; vertical-align:middle; ">진료과</caption>
- <caption id="caption37" class="cell_1" style="left:848px; top:0px; width:100px; height:23px; vertical-align:middle; ">진단코드</caption>
- <caption id="caption40" class="cell_1" style="left:188px; top:0px; width:66px; height:23px; vertical-align:middle; ">병동/병실</caption>
- <select1 id="cmb_building" ref="/root/hidden/building" class="combo_default" visibility="hidden" appearance="minimal" style="left:253px; top:1px; width:55px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>본관</label>
- <value>M</value>
- </item>
- <item>
- <label>별관</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var sBuilding = model.getValue("/root/hidden/building");
- if (sBuilding != null) {
- cmb_wardcd.choices.itemset.attribute("nodeset") = "/root/main/wardcd[build = '" + sBuilding + "' ]";
- cmb_wardcd.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_wardcd" ref="/root/main/condition/trgtwardcd" class="combo_default" navindex="4" appearance="minimal" style="left:258px; top:1px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/wardlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var swardcd = model.getValue("/root/main/condition/trgtwardcd");
- if (swardcd == null || swardcd == " " || swardcd == "") {
- cmb_roomcd.choices.itemset.attribute("nodeset") = "/root/main/roomcd"
- model.resetInstanceNode("/root/main/condition/trgtroom");
- cmb_roomcd.refresh();
- } else {
- cmb_roomcd.choices.itemset.attribute("nodeset") = "/root/main/roomcd[wd = '" + swardcd + "' ]";
- model.resetInstanceNode("/root/main/condition/trgtroom");
- cmb_roomcd.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_roomcd" ref="/root/main/condition/trgtroom" navindex="5" appearance="minimal" editmode="inputsearch" itemcount="30" style="left:390px; top:1px; width:58px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/roomcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <output id="ipt_trgtid" ref="/root/main/condition/trgtid" class="output_fix" appearance="output" style="left:96px; top:1px; width:67px; height:19px; "/>
- <button id="button6" class="icon_search" navindex="8" style="left:1155px; top:2px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // modal("../../../emr/prcpmngtweb/xrw/SPMMO03200_진단팝업.xrw", 1, 0, 0, "", "", "");
- modal("SPMMO03200.xrw", 1, 0, 0, "", "", "");
-
- model.setValue("/root/main/condition/trgtdiagcd", model.getValue("/root/temp/selectdiaglist/diagcd"));
- model.setValue("/root/main/condition/trgtdiagcdnm", model.getValue("/root/temp/selectdiaglist/diagengnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <output id="opt_trgtdiagcd" ref="/root/main/condition/trgtdiagcd" class="output_fix" appearance="output" style="left:950px; top:1px; width:78px; height:19px; "/>
- <output id="opt_trgtdiagcdnm" ref="/root/main/condition/trgtdiagcdnm" class="output_fix" appearance="output" style="left:1029px; top:1px; width:124px; height:19px; "/>
- <button id="button7" class="icon_search" style="left:166px; top:2px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //팝업을 사용하여 환자 기본정보 검색
- modal("SPPMC02500", 1,10, 10, "SPPMC02500", "/root/temp", "/root/send");
- model.setValue("/root/main/condition/trgtnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- var trgsex = model.getValue("/root/main/patinfo/patinfolist/sex");
- model.setValue("/root/main/condition/trgtsex", trgsex);
- setTrgtSex(trgsex);
- model.setValue("/root/main/condition/trgtage", model.getValue("/root/main/patinfo/patinfolist/age"));
- model.setValue("/root/main/condition/trgtid" , model.getValue("/root/main/patinfo/patinfolist/pid"));
-
- //환자 상세정보 검색
- model.removenode("/root/tmp/trgtinfo");
- model.resetInstanceNode("/root/send/trgtman");
- model.setValue("/root/send/trgtman/trgtid" , model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/trgtman/trgtmanflag" , model.getValue("/root/main/condition/trgtmanflag"));
- submit("TRMQR00101");
- //2012/11/14 Start
- model.setValue("/root/main/condition/trgtwardcd" , model.getValue("/root/tmp/trgtinfo/trgtwardcd"));
- //2012/11/14 End
- model.setValue("/root/main/condition/trgtroom" , model.getValue("/root/tmp/trgtinfo/trgtroom"));
- var trgtorddept = model.getValue("/root/tmp/trgtinfo/trgtorddept")
- model.setValue("/root/main/condition/trgtorddept" , trgtorddept);
- if(trgtorddept != ""){
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/trgtatdoct", trgtorddept, "0330");
- }
- model.setValue("/root/main/condition/trgtatdoct" , model.getValue("/root/tmp/trgtinfo/trgtatdoct"));
- model.setValue("/root/main/condition/trgtdiagcd" , model.getValue("/root/tmp/trgtinfo/trgtdiagcd"));
- model.setValue("/root/main/condition/trgtdiagcdnm" , model.getValue("/root/tmp/trgtinfo/trgtdiagcdnm"));
-
- //진료 및 치료일 경우 iviewer_rept에 Data를 보내준다
- var lrg = model.getValue("/root/main/condition/lrg");
- var mdl = model.getValue("/root/main/condition/mdl");
- if((lrg == "01" && mdl == "01") || lrg == "03"){
- iviewer_rept.window.javascript.fSetDr();
- }
-
- model.refresh();
-
- ]]>
- </script>
- </button>
- <select1 id="cmb_trgtorddept" ref="/root/main/condition/trgtorddept" class="combo_default" navindex="6" appearance="minimal" editmode="search" style="left:532px; top:2px; width:142px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/trgtorddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removeNodeset("/root/init/trgtatdoct");
- model.makeNode("/root/init/trgtatdoct/usercombo");
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/trgtatdoct", cmb_trgtorddept.value, "0330");
-
- cmb_trgtatdoct.select(1);
- cmb_trgtorddept.refresh();
- cmb_trgtatdoct.refresh();
- //fReqOutPatList();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_trgtatdoct" ref="/root/main/condition/trgtatdoct" class="combo_search" navindex="7" appearance="minimal" style="left:761px; top:1px; width:84px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/trgtatdoct/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="grp_patInfo" style="left:450px; top:66px; width:500px; height:25px; ">
- <caption id="caption2" class="cell_1" style="left:2px; top:1px; width:80px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption3" class="cell_1" style="left:170px; top:1px; width:100px; height:23px; vertical-align:middle; ">성별</caption>
- <caption id="caption4" class="cell_1" style="left:340px; top:1px; width:80px; height:23px; vertical-align:middle; ">연령</caption>
- <output id="output2" style="left:272px; top:1px; width:35px; height:19px; "/>
- <output id="output3" style="left:272px; top:1px; width:35px; height:19px; "/>
- <output id="opt_trgtnm" ref="/root/main/condition/trgtnm" class="output_fix" style="left:84px; top:3px; width:84px; height:19px; "/>
- <output id="opt_trgtsex" ref="/root/main/condition/trgtsextext" class="output_fix" style="left:272px; top:3px; width:65px; height:19px; "/>
- <output id="opt_trgtage" ref="/root/main/condition/trgtage" class="output_fix" style="left:423px; top:3px; width:75px; height:19px; "/>
- </group>
- </group>
- </xhtml:body>
- </xhtml:html>
|