123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <baseinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- </patinfolist>
- <tdminfolist>
- <gubun/>
- <replrsltflag/>
- <testcd/>
- <repldd/>
- <cnstcnts/>
- <recmregmcnts/>
- <prestregmcnts/>
- <cmt/>
- <trghbcoldt/>
- <peakbcoldt/>
- <trghblodconcen/>
- <peakblodconcen/>
- <tjudgrslt/>
- <pjudgrslt/>
- <rgstseqno/>
- <formrecseq/>
- <pid/>
- </tdminfolist>
- </baseinfo>
- <tdminfo>
- </tdminfo>
- </main>
- <send>
- <pid/>
- <req>
- <data/>
- </req>
- <replrsltflag/>
- <replrsltnoflag/>
- </send>
- <init>
- <tdmrslt/>
- <tdmrsltno/>
- <formflag>TDM</formflag>
- </init>
- <hidden/>
- </root>
- </instance>
- <submission id="TRADB00001"/>
- <submission id="TRADC01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/baseinfo"/>
- <submission id="TXADC01101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- pharmacyGetCodeList( new Array("TDM1","TDM2"), new Array("/root/init/tdmrslt","/root/init/tdmrsltno") );
-
- model.refresh();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../ast/pharmacybaseweb/js/pharmacycombolist.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">TDM회신결과입력</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <output id="output6" ref="/root/main/baseinfo/patinfolist/sex" class="output_fix" style="left:530px; top:35px; width:50px; height:19px; "/>
- <output id="output7" ref="/root/main/baseinfo/patinfolist/hngnm" class="output_fix" style="left:300px; top:35px; width:150px; height:19px; "/>
- <caption id="caption52" class="cell_1" style="left:0px; top:35px; width:70px; height:23px; vertical-align:middle; ">등록번호</caption>
- <caption id="caption31" class="cell_1" style="left:585px; top:35px; width:40px; height:23px; vertical-align:middle; ">나이</caption>
- <caption id="caption12" class="cell_1" style="left:690px; top:35px; width:70px; height:23px; vertical-align:middle; ">회신결과</caption>
- <line id="line27" class="line_3" style="x1:0px; y1:57px; x2:1194px; y2:57px; "/>
- <caption id="caption25" class="cell_1" style="left:225px; top:35px; width:70px; height:23px; vertical-align:middle; ">성명</caption>
- <caption id="caption14" class="tit_2" style="left:5px; top:65px; width:260px; height:14px; ">환자약동학 자료등록 (회신자료)</caption>
- <caption id="caption16" class="cell_1" style="left:455px; top:35px; width:70px; height:23px; vertical-align:middle; ">성별</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:30px; x2:1194px; y2:30px; "/>
- <caption id="caption7" class="tit_2" style="left:5px; top:10px; width:144px; height:13px; ">환자정보</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:80px; x2:1194px; y2:80px; "/>
- <line id="line5" class="line_3" style="x1:0px; y1:735px; x2:1194px; y2:735px; "/>
- <output id="output1" ref="/root/main/baseinfo/patinfolist/age" class="output_fix" style="left:630px; top:35px; width:55px; height:19px; "/>
- <input id="output3" ref="/root/main/baseinfo/patinfolist/pid" class="input_s_essential" style="left:75px; top:35px; width:145px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="combo4" ref="/root/send/replrsltflag" class="combo_essential" appearance="minimal" cellspacing="5" showvalue="true" style="left:765px; top:35px; width:130px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/tdmrslt/TDM1">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- for(var i = 0; i < grd_tdmlist.selectedRows; i++) {
- var col = grd_tdmlist.colRef ("replrsltflag");
- grd_tdmlist.valueMatrix (grd_tdmlist.selectedRow(i),2) = model.getValue("/root/send/replrsltflag");
- grd_tdmlist.addStatus(grd_tdmlist.selectedRow(i), "update");
- }
- if (i <1) {
- messageBox("회신내역을 선택후 확인하시기 바랍니다","I");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="btn_sea" class="btn1_letter2" visibility="visible" style="left:175px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/pid",model.getValue("/root/main/baseinfo/patinfolist/pid"));
- submit("TRADC01101");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_tdmlist" nodeset="/root/main/baseinfo/tdminfolist[gubun = 'N']" scroll="auto" backcoloralternate="#f0f0f0" caption="회신구분^회신결과^약물명^회신일^자문내용^추천 Regimen^현재 Regimen^참고사항^채혈일(Trough)^채혈일(Peak)^농도(Trough)^농도(Peak)^판정결과(Trough)^판정결과(Peak)^rgstseqno^formrecseq^pid" colsep="^" colwidth="100, 127, 177, 90, 98, 158, 153, 140, 113, 112, 108, 100, 131, 118, 100, 102, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:85px; width:1194px; height:360px; ">
- <col ref="gubun" visibility="hidden"/>
- <col ref="replrsltflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/tdmrslt/TDM1">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="testcd"/>
- <col ref="repldd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cnstcnts" style="text-align:center; "/>
- <col ref="recmregmcnts"/>
- <col ref="prestregmcnts"/>
- <col ref="cmt"/>
- <col ref="trghbcoldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="peakbcoldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="trghblodconcen" style="text-align:center; "/>
- <col ref="peakblodconcen" style="text-align:center; "/>
- <col ref="tjudgrslt" style="text-align:center; "/>
- <col ref="pjudgrslt" style="text-align:center; "/>
- <col ref="rgstseqno" visibility="hidden"/>
- <col ref="formrecseq"/>
- <col ref="pid"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- ]]>
- </script>
- </datagrid>
- <group id="group2" scroll="auto" style="left:250px; top:0px; width:944px; height:29px; ">
- <button id="button1" class="btn4_letter4" style="left:786px; top:5px; width:80px; height:22px; ">
- <caption>저장취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("[저장취소] ","Q004")==6 ) {
- for(var i = 0; i < grd_tdmlist.selectedRows; i++) {
- var col = grd_tdmlist.colRef ("replrsltflag");
- grd_tdmlist.valueMatrix (grd_tdmlist.selectedRow(i),col) = "";
- grd_tdmlist.addStatus(grd_tdmlist.selectedRow(i), "update");
- }
- for(var i = 0; i < grd_tdmlist2.selectedRows; i++) {
- var col = grd_tdmlist2.colRef ("replrsltflag");
- grd_tdmlist2.valueMatrix (grd_tdmlist2.selectedRow(i), col ) = "";
- grd_tdmlist2.addStatus(grd_tdmlist2.selectedRow(i), "update");
- }
-
- var update = getGridUpdateData(grd_tdmlist) + getGridUpdateData(grd_tdmlist2);
-
- if (update == "") {
- messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
-
- } else {
- model.setValue("/root/send/req/data", update); //회신자료/ 회신제외자료 회신결과 Update
- submit("TXADC01101"); //회신자료/ 회신제외자료 회신결과 Update
- submit("TRADC01101"); //데이타 재 조회
- model.refresh();
- }
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_cle" class="btn4_letter3" style="left:867px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_tdmlist.rebuild(); //선택 내용 Clear
- grd_tdmlist2.rebuild(); //선택 내용 Clear
- submit("TRADC01101");
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:728px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("","Q002")==6 ) {
- var update = getGridUpdateData(grd_tdmlist) + getGridUpdateData(grd_tdmlist2);
-
- if (update == "") {
- messageBox("업데이트 정보가 없습니다.", "I");
- return 0;
-
- } else {
- model.setValue("/root/send/req/data", update); //회신자료/ 회신제외자료 회신결과 Update
- submit("TXADC01101");
- }
-
- submit("TRADC01101");
- }
-
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption1" class="cell_1" style="left:910px; top:35px; width:90px; height:23px; vertical-align:middle; ">회신제외내용</caption>
- <select1 id="combo1" ref="/root/send/replrsltnoflag" class="combo_essential" appearance="minimal" cellspacing="5" showvalue="true" style="left:1005px; top:35px; width:140px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/tdmrsltno/TDM2">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- for(var i = 0; i < grd_tdmlist2.selectedRows; i++) {
- var col = grd_tdmlist2.colRef ("replrsltflag");
- grd_tdmlist2.valueMatrix (grd_tdmlist2.selectedRow(i),2) = model.getValue("/root/send/replrsltnoflag");
- grd_tdmlist2.addStatus(grd_tdmlist2.selectedRow(i), "update");
- }
- if (i <1) {
- messageBox("회신제외 내역을 선택후 확인하시기 바랍니다","I");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="tit_2" style="left:5px; top:454px; width:260px; height:14px; ">환자약동학 자료등록 (회신제외자료)</caption>
- <datagrid id="grd_tdmlist2" nodeset="/root/main/baseinfo/tdminfolist[gubun = 'Y']" scroll="auto" backcoloralternate="#f0f0f0" caption="회신구분^회신제외사유^약물명^회신일^자문내용^추천 Regimen^현재 Regimen^참고사항^채혈일(Trough)^채혈일(Peak)^농도(Trough)^농도(Peak)^판정결과(Trough)^판정결과(Peak)^rgstseqno^formrecseq^pid^formrecseq" colsep="^" colwidth="100, 129, 173, 87, 112, 158, 153, 140, 113, 116, 108, 100, 131, 118, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:475px; width:1194px; height:261px; ">
- <col ref="gubun" visibility="hidden"/>
- <col ref="replrsltflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/tdmrsltno/TDM2">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="testcd"/>
- <col ref="repldd" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="cnstcnts" style="text-align:center; "/>
- <col ref="recmregmcnts"/>
- <col ref="prestregmcnts"/>
- <col ref="cmt"/>
- <col ref="trghbcoldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="peakbcoldt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="trghblodconcen" style="text-align:center; "/>
- <col ref="peakblodconcen" style="text-align:center; "/>
- <col ref="tjudgrslt" style="text-align:center; "/>
- <col ref="pjudgrslt" style="text-align:center; "/>
- <col ref="rgstseqno" visibility="hidden"/>
- <col ref="formrecseq"/>
- <col ref="pid"/>
- </datagrid>
- <button id="button3" class="btn2_letter2" style="left:1140px; top:60px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- grd_tdmlist.saveExcel(file);
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter2" style="left:1140px; top:450px; width:42px; height:19px; ">
- <caption>엑셀</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","false","","xls","Excel Files(*.xls)|*.xls");
- grd_tdmlist2.saveExcel(file);
- ]]>
- </script>
- </button>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button2" class="btn3_letter4" style="left:5px; top:5px; width:116px; height:22px; ">
- <caption>코드관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- open("SMADC03200",0,0,0,"SMADC03200","/root/init/formflag","/root/init/formflag");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn3_letter8" style="left:95px; top:5px; width:128px; height:22px; ">
- <caption>TDM회신내용조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMADC03400 ");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|