SMAHR00600_종합판정추후관리.xfdl 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHR00600" position="absolute 0 0 1204 805" titletext="종합판정 추후관리" oninit="SMAHR00600_oninit" onload="SMAHR00600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 25 1195 65" align="align:center top;" id="group1" anchor="left top right" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Button position="absolute 1130 9 1186 31" id="btn_searchhist" class="btn1" text="조회" anchor="top right" onclick="group1_btn_searchhist_onclick"/>
  11. <Static text="성명 :" position="absolute 7 12 68 29" id="caption1" class="search_name" anchor="default"/>
  12. <Edit position="absolute 66 11 133 30" id="ipt_srchpnm" class="input_search" taborder="1" anchor="default" autoselect="true" autoskip="true" onkeyup="group1_ipt_srchpnm_onkeyup"/>
  13. <Button position="absolute 542 12 558 28" id="btn_srchpat" class="icon_search" text="" anchor="default" onclick="group1_btn_srchpat_onclick"/>
  14. <Static text="등록번호 :" position="absolute 378 12 464 29" id="caption7" class="search_name" anchor="default"/>
  15. <Edit position="absolute 462 10 539 29" id="ipt_srchpid" class="input_search" taborder="4" anchor="default" autoselect="true" autoskip="true" onkeyup="group1_ipt_srchpid_onkeyup"/>
  16. <Static text="주민번호 :" position="absolute 151 13 229 30" id="caption5" class="search_name" anchor="default"/>
  17. <MaskEdit position="absolute 234 11 291 30" id="ipt_srchrgstno1" class="input_search" taborder="2" mask="######" anchor="default" autoselect="true" autoskip="true" style="align:left middle;" maskchar=" " type="string" trimtype="both"/>
  18. <Static text="-" position="absolute 294 12 306 29" id="caption93" class="search_n_b" anchor="default"/>
  19. <MaskEdit position="absolute 307 11 364 30" id="ipt_srchrgstno2" class="input_search" taborder="3" mask="#######" anchor="default" autoselect="true" autoskip="true" onkeyup="group1_ipt_srchrgstno2_onkeyup" style="align:left middle;" maskchar=" " type="string" trimtype="both"/>
  20. <Shape position="absolute 1040 9 1046 31" linetype="vertical" id="line1" anchor="top right"/>
  21. <Button position="absolute 1055 9 1123 31" id="button1" class="btn3" text="초기화" anchor="top right" onclick="group1_button1_onclick"/>
  22. <Edit position="absolute 860 10 970 29" id="mpphon" class="input_search" taborder="4" anchor="default" autoselect="true" autoskip="true"/>
  23. <Static text="휴대번호 :" position="absolute 775 12 861 29" id="caption3" class="search_name" anchor="default"/>
  24. <Static text="연락처 :" position="absolute 580 12 666 29" id="caption6" class="search_name" anchor="default"/>
  25. <Edit position="absolute 650 10 760 29" id="telno" class="input_search" taborder="4" anchor="default" autoselect="true" autoskip="true"/>
  26. </Layout>
  27. </Layouts>
  28. </Div>
  29. <Static text="종합판정기록" position="absolute 0 74 115 95" id="caption4" class="tit_2"/>
  30. <Shape position="absolute 0 90 460 96" linetype="horizontal" id="line13" class="line_10" anchor="left top right"/>
  31. <TextArea position="absolute 0 120 460 750" id="tar_judghngcnts2" wordwrap="word" acceptstab="true" autoselect="true" anchor="all"/>
  32. <Static text="추가/재검/타과의뢰/연장" position="absolute 470 224 645 245" id="caption28" class="tit_2" anchor="top right"/>
  33. <Shape position="absolute 470 240 1195 246" linetype="horizontal" id="line25" class="line_10" anchor="top right"/>
  34. <Grid position="absolute 470 245 1195 750" id="grd_afexamlist" binddataset="ds_main_afterColgJudgInfo_afexamlist_item" autoenter="select" cellsizingtype="col" anchor="top right bottom" onexpanddown="grd_afexamlist_onexpanddown">
  35. <Formats>
  36. <Format id="default">
  37. <Columns>
  38. <Column size="23"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="30"/>
  45. <Column size="40"/>
  46. <Column size="70"/>
  47. <Column size="90"/>
  48. <Column size="50"/>
  49. <Column size="80"/>
  50. <Column size="80"/>
  51. <Column size="90"/>
  52. <Column size="90"/>
  53. <Column size="80"/>
  54. <Column size="70"/>
  55. <Column size="300"/>
  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="healexamflag"/>
  64. <Cell col="2" text="rsrvdd"/>
  65. <Cell col="3" text="rsrvno"/>
  66. <Cell col="4" text="seq"/>
  67. <Cell col="5" text="healexamdetlflag"/>
  68. <Cell col="6" text="통보"/>
  69. <Cell col="7" text="구분"/>
  70. <Cell col="8" text="코드"/>
  71. <Cell col="9" text="검사명"/>
  72. <Cell col="10" text="월구분"/>
  73. <Cell col="11" text="이전결과"/>
  74. <Cell col="12" text="재검결과"/>
  75. <Cell col="13" text="검사일자"/>
  76. <Cell col="14" text="상담일자"/>
  77. <Cell col="15" text="진료의뢰과"/>
  78. <Cell col="16" text="진료의"/>
  79. <Cell col="17" text="비고"/>
  80. </Band>
  81. <Band id="body">
  82. <Cell celltype="head"/>
  83. <Cell col="1" text="bind:healexamflag"/>
  84. <Cell col="2" text="bind:rsrvdd"/>
  85. <Cell col="3" text="bind:rsrvno"/>
  86. <Cell col="4" text="bind:seq"/>
  87. <Cell col="5" text="bind:healexamdetlflag"/>
  88. <Cell col="6" displaytype="checkbox" edittype="checkbox" text="bind:afnotiyn" expr="expr:afnotiyn == 'Y' ? 1 : 0"/>
  89. <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:aftype" combodataset="ds_cmb_aftype" combocodecol="value" combodatacol="label"/>
  90. <Cell col="8" displaytype="text" edittype="text" text="bind:testcd" expandshow="show"/>
  91. <Cell col="9" edittype="none" style="align:left middle;padding:0 0 0 3;" text="bind:testnm"/>
  92. <Cell col="10" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:monthgb" combodataset="ds_cmb_monthgb" combocodecol="value" combodatacol="label"/>
  93. <Cell col="11" displaytype="text" edittype="text" text="bind:berslt"/>
  94. <Cell col="12" displaytype="text" edittype="text" text="bind:afrslt"/>
  95. <Cell col="13" displaytype="date" edittype="date" text="bind:aforddd" calendardisplaynulltype="nulltext"/>
  96. <Cell col="14" displaytype="date" edittype="date" text="bind:cnstdd" calendardisplaynulltype="nulltext"/>
  97. <Cell col="15" displaytype="combo" edittype="combo" text="bind:afdeptcd" combodataset="ds_init_baseinfo_orddeptcdlst_S610" combocodecol="cdid" combodatacol="cdnm"/>
  98. <Cell col="16" displaytype="text" edittype="text" text="bind:afdrnm"/>
  99. <Cell col="17" displaytype="text" edittype="text" text="bind:remcnts"/>
  100. </Band>
  101. </Format>
  102. </Formats>
  103. </Grid>
  104. <Button position="absolute 1085 221 1138 240" id="btn_add" class="btn2" text="행추가" anchor="top right" onclick="btn_add_onclick"/>
  105. <Button position="absolute 1140 221 1193 240" id="btn_del" class="btn2" text="행삭제" anchor="top right" onclick="btn_del_onclick"/>
  106. <Static text="검진일자" position="absolute 0 95 68 118" align="align:center middle;" id="caption13" class="cell_1"/>
  107. <Static text="판정의사" position="absolute 135 95 203 118" align="align:center middle;" id="caption14" class="cell_1"/>
  108. <Edit readonly="true" position="absolute 70 97 130 116" align="align:center middle;" id="orddd" visible="true" class="output"/>
  109. <Edit readonly="true" position="absolute 350 97 410 116" align="align:center middle;" id="rsltcnstdd" visible="true" class="output"/>
  110. <Static text="상담일자" position="absolute 280 95 348 118" align="align:center middle;" id="caption2" class="cell_1"/>
  111. <Combo position="absolute 205 97 275 116" id="judgdrid" class="combo" enable="false" innerdataset="@ds_init_baseinfo_drlst_itemdr" datacolumn="drnm" codecolumn="drid"/>
  112. <Shape position="absolute 470 90 1195 96" linetype="horizontal" id="line2" class="line_10" anchor="top right"/>
  113. <Static text="질환내역" position="absolute 470 74 645 95" id="caption8" class="tit_2" anchor="top right"/>
  114. <Grid position="absolute 470 95 1195 215" id="grd_sicklst" binddataset="ds_main_afterColgJudgInfo_itemsick" autoenter="select" autofittype="col" cellsizingtype="col" anchor="top right">
  115. <Formats>
  116. <Format id="default">
  117. <Columns>
  118. <Column size="21"/>
  119. <Column size="96"/>
  120. <Column size="586"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. </Columns>
  124. <Rows>
  125. <Row size="24" band="head"/>
  126. <Row size="24"/>
  127. </Rows>
  128. <Band id="head">
  129. <Cell/>
  130. <Cell col="1" text="질환코드"/>
  131. <Cell col="2" text="질환명"/>
  132. <Cell col="3" text="판정코드"/>
  133. <Cell col="4" text="cmpycd"/>
  134. </Band>
  135. <Band id="body">
  136. <Cell celltype="head"/>
  137. <Cell col="1" text="bind:sickcd"/>
  138. <Cell col="2" text="bind:sicknm"/>
  139. <Cell col="3" displaytype="combo" edittype="combo" text="bind:judgcd"/>
  140. <Cell col="4" text="bind:cmpycd"/>
  141. </Band>
  142. </Format>
  143. </Formats>
  144. </Grid>
  145. <Static id="caption19" text="종합판정 추후관리" class="tit_1" position="absolute 0 0 205 25"/>
  146. <Button id="button2" taborder="1" text="출력" class="btn6" position="absolute 0 753 56 775" anchor="left bottom" onclick="button2_onclick"/>
  147. <Button id="button6" taborder="2" text="판정저장" class="btn4" position="absolute 379 753 459 775" anchor="right bottom" onclick="button6_onclick"/>
  148. <Button id="btn_save" taborder="3" text="의뢰저장" class="btn4" position="absolute 1115 755 1195 777" anchor="right bottom" onclick="btn_save_onclick"/>
  149. </Layout>
  150. </Layouts>
  151. <Objects>
  152. <Dataset id="ds_send_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  153. <ColumnInfo>
  154. <Column id="healexamflag" type="STRING" size="256"/>
  155. <Column id="healexamdetlflag" type="STRING" size="256"/>
  156. <Column id="hngnm" type="STRING" size="256"/>
  157. <Column id="pid" type="STRING" size="256"/>
  158. <Column id="rgstno1" type="STRING" size="256"/>
  159. <Column id="rgstno2" type="STRING" size="256"/>
  160. <Column id="telno" type="STRING" size="256"/>
  161. <Column id="mpphon" type="STRING" size="256"/>
  162. <Column id="rsrvdd" type="STRING" size="256"/>
  163. <Column id="rsrvno" type="STRING" size="256"/>
  164. <Column id="rrgstno1" type="STRING" size="256"/>
  165. <Column id="rrgstno2" type="STRING" size="256"/>
  166. <Column id="sex" type="STRING" size="256"/>
  167. <Column id="age" type="STRING" size="256"/>
  168. </ColumnInfo>
  169. <Rows>
  170. <Row>
  171. <Col id="healexamflag"/>
  172. <Col id="healexamdetlflag"/>
  173. <Col id="hngnm"/>
  174. <Col id="pid"/>
  175. <Col id="rgstno1"/>
  176. <Col id="rgstno2"/>
  177. <Col id="telno"/>
  178. <Col id="mpphon"/>
  179. <Col id="rsrvdd"/>
  180. <Col id="rsrvno"/>
  181. </Row>
  182. </Rows>
  183. </Dataset>
  184. <Dataset id="ds_main_afterColgJudgInfo_judginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  185. <ColumnInfo>
  186. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  187. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
  188. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약등록일자"/>
  189. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  190. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  191. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  192. <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
  193. <Column id="judgdd" type="STRING" size="256" sumtext="판정일자"/>
  194. <Column id="judgtm" type="STRING" size="256" sumtext="판정시간"/>
  195. <Column id="judgdrid" type="STRING" size="256" sumtext="판정의id"/>
  196. <Column id="pkgcd" type="STRING" size="256" sumtext="Pkg코드"/>
  197. <Column id="shrthngjudgcnts" type="STRING" size="256" sumtext="판정단문내용(한글)"/>
  198. <Column id="shrtengjudgcnts" type="STRING" size="256" sumtext="판정단문내용(영문)"/>
  199. <Column id="hngjudgcnts" type="STRING" size="256" sumtext="판정장문내용(한글)"/>
  200. <Column id="engjudgcnts" type="STRING" size="256" sumtext="판정장문내용(영문)"/>
  201. <Column id="prntyn" type="STRING" size="256" sumtext="전체종합판정결과지출력여부"/>
  202. <Column id="rsltcnstdrid" type="STRING" size="256" sumtext="상담의사"/>
  203. <Column id="afhngjudgcnts" type="STRING" size="256" sumtext="추후관리 판정장문내용(한글)"/>
  204. </ColumnInfo>
  205. <Rows>
  206. <Row/>
  207. </Rows>
  208. </Dataset>
  209. <Dataset id="ds_init_baseinfo_drlst_itemdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  210. <ColumnInfo>
  211. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  212. <Column id="drid" type="STRING" size="256" sumtext="의사ID"/>
  213. <Column id="drnm" type="STRING" size="256" sumtext="의사명"/>
  214. <Column id="drlicnsno" type="STRING" size="256" sumtext="의사면허번호"/>
  215. </ColumnInfo>
  216. </Dataset>
  217. <Dataset id="ds_cmb_aftype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  218. <ColumnInfo>
  219. <Column id="label" type="STRING" size="256"/>
  220. <Column id="value" type="STRING" size="256"/>
  221. </ColumnInfo>
  222. <Rows>
  223. <Row>
  224. <Col id="label">추가</Col>
  225. <Col id="value">A</Col>
  226. </Row>
  227. <Row>
  228. <Col id="label">재검</Col>
  229. <Col id="value">B</Col>
  230. </Row>
  231. <Row>
  232. <Col id="label">타과</Col>
  233. <Col id="value">C</Col>
  234. </Row>
  235. <Row>
  236. <Col id="label">연장</Col>
  237. <Col id="value">D</Col>
  238. </Row>
  239. <Row>
  240. <Col id="label">유소견</Col>
  241. <Col id="value">G</Col>
  242. </Row>
  243. <Row>
  244. <Col id="label">전화</Col>
  245. <Col id="value">E</Col>
  246. </Row>
  247. <Row>
  248. <Col id="label">방문</Col>
  249. <Col id="value">F</Col>
  250. </Row>
  251. </Rows>
  252. </Dataset>
  253. <Dataset id="ds_cmb_monthgb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  254. <ColumnInfo>
  255. <Column id="label" type="STRING" size="256"/>
  256. <Column id="value" type="STRING" size="256"/>
  257. </ColumnInfo>
  258. <Rows>
  259. <Row>
  260. <Col id="label">1개월</Col>
  261. <Col id="value">1</Col>
  262. </Row>
  263. <Row>
  264. <Col id="label">3개월</Col>
  265. <Col id="value">3</Col>
  266. </Row>
  267. <Row>
  268. <Col id="label">6개월</Col>
  269. <Col id="value">6</Col>
  270. </Row>
  271. <Row>
  272. <Col id="label">9개월</Col>
  273. <Col id="value">9</Col>
  274. </Row>
  275. </Rows>
  276. </Dataset>
  277. <Dataset id="ds_init_baseinfo_orddeptcdlst_S610" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  278. <Dataset id="ds_main_afterColgJudgInfo_afexamlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  279. <ColumnInfo>
  280. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  281. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약등록일자"/>
  282. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  283. <Column id="seq" type="STRING" size="256" sumtext="seq"/>
  284. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
  285. <Column id="afnotiyn" type="STRING" size="256" sumtext="통보여부"/>
  286. <Column id="aftype" type="STRING" size="256" sumtext="추후검사구분"/>
  287. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  288. <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
  289. <Column id="monthgb" type="STRING" size="256" sumtext="월구분"/>
  290. <Column id="afdeptcd" type="STRING" size="256" sumtext="의뢰진료과"/>
  291. <Column id="afdrnm" type="STRING" size="256" sumtext="의뢰의사명"/>
  292. <Column id="aforddd" type="STRING" size="256" sumtext="의뢰진료일자"/>
  293. <Column id="berslt" type="STRING" size="256" sumtext="이전결과"/>
  294. <Column id="afrslt" type="STRING" size="256" sumtext="이후결과"/>
  295. <Column id="remcnts" type="STRING" size="256" sumtext="비고"/>
  296. <Column id="cnstdd" type="STRING" size="256" sumtext="상담일자"/>
  297. </ColumnInfo>
  298. </Dataset>
  299. <Dataset id="ds_main_judgdetl_judginfo_afhngjudgcnts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  300. <Dataset id="ds_main_afterColgJudgInfo_afexamlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  301. <Dataset id="ds_main_detlcodelst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  302. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  303. <ColumnInfo>
  304. <Column id="okflag" type="STRING" size="256"/>
  305. </ColumnInfo>
  306. <Rows>
  307. <Row/>
  308. </Rows>
  309. </Dataset>
  310. <Dataset id="ds_rexprnt_viewinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  311. <Dataset id="ds_rexprnt_viewinfo_afexamlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  312. <Dataset id="ds_send_saveAfjudg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  313. <Dataset id="ds_main_afterColgJudgInfo_itemsick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  314. <ColumnInfo>
  315. <Column id="sickcd" type="STRING" size="256" sumtext="질환코드"/>
  316. <Column id="sicknm" type="STRING" size="256" sumtext="질환명"/>
  317. <Column id="judgcd" type="STRING" size="256" sumtext="판정코드"/>
  318. <Column id="cmpycd" type="STRING" size="256" sumtext="업체코드"/>
  319. </ColumnInfo>
  320. </Dataset>
  321. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  322. </Objects>
  323. <Bind>
  324. <BindItem id="item0" compid="group1.ipt_srchpnm" propid="value" datasetid="ds_send_srch" columnid="hngnm"/>
  325. <BindItem id="item1" compid="group1.ipt_srchrgstno1" propid="value" datasetid="ds_send_srch" columnid="rgstno1"/>
  326. <BindItem id="item2" compid="group1.ipt_srchrgstno2" propid="value" datasetid="ds_send_srch" columnid="rgstno2"/>
  327. <BindItem id="item3" compid="group1.ipt_srchpid" propid="value" datasetid="ds_send_srch" columnid="pid"/>
  328. <BindItem id="item4" compid="group1.telno" propid="value" datasetid="ds_send_srch" columnid="telno"/>
  329. <BindItem id="item5" compid="group1.mpphon" propid="value" datasetid="ds_send_srch" columnid="mpphon"/>
  330. <BindItem id="item6" compid="orddd" propid="value" datasetid="ds_main_afterColgJudgInfo_judginfo" columnid="orddd"/>
  331. <BindItem id="item7" compid="judgdrid" propid="value" datasetid="ds_main_afterColgJudgInfo_judginfo" columnid="judgdrid"/>
  332. <BindItem id="item8" compid="tar_judghngcnts2" propid="value" datasetid="ds_main_afterColgJudgInfo_judginfo" columnid="afhngjudgcnts"/>
  333. </Bind>
  334. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  335. * System Name :
  336. * Job Name :
  337. * Creator :
  338. * Make Date : 2015-11-13
  339. * Description :
  340. *---------------------------------------------------------------------------------------
  341. * Modify Date Modifier Modify Description
  342. *---------------------------------------------------------------------------------------
  343. * 2015-11-13 Live Converter TF->XP
  344. *
  345. *---------------------------------------------------------------------------------------
  346. ****************************************************************************************/
  347. include "com_commonxp::comm_main.xjs";
  348. include "ast_healexamxp::AHA001.xjs";
  349. include "ast_healthexambasexp::healcombolist.xjs";
  350. var arErrorCode = new HashArray();
  351. function SMAHR00600_oninit(obj:Form, e:InitEventInfo)
  352. {
  353. frmf_initForm(obj);
  354. }
  355. function SMAHR00600_onload(obj:Form, e:LoadEventInfo)
  356. {
  357. grdf_initGrid(grd_sicklst);
  358. grdf_setRowTypeIcon(grd_sicklst, 0);
  359. grdf_initGrid(grd_afexamlist);
  360. grdf_setRowTypeIcon(grd_afexamlist, 0);
  361. fInit();
  362. fGetBaseInfo();
  363. vRsrvdd = opener.frmf_getParameter("SMAHR00600_PARAM1");
  364. vRsrvno = opener.frmf_getParameter("SMAHR00600_PARAM2");
  365. vPid = opener.frmf_getParameter("SMAHR00600_PARAM3");
  366. vPnm = opener.frmf_getParameter("SMAHR00600_PARAM4");
  367. vRgstno1 = opener.frmf_getParameter("SMAHR00600_PARAM5");
  368. vRgstno2 = opener.frmf_getParameter("SMAHR00600_PARAM6");
  369. vTelno = opener.frmf_getParameter("SMAHR00600_PARAM7");
  370. vMpphon = opener.frmf_getParameter("SMAHR00600_PARAM8");
  371. if (!utlf_isNull(vRsrvdd))
  372. {
  373. ds_send_srch.setColumn(0, "rsrvdd" , vRsrvdd);
  374. ds_send_srch.setColumn(0, "rsrvno" , vRsrvno);
  375. ds_send_srch.setColumn(0, "pid" , vPid);
  376. ds_send_srch.setColumn(0, "healexamflag" , "C");
  377. ds_send_srch.setColumn(0, "hngnm" , vPnm);
  378. ds_send_srch.setColumn(0, "rgstno1" , vRgstno1);
  379. ds_send_srch.setColumn(0, "rgstno2" , vRgstno2);
  380. dsf_makeValue(ds_send_srch, "telno", "string", vTelno);
  381. dsf_makeValue(ds_send_srch, "mpphon", "string", vMpphon);
  382. fSearchAfterColgJudgInfo();
  383. }
  384. }
  385. function fInit()
  386. {
  387. ds_send_srch.clearData();
  388. ds_send_srch.addRow();
  389. ds_main_afterColgJudgInfo_judginfo.clearData();
  390. ds_main_afterColgJudgInfo_judginfo.addRow();
  391. ds_main_afterColgJudgInfo_afexamlist_item.clearData();
  392. dsf_makeValue(ds_send, "srchhealexamflag", "string", "C");
  393. dsf_makeValue(ds_send, "srchcond", "string", "J");
  394. var oParam = {};
  395. oParam.id = "TRAHB01504";
  396. oParam.service = "healexambaseapp.ComCode";
  397. oParam.method = "reqGetHealExamDrList";
  398. oParam.inds = "req=ds_send";
  399. oParam.outds = "ds_init_baseinfo_drlst_itemdr=item";
  400. oParam.async = false;
  401. //oParam.callback = "cf_TRAHB01504";
  402. tranf_submit(oParam);
  403. }
  404. function fGetBaseInfo()
  405. {
  406. var arrParam = [{dsNm: "ds_init_baseinfo_orddeptcdlst_S610", cdGrpId: "S610"}];
  407. healGetCodeList(arrParam);
  408. ds_init_baseinfo_orddeptcdlst_S610.deleteRow(0);
  409. }
  410. function fSearchAfterColgJudgInfo()
  411. {
  412. if(!utlf_isNull(ds_send_srch.getColumn(0, "rrgstno1")))
  413. {
  414. ds_send_srch.setColumn(0, "rgstno1", ds_send_srch.getColumn(0, "rrgstno1"));
  415. ds_send_srch.setColumn(0, "rgstno2", ds_send_srch.getColumn(0, "rrgstno2"));
  416. }
  417. ds_main_judgdetl_judginfo_afhngjudgcnts.clearData();
  418. ds_main_afterColgJudgInfo_afexamlist.clearData();
  419. var srchrsrvdd = ds_send_srch.getColumn(0, "rsrvdd");
  420. var srchrsrvno = ds_send_srch.getColumn(0, "rsrvno");
  421. if(utlf_isNull(srchrsrvdd) && utlf_isNull(srchrsrvno))
  422. {
  423. sysf_messageBox("환자정보가", "E016");
  424. return;
  425. }
  426. else
  427. {
  428. var oParam = {};
  429. oParam.id = "TRAHR00600";
  430. oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
  431. oParam.method = "reqGetAfterColgJudgInfo";
  432. oParam.inds = "req=ds_send_srch";
  433. oParam.outds = "ds_main_afterColgJudgInfo_judginfo=judginfo ds_main_afterColgJudgInfo_afexamlist_item=afexamlist ds_main_afterColgJudgInfo_itemsick=itemsick";
  434. oParam.async = false;
  435. //oParam.callback = "cf_TRAHR00600";
  436. tranf_submit(oParam);
  437. }
  438. }
  439. function grd_afexamlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  440. {
  441. if(e.cell == grd_afexamlist.getBindCellIndex("Body", "testcd"))
  442. {
  443. ds_main_detlcodelst_item.clearData();
  444. var flag = ds_main_afterColgJudgInfo_afexamlist_item.getColumn(ds_main_afterColgJudgInfo_afexamlist_item.rowposition, "aftype");
  445. frmf_setParameter("SPAHA00801_FLAG", flag);
  446. frmf_modal("SPAHA00801", "SPAHA00801", "", "", "", "", "", "", "", "", "", "", "M");
  447. if(ds_temp.getColumn(0, "okflag") == "ok")
  448. {
  449. dsf_makeValue(ds_main_afterColgJudgInfo_afexamlist_item, "aftype", "string", ds_main_detlcodelst_item.getColumn(0, "aftype"), ds_main_afterColgJudgInfo_afexamlist_item.rowposition);
  450. dsf_makeValue(ds_main_afterColgJudgInfo_afexamlist_item, "testcd", "string", ds_main_detlcodelst_item.getColumn(0, "etcdetlcd"), ds_main_afterColgJudgInfo_afexamlist_item.rowposition);
  451. dsf_makeValue(ds_main_afterColgJudgInfo_afexamlist_item, "testnm", "string", ds_main_detlcodelst_item.getColumn(0, "etcdetlnm"), ds_main_afterColgJudgInfo_afexamlist_item.rowposition);
  452. if(ds_main_afterColgJudgInfo_afexamlist_item.getRowType(ds_main_afterColgJudgInfo_afexamlist_item.rowposition) != 2)
  453. {
  454. ds_main_afterColgJudgInfo_afexamlist_item.updatecontrol = false;
  455. ds_main_afterColgJudgInfo_afexamlist_item.setRowType(ds_main_afterColgJudgInfo_afexamlist_item.rowposition, "u");
  456. ds_main_afterColgJudgInfo_afexamlist_item.updatecontrol = true;
  457. }
  458. }
  459. }
  460. }
  461. function btn_add_onclick(obj:Button, e:ClickEventInfo)
  462. {
  463. var addRow = ds_main_afterColgJudgInfo_afexamlist_item.addRow();
  464. var healexamflag = ds_send_srch.getColumn(0, "healexamflag");
  465. var healexamdetlflag = ds_send_srch.getColumn(0, "healexamdetlflag");
  466. var rsrvdd = ds_send_srch.getColumn(0, "rsrvdd");
  467. var rsrvno = ds_send_srch.getColumn(0, "rsrvno");
  468. dsf_makeValue(ds_main_afterColgJudgInfo_afexamlist_item, "healexamflag", "string", healexamflag, ds_main_afterColgJudgInfo_afexamlist_item.rowposition);
  469. dsf_makeValue(ds_main_afterColgJudgInfo_afexamlist_item, "healexamdetlflag", "string", healexamdetlflag, ds_main_afterColgJudgInfo_afexamlist_item.rowposition);
  470. dsf_makeValue(ds_main_afterColgJudgInfo_afexamlist_item, "rsrvdd", "string", rsrvdd, ds_main_afterColgJudgInfo_afexamlist_item.rowposition);
  471. dsf_makeValue(ds_main_afterColgJudgInfo_afexamlist_item, "rsrvno", "string", rsrvno, ds_main_afterColgJudgInfo_afexamlist_item.rowposition);
  472. }
  473. function btn_del_onclick(obj:Button, e:ClickEventInfo)
  474. {
  475. if(ds_main_afterColgJudgInfo_afexamlist_item.getRowType(ds_main_afterColgJudgInfo_afexamlist_item.rowposition) == 2)
  476. {
  477. ds_main_afterColgJudgInfo_afexamlist_item.deleteRow(ds_main_afterColgJudgInfo_afexamlist_item.rowposition);
  478. }
  479. else
  480. {
  481. ds_main_afterColgJudgInfo_afexamlist_item.updatecontrol = false;
  482. ds_main_afterColgJudgInfo_afexamlist_item.setRowType(ds_main_afterColgJudgInfo_afexamlist_item.rowposition, "d");
  483. ds_main_afterColgJudgInfo_afexamlist_item.updatecontrol = true;
  484. }
  485. }
  486. function group1_button1_onclick(obj:Button, e:ClickEventInfo)
  487. {
  488. fInit();
  489. }
  490. function group1_ipt_srchpnm_onkeyup(obj:Edit, e:KeyEventInfo)
  491. {
  492. if(e.keycode == 13)
  493. {
  494. obj.updateToDataset();
  495. fSearchHealPatInfo();
  496. }
  497. }
  498. function fSearchHealPatInfo()
  499. {
  500. frmf_clearParameter("SPAHA00402_PARAM1");
  501. frmf_clearParameter("SPAHA00402_PARAM2");
  502. frmf_clearParameter("SPAHA00402_PARAM3");
  503. frmf_clearParameter("SPAHA00402_PARAM4");
  504. frmf_clearParameter("SPAHA00402_PARAM5");
  505. frmf_clearParameter("SPAHA00402_PARAM6");
  506. frmf_setParameter("SPAHA00402_PARAM1" , "SMAHR00600");
  507. frmf_setParameter("SPAHA00402_PARAM2" , "C");
  508. frmf_setParameter("SPAHA00402_PARAM3" , group1.ipt_srchpid.value);
  509. frmf_setParameter("SPAHA00402_PARAM4" , group1.ipt_srchpnm.value);
  510. frmf_setParameter("SPAHA00402_PARAM5" , group1.ipt_srchrgstno1.value);
  511. frmf_setParameter("SPAHA00402_PARAM6" , group1.ipt_srchrgstno2.value);
  512. frmf_modal("SPAHA00402", "SPAHA00402", "", "", "", "", "", "", "", "", "", "", "M");
  513. }
  514. function group1_ipt_srchrgstno2_onkeyup(obj:MaskEdit, e:KeyEventInfo)
  515. {
  516. if(e.keycode == 13)
  517. {
  518. obj.updateToDataset();
  519. fSearchHealPatInfo();
  520. }
  521. }
  522. function group1_ipt_srchpid_onkeyup(obj:Edit, e:KeyEventInfo)
  523. {
  524. if(e.keycode == 13)
  525. {
  526. obj.updateToDataset();
  527. fSearchHealPatInfo();
  528. }
  529. }
  530. function group1_btn_srchpat_onclick(obj:Button, e:ClickEventInfo)
  531. {
  532. fSearchHealPatInfo();
  533. }
  534. function button2_onclick(obj:Button, e:ClickEventInfo)
  535. {
  536. fPrintAfterColgJudgInfo();
  537. }
  538. function fPrintAfterColgJudgInfo()
  539. {
  540. ds_rexprnt_viewinfo.clearData();
  541. dsf_makeValue(ds_rexprnt_viewinfo, "pid", "string", ds_main_afterColgJudgInfo_judginfo.getColumn(0, "pid"));
  542. dsf_makeValue(ds_rexprnt_viewinfo, "sex", "string", ds_send_srch.getColumn(0, "sex"));
  543. dsf_makeValue(ds_rexprnt_viewinfo, "orddeptcd", "string", "건강증진센터");
  544. dsf_makeValue(ds_rexprnt_viewinfo, "hngnm", "string", ds_send_srch.getColumn(0, "hngnm"));
  545. dsf_makeValue(ds_rexprnt_viewinfo, "age", "string", ds_send_srch.getColumn(0, "age"));
  546. dsf_makeValue(ds_rexprnt_viewinfo, "orddd", "string", ds_main_afterColgJudgInfo_judginfo.getColumn(0, "orddd"));
  547. dsf_makeValue(ds_rexprnt_viewinfo, "afhngjudgcnts", "string", ds_main_afterColgJudgInfo_judginfo.getColumn(0, "afhngjudgcnts"));
  548. ds_rexprnt_viewinfo_afexamlist_item.clearData();
  549. ds_rexprnt_viewinfo_afexamlist_item.copyData(ds_main_afterColgJudgInfo_afexamlist_item);
  550. if (ds_rexprnt_viewinfo_afexamlist_item.rowcount < 1) {
  551. ds_rexprnt_viewinfo_afexamlist_item.addRow();
  552. }
  553. var objDOM = rptf_createDOM();
  554. rptf_setNodeListToDOM(objDOM, "/root/rexprnt/viewinfo", ds_rexprnt_viewinfo);
  555. rptf_setNodeListToDOM(objDOM, "/root/rexprnt/viewinfo/afexamlist/item", ds_rexprnt_viewinfo_afexamlist_item);
  556. var objParam = new Object();
  557. objParam.xml_data_XML1 = objDOM.documentElement.source;
  558. var option = "directprint=1";
  559. rptf_exeReportPreview30(["RPAHR00600"],[objParam], option);
  560. }
  561. function button6_onclick(obj:Button, e:ClickEventInfo)
  562. {
  563. if(fSaveAfJudg())
  564. {
  565. fSearchAfterColgJudgInfo();
  566. }
  567. }
  568. function fSaveAfJudg()
  569. {
  570. var srchrsrvdd = ds_send_srch.getColumn(0, "rsrvdd");
  571. var srchrsrvno = ds_send_srch.getColumn(0, "rsrvno");
  572. if(utlf_isNull(srchrsrvdd) && utlf_isNull(srchrsrvno))
  573. {
  574. sysf_messageBox("환자정보가", "E016");
  575. return false;
  576. }
  577. else
  578. {
  579. dsf_makeValue(ds_send_saveAfjudg, "healexamflag", "string", ds_send_srch.getColumn(0, "healexamflag"));
  580. dsf_makeValue(ds_send_saveAfjudg, "healexamdetlflag", "string", ds_send_srch.getColumn(0, "healexamdetlflag"));
  581. dsf_makeValue(ds_send_saveAfjudg, "rsrvdd", "string", ds_send_srch.getColumn(0, "rsrvdd"));
  582. dsf_makeValue(ds_send_saveAfjudg, "rsrvno", "string", ds_send_srch.getColumn(0, "rsrvno"));
  583. dsf_makeValue(ds_send_saveAfjudg, "afhngjudgcnts", "string", ds_main_afterColgJudgInfo_judginfo.getColumn(0, "afhngjudgcnts"));
  584. var oParam = {};
  585. oParam.id = "TXAHR00602";
  586. oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
  587. oParam.method = "reqExeAfterColgJudgInfo";
  588. oParam.inds = "req=ds_send_saveAfjudg";
  589. oParam.outds = "ds_=item";
  590. oParam.async = false;
  591. oParam.callback = "cf_TXAHR00602";
  592. tranf_submit(oParam);
  593. if(arErrorCode.pop("TXAHR00602") > -1)
  594. {
  595. sysf_messageBox("저장이", "I002");
  596. return true;
  597. }
  598. else
  599. {
  600. return false;
  601. }
  602. }
  603. }
  604. function cf_TXAHR00602(sSvcId, nErrorCode, sErrorMsg)
  605. {
  606. arErrorCode.push(sSvcId, nErrorCode);
  607. if(nErrorCode < 0) return;
  608. }
  609. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  610. {
  611. if(fSaveAfexam())
  612. {
  613. fSearchAfterColgJudgInfo();
  614. }
  615. }
  616. function fSaveAfexam()
  617. {
  618. var updData = grdf_getGridUpdateData(grd_afexamlist).rowcount;
  619. if(updData == 0)
  620. {
  621. sysf_messageBox("저장할 데이터가 존재하지 않습니다.", "E999");
  622. return false;
  623. }
  624. var oParam = {};
  625. oParam.id = "TXAHR00603";
  626. oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
  627. oParam.method = "reqExeAfterExamInfo";
  628. oParam.inds = "req=ds_main_afterColgJudgInfo_afexamlist_item:u";
  629. oParam.outds = "ds_=item";
  630. oParam.typeStr = "m";
  631. oParam.async = false;
  632. oParam.callback = "cf_TXAHR00603";
  633. tranf_submit(oParam);
  634. if(arErrorCode.pop("TXAHR00603") > -1)
  635. {
  636. sysf_messageBox("저장이", "I002");
  637. return true;
  638. }
  639. else
  640. {
  641. return false;
  642. }
  643. }
  644. function cf_TXAHR00603(sSvcId, nErrorCode, sErrorMsg)
  645. {
  646. arErrorCode.push(sSvcId, nErrorCode);
  647. if(nErrorCode < 0) return;
  648. }
  649. function group1_btn_searchhist_onclick(obj:Button, e:ClickEventInfo)
  650. {
  651. fSearchAfterColgJudgInfo();
  652. }
  653. ]]></Script>
  654. </Form>
  655. </FDL>