123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- <?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>
- <dschcareinfo>
- <rsrvinfo>
- <ordrsrvinfo>
- <stat/>
- <rsrvdt/>
- <orddeptnm/>
- <centnm/>
- <orddrnm/>
- <fstrgstdt/>
- <rcptamt/>
- <orddeptcd/>
- <centcd/>
- <subdeptcd/>
- <orddrid/>
- <subdeptnm/>
- </ordrsrvinfo>
- <testrsrvinfo>
- <calcscorcd/>
- <prcpclsnm/>
- <rsrvdt/>
- <testnm/>
- <testplacnm/>
- <orddeptcd/>
- <stat/>
- <prcpkindnm/>
- </testrsrvinfo>
- <dschdrugfactinfo>
- <stat/>
- <prcpno/>
- <drugcd/>
- <drugnm/>
- <vol/>
- <prcpvolunit/>
- <direc/>
- <qty/>
- <prcpqtyunit/>
- <prcptims/>
- <prcpdayno/>
- <caucnts/>
- </dschdrugfactinfo>
- <inrsrvinfo>
- <inreq/>
- </inrsrvinfo>
- </rsrvinfo>
- </dschcareinfo>
- </main>
- <hidden>
- <existinfo/>
- </hidden>
- <send/>
- <temp>
- <dschcareinfo>
- <ordrsrvinfo>
- <stat/>
- <drugcd/>
- <drugnm/>
- <newElement/>
- </ordrsrvinfo>
- <testrsrvinfo>
- <stat/>
- <rsrvdt/>
- <testnm/>
- <testplacnm/>
- <orddeptcd/>
- <calcscorcd/>
- </testrsrvinfo>
- <dschdrugfactinfo>
- <stat/>
- <prcpno/>
- <drugcd/>
- <drugnm/>
- <vol/>
- <prcpvolunit/>
- <direc/>
- <qty/>
- <prcpqtyunit/>
- <prcptims/>
- <prcpdayno/>
- <caucnts/>
- </dschdrugfactinfo>
- </dschcareinfo>
- </temp>
- <init>
- <menu>
- <item>
- <name>줄삭제</name>
- <func>fDelCurRow</func>
- </item>
- </menu>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //fGetRsrvInfo();
- ]]>
- </script>
- <submission id="TRMNW10102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/main/dschcareinfo/rsrvinfo"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
- function fGetRsrvInfo(){
- submit("TRMNW10102");
-
- model.makeNode("/root/main/dschcareinfo/ordrsrvinfo");
- model.makeNode("/root/main/dschcareinfo/testrsrvinfo");
- model.makeNode("/root/main/dschcareinfo/dschdrugfactinfo");
-
- copyNodeType("/root/main/dschcareinfo/ordrsrvinfo", "/root/hidden/dschcareinfo/ordrsrvinfo");
-
- var dschdclrtyn = model.getValue("/root/temp/cond/list/dschdclrtyn"); //퇴원예고
- if(dschdclrtyn == 'N') {
- model.makeValue("/root/main/dschcareinfo/rsrvinfo/inrsrvinfo/inreq", "입원예정으로 발급된 입원장이 없습니다.");
- }
- if(model.getValue("/root/main/dschcareinfo/rsrvinfo/inrsrvinfo/inreq") == ""){
- model.makeValue("/root/main/dschcareinfo/rsrvinfo/inrsrvinfo/inreq", "입원예정으로 발급된 입원장이 없습니다.");
- }
-
-
- var cnt = getNodesetCount("/root/main/dschcareinfo/testrsrvinfo");
-
- if(getNodesetCount("/root/main/dschcareinfo/testrsrvinfo") > 0){
- for(var i=1;i<=grd_testrsrvinfo.rows;i++){
- var testplacnm = model.getValue("/root/main/dschcareinfo/rsrvinfo/testrsrvinfo["+i+"]/testplacnm");
-
- if(testplacnm.length > 8){
- var testplacnm2 = testplacnm.substr(testplacnm.length-8,testplacnm.length-4);
-
- if(isNumber(testplacnm2) == true){
- model.setValue("/root/main/dschcareinfo/rsrvinfo/testrsrvinfo["+i+"]/testplacnm",testplacnm.substr(0,testplacnm.length-8));
- }
- }
- }
- }
-
- grd_ordrsrvinfo.rebuild();
- grd_testrsrvinfo.rebuild();
- grd_dschdrugmedifact.rebuild();
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1194" pageheight="202" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_biz" scroll="auto" style="left:0px; top:0px; width:1194px; height:234px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:25px; width:95px; height:13px; ">외래예약</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:40px; x2:594px; y2:40px; "/>
- <caption id="caption2" class="tit_2" style="left:604px; top:25px; width:131px; height:13px; ">퇴원 후 외래 처방</caption>
- <line id="line2" class="line_1" style="x1:599px; y1:40px; x2:1193px; y2:40px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:105px; width:113px; height:13px; ">퇴원약 투약사항</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:120px; x2:1194px; y2:120px; "/>
- <datagrid id="grd_dschdrugmedifact" nodeset="/root/main/dschcareinfo/rsrvinfo/dschdrugfactinfo" autoresize="true" caption="처방번호^약품코드^약품명[* : 혼동주의/고위험 약제]^1회 용량^1회 용량^1회 수량^1회 수량^횟수^일수^용법^주의사항^부서코드" colsep="^" colwidth="0, 100, 365, 60, 35, 54, 37, 50, 60, 180, 211, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:125px; width:1194px; height:75px; ">
- <col ref="prcpno"/>
- <col ref="drugcd"/>
- <col ref="drugnm"/>
- <!--col ref="vol" style="text-align:right; "/>
- <col ref="prcpvolunit" style="text-align:left; "/-->
- <col ref="drprcpetc7" style="text-align:right; "/>
- <col ref="prcpvolunitflag" style="text-align:left; "/>
- <!--col ref="qty" style="text-align:right; "/>
- <col ref="prcpqtyunit" style="text-align:left; "/-->
- <col ref="drprcpetc8" style="text-align:right; "/>
- <col ref="prcpqtyunitflag" style="text-align:left; "/>
- <col ref="prcptims" style="text-align:center; "/>
- <col ref="prcpdayno" style="text-align:center; "/>
- <col ref="direc"/>
- <col ref="caucnts"/>
- <col ref="orddeptcd"/>
- </datagrid>
- <datagrid id="grd_ordrsrvinfo" nodeset="/root/main/dschcareinfo/rsrvinfo/ordrsrvinfo" autoresize="true" caption="예약일시^예약요일^진료과^센터^진료의^예약등록일시^수납^진료과코드^센터코드^하위부서코드^진료의ID" colsep="^" colwidth="102, 30, 150, 100, 90, 80, 30, 0, 0, 0, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:45px; width:594px; height:75px; ">
- <col ref="rsrvdt" format="yyyy-mm-dd hh:mm"/>
- <col ref="rsrvday" visibility="hidden"/>
- <col ref="orddeptnm"/>
- <col ref="centnm"/>
- <col ref="orddrnm"/>
- <col ref="fstrgstdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rcptamt" style="text-align:center; "/>
- <col ref="orddeptcd"/>
- <col ref="centcd"/>
- <col ref="subdeptcd"/>
- <col ref="orddrid"/>
- <col ref="subdeptnm"/>
- </datagrid>
- <datagrid id="grd_testrsrvinfo" nodeset="/root/main/dschcareinfo/rsrvinfo/testrsrvinfo" autoresize="true" caption="처방분류^처방코드^예약일시^처방명^시행부서^희망일자^부서코드^수가코드" colsep="^" colwidth="70, 70, 0, 210, 130, 75, 0, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:599px; top:45px; width:594px; height:75px; ">
- <col ref="prcpclsnm"/>
- <col ref="calcscorcd"/>
- <col ref="rsrvdt" format="yyyy-mm-dd hh:mm"/>
- <col ref="testnm"/>
- <col ref="testplacnm"/>
- <col ref="prcphopedd" format="yyyy-mm-dd"/>
- <col ref="orddeptcd"/>
- <col ref="stat"/>
- </datagrid>
- <caption id="caption4" class="tit_2" style="left:5px; top:5px; width:120px; height:13px; ">입원의뢰서 정보</caption>
- <output id="output1" ref="/root/main/dschcareinfo/rsrvinfo/inrsrvinfo/inreq" class="output_fix" style="left:121px; top:3px; width:456px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|