SPMMO03200_진단팝업.xfdl 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO03200" classname="SPMMO03200" inheritanceid="" position="absolute 0 0 952 589" titletext="진단팝업" onload="SPMMO03200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="tab_indexlist" taborder="0" position2="absolute l:0 w:315 t:18 h:548" positiontype="position2" tabindex="0" scrollbars="autoboth" onchanged="tab_indexlist_onchanged" tabjustify="false" tabposition="top">
  8. <Tabpages>
  9. <Tabpage id="tab_icd10" text="ICD10색인">
  10. <Layouts>
  11. <Layout>
  12. <Grid id="trv_icd10indxcdlist" taborder="0" useinputpanel="false" position2="absolute l:0 w:315 t:0 h:521" positiontype="position2" binddataset="ds_indxcdlist" treeusecheckbox="false" autosizingtype="col" useselcolor="true" fillareatype="none" userdata="0" selecttype="treecell" cantreestatuschange="tab_indexlist_tab_icd10_trv_icd10indxcdlist_cantreestatuschange" oncellclick="tab_indexlist_tab_icd10_trv_icd10indxcdlist_oncellclick">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="316"/>
  17. </Columns>
  18. <Rows>
  19. <Row size="22"/>
  20. </Rows>
  21. <Band id="body">
  22. <Cell displaytype="tree" edittype="tree" text="bind:hngnm" treelevel="bind:levl"/>
  23. </Band>
  24. </Format>
  25. </Formats>
  26. </Grid>
  27. </Layout>
  28. </Layouts>
  29. </Tabpage>
  30. <Tabpage id="tab_deptindx" text="과색인" style="anchor:default;margin:5 0 0 0;">
  31. <Layouts>
  32. <Layout>
  33. <Grid id="Grid00" taborder="0" useinputpanel="false" position2="absolute l:0 w:315 t:0 h:521" positiontype="position2">
  34. <Formats/>
  35. </Grid>
  36. <Grid id="trv_deptindxcdlist" taborder="1" binddataset="ds_deptindxcdlist" useinputpanel="false" treeusecheckbox="false" position2="absolute l:0 w:315 t:0 h:521" positiontype="position2" treeinitstatus="expand,null" userdata="0" selecttype="treecell" cantreestatuschange="tab_indexlist_tab_deptindx_trv_deptindxcdlist_cantreestatuschange" oncellclick="tab_indexlist_tab_deptindx_trv_deptindxcdlist_oncellclick">
  37. <Formats>
  38. <Format id="default">
  39. <Columns>
  40. <Column size="316"/>
  41. </Columns>
  42. <Rows>
  43. <Row size="24"/>
  44. </Rows>
  45. <Band id="body">
  46. <Cell displaytype="tree" edittype="tree" text="bind:deptindxnm" treelevel="bind:levl"/>
  47. </Band>
  48. </Format>
  49. </Formats>
  50. </Grid>
  51. </Layout>
  52. </Layouts>
  53. </Tabpage>
  54. <Tabpage id="tab_prms" text="개인SET">
  55. <Layouts>
  56. <Layout>
  57. <Grid id="trv_prmsprcpsetlist" taborder="0" binddataset="ds_prmsprcpsetlist" useinputpanel="false" treeusecheckbox="false" treeinitstatus="expand,null" position2="absolute l:0 w:315 t:0 h:521" positiontype="position2" selecttype="treecell" cantreestatuschange="tab_indexlist_tab_prms_trv_prmsprcpsetlist_cantreestatuschange" oncellclick="tab_indexlist_tab_prms_trv_prmsprcpsetlist_oncellclick" userdata="0">
  58. <Formats>
  59. <Format id="default">
  60. <Columns>
  61. <Column size="316"/>
  62. </Columns>
  63. <Rows>
  64. <Row size="24"/>
  65. </Rows>
  66. <Band id="body">
  67. <Cell displaytype="tree" edittype="tree" text="bind:setnm" treelevel="bind:levl"/>
  68. </Band>
  69. </Format>
  70. </Formats>
  71. </Grid>
  72. </Layout>
  73. </Layouts>
  74. </Tabpage>
  75. <Tabpage id="tab_snwhist" text="상병력">
  76. <Layouts>
  77. <Layout>
  78. <Grid id="grd_snwhistinfo" taborder="0" useinputpanel="false" position="absolute 1 2 314 521" binddataset="ds_main_snwhistlist" oncelldblclick="tab_indexlist_tab_snwhist_grd_snwhistinfo_oncelldblclick">
  79. <Formats>
  80. <Format id="default">
  81. <Columns>
  82. <Column size="85"/>
  83. <Column size="55"/>
  84. <Column size="80"/>
  85. <Column size="130"/>
  86. <Column size="100"/>
  87. <Column size="0"/>
  88. <Column size="0"/>
  89. <Column size="80"/>
  90. </Columns>
  91. <Rows>
  92. <Row size="24" band="head"/>
  93. <Row size="24"/>
  94. </Rows>
  95. <Band id="head">
  96. <Cell text="진료과"/>
  97. <Cell col="1" text="진료의"/>
  98. <Cell col="2" text="진단코드"/>
  99. <Cell col="3" text="영문명"/>
  100. <Cell col="4" text="한글명"/>
  101. <Cell col="5" text="dispdiagcd"/>
  102. <Cell col="6" text="orgdiagcd"/>
  103. <Cell col="7" text="최초진단일"/>
  104. </Band>
  105. <Band id="body">
  106. <Cell style="align:left middle;" text="bind:deptnm"/>
  107. <Cell col="1" text="bind:orddrnm"/>
  108. <Cell col="2" text="bind:dispdiagcd"/>
  109. <Cell col="3" style="align:left middle;" text="bind:diagengnm"/>
  110. <Cell col="4" style="align:left middle;" text="bind:diaghngnm"/>
  111. <Cell col="5" text="bind:dispdiagcd"/>
  112. <Cell col="6" text="bind:orgdiagcd"/>
  113. <Cell col="7" text="bind:fstrgstdd" mask="####-##-##"/>
  114. </Band>
  115. </Format>
  116. </Formats>
  117. </Grid>
  118. </Layout>
  119. </Layouts>
  120. </Tabpage>
  121. <Tabpage id="tab_multifreq" text="다빈도">
  122. <Layouts>
  123. <Layout>
  124. <Grid id="grd_multifreq" taborder="0" useinputpanel="false" position="absolute 1 2 314 519" binddataset="ds_main_multifreqlist" oncelldblclick="tab_indexlist_tab_multifreq_grd_multifreq_oncelldblclick">
  125. <Formats>
  126. <Format id="default">
  127. <Columns>
  128. <Column size="91"/>
  129. <Column size="178"/>
  130. <Column size="200"/>
  131. <Column size="0"/>
  132. <Column size="0"/>
  133. <Column size="0"/>
  134. </Columns>
  135. <Rows>
  136. <Row size="24" band="head"/>
  137. <Row size="24"/>
  138. </Rows>
  139. <Band id="head">
  140. <Cell text="진단코드"/>
  141. <Cell col="1" text="영문명"/>
  142. <Cell col="2" text="한글명"/>
  143. <Cell col="3"/>
  144. <Cell col="4"/>
  145. <Cell col="5"/>
  146. </Band>
  147. <Band id="body">
  148. <Cell style="align:left middle;" text="bind:diagcd"/>
  149. <Cell col="1" style="align:left middle;" text="bind:diagengnm"/>
  150. <Cell col="2" style="align:left middle;" text="bind:diaghngnm"/>
  151. <Cell col="3" text="bind:spclinfo"/>
  152. <Cell col="4" text="bind:icd10cd"/>
  153. <Cell col="5" text="bind:dispdiagcd"/>
  154. </Band>
  155. </Format>
  156. </Formats>
  157. </Grid>
  158. </Layout>
  159. </Layouts>
  160. </Tabpage>
  161. </Tabpages>
  162. </Tab>
  163. <Shape id="Shape06" type="rectangle" class="shp_search" position="absolute 319 8 951 38" anchor="default"/>
  164. <Grid id="grd_diaglist" taborder="1" useinputpanel="false" position2="absolute l:319 w:633 t:46 h:324" positiontype="position2" binddataset="ds_diagcdlist" oncelldblclick="grd_diaglist_oncelldblclick" autosizingtype="row" areaselecttype="limitband" autofitminheight="100" cellsizingtype="col" autosizemergetype="nomerge" extendsizetype="none" enableevent="true" autofittype="col">
  165. <Formats>
  166. <Format id="default">
  167. <Columns>
  168. <Column size="30"/>
  169. <Column size="120"/>
  170. <Column size="215"/>
  171. <Column size="215"/>
  172. <Column size="40"/>
  173. </Columns>
  174. <Rows>
  175. <Row size="24" band="head"/>
  176. <Row size="24"/>
  177. </Rows>
  178. <Band id="head">
  179. <Cell/>
  180. <Cell col="1" text="진단코드"/>
  181. <Cell col="2" text="영문명"/>
  182. <Cell col="3" text="한글명"/>
  183. <Cell col="4" text="경증"/>
  184. </Band>
  185. <Band id="body">
  186. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
  187. <Cell col="1" style="align:left;padding:0 0 0 10;" text="bind:diagcd"/>
  188. <Cell col="2" style="align:left;padding:0 0 0 10;" text="bind:diagengnm" wordwrap="none" autosizerow="limitmin"/>
  189. <Cell col="3" style="align:left;padding:0 0 0 10;" text="bind:diaghngnm"/>
  190. <Cell col="4" text="bind:lightcase"/>
  191. </Band>
  192. </Format>
  193. </Formats>
  194. </Grid>
  195. <Button id="btn_savediag" taborder="3" text="등록" onclick="btn_savediag_onclick" class="btn4" position="absolute 845 569 898 589"/>
  196. <Button id="btn_diagcncl" taborder="4" text="취소" onclick="btn_diagcncl_onclick" class="btn4" position="absolute 899 569 952 589"/>
  197. <Button id="button2" taborder="5" text="진단추가" class="btn2" position="absolute 883 373 952 393" onclick="button2_onclick"/>
  198. <Button id="btn_req" taborder="6" text="조회" position="absolute 882 13 935 33" onclick="btn_req_onclick" class="btn1"/>
  199. <Static id="stt_search1" text="검색어 :" class="tit_3" position="absolute 334 14 406 34"/>
  200. <Edit id="input1" taborder="7" class="edt_n" position2="absolute l:411 w:284 t:13 h:20" positiontype="position2" onkeydown="input1_onkeydown" autoselect="true"/>
  201. <CheckBox id="bool1" taborder="8" text="전체" position2="absolute l:700 w:46 t:13 h:20" positiontype="position2"/>
  202. <Button id="btn_expand" taborder="9" class="btn_MonthP" position="absolute 324 49 344 69" onclick="btn_expand_onclick"/>
  203. <Grid id="grd_selectdiag" taborder="10" binddataset="ds_selectdiaglist" useinputpanel="false" position2="absolute l:320 w:632 t:407 h:159" positiontype="position2" onrbuttondown="grd_selectdiag_onrbuttondown" selecttype="row" cellsizingtype="col" autofittype="col">
  204. <Formats>
  205. <Format id="default">
  206. <Columns>
  207. <Column size="120"/>
  208. <Column size="230"/>
  209. <Column size="230"/>
  210. <Column size="40"/>
  211. </Columns>
  212. <Rows>
  213. <Row size="24" band="head"/>
  214. <Row size="24"/>
  215. </Rows>
  216. <Band id="head">
  217. <Cell text="진단코드"/>
  218. <Cell col="1" text="영문명"/>
  219. <Cell col="2" text="한글명"/>
  220. <Cell col="3" text="경증"/>
  221. </Band>
  222. <Band id="body">
  223. <Cell style="align:left;padding:0 0 0 10;" text="bind:diagcd"/>
  224. <Cell col="1" style="align:left;padding:0 0 0 10;" text="bind:diagengnm"/>
  225. <Cell col="2" style="align:left;padding:0 0 0 10;" text="bind:diaghngnm"/>
  226. <Cell col="3" text="bind:lightcase"/>
  227. </Band>
  228. </Format>
  229. </Formats>
  230. </Grid>
  231. <Splitter id="spt_div0" max="318" type="horizontal" position="absolute 316 8 318 566" style="background:lightslategray;" min="1" enable="true" visible="true">
  232. <Formats>
  233. <Format id="default">
  234. <SplitterItems id="items">
  235. <SplitterItem id="item01" componentid="tab_indexlist" bindtype="resize" position="leftortop" offset="1"/>
  236. <SplitterItem id="item00" bindtype="resize" position="rightorbottom" offset="1" componentid="grd_diaglist"/>
  237. <SplitterItem id="item02" bindtype="resize" position="rightorbottom" offset="1" componentid="grd_selectdiag"/>
  238. <SplitterItem id="item03" bindtype="resize" position="rightorbottom" offset="1" componentid="spt_div1"/>
  239. <SplitterItem id="item04" bindtype="resize" position="rightorbottom" offset="1" componentid="spt_div2"/>
  240. <SplitterItem id="item05" bindtype="move" position="rightorbottom" offset="7" componentid="btn_expand"/>
  241. <SplitterItem id="item06" bindtype="resize" position="rightorbottom" offset="1" componentid="Shape06"/>
  242. <SplitterItem id="item07" bindtype="move" position="rightorbottom" offset="15" componentid="stt_search1"/>
  243. <SplitterItem id="item08" bindtype="resize" position="rightorbottom" offset="92" componentid="input1"/>
  244. <SplitterItem id="item09" bindtype="move" position="rightorbottom" offset="3" componentid="stt_title1"/>
  245. </SplitterItems>
  246. </Format>
  247. </Formats>
  248. </Splitter>
  249. <Static id="stt_title1" text="선택진단" class="tit_2" position="absolute 319 388 519 408"/>
  250. </Layout>
  251. </Layouts>
  252. <Bind/>
  253. <Objects>
  254. <Dataset id="ds_indxcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  255. <ColumnInfo>
  256. <Column id="levl" type="STRING" size="256" sumtext="레벨"/>
  257. <Column id="indxcd" type="STRING" size="256" sumtext="index코드"/>
  258. <Column id="upindxcd" type="STRING" size="256" sumtext="상위index코드"/>
  259. <Column id="hngnm" type="STRING" size="256" sumtext="index한글명"/>
  260. <Column id="engnm" type="STRING" size="256" sumtext="index영문명"/>
  261. </ColumnInfo>
  262. <Rows/>
  263. </Dataset>
  264. <Dataset id="ds_deptindxcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  265. <ColumnInfo>
  266. <Column id="levl" type="STRING" size="256" sumtext="level값"/>
  267. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  268. <Column id="deptindxcd" type="STRING" size="256" sumtext="부서index코드"/>
  269. <Column id="deptupindxcd" type="STRING" size="256" sumtext="부서상위index코드"/>
  270. <Column id="deptindxnm" type="STRING" size="256" sumtext="부서index명"/>
  271. </ColumnInfo>
  272. <Rows/>
  273. </Dataset>
  274. <Dataset id="ds_prmsprcpsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  275. <ColumnInfo>
  276. <Column id="levl" type="INT" size="256" sumtext="level값"/>
  277. <Column id="setno" type="STRING" size="256" sumtext="set번호"/>
  278. <Column id="settypecd" type="STRING" size="256" sumtext="set종류코드"/>
  279. <Column id="supsetno" type="STRING" size="256" sumtext="상위set번호"/>
  280. <Column id="setkindcd" type="STRING" size="256" sumtext="set종류코드"/>
  281. <Column id="setclscd" type="STRING" size="256" sumtext="set분류코드"/>
  282. <Column id="settrgtcd" type="STRING" size="256" sumtext="대상코드(과,개인)"/>
  283. <Column id="prtlno" type="STRING" size="256" sumtext="프로토콜번호"/>
  284. <Column id="setnm" type="STRING" size="256" sumtext="set명"/>
  285. <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
  286. <Column id="setrefseq" type="STRING" size="256" sumtext="순서"/>
  287. </ColumnInfo>
  288. <Rows/>
  289. </Dataset>
  290. <Dataset id="ds_diagcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  291. <ColumnInfo>
  292. <Column id="chk" type="STRING" size="256"/>
  293. <Column id="diagdd" type="STRING" size="256" sumtext="진단일자"/>
  294. <Column id="diagno" type="STRING" size="256" sumtext="진단번호"/>
  295. <Column id="diaghistno" type="STRING" size="256" sumtext="진단이력번호"/>
  296. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  297. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  298. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  299. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  300. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  301. <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
  302. <Column id="genrflagcd" type="STRING" size="256" sumtext="발생구분코드"/>
  303. <Column id="diaghistcd" type="STRING" size="256" sumtext="진단이력코드"/>
  304. <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
  305. <Column id="diagtypecd" type="STRING" size="256" sumtext="진단형태코드"/>
  306. <Column id="diagkindcd" type="STRING" size="256" sumtext="진단종류코드"/>
  307. <Column id="diagkindcdflag" type="STRING" size="256" sumtext="진단종류코드구분"/>
  308. <Column id="anamneflag" type="STRING" size="256" sumtext="기왕증구분"/>
  309. <Column id="tootflagcd" type="STRING" size="256" sumtext="치식구분코드"/>
  310. <Column id="diagsignflag" type="STRING" size="256" sumtext="진단서명구분"/>
  311. <Column id="tootfact" type="STRING" size="256" sumtext="치식사항"/>
  312. <Column id="diagengnm" type="STRING" size="256" sumtext="진단영문명"/>
  313. <Column id="diaghngnm" type="STRING" size="256" sumtext="진단한글명"/>
  314. <Column id="icd10cd" type="STRING" size="256" sumtext="ICD10코드"/>
  315. <Column id="spclinfo" type="STRING" size="256" sumtext="특례정보"/>
  316. <Column id="dispdiagcd" type="STRING" size="256" sumtext="전시진단코드"/>
  317. <Column id="orgdiagengnm" type="STRING" size="256" sumtext="원진단영문명"/>
  318. <Column id="orgdiaghngnm" type="STRING" size="256" sumtext="원진단한글명"/>
  319. <Column id="status" type="STRING" size="256" sumtext="처리구분"/>
  320. <Column id="lightcase" type="STRING" size="256" sumtext="경증정보"/>
  321. </ColumnInfo>
  322. <Rows/>
  323. </Dataset>
  324. <Dataset id="ds_selectdiaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  325. <ColumnInfo>
  326. <Column id="chk" type="STRING" size="256"/>
  327. <Column id="diagdd" type="STRING" size="256" sumtext="진단일자"/>
  328. <Column id="diagno" type="STRING" size="256" sumtext="진단번호"/>
  329. <Column id="diaghistno" type="STRING" size="256" sumtext="진단이력번호"/>
  330. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  331. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  332. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  333. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  334. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  335. <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
  336. <Column id="genrflagcd" type="STRING" size="256" sumtext="발생구분코드"/>
  337. <Column id="diaghistcd" type="STRING" size="256" sumtext="진단이력코드"/>
  338. <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
  339. <Column id="diagtypecd" type="STRING" size="256" sumtext="진단형태코드"/>
  340. <Column id="diagkindcd" type="STRING" size="256" sumtext="진단종류코드"/>
  341. <Column id="diagkindcdflag" type="STRING" size="256" sumtext="진단종류코드구분"/>
  342. <Column id="anamneflag" type="STRING" size="256" sumtext="기왕증구분"/>
  343. <Column id="tootflagcd" type="STRING" size="256" sumtext="치식구분코드"/>
  344. <Column id="diagsignflag" type="STRING" size="256" sumtext="진단서명구분"/>
  345. <Column id="tootfact" type="STRING" size="256" sumtext="치식사항"/>
  346. <Column id="diagengnm" type="STRING" size="256" sumtext="진단영문명"/>
  347. <Column id="diaghngnm" type="STRING" size="256" sumtext="진단한글명"/>
  348. <Column id="icd10cd" type="STRING" size="256" sumtext="ICD10코드"/>
  349. <Column id="spclinfo" type="STRING" size="256" sumtext="특례정보"/>
  350. <Column id="dispdiagcd" type="STRING" size="256" sumtext="전시진단코드"/>
  351. <Column id="orgdiagengnm" type="STRING" size="256" sumtext="원진단영문명"/>
  352. <Column id="orgdiaghngnm" type="STRING" size="256" sumtext="원진단한글명"/>
  353. <Column id="status" type="STRING" size="256" sumtext="처리구분"/>
  354. <Column id="lightcase" type="STRING" size="256" sumtext="경증정보"/>
  355. </ColumnInfo>
  356. <Rows/>
  357. </Dataset>
  358. <PropertyAnimation id="pani00" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
  359. <CompositeAnimation id="cani" duration="0" starttime="0"/>
  360. <PropertyAnimation id="pani01" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
  361. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  362. <ColumnInfo>
  363. <Column id="indxflag" type="STRING" size="256" sumtext="indx구분"/>
  364. <Column id="deptindxflag" type="STRING" size="256"/>
  365. <Column id="setkindcd" type="STRING" size="256"/>
  366. <Column id="setclscd" type="STRING" size="256"/>
  367. <Column id="settypecd" type="STRING" size="256"/>
  368. <Column id="ioflag" type="STRING" size="256"/>
  369. <Column id="icd10indxcd" type="STRING" size="256"/>
  370. <Column id="deptindxcd" type="STRING" size="256"/>
  371. <Column id="deptcd" type="STRING" size="256"/>
  372. <Column id="setno" type="STRING" size="256"/>
  373. <Column id="srchflag" type="STRING" size="256"/>
  374. <Column id="srchdata" type="STRING" size="256"/>
  375. <Column id="cond1" type="STRING" size="256"/>
  376. <Column id="cond2" type="STRING" size="256"/>
  377. <Column id="cond3" type="STRING" size="256"/>
  378. <Column id="cond4" type="STRING" size="256"/>
  379. <Column id="cond5" type="STRING" size="256"/>
  380. <Column id="settrgtcd" type="STRING" size="256"/>
  381. </ColumnInfo>
  382. </Dataset>
  383. <Dataset id="ds_main_multifreqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  384. <ColumnInfo>
  385. <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
  386. <Column id="diagengnm" type="STRING" size="256" sumtext="진단영문명"/>
  387. <Column id="diaghngnm" type="STRING" size="256" sumtext="진단한글명"/>
  388. <Column id="spclinfo" type="STRING" size="256" sumtext="특례정보"/>
  389. <Column id="icd10cd" type="STRING" size="256" sumtext="특례정보"/>
  390. <Column id="dispdiagcd" type="STRING" size="256" sumtext="특례정보"/>
  391. </ColumnInfo>
  392. </Dataset>
  393. <Dataset id="ds_main_snwhistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  394. <ColumnInfo>
  395. <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
  396. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
  397. <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
  398. <Column id="diagengnm" type="STRING" size="256" sumtext="진단영문명"/>
  399. <Column id="diaghngnm" type="STRING" size="256" sumtext="진단한글명"/>
  400. <Column id="fstrgstdd" type="STRING" size="256" sumtext="최초등록일"/>
  401. <Column id="orgdiagcd" type="STRING" size="256" sumtext="원진단코드"/>
  402. <Column id="dispdiagcd" type="STRING" size="256" sumtext="display진단코드"/>
  403. </ColumnInfo>
  404. </Dataset>
  405. </Objects>
  406. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  407. * System Name : KNUH2.0
  408. * Job Name : EMR
  409. * File Name : SPMMO03200_진단팝업.xfdl
  410. * Creator : 노회식
  411. * Make Date : 2014-08-05
  412. *
  413. * Description :
  414. *---------------------------------------------------------------------------------------
  415. * Modify Date Modifier Modify Description
  416. *---------------------------------------------------------------------------------------
  417. * 2014-08-05 DBS Converting Program(TF->XP)
  418. *
  419. *---------------------------------------------------------------------------------------
  420. ****************************************************************************************/
  421. //=======================================================================================
  422. // Lib Include
  423. //---------------------------------------------------------------------------------------
  424. include "com_commonxp::comm_main.xjs"
  425. include "emr_prcpmngtxp::SPMMO03200.xjs"
  426. //include "emr_prcpmngtxp::MMO001.xjs"
  427. //include "emr_prcpmngtxp::MMOCommon.xjs"
  428. //include "com_commodulexp::SSZFM00401.xjs"
  429. //=======================================================================================
  430. // Event
  431. //---------------------------------------------------------------------------------------
  432. /****************************************************************************************
  433. * Components : Form
  434. * Components ID : SPMMO03200
  435. * Event : onload
  436. * Argument : 01.obj : Object Event has occurred
  437. * : 02.e : Event Object
  438. * Description : 화면 로드시 초기화 함수 실행
  439. ****************************************************************************************/
  440. function SPMMO03200_onload(obj:Form, e:LoadEventInfo)
  441. {
  442. frmf_initForm(obj);
  443. fInitialize_SPMMO03200();
  444. //lf_commoduleDataSetShow(); //DataSet 조회
  445. // sysf_trace(opener.frmf_getScreenID());
  446. }
  447. /****************************************************************************************
  448. * Components : Grid
  449. * Components ID : grd_diaglist
  450. * Event : oncelldblclick
  451. * Argument : 01.obj : Object Event has occurred
  452. * : 02.e : Event Object
  453. * Description : 진단 더블클릭으로 선택한 진단 항목으로 이동
  454. ****************************************************************************************/
  455. function grd_diaglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  456. {
  457. if(e.row > -1) {
  458. fAddDiag();
  459. }
  460. }
  461. /****************************************************************************************
  462. * Components : Button
  463. * Components ID : button2
  464. * Event : onclick
  465. * Argument : 01.obj : Object Event has occurred
  466. * : 02.e : Event Object
  467. * Description : 체크박스 선택으로 선택한 진단 항목으로 일괄 이동
  468. ****************************************************************************************/
  469. function button2_onclick(obj:Button, e:ClickEventInfo)
  470. {
  471. fAppendDiagCD();
  472. }
  473. /****************************************************************************************
  474. * Components : Button
  475. * Components ID : btn_expand
  476. * Event : onclick
  477. * Argument : 01.obj : Object Event has occurred
  478. * : 02.e : Event Object
  479. * Description : 그리드 확장/이동 버튼 애니메이션
  480. ****************************************************************************************/
  481. function btn_expand_onclick(obj:Button, e:ClickEventInfo)
  482. {
  483. fCtrlSizeDiagList();
  484. }
  485. /****************************************************************************************
  486. * Components : Tab
  487. * Components ID : tab_indexlist
  488. * Event : onchanged
  489. * Argument : 01.obj : Object Event has occurred
  490. * : 02.e : Event Object
  491. * Description : 탭선택 했을때 조회 동작
  492. ****************************************************************************************/
  493. function tab_indexlist_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  494. {
  495. if(e.postindex==0) {
  496. // ICD10 Index조회
  497. fReqGetIndxList();
  498. } else if(e.postindex==1) {
  499. // 과색인조회
  500. fReqGetDeptIndxList();
  501. } else if(e.postindex==2) {
  502. // 개인SET조회
  503. fReqGetPrmsDiagSETList();
  504. } else if (e.postindex==3) {
  505. // 상병력
  506. fReqGetSnwhistlist();
  507. } else if (e.postindex==4) {
  508. // 다빈도
  509. fReqGetMultifreqlist();
  510. }
  511. }
  512. /****************************************************************************************
  513. * Components : Dataset
  514. * Components ID : ds_indxcdlist
  515. * Event : onrowposchanged
  516. * Argument : 01.obj : Object Event has occurred
  517. * : 02.e : Event Object
  518. * Description : ICD10색인 을 누질러 처방 검색
  519. ****************************************************************************************/
  520. function ds_indxcdlist_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
  521. {
  522. if(obj.getColumn(e.newrow, "levl") > 1){
  523. fReqGetICD10CDList();
  524. }
  525. }
  526. /****************************************************************************************
  527. * Components : Dataset
  528. * Components ID : ds_deptindxcdlist
  529. * Event : onrowposchanged
  530. * Argument : 01.obj : Object Event has occurred
  531. * : 02.e : Event Object
  532. * Description : 과색인 선택시 진단 조회
  533. ****************************************************************************************/
  534. function ds_deptindxcdlist_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
  535. {
  536. if(!utlf_isNull(obj.getColumn(e.newrow, "deptindxcd"))){
  537. fReqGetDeptIndxCDList();
  538. }
  539. }
  540. /****************************************************************************************
  541. * Components : Dataset
  542. * Components ID : ds_prmsprcpsetlist
  543. * Event : onrowposchanged
  544. * Argument : 01.obj : Object Event has occurred
  545. * : 02.e : Event Object
  546. * Description : 개인 처방 선택지 진단 조회
  547. ****************************************************************************************/
  548. function ds_prmsprcpsetlist_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
  549. {
  550. if(!utlf_isNull(obj.getColumn(e.newrow, "setno"))){
  551. fReqGetPrmsDiagList();
  552. }
  553. }
  554. /****************************************************************************************
  555. * Components : Button
  556. * Components ID : btn_req
  557. * Event : onclick
  558. * Argument : 01.obj : Object Event has occurred
  559. * : 02.e : Event Object
  560. * Description : 조회버튼 클릭
  561. ****************************************************************************************/
  562. function btn_req_onclick(obj:Button, e:ClickEventInfo)
  563. {
  564. var chkValue = bool1.value;
  565. if(chkValue == "1"){
  566. fReqGetTermDiagSrch()
  567. }else{
  568. if(tab_indexlist.tabindex == 0){//진단용어 전체검색
  569. fReqGetTermDiagSrch();
  570. }else if(tab_indexlist.tabindex == 1){//과색인에서만 조회
  571. fReqGetDeptIndxSrch();
  572. }else if(tab_indexlist.tabindex == 2){//개인SET에서만 조회
  573. fReqGetPrmsDiagSETSrch();
  574. }
  575. }
  576. }
  577. /****************************************************************************************
  578. * Components : Edit
  579. * Components ID : input1
  580. * Event : onkeydown
  581. * Argument : 01.obj : Object Event has occurred
  582. * : 02.e : Event Object
  583. * Description : Enter키로 조건검색
  584. ****************************************************************************************/
  585. function input1_onkeydown(obj:Edit, e:KeyEventInfo)
  586. {
  587. if(e.keycode == "13"){
  588. var ev = new ClickEventInfo;
  589. frmf_inputEnterKey("btn_req", "onclick", ev );
  590. }
  591. }
  592. /****************************************************************************************
  593. * Components : Button
  594. * Components ID : btn_diagcncl
  595. * Event : onclick
  596. * Argument : 01.obj : Object Event has occurred
  597. * : 02.e : Event Object
  598. * Description : 화면 닫기
  599. ****************************************************************************************/
  600. function btn_diagcncl_onclick(obj:Button, e:ClickEventInfo)
  601. {
  602. if(frmf_checkOpener()){
  603. opener.frmf_setParameter("SPMMO03200_rtn_useyn", "N");
  604. }else{
  605. sysf_messageBox("상위화면이 변경되어 데이터를 전달","E001");
  606. }
  607. //frmf_setParameter("SPMMO03200_rtn_useyn", "N");
  608. this.close();
  609. }
  610. /****************************************************************************************
  611. * Components : Button
  612. * Components ID : btn_savediag
  613. * Event : onclick
  614. * Argument : 01.obj : Object Event has occurred
  615. * : 02.e : Event Object
  616. * Description : 검색 정보 전송후 화면 닫기
  617. ****************************************************************************************/
  618. function btn_savediag_onclick(obj:Button, e:ClickEventInfo)
  619. {
  620. fSendDiagCDList();
  621. }
  622. /****************************************************************************************
  623. * Components : Grid
  624. * Components ID : grd_selectdiag
  625. * Event : onrbuttondown
  626. * Argument : 01.obj : Object Event has occurred
  627. * : 02.e : Event Object
  628. * Description : 마우스 우클릭으로 팝업메뉴 뛰움
  629. ****************************************************************************************/
  630. function grd_selectdiag_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  631. {
  632. if(e.row > -1) {
  633. ds_selectdiaglist.rowposition = e.row;
  634. grd_selectdiag.setCellPos(e.cell);
  635. pmn_selectdiaglist.trackPopup(e.screenX,e.screenY);
  636. }
  637. }
  638. function tab_indexlist_tab_prms_trv_prmsprcpsetlist_cantreestatuschange(obj:Grid, e:GridTreeStatusEventInfo)
  639. {
  640. obj.userdata = 1;
  641. }
  642. function tab_indexlist_tab_prms_trv_prmsprcpsetlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  643. {
  644. // icon으로 tree를 컨트롤 하는 경우는 여기를 태우지 않는다.
  645. if(obj.userdata == 1) {
  646. obj.userdata = 0;
  647. return;
  648. }
  649. var row = obj.getTreeRow(e.row);
  650. if(obj.getTreeStatus(row) == 0)
  651. obj.setTreeStatus(row, true);
  652. else if(obj.getTreeStatus(row) == 1)
  653. obj.setTreeStatus(row, false);
  654. obj.userdata = 0;
  655. fReqGetPrmsDiagList(); //약속SET 선택시 진단 조회
  656. }
  657. function tab_indexlist_tab_deptindx_trv_deptindxcdlist_cantreestatuschange(obj:Grid, e:GridTreeStatusEventInfo)
  658. {
  659. obj.userdata = 1;
  660. }
  661. function tab_indexlist_tab_deptindx_trv_deptindxcdlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  662. {
  663. // icon으로 tree를 컨트롤 하는 경우는 여기를 태우지 않는다.
  664. if(obj.userdata == 1) {
  665. obj.userdata = 0;
  666. return;
  667. }
  668. var row = obj.getTreeRow(e.row);
  669. if(obj.getTreeStatus(row) == 0)
  670. obj.setTreeStatus(row, true);
  671. else if(obj.getTreeStatus(row) == 1)
  672. obj.setTreeStatus(row, false);
  673. obj.userdata = 0;
  674. fReqGetDeptIndxCDList(); //과색인 선택시 진단 조회
  675. }
  676. function tab_indexlist_tab_icd10_trv_icd10indxcdlist_cantreestatuschange(obj:Grid, e:GridTreeStatusEventInfo)
  677. {
  678. obj.userdata = 1;
  679. }
  680. function tab_indexlist_tab_icd10_trv_icd10indxcdlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  681. {
  682. // icon으로 tree를 컨트롤 하는 경우는 여기를 태우지 않는다.
  683. if(obj.userdata == 1) {
  684. obj.userdata = 0;
  685. return;
  686. }
  687. var row = obj.getTreeRow(e.row);
  688. if(obj.getTreeStatus(row) == 0)
  689. obj.setTreeStatus(row, true);
  690. else if(obj.getTreeStatus(row) == 1)
  691. obj.setTreeStatus(row, false);
  692. obj.userdata = 0;
  693. fReqGetICD10CDList(); //ICD10색인 선택시 진단 조회
  694. }
  695. function tab_indexlist_tab_snwhist_grd_snwhistinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  696. {
  697. if(e.row < 0 || e.col < 0) return;
  698. var currow = e.row;
  699. var diagcd = ds_main_snwhistlist.getColumn(currow, "orgdiagcd");
  700. dsf_createDsRow("ds_send_reqdata", [{col:"cond1", type:"string", size:256, val:1} //코드로 조회
  701. ,{col:"cond2", type:"string", size:256, val:1} //코드로 조회
  702. ,{col:"cond3", type:"string", size:256, val:"E"}
  703. ,{col:"cond4", type:"string", size:256, val:utlf_getCurrentDate()}
  704. ,{col:"cond5", type:"string", size:256, val:diagcd}]);
  705. var oParam = {};
  706. oParam.id = "TRMMO03103";
  707. oParam.service = "prcpmngtapp.PatDiagMngt";
  708. oParam.method = "reqGetDiagTermSrch";
  709. oParam.inds = "req=ds_send_reqdata";
  710. oParam.outds = "ds_diagcdlist=diagcdlist";
  711. oParam.async = true;
  712. oParam.callback = "cf_TRMMO03103";
  713. tranf_submit(oParam); // 코드로 검색 하여 결과가 있으면 바로 진단 내역으로 추가 한다.
  714. }
  715. function tab_indexlist_tab_multifreq_grd_multifreq_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  716. {
  717. if(e.row < 0 || e.col < 0) return;
  718. var currow = e.row;
  719. var diagcd = ds_main_multifreqlist.getColumn(currow, "diagcd");
  720. dsf_createDsRow("ds_send_reqdata", [{col:"cond1", type:"string", size:256, val:1} //코드로 조회
  721. ,{col:"cond2", type:"string", size:256, val:1} //코드로 조회
  722. ,{col:"cond3", type:"string", size:256, val:"E"}
  723. ,{col:"cond4", type:"string", size:256, val:utlf_getCurrentDate()}
  724. ,{col:"cond5", type:"string", size:256, val:diagcd}]);
  725. var oParam = {};
  726. oParam.id = "TRMMO03103";
  727. oParam.service = "prcpmngtapp.PatDiagMngt";
  728. oParam.method = "reqGetDiagTermSrch";
  729. oParam.inds = "req=ds_send_reqdata";
  730. oParam.outds = "ds_diagcdlist=diagcdlist";
  731. oParam.async = true;
  732. oParam.callback = "cf_TRMMO03103";
  733. tranf_submit(oParam); // 코드로 검색 하여 결과가 있으면 바로 진단 내역으로 추가 한다.
  734. }
  735. function cf_TRMMO03103(sSvcId, nErrorCode, sErrorMsg) {
  736. if(nErrorCode < 0) return;
  737. cf_diagcdlist();
  738. fAddDiag();
  739. }
  740. ]]></Script>
  741. </Form>
  742. </FDL>