123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- <?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>
- <cond>
- <pid/>
- <hngnm/>
- <prid>6M</prid>
- <fromdd/>
- <todd/>
- </cond>
- <patlist>
- <speclist/>
- <ordlist/>
- </patlist>
- <specinfo>
- <essclist/>
- </specinfo>
- <prcpinfo>
- <prcplist/>
- </prcpinfo>
- <patinfo>
- <patinfolist/>
- </patinfo>
- </main>
- <send>
- <reqdata/>
- </send>
- <init/>
- <hidden/>
- </root>
- </instance>
- <submission id="TRMMO21701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/patlist"/>
- <script type="javascript">
- <![CDATA[
- function fReqGetOrdList() {
- model.resetInstanceNode("/root/main/specinfo/essclist");
- model.resetInstanceNode("/root/main/prcpinfo/prcplist");
-
- submit("TRMMO21701")
- }
- ]]>
- </script>
- <submission id="TRMMO21702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/specinfo"/>
- <submission id="TRMMO21703" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prcpinfo"/>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/main/cond/fromdd" ,((getCurrentDate().toDate()).getAddDate(-6,"M")).getDateFormat()); //시작일자는 6개월 전
- model.setValue("/root/main/cond/todd" , getCurrentDate()); //종료일자는 현재일자
-
- var sPid = getPatientInfo("pid");
- if(!isNull(sPid) ) {
- model.setValue("/root/main/cond/pid", sPid);
- model.setValue("/root/main/cond/hngnm", getPatientInfo("pname"));
- btn_req.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="820" pageheight="750" guideline="1,798;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:20px; width:799px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption9" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; vertical-align:middle; ">처방조회</caption>
- <caption id="caption2" class="search_name" style="left:15px; top:30px; width:95px; height:17px; vertical-align:middle; ">조회기간 :</caption>
- <input id="input4" ref="/root/main/cond/fromdd" class="input" inputtype="date" style="left:106px; top:29px; width:85px; height:19px; "/>
- <caption id="caption3" style="left:193px; top:30px; width:15px; height:20px; ">~</caption>
- <input id="input3" ref="/root/main/cond/todd" class="input" inputtype="date" style="left:208px; top:29px; width:85px; height:19px; "/>
- <select1 id="cmb_prid" ref="/root/main/cond/prid" appearance="minimal" style="left:295px; top:29px; width:55px; height:19px; ">
- <choices>
- <item>
- <label>3개월</label>
- <value>3M</value>
- </item>
- <item>
- <label>6개월</label>
- <value>6M</value>
- </item>
- <item>
- <label>9개월</label>
- <value>9M</value>
- </item>
- <item>
- <label>1년</label>
- <value>1Y</value>
- </item>
- <item>
- <label>2년</label>
- <value>2Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var today = getCurrentDate();
- var idate = new Date();
- var prid = model.getValue("/root/main/cond/prid");
- // model.makeValue("/root/send/cond/fromdd", peveDate.getDateFormat());
- // model.makeValue("/root/send/cond/todd", today);
-
- if (prid =="3M") {
- var threeMDate = idate.getAddDate(-3, "M");
- model.setValue("/root/main/cond/fromdd", threeMDate.getDateFormat());
- model.setValue("/root/main/cond/todd", today);
- } else if (prid =="6M") {
- var sixMDate = idate.getAddDate(-6, "M");
- model.setValue("/root/main/cond/fromdd", sixMDate.getDateFormat());
- model.setValue("/root/main/cond/todd", today);
- } else if (prid =="9M") {
- var nineMDate = idate.getAddDate(-9, "M");
- model.setValue("/root/main/cond/fromdd", nineMDate.getDateFormat());
- model.setValue("/root/main/cond/todd", today);
- } else if (prid =="1Y") {
- var oneYDate = idate.getAddDate(-1, "Y");
- model.setValue("/root/main/cond/fromdd", oneYDate.getDateFormat());
- model.setValue("/root/main/cond/todd", today);
- } else if (prid =="2Y") {
- var twoYDate = idate.getAddDate(-2, "Y");
- model.setValue("/root/main/cond/fromdd", twoYDate.getDateFormat());
- model.setValue("/root/main/cond/todd", today);
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption10" class="search_name" style="left:375px; top:30px; width:95px; height:17px; vertical-align:middle; ">등록번호 :</caption>
- <input id="input1" ref="/root/main/cond/pid" style="left:470px; top:30px; width:65px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_req", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_patsrch" class="icon_search" style="left:540px; top:30px; 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>
- <caption id="caption11" class="search_name" style="left:570px; top:30px; width:65px; height:17px; vertical-align:middle; ">이름 :</caption>
- <input id="input2" ref="/root/main/cond/hngnm" disabled="true" style="left:635px; top:30px; width:75px; height:19px; "/>
- <line id="line3" style="x1:720px; y1:26px; x2:720px; y2:56px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="btn_req" class="btn1_letter2" style="left:735px; top:30px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPidTrim("/root/main/cond/pid")
- var pid = model.getValue("/root/main/cond/pid");
- if(pid == ""){
- messageBox("조회 하실 환자번호를", "C001");
- return;
- }
- if(reqPatInfo("pid", "ptbs", pid)==true){
- var hngnm = model.getValue("/root/init/patnm/patnm/hngnm");
- model.setValue("/root/main/cond/hngnm", hngnm);
- model.refresh();
-
- fReqGetOrdList();
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <datagrid id="datagrid1" nodeset="/root/main/patlist/speclist" caption="구분^주진단코드^등록구분^등록구분^보험유형^보험유형^확정일^시작일^종료일^특례번호^연장^중증화상^타병원" colsep="^" colwidth="65, 84, 0, 55, 0, 80, 75, 75, 75, 100, 35, 90, 45" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:0px; top:130px; width:800px; height:640px; ">
- <col ref="flag"/>
- <col ref="maindiagcd"/>
- <col ref="genrflagcd"/>
- <col ref="genrflagnm" style="text-align:center; "/>
- <col ref="insukind" visibility="hidden"/>
- <col ref="insukindnm"/>
- <col ref="cncrdiagcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="serdiagfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="serdiagtodd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="serdiagno" style="text-align:center; "/>
- <col ref="continueflag" style="text-align:center; "/>
- <col ref="burnicd10desc"/>
- <col ref="anohosprgstflag" style="text-align:center; "/>
- </datagrid>
- </xhtml:body>
- </xhtml:html>
|