123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- <?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>
- <dnorinfo>
- <dnorinfo>
- <status/>
- <dnorid/>
- <instcd/>
- <dnornm/>
- <dnorsex/>
- <dnorage/>
- <dnorrela/>
- <remfact/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <pid/>
- <orddd/>
- <cretno/>
- <selectyn/>
- <existyn/>
- </dnorinfo>
- </dnorinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- <rtndata/>
- <cond1/>
- <cond2/>
- <cond3/>
- <cond4/>
- <cond5/>
- <cond6/>
- <cond99/>
- </send>
- <init>
- <dnorsex/>
- <dnorrela/>
- <paminfo/>
- <rcnt/>
- <closestat>N</closestat>
- </init>
- <result>
- <param/>
- </result>
- <reset>
- <dnorinfo>
- <status/>
- <dnorid/>
- <instcd/>
- <dnornm/>
- <dnorsex/>
- <dnorage/>
- <dnorrela/>
- <remfact/>
- <fstrgstrid/>
- <fstrgstdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <pid/>
- <orddd/>
- <cretno/>
- <selectyn/>
- <existyn/>
- </dnorinfo>
- </reset>
- <prcpsrch/>
- <prcptemp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- ]]>
- </script>
- <submission id="TXMMO21001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/gene" resultref="/root/result"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1100" pageheight="690">
- <caption id="caption3" class="cell_2" style="left:0px; top:11px; width:144px; height:59px; vertical-align:middle; ">유전자검사동의서</caption>
- <button id="btn_delete" class="btn2_letter10" style="left:525px; top:225px; width:115px; height:19px; ">
- <caption>유전자검사동의서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for(i=1;i<=5;i++){
- var vinstcd = "012";
- var vprcpdd = getCurrentDate();
- var vorddd = "20091210";
- var vcretno = "1"
- var vprcpcd = "drugcd"
- var vprcpnm = "drugnm"
- var vprcpno ="6";
- var vpid ="pid";
- var vpatnm ="patientnm";
- var vrrgstno ="197701021";
- var vdrnm ="drnm";
- var vdrbrthdd ="19991231";
- var vdeptengabbr ="mg";
- var vroomcd ="101-201";
- var vprcpgenrflag ="I";
- var vcentcd ="centcd";
- var vocrtag ="1234567890";
-
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/instcd", vinstcd);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/prcpdd", vprcpdd);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/prcpno", vprcpno+i);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/orddd" , vorddd);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/cretno", vcretno);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/prcpcd", vprcpcd+i);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/prcpnm", vprcpnm+i);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/patnm", vpatnm);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/pid", vpid);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/rrgstno", vrrgstno);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/drnm", vdrnm);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/drbrthdd", vdrbrthdd);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/deptengabbr", vdeptengabbr);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/roomcd", vroomcd);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/prcpgenrflag", vprcpgenrflag);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/centcd", vcentcd);
- model.makeValue("/root/hidden/ocrprint_atad/row["+i+"]/ocrtag", vocrtag);
- }
-
- modal("SPMMO21000", "", "", "", "SPMMO21000", "/root/hidden/ocrprint_atad", "/root/main/prcplist","sysmenu:hidden;");
- if(submit("TXMMO21001")){
- var vcurdd =getCurrentDate();
- var vcurtm =getCurrentTime();
-
- //출력일자 & 출력일시 설정
- model.makeValue("/root/hidden/geneunitlist/curdd", vcurdd);
- model.makeValue("/root/hidden/geneunitlist/curtm", vcurtm);
-
- // rexpert 호출
- exeReportPreview("RPMMO21001", "XMLSTR", "/root/hidden/geneunitlist");
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|