123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SPLPJ02101_병리번호목록
- * 설 명 : 병리번호목록
- * 설 계 자 : 설계자가 별도로 존재시 작성
- * 작 성 자 : 유동철(ACK)
- * 작 성 일 : 2007.07.03
- * 수정이력 : 최종작성일 기준으로 변경사항 이력관리
- * 기 타 : 주석문에 반영되어야 할 사항 표기
- -->
- <?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>
- <ptno>
- <ptnolist>
- <instcd/>
- <ptno/>
- <dispptno>SH07-234567</dispptno>
- <pid>2345678987</pid>
- <patnm>홍길동가나다</patnm>
- <acptdd>20072222</acptdd>
- <acpttm>121212</acpttm>
- <acptno/>
- <spccd/>
- <spcnm/>
- <spcacptdd/>
- <spcacptno/>
- <acptseqno/>
- <grosdrnm/>
- </ptnolist>
- </ptno>
- </main>
- <send/>
- <init>
- <ptnoflagcd/>
- </init>
- <hidden>
- </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"/>
- <submission id="TRLPJ02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ptno/ptnolist"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fExeInitialize();
- ]]>
- </script>
- </model>
- <script type="javascript">
- <![CDATA[
- /* @group : 의뢰지 검체정보
- * @ver : 2007.07.03 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면종료 처리 Function
- */
- function fExeInitialize() {
-
- //------------
- // 초기값 설정
- if(model.property("bfptnocnclptno") == "1") {
- model.makeValue("/root/init/ptnoflagcd", "1");
- } else {
- model.makeValue("/root/init/ptnoflagcd", "0");
- }
-
- //-------------------
- // 병리번호 목록 검색
- fGetBfAfPtNoList();
-
- //--------------
- model.refresh();
- }
- /* @group : 의뢰지 검체정보
- * @ver : 2007.07.03 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 화면종료 처리 Function
- */
- function fExeWindowClose() {
- model.close();
- }
-
- /* @group : 의뢰지 검체정보
- * @ver : 2007.07.03 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병리번호 구분 변경 처리 Function
- */
- function fExePtNoChange() {
- fGetBfAfPtNoList();
- }
-
- /* @group : 의뢰지 검체정보
- * @ver : 2007.07.03 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병리번호 목록 조회 처리 Function
- */
- function fGetBfAfPtNoList() {
-
- //--------------------------------
- model.removeNodeset("/root/send");
-
- //-----------------------------------------------------------------
- model.makeValue("/root/send/instcd", model.property("instcd"));
- model.makeValue("/root/send/pid", model.property("pid"));
- model.makeValue("/root/send/ptnoflagcd", model.getValue("/root/init/ptnoflagcd"));
- //-------------------
- submit("TRLPJ02101");
- }
-
- /* @group : 의뢰지 검체정보
- * @ver : 2007.07.03 (CMCDEV-0001)
- * @by : 유동철(ACK)
- * @-----------------------------------
- * @type : function
- * @access : public
- * @desc : 병리번호 선택 처리 Function
- */
- function fExeGridSelect() {
-
- var grdRow = grd_ptnolist.row;
-
- if (grdRow > 0 && grd_ptnolist.isCell(event.target) && grdRow >= grd_ptnolist.fixedRows) {
- // Continue
- } else {
- return false;
- }
-
-
- //---------------------------------------------------------------------------------------
- model.property("ptno") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/ptno");
- model.property("dispptno") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/dispptno");
-
- //---------------------------------------------------
- if (model.getValue("/root/init/ptnoflagcd") == "0") {
- model.property("bfacptdd") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/acptdd");
- model.property("bfacptno") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/acptno");
- model.property("bfacptseqno") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"acptseqno");
- model.property("reuseflagcd") = "0";
- model.property("bfspcacptdd") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/spcacptdd");
- model.property("bfspcacptno") = model.getValue("/root/main/ptno/ptnolist["+grdRow+"]/spcacptno");
- } else {
- model.property("bfacptdd") = "-";
- model.property("bfacptno") = "-";
- model.property("bfacptseqno") = "0";
- model.property("reuseflagcd") = "1";
- model.property("bfspcacptdd") = "-";
- model.property("bfspcacptno") = "-";
- }
-
- //----------------
- fExeWindowClose();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="566" pageheight="566" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group2" scroll="auto" style="left:0px; top:523; width:550; height:27px; ">
- <button id="btn_cls" class="btn4_letter2" navindex="7" style="left:494; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeWindowClose();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:0px; x2:432; y2:0px; "/>
- </group>
- <group id="grp_b" style="left:0px; top:0px; width:550; height:523px; ">
- <caption id="caption1" class="tit_2" autoresize="true" style="left:5px; top:10px; width:161px; height:14px; font-family:굴림체; font-size:9pt; vertical-align:middle; ">병리번호목록</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:25px; x2:550px; y2:25px; "/>
- <select1 id="rdo_ptno" ref="/root/init/ptnoflagcd" appearance="full" cols="2" overflow="visible" style="left:415px; top:8px; width:135px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>이전번호</label>
- <value>0</value>
- </item>
- <item>
- <label>결번번호</label>
- <value>1</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fExePtNoChange();
- ]]>
- </script>
- </select1>
- <datagrid id="grd_ptnolist" nodeset="/root/main/ptno/ptnolist" caption="instcd^ptno^병리번호^육안검사의^등록번호^환자명^접수일자^접수시간^접수번호^spccd^검체명^검체접수일자^검체접수번호^접수일련번호" colsep="^" colwidth="0, 0, 80, 80, 70, 80, 80, 60, 0, 0, 90, 0, 0, 0" dataheight="25" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="7" style="left:0px; top:30px; width:550px; height:492px; border-color:#c0c0c0; border-style:solid; ">
- <col ref="instcd"/>
- <col ref="ptno"/>
- <col class="text_center" ref="dispptno"/>
- <col ref="grosdrnm"/>
- <col class="text_center" ref="pid"/>
- <col class="text_center" ref="patnm"/>
- <col class="text_center" ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
- <col ref="acpttm" format="hh:nn:ss" mask="exclude" showmask="true"/>
- <col ref="acptno"/>
- <col ref="spccd"/>
- <col ref="spcnm"/>
- <col ref="spcacptdd"/>
- <col ref="spcacptno"/>
- <col ref="acptseqno"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fExeGridSelect();
- ]]>
- </script>
- </datagrid>
- </group>
- </xhtml:body>
- </xhtml:html>
|