123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPJ01400_부인과의뢰지.xfm
- * 설 명 : 부인과의뢰지
- * 설 계 자 : 설계자가 별도로 존재시 작성
- * 작 성 자 : 유동철(ACK)
- * 작 성 일 : 2007.04.02
- * 수정이력 :
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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>
- <choispc>
- <choispclist>
- <choi/>
- <spcseqno/>
- <spccd/>
- <spcnm/>
- </choispclist>
- </choispc>
- <inptitem01/>
- <inptitem02/>
- <inptitem03/>
- <reqcnts/>
- </reqfrminfo>
- </reqfrmtbl>
- </reqfrm>
- <rtnval>
- <rtnvalinfo>
- <reqno/>
- <instcd/>
- </rtnvalinfo>
- </rtnval>
- </main>
- <send>
- <data1/>
- <data2/>
- </send>
- <init>
- <sysdt>
- <sysdtinfo>
- <sysdd/>
- <systm/>
- </sysdtinfo>
- </sysdt>
- </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"/>
- <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 부인과의뢰지 팝업화면
- * @ver : 2007.04.02 (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;
- }
- */
- //----------------
- // 시스템일시 조회
- model.removeNodeset("/root/send");
- model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- submit("TRLPZ00102");
-
- /*
- //-------------
- // Test용 자료
- model.makeValue("/root/hidden/reqfrminfo/pid", "10434");
- model.makeValue("/root/hidden/reqfrminfo/prcpcd", "PCY00001");
- //model.makeValue("/root/hidden/reqfrminfo/spccd", "TCGY01");
- //model.makeValue("/root/hidden/reqfrminfo/spcnm", "Cervico-viginal smear");
- model.makeValue("/root/hidden/reqfrminfo/reqno", "32");
- */
-
- //----------------------------------------------------------
- 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 {
-
- //---------------------------------------------
- // 대표검체코드가 처방화면에서 넘어온 경우 처리
- if (model.getValue("/root/hidden/reqfrminfo/spccd") != "" && model.getValue("/root/hidden/reqfrminfo/spccd") != "-") {
- model.makeValue("/root/hidden/reqfrminfo/spccd", "TCGY01");
- model.makeValue("/root/hidden/reqfrminfo/spcnm", "Cervico-vaginal smear");
- } else {
- model.makeValue("/root/hidden/reqfrminfo/spccd", "TCGY01");
- model.makeValue("/root/hidden/reqfrminfo/spcnm", "Cervico-vaginal smear");
- }
-
- //----------------------------------------------------------------
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01", model.getValue("/root/init/sysdt/sysdtinfo/sysdd"));
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02", "");
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem03", "");
- model.setValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts", "");
- }
-
- //-------------------------------------------------------------
- // 처방상태코드가 바코드출력(400)보다 적은 경우만 검체수정 가능
- 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_reprspc.label);
- }
-
- /* @group : 부인과의뢰지 팝업화면
- * @ver : 2007.04.02 (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 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"));
- model.makeValue(strNode + "/spccd2", model.getValue("/root/hidden/reqfrminfo/spccd"));
- model.makeValue(strNode + "/spcnm", "Cervico-vaginal smear");
- model.makeValue(strNode + "/existyn", "N");
-
- //---------------------------------
- model.removeNodeset("/root/send");
-
- model.makeValue("/root/send/pid", model.getValue("/root/hidden/reqfrminfo/pid"));
- model.makeValue("/root/send/scrno", "20");
- 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/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist/spccd"));
- opener.model.setValue("/root/hidden/reqfrminfo/spcnm", model.getValue("/root/main/reqfrm/reqfrmtbl/reqfrminfo/choispc/choispclist/spcnm"));
-
- //------------
- model.close();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="546" pageheight="563" guideline="1,531;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group2" scroll="auto" style="left:0px; top:520; width:530; 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_sytsrsltref" class="btn3_letter6" style="left:0; top:3px; width:56px; height:22px; ">
- <caption>통합결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSytsRsltRef();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:415px; top:5px; width:56px; height:22px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeSave();
- ]]>
- </script>
- </button>
- </group>
- <group id="grp_biz" style="left:0px; top:0px; width:530; height:520; ">
- <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; "/>
- <select1 id="rdo_reprspc" ref="/root/hidden/reqfrminfo/spccd" appearance="full" cellspacing="90" cols="3" overflow="visible" style="left:0px; top:30px; width:530px; height:13px; border-style:none; ">
- <choices>
- <item>
- <label>Cervico-vaginal smear</label>
- <value>TCGY01</value>
- </item>
- </choices>
- </select1>
- <caption id="caption2" class="tit_2" autoresize="true" style="left:5px; top:50px; width:170px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">필수기록사항</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:65px; x2:530px; y2:65px; "/>
- <caption id="caption3" class="cell_1" style="left:0px; top:70px; width:100px; height:23px; text-align:center; vertical-align:middle; ">L.M.P</caption>
- <input id="input1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem01" inputtype="date" style="left:103; top:71px; width:100px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:205px; top:70px; width:100px; height:23px; text-align:center; vertical-align:middle; ">처방명</caption>
- <output id="output1" ref="/root/hidden/reqfrminfo/prcpnm" class="output_fix" style="left:308; top:71px; width:222px; height:19px; "/>
- <select id="checkbox1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem02" overflow="visible" appearance="full" cellspacing="60" cols="3" rows="4" vcellspacing="4" style="left:0px; top:97px; width:530px; height:83px; border-style:none; ">
- <choices>
- <item>
- <label>Routine Check</label>
- <value>0</value>
- </item>
- <item>
- <label>Hormone Therapy</label>
- <value>1</value>
- </item>
- <item>
- <label>Pregnancy</label>
- <value>2</value>
- </item>
- <item>
- <label>Hx. of Gyn surgery</label>
- <value>3</value>
- </item>
- <item>
- <label>Chemotherapy</label>
- <value>4</value>
- </item>
- <item>
- <label>Postparturm</label>
- <value>5</value>
- </item>
- <item>
- <label>Hx. of Abnormal PAP smear</label>
- <value>6</value>
- </item>
- <item>
- <label>Radiation Therapy</label>
- <value>7</value>
- </item>
- <item>
- <label>Vaginal bleeding</label>
- <value>8</value>
- </item>
- <item>
- <label>Menopause</label>
- <value>9</value>
- </item>
- </choices>
- </select>
- <caption id="caption5" class="tit_2" autoresize="true" style="left:5px; top:190px; width:170px; height:13px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">임상정보 및 기록사항</caption>
- <line id="line3" class="line_1" style="x1:0px; y1:205px; x2:530px; y2:205px; "/>
- <textarea id="textarea1" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/reqcnts" style="left:0px; top:210px; width:530px; height:310px; "/>
- <line id="line4" class="line_3" style="x1:0px; y1:92px; x2:530px; y2:92px; "/>
- <input id="input2" ref="/root/main/reqfrm/reqfrmtbl/reqfrminfo/inptitem03" style="left:86px; top:159px; width:444px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|