123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394 |
- <?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>환자수진이력</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <pathistlist>
- <pid/>
- <instcd/>
- <hngnm/>
- <engnm/>
- <chinm/>
- <rrgstno1/>
- <rrgstno2/>
- <orddd/>
- <orddeptnm/>
- <brthdd/>
- <sex/>
- <age/>
- <addr/>
- <btype/>
- <rh/>
- <forgeryn/>
- <nati/>
- <psptno/>
- <tabtype/>
- <issamt/>
- <testdd/>
- <tranflagyn/>
- <silsiamt/>
- </pathistlist>
- <opinfo>
- <oprsrvno/>
- <instcd/>
- <pid/>
- <opcnfmdd/>
- <orddeptcd/>
- <orddeptnm/>
- <perfdeptcd/>
- <perfdeptnm/>
- <perfdrid/>
- <perfdrnm/>
- <diagcd/>
- <diagengnm/>
- <diaghngnm/>
- <opcd/>
- <opengnm/>
- <ophngnm/>
- <subopcd/>
- <subopengnm/>
- <subophngnm/>
- <indd/>
- <dschdd/>
- </opinfo>
- <mselect>M</mselect>
- <orddeptcd/>
- <ordtype>A</ordtype>
- <examrsltlist>
- <examrsltlist/>
- </examrsltlist>
- <checkflag/>
- <ordddfr/>
- <ordddto/>
- <amtyn/>
- </main>
- <send>
- <patinfo>
- <pid/>
- <cretno/>
- <orddd/>
- <orddeptcd/>
- <ordtype/>
- <nopay/>
- <ordddfr/>
- <ordddto/>
- <amtyn/>
- <daykijun/>
- </patinfo>
- </send>
- <init>
- <orddept>
- <dept>
- <depthngnm/>
- <deptcd/>
- </dept>
- </orddept>
- <checkpathist/>
- <checkophist/>
- <item>
- </item>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- model.removeNodeset(grd_patinfo.nodeset);
- model.removeNodeset(grd_oplist.nodeset);
- model.refresh();
-
- fInitialize();
- ]]>
- </script>
- <submission id="TRMMR05501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patinfo" resultref="/root/main/pathistlist"/>
- <submission id="TRMMR05502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/patinfo" resultref="/root/main/opinfo"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMR05503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/examrsltlist"/>
- <submission id="TRMRF01217" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/deptcd" resultref="/root/main/deptinfo"/>
- </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/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/medirecweb/js/SPMMR05500.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- var examrsltflag = "N";
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="672" pageheight="600" guideline="1,655;2,580;1,672;2,576;2,549;2,400;1,672;2,420;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <button id="btn_confirm" class="btn4_letter2" navindex="8" style="left:539px; top:542px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var formcd = opener.javascript.getParameter("SPMMR05500_formcd");
- if(formcd == "0000001457"){ //수술확인서인 경우, 수술내역 select정보 처리
- fSelectOpInfo();
-
- }else{
- fSelectPatInfo();
-
- }
- ]]>
- </script>
- </button>
- <select1 id="rdo_ordtype" ref="/root/main/ordtype" appearance="full" cols="3" overflow="visible" style="left:71px; top:5px; width:135px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value>A</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetPatHist();
- ]]>
- </script>
- </select1>
- <button id="btn_srch" class="btn2_letter2" navindex="7" visibility="visible" style="left:610px; top:4px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetPatHist();
- ]]>
- </script>
- </button>
- <datagrid id="grd_patinfo" nodeset="/root/main/pathistlist" caption="^주유형^보조유형^환자성명^등록번호^생성번호^기관코드^영문이름^한문이름^주민등록번호^주민등록번호^내원구분^진료과^담당의사^진료(입원)일^퇴원일^생년월일^성별^나이^주소^혈액형^RH혈액형^외국인여부^국적^여권번호^tabtype" colsep="^" colwidth="30, 54, 54, 72, 75, 75, 55, 65, 65, 50, 50, 56, 85, 66, 92, 82, 75, 36, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="23" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="7" style="left:0px; top:29px; width:655px; height:300px; ">
- <col checkvalue="Y,N" ref="chk" type="checkbox"/>
- <col disabled="true" ref="insukind" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/item/P0008">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="suppkind" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/item/P0010">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="engnm" visibility="hidden"/>
- <col ref="chinm" visibility="hidden"/>
- <col ref="rrgstno1" visibility="hidden"/>
- <col ref="rrgstno2" visibility="hidden"/>
- <col ref="ordtypenm" style="text-align:center; "/>
- <col ref="orddeptnm"/>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="brthdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" visibility="hidden"/>
- <col ref="addr" visibility="hidden"/>
- <col ref="btype" visibility="hidden"/>
- <col ref="rh" visibility="hidden"/>
- <col ref="forgeryn" visibility="hidden"/>
- <col ref="nati" visibility="hidden"/>
- <col ref="psptno" visibility="hidden"/>
- <col ref="tabtype" visibility="hidden"/>
- <col ref="issamt" visibility="hidden"/>
- <col ref="testdd" visibility="hidden"/>
- <col ref="tranflagyn" visibility="hidden"/>
- <col ref="silsiamt" visibility="hidden"/>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13){
- btn_confirm.dispatch("DOMActivate");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //수술확인서인 경우, 수술내역을 조회한다.
- if(isDataCell()){
- if(grd_patinfo.col != grd_patinfo.colRef("chk")){
- var checkflag = model.getValue(grd_patinfo.attribute("nodeset") + "[" + grd_patinfo.row + "]/chk");
- if(checkflag == "Y"){
- model.setValue(grd_patinfo.attribute("nodeset") + "[" + grd_patinfo.row + "]/chk", "N");
- }else{
- model.setValue(grd_patinfo.attribute("nodeset") + "[" + grd_patinfo.row + "]/chk", "Y");
- }
- }
-
- if(checkflag != "Y"){
- var formcd = opener.javascript.getParameter("SPMMR05500_formcd");
- if(formcd == "0000001457"){
- var pid = model.getValue(grd_patinfo.attribute("nodeset") + "[" + grd_patinfo.row + "]/pid");
- var orddd = model.getValue(grd_patinfo.attribute("nodeset") + "[" + grd_patinfo.row + "]/orddd");
- var cretno = model.getValue(grd_patinfo.attribute("nodeset") + "[" + grd_patinfo.row + "]/cretno");
- var tabtype = model.getValue(grd_patinfo.attribute("nodeset") + "[" + grd_patinfo.row + "]/tabtype");
- model.removeNodeset("/root/main/opinfo");
- model.setValue("/root/send/patinfo/pid" , pid);
- model.setValue("/root/send/patinfo/orddd" , orddd);
- model.setValue("/root/send/patinfo/cretno" , cretno);
- model.makeValue("/root/send/patinfo/tabtype" , tabtype);
- model.makeValue("/root/send/patinfo/srchmode", "only");//수진이력별 수술이력 (all - 모든 수술이력)
- if(submit("TRMMR05502")){
- }
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:655px; y2:25px; "/>
- <select1 id="combo6" ref="/root/main/orddeptcd" class="combo_search" navindex="4" appearance="minimal" style="left:314px; top:4px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetPatHist();
- ]]>
- </script>
- </select1>
- <caption id="caption2" class="tit_2" style="left:5px; top:335px; width:95px; height:13px; ">수술내역</caption>
- <datagrid id="grd_oplist" nodeset="/root/main/opinfo" caption="^예약번호^기관코드^등록번호^수술일자^수술코드^수술명^부수술명^집도과코드^집도과^집도의ID^집도의^진료과코드^진료과^진단코드^진단영문명^입원일^퇴원일" colsep="^" colwidth="31, 100, 100, 100, 70, 100, 100, 100, 100, 90, 100, 60, 100, 90, 100, 100, 70, 70" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:355px; width:655px; height:185px; ">
- <col checkvalue="Y,N" ref="checkflag" type="checkbox"/>
- <col ref="oprsrvno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="opcnfmdd" format="yyyy-mm-dd"/>
- <col ref="opcd" visibility="hidden"/>
- <col ref="ophngnm"/>
- <col ref="subopengnm" visibility="hidden"/>
- <col ref="perfdeptcd" visibility="hidden"/>
- <col ref="perfdeptnm"/>
- <col ref="perfdrid" visibility="hidden"/>
- <col ref="perfdrnm"/>
- <col ref="orddeptcd" visibility="hidden"/>
- <col ref="orddeptnm"/>
- <col ref="diagcd" visibility="hidden"/>
- <col ref="diagengnm"/>
- <col ref="indd" format="yyyy-mm-dd"/>
- <col ref="dschdd" format="yyyy-mm-dd"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(isDataCell()){
- if(grd_oplist.col != grd_oplist.colRef("checkflag")){
- var checkflag = model.getValue(grd_oplist.nodeset + "[" + grd_oplist.row + "]/checkflag");
- if(checkflag == "Y"){
- model.setValue(grd_oplist.nodeset + "[" + grd_oplist.row + "]/checkflag", "N");
- }else{
- model.setValue(grd_oplist.nodeset + "[" + grd_oplist.row + "]/checkflag", "Y");
- }
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line2" class="line_1" style="x1:0px; y1:350px; x2:655px; y2:350px; "/>
- <button id="btn_cncl" class="btn4_letter2" navindex="8" style="left:597px; top:542px; width:56px; height:22px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- opener.javascript.setParameter("SPMMR05500_useyn", "N");
- window.close();
- ]]>
- </script>
- </button>
- <bool id="bool1" checkvalue="Y,N" ref="/root/init/checkpathist" style="left:3px; top:30px; width:25px; height:25px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(bool1.value == "Y"){
- for(var i = 1 ; i < grd_patinfo.rows; i++){
- model.setValue(grd_patinfo.nodeset + "[" + i + "]/chk", "Y");
- }
- }else{
- for(var i = 1 ; i < grd_patinfo.rows; i++){
- model.setValue(grd_patinfo.nodeset + "[" + i + "]/chk", "N");
- }
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <bool id="bool2" checkvalue="Y,N" ref="/root/init/checkophist" style="left:3px; top:355px; width:25px; height:25px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(bool2.value == "Y"){
- for(var i = 1 ; i < grd_oplist.rows; i++){
- model.setValue(grd_oplist.nodeset + "[" + i + "]/checkflag", "Y");
- }
- }else{
- for(var i = 1 ; i < grd_oplist.rows; i++){
- model.setValue(grd_oplist.nodeset + "[" + i + "]/checkflag", "N");
- }
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <datagrid id="grd_examrsltlist" nodeset="/root/main/examrsltlist/examrsltlist" visibility="hidden" caption="검사일자" colsep="^" colwidth="86" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:565px; top:29px; width:90px; height:300px; ">
- <col ref="execdd" format="yyyy-mm-dd"/>
- </datagrid>
- <bool id="bool3" ref="/root/main/checkflag" style="left:0px; top:3px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- grd_examrsltlist.visible = !grd_examrsltlist.visible;
- if(examrsltflag == "N"){
- var pid = opener.javascript.getParameter("SPMMR05500_pid");
- model.removeNodeset("/root/send/reqdata");
- model.makeValue("/root/send/reqdata/pid" , pid);
- if(submit("TRMMR05503")){
- }
- examrsltflag = "Y";
- }
- ]]>
- </script>
- </bool>
- <caption id="caption3" style="left:19px; top:4px; width:55px; height:20px; ">
- <![CDATA[검사결과]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- bool3.selected = !bool3.selected;
- ]]>
- </script>
- </caption>
- <caption id="caption4" style="left:510px; top:7px; width:15px; height:15px; font-weight:bold; ">~</caption>
- <input id="ipt_ordddto" ref="/root/main/ordddto" class="input_search" navindex="6" inputtype="date" style="left:522px; top:4px; width:85px; height:19px; "/>
- <input id="ipt_ordddfr" ref="/root/main/ordddfr" class="input_search" navindex="5" inputtype="date" style="left:425px; top:4px; width:85px; height:19px; "/>
- <select1 id="daykijun" ref="/root/send/patinfo/daykijun" appearance="full" cols="3" overflow="visible" style="left:204px; top:5px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>수납</label>
- <value>0</value>
- </item>
- <item>
- <label>실시</label>
- <value>1</value>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|