SMASB02100_격리병실신청현황조회.xfdl 54 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMASB02100" position="absolute 0 0 1200 790" titletext="격리병실신청현황조회" oninit="SMASB02100_oninit" onload="SMASB02100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1195 784" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 0 1195 784" align="align:center top;" id="group2">
  11. <Layouts>
  12. <Layout>
  13. <Div position="absolute 0 0 1195 25" id="grp_tle">
  14. <Layouts>
  15. <Layout>
  16. <Static text="격리병실신청현황조회" position="absolute 0 0 165 25" id="caption6" class="tit_1"/>
  17. </Layout>
  18. </Layouts>
  19. </Div>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. </Layout>
  24. </Layouts>
  25. </Div>
  26. <Div position="absolute 0 757 1195 784" id="grp_btn">
  27. <Layouts>
  28. <Layout>
  29. <Button position="absolute 5 3 61 25" id="btn_print" class="btn6" visible="false" text="출력" onclick="grp_btn_btn_print_onclick"/>
  30. <Button position="absolute 1126 3 1194 25" id="btn_init" class="btn4" text="초기화" onclick="grp_btn_btn_init_onclick"/>
  31. </Layout>
  32. </Layouts>
  33. </Div>
  34. <Div position="absolute 0 20 1195 758" id="grp_biz" scrollbars="autoboth">
  35. <Layouts>
  36. <Layout>
  37. <Div position="absolute 0 0 1194 65" align="align:center top;" id="group6" class="div_SA" anchor="default">
  38. <Layouts>
  39. <Layout>
  40. <Edit position="absolute 585 10 685 29" id="ipt_pid" class="input_search" anchor="default" autoselect="true" onsetfocus="grp_biz_group6_ipt_pid_onsetfocus" onkeyup="grp_biz_group6_ipt_pid_onkeyup"/>
  41. <Static text="신청과별 :" position="absolute 261 10 347 27" id="cap_orddeptcd" class="search_name" anchor="default"/>
  42. <Button position="absolute 869 11 885 27" id="btn_prcpclsnm" class="icon_search" text="" anchor="default" onclick="grp_biz_group6_btn_prcpclsnm_onclick"/>
  43. <Static text="등록번호 :" position="absolute 509 10 595 27" id="cap_pid" class="search_name" anchor="default"/>
  44. <Edit position="absolute 765 10 865 29" id="ipt_hngnm" class="input_search" anchor="default" autoselect="true" onsetfocus="grp_biz_group6_ipt_hngnm_onsetfocus" onkeyup="grp_biz_group6_ipt_hngnm_onkeyup"/>
  45. <Calendar position="absolute 298 37 395 56" id="ipt_todd" class="input_s_essential" anchor="default" autoselect="true"/>
  46. <CheckBox position="absolute 890 10 1040 25" id="chk_wbc" anchor="default" text="백혈구감소증 D3만보기" truevalue="D" onclick="grp_biz_group6_chk_wbc_onclick" enable="false"/>
  47. <Combo position="absolute 335 10 485 29" id="cmb_orddeptcd" class="combo_default" innerdataset="@ds_init_deptlist_dept" datacolumn="depthngnm" codecolumn="deptcd" anchor="default"/>
  48. <Static text="~" position="absolute 282 38 297 58" id="caption7" anchor="default"/>
  49. <Shape position="absolute 1107 10 1113 58" linetype="vertical" id="line3" anchor="default"/>
  50. <Static text="환자명 :" position="absolute 701 10 784 27" id="cap_hngnm" class="search_name" anchor="default"/>
  51. <Button position="absolute 1125 24 1181 46" id="btn_search" class="btn1" text="조회" anchor="default" onclick="grp_biz_group6_btn_search_onclick"/>
  52. <Calendar position="absolute 180 36 277 55" id="ipt_fromdd" class="input_s_essential" anchor="default" autoselect="true"/>
  53. <Static text="기간조회 :" position="absolute 5 36 81 53" id="cap_todd" class="search_name" anchor="default"/>
  54. <Static text="병 동 별 :" position="absolute 5 10 78 27" id="cap_wardcd" class="search_name" anchor="default"/>
  55. <Combo position="absolute 79 10 229 29" id="cmb_wardcd" class="combo_default" innerdataset="@ds_init_warddeptlist_dept" datacolumn="depthngnm" codecolumn="deptcd" anchor="default"/>
  56. <Static text="격리진단별 :" position="absolute 509 39 613 56" id="cap_cnsttermengnm" class="search_name" anchor="default"/>
  57. <Combo position="absolute 600 37 860 56" id="ipt_cnsttermengnm" class="combo_default" enable="false" anchor="default"/>
  58. <CheckBox position="absolute 405 40 475 55" id="chk_incend" anchor="default" text="완료포함" truevalue="Y" onclick="grp_biz_group6_chk_incend_onclick"/>
  59. <Button position="absolute 864 40 880 56" id="importbutton1" class="icon_search" visible="false" text="" anchor="default" onclick="grp_biz_group6_importbutton1_onclick"/>
  60. <Combo position="absolute 80 36 175 55" id="cmb_cnstdate" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_group6_cmb_cnstdate_onitemchanged">
  61. <Dataset id="innerdataset">
  62. <ColumnInfo>
  63. <Column id="codecolumn"/>
  64. <Column id="datacolumn"/>
  65. </ColumnInfo>
  66. <Rows>
  67. <Row>
  68. <Col id="codecolumn">R</Col>
  69. <Col id="datacolumn">격리신청일</Col>
  70. </Row>
  71. <Row>
  72. <Col id="codecolumn">F</Col>
  73. <Col id="datacolumn">격리개시일</Col>
  74. </Row>
  75. </Rows>
  76. </Dataset>
  77. </Combo>
  78. <Button position="absolute 1035 9 1080 29" id="btn_patsrch" enable="false" text="" anchor="default" onclick="grp_biz_group6_btn_patsrch_onclick" style=":disabled {background:transparent;border:2 double transparent transparent;}"/>
  79. <CheckBox position="absolute 885 40 900 55" id="chk_toendpat" anchor="default" onclick="grp_biz_group6_chk_toendpat_onclick"/>
  80. <Static text="금일 격리 종료환자 보기(D3포함)" position="absolute 900 38 1082 58" id="importcaption1" anchor="default"/>
  81. </Layout>
  82. </Layouts>
  83. </Div>
  84. <Static text="격리병실 신청현황" position="absolute 1 74 142 90" align="align:center middle;" id="caption3" class="tit_2" anchor="default"/>
  85. <Shape position="absolute 0 90 1194 96" linetype="horizontal" id="line6" class="line_10" anchor="default"/>
  86. <Grid position="absolute 0 95 1190 735" id="grd_cnstpatlist" binddataset="ds_main_cnstpatinfo_cnstpatlist" anchor="default" onrbuttondown="grp_biz_grd_cnstpatlist_onrbuttondown" oncellclick="grp_biz_grd_cnstpatlist_oncellclick" oncelldblclick="grp_biz_grd_cnstpatlist_oncelldblclick" cellsizingtype="col" cellsizebandtype="allband" scrollpixel="all" tooltiptype="hover">
  87. <Formats>
  88. <Format id="default">
  89. <Columns>
  90. <Column size="20" band="left"/>
  91. <Column size="56" band="left"/>
  92. <Column size="0" band="left"/>
  93. <Column size="65" band="left"/>
  94. <Column size="53" band="left"/>
  95. <Column size="55" band="left"/>
  96. <Column size="56" band="left"/>
  97. <Column size="70" band="left"/>
  98. <Column size="80" band="left"/>
  99. <Column size="60" band="left"/>
  100. <Column size="60" band="left"/>
  101. <Column size="0" band="left"/>
  102. <Column size="95" band="left"/>
  103. <Column size="116" band="left"/>
  104. <Column size="70"/>
  105. <Column size="70"/>
  106. <Column size="70"/>
  107. <Column size="70"/>
  108. <Column size="91"/>
  109. <Column size="87"/>
  110. <Column size="50"/>
  111. <Column size="50"/>
  112. <Column size="50"/>
  113. <Column size="52"/>
  114. <Column size="230"/>
  115. <Column size="85"/>
  116. <Column size="70"/>
  117. <Column size="50"/>
  118. <Column size="50"/>
  119. <Column size="70"/>
  120. <Column size="0"/>
  121. <Column size="52"/>
  122. <Column size="100"/>
  123. <Column size="0"/>
  124. <Column size="0"/>
  125. </Columns>
  126. <Rows>
  127. <Row size="24" band="head"/>
  128. <Row size="24" band="head"/>
  129. <Row size="24"/>
  130. </Rows>
  131. <Band id="head">
  132. <Cell rowspan="2" taborder="undefined"/>
  133. <Cell col="1" rowspan="2" text="보험팀&#10;확인여부" taborder="undefined"/>
  134. <Cell col="2" text="서식기록번호"/>
  135. <Cell col="3" rowspan="2" text="등록&#10;번호" taborder="undefined"/>
  136. <Cell col="4" rowspan="2" text="성명" taborder="undefined"/>
  137. <Cell col="5" rowspan="2" text="진행&#10;상태" taborder="undefined"/>
  138. <Cell col="6" rowspan="2" text="감염내과&#10;승인여부" taborder="undefined"/>
  139. <Cell col="7" rowspan="2" text="입원일" taborder="undefined"/>
  140. <Cell col="8" rowspan="2" text="의뢰과" taborder="undefined"/>
  141. <Cell col="9" rowspan="2" text="전문의" taborder="undefined"/>
  142. <Cell col="10" rowspan="2" text="의뢰&#10;의사" taborder="undefined"/>
  143. <Cell col="11" text="격리진단코드"/>
  144. <Cell col="12" rowspan="2" text="격리진단명" taborder="undefined"/>
  145. <Cell col="13" rowspan="2" text="기타사유" taborder="undefined"/>
  146. <Cell col="14" rowspan="2" text="격리&#10;신청일" taborder="undefined"/>
  147. <Cell col="15" rowspan="2" text="의사격리&#10;승인일" taborder="undefined"/>
  148. <Cell col="16" rowspan="2" text="원무&#10;승인일" taborder="undefined"/>
  149. <Cell col="17" rowspan="2" text="격리&#10;종료일" taborder="undefined"/>
  150. <Cell col="18" rowspan="2" text="인실구분" taborder="undefined"/>
  151. <Cell col="19" rowspan="2" text="재원병동" taborder="undefined"/>
  152. <Cell col="20" rowspan="2" text="재원&#10;병실" taborder="undefined"/>
  153. <Cell col="21" rowspan="2" text="이전&#10;병실" taborder="undefined"/>
  154. <Cell col="22" rowspan="2" text="격리&#10;병실" taborder="undefined"/>
  155. <Cell col="23" rowspan="2" text="S/A" taborder="undefined"/>
  156. <Cell col="24" rowspan="2" text="의뢰내용" taborder="undefined"/>
  157. <Cell col="25" rowspan="2" text="주진단&#10;코드" taborder="undefined"/>
  158. <Cell col="26" colspan="3" text="검사정보" taborder="undefined"/>
  159. <Cell row="1" col="26" text="검사일자" taborder="undefined"/>
  160. <Cell col="29" rowspan="2" text="퇴원&#10;일자" taborder="undefined"/>
  161. <Cell col="30" text="cretno"/>
  162. <Cell col="31" rowspan="2" text="보험팀&#10;확인자" taborder="undefined"/>
  163. <Cell col="32" rowspan="2" text="보험팀&#10;확인시간" taborder="undefined"/>
  164. <Cell col="33" text="caption1"/>
  165. <Cell col="34" text="caption2"/>
  166. <Cell row="1" col="2" text="서식기록번호"/>
  167. <Cell row="1" col="11" text="격리진단코드"/>
  168. <Cell row="1" col="27" text="ANC"/>
  169. <Cell row="1" col="28" text="500이상"/>
  170. <Cell row="1" col="30" text="cretno"/>
  171. <Cell row="1" col="33" text="caption1"/>
  172. <Cell row="1" col="34" text="caption2"/>
  173. </Band>
  174. <Band id="body">
  175. <Cell celltype="head"/>
  176. <Cell col="1" displaytype="checkbox" style="controlbackground:silver;controlborder:1 solid #708090cc ;" text="bind:insucnfmyn" tooltiptext="bind:insucnfmyn" enable="false"/>
  177. <Cell col="2" text="bind:formrecseq"/>
  178. <Cell col="3" displaytype="text" style="align:center;" text="bind:pid" tooltiptext="bind:pid"/>
  179. <Cell col="4" text="bind:hngnm" tooltiptext="bind:hngnm"/>
  180. <Cell col="5" text="bind:cnststat" tooltiptext="bind:cnststat"/>
  181. <Cell col="6" text="bind:cnstcnfm" tooltiptext="bind:cnstcnfm"/>
  182. <Cell col="7" displaytype="date" text="bind:indd" calendardisplaynulltype="none" tooltiptext="bind:indd"/>
  183. <Cell col="8" style="align:left;" text="bind:reqdeptnm" tooltiptext="bind:reqdeptnm"/>
  184. <Cell col="9" text="bind:medispclnm" tooltiptext="bind:medispclnm"/>
  185. <Cell col="10" text="bind:requsernm" tooltiptext="bind:requsernm"/>
  186. <Cell col="11" text="bind:cnstdiagcd"/>
  187. <Cell col="12" style="align:left;" text="bind:cnstdiagnm" tooltiptext="bind:cnstdiagnm"/>
  188. <Cell col="13" text="bind:cnstdiagcnt" tooltiptext="bind:cnstdiagcnt"/>
  189. <Cell col="14" displaytype="date" text="bind:reqdt" calendardisplaynulltype="none" tooltiptext="bind:reqdt"/>
  190. <Cell col="15" text="bind:cnstcnfmfromdd" calendardisplaynulltype="none" tooltiptext="bind:cnstcnfmfromdd"/>
  191. <Cell col="16" displaytype="date" text="bind:cnstfromdd" calendardisplaynulltype="none" tooltiptext="bind:cnstfromdd"/>
  192. <Cell col="17" displaytype="date" text="bind:cnsttodd" calendardisplaynulltype="none" tooltiptext="bind:cnsttodd"/>
  193. <Cell col="18" style="align:left;" text="bind:roomgrdecd" tooltiptext="bind:roomgrdecd"/>
  194. <Cell col="19" style="align:left;" text="bind:wardnm" tooltiptext="bind:wardnm"/>
  195. <Cell col="20" text="bind:orroomcd" tooltiptext="bind:orroomcd"/>
  196. <Cell col="21" text="bind:roomcd" tooltiptext="bind:roomcd"/>
  197. <Cell col="22" text="bind:cnstroomcd" tooltiptext="bind:cnstroomcd"/>
  198. <Cell col="23" text="bind:sa" tooltiptext="bind:sa"/>
  199. <Cell col="24" style="align:left top;padding:4 2 2 2;" text="bind:detreccnts" wordwrap="word" tooltiptext="bind:detreccnts"/>
  200. <Cell col="25" text="bind:diagcd" tooltiptext="bind:diagcd"/>
  201. <Cell col="26" displaytype="date" text="bind:lstinsdate" calendardisplaynulltype="none" tooltiptext="bind:lstinsdate"/>
  202. <Cell col="27" text="bind:anc" tooltiptext="bind:anc"/>
  203. <Cell col="28" text="bind:overfh" tooltiptext="bind:overfh"/>
  204. <Cell col="29" displaytype="date" text="bind:dschdd" calendardisplaynulltype="none" tooltiptext="bind:dschdd"/>
  205. <Cell col="30" text="bind:instcd"/>
  206. <Cell col="31" text="bind:insuchknm" tooltiptext="bind:insuchknm"/>
  207. <Cell col="32" text="bind:insucnfmtm" mask="expr:utlf_isNull(insucnfmtm) ? '' : '####-##-## ##:##'" tooltiptext="bind:insucnfmtm"/>
  208. <Cell col="33" text="bind:ioflag"/>
  209. <Cell col="34" text="bind:cretno"/>
  210. </Band>
  211. </Format>
  212. </Formats>
  213. </Grid>
  214. <Button position="absolute 1149 70 1191 89" id="btn_excel" class="btn2" text="엑셀" anchor="default" onclick="grp_biz_btn_excel_onclick"/>
  215. <Button position="absolute 1021 70 1063 89" id="btn_save" class="btn5" visible="false" text="저장" anchor="default" onclick="grp_biz_btn_save_onclick"/>
  216. <Button position="absolute 1066 70 1146 89" id="importbutton2" class="btn2" text="컨설트 조회" anchor="default" onclick="grp_biz_importbutton2_onclick"/>
  217. </Layout>
  218. </Layouts>
  219. </Div>
  220. </Layout>
  221. </Layouts>
  222. <Objects>
  223. <Dataset id="ds_init_deptlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  224. <ColumnInfo>
  225. <Column id="depthngnm" type="STRING"/>
  226. <Column id="deptcd" type="STRING"/>
  227. </ColumnInfo>
  228. </Dataset>
  229. <Dataset id="ds_init_warddeptlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  230. <ColumnInfo>
  231. <Column id="depthngnm" type="STRING"/>
  232. <Column id="deptcd" type="STRING"/>
  233. </ColumnInfo>
  234. </Dataset>
  235. <Dataset id="ds_init_memberlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  236. <ColumnInfo>
  237. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  238. <Column id="userid" type="STRING" size="256" sumtext="사용자아이디"/>
  239. </ColumnInfo>
  240. <Rows>
  241. <Row/>
  242. </Rows>
  243. </Dataset>
  244. <Dataset id="ds_main_insumemberlist_insumemberlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  245. <ColumnInfo>
  246. <Column id="judgrid" type="STRING" size="256" sumtext="보험심사자아이디"/>
  247. </ColumnInfo>
  248. <Rows>
  249. <Row/>
  250. </Rows>
  251. </Dataset>
  252. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  253. <ColumnInfo>
  254. <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
  255. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  256. <Column id="cnstdate" type="STRING" size="256" sumtext="격리구분"/>
  257. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
  258. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  259. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  260. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  261. <Column id="cnsttodd" type="STRING" size="256" sumtext="격리종료일"/>
  262. <Column id="inclend" type="STRING" size="256" sumtext="완료포함"/>
  263. <Column id="icdr" type="STRING" size="256" sumtext="ICDR테이블 조건 여부 flag"/>
  264. <Column id="cnstendpat" type="STRING" size="256" sumtext="금일 격리 종료환자 보기"/>
  265. </ColumnInfo>
  266. </Dataset>
  267. <Dataset id="ds_main_cnstpatinfo_cnstpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  268. <ColumnInfo>
  269. <Column id="insucnfmyn" type="STRING" size="256" sumtext="보험팀확인여부"/>
  270. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  271. <Column id="ioflag" type="STRING" size="256" sumtext="ioflag"/>
  272. <Column id="formrecseq" type="STRING" size="256" sumtext="서식기록번호"/>
  273. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  274. <Column id="cnststat" type="STRING" size="256" sumtext="환자명"/>
  275. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  276. <Column id="reqdeptnm" type="STRING" size="256" sumtext="의뢰과"/>
  277. <Column id="medispclnm" type="STRING" size="256" sumtext="주치의"/>
  278. <Column id="cnstcnfm" type="STRING" size="256" sumtext="승인여부"/>
  279. <Column id="requsernm" type="STRING" size="256" sumtext="의뢰의사"/>
  280. <Column id="cnstdiagcd" type="STRING" size="256" sumtext="격리진단코드"/>
  281. <Column id="cnstdiagnm" type="STRING" size="256" sumtext="격리진단명"/>
  282. <Column id="reqdt" type="STRING" size="256" sumtext="격리신청일"/>
  283. <Column id="cnsthopefromdd" type="STRING" size="256" sumtext="격리예상시작일"/>
  284. <Column id="cnsthopetodd" type="STRING" size="256" sumtext="격리예상종료일"/>
  285. <Column id="cnstcnfmfromdd" type="STRING" size="256" sumtext="격리승인시작일"/>
  286. <Column id="cnstcnfmtodd" type="STRING" size="256" sumtext="격리승인종료일"/>
  287. <Column id="cnstfromdd" type="STRING" size="256" sumtext="격리개시일"/>
  288. <Column id="cnsttodd" type="STRING" size="256" sumtext="격리종료일"/>
  289. <Column id="roomgrdecd" type="STRING" size="256" sumtext="인실구분"/>
  290. <Column id="wardnm" type="STRING" size="256" sumtext="현병동"/>
  291. <Column id="orroomcd" type="STRING" size="256" sumtext="현병실"/>
  292. <Column id="roomcd" type="STRING" size="256" sumtext="이전병실"/>
  293. <Column id="cnstroomcd" type="STRING" size="256" sumtext="격리병실"/>
  294. <Column id="sa" type="STRING" size="256" sumtext="성별/나이"/>
  295. <Column id="diagcd" type="STRING" size="256" sumtext="주진단코드"/>
  296. <Column id="lstinsdate" type="STRING" size="256" sumtext="검사일자"/>
  297. <Column id="anc" type="STRING" size="256" sumtext="ANC"/>
  298. <Column id="overfh" type="STRING" size="256" sumtext="500이상"/>
  299. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  300. <Column id="cnstseq" type="STRING" size="256" sumtext="의뢰순번"/>
  301. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  302. <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
  303. <Column id="ioflag" type="STRING" size="256" sumtext="ioflag"/>
  304. <Column id="insucnfmtm" type="STRING" size="256" sumtext="보험팀 확인시간"/>
  305. <Column id="insuchknm" type="STRING" size="256" sumtext="보험팀 확인자"/>
  306. <Column id="cnstdiagcnt" type="STRING" size="256" sumtext="격리사유"/>
  307. <Column id="detreccnts" type="STRING" size="256" sumtext="의뢰내용"/>
  308. </ColumnInfo>
  309. </Dataset>
  310. <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  311. <ColumnInfo>
  312. <Column id="count" type="STRING" size="256"/>
  313. </ColumnInfo>
  314. </Dataset>
  315. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  316. <ColumnInfo>
  317. <Column id="cnstdd" type="STRING" size="256"/>
  318. <Column id="fromdd" type="STRING" size="256"/>
  319. <Column id="todd" type="STRING" size="256"/>
  320. <Column id="reqflag" type="STRING" size="256"/>
  321. <Column id="replyn" type="STRING" size="256"/>
  322. <Column id="ordflag" type="STRING" size="256"/>
  323. <Column id="orddeptcd" type="STRING" size="256"/>
  324. <Column id="orddrid" type="STRING" size="256"/>
  325. <Column id="pid" type="STRING" size="256"/>
  326. <Column id="hngnm" type="STRING" size="256"/>
  327. <Column id="wardcd" type="STRING" size="256"/>
  328. <Column id="cnsttermengnm" type="STRING" size="256"/>
  329. <Column id="cnstfromdd" type="STRING" size="256"/>
  330. <Column id="cnsttodd" type="STRING" size="256"/>
  331. <Column id="chk_wbcd3" type="STRING" size="256"/>
  332. <Column id="cnstendpat" type="STRING" size="256"/>
  333. <Column id="inclend" type="STRING" size="256"/>
  334. <Column id="cnstdate" type="STRING" size="256"/>
  335. <Column id="icdr" type="STRING" size="256"/>
  336. </ColumnInfo>
  337. <Rows>
  338. <Row/>
  339. </Rows>
  340. </Dataset>
  341. <Dataset id="ds_init_initdate" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  342. <ColumnInfo>
  343. <Column id="today" type="STRING" size="256"/>
  344. </ColumnInfo>
  345. <Rows>
  346. <Row/>
  347. </Rows>
  348. </Dataset>
  349. <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  350. <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  351. <ColumnInfo>
  352. <Column id="pid" type="STRING" size="256"/>
  353. <Column id="hngnm" type="STRING" size="256"/>
  354. </ColumnInfo>
  355. <Rows>
  356. <Row/>
  357. </Rows>
  358. </Dataset>
  359. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  360. <ColumnInfo>
  361. <Column id="pid" type="STRING" size="255"/>
  362. <Column id="bindyn" type="STRING" size="255"/>
  363. <Column id="instcd" type="STRING" size="255"/>
  364. <Column id="hngnm" type="STRING" size="255"/>
  365. <Column id="hngnm2" type="STRING" size="255"/>
  366. <Column id="engnm" type="STRING" size="255"/>
  367. <Column id="chinm" type="STRING" size="255"/>
  368. <Column id="rrgstno1" type="STRING" size="255"/>
  369. <Column id="rrgstno2" type="STRING" size="255"/>
  370. <Column id="rrgstno3" type="STRING" size="255"/>
  371. <Column id="brthdd" type="STRING" size="255"/>
  372. <Column id="sex" type="STRING" size="255"/>
  373. <Column id="age" type="STRING" size="255"/>
  374. <Column id="bindpid" type="STRING" size="255"/>
  375. <Column id="hometel" type="STRING" size="255"/>
  376. <Column id="mpphontel" type="STRING" size="255"/>
  377. <Column id="etctel1" type="STRING" size="255"/>
  378. <Column id="etctel2" type="STRING" size="255"/>
  379. <Column id="smsaprvyn" type="STRING" size="255"/>
  380. <Column id="email" type="STRING" size="255"/>
  381. <Column id="zipcd1" type="STRING" size="255"/>
  382. <Column id="zipcd2" type="STRING" size="255"/>
  383. <Column id="zipcdseq" type="BIGDECIMAL" size="255"/>
  384. <Column id="addr" type="STRING" size="255"/>
  385. <Column id="detladdr" type="STRING" size="255"/>
  386. <Column id="btype" type="STRING" size="255"/>
  387. <Column id="rh" type="STRING" size="255"/>
  388. <Column id="forgeryn" type="STRING" size="255"/>
  389. <Column id="nati" type="STRING" size="255"/>
  390. <Column id="psptno" type="STRING" size="255"/>
  391. <Column id="recmyn" type="STRING" size="255"/>
  392. <Column id="recmerid" type="STRING" size="255"/>
  393. <Column id="recmernm" type="STRING" size="255"/>
  394. <Column id="recmerrela" type="STRING" size="255"/>
  395. <Column id="vipyn" type="STRING" size="255"/>
  396. <Column id="viprem" type="STRING" size="255"/>
  397. <Column id="religncd" type="STRING" size="255"/>
  398. <Column id="baptnm" type="STRING" size="255"/>
  399. <Column id="chchnm" type="STRING" size="255"/>
  400. <Column id="dethyn" type="STRING" size="255"/>
  401. <Column id="dethdt" type="STRING" size="255"/>
  402. <Column id="dethdd" type="STRING" size="255"/>
  403. <Column id="dethtm" type="STRING" size="255"/>
  404. <Column id="chosresn" type="STRING" size="255"/>
  405. <Column id="animyn" type="STRING" size="255"/>
  406. <Column id="exptresncd" type="STRING" size="255"/>
  407. <Column id="inhospyn" type="STRING" size="255"/>
  408. <Column id="handicapryn" type="STRING" size="255"/>
  409. <Column id="pidflag" type="STRING" size="255"/>
  410. <Column id="remfact" type="STRING" size="255"/>
  411. <Column id="ptunyn" type="STRING" size="255"/>
  412. <Column id="fstrgstrid" type="STRING" size="255"/>
  413. <Column id="fstrgstdt" type="STRING" size="255"/>
  414. <Column id="lastupdtrid" type="STRING" size="255"/>
  415. <Column id="lastupdtdt" type="STRING" size="255"/>
  416. <Column id="lastorddd" type="STRING" size="255"/>
  417. <Column id="lastorddeptcd" type="STRING" size="255"/>
  418. <Column id="lastinsukind" type="STRING" size="255"/>
  419. <Column id="patspcfyn" type="STRING" size="255"/>
  420. <Column id="tdaydsch" type="STRING" size="255"/>
  421. <Column id="kioskrcptnoyn" type="STRING" size="255"/>
  422. <Column id="carnum" type="STRING" size="255"/>
  423. <Column id="mig" type="STRING" size="255"/>
  424. <Column id="scanyn" type="STRING" size="255"/>
  425. <Column id="spifscanyn" type="STRING" size="255"/>
  426. <Column id="isolinfo" type="STRING" size="255"/>
  427. <Column id="builno" type="STRING" size="255"/>
  428. <Column id="gugang_ptbs_scanyn" type="STRING" size="255"/>
  429. <Column id="hieocrtag" type="STRING" size="255"/>
  430. <Column id="bogjamt" type="STRING" size="255"/>
  431. <Column id="outuncoamt" type="STRING" size="255"/>
  432. <Column id="ptbs_pid" type="STRING" size="255"/>
  433. <Column id="dschuncoamt" type="STRING" size="255"/>
  434. <Column id="aiduncoamt" type="STRING" size="255"/>
  435. </ColumnInfo>
  436. </Dataset>
  437. <Dataset id="ds_init_hardcd_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  438. <ColumnInfo>
  439. <Column id="hardcd" type="STRING" size="255"/>
  440. <Column id="hardcdnm" type="STRING" size="255"/>
  441. <Column id="hardnm" type="STRING" size="255"/>
  442. </ColumnInfo>
  443. </Dataset>
  444. <Dataset id="ds_temp_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  445. <ColumnInfo>
  446. <Column id="pid" type="STRING" size="256"/>
  447. <Column id="hngnm" type="STRING" size="256"/>
  448. </ColumnInfo>
  449. <Rows>
  450. <Row/>
  451. </Rows>
  452. </Dataset>
  453. </Objects>
  454. <Bind>
  455. <BindItem id="item0" compid="grp_biz.group6.cmb_wardcd" propid="value" datasetid="ds_main_cond" columnid="wardcd"/>
  456. <BindItem id="item1" compid="grp_biz.group6.cmb_orddeptcd" propid="value" datasetid="ds_main_cond" columnid="orddeptcd"/>
  457. <BindItem id="item2" compid="grp_biz.group6.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  458. <BindItem id="item3" compid="grp_biz.group6.ipt_hngnm" propid="value" datasetid="ds_main_cond" columnid="hngnm"/>
  459. <BindItem id="item4" compid="grp_biz.group6.chk_wbc" propid="value" datasetid="ds_main_cond" columnid="chk_wbcd3"/>
  460. <BindItem id="item5" compid="grp_biz.group6.cmb_cnstdate" propid="value" datasetid="ds_main_cond" columnid="cnstdate"/>
  461. <BindItem id="item6" compid="grp_biz.group6.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  462. <BindItem id="item7" compid="grp_biz.group6.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  463. <BindItem id="item8" compid="grp_biz.group6.chk_incend" propid="value" datasetid="ds_main_cond" columnid="inclend"/>
  464. <BindItem id="item9" compid="grp_biz.group6.ipt_cnsttermengnm" propid="value" datasetid="ds_main_cond" columnid="cnsttermengnm"/>
  465. <BindItem id="item10" compid="grp_biz.group6.chk_toendpat" propid="value" datasetid="ds_main_cond" columnid="cnstendpat"/>
  466. </Bind>
  467. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  468. * System Name : 경대 의료정보시스템
  469. * Job Name : ast_infcmngtxp -> SMASB02100
  470. * Creator : yjh
  471. * Make Date : 2016-11-30
  472. * Description :
  473. *---------------------------------------------------------------------------------------
  474. * Modify Date Modifier Modify Description
  475. *---------------------------------------------------------------------------------------
  476. * 2016-11-30 yjh TF->XP
  477. *
  478. *---------------------------------------------------------------------------------------
  479. ****************************************************************************************/
  480. //=======================================================================================
  481. // Lib Include
  482. //---------------------------------------------------------------------------------------
  483. include "com_commonxp::comm_main.xjs";
  484. include "ast_infcmngtxp::SMASB00100.xjs"; //yjh
  485. //=======================================================================================
  486. // Global Form Variable
  487. //---------------------------------------------------------------------------------------
  488. //=======================================================================================
  489. // Function
  490. //---------------------------------------------------------------------------------------
  491. function fInitialize() {
  492. // 공통코드를 조회한다.
  493. // zbcfGetCodeList( new Array(),
  494. // new Array("/root/init/A0144list", "/root/init/A0145list", "/root/init/A0124list", "/root/init/A0358list", "/root/init/A0006list") );
  495. // 진료과
  496. var instcd = sysf_getUserInfo("dutplceinstcd");
  497. var standard_yn = "orduseyn";
  498. var ord_deptflag = 'D';
  499. var rslt_ref = "ds_init_deptlist_dept";
  500. var sort_field = "depthngnm";
  501. var sort_method = "asc";
  502. var dt = utlf_getCurrentDate();
  503. appf_getDeptCodeList(instcd, standard_yn, ord_deptflag, sort_field, sort_method, dt, "", "", rslt_ref);
  504. frmf_addComboItem("grp_biz.group6.cmb_orddeptcd","- 전 체 -","","above");
  505. grp_biz.group6.cmb_orddeptcd.value = "";
  506. //병동
  507. standard_yn = "orduseyn";
  508. ord_deptflag = "W";
  509. rslt_ref = "ds_init_warddeptlist_dept";
  510. sort_field = "deptcd";
  511. sort_method = "asc";
  512. appf_getDeptCodeList(instcd, standard_yn, ord_deptflag, sort_field, sort_method, dt, "", "", rslt_ref);
  513. frmf_addComboItem("grp_biz.group6.cmb_wardcd","- 전 체 -","","above");
  514. grp_biz.group6.cmb_wardcd.value = "";
  515. // 보험팀일 경우에만 보험팀 확인여부 컬럼과 저장 버튼이 보이도록 설정
  516. var deptcd = sysf_getUserInfo("dutplcecd");
  517. var userid = sysf_getUserInfo("userid");
  518. ds_init_memberlist.setColumn(0, "instcd",instcd);
  519. ds_init_memberlist.setColumn(0, "userid",userid);
  520. var oParam = {};
  521. oParam.id = "TRASB02102";
  522. oParam.service = "infcmngtapp.HospInfcMngt";
  523. oParam.method = "reqGetInsuMemberList";
  524. oParam.inds = "req=ds_init_memberlist";
  525. oParam.outds = "ds_main_insumemberlist_insumemberlist=insumemberlist";
  526. oParam.async = false;
  527. //oParam.callback = "cf_TRASB02102";
  528. tranf_submit(oParam);
  529. var insumember = ds_main_insumemberlist_insumemberlist.getColumn(0, "judgrid");
  530. //if (deptcd == "4071300000" || deptcd == "4070300000" ) {
  531. // 보험팀조직개편으로 인한 보험팀확인여부 보험심사자마스터에서 조회하여 비교
  532. if (userid == insumember) {
  533. grp_biz.grd_cnstpatlist.setCellProperty("body", 1, "edittype", "checkbox");
  534. grp_biz.grd_cnstpatlist.setCellProperty("body", 1, "controlbackground", "");
  535. grp_biz.grd_cnstpatlist.setCellProperty("body", 1, "controlborder", "");
  536. //grd_cnstpatlist.colHidden(grd_cnstpatlist.colRef("insucnfmyn")) = false;
  537. grp_biz.btn_save.visible = true;
  538. }
  539. }
  540. function fSetParameter(){
  541. var today = utlf_getCurrentDate();
  542. var idate = new Date();
  543. var peveDate = idate.getAddDate(-1, "M");
  544. ds_init_initdate.setColumn(0, "today", today);
  545. ds_send_cond.setColumn(0, "fromdd", peveDate.getDateFormat());
  546. ds_send_cond.setColumn(0, "todd", today);
  547. ds_main_cond.setColumn(0, "fromdd", peveDate.getDateFormat());
  548. ds_main_cond.setColumn(0, "todd", today);
  549. }
  550. /**
  551. * @desc : 환자 등록번호를 통한 환자 이름 가져오기
  552. * @
  553. * @param :
  554. * @return :
  555. * @author : 김영학
  556. * @---------------------------------------------------
  557. */
  558. function fPatSrch(s_val, flag){
  559. if(flag == "1"){
  560. ds_tmp.setColumn(0, "pid", s_val);
  561. } else if(flag == "2"){
  562. ds_tmp.setColumn(0, "hngnm", s_val);
  563. }
  564. ds_tmp.setColumn(0, "srchcond", flag);
  565. ds_tmp.setColumn(0, "autoflag","Y"); // 1건인경우 자동으로닫힘
  566. var objArg = new Object();
  567. objArg.arg_ds_send = ds_tmp;
  568. frmf_modal("SPPMC02500","SPPMC02500",objArg,"",1,10,10,"","","","","","M"); //ds_patinfolist
  569. }
  570. function fReqOpPatPamInfo(){
  571. var Currecdd = utlf_getCurrentDate();
  572. var currow = grp_biz.grd_cnstpatlist.currentrow;
  573. if(currow < 0){
  574. return;
  575. }
  576. //@@@@ 상단정보 세팅 (감염관리실에서만 사용)
  577. asbfGetHardCodeInfoNm("C1", "ds_init_hardcd_hardcd");
  578. var usercdok = ds_init_hardcd_hardcd.getColumn(0, "hardcdnm");
  579. var userdeptcd = sysf_getUserInfo( "dutplcecd" );
  580. if(usercdok == userdeptcd){ //감염관리실 사용자의 경우에만,
  581. var ordtype=ds_main_cnstpatinfo_cnstpatlist.getColumn(currow, "ioflag");
  582. var pid=ds_main_cnstpatinfo_cnstpatlist.getColumn(currow, "pid");
  583. var indd=ds_main_cnstpatinfo_cnstpatlist.getColumn(currow, "indd");
  584. var cretno=ds_main_cnstpatinfo_cnstpatlist.getColumn(currow, "cretno");
  585. var recdd=ds_main_cnstpatinfo_cnstpatlist.getColumn(currow, "dschdd");
  586. if (utlf_isNull(recdd)){
  587. recdd=Currecdd;
  588. }
  589. var instcd=sysf_getUserInfo("dutplceinstcd");
  590. //var recdd=Currecdd;
  591. var param=ordtype+"▦"+pid+"▦"+indd+"▦"+cretno+"▦"+instcd+"▦"+recdd;
  592. //setParameter("condparam", param);
  593. //modal("SPMMO08900", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  594. appf_initPatientInfo(param); //상단정보 셋팅
  595. }
  596. }
  597. //=======================================================================================
  598. // Event
  599. //---------------------------------------------------------------------------------------
  600. /****************************************************************************************
  601. * Components : Form
  602. * Components ID : SMASB02100
  603. * Event : oninit
  604. * Argument : 01.obj : Object Event has occurred
  605. * : 02.e : Event Object
  606. * Description : 화면 처음 초기화시
  607. ****************************************************************************************/
  608. function SMASB02100_oninit(obj:Form, e:InitEventInfo)
  609. {
  610. frmf_initForm(obj); //폼 초기화
  611. }
  612. /****************************************************************************************
  613. * Components : Form
  614. * Components ID : SMASB02100
  615. * Event : onload
  616. * Argument : 01.obj : Object Event has occurred
  617. * : 02.e : Event Object
  618. * Description : 화면 로딩 완료시
  619. ****************************************************************************************/
  620. function SMASB02100_onload(obj:Form, e:LoadEventInfo)
  621. {
  622. ds_main_cond.setColumn(0, "reqflag", "-");
  623. ds_main_cond.setColumn(0, "replyn", "-");
  624. ds_main_cond.setColumn(0, "ordflag", "-");
  625. ds_main_cond.setColumn(0, "orddrid", "-");
  626. ds_main_cond.setColumn(0, "cnstdate", "R");
  627. grdf_setRowTypeIcon(grp_biz.grd_cnstpatlist, 0);
  628. grdf_setGridSort(grp_biz.grd_cnstpatlist);
  629. fInitialize();
  630. fSetParameter();
  631. }
  632. /****************************************************************************************
  633. * Components : Button
  634. * Components ID : btn_print
  635. * Event : onclick
  636. * Argument : 01.obj : Object Event has occurred
  637. * : 02.e : Event Object
  638. * Description : 출력버튼 클릭시
  639. ****************************************************************************************/
  640. function grp_btn_btn_print_onclick(obj:Button, e:ClickEventInfo)
  641. {
  642. var objDOM = rptf_createDOM(); // DOM 객체 설정
  643. rptf_setNodeListToDOM(objDOM, "root/main/cond", ds_main_cond); // 데이터셋
  644. rptf_setNodeListToDOM(objDOM, "root/main/cnstpatinfo/cnstpatlist", ds_main_cnstpatinfo_cnstpatlist); // 데이터셋
  645. var objParam = new Object();
  646. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  647. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  648. rptf_exeReportPreview30(["RPASB02100"],[objParam], option);
  649. }
  650. /****************************************************************************************
  651. * Components : Button
  652. * Components ID : btn_init
  653. * Event : onclick
  654. * Argument : 01.obj : Object Event has occurred
  655. * : 02.e : Event Object
  656. * Description : 초기화버튼 클릭시
  657. ****************************************************************************************/
  658. function grp_btn_btn_init_onclick(obj:Button, e:ClickEventInfo)
  659. {
  660. ds_main_cnstpatinfo_cnstpatlist.clearData();
  661. }
  662. /****************************************************************************************
  663. * Components : Edit
  664. * Components ID : ipt_pid
  665. * Event : onsetfocus
  666. * Argument : 01.obj : Object Event has occurred
  667. * : 02.e : Event Object
  668. * Description : 에디터로 포커스 들어올때
  669. ****************************************************************************************/
  670. function grp_biz_group6_ipt_pid_onsetfocus(obj:Edit, e:SetFocusEventInfo)
  671. {
  672. ds_main_cond.setColumn(0, "pid", "");
  673. ds_main_cond.setColumn(0, "hngnm", "");
  674. }
  675. /****************************************************************************************
  676. * Components : Edit
  677. * Components ID : ipt_pid
  678. * Event : onkeyup
  679. * Argument : 01.obj : Object Event has occurred
  680. * : 02.e : Event Object
  681. * Description : 키 입력시
  682. ****************************************************************************************/
  683. function grp_biz_group6_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  684. {
  685. if( e.keycode == 13 ){
  686. grp_biz.group6.btn_patsrch.click();
  687. }
  688. }
  689. /****************************************************************************************
  690. * Components : Button
  691. * Components ID : btn_prcpclsnm
  692. * Event : onclick
  693. * Argument : 01.obj : Object Event has occurred
  694. * : 02.e : Event Object
  695. * Description : 돋보기버튼 클릭시
  696. ****************************************************************************************/
  697. function grp_biz_group6_btn_prcpclsnm_onclick(obj:Button, e:ClickEventInfo)
  698. {
  699. frmf_modal("SPPMC02500","SPPMC02500",null,"",1,10,10,"","","","","","M"); //ds_patinfolist
  700. var sPid = ds_patinfolist.getColumn(0, "pid");
  701. var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
  702. ds_main_cond.setColumn(0, "pid", sPid);
  703. ds_main_cond.setColumn(0, "hngnm", sHngnm);
  704. }
  705. /****************************************************************************************
  706. * Components : Edit
  707. * Components ID : ipt_hngnm
  708. * Event : onsetfocus
  709. * Argument : 01.obj : Object Event has occurred
  710. * : 02.e : Event Object
  711. * Description : 데이터로 포커스 들어올때
  712. ****************************************************************************************/
  713. function grp_biz_group6_ipt_hngnm_onsetfocus(obj:Edit, e:SetFocusEventInfo)
  714. {
  715. ds_main_cond.setColumn(0, "pid", "");
  716. ds_main_cond.setColumn(0, "hngnm", "");
  717. }
  718. /****************************************************************************************
  719. * Components : Edit
  720. * Components ID : ipt_hngnm
  721. * Event : onkeyup
  722. * Argument : 01.obj : Object Event has occurred
  723. * : 02.e : Event Object
  724. * Description : 키 입력시
  725. ****************************************************************************************/
  726. function grp_biz_group6_ipt_hngnm_onkeyup(obj:Edit, e:KeyEventInfo)
  727. {
  728. if( e.keycode == 13 ){
  729. grp_biz.group6.btn_patsrch.click();
  730. }
  731. }
  732. /****************************************************************************************
  733. * Components : Button
  734. * Components ID : btn_search
  735. * Event : onclick
  736. * Argument : 01.obj : Object Event has occurred
  737. * : 02.e : Event Object
  738. * Description : 조회버튼 클릭시
  739. ****************************************************************************************/
  740. function grp_biz_group6_btn_search_onclick(obj:Button, e:ClickEventInfo)
  741. {
  742. ds_main_cnstpatinfo_cnstpatlist.clearData();
  743. ds_send_reqdata.copyData(ds_main_cond);
  744. var oParam = {};
  745. oParam.id = "TRASB02101";
  746. oParam.service = "infcmngtapp.HospInfcMngt";
  747. oParam.method = "reqGetCnstPatList";
  748. oParam.inds = "req=ds_send_reqdata";
  749. oParam.outds = "ds_main_cnstpatinfo_cnstpatlist=cnstpatlist";
  750. oParam.async = false;
  751. //oParam.callback = "cf_TRASB02101";
  752. tranf_submit(oParam);
  753. ds_main_cnstpatinfo_cnstpatlist.rowposition = -1;
  754. ds_main_cnstpatinfo_cnstpatlist.enableevent = false;
  755. ds_main_cnstpatinfo_cnstpatlist.updatecontrol = false;
  756. for( var i=0 ; i<ds_main_cnstpatinfo_cnstpatlist.rowcount ; i++ ){
  757. if( ds_main_cnstpatinfo_cnstpatlist.getColumn(i, "insucnfmyn") == "Y" ){
  758. ds_main_cnstpatinfo_cnstpatlist.setColumn(i, "insucnfmyn", "1");
  759. }else{
  760. ds_main_cnstpatinfo_cnstpatlist.setColumn(i, "insucnfmyn", "0");
  761. }
  762. }
  763. ds_main_cnstpatinfo_cnstpatlist.updatecontrol = true;
  764. ds_main_cnstpatinfo_cnstpatlist.enableevent = true;
  765. }
  766. /****************************************************************************************
  767. * Components : Button
  768. * Components ID : importbutton1
  769. * Event : onclick
  770. * Argument : 01.obj : Object Event has occurred
  771. * : 02.e : Event Object
  772. * Description : 돋보기버튼 클릭시
  773. ****************************************************************************************/
  774. function grp_biz_group6_importbutton1_onclick(obj:Button, e:ClickEventInfo)
  775. {
  776. frmf_modal("SPPMC02500","SPPMC02500",null,"",1,10,10,"","","","","","M"); //ds_patinfolist
  777. var sPid = ds_patinfolist.getColumn(0, "pid");
  778. var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
  779. ds_main_cond.setColumn(0, "pid", sPid);
  780. ds_main_cond.setColumn(0, "hngnm", sHngnm);
  781. }
  782. /****************************************************************************************
  783. * Components : Combo
  784. * Components ID : cmb_cnstdate
  785. * Event : onitemchanged
  786. * Argument : 01.obj : Object Event has occurred
  787. * : 02.e : Event Object
  788. * Description : 콤보 값 변경시
  789. ****************************************************************************************/
  790. function grp_biz_group6_cmb_cnstdate_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  791. {
  792. var icdr = ds_main_cond.getColumn(0, "cnstendpat" );
  793. var cnstdate = ds_main_cond.getColumn(0, "cnstdate" );
  794. if (icdr =="Y" ||cnstdate =="F" ) {
  795. ds_main_cond.setColumn(0, "icdr", "I");
  796. } else {
  797. ds_main_cond.setColumn(0, "icdr", "");
  798. }
  799. }
  800. /****************************************************************************************
  801. * Components : Button
  802. * Components ID : btn_patsrch
  803. * Event : onclick
  804. * Argument : 01.obj : Object Event has occurred
  805. * : 02.e : Event Object
  806. * Description : 버튼 클릭시
  807. ****************************************************************************************/
  808. function grp_biz_group6_btn_patsrch_onclick(obj:Button, e:ClickEventInfo)
  809. {
  810. var pid = ds_main_cond.getColumn(0, "pid");
  811. var hngnm = ds_main_cond.getColumn(0, "hngnm");
  812. if( utlf_isNull(pid) && !utlf_isNull(hngnm) ){
  813. fPatSrch(hngnm, "2");
  814. } else if( !utlf_isNull(pid) && utlf_isNull(hngnm) ){
  815. fPatSrch(pid, "1");
  816. } else {
  817. frmf_modal("SPPMC02500","SPPMC02500",null,"",1,10,10,"","","","","","M"); //ds_patinfolist
  818. }
  819. ds_main_cond.setColumn(0, "pid",ds_patinfolist.getColumn(0, "pid"));
  820. ds_main_cond.setColumn(0, "hngnm",ds_patinfolist.getColumn(0, "hngnm"));
  821. }
  822. /****************************************************************************************
  823. * Components : CheckBox
  824. * Components ID : chk_toendpat
  825. * Event : onclick
  826. * Argument : 01.obj : Object Event has occurred
  827. * : 02.e : Event Object
  828. * Description : 체크박스 클릭시
  829. ****************************************************************************************/
  830. function grp_biz_group6_chk_toendpat_onclick(obj:CheckBox, e:ClickEventInfo)
  831. {
  832. var icdr = ds_main_cond.getColumn(0, "cnstendpat" );
  833. var cnstdate = ds_main_cond.getColumn(0, "cnstdate" );
  834. if (icdr =="Y" ||cnstdate =="F" ) {
  835. ds_main_cond.setColumn(0, "icdr", "I");
  836. } else {
  837. ds_main_cond.setColumn(0, "icdr", "");
  838. }
  839. }
  840. /****************************************************************************************
  841. * Components : Grid
  842. * Components ID : grd_cnstpatlist
  843. * Event : onrbuttondown
  844. * Argument : 01.obj : Object Event has occurred
  845. * : 02.e : Event Object
  846. * Description : 마우스 우클릭시
  847. ****************************************************************************************/
  848. function grp_biz_grd_cnstpatlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  849. {
  850. //사용 안하는듯..
  851. //setPopupMenu("grd_cnstpatlist", false, "/root/popupmenu/menu/item", "name", "func");
  852. }
  853. /****************************************************************************************
  854. * Components : Grid
  855. * Components ID : grd_cnstpatlist
  856. * Event : oncellclick
  857. * Argument : 01.obj : Object Event has occurred
  858. * : 02.e : Event Object
  859. * Description : 그리드 셀 클릭시
  860. ****************************************************************************************/
  861. function grp_biz_grd_cnstpatlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  862. {
  863. var row = grp_biz.grd_cnstpatlist.currentrow;
  864. ds_temp_patinfo.setColumn(0, "pid",ds_main_cnstpatinfo_cnstpatlist.getColumn(row, "pid"));
  865. ds_temp_patinfo.setColumn(0, "hngnm",ds_main_cnstpatinfo_cnstpatlist.getColumn(row, "hngnm"));
  866. }
  867. /****************************************************************************************
  868. * Components : Grid
  869. * Components ID : grd_cnstpatlist
  870. * Event : oncelldblclick
  871. * Argument : 01.obj : Object Event has occurred
  872. * : 02.e : Event Object
  873. * Description : 그리드 셀 더블클릭시
  874. ****************************************************************************************/
  875. function grp_biz_grd_cnstpatlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  876. {
  877. fReqOpPatPamInfo();
  878. }
  879. /****************************************************************************************
  880. * Components : Button
  881. * Components ID : btn_excel
  882. * Event : onclick
  883. * Argument : 01.obj : Object Event has occurred
  884. * : 02.e : Event Object
  885. * Description : 엑셀버튼 클릭시
  886. ****************************************************************************************/
  887. function grp_biz_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  888. {
  889. if( grp_biz.grd_cnstpatlist.rowcount > 0 ){
  890. grdf_exportExcel(grp_biz.grd_cnstpatlist, "격리병실신청현황", "격리병실신청현황", false, "", "user", false);
  891. } else {
  892. sysf_messageBox("조회된 데이터가 ", "I004");
  893. return;
  894. }
  895. }
  896. /****************************************************************************************
  897. * Components : Button
  898. * Components ID : btn_save
  899. * Event : onclick
  900. * Argument : 01.obj : Object Event has occurred
  901. * : 02.e : Event Object
  902. * Description : 저장버튼 클릭시
  903. ****************************************************************************************/
  904. function grp_biz_btn_save_onclick(obj:Button, e:ClickEventInfo)
  905. {
  906. ds_main_cnstpatinfo_cnstpatlist.enableevent = false;
  907. ds_main_cnstpatinfo_cnstpatlist.updatecontrol = false;
  908. grdf_setStatusColumn(ds_main_cnstpatinfo_cnstpatlist, "m");
  909. ds_main_cnstpatinfo_cnstpatlist.updatecontrol = false;
  910. ds_main_cnstpatinfo_cnstpatlist.enableevent = false;
  911. ds_send_reqdata.copyData(grdf_getGridUpdateData(grp_biz.grd_cnstpatlist, "all"));
  912. for( var i=0 ; i<ds_send_reqdata.rowcount ; i++ ){
  913. if( ds_send_reqdata.getColumn(i, "insucnfmyn") == "1" ){
  914. ds_send_reqdata.setColumn(i, "insucnfmyn", "Y");
  915. }else{
  916. ds_send_reqdata.setColumn(i, "insucnfmyn", "N");
  917. }
  918. }
  919. var oParam = {};
  920. oParam.id = "TXASB02101";
  921. oParam.service = "infcmngtapp.HospInfcMngt";
  922. oParam.method = "reqExeInsuCnfmYN";
  923. oParam.inds = "req=ds_send_reqdata";
  924. oParam.outds = "ds_hidden_item=item";
  925. oParam.async = false;
  926. //oParam.callback = "cf_TXASB02101";
  927. tranf_submit(oParam);
  928. grp_biz.group6.btn_search.click();
  929. }
  930. /****************************************************************************************
  931. * Components : Button
  932. * Components ID : importbutton2
  933. * Event : onclick
  934. * Argument : 01.obj : Object Event has occurred
  935. * : 02.e : Event Object
  936. * Description : 컨설트조회 버튼 클릭시
  937. ****************************************************************************************/
  938. function grp_biz_importbutton2_onclick(obj:Button, e:ClickEventInfo)
  939. {
  940. var sessionPID = appf_getPatientId();
  941. var iRow=grp_biz.grd_cnstpatlist.currentrow;
  942. if(sessionPID != ds_main_cnstpatinfo_cnstpatlist.getColumn(iRow, "pid")){
  943. fReqOpPatPamInfo();
  944. }
  945. frmf_modal("SMMMR05000","SMMMR05000","","","","","","","","","","","M");
  946. }
  947. /****************************************************************************************
  948. * Components : CheckBox
  949. * Components ID : chk_wbc
  950. * Event : onclick
  951. * Argument : 01.obj : Object Event has occurred
  952. * : 02.e : Event Object
  953. * Description : 체크박스 클릭시
  954. ****************************************************************************************/
  955. function grp_biz_group6_chk_wbc_onclick(obj:CheckBox, e:ClickEventInfo)
  956. {
  957. if( obj.value != "D" ){
  958. ds_main_cond.setColumn(0, "chk_wbcd3", "");
  959. }
  960. }
  961. /****************************************************************************************
  962. * Components : CheckBox
  963. * Components ID : chk_incend
  964. * Event : onclick
  965. * Argument : 01.obj : Object Event has occurred
  966. * : 02.e : Event Object
  967. * Description : 체크박스 클릭시
  968. ****************************************************************************************/
  969. function grp_biz_group6_chk_incend_onclick(obj:CheckBox, e:ClickEventInfo)
  970. {
  971. if( obj.value != "Y" ){
  972. ds_main_cond.setColumn(0, "inclend", "");
  973. }
  974. }
  975. ]]></Script>
  976. </Form>
  977. </FDL>