123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <?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/>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <KeyData>
- <patdata>
- <pid/>
- <pidname/>
- </patdata>
- <instcd/>
- </KeyData>
- <OpPatHistData>
- <oppathist>
- <opcnfmdd/>
- <rowcnt/>
- <oproomcd/>
- <depthngnm/>
- <diagcdnm/>
- <opcdnm/>
- <perfdridnm/>
- <instcd/>
- <pid/>
- <oprsrvno/>
- <ophistno/>
- <orddeptcd/>
- <diagcd/>
- <opcd/>
- <perfdrid/>
- <opstatcd/>
- </oppathist>
- </OpPatHistData>
- <operation/>
- </main>
- <init>
- </init>
- <send>
- </send>
- <hidden/>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- var node = getGlobalVariable("operation");
- setCSVToNode("/root/main/operation", node);
- var hPath = "/root/main/operation/list"
- var sPid = model.getValue(hPath+"/pid");
-
- if (sPid == "") {
- model.setValue("/root/main/KeyData/patdata/pid" , model.getValue(hPath+"/pid" )); // 환자번호
- model.setValue("/root/main/KeyData/instcd" , model.getValue(hPath+"/instcd" )); // 기관코드
- }
-
- inp_pid.refresh();
- ]]>
- </script>
- <submission id="TRMNP01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/OpPatHistData"/>
- <submission id="TRMNP01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/KeyData"/>
- <submission id="TRMNZ00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/UserData/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/SPMNZ001.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;1,5;1,1194;1,1177;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="grp_sea" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption2" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.removenode("/root/send");
- model.makeValue( "/root/send/pid" , model.getValue("/root/main/KeyData/patdata/pid" )); // 환자번호
- model.makeValue( "/root/send/instcd" , model.getValue("/root/main/KeyData/instcd" )); // 기관코드
-
- submit("TRMNP01401"); // 환자별 수술이력 조회
-
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1107px; y1:7px; x2:1107px; y2:29px; "/>
- <input id="inp_pid" ref="/root/main/KeyData/patdata/pid" class="input_search" style="left:105px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- // opt_pidname.value = "";
- if (event.keyCode == 13) {
-
- setInputNodeCurText(); // 현재 인풋값 노드 반영
- if (inp_pid.currentText != "") {
- model.removenode("/root/send");
- model.makeValue( "/root/send/pid" , model.getValue("/root/main/KeyData/patdata/pid" )); // 환자번호
- model.makeValue( "/root/send/instcd" , model.getValue("/root/main/KeyData/instcd" )); // 기관코드
-
- submit("TRMNP01402"); // 수술이력 환자
- }
- opt_pidname.refresh();
- }
- ]]>
- </script>
- </input>
- <output id="opt_pidname" ref="/root/main/KeyData/patdata/pidname" class="output_search" style="left:229px; top:8px; width:100px; height:19px; "/>
- <button id="button61" class="icon_search" style="left:209px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var xpos = event.screenX-100;
- var ypos = event.screenY-100;
- var xPathUser = "/root/main/KeyData/patdata";
- var xPathUserPop = " /root/main/KeyData/patdata";
- modal("SMMNP01401", 1, xpos, ypos,"SMMNP01401", xPathUser, xPathUserPop);
- var iProperties = getParameter("SendData");
-
- //alert(iProperties);
-
- var iSplit_Value = iProperties.split("|");
- model.setValue("/root/main/KeyData/patdata/pid" , iSplit_Value[0]); // ID
- model.setValue("/root/main/KeyData/patdata/pidname", iSplit_Value[1]); // 명
-
- grp_sea.refresh();
- // inp_pid
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:55px; width:78px; height:14px; ">수술이력</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/OpPatHistData/oppathist" caption="수술일자^순번^수술방^진료과^진단명^수술명^집도의" colsep="^" colwidth="121, 49, 66, 133, 348, 338, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:75px; width:1195px; height:665px; ">
- <col ref="opcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rowcnt" style="text-align:center; "/>
- <col ref="oproomcd" style="text-align:center; "/>
- <col ref="depthngnm"/>
- <col ref="diagcdnm"/>
- <col ref="opcdnm"/>
- <col ref="perfdridnm" style="text-align:center; "/>
- </datagrid>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:757px; width:800px; height:14px; ">환자별 수술이력 조회</caption>
- </xhtml:body>
- </xhtml:html>
|