123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562 |
- <?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>BMT환자관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <data1>
- <insureqfromdd/>
- <insureqtodd/>
- <pid/>
- </data1>
- <data2>
- <pid/>
- <trnptdg/>
- </data2>
- <data3>
- <updbmtpatlist/>
- </data3>
- <data4>
- <pid/>
- </data4>
- <data5>
- <s_hsrm/>
- </data5>
- </send>
- <main>
- <triflist01>
- <grdbmtpatlist/>
- </triflist01>
- <triflist02>
- <grdtrnpthistlist/>
- <grddnorlist/>
- <grdremlist/>
- </triflist02>
- <hsrm>
- <hsrm_hsctrem/>
- <hsrm_pid/>
- <hsrm_rgstseqno/>
- <hsrm_instcd/>
- <hsrm_rgstdd/>
- <hsrm_trnptdg/>
- <hsrm_inschedd/>
- <hsrm_status/>
- </hsrm>
- </main>
- <init>
- <A0158list>
- <A0158>
- <cdnm/>
- <cdid/>
- </A0158>
- </A0158list>
- <A0162list>
- <A0162>
- <cdnm/>
- <cdid/>
- </A0162>
- </A0162list>
- </init>
- <hidden>
- <rsltflag>
- <rem_cnt>
- <rem_cnt/>
- </rem_cnt>
- </rsltflag>
- <inptflag>
- <inpt_cnt/>
- </inptflag>
- </hidden>
- </root>
- </instance>
- <submission id="TRPMC01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/main/triflist01"/>
- <submission id="TRPMC01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" resultref="/root/main/triflist02"/>
- <submission id="TXPMC01601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3/updbmtpatlist"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBP00102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXPMC01602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" resultref="/root/hidden/rsltflag"/>
- <submission id="TRPMC01603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data4" resultref="/root/hidden/inptflag"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fInitialize()
- {
- model.removeNodeset("/root/main/triflist01/grdbmtpatlist");
- model.removeNodeset("/root/main/triflist02/grdtrnpthistlist");
- model.removeNodeset("/root/main/triflist02/grddnorlist");
- model.removeNodeset("/root/main/triflist02/grdremlist");
- model.resetInstanceNode("/root/main/hsrm");
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fInitialize();
-
- zbcfGetCodeList(new Array("A0158", "A0162"), new Array("/root/init/A0158list", "/root/init/A0162list"));
-
- model.setValue("/root/send/data1/insureqfromdd",getCurrentDate());
- model.setValue("/root/send/data1/insureqtodd",getCurrentDate());
-
-
- model.refresh();
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1193;1,1196;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">BMT 보험승인 관리</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:1195px; height:719px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption1" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">요청기간 :</caption>
- <line id="line2" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption17" class="search_name" style="left:372px; top:9px; width:86px; height:17px; ">환자번호 :</caption>
- <input id="input32" ref="/root/send/data1/insureqfromdd" class="input_default" inputtype="date" style="left:104px; top:8px; width:115px; height:19px; "/>
- <input id="input38" ref="/root/send/data1/insureqtodd" class="input_default" inputtype="date" style="left:237px; top:8px; width:115px; height:19px; "/>
- <caption id="caption20" class="search_no_b" style="left:222px; top:8px; width:12px; height:17px; ">~</caption>
- <input id="input1" ref="/root/send/data1/pid" class="input_default" maxlength="10" style="left:461px; top:8px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode=='13') {
- inputEnterKey("btn_search", "DOMActivate");
- }
- ]]>
- </script>
- </input>
- <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/triflist02/grdtrnpthistlist");
- model.removeNodeset("/root/main/triflist02/grddnorlist");
- model.removeNodeset("/root/main/triflist02/grdremlist");
- submit("TRPMC01601");
- model.refresh();
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:300px; height:14px; font-family:돋움; vertical-align:middle; ">BMT 환자내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:561px; width:155px; height:14px; font-family:돋움; vertical-align:middle; ">BMT 이식 History</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:576px; x2:392px; y2:576px; "/>
- <datagrid id="datagrid2" nodeset="/root/main/triflist02/grdtrnpthistlist" class="datagrid2" caption="BMT차수^이식종류^요청일자^승인여부^승인일자" colsep="^" colwidth="70, 60, 90, 60, 90" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:0px; top:581px; width:392px; height:138px; ">
- <col ref="trnptdg"/>
- <col ref="trnptkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/A0158list/A0158">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="insureqdd" format="yyyy-mm-dd"/>
- <col ref="insuaprvkind" type="combo">
- <choices>
- <item>
- <label>급여</label>
- <value>1</value>
- </item>
- <item>
- <label>비급여</label>
- <value>2</value>
- </item>
- <item>
- <label>사후심사</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="insuaprvdd" format="yyyy-mm-dd"/>
- </datagrid>
- <caption id="caption4" class="tit_2" style="left:402px; top:561px; width:155px; height:13px; font-family:돋움; vertical-align:middle; ">공여자명단</caption>
- <datagrid id="datagrid3" nodeset="/root/main/triflist02/grddnorlist" class="datagrid2" caption="공여자번호^공여자명" colsep="^" colwidth="90, 120" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:397px; top:581px; width:232px; height:138px; ">
- <col ref="dnorid"/>
- <col ref="dnornm"/>
- </datagrid>
- <caption id="caption5" class="tit_2" style="left:639px; top:561px; width:214px; height:13px; font-family:돋움; vertical-align:middle; ">BMT환자 Remark 조회 및 작성</caption>
- <line id="line5" class="line_1" style="x1:634px; y1:576px; x2:1194px; y2:576px; "/>
- <line id="line4" class="line_1" style="x1:397px; y1:576px; x2:629px; y2:576px; "/>
- <textarea id="textarea1" ref="/root/main/hsrm/hsrm_hsctrem" style="left:965px; top:584px; width:229px; height:132px; "/>
- <caption id="caption7" class="cell_1" style="left:876px; top:581px; width:86px; height:114px; vertical-align:middle; ">Remark</caption>
- <caption id="caption8" class="cell_1" style="left:876px; top:696px; width:86px; height:23px; vertical-align:middle; "/>
- <button id="button8" class="btn2_letter6" style="left:876px; top:698px; width:86px; height:19px; ">
- <caption>Remark저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_bmtpatlist.row >= grd_bmtpatlist.fixedRows) {
- var cur_row = grd_bmtpatlist.row;
- var cur_col = grd_bmtpatlist.col;
-
- model.setValue("/root/main/hsrm/hsrm_inschedd",model.getValue("/root/main/triflist01/grdbmtpatlist["+ cur_row +"]/inschedd"));
- model.setValue("/root/main/hsrm/hsrm_pid",model.getValue("/root/main/triflist01/grdbmtpatlist["+ cur_row +"]/pid"));
- model.setValue("/root/main/hsrm/hsrm_trnptdg",model.getValue("/root/main/triflist01/grdbmtpatlist["+ cur_row +"]/trnptdg"));
-
- copyNodeType("/root/send/data5/s_hsrm","/root/main/hsrm","replace");
-
- submit("TXPMC01602");
- model.refresh();
- } else {
- messageBox("BMT환재 내역의 환자를 선택하세요.!","E999","");
- return false;
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_bmtpatlist" nodeset="/root/main/triflist01/grdbmtpatlist" class="datagrid2" caption="요청일자^환자번호^환자명^주민번호^차수^이식종류^Stem cell source^이식일자^코디네이터실확인^승인여부^승인일자^입원예정일자^입원일자^BMT입원^급여여부^계좌번호^공여자명^공여자주민번호^진단명^심의일" colsep="^" colwidth="78, 72, 66, 100, 34, 50, 57, 78, 66, 66, 86, 86, 86, 63, 63, 130, 76, 110, 140, 78" dataheight="32" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" style="left:0px; top:75px; width:1194px; height:476px; ">
- <col ref="insureqdd" format="yyyy-mm-dd" style="left:20px; top:32px; width:78px; height:23px; "/>
- <col ref="pid"/>
- <col ref="hngnm"/>
- <col ref="rrgstno" format="999999-9999999"/>
- <col ref="trnptdg"/>
- <col disabled="true" ref="trnptkind" type="combo">
- <choices>
- <itemset nodeset="/root/init/A0158list/A0158">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="scs" type="combo">
- <choices>
- <itemset nodeset="/root/init/A0162list/A0162">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="trnptdd" format="yyyy-mm-dd"/>
- <col ref="reqqualyn"/>
- <col ref="insuaprvkind" type="combo">
- <choices>
- <item>
- <label>급여</label>
- <value>1</value>
- </item>
- <item>
- <label>비급여</label>
- <value>2</value>
- </item>
- <item>
- <label>사후심사</label>
- <value>3</value>
- </item>
- </choices>
- </col>
- <col ref="insuaprvdd" type="inputdate"/>
- <col ref="inschedd" format="yyyy-mm-dd"/>
- <col ref="indd" format="yyyy-mm-dd"/>
- <col disabled="true" ref="hsctyn" type="combo">
- <choices>
- <item>
- <label>시행</label>
- <value>Y</value>
- </item>
- <item>
- <label>미시행</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="insukind" type="combo">
- <choices>
- <item>
- <label>급여</label>
- <value>1</value>
- </item>
- <item>
- <label>비급여</label>
- <value>2</value>
- </item>
- </choices>
- </col>
- <col ref="acntno" type="input"/>
- <col ref="dnornm"/>
- <col ref="dnorrrgstno" format="999999-9999999"/>
- <col ref="diagcd"/>
- <col ref="aprvqualdd" format="yyyy-mm-dd"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- var cur_row = grd_bmtpatlist.row;
- var cur_col = grd_bmtpatlist.col;
- if (cur_col != grd_bmtpatlist.colRef("acntno")) {
- model.setValue("/root/send/data2/pid",model.getValue("/root/main/triflist01/grdbmtpatlist["+ cur_row +"]/pid"));
- model.setValue("/root/send/data2/trnptdg",model.getValue("/root/main/triflist01/grdbmtpatlist["+ cur_row +"]/trnptdg")); //이식차수
-
- //BMT 이식 히스토리,공여자명단,리마크조회
- submit("TRPMC01602");
- model.resetInstanceNode("/root/send/data2");
- model.resetInstanceNode("/root/main/hsrm");
-
- model.refresh();
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (grd_bmtpatlist.col == grd_bmtpatlist.colRef("insuaprvkind")) {
- var ireq_insuaprvkind = model.getValue("/root/main/triflist01/grdbmtpatlist["+ grd_bmtpatlist.row +"]/insuaprvkind");
- if (ireq_insuaprvkind == "1") {
- model.setValue("/root/main/triflist01/grdbmtpatlist["+ grd_bmtpatlist.row +"]/insukind","1");
- grd_bmtpatlist.isReadOnly(grd_bmtpatlist.row,grd_bmtpatlist.colRef("insukind")) = true;
- } else if (ireq_insuaprvkind == "2") {
- model.setValue("/root/main/triflist01/grdbmtpatlist["+ grd_bmtpatlist.row +"]/insukind","2");
- grd_bmtpatlist.isReadOnly(grd_bmtpatlist.row,grd_bmtpatlist.colRef("insukind")) = true;
- } else if (ireq_insuaprvkind == "3") {
- model.setValue("/root/main/triflist01/grdbmtpatlist["+ grd_bmtpatlist.row +"]/insukind","");
- grd_bmtpatlist.isReadOnly(grd_bmtpatlist.row,grd_bmtpatlist.colRef("insukind")) = false;
- }
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <iviewer id="iviewer1" visibility="hidden" src="C:\CMCProject\application\webapps\emr\formmngtweb\xrw\SSMRF03800_OCR뷰어.xrw" style="left:460px; top:395px; width:450px; height:150px; "/>
- <datagrid id="grdremlist" nodeset="/root/main/triflist02/grdremlist" class="datagrid2" caption="입원예정일자^Remark^작성일자^작성자" colsep="^" colwidth="80, 200, 80, 70" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:634px; top:581px; width:239px; height:138px; ">
- <col ref="inschedd" format="yyyy-mm-dd"/>
- <col ref="hsctrem"/>
- <col ref="rgstdd" format="yyyy-mm-dd"/>
- <col ref="lastupdtrnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (isDataCell() == true) {
- if (grdremlist.row >= grdremlist.fixedRows) {
- var rem_row = grdremlist.row;
- model.setValue("/root/main/hsrm/hsrm_hsctrem",model.getValue("/root/main/triflist02/grdremlist[" + rem_row +"]/hsctrem"));
- model.refresh();
- }
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group5" style="left:0px; top:732px; width:1195px; height:30px; ">
- <button id="button2" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <button id="button5" class="btn4_letter2" style="left:1067px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/send/data3");
-
- var cur_row = grd_bmtpatlist.row;
-
- model.setValue("/root/send/data3/updbmtpatlist",grd_bmtpatlist.getUpdateData());
-
- if (submit("TXPMC01601") == true) {
- submit("TRPMC01601")
- model.refresh();
- }
-
- ]]>
- </script>
- </button>
- <button id="button4" class="btn3_letter8" style="left:0px; top:5px; width:128px; height:22px; ">
- <caption>BMT환자총괄조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../pam/patinfomngtweb/xrw/SPPMC03600", "1","10", "150", "SPPMC03600", "", "");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn3_letter9" style="left:128px; top:5px; width:140px; height:22px; ">
- <caption>BMT입원예정자조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //modal("../../../ast/hsctweb/xrw/SMABO01300", "1","10", "150", "SMABO01300", "", "");
- //modal("SMABO01300");
- modal("SMABO01300", "", "", "", "", "", "","width:1240px;height:850px;align:center;");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn3_letter6" style="left:268px; top:5px; width:104px; height:22px; ">
- <caption>BMT환자관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../ast/hsctweb/xrw/SMABO00100", "1","10", "150", "SMABO00100", "", "");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn3_letter5" style="left:372px; top:5px; width:92px; height:22px; ">
- <caption>이식스케쥴</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../ast/hsctweb/xrw/SMABO00800", "1","10", "150", "SMABO00800", "", "");
- ]]>
- </script>
- </button>
- <button id="button7" class="btn3_letter8" style="left:464px; top:5px; width:128px; height:22px; ">
- <caption>BMT대기자리스트</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //modal("../../../ast/hsctweb/xrw/SMABO01100", "1","10", "150", "SMABO01100", "", "");
- modal("SMABO01100", "", "", "", "", "", "","width:1240px;height:850px;align:center;");
- ]]>
- </script>
- </button>
- <!-- 채희철과장님,20090210, 사용하지않는다고 하여 일단 hidden함. JHP-->
- <button id="button9" class="btn3_letter12" visibility="hidden" style="left:812px; top:5px; width:176px; height:22px; ">
- <caption>자가조혈모세포이식신청서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_bmtpatlist.row > 0 && grd_bmtpatlist.row >= grd_bmtpatlist.fixedRows) {
- var cur_col = grd_bmtpatlist.col;
- model.resetInstanceNode("/root/send/data4");
- model.setValue("/root/send/data4/pid",model.getValue("/root/main/triflist01/grdbmtpatlist[" + grd_bmtpatlist.row + "]/pid"));
- //입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
- if (submit("TRPMC01603") == true) {
- var inpt_pid = model.getValue("/root/hidden/inptflag/inpt_cnt/pid");
- if (inpt_pid != null && inpt_pid != " " && inpt_pid != "") {
- //자가 조혈모 세포 이식신청서
- iviewer1.window.javascript.fGetOCRInfo("0000002950", inpt_pid, model.getValue("/root/hidden/inptflag/inpt_cnt/orddd")
- , model.getValue("/root/hidden/inptflag/inpt_cnt/cretno"), model.getValue("/root/hidden/inptflag/inpt_cnt/ordtype"), "3", "Y");
- iviewer1.window.javascript.fPrint();
- } else {
- messageBox("재원환자가 아닙니다. 출력할 수 없습니다.!!","E999","");
- return false;
- }
- }
- }
- //동종 조혈모 세포 이식 신청서 0000002947
- //동종 조혈모 세포 공여 승낙서 0000002948
- //이식 등록 환자 동의서 0000002949
- //자가 조혈모 세포 이식신청서 0000002950
-
- ]]>
- </script>
- </button>
- <!-- 채희철과장님,20090210, 사용하지않는다고 하여 일단 hidden함. JHP-->
- <button id="button10" class="btn3_letter12" visibility="hidden" style="left:831px; top:5px; width:176px; height:22px; ">
- <caption>동종조혈모세포이식신청서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_bmtpatlist.row > 0 && grd_bmtpatlist.row >= grd_bmtpatlist.fixedRows) {
- var cur_col = grd_bmtpatlist.col;
- model.resetInstanceNode("/root/send/data4");
- model.setValue("/root/send/data4/pid",model.getValue("/root/main/triflist01/grdbmtpatlist[" + grd_bmtpatlist.row + "]/pid"));
- //입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
- if (submit("TRPMC01603") == true) {
- var inpt_pid = model.getValue("/root/hidden/inptflag/inpt_cnt/pid");
- if (inpt_pid != null && inpt_pid != " " && inpt_pid != "") {
- //자가 조혈모 세포 이식신청서
- iviewer1.window.javascript.fGetOCRInfo("0000002947", inpt_pid, model.getValue("/root/hidden/inptflag/inpt_cnt/orddd")
- , model.getValue("/root/hidden/inptflag/inpt_cnt/cretno"), model.getValue("/root/hidden/inptflag/inpt_cnt/ordtype"), "3", "Y");
- iviewer1.window.javascript.fPrint();
- } else {
- messageBox("재원환자가 아닙니다. 출력할 수 없습니다.!!","E999","");
- return false;
- }
- }
- }
- ]]>
- </script>
- </button>
- <!-- 채희철과장님,20090210, 사용하지않는다고 하여 일단 hidden함. JHP-->
- <button id="button11" class="btn3_letter12" visibility="hidden" style="left:850px; top:5px; width:176px; height:22px; ">
- <caption>동종조혈포세포공여승낙서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_bmtpatlist.row > 0 && grd_bmtpatlist.row >= grd_bmtpatlist.fixedRows) {
- var cur_col = grd_bmtpatlist.col;
- model.resetInstanceNode("/root/send/data4");
- model.setValue("/root/send/data4/pid",model.getValue("/root/main/triflist01/grdbmtpatlist[" + grd_bmtpatlist.row + "]/pid"));
- //입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
- if (submit("TRPMC01603") == true) {
- var inpt_pid = model.getValue("/root/hidden/inptflag/inpt_cnt/pid");
- if (inpt_pid != null && inpt_pid != " " && inpt_pid != "") {
- //자가 조혈모 세포 이식신청서
- iviewer1.window.javascript.fGetOCRInfo("0000002948", inpt_pid, model.getValue("/root/hidden/inptflag/inpt_cnt/orddd")
- , model.getValue("/root/hidden/inptflag/inpt_cnt/cretno"), model.getValue("/root/hidden/inptflag/inpt_cnt/ordtype"), "3", "Y");
- iviewer1.window.javascript.fPrint();
- } else {
- messageBox("재원환자가 아닙니다. 출력할 수 없습니다.!!","E999","");
- return false;
- }
- }
- }
- ]]>
- </script>
- </button>
- <!-- 채희철과장님,20090210, 사용하지않는다고 하여 일단 hidden함. JHP-->
- <button id="button12" class="btn3_letter12" visibility="hidden" style="left:872px; top:5px; width:176px; height:22px; ">
- <caption>이식등록환자동의서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (grd_bmtpatlist.row > 0 && grd_bmtpatlist.row >= grd_bmtpatlist.fixedRows) {
- var cur_col = grd_bmtpatlist.col;
- model.resetInstanceNode("/root/send/data4");
- model.setValue("/root/send/data4/pid",model.getValue("/root/main/triflist01/grdbmtpatlist[" + grd_bmtpatlist.row + "]/pid"));
- //입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
- if (submit("TRPMC01603") == true) {
- var inpt_pid = model.getValue("/root/hidden/inptflag/inpt_cnt/pid");
- if (inpt_pid != null && inpt_pid != " " && inpt_pid != "") {
- //자가 조혈모 세포 이식신청서
- iviewer1.window.javascript.fGetOCRInfo("0000002949", inpt_pid, model.getValue("/root/hidden/inptflag/inpt_cnt/orddd")
- , model.getValue("/root/hidden/inptflag/inpt_cnt/cretno"), model.getValue("/root/hidden/inptflag/inpt_cnt/ordtype"), "3", "Y");
- iviewer1.window.javascript.fPrint();
- } else {
- messageBox("재원환자가 아닙니다. 출력할 수 없습니다.!!","E999","");
- return false;
- }
- }
- }
- ]]>
- </script>
- </button>
- <button id="button13" class="btn3_letter5" style="left:691px; top:5px; width:92px; height:22px; ">
- <caption>동의서반납</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../emr/formmngtweb/xrw/SMMRF02600", "1","10", "150", "SMMRF02600", "", "");
- ]]>
- </script>
- </button>
- <button id="button14" class="btn3_letter5" style="left:599px; top:5px; width:92px; height:22px; ">
- <caption>동의서출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("../../../emr/formmngtweb/xrw/SMMRF02300", "1","10", "150", "SMMRF02300", "", "");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|