123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?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>
- <cond>
- <excpcls/>
- <pid/>
- <srchflag/>
- <genrdd/>
- <genrno/>
- <histno/>
- </cond>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <list>
- <exptpatlist>
- <genrdd/>
- <genrno/>
- <instcd/>
- <excpcls/>
- <deptcd/>
- <deptnm/>
- <userid/>
- <usernm/>
- <pid/>
- <hngnm/>
- <fromdd/>
- <todd/>
- <histcd/>
- <histnm/>
- <histno/>
- <excpcd/>
- <excptext/>
- <fstrgstrdeptnm/>
- <fstrgstrid/>
- <fstrgstrusernm/>
- <fstrgstdt/>
- <lastupdtrdeptnm/>
- <lastupdtrid/>
- <lastupdtrusernm/>
- <lastupdtdt/>
- </exptpatlist>
- </list>
- <info>
- <exptpatinfo>
- <status/>
- <genrdd/>
- <genrno/>
- <instcd/>
- <excpcls/>
- <deptcd/>
- <deptnm/>
- <userid/>
- <usernm/>
- <pid/>
- <hngnm/>
- <fromdd/>
- <todd/>
- <histcd/>
- <histnm/>
- <histno/>
- <excpcd/>
- <excptext/>
- <fstrgstrdeptnm/>
- <fstrgstrid/>
- <fstrgstrusernm/>
- <fstrgstdt/>
- <fstrgstinfo/>
- <lastupdtrdeptnm/>
- <lastupdtrid/>
- <lastupdtrusernm/>
- <lastupdtdt/>
- <lastupdtinfo/>
- <duedate/>
- </exptpatinfo>
- </info>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <hidden>
- </hidden>
- <init>
- <patinfo>
- <pid/>
- <hngnm/>
- </patinfo>
- <orddept/>
- <userlist1/>
- <userlist2/>
- <M0627/>
- </init>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <bind id="bind1" ref="/root/hidden/concpatinfo" calculate=""now()+.""/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO09502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/list"/>
- <submission id="TRMMO09702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/info"/>
- <submission id="TXMMO09501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/list"/>
- </model>
- <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/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO09700.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="390" pageheight="360" guideline="1,365;2,591;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group_list" scroll="no" style="left:0px; top:210px; width:365px; height:140px; ">
- <caption id="caption24" class="tit_2" style="left:0px; top:1px; width:134px; height:13px; ">임신부 등록 리스트</caption>
- <select id="checkbox2" ref="/root/main/cond/srchflag" overflow="visible" appearance="full" style="left:235px; top:2px; width:130px; height:18px; border-style:none; ">
- <choices>
- <item>
- <label>삭제/변경포함 조회</label>
- <value>ALL</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </select>
- <line id="line2" class="line_1" style="x1:0px; y1:20px; x2:365px; y2:20px; "/>
- <datagrid id="grd_exptpatlist" nodeset="/root/main/list/exptpatlist" scroll="auto" caption="기관코드^등록일자^번호^이력^시작일^종료일^참고사항^상태" colsep="^" colwidth="0, 80, 30, 30, 80, 80, 0, 47" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:25px; width:365px; height:113px; ">
- <col ref="instcd"/>
- <col ref="genrdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="genrno" style="text-align:center; "/>
- <col ref="histno" style="text-align:center; "/>
- <col ref="fromdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="todd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="rmk"/>
- <col ref="histnm" style="text-align:center; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()){
- fSelectExptPatInfo();
- }
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group_info" scroll="no" style="left:0px; top:5px; width:365px; height:175px; ">
- <caption id="caption12" class="tit_1" style="left:0px; top:0px; width:106px; height:14px; ">임신부 정보</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:365px; y2:15px; "/>
- <caption id="caption15" class="cell_1" style="left:0px; top:20px; width:80px; height:23px; vertical-align:middle; ">등록번호</caption>
- <output id="out_pid" ref="/root/main/info/exptpatinfo/pid" class="output_fix" appearance="output" style="left:82px; top:21px; width:98px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey ( "btn_patsrch", "DOMActivate" );
- ]]>
- </script>
- </output>
- <caption id="caption2" class="cell_1" style="left:185px; top:20px; width:80px; height:23px; vertical-align:middle; ">환자명</caption>
- <output id="opt_unitcd" ref="/root/main/info/exptpatinfo/hngnm" class="output_fix" appearance="output" style="left:267px; top:21px; width:98px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:0px; top:68px; width:80px; height:23px; vertical-align:middle; ">시작일</caption>
- <input id="ipt_fromdd" ref="/root/main/info/exptpatinfo/fromdd" class="input_default" disabled="false" inputtype="date" style="left:82px; top:70px; width:98px; height:19px; "/>
- <caption id="caption6" class="cell_1" style="left:185px; top:68px; width:80px; height:23px; vertical-align:middle; ">종료일</caption>
- <input id="ipt_todd" ref="/root/main/info/exptpatinfo/todd" class="input_default" disabled="false" inputtype="date" style="left:267px; top:70px; width:98px; height:19px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:128px; width:80px; height:23px; vertical-align:middle; ">등록정보</caption>
- <output id="output3" ref="/root/main/info/exptpatinfo/fstrgstinfo" class="output_fix" appearance="output" style="left:82px; top:130px; width:283px; height:19px; "/>
- <caption id="caption7" class="cell_1" style="left:0px; top:152px; width:80px; height:23px; vertical-align:middle; ">수정정보</caption>
- <output id="output5" ref="/root/main/info/exptpatinfo/lastupdtinfo" class="output_fix" appearance="output" style="left:82px; top:154px; width:283px; height:19px; "/>
- <caption id="caption21" class="cell_1" style="left:0px; top:92px; width:80px; height:35px; vertical-align:middle; ">참고사항</caption>
- <textarea id="textarea2" ref="/root/main/info/exptpatinfo/excptext" disabled="false" style="left:82px; top:92px; width:283px; height:35px; "/>
- <caption id="caption1" class="cell_1" style="left:0px; top:44px; width:80px; height:23px; vertical-align:middle; ">출산예정일</caption>
- <input id="input1" ref="/root/main/info/exptpatinfo/duedate" class="input_default" disabled="false" inputtype="date" style="left:82px; top:46px; width:98px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var duedate = model.getValue("/root/main/info/exptpatinfo/duedate");
- var sTodd = duedate .toDate("YYYYMMDD").getAddDate(14, "D").getDateFormat("YYYYMMDD");
-
- model.setValue("/root/main/info/exptpatinfo/todd", sTodd);
- model.refresh();
- ]]>
- </script>
- </input>
- <caption id="caption3" class="cell_1" style="left:185px; top:44px; width:80px; height:23px; vertical-align:middle; ">상태</caption>
- <output id="output1" ref="/root/main/info/exptpatinfo/histnm" class="output_fix" appearance="output" style="left:267px; top:46px; width:98px; height:19px; "/>
- </group>
- <button id="button3" class="btn4_letter4" style="left:108px; top:185px; width:80px; height:22px; ">
- <caption>신규작성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fNewRgst();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:249px; top:185px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sHistCd = model.getValue(sEXPT_INFO_PATH + "/histcd");
- if(sHistCd != "O") {messageBox("변경 또는 삭제 상태의 정보는 수정 할 수 없습니다.", "C999"); return; }
- var sStatus = model.getValue(sEXPT_INFO_PATH + "/status");
- if(sStatus == "I"){ // 인서트
- if( "6" != messageBox("", "Q002")) { return; }
- } else if (sStatus == "U") {
- if( "6" != messageBox("", "Q012")) { return; }
- }
-
- fSaveExptPatInfo();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter2" style="left:192px; top:185px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sHistCd = model.getValue(sEXPT_INFO_PATH + "/histcd");
- if(sHistCd != "O") {messageBox("변경 또는 삭제 상태의 정보는 수정 할 수 없습니다.", "C999"); return; }
- var sGenrNo = model.getValue(sEXPT_INFO_PATH + "/genrno");
- if(sGenrNo == ""){
- messageBox("삭제할 예외환자 정보가 선택 되지 않았습니다.", "I999");
- } else {
- if( "6" == messageBox("", "Q001")) {
- model.setValue(sEXPT_INFO_PATH + "/status", "D"); // 삭제
- model.setValue(sEXPT_INFO_PATH + "/histcd", "D"); // 삭제
-
- fSaveExptPatInfo();
- }
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn4_letter2" style="left:309px; top:185px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|