123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- <?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>Therapy일정관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <therpinfo>
- <therplist>
- <genrdd/>
- <genrno/>
- <rsrvdd/>
- <hngnm/>
- <pid/>
- <wardcd/>
- <roomcd/>
- <orddeptcd/>
- <orddrid/>
- <doseval/>
- </therplist>
- </therpinfo>
- <cond>
- <fromdd/>
- <todd/>
- <wardcd/>
- <pid/>
- <hngnm/>
- </cond>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- </patinfolist>
- </patinfo>
- <iptbox>
- <wardcd/>
- <roomcd/>
- </iptbox>
- <popupendflag/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <newElement/>
- </hidden>
- <init>
- <today/>
- <roomlist/>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SPMMO10900();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- group1.attribute("height") = 0;
- ]]>
- </script>
- <submission id="TRMMO04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04104" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
- <submission id="TRMMO04106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/wardlist"/>
- <submission id="TRMMO04107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/roomlist"/>
- <submission id="TXMMO10901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/therpinfo"/>
- <submission id="TRMMO10901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/therpinfo"/>
- <bind id="bind1" ref="/root/main/therpinfo/therplist/rsrvdd" readonly="../pid != ''"/>
- </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="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO10900.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="819" pageheight="791" guideline="1,1194;1,1218;2,783;2,10;1,803;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <caption id="caption22" class="tit_2" style="left:1px; top:48px; width:181px; height:14px; ">I-131 Therapy 일정</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:63px; x2:803px; y2:63px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:803px; height:39px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_req" class="btn1_letter2" style="left:740px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fReqTherapyInfo();
- ]]>
- </script>
- </button>
- <line id="line3" style="x1:725px; y1:8px; x2:725px; y2:35px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption1" class="search_name" style="left:5px; top:11px; width:91px; height:17px; ">조회기간 :</caption>
- <input id="input1" ref="/root/main/cond/fromdd" inputtype="date" style="left:95px; top:10px; width:85px; height:19px; "/>
- <input id="input2" ref="/root/main/cond/todd" inputtype="date" style="left:201px; top:10px; width:85px; height:19px; "/>
- <caption id="caption2" style="left:185px; top:11px; width:20px; height:20px; ">~</caption>
- <caption id="caption4" class="search_name" style="left:515px; top:11px; width:91px; height:17px; ">성 명 :</caption>
- <input id="input3" ref="/root/main/cond/hngnm" disabled="true" style="left:600px; top:10px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <caption id="caption5" class="search_name" style="left:322px; top:10px; width:91px; height:17px; ">등록번호 :</caption>
- <input id="input4" ref="/root/main/cond/pid" style="left:413px; top:10px; width:88px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_srchpatnm", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_getpatinfo" class="icon_search" style="left:687px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500");
- var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/main/cond/pid", sPid);
- model.setValue("/root/main/cond/hngnm", sHngnm);
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="grd_therapy" nodeset="/root/main/therpinfo/therplist" caption="genrdd^genrno^일자^성 명^등록번호^진료과^병실^의사ID^의사ID^의사명^Dose(mCi)^Dose(mCi)" colsep="^" colwidth="0, 0, 100, 104, 116, 161, 104, 0, 0, 99, 100" extendlastcol="noscroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" style="left:0px; top:68px; width:803px; height:715px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <col ref="genrdd"/>
- <col ref="genrno"/>
- <col ref="rsrvdd" type="inputdate"/>
- <col ref="hngnm" type="inputbutton"/>
- <col ref="pid" type="input"/>
- <col ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/deptlist/orddept">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="roomcd" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/roomlist/roomlist">
- <label ref="roomnm"/>
- <value ref="roomcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddrid"/>
- <col ref="orddrnm"/>
- <col imemode="disabled" ref="orddrnm" format="#"/>
- <col imemode="disabled" ref="doseval" type="input" format="#"/>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13){
- btn_grdpatinfo.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var iCol = grd_therapy.col;
- if(iCol != 3){
- fClkGrdInptBtn();
- }
- ]]>
- </script>
- </datagrid>
- <group id="group1" style="left:335px; top:116px; width:411px; height:170px; border-color:transparent; border-style:none; ">
- <caption id="caption3" class="tit_2" style="left:1px; top:0px; width:144px; height:13px; ">환자정보</caption>
- <line id="line2" class="line_1" style="x1:1px; y1:14px; x2:409px; y2:14px; "/>
- <datagrid id="grd_patinfopopup" nodeset="/root/init/patnm/patnm" caption="등록번호^성 명^진료과^진료의^진료과코드^의사코드" colsep="^" colwidth="107, 100, 100, 100, 0, 0" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:19px; width:409px; height:121px; ">
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="deptnm"/>
- <col ref="drnm"/>
- <col ref="deptcd"/>
- <col ref="drid"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fClkCfrmBtn();
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn2_letter2" style="left:320px; top:142px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkCfrmBtn();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter2" style="left:364px; top:142px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkCnClBtn();
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_srchpatnm" disabled="true" style="left:460px; top:10px; width:50px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- reqPatInfo("pid", model.getValue("/root/main/cond/pid"), "ptbs");
- model.setValue("/root/main/cond/hngnm", model.getValue("/root/init/patnm/patnm/hngnm"));
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_grdpatinfo" disabled="true" style="left:567px; top:41px; width:100px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var iPidCol = grd_therapy.colRef("pid");
- var iNmCol = grd_therapy.colRef("hngnm");
- var iCol = grd_therapy.col;
- var iRow =grd_therapy.row;
-
- if(iCol == iPidCol){ //등록번호 조회
- //reqPatInfo(paramFlag, tblFlag, param, param2)
- fReqPatInfo("pid", model.getValue(sTHERPLIST_PATH + "[" + iRow + "]/pid"), model.getValue(sTHERPLIST_PATH + "[" + iRow + "]/rsrvdd"));
- }else if(iCol == iNmCol){ //환자명 조회
- fReqPatInfo("hngnm", model.getValue(sTHERPLIST_PATH + "[" + iRow + "]/hngnm"), model.getValue(sTHERPLIST_PATH + "[" + iRow + "]/rsrvdd"));
- }
- model.recalculate();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn2_letter2" style="left:759px; top:42px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveTherapyInfo();
- ]]>
- </script>
- </button>
- <button id="btn_add" class="btn2_letter2" style="left:671px; top:42px; width:42px; height:19px; ">
- <caption>추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddRow();
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn2_letter2" style="left:715px; top:42px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelRow();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|