123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- <?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>
- <ordrsrvlist>
- <mainlist>
- <ordtm/>
- <pid/>
- <hngnm/>
- </mainlist>
- </ordrsrvlist>
- </main>
- <send>
- <orddd/>
- <orddeptcd/>
- <orddrid/>
- <subdeptcd/>
- </send>
- <hidden>
- <popdata>
- </popdata>
- </hidden>
- <init>
- <cmb_info>
- <orddridlist>
- <orddrid/>
- <orddrnm/>
- </orddridlist>
- </cmb_info>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
-
- model.setValue("/root/send/orddd",model.getValue("/root/hidden/popdata/orddd"));
- model.setValue("/root/send/orddeptcd",model.getValue("/root/hidden/popdata/orddeptcd"));
- model.makeValue("/root/send/subdeptcd",model.getValue("/root/hidden/popdata/orddeptcd"));
- model.setValue("/root/send/orddrid",model.getValue("/root/hidden/popdata/orddrid"));
-
-
- //진료의 리스트 갖고오기
- // submit("TRAEA01125",false);
- // submit("TRAEA01123");
- submit("TRAEA01125",false);
- submit("TRAEA01130");
- ]]>
- </script>
- <submission id="TRAEA01123" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ordrsrvlist"/>
- <submission id="TRAEA01125" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/cmb_info"/>
- <submission id="TRAEA01130" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ordrsrvlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript">
- <![CDATA[
-
- /*******************************************************************************************************************************************************************/
- //약/주사 액팅
- /*******************************************************************************************************************************************************************/
- function fprcpacting() {
- var nodeList = instance1.selectNodes("/root/main/subordlist/subordlist4[check='Y']");
- var rCSV = getNodeListCSV(nodeList);
-
- if ( rCSV == null ) {
- messageBox("처방내역을","C002");
- return "0";
- }else {
- if(( model.getValue("/root/main/subordlist/subordlist4["+ grd_subprcplist.row +"]/execprcphistcd") == "E" ) || ( model.getValue("/root/main/subordlist/subordlist4["+ grd_subprcplist.row +"]/execprcphistcd") == "D" ) || ( model.getValue("/root/main/subordlist/subordlist4["+ grd_subprcplist.row +"]/execprcphistcd") == "L" ) ){
- messageBox("이미 반환된 처방","E008");
- return "0";
- }
- if( (model.getValue("/root/main/subordlist/subordlist4["+ grd_subprcplist.row +"]/execprcphistcd") == "O" ) && ( model.getValue("/root/main/subordlist/subordlist4[" + grd_subprcplist.row + "]/execprcpstatcd") == "610") ) {
- messageBox("실시완료된 처방","E008");
- return "0";
- }else {
- model.setValue("/root/send/data/tobeacptprcp/tobeacptprcplist", rCSV);
- }
- }
-
-
- // 처방 -> 검사접수/실시완료
- if ( messageBox("실시를 ","Q002")==6 ) {
- submit("TXAEA01508"); // transaction 1
- }
- submit("TRAEA01120");
-
-
- //반환처방 색상주기
- initGridStyle("grd_subprcplist");
- setRowStyle("grd_subprcplist" , "2" , "E" , "execprcphistcd","equal" );
- setRowStyle("grd_subprcplist" , "2" , "D" , "execprcphistcd","equal" );
- setRowStyle("grd_subprcplist" , "2" , "L" , "execprcphistcd","equal" );
- model.refresh();
-
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="280" pageheight="440" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:9px; top:9px; width:251px; height:412px; ">
- <caption id="caption1" class="tit_2" style="left:5px; top:11px; width:100px; height:13px; ">진료예약내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:26px; x2:250px; y2:26px; "/>
- <datagrid id="grd_subprcplist" nodeset="/root/main/ordrsrvlist/mainlist" scroll="vertical" caption="예약시간^등록번호^환자명" colsep="^" colwidth="60, 86, 64" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:31px; width:250px; height:379px; ">
- <col ref="ordtm" format="hh:nn"/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- </datagrid>
- <select1 id="cmb_orddrid" ref="/root/send/orddrid" class="combo_search" appearance="minimal" style="left:121px; top:5px; width:117px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cmb_info/orddridlist">
- <label ref="orddrnm"/>
- <value ref="orddrid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/orddd",model.getValue("/root/hidden/popdata/orddd"));
- model.setValue("/root/send/orddeptcd",model.getValue("/root/hidden/popdata/orddeptcd"));
- submit("TRAEA01130");
- ]]>
- </script>
- </select1>
- </group>
- </xhtml:body>
- </xhtml:html>
|