1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <wardrecinfo>
- <gustoinfo>
- <gusto>
- <smokinfo>
- <smokinfoyn>1</smokinfoyn>
- <smokinfocnt/>
- <nosmokcnstyn/>
- <nosmokcnst/>
- <nosmokcnstnm/>
- </smokinfo>
- <drunkinfo>
- <drunkinfoyn>1</drunkinfoyn>
- <drunkinfokind/>
- <drunkinfoterm/>
- </drunkinfo>
- <gustofoodinfo>
- <gustofoodyn>1</gustofoodyn>
- <gustofooddetl/>
- </gustofoodinfo>
- <tnsseffcinfo>
- <tnsseffcyn>1</tnsseffcyn>
- <tnsseffcdetl/>
- </tnsseffcinfo>
- </gusto>
- </gustoinfo>
- </wardrecinfo>
- <histinfo>
- <pasthistinfo>
- <pasthist>
- <pasthistinclyn/>
- <pasthist>
- <genrdd/>
- <histspec/>
- <remfact/>
- </pasthist>
- </pasthist>
- </pasthistinfo>
- <famyhistinfo>
- <famyhist>
- <famyhistinclyn/>
- <famyhist>
- <famyrel/>
- <existyn/>
- <histspec/>
- <remfact/>
- </famyhist>
- </famyhist>
- </famyhistinfo>
- <inhistinfo>
- <inhist>
- <inhistinclyn/>
- <inhist>
- <indd/>
- <dschdd/>
- <illnm/>
- <orddept/>
- <inhistpk/>
- </inhist>
- </inhist>
- </inhistinfo>
- <ophistinfo>
- <ophist>
- <ophistinclyn/>
- <ophist>
- <opdd/>
- <opnm/>
- <orddept/>
- <ophistpk/>
- </ophist>
- </ophist>
- </ophistinfo>
- <rectmedistatinfo>
- <rectmedistat>
- <rectmedistatinfoinclyn/>
- <antibiodrugyn/>
- <rectmedistat>
- <drugnm/>
- <direc/>
- <orddept/>
- </rectmedistat>
- </rectmedistat>
- </rectmedistatinfo>
- <allghistinfo>
- <allghist>
- <allghistinclyn/>
- <allghist>
- <genrdd/>
- <flag/>
- <allergespec/>
- </allghist>
- </allghist>
- </allghistinfo>
- <vacnhistinfo>
- <vacnhist>
- <vacnhistinfoinclyn/>
- <dpttims/>
- <infparaltims/>
- <ahptstims/>
- <bhptstims/>
- <bhptsdrugnm/>
- <bcgyn/>
- <mmrtims/>
- <alivvacntims/>
- <deadvaccntims/>
- <brnmeningitistims/>
- <lungcoccustims/>
- <chickenpoxtims/>
- </vacnhist>
- </vacnhistinfo>
- <smokinfo>
- <smok>
- <smokinclyn/>
- <smok>
- <dosetoday/>
- <term/>
- </smok>
- </smok>
- </smokinfo>
- <drunkinfo>
- <drunk>
- <drunkinclyn/>
- <drunkinfo>
- <kind/>
- <dose/>
- <tims/>
- <term/>
- </drunkinfo>
- </drunk>
- </drunkinfo>
- <gustofoodinfo>
- <gustofood>
- <gustofoodinclyn/>
- <gustofood>
- <kind/>
- <dose/>
- <tims/>
- <term/>
- </gustofood>
- </gustofood>
- </gustofoodinfo>
- <tnsseffcinfo>
- <tnsseffc>
- <tnsseffcinclyn/>
- <tnsseffc>
- <tnsyn/>
- <tnsdetl/>
- </tnsseffc>
- </tnsseffc>
- </tnsseffcinfo>
- </histinfo>
- </main>
- <init/>
- </root>
- </instance>
- </model>
- <script type="javascript">
- <![CDATA[
- function fInitEventHistInfo() {
- if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
- chk_pasthistyn.dispatch("xforms-value-changed");
- }
-
- if(model.getValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn") == "1") {
- chk_famyhistyn.dispatch("xforms-value-changed");
- }
-
- if(model.getValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn") == "1") {
- chk_inhistyn.dispatch("xforms-value-changed");
- }
-
- if(model.getValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn") == "1") {
- chk_ophistinclyn.dispatch("xforms-value-changed");
- }
-
- if(model.getValue("/root/main/histinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") {
- chk_rectmedistatinclyn.dispatch("xforms-value-changed");
- }
-
- if(model.getValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn") == "1") {
- rdo_allgyn.dispatch("xforms-value-changed");
- }
-
- rdo_smokinfo.dispatch("xforms-value-changed");
- rdo_drunkinfo.dispatch("xforms-value-changed");
- rdo_gustofoodyn.dispatch("xforms-value-changed");
- rdo_tnsseffcyn.dispatch("xforms-value-changed");
-
- /*
- if(model.getValue("/root/main/histinfo/smokinfo/smok/smokinclyn") == "1") {
- chk_smokinfoinclyn.dispatch("xforms-value-changed");
- }
-
- if(model.getValue("/root/main/histinfo/drunkinfo/drunk/drunkinclyn") == "1") {
- chk_drunkinfoinclyn.dispatch("xforms-value-changed");
- }
-
- if(model.getValue("/root/main/histinfo/gustofoodinfo/gustofood/gustofoodinclyn") == "1") {
- chk_gustofoodinclyn.dispatch("xforms-value-changed");
- }
- if(model.getValue("/root/main/histinfo/tnsseffcinfo/tnsseffc/tnsseffcinclyn") == "1") {
- chk_tnsseffcinclyn.dispatch("xforms-value-changed");
- }
- */
- }
-
- function fSetStatus() {
- var rtn = "";
-
- if(status == "select") {
-
- rtn = "6";
- } else {
- rtn = messageBox("데이터를 ", "Q001");
- }
- return rtn;
- }
- function isCheckGridDataYN(grdData) {
- var isEmptyYN = "Y";
- if(grdData.rows == 2) {
- for(var i = 1; i < grdData.cols; i++) {
- if(grdData.valueMatrix(1, i) != "") {
- isEmptyYN = "N";
- break;
- } else {
- isEmptyYN = "Y";
- break;
- }
- }
- } else if(grdData.rows < 2) {
- isEmptyYN = "Y";
- } else {
- isEmptyYN = "N";
- }
-
- if(isEmptyYN == "Y") {
- status = "select";
- }
-
- return isEmptyYN;
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1194" pageheight="673" guideline="2,282;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <button id="btn_smokinfodel" class="btn2_letter3" visibility="hidden" style="left:1134px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_smokinfo.deleteRow(grd_smokinfo.row);
- ]]>
- </script>
- </button>
- <button id="btn_drunkinfoadd" class="btn2_letter3" visibility="hidden" style="left:1078px; top:115px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_drunkinfo.addRow();
- ]]>
- </script>
- </button>
- <line id="line20" class="line_1" visibility="hidden" style="x1:796px; y1:135px; x2:1187px; y2:135px; "/>
- <select id="chk_drunkinfoinclyn" ref="/root/main/histinfo/drunkinfo/drunk/drunkinclyn" visibility="hidden" overflow="visible" appearance="full" style="left:952px; top:117px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/drunkinfo/drunk/drunkinclyn") == "1") {
-
- var rtn = "";
- rtn = fSetStatus();
- if(rtn =="6") {
- btn_drunkinfoadd.disabled = true;
- btn_drunkinfodel.disabled = true;
-
- model.removeNodeset("/root/main/histinfo/drunkinfo/drunk/drunk");
- grd_drunkinfo.rebuild();
-
- } else {
- model.resetInstanceNode("/root/main/histinfo/drunkinfo/drunk/drunkinclyn");
- chk_drunkinfoinclyn.refresh();
- return;
- }
-
- } else {
- btn_drunkinfoadd.disabled = false;
- btn_drunkinfodel.disabled = false;
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <line id="line21" class="line_1" visibility="hidden" style="x1:796px; y1:246px; x2:1187px; y2:246px; "/>
- <caption id="caption30" class="tit_2" visibility="hidden" style="left:801px; top:120px; width:104px; height:13px; ">음주정보</caption>
- <button id="btn_gustofoodinfoadd" class="btn2_letter3" visibility="hidden" style="left:1078px; top:226px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_gustofood.addRow();
- ]]>
- </script>
- </button>
- <caption id="caption31" class="tit_2" visibility="hidden" style="left:801px; top:231px; width:104px; height:13px; ">기호식품</caption>
- <line id="line34" class="line_1" visibility="hidden" style="x1:796px; y1:25px; x2:1187px; y2:25px; "/>
- <datagrid id="grd_smokinfo" nodeset="/root/main/histinfo/smokinfo/smok/smok" visibility="hidden" scroll="auto" caption="양(갑/일)^기간(년)" colsep="^" colwidth="75, 299" mergecellsfixedrows="bycolrec" rowsep="|" style="left:796px; top:30px; width:391px; height:80px; ">
- <col ref="dosetoday" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0091">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="term" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_smokinfo.colType(grd_smokinfo.col) == "input") {
- grd_smokinfo.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_smokinfo.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <select id="chk_gustofoodinclyn" ref="/root/main/histinfo/gustofoodinfo/gustofood/gustofoodinclyn" visibility="hidden" overflow="visible" appearance="full" style="left:952px; top:228px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/gustofoodinfo/gustofood/gustofoodinclyn") == "1") {
- var rtn = "";
-
- rtn = fSetStatus();
- if(rtn == "6") {
- btn_gustofoodinfoadd.disabled = true;
- btn_gustofoodinfodel.disabled = true;
-
- model.removeNodeset("/root/main/histinfo/gustofoodinfo/gustofood/gustofood");
- grd_gustofood.rebuild();
-
- } else {
- model.resetInstanceNode("/root/main/histinfo/gustofoodinfo/gustofood/gustofoodinclyn");
- chk_gustofoodinclyn.refresh();
- return;
- }
- } else {
- btn_gustofoodinfoadd.disabled = false;
- btn_gustofoodinfodel.disabled = false;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <button id="btn_smokinfoadd" class="btn2_letter3" visibility="hidden" style="left:1078px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_smokinfo.addRow();
- ]]>
- </script>
- </button>
- <select id="chk_smokinfoinclyn" ref="/root/main/histinfo/smokinfo/smok/smokinclyn" visibility="hidden" overflow="visible" appearance="full" style="left:952px; top:7px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/smokinfo/smok/smokinclyn") == "1") {
- var rtn = "";
- rtn = fSetStatus();
-
- if(rtn == "6") {
- btn_smokinfoadd.disabled = true;
- btn_smokinfodel.disabled = true;
-
- model.removeNodeset("/root/main/histinfo/smokinfo/smok/smok");
- grd_smokinfo.rebuild();
-
- } else {
- model.resetInstanceNode("/root/main/histinfo/smokinfo/smok/smokinclyn");
- chk_smokinfoinclyn.refresh();
- return;
- }
- } else {
- btn_smokinfoadd.disabled = false;
- btn_smokinfodel.disabled = false;
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <datagrid id="grd_gustofood" nodeset="/root/main/histinfo/gustofoodinfo/gustofood/gustofood" visibility="hidden" scroll="auto" caption="종류^양(잔)^횟수(일)^기간(년)" colsep="^" colwidth="74, 75, 74, 151" mergecellsfixedrows="bycolrec" rowsep="|" style="left:796px; top:251px; width:391px; height:81px; ">
- <col ref="kind" type="combo" style="left:0px; top:20px; width:100px; height:20px; ">
- <choices>
- <itemset nodeset="/root/init/mlist/M0093">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="dose" type="input" style="left:100px; top:20px; width:187px; height:20px; "/>
- <col ref="tims" type="input"/>
- <col ref="term" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_gustofood.colType(grd_gustofood.col) == "input") {
- grd_gustofood.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_gustofood.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption36" class="tit_2" visibility="hidden" style="left:801px; top:342px; width:104px; height:13px; ">수혈부작용</caption>
- <line id="line29" class="line_1" visibility="hidden" style="x1:796px; y1:357px; x2:1187px; y2:357px; "/>
- <button id="btn_drunkinfodel" class="btn2_letter3" visibility="hidden" style="left:1134px; top:115px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_drunkinfo.deleteRow(grd_drunkinfo.row);
- ]]>
- </script>
- </button>
- <caption id="caption39" class="tit_2" visibility="hidden" style="left:801px; top:10px; width:104px; height:13px; ">흡연정보</caption>
- <button id="btn_gustofoodinfodel" class="btn2_letter3" visibility="hidden" style="left:1134px; top:226px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_gustofood.deleteRow(grd_gustofood.row);
- ]]>
- </script>
- </button>
- <datagrid id="grd_drunkinfo" nodeset="/root/main/histinfo/drunkinfo/drunk/drunkinfo" visibility="hidden" scroll="auto" caption="종류^양(병)^횟수(월)^기간(년)" colsep="^" colwidth="75, 75, 75, 149" mergecellsfixedrows="bycolrec" rowsep="|" style="left:796px; top:140px; width:391px; height:81px; ">
- <col ref="kind" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0092">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="dose" type="input" style="left:100px; top:20px; width:187px; height:20px; "/>
- <col ref="tims" type="input"/>
- <col ref="term" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_drunkinfo.colType(grd_drunkinfo.col) == "input") {
- grd_drunkinfo.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_drunkinfo.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <select id="chk_tnsseffcinclyn" ref="/root/main/histinfo/tnsseffcinfo/tnsseffc/tnsseffcinclyn" visibility="hidden" overflow="visible" appearance="full" style="left:952px; top:339px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/tnsseffcinfo/tnsseffc/tnsseffcinclyn") == "1") {
- var rtn = "";
- rtn = fSetStatus();
-
- if(rtn == "6") {
- rdo_tnsseffcyn.disabled = true;
- ipt_tnsseffcdetl.disabled = true;
-
- model.resetInstanceNode("/root/main/histinfo/tnsseffcinfo/tnsseffc/tnsseffc/tnsyn");
- model.resetInstanceNode("/root/main/histinfo/tnsseffcinfo/tnsseffc/tnsseffc/tnsdetl");
-
- rdo_tnsseffcyn.refresh();
- ipt_tnsseffcdetl.refresh();
-
- } else {
- model.resetInstanceNode("/root/main/histinfo/tnsseffcinfo/tnsseffc/tnsseffcinclyn");
- chk_tnsseffcinclyn.refresh();
- return;
- }
-
- } else {
- rdo_tnsseffcyn.disabled = false;
- ipt_tnsseffcdetl.disabled = false;
-
- rdo_tnsseffcyn.refresh();
- ipt_tnsseffcdetl.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <select1 id="rdo_tnsseffcyn" ref="/root/main/histinfo/tnsseffcinfo/tnsseffc/tnsseffc/tnsyn" visibility="hidden" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:879px; top:365px; width:100px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/tnsseffcinfo/tnsseffc/tnsseffc/tnsyn") == "2") {
- ipt_tnsseffcdetl.disabled = false;
- } else {
- ipt_tnsseffcdetl.disabled = true;
- model.resetInstanceNode("/root/main/histinfo/tnsseffcinfo/tnsseffc/tnsseffc/tnsdetl");
- ipt_tnsseffcdetl.refresh();
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_tnsseffcdetl" ref="/root/main/histinfo/tnsseffcinfo/tnsseffc/tnsseffc/tnsdetl" class="input_default" visibility="hidden" style="left:981px; top:362px; width:206px; height:19px; "/>
- <caption id="caption98" class="cell_1" visibility="hidden" style="left:796px; top:362px; width:80px; height:21px; vertical-align:middle; ">수혈부작용</caption>
- <line id="line95" class="line_3" visibility="hidden" style="x1:796px; y1:382px; x2:1187px; y2:382px; "/>
- <button id="btn_pasthistadd" class="btn2_letter3" navindex="57" style="left:286px; top:5px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_pasthist.addRow();
- ]]>
- </script>
- </button>
- <select id="chk_ophistinclyn" ref="/root/main/histinfo/ophistinfo/ophist/ophistinclyn" navindex="65" overflow="visible" appearance="full" style="left:160px; top:310px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_famyhist);
-
- var rtn = fSetStatus();
- if(rtn == "6") {
- model.removeNodeset("/root/main/histinfo/ophistinfo/ophist/ophist");
- grd_ophist.rebuild();
- btn_ophistadd.disabled = true;
- btn_ophistdel.disabled = true;
- btn_ophistpop.disabled = true;
-
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn", "");
- chk_ophistinclyn.refresh();
- }
-
- } else {
- btn_ophistadd.disabled = false;
- btn_ophistdel.disabled = false;
- btn_ophistpop.disabled = false;
- grd_ophist.addRow();
- }
- ]]>
- </script>
- </select>
- <datagrid id="grd_allghist" nodeset="/root/main/histinfo/allghistinfo/allghist/allghist" scroll="auto" caption="발생일자^구분^Allergy 내역" colsep="^" colwidth="85, 70, 216" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:548px; width:390px; height:71px; ">
- <col ref="genrdd" type="inputdate"/>
- <col class="gridcombo" ref="flag" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0090">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="allergespec" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_allghist.colType(grd_allghist.col) == "input") {
- grd_allghist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_allghist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption1" class="tit_2" style="left:9px; top:416px; width:104px; height:13px; ">최근투약상태</caption>
- <button id="btn_rectmedistatdel" class="btn2_letter3" navindex="70" style="left:342px; top:411px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_rectmedistat.deleteRow(grd_rectmedistat.row);
- ]]>
- </script>
- </button>
- <button id="btn_inhistdel" class="btn2_letter3" navindex="64" style="left:342px; top:207px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_inhist.deleteRow(grd_inhist.row);
- ]]>
- </script>
- </button>
- <datagrid id="grd_inhist" nodeset="/root/main/histinfo/inhistinfo/inhist/inhist" scroll="auto" caption="입원일자^퇴원일자^병명^진료기관^inhistpk" colsep="^" colwidth="85, 85, 133, 67, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:232px; width:390px; height:71px; ">
- <col ref="indd" type="inputdate"/>
- <col ref="dschdd" type="inputdate"/>
- <col ref="illnm" type="input"/>
- <col ref="orddept" type="input"/>
- <col ref="inhistpk" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_inhist.colType(grd_inhist.col) == "input") {
- grd_inhist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_inhist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <select id="chk_pasthistyn" ref="/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn" navindex="56" overflow="visible" appearance="full" style="left:160px; top:7px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //과거병력 해당없음이 체크가 되어있느냐 없느냐 .
- if(model.getValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_pasthist);
-
- var rtn = fSetStatus();
-
- if(rtn == "6") {
- model.removeNodeset("/root/main/histinfo/pasthistinfo/pasthist/pasthist");
- grd_pasthist.rebuild();
- btn_pasthistadd.disabled = true;
- btn_pasthistdel.disabled = true;
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn", "");
- chk_pasthistyn.refresh();
- }
- } else {
-
- btn_pasthistadd.disabled = false;
- btn_pasthistdel.disabled = false;
-
- grd_pasthist.addRow();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <caption id="caption2" class="tit_2" style="left:10px; top:10px; width:104px; height:13px; ">과거병력</caption>
- <line id="line1" class="line_1" style="x1:5px; y1:126px; x2:395px; y2:126px; "/>
- <select id="chk_famyhistyn" ref="/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn" navindex="59" overflow="visible" appearance="full" style="left:160px; top:108px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_famyhist);
-
- var rtn = fSetStatus();
-
- if(rtn == "6") {
- model.removeNodeset("/root/main/histinfo/famyhistinfo/famyhist/famyhist");
- grd_famyhist.rebuild();
- btn_famyhistadd.disabled = true;
- btn_famyhistdel.disabled = true;
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/famyhistinfo/famyhist/famyhistinclyn", "");
- chk_famyhistyn.refresh();
- }
-
- } else {
- btn_famyhistadd.disabled = false;
- btn_famyhistdel.disabled = false;
- grd_famyhist.addRow();
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <caption id="caption3" class="tit_2" style="left:9px; top:111px; width:74px; height:13px; ">가족병력</caption>
- <button id="btn_famyhistadd" class="btn2_letter3" navindex="60" style="left:286px; top:106px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_famyhist.addRow();
- ]]>
- </script>
- </button>
- <datagrid id="grd_pasthist" nodeset="/root/main/histinfo/pasthistinfo/pasthist/pasthist" scroll="auto" caption="발생일자^병력내역^비고" colsep="^" colwidth="85, 169, 116" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:30px; width:390px; height:71px; ">
- <col ref="genrdd" type="inputdate"/>
- <col class="gridcombo" ref="histspec" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0532">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="remfact" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_pasthist.colType(grd_pasthist.col) == "input") {
- grd_pasthist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
-
- grd_pasthist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:5px; y1:227px; x2:395px; y2:227px; "/>
- <datagrid id="grd_famyhist" nodeset="/root/main/histinfo/famyhistinfo/famyhist/famyhist" scroll="auto" caption="관계^생존^병력내역^비고" colsep="^" colwidth="60, 40, 169, 102" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:131px; width:390px; height:71px; ">
- <col class="gridcombo" ref="famyrel" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0072">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="gridcombo" ref="existyn" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0088">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col class="gridcombo" ref="histspec" type="combo">
- <choices>
- <itemset nodeset="/root/init/mlist/M0368">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="remfact" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_famyhist.editCell();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_famyhist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:5px; y1:328px; x2:395px; y2:328px; "/>
- <caption id="caption4" class="tit_2" style="left:10px; top:313px; width:104px; height:13px; ">수술이력</caption>
- <line id="line4" class="line_1" style="x1:5px; y1:431px; x2:395px; y2:431px; "/>
- <button id="btn_allghistdel" class="btn2_letter3" navindex="73" style="left:342px; top:523px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_allghist.deleteRow(grd_allghist.row);
- ]]>
- </script>
- </button>
- <button id="btn_rectmedistatadd" class="btn2_letter3" navindex="69" style="left:286px; top:411px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_rectmedistat.addRow();
- ]]>
- </script>
- </button>
- <button id="btn_inhistadd" class="btn2_letter3" navindex="63" style="left:286px; top:207px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_inhist.addRow();
- ]]>
- </script>
- </button>
- <line id="line5" class="line_1" style="x1:5px; y1:431px; x2:395px; y2:431px; "/>
- <button id="btn_ophistdel" class="btn2_letter3" navindex="67" style="left:342px; top:308px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_ophist.deleteRow(grd_ophist.row);
- ]]>
- </script>
- </button>
- <line id="line6" class="line_1" style="x1:5px; y1:543px; x2:395px; y2:543px; "/>
- <button id="btn_pasthistdel" class="btn2_letter3" navindex="58" style="left:342px; top:5px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_pasthist.deleteRow(grd_pasthist.row);
- ]]>
- </script>
- </button>
- <line id="line7" class="line_1" style="x1:5px; y1:543px; x2:395px; y2:543px; "/>
- <caption id="caption6" class="tit_2" style="left:9px; top:212px; width:104px; height:13px; ">입원이력</caption>
- <line id="line8" class="line_1" style="x1:5px; y1:25px; x2:396px; y2:25px; "/>
- <datagrid id="grd_rectmedistat" nodeset="/root/main/histinfo/rectmedistatinfo/rectmedistat/rectmedistat" scroll="auto" caption="약명^복용법(용도/용량/용법)^진료기관" colsep="^" colwidth="70, 200, 101" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:436px; width:390px; height:71px; ">
- <col ref="drugnm" type="input"/>
- <col ref="direc" type="input"/>
- <col ref="orddept" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- grd_rectmedistat.editCell();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_rectmedistat.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <select id="chk_inhistyn" ref="/root/main/histinfo/inhistinfo/inhist/inhistinclyn" navindex="62" overflow="visible" appearance="full" style="left:160px; top:209px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_inhist);
-
- var rtn = fSetStatus();
- if(rtn == "6") {
- model.removeNodeset("/root/main/histinfo/inhistinfo/inhist/inhist");
- grd_inhist.rebuild();
- btn_inhistadd.disabled = true;
- btn_inhistdel.disabled = true;
- btn_inhistpop.disabled = true;
-
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/inhistinfo/inhist/inhistinclyn", "");
- chk_inhistyn.refresh();
- }
-
- } else {
- btn_inhistadd.disabled = false;
- btn_inhistdel.disabled = false;
- btn_inhistpop.disabled = false;
- grd_inhist.addRow();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <datagrid id="grd_ophist" nodeset="/root/main/histinfo/ophistinfo/ophist/ophist" scroll="auto" caption="수술일자^수술명^진료기관^ophistpk" colsep="^" colwidth="85, 185, 101, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:333px; width:390px; height:71px; ">
- <col ref="opdd" type="inputdate"/>
- <col ref="opnm" type="input"/>
- <col ref="orddept" type="input"/>
- <col ref="ophistpk" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_ophist.colType(grd_ophist.col) == "input") {
- grd_ophist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if(event.keyCode == 9) {
-
- grd_ophist.editCell();
- }
- ]]>
- </script>
- </datagrid>
- <button id="btn_famyhistdel" class="btn2_letter3" navindex="61" style="left:342px; top:106px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_famyhist.deleteRow(grd_famyhist.row);
- ]]>
- </script>
- </button>
- <select id="chk_rectmedistatinclyn" ref="/root/main/histinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn" navindex="68" visibility="hidden" overflow="visible" appearance="full" style="left:160px; top:413px; width:70px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_rectmedistat);
-
- var rtn = fSetStatus();
-
- if(rtn == "6") {
- model.removeNodeset("/root/main/histinfo/rectmedistatinfo/rectmedistat/rectmedistat");
- grd_rectmedistat.rebuild();
- btn_rectmedistatadd.disabled = true;
- btn_rectmedistatdel.disabled = true;
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn", "");
- chk_rectmedistatinclyn.refresh();
- }
-
- } else {
- btn_rectmedistatadd.disabled = false;
- btn_rectmedistatdel.disabled = false;
- grd_rectmedistat.addRow();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select>
- <button id="btn_allghistadd" class="btn2_letter3" navindex="72" style="left:286px; top:523px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_allghist.addRow();
- ]]>
- </script>
- </button>
- <button id="btn_ophistadd" class="btn2_letter3" navindex="66" style="left:286px; top:308px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_ophist.addRow();
- ]]>
- </script>
- </button>
- <caption id="caption7" class="tit_2" style="left:10px; top:528px; width:69px; height:13px; ">Allergy</caption>
- <button id="btn_inhistpop" class="icon_search" style="left:265px; top:209px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ioflag = model.getValue("/root/temp/cond/list/ioflag");
- var indd = "";
- if(ioflag == "O") {
- indd = model.getValue("/root/temp/cond/list/orddd");
- } else {
- indd = model.getValue("/root/temp/cond/list/indd");
- }
-
- setParameter("histflag", "inhist");
- setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
- setParameter("indd", indd);
- setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
- open("SPMNW12800");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btn_ophistpop" class="icon_search" style="left:265px; top:310px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ioflag = model.getValue("/root/temp/cond/list/ioflag");
- var indd = "";
- if(ioflag == "O") {
- indd = model.getValue("/root/temp/cond/list/orddd");
- } else {
- indd = model.getValue("/root/temp/cond/list/indd");
- }
-
- setParameter("histflag", "ophist");
- setParameter("pid", model.getValue("/root/temp/cond/list/pid"));
- setParameter("indd", indd);
- setParameter("instcd", model.getValue("/root/temp/cond/list/instcd"));
- open("SPMNW12800");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btn_allg" class="icon_search" style="left:265px; top:525px; width:16px; height:16px; ">
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPMMD03300");
- ]]>
- </script>
- <caption/>
- </button>
- <input id="ipt_drunkinfokind" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfokind" disabled="true" navindex="38" style="left:571px; top:55px; width:114px; height:19px; text-align:center; "/>
- <select1 id="rdo_drunkinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoyn" navindex="37" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:493px; top:58px; width:75px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoyn") == "2") {
- ipt_drunkinfokind.disabled = false;
- ipt_drunkinfoterm.disabled = false;
- } else {
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfokind");
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoterm");
-
- ipt_drunkinfokind.disabled = true;
- ipt_drunkinfoterm.disabled = true;
-
- ipt_drunkinfokind.refresh();
- ipt_drunkinfoterm.refresh();
- }
- ]]>
- </script>
- </select1>
- <line id="line31" class="line_2" style="x1:400px; y1:76px; x2:791px; y2:76px; "/>
- <caption id="cap_smokinfo" class="cell_1" style="left:400px; top:30px; width:90px; height:23px; text-align:left; ">흡연정보</caption>
- <input id="ipt_gustofood" ref="/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofooddetl" disabled="true" navindex="41" style="left:571px; top:79px; width:218px; height:19px; "/>
- <caption id="cap_gustofoodyn" class="cell_1" style="left:400px; top:78px; width:90px; height:23px; ">기호식품</caption>
- <line id="line32" class="line_2" style="x1:400px; y1:100px; x2:791px; y2:100px; "/>
- <line id="line44" class="line_2" style="x1:400px; y1:52px; x2:791px; y2:52px; "/>
- <line id="line33" class="line_1" style="x1:400px; y1:25px; x2:791px; y2:25px; "/>
- <caption id="caption42" class="tit_2" style="left:405px; top:10px; width:104px; height:13px; ">기호정보</caption>
- <select1 id="rdo_gustofoodyn" ref="/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofoodyn" navindex="40" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:493px; top:82px; width:75px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofoodyn") == "2") {
- ipt_gustofood.disabled = false;
- } else {
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/gustofoodinfo/gustofooddetl");
- ipt_gustofood.disabled = true;
- ipt_gustofood.refresh();
- }
-
- ]]>
- </script>
- </select1>
- <line id="line36" class="line_3" style="x1:400px; y1:124px; x2:791px; y2:124px; "/>
- <caption id="cap_tnsseffcyn" class="cell_1" style="left:400px; top:102px; width:90px; height:23px; ">수혈부작용</caption>
- <input id="ipt_drunkinfoterm" ref="/root/main/wardrecinfo/gustoinfo/gusto/drunkinfo/drunkinfoterm" disabled="true" navindex="39" style="left:688px; top:55px; width:55px; height:19px; text-align:center; "/>
- <caption id="cap_drunkinfoterm" style="left:742px; top:56px; width:57px; height:19px; text-align:center; ">기간(년)</caption>
- <input id="ipt_tnsseffc" ref="/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcdetl" disabled="true" navindex="43" style="left:571px; top:103px; width:218px; height:19px; "/>
- <select1 id="radio1" ref="/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcyn" navindex="42" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:493px; top:106px; width:75px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcyn") == "2") {
- ipt_tnsseffc.disabled = false;
- } else {
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/tnsseffcinfo/tnsseffcdetl");
-
- ipt_tnsseffc.disabled = true;
- ipt_tnsseffc.refresh();
- }
-
- ]]>
- </script>
- </select1>
- <caption id="cap_drunkinfo" class="cell_1" style="left:400px; top:54px; width:90px; height:23px; ">음주정보</caption>
- <select1 id="rdo_smokinfo" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn" navindex="33" appearance="full" cellspacing="10" cols="6" overflow="visible" style="left:494px; top:33px; width:270px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>확인불능</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfoyn") == "2") {
- ipt_smokinfocnt.disabled = false;
- ipt_smokinfocnt.refresh();
- } else {
- ipt_smokinfocnt.disabled = true;
- model.resetInstanceNode("/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt");
- ipt_smokinfocnt.refresh();
-
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_smokinfocnt" ref="/root/main/wardrecinfo/gustoinfo/gusto/smokinfo/smokinfocnt" disabled="true" navindex="41" style="left:571px; top:31px; width:110px; height:19px; "/>
- <select1 id="rdo_allgyn" ref="/root/main/histinfo/allghistinfo/allghist/allghistinclyn" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:80px; top:527px; width:140px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>무</label>
- <value>1</value>
- </item>
- <item>
- <label>유</label>
- <value>2</value>
- </item>
- <item>
- <label>잘모름</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn") == "1") {
-
- var isEmptyYN = "Y";
-
- isEmptyYN = isCheckGridDataYN(grd_allghist);
-
- var rtn = fSetStatus();
- if(rtn == "6") {
- model.removeNodeset("/root/main/histinfo/allghistinfo/allghist/allghist");
- grd_allghist.rebuild();
- btn_allghistadd.disabled = true;
- btn_allghistdel.disabled = true;
- } else if(rtn == "7") {
- model.setValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn", "");
- rdo_allgyn.refresh();
- }
-
- } else {
- btn_allghistadd.disabled = false;
- btn_allghistdel.disabled = false;
-
- if(grd_allghist.rows == 1) {
- grd_allghist.addRow();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- status = "click";
- ]]>
- </script>
- </select1>
- </xhtml:body>
- </xhtml:html>
|