123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPJ01300_비부인과의뢰지.xfm
- * 설 명 : 비부인과의뢰지
- * 설 계 자 :
- * 작 성 자 : 유동철(ACK)
- * 작 성 일 : 2007.04.04
- * 수정이력 :
- * 기 타 :
- -->
- <?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>
- <reqfrm>
- <reqfrmtbl>
- <reqfrminfo>
- <spcsite/>
- <choispc>
- <choispclist>
- <choi/>
- <spcseqno/>
- <spccd/>
- <spccd2/>
- </choispclist>
- </choispc>
- <inptitem01/>
- <reqcnts/>
- </reqfrminfo>
- </reqfrmtbl>
- </reqfrm>
- <rtnval>
- <rtnvalinfo>
- <reqno/>
- <instcd/>
- </rtnvalinfo>
- </rtnval>
- </main>
- <send>
- <data1/>
- <data2/>
- </send>
- <init>
- </init>
- <hidden>
- <reqfrminfo>
- <pid/>
- <prcpcd/>
- <prcpnm/>
- <opnm/>
- <spccd/>
- <spcnm/>
- <reqno/>
- <reqhistno/>
- </reqfrminfo>
- </hidden>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- <submission id="TXLPJ01501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/rtnval/rtnvalinfo"/>
- <submission id="TRLPJ01502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/reqfrm"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 비부인과의뢰지 팝업화면
- * @ver : 2007.04.04 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 Initialize함수
- */
- function fExeInitialize() {
- var sReqFrmNo = "";
-
- /*
- //----------------------------------------------------------------
- // 처방등록 화면에서 호출되지 않는 경우는 "저장" 기능을 비 활성화 처리
- if (model.getValue("/root/hidden/reqfrminfo/scrnno") == "10") {
- btn_save.visible = true;
- btn_sytsrsltref.visible= true;
- } else {
- btn_save.visible = false;
- btn_sytsrsltref.visible= false;
- }
- */
- /*
- //-------------
- // Test용 자료
- model.makeValue("/root/hidden/reqfrminfo/pid", "10434");
- model.makeValue("/root/hidden/reqfrminfo/prcpcd", "PCY20001");
- // model.makeValue("/root/hidden/reqfrminfo/spccd", "TC2003");
- model.makeValue("/root/hidden/reqfrminfo/reqno", "31");
- model.makeValue("/root/hidden/reqfrminfo/prcpstatcd", "000");
- */
-
- model.makeValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/spcsite", "2");
-
- //----------------------------------------------------------
- sReqFrmNo = model.getValue("/root/hidden/reqfrminfo/reqno");
- sReqFrmNo = sReqFrmNo.getLeftPad(1, "0");
- //----------------------------------------------
- // 의뢰지번호가 존재할 경우 의뢰지내용을 조회한다.
- if (sReqFrmNo != "0") {
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
- model.makeValue("/root/send/reqno", model.getValue("/root/hidden/reqfrminfo/reqno"));
- submit("TRLPJ01502");
-
- model.makeValue("/root/hidden/reqfrminfo/spccd", model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist/spccd"));
- } else {
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", "");
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts", "");
- }
-
- //-------------------------------------------------------------
- // 처방상태코드가 바코드출력(420)보다 적은 경우만 검체수정 가능
- if (Number(model.getValue("/root/hidden/reqfrminfo/prcpstatcd")) >= 400) {
- btn_save.disabled = true;
- } else {
- if(Number(model.getValue("/root/main/reqfrm/prcpstatcd")) >= 400) {
- btn_save.disabled = true;
- }else {
- btn_save.disabled = false;
- }
- }
-
- //-------------
- model.refresh();
- model.makeValue("/root/hidden/reqfrminfo/spcnm", rdo_reprspccd.label);
- }
-
- /* @group : 비부인과의뢰지 팝업화면
- * @ver : 2007.04.04 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면 닫기 함수
- */
- function fScrnClos() {
- window.close();
- }
-
- /* @group : 부인과의뢰지 팝업화면
- * @ver : 2007.04.06 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 통합결과조회 처리 Function
- */
- function fSytsRsltRef() {
- modal("SMAER00800", "", "", "", "SMAER00800", "/root/hidden/reqfrminfo/pid", "/root/send/data/singdata/srchpid");
- }
-
- /* @group : 조직검사의뢰지
- * @ver : 2007.04.02 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 설정값 저장 Function
- */
- function fExeSave()
- {
- var sSpcnm = "";
- var strNode = "/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist";
- var node = instance1.selectSingleNode("/root/main/reqfrm/reqfrmtbl/reqfrminfo");
- //------------------
- // 검체 추가정보 설정
- model.makeValue(strNode + "/choi", "true");
- model.makeValue(strNode + "/spcseqno", "001");
- model.makeValue(strNode + "/spccd", model.getValue("/root/hidden/reqfrminfo/spccd"));
-
- // Other 검체 선택 시 의뢰지에 저장하는 명칭 변경
- sSpcnm = rdo_reprspccd.item(rdo_reprspccd.focusIndex).label;
- if (sSpcnm == "Other")
- {
- model.makeValue(strNode + "/spcnm", ipt_other.currentText);
- }
- else
- {
- model.makeValue(strNode + "/spcnm", sSpcnm);
- }
- //---------------------------------
- model.removeNodeset("/root/send");
-
- model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
- model.makeValue("/root/send/scrno", "30");
- model.makeValue("/root/send/reqno", (model.getValue("/root/hidden/reqfrminfo/reqno")).toString().getLeftPad(1, "0"));
- model.makeValue("/root/send/reqcnts", "");
- model.setValue("/root/send/reqcnts", node.xml, true);
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/prcpdd", model.getValue("/root/hidden/reqfrminfo/prcpdd"));
- model.makeValue("/root/send/execprcpuniqno", model.getValue("/root/hidden/reqfrminfo/execprcpuniqno"));
-
- //------------------------
- if (!submit("TXLPJ01501")) {
- messageBox("의뢰지 저장을", "E009");
- return false;
- }
-
- //------------------
- // 의뢰지번호 Return
- opener.model.setValue("/root/hidden/reqfrminfo/reqno", model.getValue("/root/main/rtnval/rtnvalinfo/reqno"));
- opener.model.setValue("/root/hidden/reqfrminfo/spccd", model.getValue("/root/hidden/reqfrminfo/spccd"));
- opener.model.setValue("/root/hidden/reqfrminfo/spcnm", rdo_reprspccd.item(rdo_reprspccd.focusIndex).label);
-
- //------------
- model.close();
- }
-
- function fExeOtherKeyPress() {
-
- if (event.keyCode != 13) {
- model.makeValue("/root/hidden/reqfrminfo/spccd", "TCBF99");
- rdo_reprspccd.refresh();
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="546" pageheight="576" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="grp_biz" style="left:0px; top:0px; width:530; height:533; ">
- <caption id="caption1" class="tit_2" autoresize="true" style="left:5px; top:10px; width:160px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">처방</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:530px; y2:25px; "/>
- <caption id="caption2" class="tit_2" autoresize="true" style="left:5px; top:62; width:170px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">필수기록사항</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:77; x2:530px; y2:77; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:30px; width:100px; height:23px; text-align:center; vertical-align:middle; ">처방명</caption>
- <output id="output1" ref="/root/hidden/reqfrminfo/prcpnm" class="output_fix" style="left:103px; top:31px; width:250px; height:19px; "/>
- <caption id="caption5" class="tit_2" autoresize="true" style="left:5px; top:245px; width:170px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">임상정보 및 기록사항</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:260px; x2:530px; y2:260px; "/>
- <textarea id="textarea1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts" navindex="4" style="left:0px; top:265px; width:530px; height:268px; "/>
- <line id="line4" class="line_3" style="x1:0px; y1:52px; x2:530px; y2:52px; "/>
- <select1 id="rdo_reprspccd" ref="/root/hidden/reqfrminfo/spccd" navindex="2" appearance="full" cellspacing="32" cols="3" rows="7" vcellspacing="3" overflow="visible" style="left:0px; top:82px; width:530px; height:158px; border-style:none; ">
- <choices>
- <item>
- <label>Ascites</label>
- <value>TCBF01</value>
- </item>
- <item>
- <label>Nipple discharge</label>
- <value>TCBF07</value>
- </item>
- <item>
- <label>Synovial fluid</label>
- <value>TCBF13</value>
- </item>
- <item>
- <label>Bile</label>
- <value>TCBF02</value>
- </item>
- <item>
- <label>Ovary cyst</label>
- <value>TCBF08</value>
- </item>
- <item>
- <label>Urine catheterized</label>
- <value>TCBF15</value>
- </item>
- <item>
- <label>Bronchial brushing</label>
- <value>TCBF03</value>
- </item>
- <item>
- <label>Pericaridal fluid</label>
- <value>TCBF09</value>
- </item>
- <item>
- <label>Urine voided</label>
- <value>TCBF14</value>
- </item>
- <item>
- <label>Bronchial washing</label>
- <value>TCBF04</value>
- </item>
- <item>
- <label>Peritoneal washing</label>
- <value>TCBF10</value>
- </item>
- <item>
- <label>Urine washing</label>
- <value>TCBF16</value>
- </item>
- <item>
- <label>Cerebrospinal fluid (CSF)</label>
- <value>TCBF05</value>
- </item>
- <item>
- <label>Pleural fluid</label>
- <value>TCBF11</value>
- </item>
- <item>
- <label>Wounded discharge</label>
- <value>TCBF17</value>
- </item>
- <item>
- <label>Gastric washing</label>
- <value>TCBF06</value>
- </item>
- <item>
- <label>Sputum</label>
- <value>TCBF12</value>
- </item>
- <item>
- <label>Thyroid</label>
- <value>TCAP08</value>
- </item>
- <item>
- <label>BAL fluid</label>
- <value>TCBF18</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>Other</label>
- <value>TCBF99</value>
- </item>
- </choices>
- </select1>
- <select1 id="rdo_ltrt" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/spcsite" navindex="1" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:356px; top:30px; width:164px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>RT</label>
- <value>0</value>
- </item>
- <item>
- <label>LT</label>
- <value>1</value>
- </item>
- <item>
- <label>Other</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" style="left:190px; top:198px; width:190px; height:15px; background-color:#ffffff; "/>
- <input id="ipt_other" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01" navindex="3" maxlength="100" style="left:50px; top:216px; width:476px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- fExeOtherKeyPress();
- ]]>
- </script>
- </input>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:533; width:530px; height:27px; ">
- <button id="btn_exit" class="btn4_letter2" navindex="7" style="left:474; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fScrnClos();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:0px; x2:530; y2:0px; "/>
- <button id="btn_save" class="btn4_letter2" navindex="6" style="left:415px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSave();
- ]]>
- </script>
- </button>
- <button id="btn_sytsrsltref" class="btn3_letter6" navindex="5" style="left:0; top:3px; width:56px; height:22px; ">
- <caption>통합결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSytsRsltRef();
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|