123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <?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>진료의뢰서조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <ordreqform>
- <cnst>
- <pid/>
- <orddeptcd/>
- <insuflag/>
- <ordreqkind/>
- <fromdd/>
- <todd/>
- <reqformhospnm/>
- <reqformdrnm/>
- <remfact/>
- </cnst>
- </ordreqform>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <init>
- <orddeptcd>
- <orddeptcdlist>
- <cd/>
- <nm/>
- </orddeptcdlist>
- </orddeptcd>
- <orddrid>
- <orddridlist>
- <cd/>
- <nm/>
- </orddridlist>
- </orddrid>
- <P0310list>
- <P0310>
- <cdnm/>
- <cdid/>
- </P0310>
- </P0310list>
- </init>
- <send>
- <pid/>
- <hngnm/>
- </send>
- <hidden>
- <source>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </source>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- zbcfGetCodeList(new Array("P0310"), new Array("/root/init/P0310list"));
-
- //진료과코드 진료의사ID 조회
- pamGetDeptCDDrIDList();
-
- if (checkOpener()){ //팝업화면으로 사용될 때
- //pid, orddeptcd 를 받아온다.
- var SMPMO01200_PARM = opener.javascript.getParameter("SMPMO01200_PARM");
- var array_parm = SMPMO01200_PARM.split("▦");
- var pid = array_parm[0];
- var hngnm = array_parm[1];
- //var orddeptcd = array_parm[1];
-
- if( pid != '' && pid != '-' && pid != ' ' && pid != null ){
- model.setValue("/root/send/pid", pid);
- model.setValue("/root/send/hngnm", hngnm);
- //model.setValue("/root/send/orddeptcd", orddeptcd);
-
- btn_search.dispatch("DOMActivate");
- }
- }
- model.refresh();
- model1.setFocus("ipt_pid");
- ]]>
- </script>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
- <submission id="TRPMO01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/ordreqform"/>
- <submission id="TRPMC02500" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/source" resultref="/root/main/patinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="450" pageheight="360" guideline="1,605;2,402;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:0px; width:433px; height:316px; ">
- <group id="group2" style="left:0px; top:0px; width:433px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:432px; height:35px; "/>
- <button id="btn_search" class="btn1_letter2" visibility="hidden" style="left:355px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/send/pid");
- if( pid == '' || pid == '' || pid == '-' ){
-
- messageBox("등록번호가 없습니다. 환자조회 후 다시 시도해 주세요.", "E999", "");
- return false;
- }else{
- model.setValue("/root/hidden/source/srchcond", "1");
- model.setValue("/root/hidden/source/pid", pid);
- if(submit("TRPMC02500")){
- if( getNodesetCount("/root/main/patinfo/patinfolist/pid") > 0 ){
-
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- }else{
-
- messageBox("존재하지 않는 등록번호입니다. 등록번호를 확인하세요.", 'E999', '');
- return false;
- }
- }else{
- return false;
- }
- }
-
- submit("TRPMO01201");
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" visibility="hidden" style="x1:339px; y1:7px; x2:339px; y2:29px; "/>
- <caption id="caption3" class="search_name" style="left:10px; top:8px; width:91px; height:17px; ">등록번호 :</caption>
- <input id="ipt_pid" ref="/root/send/pid" class="input_s_essential" style="left:100px; top:8px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- //model.setValue("/root/hidden/source/srchcond", "1");
- model.setValue("/root/send/pid", ipt_pid.currentText);
- inputEnterKey("btn_search", "DOMActivate");
- }
- //inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="button1" accesskey="f2" class="icon_search" style="left:195px; top:9px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/source", "/root/send");
-
- if(model.getValue("/root/main/popupendflag") == 'ok'){
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- }
-
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption2" class="search_name" style="left:220px; top:8px; width:86px; height:17px; ">환자이름 :</caption>
- <input id="input1" ref="/root/send/hngnm" class="input_search" appearance="input" style="left:311px; top:8px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == "13") {
- model.resetInstanceNode("/root/hidden/source");
- model.setValue("/root/hidden/source/srchcond", "2");
- model.setValue("/root/hidden/source/hngnm", input1.currentText);
-
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/hidden/source", "/root/send");
-
- if(model.getValue("/root/main/popupendflag") == 'ok'){
- model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- }
-
- model.refresh();
- }
- //inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- </group>
- <caption id="caption1" class="tit_2" style="left:5px; top:45px; width:95px; height:14px; ">진료의뢰서</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:60px; x2:432px; y2:60px; "/>
- <datagrid id="grd_ordreqfrm" nodeset="/root/main/ordreqform/cnst" caption="등록번호^진료과^접수일자^보험/보호^진료의뢰서 종류^시작일자^종료일자^의뢰병원명^의뢰의사명^참고사항" colsep="^" colwidth="100, 200, 110, 70, 98, 80, 80, 120, 80, 200" dataheight="23" defaultrows="2" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:65px; width:432px; height:249px; ">
- <col ref="pid"/>
- <col ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="lastupdtdt" format="yyyy-mm-dd"/>
- <col ref="insuflag" type="combo" visibility="hidden">
- <choices>
- <item>
- <label>보험</label>
- <value>1</value>
- </item>
- <item>
- <label>보호</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="ordreqkind" type="combo" visibility="hidden">
- <choices>
- <itemset nodeset="/root/init/P0310list/P0310">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="fromdd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="todd" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="reqformhospnm" visibility="hidden"/>
- <col ref="reqformdrnm" visibility="hidden"/>
- <col ref="remfact" visibility="hidden"/>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:316px; width:433px; height:27px; ">
- <button id="btn_confirm" class="btn4_letter2" style="left:376px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:428px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|