SMPMC01600_BMT환자관리.xfdl 43 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPMC01600" position="absolute 0 0 1196 768" titletext="BMT환자관리" onload="SMPMC01600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 733 1195 766" id="group5" anchor="left right bottom">
  8. <Layouts>
  9. <Layout width="1195" height="30">
  10. <Button position="absolute 1126 8 1194 30" id="button2" class="btn4" text="초기화" onclick="group5_button2_onclick" anchor="right bottom"/>
  11. <Shape position="absolute 0 1 1194 7" linetype="horizontal" id="line32" class="line_10" anchor="left right bottom" style="strokepen:1 solid #33bbbbff;"/>
  12. <Button position="absolute 1068 8 1124 30" id="button5" class="btn4" text="저장" onclick="group5_button5_onclick" anchor="right bottom"/>
  13. <Button position="absolute 0 8 128 30" id="button4" class="btn3" text="BMT환자총괄조회" onclick="group5_button4_onclick" anchor="left bottom"/>
  14. <Button position="absolute 130 8 270 30" id="button1" class="btn3" text="BMT입원예정자조회" onclick="group5_button1_onclick" anchor="left bottom"/>
  15. <Button position="absolute 272 8 376 30" id="button3" class="btn3" text="BMT환자관리" onclick="group5_button3_onclick" anchor="left bottom"/>
  16. <Button position="absolute 378 8 470 30" id="button6" class="btn3" text="이식스케쥴" onclick="group5_button6_onclick" anchor="left bottom"/>
  17. <Button position="absolute 472 8 600 30" id="button7" class="btn3" text="BMT대기자리스트" onclick="group5_button7_onclick" anchor="left bottom"/>
  18. <Button position="absolute 812 8 988 30" id="button9" class="btn3" visible="false" text="자가조혈모세포이식신청서" onclick="group5_button9_onclick" anchor="left bottom"/>
  19. <Button position="absolute 831 8 1007 30" id="button10" class="btn3" visible="false" text="동종조혈모세포이식신청서" onclick="group5_button10_onclick" anchor="left bottom"/>
  20. <Button position="absolute 850 8 1026 30" id="button11" class="btn3" visible="false" text="동종조혈포세포공여승낙서" onclick="group5_button11_onclick" anchor="left bottom"/>
  21. <Button position="absolute 872 8 1048 30" id="button12" class="btn3" visible="false" text="이식등록환자동의서" onclick="group5_button12_onclick" anchor="left bottom"/>
  22. <Button position="absolute 700 8 792 30" id="button13" class="btn3" text="동의서반납" onclick="group5_button13_onclick" anchor="left bottom"/>
  23. <Button position="absolute 606 8 698 30" id="button14" class="btn3" text="동의서출력" onclick="group5_button14_onclick" anchor="left bottom"/>
  24. </Layout>
  25. </Layouts>
  26. </Div>
  27. <Static id="caption6" text="BMT 보험승인 관리" class="tit_1" position="absolute 0 0 160 25" anchor="left top"/>
  28. <Div id="grp" taborder="1" position="absolute 0 25 1194 65" class="div_SA" anchor="left top right">
  29. <Layouts>
  30. <Layout width="1194" height="35">
  31. <Static id="caption1" text="요청기간 :" class="search_name" position="absolute 15 13 101 30" anchor="left top"/>
  32. <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1105 10 1111 32" anchor="top right"/>
  33. <Static id="caption17" text="환자번호 :" class="search_name" position="absolute 372 13 446 30" anchor="left top"/>
  34. <Calendar id="input32" taborder="1" class="input_default" position="absolute 99 11 214 30" anchor="left top" autoselect="true" autoskip="true" value="null" dateformat="yyyy-MM-dd ddd"/>
  35. <Calendar id="input38" taborder="2" class="input_default" position="absolute 232 11 347 30" anchor="left top" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd ddd"/>
  36. <Static id="caption20" text="~" class="search_no_b" position="absolute 218 12 230 29" anchor="left top"/>
  37. <Edit id="input1" taborder="3" class="input_default" position="absolute 456 11 571 30" anchor="left top" onkeydown="grp_input1_onkeydown"/>
  38. <Button id="btn_search" taborder="4" text="조회" class="btn1" position="absolute 1123 10 1179 32" anchor="top right" onclick="grp_btn_search_onclick"/>
  39. </Layout>
  40. </Layouts>
  41. </Div>
  42. <Static id="caption2" text="BMT 환자내역" class="tit_2" position="absolute 0 73 111 89" anchor="left top"/>
  43. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 89 1194 95" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  44. <Static id="caption3" text="BMT 이식 History" class="tit_2" position="absolute 0 576 131 593" anchor="left bottom"/>
  45. <Shape id="line3" linetype="horizontal" class="line_1" position="absolute 0 592 392 598" style="strokepen:3 solid #33bbbbff;" anchor="left bottom"/>
  46. <Grid id="datagrid2" class="datagrid2" taborder="2" binddataset="ds_main_triflist02_grdtrnpthistlist" useinputpanel="false" position="absolute 0 597 392 735" autofittype="col" anchor="left bottom">
  47. <Formats>
  48. <Format id="default">
  49. <Columns>
  50. <Column size="25"/>
  51. <Column size="70"/>
  52. <Column size="60"/>
  53. <Column size="90"/>
  54. <Column size="60"/>
  55. <Column size="90"/>
  56. </Columns>
  57. <Rows>
  58. <Row size="24" band="head"/>
  59. <Row size="24"/>
  60. </Rows>
  61. <Band id="head">
  62. <Cell/>
  63. <Cell col="1" text="BMT차수"/>
  64. <Cell col="2" text="이식종류"/>
  65. <Cell col="3" text="요청일자"/>
  66. <Cell col="4" text="승인여부"/>
  67. <Cell col="5" text="승인일자"/>
  68. </Band>
  69. <Band id="body">
  70. <Cell celltype="head" expr="expr:currow + 1"/>
  71. <Cell col="1" text="bind:trnptdg"/>
  72. <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 3;" text="bind:trnptkind" combodataset="ds_init_A0158list" combocodecol="cdid" combodatacol="cdnm"/>
  73. <Cell col="3" displaytype="date" text="bind:insureqdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  74. <Cell col="4" displaytype="combo" edittype="combo" text="bind:insuaprvkind" combodataset="ds_static_insuaprvkind" combocodecol="value" combodatacol="label"/>
  75. <Cell col="5" displaytype="date" text="bind:insuaprvdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  76. </Band>
  77. </Format>
  78. </Formats>
  79. </Grid>
  80. <Static id="caption4" text="공여자명단" class="tit_2" position="absolute 397 576 483 593" anchor="left bottom"/>
  81. <Grid id="datagrid3" class="datagrid2" taborder="3" binddataset="ds_main_triflist02_grddnorlist" useinputpanel="false" position="absolute 397 597 629 735" autofittype="col" anchor="left bottom">
  82. <Formats>
  83. <Format id="default">
  84. <Columns>
  85. <Column size="25"/>
  86. <Column size="90"/>
  87. <Column size="120"/>
  88. </Columns>
  89. <Rows>
  90. <Row size="24" band="head"/>
  91. <Row size="24"/>
  92. </Rows>
  93. <Band id="head">
  94. <Cell/>
  95. <Cell col="1" text="공여자번호"/>
  96. <Cell col="2" text="공여자명"/>
  97. </Band>
  98. <Band id="body">
  99. <Cell celltype="head" expr="expr:currow + 1"/>
  100. <Cell col="1" text="bind:dnorid"/>
  101. <Cell col="2" text="bind:dnornm"/>
  102. </Band>
  103. </Format>
  104. </Formats>
  105. </Grid>
  106. <Static id="caption5" text="BMT환자 Remark 조회 및 작성" class="tit_2" position="absolute 634 576 841 593" anchor="left bottom"/>
  107. <Shape id="line5" linetype="horizontal" class="line_1" position="absolute 634 592 1194 598" style="strokepen:3 solid #33bbbbff;" anchor="left right bottom"/>
  108. <Shape id="line4" linetype="horizontal" class="line_1" position="absolute 397 592 629 598" style="strokepen:3 solid #33bbbbff;" anchor="left bottom"/>
  109. <TextArea id="textarea1" taborder="4" position="absolute 964 597 1193 735" scrollbars="fixedvert" wordwrap="char" anchor="right bottom"/>
  110. <Static id="caption7" text="Remark" class="cell_1" position="absolute 876 597 962 711" anchor="right bottom"/>
  111. <Static id="caption8" class="cell_1" position="absolute 876 712 962 735" anchor="right bottom"/>
  112. <Button id="button8" taborder="5" text="Remark저장" class="btn2" position="absolute 876 714 962 733" onclick="button8_onclick" anchor="right bottom"/>
  113. <Grid id="grd_bmtpatlist" class="datagrid2" taborder="6" binddataset="ds_main_triflist01_grdbmtpatlist" useinputpanel="false" position="absolute 0 94 1194 568" oncelldblclick="grd_bmtpatlist_oncelldblclick" anchor="all">
  114. <Formats>
  115. <Format id="default">
  116. <Columns>
  117. <Column size="25" band="left"/>
  118. <Column size="78"/>
  119. <Column size="72"/>
  120. <Column size="66"/>
  121. <Column size="100"/>
  122. <Column size="34"/>
  123. <Column size="50"/>
  124. <Column size="57"/>
  125. <Column size="78"/>
  126. <Column size="66"/>
  127. <Column size="66"/>
  128. <Column size="86"/>
  129. <Column size="86"/>
  130. <Column size="86"/>
  131. <Column size="63"/>
  132. <Column size="63"/>
  133. <Column size="130"/>
  134. <Column size="76"/>
  135. <Column size="110"/>
  136. <Column size="140"/>
  137. <Column size="78"/>
  138. </Columns>
  139. <Rows>
  140. <Row size="30" band="head"/>
  141. <Row size="24"/>
  142. </Rows>
  143. <Band id="head">
  144. <Cell/>
  145. <Cell col="1" text="요청일자"/>
  146. <Cell col="2" text="환자번호"/>
  147. <Cell col="3" text="환자명"/>
  148. <Cell col="4" text="주민번호"/>
  149. <Cell col="5" text="차수"/>
  150. <Cell col="6" text="이식종류"/>
  151. <Cell col="7" text="Stem cell source" wordwrap="char"/>
  152. <Cell col="8" text="이식일자"/>
  153. <Cell col="9" text="코디네이터실확인" wordwrap="char"/>
  154. <Cell col="10" text="승인여부"/>
  155. <Cell col="11" text="승인일자"/>
  156. <Cell col="12" text="입원예정일자"/>
  157. <Cell col="13" text="입원일자"/>
  158. <Cell col="14" text="BMT입원"/>
  159. <Cell col="15" text="급여여부"/>
  160. <Cell col="16" text="계좌번호"/>
  161. <Cell col="17" text="공여자명"/>
  162. <Cell col="18" text="공여자주민번호"/>
  163. <Cell col="19" text="진단명"/>
  164. <Cell col="20" text="심의일"/>
  165. </Band>
  166. <Band id="body">
  167. <Cell celltype="head" style="align:center middle;"/>
  168. <Cell col="1" displaytype="date" text="bind:insureqdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  169. <Cell col="2" text="bind:pid"/>
  170. <Cell col="3" text="bind:hngnm"/>
  171. <Cell col="4" displaytype="expr:utlf_isNull(rrgstno) ? 'none' : 'normal'" text="bind:rrgstno" mask="999999-9999999" maskchar=" "/>
  172. <Cell col="5" text="bind:trnptdg"/>
  173. <Cell col="6" displaytype="combo" style="padding:0 0 0 3;" text="bind:trnptkind" combodataset="ds_init_A0158list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  174. <Cell col="7" displaytype="combo" style="padding:0 0 0 3;" text="bind:scs" combodataset="ds_init_A0162list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  175. <Cell col="8" displaytype="date" text="bind:trnptdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  176. <Cell col="9" text="bind:reqqualyn"/>
  177. <Cell col="10" displaytype="combo" edittype="combo" text="bind:insuaprvkind" combodataset="ds_static_hsctyn" combocodecol="value" combodatacol="label"/>
  178. <Cell col="11" displaytype="date" edittype="date" text="bind:insuaprvdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  179. <Cell col="12" displaytype="date" text="bind:inschedd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  180. <Cell col="13" displaytype="date" text="bind:indd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  181. <Cell col="14" displaytype="combo" text="bind:hsctyn" combodataset="ds_static_hsctyn" combocodecol="value" combodatacol="label" enable="false"/>
  182. <Cell col="15" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_static_insukind" combocodecol="value" combodatacol="label"/>
  183. <Cell col="16" displaytype="text" edittype="text" text="bind:acntno"/>
  184. <Cell col="17" style="align:left middle;" text="bind:dnornm"/>
  185. <Cell col="18" displaytype="expr:utlf_isNull(dnorrrgstno) ? 'none' : 'normal'" style="align:left middle;" text="bind:dnorrrgstno" mask="999999-9999999" maskchar=" "/>
  186. <Cell col="19" style="align:left middle;" text="bind:diagcd"/>
  187. <Cell col="20" displaytype="date" text="bind:aprvqualdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  188. </Band>
  189. </Format>
  190. </Formats>
  191. </Grid>
  192. <Div id="iviewer1" taborder="7" url="emr_formmngtxp::SSMRF03800_OCR뷰어.xfdl" visible="false" position="absolute 460 395 910 545"/>
  193. <Grid id="grdremlist" class="datagrid2" taborder="8" binddataset="ds_main_triflist02_grdremlist" useinputpanel="false" position="absolute 634 597 873 735" oncelldblclick="grdremlist_oncelldblclick" anchor="left right bottom">
  194. <Formats>
  195. <Format id="default">
  196. <Columns>
  197. <Column size="25" band="left"/>
  198. <Column size="80"/>
  199. <Column size="200"/>
  200. <Column size="80"/>
  201. <Column size="70"/>
  202. </Columns>
  203. <Rows>
  204. <Row size="24" band="head"/>
  205. <Row size="24"/>
  206. </Rows>
  207. <Band id="head">
  208. <Cell/>
  209. <Cell col="1" text="입원예정일자"/>
  210. <Cell col="2" text="Remark"/>
  211. <Cell col="3" text="작성일자"/>
  212. <Cell col="4" text="작성자"/>
  213. </Band>
  214. <Band id="body">
  215. <Cell celltype="head" expr="expr:currow + 1"/>
  216. <Cell col="1" displaytype="date" text="bind:inschedd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  217. <Cell col="2" text="bind:hsctrem"/>
  218. <Cell col="3" displaytype="date" text="bind:rgstdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  219. <Cell col="4" text="bind:lastupdtrnm"/>
  220. </Band>
  221. </Format>
  222. </Formats>
  223. </Grid>
  224. </Layout>
  225. </Layouts>
  226. <Objects>
  227. <Dataset id="ds_main_triflist02_grdtrnpthistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  228. <ColumnInfo>
  229. <Column id="trnptdg" type="STRING"/>
  230. <Column id="trnptkind" type="STRING"/>
  231. <Column id="insureqdd" type="STRING"/>
  232. <Column id="insuaprvkind" type="STRING"/>
  233. <Column id="insuaprvdd" type="STRING"/>
  234. </ColumnInfo>
  235. </Dataset>
  236. <Dataset id="ds_main_triflist02_grddnorlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  237. <ColumnInfo>
  238. <Column id="dnorid" type="STRING"/>
  239. <Column id="dnornm" type="STRING"/>
  240. </ColumnInfo>
  241. </Dataset>
  242. <Dataset id="ds_main_triflist01_grdbmtpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  243. <ColumnInfo>
  244. <Column id="insureqdd" type="STRING" size="256" sumtext="보험요청일자"/>
  245. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  246. <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
  247. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  248. <Column id="trnptdg" type="INT" size="256" sumtext="이식차수"/>
  249. <Column id="trnptkind" type="STRING" size="256" sumtext="이식종류"/>
  250. <Column id="scs" type="STRING" size="256" sumtext="Stem Cell Source"/>
  251. <Column id="trnptdd" type="STRING" size="256" sumtext="이식일자"/>
  252. <Column id="reqqualyn" type="STRING" size="256" sumtext="코디네이터실확인"/>
  253. <Column id="insuaprvkind" type="STRING" size="256" sumtext="승인여부"/>
  254. <Column id="insuaprvdd" type="STRING" size="256" sumtext="보험승인일자"/>
  255. <Column id="inschedd" type="STRING" size="256" sumtext="입원예정일자"/>
  256. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  257. <Column id="hsctyn" type="STRING" size="256" sumtext="hsct입원"/>
  258. <Column id="insukind" type="STRING" size="256" sumtext="급여여부"/>
  259. <Column id="acntno" type="STRING" size="256" sumtext="계좌번호"/>
  260. <Column id="dnornm" type="STRING" size="256" sumtext="공여자성명"/>
  261. <Column id="dnorrrgstno" type="STRING" size="256" sumtext="공여자주민번호"/>
  262. <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
  263. <Column id="aprvqualdd" type="STRING" size="256" sumtext="심의일"/>
  264. </ColumnInfo>
  265. </Dataset>
  266. <Dataset id="ds_main_triflist02_grdremlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  267. <ColumnInfo>
  268. <Column id="inschedd" type="STRING"/>
  269. <Column id="hsctrem" type="STRING"/>
  270. <Column id="rgstdd" type="STRING"/>
  271. <Column id="lastupdtrnm" type="STRING"/>
  272. </ColumnInfo>
  273. </Dataset>
  274. <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  275. <ColumnInfo>
  276. <Column id="insureqfromdd" type="STRING" size="256"/>
  277. <Column id="insureqtodd" type="STRING" size="256"/>
  278. <Column id="pid" type="STRING" size="256"/>
  279. </ColumnInfo>
  280. <Rows>
  281. <Row/>
  282. </Rows>
  283. </Dataset>
  284. <Dataset id="ds_init_A0158list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  285. <ColumnInfo>
  286. <Column id="cdid" type="STRING" size="256"/>
  287. <Column id="cdnm" type="STRING" size="256"/>
  288. </ColumnInfo>
  289. </Dataset>
  290. <Dataset id="ds_init_A0162list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  291. <ColumnInfo>
  292. <Column id="cdid" type="STRING" size="256"/>
  293. <Column id="cdnm" type="STRING" size="256"/>
  294. </ColumnInfo>
  295. </Dataset>
  296. <Dataset id="ds_main_hsrm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  297. <ColumnInfo>
  298. <Column id="hsrm_hsctrem" type="STRING" size="256"/>
  299. <Column id="hsrm_pid" type="STRING" size="256"/>
  300. <Column id="hsrm_rgstseqno" type="STRING" size="256"/>
  301. <Column id="hsrm_instcd" type="STRING" size="256"/>
  302. <Column id="hsrm_rgstdd" type="STRING" size="256"/>
  303. <Column id="hsrm_trnptdg" type="STRING" size="256"/>
  304. <Column id="hsrm_inschedd" type="STRING" size="256"/>
  305. <Column id="hsrm_status" type="STRING" size="256"/>
  306. </ColumnInfo>
  307. <Rows>
  308. <Row>
  309. <Col id="hsrm_hsctrem"/>
  310. <Col id="hsrm_pid"/>
  311. <Col id="hsrm_rgstseqno"/>
  312. <Col id="hsrm_instcd"/>
  313. <Col id="hsrm_rgstdd"/>
  314. <Col id="hsrm_trnptdg"/>
  315. <Col id="hsrm_inschedd"/>
  316. <Col id="hsrm_status"/>
  317. </Row>
  318. </Rows>
  319. </Dataset>
  320. <Dataset id="ds_static_insuaprvkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  321. <ColumnInfo>
  322. <Column id="label" type="STRING" size="256"/>
  323. <Column id="value" type="STRING" size="256"/>
  324. </ColumnInfo>
  325. <Rows>
  326. <Row>
  327. <Col id="label">급여</Col>
  328. <Col id="value">1</Col>
  329. </Row>
  330. <Row>
  331. <Col id="label">비급여</Col>
  332. <Col id="value">2</Col>
  333. </Row>
  334. <Row>
  335. <Col id="label">사후심사</Col>
  336. <Col id="value">3</Col>
  337. </Row>
  338. </Rows>
  339. </Dataset>
  340. <Dataset id="ds_static_hsctyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  341. <ColumnInfo>
  342. <Column id="label" type="STRING" size="256"/>
  343. <Column id="value" type="STRING" size="256"/>
  344. </ColumnInfo>
  345. <Rows>
  346. <Row>
  347. <Col id="label">시행</Col>
  348. <Col id="value">Y</Col>
  349. </Row>
  350. <Row>
  351. <Col id="label">미시행</Col>
  352. <Col id="value">N</Col>
  353. </Row>
  354. </Rows>
  355. </Dataset>
  356. <Dataset id="ds_static_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  357. <ColumnInfo>
  358. <Column id="label" type="STRING" size="256"/>
  359. <Column id="value" type="STRING" size="256"/>
  360. </ColumnInfo>
  361. <Rows>
  362. <Row>
  363. <Col id="label">급여</Col>
  364. <Col id="value">1</Col>
  365. </Row>
  366. <Row>
  367. <Col id="label">비급여</Col>
  368. <Col id="value">2</Col>
  369. </Row>
  370. </Rows>
  371. </Dataset>
  372. <Dataset id="ds_hidden_inptflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  373. <ColumnInfo>
  374. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  375. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  376. <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
  377. <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
  378. </ColumnInfo>
  379. </Dataset>
  380. <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  381. </Objects>
  382. <Bind>
  383. <BindItem id="item0" compid="grp.input32" propid="value" datasetid="ds_send_data1" columnid="insureqfromdd"/>
  384. <BindItem id="item1" compid="grp.input38" propid="value" datasetid="ds_send_data1" columnid="insureqtodd"/>
  385. <BindItem id="item2" compid="grp.input1" propid="value" datasetid="ds_send_data1" columnid="pid"/>
  386. <BindItem id="item3" compid="textarea1" propid="value" datasetid="ds_main_hsrm" columnid="hsrm_hsctrem"/>
  387. </Bind>
  388. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  389. * System Name :
  390. * Job Name :
  391. * Creator :
  392. * Make Date : 2016-05-24
  393. * Description :
  394. *---------------------------------------------------------------------------------------
  395. * Modify Date Modifier Modify Description
  396. *---------------------------------------------------------------------------------------
  397. * 2016-05-24 Live Converter TF->XP
  398. *
  399. *---------------------------------------------------------------------------------------
  400. ****************************************************************************************/
  401. //=======================================================================================
  402. // Lib Include
  403. //---------------------------------------------------------------------------------------
  404. include 'com_commonxp::comm_main.xjs';
  405. include 'emr_prcpmngtxp::MMOCommon.xjs';
  406. var arErrorCode = new HashArray();
  407. //=======================================================================================
  408. // Local methods
  409. //---------------------------------------------------------------------------------------
  410. /****************************************************************************************
  411. * Argument :
  412. * Description : fInitialize
  413. ****************************************************************************************/
  414. function fInitialize(){
  415. // 각 그리드 초기화
  416. ds_main_triflist01_grdbmtpatlist.clearData();
  417. ds_main_triflist02_grdtrnpthistlist.clearData();
  418. ds_main_triflist02_grddnorlist.clearData();
  419. ds_main_triflist02_grdremlist.clearData();
  420. ds_main_hsrm.clearData();
  421. ds_main_hsrm.addRow();
  422. }
  423. //=======================================================================================
  424. // callback
  425. //---------------------------------------------------------------------------------------
  426. function callback(sSvcId, nErrorCode, sErrorMsg){
  427. arErrorCode.push(sSvcId, nErrorCode);
  428. }
  429. //=======================================================================================
  430. // Events
  431. //---------------------------------------------------------------------------------------
  432. /****************************************************************************************
  433. * Argument :
  434. * Description : onload
  435. ****************************************************************************************/
  436. function SMPMC01600_onload(obj:Form, e:LoadEventInfo){
  437. // 폼 초기화
  438. frmf_initForm(obj);
  439. fInitialize();
  440. appf_getCodeList([
  441. { dsNm: 'ds_init_A0158list', cdGrpId: 'A0158' },
  442. { dsNm: 'ds_init_A0162list', cdGrpId: 'A0162' }
  443. ]);
  444. ds_send_data1.setColumn(0, 'insureqfromdd', utlf_getCurrentDate());
  445. ds_send_data1.setColumn(0, 'insureqtodd', utlf_getCurrentDate());
  446. grdf_setRowTypeIcon(grd_bmtpatlist, 0);
  447. }
  448. /****************************************************************************************
  449. * Argument :
  450. * Description : 환자번호 키보드 입력 이벤트
  451. ****************************************************************************************/
  452. function grp_input1_onkeydown(obj:Edit, e:KeyEventInfo){
  453. if(e.keycode == 13){
  454. obj.updateToDataset();
  455. grp.btn_search.click();
  456. }
  457. }
  458. /****************************************************************************************
  459. * Argument :
  460. * Description : 조회 버튼 클릭 이벤트
  461. ****************************************************************************************/
  462. function grp_btn_search_onclick(obj:Button, e:ClickEventInfo){
  463. ds_main_triflist02_grdtrnpthistlist.clearData();
  464. ds_main_triflist02_grddnorlist.clearData();
  465. ds_main_triflist02_grdremlist.clearData();
  466. var oParam = {};
  467. oParam.id = "TRPMC01601";
  468. oParam.service = "patinfomngtapp.BMTPat";
  469. oParam.method = "reqGetBMTPatRef";
  470. oParam.inds = "req=ds_send_data1";
  471. oParam.outds = "ds_main_triflist01_grdbmtpatlist=grdbmtpatlist";
  472. oParam.async = false;
  473. //oParam.callback = "cf_TRPMC01601";
  474. tranf_submit(oParam);
  475. }
  476. /****************************************************************************************
  477. * Argument :
  478. * Description : BMT 환자내역 그리드 셀 더블버튼 클릭 이벤트
  479. ****************************************************************************************/
  480. function grd_bmtpatlist_oncelldblclick(obj:Grid, e:GridClickEventInfo){
  481. var colnm = lf_getBindCellName(grd_bmtpatlist, e.col);
  482. if(colnm != 'acntno'){
  483. dsf_createDsRow('ds_req', [
  484. { col: 'pid', type: 'string', size: 256, val: ds_main_triflist01_grdbmtpatlist.getColumn(e.row, 'pid') },
  485. // 이식 차수
  486. { col: 'trnptdg', type: 'string', size: 256, val: ds_main_triflist01_grdbmtpatlist.getColumn(e.row, 'trnptdg') }
  487. ], false);
  488. ds_main_triflist02_grdtrnpthistlist.clearData();
  489. ds_main_triflist02_grdtrnpthistlist.addRow();
  490. ds_main_triflist02_grddnorlist.clearData();
  491. ds_main_triflist02_grddnorlist.addRow();
  492. ds_main_triflist02_grdremlist.clearData();
  493. ds_main_triflist02_grdremlist.addRow();
  494. var oParam = {};
  495. oParam.id = "TRPMC01602";
  496. oParam.service = "patinfomngtapp.BMTPat";
  497. oParam.method = "reqGetBMTTrnptInfo";
  498. oParam.inds = "req=ds_req";
  499. oParam.outds = "ds_main_triflist02_grdtrnpthistlist=grdtrnpthistlist ds_main_triflist02_grddnorlist=grddnorlist " +
  500. "ds_main_triflist02_grdremlist=grdremlist";
  501. oParam.async = false;
  502. //oParam.callback = "callback";
  503. tranf_submit(oParam);
  504. ds_main_hsrm.clearData();
  505. ds_main_hsrm.addRow();
  506. }
  507. }
  508. /****************************************************************************************
  509. * Argument :
  510. * Description : BMT환자 Remark 조회 및 작성 그리드 셀 더블버튼 클릭 이벤트
  511. ****************************************************************************************/
  512. function grdremlist_oncelldblclick(obj:Grid, e:GridClickEventInfo){
  513. ds_main_hsrm.setColumn(0, 'hsrm_hsctrem', ds_main_triflist02_grdremlist.getColumn(e.row, 'hsctrem'));
  514. }
  515. /****************************************************************************************
  516. * Argument :
  517. * Description : Remark저장 버튼 클릭 이벤트
  518. ****************************************************************************************/
  519. function button8_onclick(obj:Button, e:ClickEventInfo){
  520. var row = grd_bmtpatlist.currentrow;
  521. //var colnm = lf_getBindCellName(grd_bmtpatlist, e.col);
  522. if(row < 0){
  523. sysf_messageBox('BMT환재 내역의 환자를 선택하세요.!', 'E999');
  524. return;
  525. }
  526. ds_main_hsrm.setColumn(0, 'hsrm_inschedd', ds_main_triflist01_grdbmtpatlist.getColumn(row, 'inschedd'));
  527. ds_main_hsrm.setColumn(0, 'hsrm_pid', ds_main_triflist01_grdbmtpatlist.getColumn(row, 'pid'));
  528. ds_main_hsrm.setColumn(0, 'hsrm_trnptdg', ds_main_triflist01_grdbmtpatlist.getColumn(row, 'trnptdg'));
  529. dsf_createDsRow('ds_req', [
  530. { col: 'status', type: 'string', size: 256, val: '' },
  531. { col: 'pid', type: 'string', size: 256, val: '' },
  532. { col: 'trnptdg', type: 'string', size: 256, val: '' },
  533. { col: 'rgstseqno', type: 'string', size: 256, val: '' },
  534. { col: 'instcd', type: 'string', size: 256, val: '' },
  535. { col: 'rgstdd', type: 'string', size: 256, val: '' },
  536. { col: 'hsctrem', type: 'string', size: 256, val: '' }
  537. ], false);
  538. ds_req.copyRow(0, ds_main_hsrm, 0, 'status=hsrm_status,pid=hsrm_pid,trnptdg=hsrm_trnptdg,'
  539. + 'rgstseqno=hsrm_rgstseqno,instcd=hsrm_instcd,rgstdd=hsrm_rgstdd,hsctrem=hsrm_hsctrem');
  540. //dsf_setTypeFormat(ds_req, "trnptdg:INT^rgstseqno:INT");
  541. dsf_createDs('ds_res');
  542. var oParam = {};
  543. oParam.id = "TXPMC01602";
  544. oParam.service = "patinfomngtapp.BMTPat";
  545. oParam.method = "reqExeBMTPatRem";
  546. oParam.inds = "s_hsrm=ds_req";
  547. oParam.outds = "ds_res=result";
  548. oParam.async = false;
  549. tranf_submit(oParam);
  550. }
  551. /****************************************************************************************
  552. * Argument :
  553. * Description : BMT환자총괄조회 버튼 클릭 이벤트
  554. ****************************************************************************************/
  555. function group5_button4_onclick(obj:Button, e:ClickEventInfo){
  556. frmf_modal("SPPMC03600", "SPPMC03600", null, null, '', '', '', null, null, null, null, null, "M");
  557. }
  558. /****************************************************************************************
  559. * Argument :
  560. * Description : BMT입원예정자조회 버튼 클릭 이벤트
  561. ****************************************************************************************/
  562. function group5_button1_onclick(obj:Button, e:ClickEventInfo){
  563. frmf_modal("SMABO01300", "SMABO01300", null, null, '', '', '', null, null, null, null, null, "M");
  564. }
  565. /****************************************************************************************
  566. * Argument :
  567. * Description : BMT환자관리 버튼 클릭 이벤트
  568. ****************************************************************************************/
  569. function group5_button3_onclick(obj:Button, e:ClickEventInfo){
  570. frmf_modal("SMABO00100", "SMABO00100", null, null, '', '', '', null, null, null, null, null, "M");
  571. }
  572. /****************************************************************************************
  573. * Argument :
  574. * Description : 이식스케쥴 버튼 클릭 이벤트
  575. ****************************************************************************************/
  576. function group5_button6_onclick(obj:Button, e:ClickEventInfo){
  577. frmf_modal("SMABO00800", "SMABO00800", null, null, '', '', '', null, null, null, null, null, "M");
  578. }
  579. /****************************************************************************************
  580. * Argument :
  581. * Description : BMT대기자리스트 버튼 클릭 이벤트
  582. ****************************************************************************************/
  583. function group5_button7_onclick(obj:Button, e:ClickEventInfo){
  584. frmf_modal("SMABO01100", "SMABO01100", null, null, '', '', '', null, null, null, null, null, "M");
  585. }
  586. /****************************************************************************************
  587. * Argument :
  588. * Description : 동의서출력 버튼 클릭 이벤트
  589. ****************************************************************************************/
  590. function group5_button14_onclick(obj:Button, e:ClickEventInfo){
  591. frmf_modal("SMMRF02300", "SMMRF02300", null, null, '', '', '', null, null, null, null, null, "M");
  592. }
  593. /****************************************************************************************
  594. * Argument :
  595. * Description : 동의서반납 버튼 클릭 이벤트
  596. ****************************************************************************************/
  597. function group5_button13_onclick(obj:Button, e:ClickEventInfo){
  598. frmf_modal("SMMRF02600", "SMMRF02600", null, null, '', '', '', null, null, null, null, null, "M");
  599. }
  600. /* -- start -- */
  601. /* 채희철과장님,20090210, 사용하지않는다고 하여 일단 hidden함. JHP */
  602. // 동종 조혈모 세포 이식 신청서 0000002947
  603. // 동종 조혈모 세포 공여 승낙서 0000002948
  604. // 이식 등록 환자 동의서 0000002949
  605. // 자가 조혈모 세포 이식신청서 0000002950
  606. /****************************************************************************************
  607. * Argument :
  608. * Description : 자가조혈모세포이식신청서 버튼 클릭 이벤트
  609. ****************************************************************************************/
  610. function group5_button9_onclick(obj:Button, e:ClickEventInfo)
  611. {
  612. // 입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
  613. dsf_createDsRow('ds_req', [{ col: 'pid', type: 'string', size: 256, val: ds_main_triflist01_grdbmtpatlist.getColumn(row, 'pid') }], false);
  614. ds_hidden_inptflag.clearData();
  615. ds_hidden_inptflag.addRow();
  616. var oParam = {};
  617. oParam.id = "TRPMC01603";
  618. oParam.service = "patinfomngtapp.BMTPat";
  619. oParam.method = "reqGetBMTInRgstRef";
  620. oParam.inds = "req=ds_req";
  621. oParam.outds = "ds_hidden_inptflag=result";
  622. oParam.async = false;
  623. oParam.callback = "callback";
  624. tranf_submit(oParam);
  625. if(arErrorCode.pop("TRPMC01603") > -1){
  626. ds_hidden_inptflag.updateColID('indd', 'orddd');
  627. var pid = utlf_transNullToEmpty(ds_hidden_inptflag.getColumn(0, 'pid'));
  628. if(pid != '' && pid != ' '){
  629. // 자가 조혈모 세포 이식신청서
  630. iviewer1.fGetOCRInfo('0000002950', pid, ds_hidden_inptflag.getColumn(0, 'orddd'), ds_hidden_inptflag.getColumn(0, 'cretno'),
  631. ds_hidden_inptflag.getColumn(0, 'ordtype'), '3', 'Y');
  632. iviewer1.fPrint();
  633. }
  634. else{
  635. sysf_messageBox('재원환자가 아닙니다. 출력할 수 없습니다.!!', 'E999');
  636. return;
  637. }
  638. }
  639. }
  640. /****************************************************************************************
  641. * Argument :
  642. * Description : 동종조혈모세포이식신청서 버튼 클릭 이벤트
  643. ****************************************************************************************/
  644. function group5_button10_onclick(obj:Button, e:ClickEventInfo){
  645. // 입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
  646. dsf_createDsRow('ds_req', [{ col: 'pid', type: 'string', size: 256, val: ds_main_triflist01_grdbmtpatlist.getColumn(row, 'pid') }], false);
  647. ds_hidden_inptflag.clearData();
  648. ds_hidden_inptflag.addRow();
  649. var oParam = {};
  650. oParam.id = "TRPMC01603";
  651. oParam.service = "patinfomngtapp.BMTPat";
  652. oParam.method = "reqGetBMTInRgstRef";
  653. oParam.inds = "req=ds_req";
  654. oParam.outds = "ds_hidden_inptflag=result";
  655. oParam.async = false;
  656. oParam.callback = "callback";
  657. tranf_submit(oParam);
  658. if(arErrorCode.pop("TRPMC01603") > -1){
  659. ds_hidden_inptflag.updateColID('indd', 'orddd');
  660. var pid = utlf_transNullToEmpty(ds_hidden_inptflag.getColumn(0, 'pid'));
  661. if(pid != '' && pid != ' '){
  662. // 자가 조혈모 세포 이식신청서
  663. iviewer1.fGetOCRInfo('0000002947', pid, ds_hidden_inptflag.getColumn(0, 'orddd'), ds_hidden_inptflag.getColumn(0, 'cretno'),
  664. ds_hidden_inptflag.getColumn(0, 'ordtype'), '3', 'Y');
  665. iviewer1.fPrint();
  666. }
  667. else{
  668. sysf_messageBox('재원환자가 아닙니다. 출력할 수 없습니다.!!', 'E999');
  669. return;
  670. }
  671. }
  672. }
  673. /****************************************************************************************
  674. * Argument :
  675. * Description : 동종조혈포세포공여승낙서 버튼 클릭 이벤트
  676. ****************************************************************************************/
  677. function group5_button11_onclick(obj:Button, e:ClickEventInfo){
  678. // 입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
  679. dsf_createDsRow('ds_req', [{ col: 'pid', type: 'string', size: 256, val: ds_main_triflist01_grdbmtpatlist.getColumn(row, 'pid') }], false);
  680. ds_hidden_inptflag.clearData();
  681. ds_hidden_inptflag.addRow();
  682. var oParam = {};
  683. oParam.id = "TRPMC01603";
  684. oParam.service = "patinfomngtapp.BMTPat";
  685. oParam.method = "reqGetBMTInRgstRef";
  686. oParam.inds = "req=ds_req";
  687. oParam.outds = "ds_hidden_inptflag=result";
  688. oParam.async = false;
  689. oParam.callback = "callback";
  690. tranf_submit(oParam);
  691. if(arErrorCode.pop("TRPMC01603") > -1){
  692. ds_hidden_inptflag.updateColID('indd', 'orddd');
  693. var pid = utlf_transNullToEmpty(ds_hidden_inptflag.getColumn(0, 'pid'));
  694. if(pid != '' && pid != ' '){
  695. // 자가 조혈모 세포 이식신청서
  696. iviewer1.fGetOCRInfo('0000002948', pid, ds_hidden_inptflag.getColumn(0, 'orddd'), ds_hidden_inptflag.getColumn(0, 'cretno'),
  697. ds_hidden_inptflag.getColumn(0, 'ordtype'), '3', 'Y');
  698. iviewer1.fPrint();
  699. }
  700. else{
  701. sysf_messageBox('재원환자가 아닙니다. 출력할 수 없습니다.!!', 'E999');
  702. return;
  703. }
  704. }
  705. }
  706. /****************************************************************************************
  707. * Argument :
  708. * Description : 이식등록환자동의서 버튼 클릭 이벤트
  709. ****************************************************************************************/
  710. function group5_button12_onclick(obj:Button, e:ClickEventInfo){
  711. // 입원환자를 조회하여 출력에 필요한 정보를 가지고 온다.
  712. dsf_createDsRow('ds_req', [{ col: 'pid', type: 'string', size: 256, val: ds_main_triflist01_grdbmtpatlist.getColumn(row, 'pid') }], false);
  713. ds_hidden_inptflag.clearData();
  714. ds_hidden_inptflag.addRow();
  715. var oParam = {};
  716. oParam.id = "TRPMC01603";
  717. oParam.service = "patinfomngtapp.BMTPat";
  718. oParam.method = "reqGetBMTInRgstRef";
  719. oParam.inds = "req=ds_req";
  720. oParam.outds = "ds_hidden_inptflag=result";
  721. oParam.async = false;
  722. oParam.callback = "callback";
  723. tranf_submit(oParam);
  724. if(arErrorCode.pop("TRPMC01603") > -1){
  725. ds_hidden_inptflag.updateColID('indd', 'orddd');
  726. var pid = utlf_transNullToEmpty(ds_hidden_inptflag.getColumn(0, 'pid'));
  727. if(pid != '' && pid != ' '){
  728. // 자가 조혈모 세포 이식신청서
  729. iviewer1.fGetOCRInfo('0000002949', pid, ds_hidden_inptflag.getColumn(0, 'orddd'), ds_hidden_inptflag.getColumn(0, 'cretno'),
  730. ds_hidden_inptflag.getColumn(0, 'ordtype'), '3', 'Y');
  731. iviewer1.fPrint();
  732. }
  733. else{
  734. sysf_messageBox('재원환자가 아닙니다. 출력할 수 없습니다.!!', 'E999');
  735. return;
  736. }
  737. }
  738. }
  739. /* -- end -- */
  740. /****************************************************************************************
  741. * Argument :
  742. * Description : 저장 버튼 클릭 이벤트
  743. ****************************************************************************************/
  744. function group5_button5_onclick(obj:Button, e:ClickEventInfo){
  745. var row = grd_bmtpatlist.currentrow;
  746. var updated = grdf_getGridUpdateData(grd_bmtpatlist, 'all');
  747. grdf_setStatusColumn(updated, 'm');
  748. ds_tmp.copyData(updated, true);
  749. var oParam = {};
  750. oParam.id = "TXPMC01601";
  751. oParam.service = "patinfomngtapp.BMTPat";
  752. oParam.method = "reqSetBMTPatRef";
  753. oParam.inds = "req=ds_tmp";
  754. oParam.outds = "";
  755. oParam.async = false;
  756. //oParam.callback = "cf_TXPMC01601";
  757. tranf_submit(oParam);
  758. if(arErrorCode.pop("TXPMC01601") > -1){
  759. ds_main_triflist02_grdtrnpthistlist.clearData();
  760. ds_main_triflist02_grddnorlist.clearData();
  761. ds_main_triflist02_grdremlist.clearData();
  762. oParam = {};
  763. oParam.id = "TRPMC01601";
  764. oParam.service = "patinfomngtapp.BMTPat";
  765. oParam.method = "reqGetBMTPatRef";
  766. oParam.inds = "req=ds_send_data1";
  767. oParam.outds = "ds_main_triflist01_grdbmtpatlist=grdbmtpatlist";
  768. oParam.async = false;
  769. //oParam.callback = "cf_TRPMC01601";
  770. tranf_submit(oParam);
  771. }
  772. }
  773. /****************************************************************************************
  774. * Argument :
  775. * Description : 초기화 버튼 클릭 이벤트
  776. ****************************************************************************************/
  777. function group5_button2_onclick(obj:Button, e:ClickEventInfo){
  778. fInitialize();
  779. }
  780. ]]></Script>
  781. </Form>
  782. </FDL>