123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:my="http://www.comsquare.co.kr/example" xmlns:ms="urn:schemas-microsoft-com:xslt" 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" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>처방검토결과(전체)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <codeList/>
- </main>
- <send>
- <req>
- <pScope>01</pScope>
- </req>
- <screen>
- <pScnMode>0</pScnMode>
- <pInstCD>012</pInstCD>
- <pPrcpDD>20091012</pPrcpDD>
- <pPatientID>11502870</pPatientID>
- <pUserID>DEV504</pUserID>
- <pDiseaseCD/>
- <pDiseaseNM/>
- <pAlertDispYN>Y</pAlertDispYN>
- <pInptDT>20091012113543</pInptDT>
- <nonprgflag/>
- </screen>
- <prcpdd/>
- <reqDDIM>
- <pCodeType/>
- <pMonograpCd/>
- </reqDDIM>
- </send>
- <init/>
- <hidden/>
- <temp>
- </temp>
- <screenMessageList>
- <정상처리여부/>
- <메세지유무/>
- <patientInfoList>
- <patientid/>
- <gender/>
- <age/>
- <brthdd/>
- <diseasecd/>
- <diseasenm/>
- </patientInfoList>
- <drugInofList>
- <currentyn/>
- <prcpdd/>
- <deptnm/>
- <ordusernm/>
- <firstordusernm/>
- <orddrugcd/>
- <orddrugnm/>
- <dosageonceqty/>
- <dosagedaycount/>
- <execstartdate/>
- </drugInofList>
- <screenResultList>
- <modulenm/>
- <sldesc/>
- <orddrugnm/>
- <scnmessage/>
- <resncd/>
- <resnnm/>
- <resncnts/>
- <difguid/>
- <moduleid/>
- <monograpid/>
- <처방식별키1/>
- <처방식별키2/>
- <처방식별키3/>
- <처방식별키4/>
- </screenResultList>
- </screenMessageList>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- /*
- 화면을 초기화 합니다.
- */
- fInitialize();
- model.makeValue("/root/send/screen/pScnMode","2");
- submit("TRZCS00301");
- var vloc = opener.model.getValue ( "/root/paminfo/list/roomcd" );
- var vpid = model.getValue("/root/screenMessageList/patientInfoList[1]/patientid");
- var vhngnm = model.getValue("/root/screenMessageList/patientInfoList[1]/hngnm");
- var vgender = model.getValue("/root/screenMessageList/patientInfoList[1]/gender");
- var vage = model.getValue("/root/screenMessageList/patientInfoList[1]/age");
-
- output1.value ="병실:"+vloc+", 등록번호:"+vpid+", 환자명:"+vhngnm+", 성별/나이:"+vgender+"/"+vage;
-
- var vdiseasecd = model.getValue("/root/screenMessageList/patientInfoList[1]/diseasecd");
- var diseasenm = model.getValue("/root/screenMessageList/patientInfoList[1]/diseasenm");
-
- output2.value = " "+vdiseasecd+" "+diseasenm;
- output2.refresh();
-
-
- datagrid1.mergecol(2)=false;
- datagrid1.mergecol(3)=false;
- datagrid1.mergecol(4)=false;
- datagrid1.mergecol(6)=false;
- datagrid1.mergecol(7)=false;
- datagrid1.mergecol(8)=false;
- datagrid1.mergecol(9)=false;
- datagrid1.mergecol(10)=false;
- datagrid1.mergecells="byrestriccol";
- datagrid1.refresh();
- datagrid1.select(1,1) = true;
-
-
- ]]>
- </script>
- <submission id="TRZCS09901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRZCS00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/screen" resultref="/root/screenMessageList"/>
- <submission id="TXZCS00101"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/referenceweb/js/ZCR001.js"/>
- <script type="javascript" src="../../../com/navigationweb/js/ZCN001.js"/>
- <script type="javascript">
- <![CDATA[
- /*
- 초기화 작업을 합니다.
- */
- function fInitialize(){
- /*
- model.removeNodeset("/root/screenMessageList");
- grd_resultlist.refresh();
- */
- }
- /*
- model.getValue(); 를 함수로 만들었습니다.
- param1 : node는 grid의 xPath입니다.
- param2 : row는 grid에서 선택한 row값입니다.
- param3 : element는 getvalue할 해당 element 명입니다.
- 해당 getvalue값을 return 해줍니다.
- return 하지 않으면 해당값을 가져올 수 없습니다.
- */
- function fGetValue(node, row, element) {
- var rtnValue = model.getValue(node + "[" + row + "]/" + element);
- return rtnValue;
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="1100" pageheight="745" guideline="2,296;1,1200;2,779;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <output id="output1" style="left:6px; top:5px; width:454px; height:19px; font-weight:bold; "/>
- <output id="output2" style="left:557px; top:6px; width:349px; height:19px; border-color:#3366ff; border-width:1px; border-style:solid; "/>
- <caption id="caption4" class="cell_1" style="left:470px; top:6px; width:87px; height:18px; font-family:돋움; vertical-align:middle; ">진단정보</caption>
- <button id="button61" class="icon_search" style="left:535px; top:7px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPZCS00601", "1","150", "150", "SPZCS00601", "/root/screenMessageList", "/root/screenMessageList");
- ]]>
- </script>
- </button>
- <!--
- <datagrid id="grd_resultlist" nodeset="/root/screenMessageList/patientInfoList" autoresize="true" caption="환자정보^환자정보^환자정보^환자정보^진단정보^진단정보|등록번호^성별^나이^생년월일^진단코드^진단명" colsep="^" colwidth="134, 76, 80, 128, 128, 508" dataheight="25" ellipsis="true" extendlastcol="scroll" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowheight="25" rowsep="|" style="left:5px; top:30px; width:1075px; height:108px; ">
- <col ref="patientid" style="text-align:center; vertical-align:top; "/>
- <col ref="gender" style="text-align:center; vertical-align:top; "/>
- <col ref="age" style="text-align:center; vertical-align:top; "/>
- <col ref="brthdd" style="text-align:center; vertical-align:top; "/>
- <col ref="diseasecd"/>
- <col ref="diseasenm"/>
- </datagrid>
- -->
- <!-- <caption id="caption12" class="tit_2" style="left:5px; top:10px; width:70px; height:13px; ">환자정보</caption>
- <line id="line8" class="line_1" style="x1:5px; y1:25px; x2:1080px; y2:25px; "/>
- -->
- <datagrid id="datagrid2" nodeset="/root/screenMessageList/drugInofList" autoresize="true" caption="현처방^처방일^진료부서^주치의^처방의^약품코드^약품명^총용량^총용량^수량^수량^횟수^일수^투여시작일" colsep="^" colwidth="45, 75, 90, 50, 50, 90, 313, 45, 45, 40, 35, 40, 40, 85" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:515px; width:1075px; height:200px; ">
- <col ref="currentordflag" style="text-align:center; "/>
- <col ref="prcpdd" style="text-align:center; "/>
- <col ref="deptnm" style="text-align:center; "/>
- <col ref="ordusernm" style="text-align:center; "/>
- <col ref="firstordusernm" style="text-align:center; "/>
- <col ref="orddrugcd"/>
- <col ref="orddrugnm"/>
- <col ref="sumcntsvol" style="text-align:right; "/>
- <col ref="cntsunit" style="text-align:right; "/>
- <col ref="dosageoriginonceqty" style="text-align:right; "/>
- <col ref="dosageunit" style="text-align:right; "/>
- <col ref="dosageonedayfrq" style="text-align:right; "/>
- <col ref="dosagedaycount" style="text-align:right; "/>
- <col ref="execstartdate" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var selectedrow = (datagrid2.row );
- if(0 == selectedrow){return;}
-
- var param1 = model.getValue("/root/screenMessageList/drugInofList["+selectedrow+"]/orddrugcd");
- model.makeValue("/root/difParam/pYakpumCd", param1);
- window.load("../../../com/navigationweb/xrw/SMZCN00301_Opener.xrw","modal","","","/root/difParam","/root/resultParam");
- ]]>
- </script>
- </datagrid>
- <datagrid id="datagrid1" nodeset="/root/screenMessageList/screenResultList" autoresize="true" caption="모듈명^모듈맵핑코드^SEQ^등급^처방내용^결과내용^사유명^사유코드^기타사유^상세정보" colsep="^" colwidth="93, 0, 0, 91, 331, 442, 12, 0, 13, 62" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:55px; width:1075px; height:425px; ">
- <col ref="modulenm"/>
- <col ref="mappingid" visibility="hidden"/>
- <col ref="resnseqno" visibility="hidden"/>
- <col ref="sldesc"/>
- <col ref="orddrugnm"/>
- <col ref="scnmessage"/>
- <col ref="resnnm" visibility="hidden"/>
- <col ref="resncd" visibility="hidden"/>
- <col disabled="false" ref="resncnts" type="input" visibility="hidden" style="color:transparent; background-color:#f0f0f0; border-color:#ff0000; border-left-style:none; "/>
- <col editable="false" ref="monograpnm" type="inputbutton" style="text-align:right; "/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- var rcnt = (datagrid1.row);
- var pMonograpCd = model.getValue("root/screenMessageList/screenResultList["+rcnt+"]/monograpid");
- var vModuleID = model.getValue("root/screenMessageList/screenResultList["+rcnt+"]/moduleid");
- if (pMonograpCd!=""){
- model.setValue("/root/send/reqDDIM/pMonograpCd",pMonograpCd);
- if (vModuleID=="I"){
- model.setValue("/root/send/reqDDIM/pCodeType", '14');
- modal("../../referenceweb/xrw/SPZCR00201", "", "", "", "SPZCR00201","/root/send/reqDDIM","/root/send/reqDDIM");
- }
- else if(vModuleID=="W"){
- model.setValue("/root/send/reqDDIM/pCodeType", '16');
- modal("../../referenceweb/xrw/SPZCR00201", "", "", "", "SPZCR00201","/root/send/reqDDIM","/root/send/reqDDIM");
- }
- }
-
-
- ]]>
- </script>
- </datagrid>
- <line id="line1" class="line_1" style="x1:5px; y1:511px; x2:1080px; y2:511px; "/>
- <caption id="caption1" class="tit_2" autoresize="true" style="left:5px; top:495px; width:1075px; height:13px; background-color:#ffffff; border-color:#ffffff; border-style:solid; ">약물복용정보 (약제를 더블 클릭 시 약품정보를 볼 수 있습니다.)</caption>
- <caption id="caption2" class="tit_2" style="left:5px; top:35px; width:70px; height:13px; ">검토결과</caption>
- <line id="line2" class="line_1" style="x1:5px; y1:50px; x2:1080px; y2:50px; "/>
- <button id="btn_save" class="btn4_letter2" style="left:1023px; top:718px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- window.close();
- /* if ( submit("TXZCS00101") ) {
- datagrid1.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- submit("TRZCS00101");
- } */
- ]]>
- </script>
- </button>
- <datagrid id="datagrid4" nodeset="/root/screenMessageList/screenRenList" visibility="hidden" autoresize="true" caption="모듈ID^처방코드^SEQ^사유^기타사유" colsep="^" colwidth="37, 72, 60, 100, 100" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:990px; top:90px; width:85px; height:65px; ">
- <col ref="mappingid"/>
- <col ref="orddrugcd"/>
- <col ref="resnseqno"/>
- <col ref="resncd"/>
- <col ref="resncnts"/>
- </datagrid>
- <button id="button1" class="btn4_letter2" style="left:1025px; top:2px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- window.close();
- /* if ( submit("TXZCS00101") ) {
- datagrid1.clearStatus(); // submit() 성공하면 그리드의 i,u,d 상태 제거
- submit("TRZCS00101");
- } */
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|