SMMNN02800_출생증명서 정보조사지.xrw 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>출생증명서 정보조사지</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <bthrecinfo>
  11. <bthreclist/>
  12. </bthrecinfo>
  13. <cond>
  14. <bthddfromdd/>
  15. <bthddtodd/>
  16. <pid/>
  17. <patnm/>
  18. <indschacptstat>true</indschacptstat>
  19. </cond>
  20. <brthcond>
  21. <pid/>
  22. <patnm/>
  23. <rrgstno/>
  24. <age/>
  25. <jobcd/>
  26. <tel/>
  27. <bdbtype/>
  28. <ptnernm/>
  29. <ptnerrrgstno/>
  30. <ptnerage/>
  31. <ptnerjobcd/>
  32. <ptnertel/>
  33. <ptnerbtype/>
  34. <bthaddr/>
  35. <bthdt/>
  36. <gndr/>
  37. <weig/>
  38. <prgweekday/>
  39. <avulsionweig/>
  40. <apgarscore/>
  41. <dlivkindnm/>
  42. <bthrecrmk/>
  43. </brthcond>
  44. </main>
  45. <send>
  46. <reqdata/>
  47. <printdata/>
  48. </send>
  49. <init/>
  50. <hidden/>
  51. </root>
  52. </instance>
  53. <script type="javascript">
  54. <![CDATA[
  55. function fInitialize(){
  56. model.setValue("/root/main/cond/bthddfromdd", getCurrentDate().substr(0,6) + "01");
  57. model.setValue("/root/main/cond/bthddtodd", getCurrentDate());
  58. grd_bthreclist.mergeCells = "bycol";
  59. grd_bthreclist.mergeCol(0) = false;
  60. grd_bthreclist.mergeCol(1) = true;
  61. grd_bthreclist.mergeCol(2) = true;
  62. grd_bthreclist.mergeCol(3) = false;
  63. grd_bthreclist.mergeCol(4) = false;
  64. grd_bthreclist.mergeCol(5) = false;
  65. grd_bthreclist.mergeCol(6) = false;
  66. grd_bthreclist.mergeCol(7) = false;
  67. grd_bthreclist.mergeCol(8) = false;
  68. grd_bthreclist.mergeCol(9) = false;
  69. grd_bthreclist.mergeCol(10) = false;
  70. grd_bthreclist.mergeCol(11) = false;
  71. grd_bthreclist.mergeCol(12) = false;
  72. grd_bthreclist.mergeCol(13) = false;
  73. grd_bthreclist.mergeCol(14) = false;
  74. grd_bthreclist.mergeCol(15) = false;
  75. grd_bthreclist.mergeCol(16) = false;
  76. grd_bthreclist.mergeCol(17) = false;
  77. grd_bthreclist.mergeCol(18) = false;
  78. model.refresh();
  79. fSearch();
  80. }
  81. function fSearch(){
  82. var bthddfromdd = model.getValue("/root/main/cond/bthddfromdd");
  83. var fromdd = ((getCurrentDate().toDate()).getAddDate(-3,"M")).getDateFormat();
  84. if(bthddfromdd < fromdd){
  85. messageBox("현재일로 부터 3개월 이전 자료는 조회 할 수 없습니다.","E");
  86. return;
  87. }
  88. model.copyNode("/root/send/reqdata", "/root/main/cond");
  89. submit("TRMNN02800");
  90. }
  91. function fSave(){
  92. if(model.getValue("/root/main/brthcond/pid") == "") {
  93. messageBox("환자를 선택해주십시오.", "I");
  94. return;
  95. }
  96. model.makeNode("/root/send/savedata/saveinfo");
  97. model.copyNode("/root/send/savedata/saveinfo", "/root/main/brthcond");
  98. submit("TXMNN02800");
  99. fSearch() ;
  100. }
  101. ]]>
  102. </script>
  103. <script type="javascript" ev:event="xforms-ready">
  104. <![CDATA[
  105. fInitialize();
  106. ]]>
  107. </script>
  108. <submission id="TRMNN02800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/bthrecinfo"/>
  109. <submission id="TXMNN02800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata/saveinfo" resultref="/root/temp"/>
  110. </model>
  111. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  112. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  113. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  114. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  115. </xhtml:head>
  116. <xhtml:body pagewidth="685" pageheight="620" guideline="1,667;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  117. <group id="grp_tle" style="left:0px; top:0px; width:667px; height:13px; ">
  118. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:667px; height:13px; ">출생증명서 정보조사지</caption>
  119. </group>
  120. <group id="grp_biz" scroll="auto" style="left:0px; top:18px; width:667px; height:582px; ">
  121. <line id="line1" class="line_1" style="x1:0px; y1:95px; x2:666px; y2:95px; "/>
  122. <group id="grp_sea" style="left:0px; top:5px; width:666px; height:70px; vertical-align:top; ">
  123. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:666px; height:70px; background-color:#fffbf2; border-color:#ffd799; "/>
  124. <caption id="caption2" class="search_name" style="left:5px; top:40px; width:75px; height:17px; font-family:굴림체; ">산모명:</caption>
  125. <line id="line13" class="line_4" style="x1:585px; y1:15px; x2:585px; y2:59px; font-family:굴림체; "/>
  126. <caption id="caption4" style="left:181px; top:12px; width:15px; height:14px; font-family:굴림체; font-weight:bold; vertical-align:middle; ">~</caption>
  127. <caption id="caption3" class="search_name" style="left:5px; top:10px; width:94px; height:17px; font-family:굴림체; ">분만일:</caption>
  128. <caption id="caption5" class="search_name" style="left:193px; top:40px; width:112px; height:17px; font-family:굴림체; ">산모등록번호:</caption>
  129. <button id="btn_select" class="btn1_letter2" style="left:600px; top:25px; width:56px; height:22px; font-family:굴림체; ">
  130. <caption>조회</caption>
  131. <script type="javascript" ev:event="onclick">
  132. <![CDATA[
  133. fSearch();
  134. ]]>
  135. </script>
  136. </button>
  137. <input id="ipt_patnm" ref="/root/main/cond/patnm" class="input_search" style="left:80px; top:40px; width:95px; height:19px; font-family:굴림체; ">
  138. <script type="javascript" ev:event="onkeypress">
  139. <![CDATA[
  140. if (event.keyCode == 13) {
  141. model.setFocus("btn_select");
  142. fSearch();
  143. }
  144. ]]>
  145. </script>
  146. </input>
  147. <input id="ipt_pid" ref="/root/main/cond/pid" class="input_search" style="left:307px; top:40px; width:78px; height:19px; font-family:굴림체; ">
  148. <script type="javascript" ev:event="onkeypress">
  149. <![CDATA[
  150. if (event.keyCode == 13) {
  151. model.setFocus("btn_select");
  152. fSearch();
  153. }
  154. ]]>
  155. </script>
  156. </input>
  157. <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:굴림체; "/>
  158. <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:굴림체; "/>
  159. <caption id="caption7" style="left:324px; top:11px; width:67px; height:20px; font-family:굴림체; font-weight:bold; ">재원환자만</caption>
  160. <bool id="bool2" ref="/root/main/cond/indschacptstat" style="left:302px; top:10px; width:25px; height:20px; font-family:굴림체; ">
  161. <script type="javascript" ev:event="xforms-value-changed">
  162. <![CDATA[
  163. fSearch();
  164. ]]>
  165. </script>
  166. </bool>
  167. </group>
  168. <datagrid id="grd_bthreclist" nodeset="/root/main/bthrecinfo/bthreclist" class="datagrid2" caption="등록번호^산모명^S/A^입원일자^분만일자^분만일시^남편명^신생아&#xA;등록번호^신생아&#xA;이름^산모유형^재태연령^분만형태^분만형태^분만장소^생사여부^성별^몸무게&#xA;(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; ">
  169. <col ref="pid" style="left:20px; top:32px; width:55px; height:23px; text-align:left; "/>
  170. <col ref="patnm" style="text-align:center; "/>
  171. <col ref="sexage" style="text-align:center; "/>
  172. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  173. <col ref="bthdd" format="yyyy-mm-dd" style="text-align:center; "/>
  174. <col ref="bthtm" format="hh:nn"/>
  175. <col ref="ptnernm" style="text-align:center; "/>
  176. <col ref="babyno" style="text-align:left; "/>
  177. <col ref="babynm" style="text-align:left; "/>
  178. <col ref="mothertype" style="text-align:center; "/>
  179. <col ref="prgweekday" style="text-align:center; "/>
  180. <col disabled="true" ref="dlivkindnm" style="text-align:center; "/>
  181. <col ref="dlivflagnm" style="text-align:center; "/>
  182. <col ref="dlivplcenm"/>
  183. <col disabled="true" ref="deathyn" type="combo" style="text-align:center; ">
  184. <choices>
  185. <item>
  186. <label>live</label>
  187. <value>Y</value>
  188. </item>
  189. <item>
  190. <label>dead</label>
  191. <value>N</value>
  192. </item>
  193. </choices>
  194. </col>
  195. <col ref="gndr" style="text-align:center; "/>
  196. <col ref="weig" style="text-align:center; "/>
  197. <col ref="avulsionweig" roundposition="2" style="text-align:right; "/>
  198. <col ref="cretno"/>
  199. <col ref="wardcd"/>
  200. <col ref="roomcd"/>
  201. <col ref="indschacptstat"/>
  202. <script type="javascript" ev:event="ondblclick">
  203. <![CDATA[
  204. if( isDataCell() ) {
  205. var row = grd_bthreclist.row;
  206. model.copyNode("/root/main/brthcond", grd_bthreclist.nodeset + "[" + row + "]");
  207. model.refresh();
  208. }
  209. ]]>
  210. </script>
  211. </datagrid>
  212. <caption id="caption10" class="tit_2" style="left:0px; top:80px; width:122px; height:13px; font-family:굴림체; ">분만환자 리스트</caption>
  213. <line id="line8" class="line_1" style="x1:0px; y1:378px; x2:666px; y2:378px; "/>
  214. <caption id="caption11" class="tit_2" style="left:0px; top:363px; width:180px; height:13px; font-family:굴림체; vertical-align:middle; ">출생증명서 정보조사 내역</caption>
  215. <caption id="caption43" class="cell_1" style="left:0px; top:383px; width:125px; height:23px; text-align:center; vertical-align:middle; ">산모 등록번호</caption>
  216. <line id="line19" class="line_2" style="x1:0px; y1:405px; x2:664px; y2:405px; "/>
  217. <caption id="caption8" class="cell_1" style="left:0px; top:432px; width:25px; height:23px; vertical-align:middle; ">부</caption>
  218. <line id="line3" class="line_2" style="x1:0px; y1:454px; x2:665px; y2:454px; "/>
  219. <line id="line4" class="line_2" style="x1:0px; y1:478px; x2:665px; y2:478px; "/>
  220. <caption id="caption12" class="cell_1" style="left:0px; top:456px; width:25px; height:23px; vertical-align:middle; ">모</caption>
  221. <caption id="caption19" class="cell_1" style="left:26px; top:407px; width:100px; height:23px; text-align:center; vertical-align:middle; ">이름</caption>
  222. <line id="line5" class="line_2" style="x1:1px; y1:430px; x2:665px; y2:430px; "/>
  223. <caption id="caption13" class="cell_1" style="left:127px; top:407px; width:109px; height:23px; text-align:center; vertical-align:middle; ">주민번호 앞자리</caption>
  224. <caption id="caption14" class="cell_1" style="left:237px; top:407px; width:77px; height:23px; text-align:center; vertical-align:middle; ">만 나이</caption>
  225. <caption id="caption15" class="cell_1" style="left:315px; top:407px; width:111px; height:23px; text-align:center; vertical-align:middle; ">직업</caption>
  226. <caption id="caption16" class="cell_1" style="left:427px; top:407px; width:128px; height:23px; text-align:center; vertical-align:middle; ">연락처</caption>
  227. <caption id="caption17" class="cell_1" style="left:556px; top:407px; width:109px; height:23px; text-align:center; vertical-align:middle; ">혈액형</caption>
  228. <line id="line6" class="line_2" style="x1:0px; y1:503px; x2:665px; y2:503px; "/>
  229. <caption id="caption18" class="cell_1" style="left:0px; top:480px; width:125px; height:23px; text-align:center; vertical-align:middle; ">출생신고주소</caption>
  230. <caption id="caption20" class="cell_1" style="left:0px; top:505px; width:125px; height:23px; text-align:center; vertical-align:middle; ">출생일시</caption>
  231. <line id="line7" class="line_2" style="x1:0px; y1:528px; x2:665px; y2:528px; "/>
  232. <caption id="caption21" class="cell_1" style="left:0px; top:530px; width:125px; height:23px; text-align:center; vertical-align:middle; ">재태연령</caption>
  233. <line id="line9" class="line_2" style="x1:0px; y1:553px; x2:665px; y2:553px; "/>
  234. <line id="line10" class="line_2" style="x1:0px; y1:578px; x2:665px; y2:578px; "/>
  235. <caption id="caption22" class="cell_1" style="left:0px; top:555px; width:125px; height:23px; text-align:center; vertical-align:middle; ">분만형태</caption>
  236. <caption id="caption23" class="cell_1" style="left:237px; top:505px; width:78px; height:23px; text-align:center; vertical-align:middle; ">성별</caption>
  237. <caption id="caption24" class="cell_1" style="left:427px; top:505px; width:78px; height:23px; text-align:center; vertical-align:middle; ">체중(g)</caption>
  238. <caption id="caption25" class="cell_1" style="left:237px; top:530px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Placenta(g)</caption>
  239. <caption id="caption26" class="cell_1" style="left:237px; top:555px; width:78px; height:23px; text-align:center; vertical-align:middle; ">기타</caption>
  240. <caption id="caption27" class="cell_1" style="left:0px; top:407px; width:25px; height:23px; vertical-align:middle; "/>
  241. <output id="output1" ref="/root/main/brthcond/ptnernm" style="left:27px; top:433px; width:98px; height:19px; "/>
  242. <output id="output2" ref="/root/main/brthcond/patnm" appearance="output" style="left:27px; top:457px; width:98px; height:19px; "/>
  243. <output id="output3" ref="/root/main/brthcond/ptnerrrgstno" appearance="output" style="left:128px; top:433px; width:106px; height:19px; "/>
  244. <output id="output4" ref="/root/main/brthcond/rrgstno" appearance="output" style="left:128px; top:457px; width:106px; height:19px; "/>
  245. <output id="output5" ref="/root/main/brthcond/ptnerage" appearance="output" style="left:238px; top:433px; width:75px; height:19px; "/>
  246. <output id="output6" ref="/root/main/brthcond/age" appearance="output" style="left:238px; top:457px; width:75px; height:19px; "/>
  247. <output id="output7" ref="/root/main/brthcond/ptnerjobcd" appearance="output" style="left:317px; top:433px; width:107px; height:19px; "/>
  248. <output id="output8" ref="/root/main/brthcond/jobcd" appearance="output" style="left:317px; top:457px; width:107px; height:19px; "/>
  249. <output id="output9" ref="/root/main/brthcond/ptnertel" appearance="output" style="left:428px; top:433px; width:126px; height:19px; "/>
  250. <output id="output10" ref="/root/main/brthcond/tel" appearance="output" style="left:428px; top:457px; width:126px; height:19px; "/>
  251. <input id="input1" ref="/root/main/brthcond/bthaddr" appearance="input" style="left:128px; top:482px; width:534px; height:19px; "/>
  252. <output id="output12" ref="/root/main/brthcond/ptnerbtype" appearance="output" style="left:557px; top:433px; width:105px; height:19px; "/>
  253. <output id="output13" ref="/root/main/brthcond/bdbtype" appearance="output" style="left:557px; top:457px; width:105px; height:19px; "/>
  254. <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; "/>
  255. <output id="output15" ref="/root/main/brthcond/prgweekday" appearance="output" style="left:128px; top:532px; width:106px; height:19px; "/>
  256. <output id="output16" ref="/root/main/brthcond/dlivkindnm" appearance="output" style="left:128px; top:557px; width:106px; height:19px; "/>
  257. <output id="output17" ref="/root/main/brthcond/gndr" appearance="output" style="left:317px; top:507px; width:107px; height:19px; "/>
  258. <output id="output18" ref="/root/main/brthcond/avulsionweig" appearance="output" style="left:317px; top:532px; width:107px; height:19px; "/>
  259. <input id="input2" ref="/root/main/brthcond/bthrecrmk" appearance="input" style="left:317px; top:557px; width:345px; height:19px; "/>
  260. <output id="output20" ref="/root/main/brthcond/weig" appearance="output" style="left:509px; top:507px; width:116px; height:19px; "/>
  261. <output id="output21" ref="/root/main/brthcond/pid" appearance="output" style="left:128px; top:384px; width:106px; height:19px; "/>
  262. <button id="button1" class="btn5_letter2" style="left:623px; top:358px; width:42px; height:19px; ">
  263. <caption>저장</caption>
  264. <script type="javascript" ev:event="DOMActivate">
  265. <![CDATA[
  266. fSave();
  267. ]]>
  268. </script>
  269. </button>
  270. <caption id="caption1" class="cell_1" style="left:427px; top:530px; width:78px; height:23px; text-align:center; vertical-align:middle; ">A/S</caption>
  271. <output id="output11" ref="/root/main/brthcond/apgarscore" appearance="output" style="left:509px; top:532px; width:116px; height:19px; "/>
  272. </group>
  273. </xhtml:body>
  274. </xhtml:html>