123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>PRN처방 사유입력</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <result>
- <comduplprcplist>
- <status/>
- <resncd/>
- <prcpcd/>
- <prcpnm/>
- <prcpdays>1</prcpdays>
- <duplprcpcd/>
- <duplprcpnm/>
- <duplprcpdd/>
- <orddeptnm/>
- <orddrnm/>
- <rgstrnm/>
- <resncnt/>
- <prcpdd/>
- <prcpno/>
- <prcpterm>0</prcpterm>
- <prnterm/>
- </comduplprcplist>
- </result>
- <send>
- <cond1/>
- </send>
- <hardcd>
- <hardcd>
- <status/>
- <hardcd/>
- <hardcdnm/>
- <resncmt/>
- </hardcd>
- </hardcd>
- <init>
- <selcond1>1</selcond1>
- </init>
- <main>
- <prcp>
- <prcplist>
- <tempcol15/>
- <tempcol19/>
- </prcplist>
- </prcp>
- <resncd/>
- <detailA/>
- <detailB/>
- <detailC/>
- <detailD/>
- <detailE/>
- <detailF/>
- <detailG/>
- <detailH/>
- <detailI/>
- <detailJ/>
- <detailK/>
- <detailL/>
- <rmkA/>
- <rmkB/>
- <rmkC/>
- <rmkD/>
- <rmkE/>
- <rmkF/>
- <rmkG/>
- <rmkH/>
- <rmkI/>
- <rmkJ/>
- <rmkK/>
- <rmkL/>
- <rmkZ/>
- </main>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- var poploca = opener.javascript.getParameter("SPMMO19200_pop");
- var popprcpcd = opener.javascript.getParameter("SPMMO19200_prcpcd");
- model.setValue("/root/result/comduplprcplist/prcpcd",popprcpcd);
- document.title = document.title + "[" + model.getValue("/root/result/comduplprcplist/prcpcd") + " : " + opener.javascript.getParameter("SPMMO19200_prcpnm")+ "]";
- model.refresh();
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB16401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hardcd"/>
- <bind id="bind1" ref="/root/hardcd/hardcd/hardcdnm" readonly="../hardcd != 'D7'"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue ( "/root/send/cond1", "172" );
- submit("TRMMB16401" );
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function isNumbers(str) {
- str += ''; // 문자열로 변환
- str = str.replace(/^\s*|\s*$/g, ''); // 좌우 공백 제거
- if (str == '' || isNaN(str)) return false;
- return true;
- }
-
- function initResnInfo() {
- model.setValue("/root/main/detailA", "");
- model.setValue("/root/main/detailB", "");
- model.setValue("/root/main/detailC", "");
- model.setValue("/root/main/detailD", "");
- model.setValue("/root/main/detailE", "");
- model.setValue("/root/main/detailF", "");
- model.setValue("/root/main/detailG", "");
- model.setValue("/root/main/detailH", "");
- model.setValue("/root/main/detailI", "");
- model.setValue("/root/main/detailJ", "");
- model.setValue("/root/main/detailK", "");
- model.setValue("/root/main/detailL", "");
-
- model.setValue("/root/main/rmkA", "");
- model.setValue("/root/main/rmkB", "");
- model.setValue("/root/main/rmkC", "");
- model.setValue("/root/main/rmkD", "");
- model.setValue("/root/main/rmkE", "");
- model.setValue("/root/main/rmkF", "");
- model.setValue("/root/main/rmkG", "");
- model.setValue("/root/main/rmkH", "");
- model.setValue("/root/main/rmkI", "");
- model.setValue("/root/main/rmkJ", "");
- model.setValue("/root/main/rmkK", "");
- model.setValue("/root/main/rmkL", "");
- model.setValue("/root/main/rmkZ", "");
-
- radioA.disabled = true;
- radioB.disabled = true;
- radioC.disabled = true;
- radioE.disabled = true;
- radioF.disabled = true;
- radioG.disabled = true;
- radioH.disabled = true;
- radioI.disabled = true;
- radioJ.disabled = true;
- radioK.disabled = true;
- radioL.disabled = true;
-
- inputA.disabled = true;
- inputB.disabled = true;
- inputC.disabled = true;
- inputE.disabled = true;
- inputF.disabled = true;
- inputG.disabled = true;
- inputH.disabled = true;
- inputI.disabled = true;
- inputJ.disabled = true;
- inputK.disabled = true;
- inputL.disabled = true;
- inputZ.disabled = true;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="760" pageheight="440" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <button id="btn_save" class="btn4_letter2" style="left:620px; top:401px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sInstCd = getUserInfo("dutplceinstcd");
- var sResnCd = model.getValue("/root/main/resncd"); // 사유코드
- var sResnNm = radioResnCd.label; // 사유명칭
- var sDetailCd = "" // 상세사유코드
- var sResnCmt = ""; // 상세사유
- var sPrnNum = model.getValue("/root/result/comduplprcplist/prcpdays"); // PRN 횟수
- var sPrcpTerm = model.getValue("/root/result/comduplprcplist/prcpterm"); // PRN 간격
- var sPrnTerm = ""; // PRN 간격 직접입력
-
- if(sPrcpTerm == "0" ) { // 선택
- sPrnTerm = "";
- } else if(sPrcpTerm == "99" ) { // 기타
- sPrnTerm = model.getValue("/root/result/comduplprcplist/prnterm");
- } else {
- sPrnTerm = comboprcpterm.label;
- }
-
- var daystf = isNumbers(sPrnNum);
- if (daystf == false){
- messageBox ( "처방횟수는 숫자로 입력해 주세요.", "E" );
- return;
- }
- if(sPrnNum < 1){
- messageBox ( "처방 횟수는 0 이상이어야 합니다.", "E" );
- return;
- }
-
- //if(sInstCd == "031") { // 칠곡도 간격을 선택 하도록 수정 2016.06.16 엄영만 요청서 20160615006
- if(sPrnNum > 1){
- if(sPrcpTerm == "0" ) {
- messageBox ( "처방 횟수가 2 이상면 PRN간격을 선택해야 합니다.", "E" );
- return;
- } else if(sPrcpTerm == "99" && sPrnTerm =="" ) {
- messageBox ( "PRN 간격을 '기타'로 선택 하면, 내용을 직접 입력 하셔야 합니다.", "E" );
- return;
- }
- }
- //}
-
- if(isNull(sResnCd)) {
- messageBox ( "PRN 사유를 선택 하세요.", "E" );
- return;
- }
-
- if(sResnCd == "A") {
- sDetailCd = model.getValue("/root/main/detailA");
- if(sDetailCd == "99") {
- sResnCmt = model.getValue("/root/main/rmkA");
- } else {
- sResnCmt = radioA.label;
- }
- } else if(sResnCd == "B") {
- sDetailCd = model.getValue("/root/main/detailB");
- if(sDetailCd == "99") {
- sResnCmt = model.getValue("/root/main/rmkB");
- } else {
- sResnCmt = radioB.label;
- }
- } else if(sResnCd == "C") {
- sDetailCd = model.getValue("/root/main/detailC");
- if(sDetailCd == "99") {
- sResnCmt = model.getValue("/root/main/rmkC");
- } else {
- sResnCmt = radioC.label;
- }
- } else if(sResnCd == "E") {
- sDetailCd = model.getValue("/root/main/detailE");
- if(sDetailCd == "99") {
- sResnCmt = model.getValue("/root/main/rmkE");
- } else {
- sResnCmt = radioE.label;
- }
- } else if(sResnCd == "F") {
- sDetailCd = model.getValue("/root/main/detailF");
- if(sDetailCd == "99") {
- sResnCmt = model.getValue("/root/main/rmkF");
- } else {
- sResnCmt = radioF.label;
- }
- } else if(sResnCd == "G") {
- sDetailCd = model.getValue("/root/main/detailG");
- if(sDetailCd == "99") {
- sResnCmt = model.getValue("/root/main/rmkG");
- } else {
- sResnCmt = radioG.label;
- }
- } else if(sResnCd == "H") {
- sDetailCd = model.getValue("/root/main/detailH");
- if(sDetailCd == "99") {
- sResnCmt = model.getValue("/root/main/rmkH");
- } else {
- sResnCmt = radioH.label;
- }
- } else if(sResnCd == "I") {
- sDetailCd = model.getValue("/root/main/detailI");
- if(sDetailCd == "99") {
- sResnCmt = model.getValue("/root/main/rmkI");
- } else {
- sResnCmt = radioI.label;
- }
- } else if(sResnCd == "J") {
- sDetailCd = model.getValue("/root/main/detailJ");
- if(sDetailCd == "99") {
- sResnCmt = model.getValue("/root/main/rmkJ");
- } else {
- sResnCmt = radioJ.label;
- }
- } else if(sResnCd == "K") {
- sDetailCd = model.getValue("/root/main/detailK");
- if(sDetailCd == "99") {
- sResnCmt = model.getValue("/root/main/rmkK");
- } else {
- sResnCmt = radioK.label;
- }
- } else if(sResnCd == "L") {
- sDetailCd = model.getValue("/root/main/detailL");
- if(sDetailCd == "99") {
- sResnCmt = model.getValue("/root/main/rmkL");
- } else {
- sResnCmt = radioL.label;
- }
- } else if(sResnCd == "Z") {
- sResnCmt = model.getValue("/root/main/rmkZ");
- }
-
- if(isNull(sResnCmt)) {
- if(sResnCd == "Z" || sDetailCd == "99") {
- messageBox ( "기타 항목 선택시 상세항목을 기재하여야 합니다.", "E" );
- } else {
- messageBox ( "상세사유를 선택 하세요.", "E" );
- }
- } else {
- opener.javascript.setParameter ( "SPMMO19200_resncd", sResnCd);
- opener.javascript.setParameter ( "SPMMO19200_prnNum", sPrnNum );
- opener.javascript.setParameter ( "SPMMO19200_prnTerm", sPrnTerm );
- opener.javascript.setParameter ( "SPMMO19200_rtn1", "Y" );
- opener.javascript.setParameter ( "SPMMO19200_resncmt", sResnCmt );
- opener.javascript.setParameter ( "SPMMO19200_resnnm", sResnNm );
-
- window.close();
- }
- ]]>
- </script>
- </button>
- <caption id="caption1" class="tit_2" style="left:0px; top:2px; width:179px; height:13px; ">PRN 처방횟수 회</caption>
- <caption id="caption5" class="tit_2" style="left:0px; top:23px; width:113px; height:13px; ">PRN 투여간격</caption>
- <select1 id="comboprcpterm" ref="/root/result/comduplprcplist/prcpterm" appearance="minimal" style="left:100px; top:21px; width:310px; height:19px; ">
- <choices>
- <item>
- <label>선택</label>
- <value>0</value>
- </item>
- <item>
- <label>동일 PRN약물과 최소 30분 투여간격 유지해주세요.</label>
- <value>1</value>
- </item>
- <item>
- <label>동일 PRN약물과 최소 1시간 투여간격 유지해주세요.</label>
- <value>2</value>
- </item>
- <item>
- <label>동일 PRN약물과 최소 2시간 투여간격 유지해주세요.</label>
- <value>3</value>
- </item>
- <item>
- <label>동일 PRN약물과 최소 3시간 투여간격 유지해주세요.</label>
- <value>4</value>
- </item>
- <item>
- <label>동일 PRN약물과 최소 4시간 투여간격 유지해주세요.</label>
- <value>5</value>
- </item>
- <item>
- <label>동일 PRN약물과 최소 5시간 투여간격 유지해주세요.</label>
- <value>6</value>
- </item>
- <item>
- <label>기타(직접입력)</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sPrcpTerm = model.getValue("/root/result/comduplprcplist/prcpterm");
- if(sPrcpTerm == "99") {
- inputterm.disabled = false;
- } else {
- model.setValue("/root/result/comduplprcplist/prnterm", "");
- inputterm.disabled = true;
- }
- inputterm.refresh();
- ]]>
- </script>
- </select1>
- <input id="inputterm" ref="/root/result/comduplprcplist/prnterm" disabled="true" style="left:415px; top:21px; width:320px; height:19px; "/>
- <button id="button2" class="btn4_letter2" style="left:680px; top:401px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- messageBox ( "사유 입력을 취소하였으므로 PRN 설정이 취소됩니다.", "E" );
- opener.javascript.setParameter ( "SPMMO19200_rtn1", "N" );
- window.close();
- ]]>
- </script>
- </button>
- <caption id="caption3" class="tit_2" style="left:0px; top:41px; width:171px; height:15px; ">PRN 상세사유</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:57px; x2:735px; y2:57px; "/>
- <input id="input1" ref="/root/result/comduplprcplist/prcpdays" style="left:100px; top:0px; width:30px; height:19px; font-weight:bold; text-align:right; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sInstCd = getUserInfo("dutplceinstcd");
- if(sInstCd == "031") {
- if(model.getValue("/root/result/comduplprcplist/prcpdays")>3){
- messageBox ( "PRN 처방횟수는 3회를 초과할 수 없습니다.", "E" );
- model.setValue("/root/result/comduplprcplist/prcpdays","1")
- model.refresh();
- }
- } else {
- if(model.getValue("/root/result/comduplprcplist/prcpdays")>6){
- messageBox ( "PRN 처방횟수는 6회를 초과할 수 없습니다.", "E" );
- model.setValue("/root/result/comduplprcplist/prcpdays","1")
- model.refresh();
- }
- }
-
- if(model.getValue("/root/result/comduplprcplist/prcpdays") == "1"){
- model.setValue("/root/result/comduplprcplist/prcpterm", "0");
- model.setValue("/root/result/comduplprcplist/prnterm", "");
- inputterm.disabled = true;
- comboprcpterm.refresh();
- inputterm.refresh();
- }
- ]]>
- </script>
- </input>
- <output id="output1" ref="/root/result/comduplprcplist/prcpcd" visibility="hidden" style="left:160px; top:40px; width:120px; height:19px; font-size:13pt; font-weight:bold; text-align:center; "/>
- <caption id="caption4" visibility="hidden" style="left:100px; top:42px; width:58px; height:15px; ">처방코드 :</caption>
- <caption id="caption156" class="cell_1" style="left:0px; top:62px; width:90px; height:25px; text-align:center; ">사유</caption>
- <caption id="caption2" class="cell_1" style="left:90px; top:62px; width:645px; height:25px; text-align:center; ">상세사유</caption>
- <select1 id="radioResnCd" ref="/root/main/resncd" appearance="full" cols="1" vcellspacing="10" overflow="visible" style="left:3px; top:87px; width:87px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/hardcd/hardcd">
- <label ref="hardcdnm"/>
- <value ref="hardcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sResnCd = model.getValue("/root/main/resncd");
- initResnInfo();
-
- if(sResnCd == "A") {
- radioA.disabled = false;
- } else if(sResnCd == "B") {
- radioB.disabled = false;
- } else if(sResnCd == "C") {
- radioC.disabled = false;
- } else if(sResnCd == "E") {
- radioE.disabled = false;
- } else if(sResnCd == "F") {
- radioF.disabled = false;
- } else if(sResnCd == "G") {
- radioG.disabled = false;
- } else if(sResnCd == "H") {
- radioH.disabled = false;
- } else if(sResnCd == "I") {
- radioI.disabled = false;
- } else if(sResnCd == "J") {
- radioJ.disabled = false;
- } else if(sResnCd == "K") {
- radioK.disabled = false;
- } else if(sResnCd == "L") {
- radioL.disabled = false;
- } else if(sResnCd == "Z") {
- inputZ.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <line id="line3" class="line_3" style="x1:0px; y1:87px; x2:735px; y2:87px; "/>
- <line id="line4" class="line_3" style="x1:0px; y1:113px; x2:735px; y2:113px; "/>
- <line id="line5" class="line_3" style="x1:0px; y1:139px; x2:735px; y2:139px; "/>
- <line id="line6" class="line_3" style="x1:0px; y1:165px; x2:735px; y2:165px; "/>
- <line id="line7" class="line_3" style="x1:0px; y1:191px; x2:735px; y2:191px; "/>
- <line id="line8" class="line_3" style="x1:0px; y1:217px; x2:735px; y2:217px; "/>
- <line id="line9" class="line_3" style="x1:0px; y1:243px; x2:735px; y2:243px; "/>
- <line id="line10" class="line_3" style="x1:0px; y1:269px; x2:735px; y2:269px; "/>
- <line id="line11" class="line_3" style="x1:0px; y1:295px; x2:735px; y2:295px; "/>
- <line id="line12" class="line_3" style="x1:0px; y1:321px; x2:735px; y2:321px; "/>
- <line id="line13" class="line_3" style="x1:0px; y1:346px; x2:735px; y2:346px; "/>
- <line id="line14" class="line_3" style="x1:0px; y1:376px; x2:735px; y2:376px; "/>
- <line id="line16" class="line_3" style="x1:0px; y1:398px; x2:735px; y2:398px; "/>
- <line id="line15" class="line_3" style="x1:89px; y1:398px; x2:89px; y2:87px; "/>
- <caption id="captionB" style="left:95px; top:147px; width:33px; height:15px; ">체온</caption>
- <select1 id="radioA" ref="/root/main/detailA" disabled="true" appearance="full" cols="11" overflow="visible" style="left:155px; top:119px; width:385px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>4점 이상</label>
- <value>2</value>
- </item>
- <item>
- <label>5점 이상</label>
- <value>3</value>
- </item>
- <item>
- <label>6점 이상</label>
- <value>4</value>
- </item>
- <item>
- <label>7점 이상</label>
- <value>5</value>
- </item>
- <item>
- <label>8점 이상</label>
- <value>6</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sDetailA = model.getValue("/root/main/detailA");
- if(sDetailA == "99") {
- inputA.disabled = false;
- } else {
- model.setValue("/root/main/rmkA", "");
- inputA.disabled = true;
- }
- inputA.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radioB" ref="/root/main/detailB" disabled="true" appearance="full" cols="7" overflow="visible" style="left:125px; top:145px; width:535px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>37.8℃ 이상</label>
- <value>1</value>
- </item>
- <item>
- <label>38.0℃ 이상</label>
- <value>2</value>
- </item>
- <item>
- <label>38.2℃ 이상</label>
- <value>3</value>
- </item>
- <item>
- <label>38.4℃이상</label>
- <value>4</value>
- </item>
- <item>
- <label>38.6℃ 이상</label>
- <value>5</value>
- </item>
- <item>
- <label>38.8℃이상</label>
- <value>6</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sDetailB = model.getValue("/root/main/detailB");
- if(sDetailB == "99") {
- inputB.disabled = false;
- } else {
- model.setValue("/root/main/rmkB", "");
- inputB.disabled = true;
- }
- inputB.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radioC" ref="/root/main/detailC" disabled="true" appearance="full" cols="11" overflow="visible" style="left:154px; top:93px; width:386px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>4점 이상</label>
- <value>2</value>
- </item>
- <item>
- <label>5점 이상</label>
- <value>3</value>
- </item>
- <item>
- <label>6점 이상</label>
- <value>4</value>
- </item>
- <item>
- <label>7점 이상</label>
- <value>5</value>
- </item>
- <item>
- <label>8점 이상</label>
- <value>6</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sDetailC = model.getValue("/root/main/detailC");
- if(sDetailC == "99") {
- inputC.disabled = false;
- } else {
- model.setValue("/root/main/rmkC", "");
- inputC.disabled = true;
- }
- inputC.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radioE" ref="/root/main/detailE" disabled="true" appearance="full" cols="7" overflow="visible" style="left:95px; top:171px; width:310px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>1회 이상</label>
- <value>1</value>
- </item>
- <item>
- <label>2회 이상</label>
- <value>2</value>
- </item>
- <item>
- <label>3회 이상</label>
- <value>3</value>
- </item>
- <item>
- <label>4회 이상</label>
- <value>4</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sDetailE = model.getValue("/root/main/detailE");
- if(sDetailE == "99") {
- inputE.disabled = false;
- } else {
- model.setValue("/root/main/rmkE", "");
- inputE.disabled = true;
- }
- inputE.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radioF" ref="/root/main/detailF" disabled="true" appearance="full" cols="7" overflow="visible" style="left:95px; top:197px; width:310px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>1회 이상</label>
- <value>1</value>
- </item>
- <item>
- <label>2회 이상</label>
- <value>2</value>
- </item>
- <item>
- <label>3회 이상</label>
- <value>3</value>
- </item>
- <item>
- <label>4회 이상</label>
- <value>4</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sDetailF = model.getValue("/root/main/detailF");
- if(sDetailF == "99") {
- inputF.disabled = false;
- } else {
- model.setValue("/root/main/rmkF", "");
- inputF.disabled = true;
- }
- inputF.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radioG" ref="/root/main/detailG" disabled="true" appearance="full" cols="7" overflow="visible" style="left:95px; top:223px; width:310px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>1일 이상</label>
- <value>1</value>
- </item>
- <item>
- <label>2일 이상</label>
- <value>2</value>
- </item>
- <item>
- <label>3일 이상</label>
- <value>3</value>
- </item>
- <item>
- <label>4일 이상</label>
- <value>4</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sDetailG = model.getValue("/root/main/detailG");
- if(sDetailG == "99") {
- inputG.disabled = false;
- } else {
- model.setValue("/root/main/rmkG", "");
- inputG.disabled = true;
- }
- inputG.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radioH" ref="/root/main/detailH" disabled="true" appearance="full" cols="7" overflow="visible" style="left:95px; top:249px; width:165px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>견디기 힘든 정도</label>
- <value>1</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sDetailH = model.getValue("/root/main/detailH");
- if(sDetailH == "99") {
- inputH.disabled = false;
- } else {
- model.setValue("/root/main/rmkH", "");
- inputH.disabled = true;
- }
- inputH.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radioI" ref="/root/main/detailI" disabled="true" appearance="full" cols="7" overflow="visible" style="left:95px; top:275px; width:415px; height:20px; 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>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sDetailI = model.getValue("/root/main/detailI");
- if(sDetailI == "99") {
- inputI.disabled = false;
- } else {
- model.setValue("/root/main/rmkI", "");
- inputI.disabled = true;
- }
- inputI.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radioJ" ref="/root/main/detailJ" disabled="true" appearance="full" cols="7" overflow="visible" style="left:95px; top:301px; width:475px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>23시 이후 불면 호소 시</label>
- <value>1</value>
- </item>
- <item>
- <label>0시 이후 불면 호소 시</label>
- <value>2</value>
- </item>
- <item>
- <label>1시 이후 불면 호소 시</label>
- <value>3</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sDetailJ = model.getValue("/root/main/detailJ");
- if(sDetailJ == "99") {
- inputJ.disabled = false;
- } else {
- model.setValue("/root/main/rmkJ", "");
- inputJ.disabled = true;
- }
- inputJ.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radioK" ref="/root/main/detailK" disabled="true" appearance="full" cols="7" overflow="visible" style="left:95px; top:326px; width:325px; height:20px; 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>
- <item>
- <label>떨림</label>
- <value>4</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sDetailK = model.getValue("/root/main/detailK");
- if(sDetailK == "99") {
- inputK.disabled = false;
- } else {
- model.setValue("/root/main/rmkK", "");
- inputK.disabled = true;
- }
- inputK.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="radioL" ref="/root/main/detailL" disabled="true" appearance="full" cols="4" vcellspacing="-2" overflow="visible" style="left:95px; top:347px; width:360px; height:30px; border-style:none; ">
- <choices>
- <item>
- <label>SBP 150이상</label>
- <value>1</value>
- </item>
- <item>
- <label>SBP 160이상</label>
- <value>2</value>
- </item>
- <item>
- <label>SBP 170이상</label>
- <value>3</value>
- </item>
- <item>
- <label>SBP 180이상</label>
- <value>4</value>
- </item>
- <item>
- <label>DBP 90이상</label>
- <value>5</value>
- </item>
- <item>
- <label>DBP 100이상</label>
- <value>6</value>
- </item>
- <item>
- <label>DBP 120이상</label>
- <value>7</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var sDetailL = model.getValue("/root/main/detailL");
- if(sDetailL == "99") {
- inputL.disabled = false;
- } else {
- model.setValue("/root/main/rmkL", "");
- inputL.disabled = true;
- }
- inputL.refresh();
- ]]>
- </script>
- </select1>
- <input id="inputA" ref="/root/main/rmkA" disabled="true" visibility="visible" style="left:545px; top:119px; width:190px; height:19px; "/>
- <input id="inputB" ref="/root/main/rmkB" disabled="true" style="left:660px; top:146px; width:75px; height:19px; "/>
- <input id="inputC" ref="/root/main/rmkC" disabled="true" visibility="visible" style="left:545px; top:93px; width:190px; height:19px; "/>
- <input id="inputE" ref="/root/main/rmkE" disabled="true" style="left:405px; top:172px; width:330px; height:19px; "/>
- <input id="inputF" ref="/root/main/rmkF" disabled="true" style="left:405px; top:198px; width:330px; height:19px; "/>
- <input id="inputG" ref="/root/main/rmkG" disabled="true" style="left:405px; top:224px; width:330px; height:19px; "/>
- <input id="inputH" ref="/root/main/rmkH" disabled="true" style="left:260px; top:250px; width:475px; height:19px; "/>
- <input id="inputI" ref="/root/main/rmkI" disabled="true" style="left:510px; top:276px; width:225px; height:19px; "/>
- <input id="inputJ" ref="/root/main/rmkJ" disabled="true" style="left:570px; top:302px; width:165px; height:19px; "/>
- <input id="inputK" ref="/root/main/rmkK" disabled="true" style="left:420px; top:327px; width:315px; height:19px; "/>
- <input id="inputL" ref="/root/main/rmkL" disabled="true" style="left:455px; top:357px; width:280px; height:19px; "/>
- <input id="inputZ" ref="/root/main/rmkZ" disabled="true" style="left:95px; top:379px; width:640px; height:19px; "/>
- <caption id="caption6" style="left:95px; top:95px; width:55px; height:15px; ">통증점수</caption>
- <caption id="caption7" style="left:95px; top:120px; width:55px; height:15px; ">통증점수</caption>
- </xhtml:body>
- </xhtml:html>
|