123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284 |
- <?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>출생증명서 정보조사지</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <bthrecinfo>
- <bthreclist/>
- </bthrecinfo>
- <cond>
- <bthddfromdd/>
- <bthddtodd/>
- <pid/>
- <patnm/>
- <indschacptstat>true</indschacptstat>
- </cond>
- <brthcond>
- <pid/>
- <patnm/>
- <rrgstno/>
- <age/>
- <jobcd/>
- <tel/>
- <bdbtype/>
- <ptnernm/>
- <ptnerrrgstno/>
- <ptnerage/>
- <ptnerjobcd/>
- <ptnertel/>
- <ptnerbtype/>
- <bthaddr/>
- <bthdt/>
- <gndr/>
- <weig/>
- <prgweekday/>
- <avulsionweig/>
- <apgarscore/>
- <dlivkindnm/>
- <bthrecrmk/>
- </brthcond>
- </main>
- <send>
- <reqdata/>
- <printdata/>
- </send>
- <init/>
- <hidden/>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- function fInitialize(){
- model.setValue("/root/main/cond/bthddfromdd", getCurrentDate().substr(0,6) + "01");
- model.setValue("/root/main/cond/bthddtodd", getCurrentDate());
-
- grd_bthreclist.mergeCells = "bycol";
- grd_bthreclist.mergeCol(0) = false;
- grd_bthreclist.mergeCol(1) = true;
- grd_bthreclist.mergeCol(2) = true;
- grd_bthreclist.mergeCol(3) = false;
- grd_bthreclist.mergeCol(4) = false;
- grd_bthreclist.mergeCol(5) = false;
- grd_bthreclist.mergeCol(6) = false;
- grd_bthreclist.mergeCol(7) = false;
- grd_bthreclist.mergeCol(8) = false;
- grd_bthreclist.mergeCol(9) = false;
- grd_bthreclist.mergeCol(10) = false;
- grd_bthreclist.mergeCol(11) = false;
- grd_bthreclist.mergeCol(12) = false;
- grd_bthreclist.mergeCol(13) = false;
- grd_bthreclist.mergeCol(14) = false;
- grd_bthreclist.mergeCol(15) = false;
- grd_bthreclist.mergeCol(16) = false;
- grd_bthreclist.mergeCol(17) = false;
- grd_bthreclist.mergeCol(18) = false;
-
- model.refresh();
- fSearch();
- }
-
- function fSearch(){
-
- var bthddfromdd = model.getValue("/root/main/cond/bthddfromdd");
- var fromdd = ((getCurrentDate().toDate()).getAddDate(-3,"M")).getDateFormat();
-
- if(bthddfromdd < fromdd){
- messageBox("현재일로 부터 3개월 이전 자료는 조회 할 수 없습니다.","E");
- return;
- }
-
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNN02800");
- }
-
- function fSave(){
-
- if(model.getValue("/root/main/brthcond/pid") == "") {
- messageBox("환자를 선택해주십시오.", "I");
- return;
- }
-
- model.makeNode("/root/send/savedata/saveinfo");
- model.copyNode("/root/send/savedata/saveinfo", "/root/main/brthcond");
- submit("TXMNN02800");
- fSearch() ;
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- <submission id="TRMNN02800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/bthrecinfo"/>
- <submission id="TXMNN02800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata/saveinfo" resultref="/root/temp"/>
- </model>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="685" pageheight="620" guideline="1,667;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:667px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:667px; height:13px; ">출생증명서 정보조사지</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:18px; width:667px; height:582px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:666px; y2:95px; "/>
- <group id="grp_sea" style="left:0px; top:5px; width:666px; height:70px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:666px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption2" class="search_name" style="left:5px; top:40px; width:75px; height:17px; font-family:굴림체; ">산모명:</caption>
- <line id="line13" class="line_4" style="x1:585px; y1:15px; x2:585px; y2:59px; font-family:굴림체; "/>
- <caption id="caption4" style="left:181px; top:12px; width:15px; height:14px; font-family:굴림체; font-weight:bold; vertical-align:middle; ">~</caption>
- <caption id="caption3" class="search_name" style="left:5px; top:10px; width:94px; height:17px; font-family:굴림체; ">분만일:</caption>
- <caption id="caption5" class="search_name" style="left:193px; top:40px; width:112px; height:17px; font-family:굴림체; ">산모등록번호:</caption>
- <button id="btn_select" class="btn1_letter2" style="left:600px; top:25px; width:56px; height:22px; font-family:굴림체; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </button>
- <input id="ipt_patnm" ref="/root/main/cond/patnm" class="input_search" style="left:80px; top:40px; width:95px; height:19px; font-family:굴림체; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == 13) {
- model.setFocus("btn_select");
- fSearch();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" style="left:307px; top:40px; width:78px; height:19px; font-family:굴림체; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == 13) {
- model.setFocus("btn_select");
- fSearch();
- }
- ]]>
- </script>
- </input>
- <input id="ipt_bthddfromdd" ref="/root/main/cond/bthddfromdd" class="input_s_essential" inputtype="date" style="left:80px; top:10px; width:95px; height:19px; font-family:굴림체; "/>
- <input id="ipt_bthddtodd" ref="/root/main/cond/bthddtodd" class="input_s_essential" inputtype="date" style="left:196px; top:10px; width:94px; height:19px; font-family:굴림체; "/>
- <caption id="caption7" style="left:324px; top:11px; width:67px; height:20px; font-family:굴림체; font-weight:bold; ">재원환자만</caption>
- <bool id="bool2" ref="/root/main/cond/indschacptstat" style="left:302px; top:10px; width:25px; height:20px; font-family:굴림체; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSearch();
- ]]>
- </script>
- </bool>
- </group>
- <datagrid id="grd_bthreclist" nodeset="/root/main/bthrecinfo/bthreclist" class="datagrid2" caption="등록번호^산모명^S/A^입원일자^분만일자^분만일시^남편명^신생아
등록번호^신생아
이름^산모유형^재태연령^분만형태^분만형태^분만장소^생사여부^성별^몸무게
(g)^중량(g)^cretno^wardcd^roomcd^indschacptstat" colsep="^" colwidth="55, 56, 40, 75, 75, 35, 60, 60, 90, 60, 60, 67, 60, 80, 58, 24, 50, 56, 0, 0, 0, 0" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" tooltip="true" style="left:0px; top:100px; width:666px; height:250px; ">
- <col ref="pid" style="left:20px; top:32px; width:55px; height:23px; text-align:left; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="bthdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="bthtm" format="hh:nn"/>
- <col ref="ptnernm" style="text-align:center; "/>
- <col ref="babyno" style="text-align:left; "/>
- <col ref="babynm" style="text-align:left; "/>
- <col ref="mothertype" style="text-align:center; "/>
- <col ref="prgweekday" style="text-align:center; "/>
- <col disabled="true" ref="dlivkindnm" style="text-align:center; "/>
- <col ref="dlivflagnm" style="text-align:center; "/>
- <col ref="dlivplcenm"/>
- <col disabled="true" ref="deathyn" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>live</label>
- <value>Y</value>
- </item>
- <item>
- <label>dead</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col ref="gndr" style="text-align:center; "/>
- <col ref="weig" style="text-align:center; "/>
- <col ref="avulsionweig" roundposition="2" style="text-align:right; "/>
- <col ref="cretno"/>
- <col ref="wardcd"/>
- <col ref="roomcd"/>
- <col ref="indschacptstat"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( isDataCell() ) {
- var row = grd_bthreclist.row;
- model.copyNode("/root/main/brthcond", grd_bthreclist.nodeset + "[" + row + "]");
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption10" class="tit_2" style="left:0px; top:80px; width:122px; height:13px; font-family:굴림체; ">분만환자 리스트</caption>
- <line id="line8" class="line_1" style="x1:0px; y1:378px; x2:666px; y2:378px; "/>
- <caption id="caption11" class="tit_2" style="left:0px; top:363px; width:180px; height:13px; font-family:굴림체; vertical-align:middle; ">출생증명서 정보조사 내역</caption>
- <caption id="caption43" class="cell_1" style="left:0px; top:383px; width:125px; height:23px; text-align:center; vertical-align:middle; ">산모 등록번호</caption>
- <line id="line19" class="line_2" style="x1:0px; y1:405px; x2:664px; y2:405px; "/>
- <caption id="caption8" class="cell_1" style="left:0px; top:432px; width:25px; height:23px; vertical-align:middle; ">부</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:454px; x2:665px; y2:454px; "/>
- <line id="line4" class="line_2" style="x1:0px; y1:478px; x2:665px; y2:478px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:456px; width:25px; height:23px; vertical-align:middle; ">모</caption>
- <caption id="caption19" class="cell_1" style="left:26px; top:407px; width:100px; height:23px; text-align:center; vertical-align:middle; ">이름</caption>
- <line id="line5" class="line_2" style="x1:1px; y1:430px; x2:665px; y2:430px; "/>
- <caption id="caption13" class="cell_1" style="left:127px; top:407px; width:109px; height:23px; text-align:center; vertical-align:middle; ">주민번호 앞자리</caption>
- <caption id="caption14" class="cell_1" style="left:237px; top:407px; width:77px; height:23px; text-align:center; vertical-align:middle; ">만 나이</caption>
- <caption id="caption15" class="cell_1" style="left:315px; top:407px; width:111px; height:23px; text-align:center; vertical-align:middle; ">직업</caption>
- <caption id="caption16" class="cell_1" style="left:427px; top:407px; width:128px; height:23px; text-align:center; vertical-align:middle; ">연락처</caption>
- <caption id="caption17" class="cell_1" style="left:556px; top:407px; width:109px; height:23px; text-align:center; vertical-align:middle; ">혈액형</caption>
- <line id="line6" class="line_2" style="x1:0px; y1:503px; x2:665px; y2:503px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:480px; width:125px; height:23px; text-align:center; vertical-align:middle; ">출생신고주소</caption>
- <caption id="caption20" class="cell_1" style="left:0px; top:505px; width:125px; height:23px; text-align:center; vertical-align:middle; ">출생일시</caption>
- <line id="line7" class="line_2" style="x1:0px; y1:528px; x2:665px; y2:528px; "/>
- <caption id="caption21" class="cell_1" style="left:0px; top:530px; width:125px; height:23px; text-align:center; vertical-align:middle; ">재태연령</caption>
- <line id="line9" class="line_2" style="x1:0px; y1:553px; x2:665px; y2:553px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:578px; x2:665px; y2:578px; "/>
- <caption id="caption22" class="cell_1" style="left:0px; top:555px; width:125px; height:23px; text-align:center; vertical-align:middle; ">분만형태</caption>
- <caption id="caption23" class="cell_1" style="left:237px; top:505px; width:78px; height:23px; text-align:center; vertical-align:middle; ">성별</caption>
- <caption id="caption24" class="cell_1" style="left:427px; top:505px; width:78px; height:23px; text-align:center; vertical-align:middle; ">체중(g)</caption>
- <caption id="caption25" class="cell_1" style="left:237px; top:530px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Placenta(g)</caption>
- <caption id="caption26" class="cell_1" style="left:237px; top:555px; width:78px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
- <caption id="caption27" class="cell_1" style="left:0px; top:407px; width:25px; height:23px; vertical-align:middle; "/>
- <output id="output1" ref="/root/main/brthcond/ptnernm" style="left:27px; top:433px; width:98px; height:19px; "/>
- <output id="output2" ref="/root/main/brthcond/patnm" appearance="output" style="left:27px; top:457px; width:98px; height:19px; "/>
- <output id="output3" ref="/root/main/brthcond/ptnerrrgstno" appearance="output" style="left:128px; top:433px; width:106px; height:19px; "/>
- <output id="output4" ref="/root/main/brthcond/rrgstno" appearance="output" style="left:128px; top:457px; width:106px; height:19px; "/>
- <output id="output5" ref="/root/main/brthcond/ptnerage" appearance="output" style="left:238px; top:433px; width:75px; height:19px; "/>
- <output id="output6" ref="/root/main/brthcond/age" appearance="output" style="left:238px; top:457px; width:75px; height:19px; "/>
- <output id="output7" ref="/root/main/brthcond/ptnerjobcd" appearance="output" style="left:317px; top:433px; width:107px; height:19px; "/>
- <output id="output8" ref="/root/main/brthcond/jobcd" appearance="output" style="left:317px; top:457px; width:107px; height:19px; "/>
- <output id="output9" ref="/root/main/brthcond/ptnertel" appearance="output" style="left:428px; top:433px; width:126px; height:19px; "/>
- <output id="output10" ref="/root/main/brthcond/tel" appearance="output" style="left:428px; top:457px; width:126px; height:19px; "/>
- <input id="input1" ref="/root/main/brthcond/bthaddr" appearance="input" style="left:128px; top:482px; width:534px; height:19px; "/>
- <output id="output12" ref="/root/main/brthcond/ptnerbtype" appearance="output" style="left:557px; top:433px; width:105px; height:19px; "/>
- <output id="output13" ref="/root/main/brthcond/bdbtype" appearance="output" style="left:557px; top:457px; width:105px; height:19px; "/>
- <output id="output14" ref="/root/main/brthcond/bthdt" format="yyyy-mm-dd hh:nn" appearance="output" style="left:128px; top:507px; width:106px; height:19px; "/>
- <output id="output15" ref="/root/main/brthcond/prgweekday" appearance="output" style="left:128px; top:532px; width:106px; height:19px; "/>
- <output id="output16" ref="/root/main/brthcond/dlivkindnm" appearance="output" style="left:128px; top:557px; width:106px; height:19px; "/>
- <output id="output17" ref="/root/main/brthcond/gndr" appearance="output" style="left:317px; top:507px; width:107px; height:19px; "/>
- <output id="output18" ref="/root/main/brthcond/avulsionweig" appearance="output" style="left:317px; top:532px; width:107px; height:19px; "/>
- <input id="input2" ref="/root/main/brthcond/bthrecrmk" appearance="input" style="left:317px; top:557px; width:345px; height:19px; "/>
- <output id="output20" ref="/root/main/brthcond/weig" appearance="output" style="left:509px; top:507px; width:116px; height:19px; "/>
- <output id="output21" ref="/root/main/brthcond/pid" appearance="output" style="left:128px; top:384px; width:106px; height:19px; "/>
- <button id="button1" class="btn5_letter2" style="left:623px; top:358px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave();
- ]]>
- </script>
- </button>
- <caption id="caption1" class="cell_1" style="left:427px; top:530px; width:78px; height:23px; text-align:center; vertical-align:middle; ">A/S</caption>
- <output id="output11" ref="/root/main/brthcond/apgarscore" appearance="output" style="left:509px; top:532px; width:116px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|