SMMRD01800_연구용검색 리스트.xfdl 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMRD01800" position="absolute 0 0 1188 698" titletext="사망분석 조회" oninit="SMMRD01800_oninit" onload="SMMRD01800_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid position="absolute 0 1 1182 693" align="align:center middle;" id="grd_list" class="datagrid2" binddataset="ds_main_list_stdysrchlist" autoenter="select" cellsizingtype="col" anchor="all">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="26"/>
  12. <Column size="100"/>
  13. <Column size="100"/>
  14. <Column size="100"/>
  15. <Column size="100"/>
  16. <Column size="100"/>
  17. <Column size="100"/>
  18. <Column size="100"/>
  19. </Columns>
  20. <Rows>
  21. <Row size="24" band="head"/>
  22. <Row size="24"/>
  23. </Rows>
  24. <Band id="head">
  25. <Cell/>
  26. <Cell col="1" text="등록번호"/>
  27. <Cell col="2" text="환자명"/>
  28. <Cell col="3" text="입원일"/>
  29. <Cell col="4" text="입원과"/>
  30. <Cell col="5" text="입원분과"/>
  31. <Cell col="6" text="입원담당교수"/>
  32. <Cell col="7" text="입원담당의"/>
  33. </Band>
  34. <Band id="body">
  35. <Cell celltype="head" expr="currow+1"/>
  36. <Cell col="1" style="align:center top;" text="bind:a"/>
  37. <Cell col="2" text="bind:b"/>
  38. <Cell col="3" text="bind:c"/>
  39. <Cell col="4" text="bind:d"/>
  40. <Cell col="5" text="bind:e"/>
  41. <Cell col="6" text="bind:f"/>
  42. <Cell col="7" text="bind:g"/>
  43. </Band>
  44. </Format>
  45. </Formats>
  46. </Grid>
  47. </Layout>
  48. </Layouts>
  49. <Objects>
  50. <Dataset id="ds_main_list_stdysrchlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  51. <ColumnInfo>
  52. <Column id="pid" type="STRING" size="256" sumtext="pid"/>
  53. <Column id="hngnm" type="STRING" size="256" sumtext="hngnm"/>
  54. <Column id="indd" type="STRING" size="256" sumtext="indd"/>
  55. <Column id="erintm" type="STRING" size="256" sumtext="erintm"/>
  56. <Column id="erouttm" type="STRING" size="256" sumtext="erouttm"/>
  57. <Column id="indeptcd" type="STRING" size="256" sumtext="indeptcd"/>
  58. <Column id="inclrsdeptcd" type="STRING" size="256" sumtext="inclrsdeptcd"/>
  59. <Column id="indrid" type="STRING" size="256" sumtext="indrid"/>
  60. <Column id="inapprtcdrid" type="STRING" size="256" sumtext="inapprtcdrid"/>
  61. <Column id="dschdd" type="STRING" size="256" sumtext="dschdd"/>
  62. <Column id="dschdeptcd" type="STRING" size="256" sumtext="dschdeptcd"/>
  63. <Column id="dschclrsdeptcd" type="STRING" size="256" sumtext="dschclrsdeptcd"/>
  64. <Column id="dschdrid" type="STRING" size="256" sumtext="dschdrid"/>
  65. <Column id="dschapprtcdrid" type="STRING" size="256" sumtext="dschapprtcdrid"/>
  66. <Column id="indg" type="STRING" size="256" sumtext="indg"/>
  67. <Column id="totinhospdayno" type="STRING" size="256" sumtext="totinhospdayno"/>
  68. <Column id="age" type="STRING" size="256" sumtext="age"/>
  69. <Column id="sexflag" type="STRING" size="256" sumtext="sexflag"/>
  70. <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
  71. <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
  72. <Column id="a" type="STRING" size="256" sumtext="a"/>
  73. <Column id="addr" type="STRING" size="256" sumtext="addr"/>
  74. <Column id="detladdr" type="STRING" size="256" sumtext="detladdr"/>
  75. <Column id="rrgstno" type="STRING" size="256" sumtext="rrgstno"/>
  76. <Column id="cntctel" type="STRING" size="256" sumtext="cntctel"/>
  77. <Column id="fstrgstdd" type="STRING" size="256" sumtext="fstrgstdd"/>
  78. <Column id="fstrgstrid" type="STRING" size="256" sumtext="fstrgstrid"/>
  79. <Column id="opbfinhospdayno" type="STRING" size="256" sumtext="opbfinhospdayno"/>
  80. <Column id="lastdschyy" type="STRING" size="256" sumtext="lastdschyy"/>
  81. <Column id="religncd" type="STRING" size="256" sumtext="religncd"/>
  82. <Column id="marystatcd" type="STRING" size="256" sumtext="marystatcd"/>
  83. <Column id="jobcd" type="STRING" size="256" sumtext="jobcd"/>
  84. <Column id="specordyn" type="STRING" size="256" sumtext="specordyn"/>
  85. <Column id="insukind" type="STRING" size="256" sumtext="insukind"/>
  86. <Column id="cptrgtyn" type="STRING" size="256" sumtext="cptrgtyn"/>
  87. <Column id="wundcasclscd" type="STRING" size="256" sumtext="wundcasclscd"/>
  88. <Column id="curersltcd" type="STRING" size="256" sumtext="curersltcd"/>
  89. <Column id="dethtypecd" type="STRING" size="256" sumtext="dethtypecd"/>
  90. <Column id="dschtypecd" type="STRING" size="256" sumtext="dschtypecd"/>
  91. <Column id="opdethtypecd" type="STRING" size="256" sumtext="opdethtypecd"/>
  92. <Column id="chosprogcd" type="STRING" size="256" sumtext="chosprogcd"/>
  93. <Column id="inpathcd" type="STRING" size="256" sumtext="inpathcd"/>
  94. <Column id="reinresncd" type="STRING" size="256" sumtext="reinresncd"/>
  95. <Column id="reinpyn" type="STRING" size="256" sumtext="reinpyn"/>
  96. <Column id="reopresncd" type="STRING" size="256" sumtext="reopresncd"/>
  97. <Column id="infccascd" type="STRING" size="256" sumtext="infccascd"/>
  98. <Column id="infcpartcd" type="STRING" size="256" sumtext="infcpartcd"/>
  99. <Column id="cmplcd" type="STRING" size="256" sumtext="cmplcd"/>
  100. <Column id="spcscnt" type="STRING" size="256" sumtext="spcscnt"/>
  101. <Column id="spcnscnt" type="STRING" size="256" sumtext="spcnscnt"/>
  102. <Column id="opyn" type="STRING" size="256" sumtext="opyn"/>
  103. <Column id="gnrlanstcnt" type="STRING" size="256" sumtext="gnrlanstcnt"/>
  104. <Column id="prtanstcnt" type="STRING" size="256" sumtext="prtanstcnt"/>
  105. <Column id="tpclanstcnt" type="STRING" size="256" sumtext="tpclanstcnt"/>
  106. <Column id="opdd" type="STRING" size="256" sumtext="opdd"/>
  107. <Column id="opdeptcd" type="STRING" size="256" sumtext="opdeptcd"/>
  108. <Column id="opclrsdeptcd" type="STRING" size="256" sumtext="opclrsdeptcd"/>
  109. <Column id="perfdrid" type="STRING" size="256" sumtext="perfdrid"/>
  110. <Column id="lastmainopyn" type="STRING" size="256" sumtext="lastmainopyn"/>
  111. <Column id="anstmthdcd1" type="STRING" size="256" sumtext="anstmthdcd1"/>
  112. <Column id="anstmthdcd2" type="STRING" size="256" sumtext="anstmthdcd2"/>
  113. <Column id="anstmthdcd3" type="STRING" size="256" sumtext="anstmthdcd3"/>
  114. <Column id="opreqflag" type="STRING" size="256" sumtext="opreqflag"/>
  115. <Column id="opscaleflag" type="STRING" size="256" sumtext="opscaleflag"/>
  116. <Column id="opfromtm" type="STRING" size="256" sumtext="opfromtm"/>
  117. <Column id="optotm" type="STRING" size="256" sumtext="optotm"/>
  118. <Column id="preanstmthdinfo" type="STRING" size="256" sumtext="preanstmthdinfo"/>
  119. <Column id="dscnyn" type="STRING" size="256" sumtext="dscnyn"/>
  120. <Column id="reqdeptcd" type="STRING" size="256" sumtext="reqdeptcd"/>
  121. <Column id="reqclrsdeptcd" type="STRING" size="256" sumtext="reqclrsdeptcd"/>
  122. <Column id="reqdrid" type="STRING" size="256" sumtext="reqdrid"/>
  123. <Column id="reqdd" type="STRING" size="256" sumtext="reqdd"/>
  124. <Column id="execdeptcd" type="STRING" size="256" sumtext="execdeptcd"/>
  125. <Column id="execlrsdeptcd" type="STRING" size="256" sumtext="execlrsdeptcd"/>
  126. <Column id="execdrid" type="STRING" size="256" sumtext="execdrid"/>
  127. <Column id="execdd" type="STRING" size="256" sumtext="execdd"/>
  128. <Column id="chngdeptyn" type="STRING" size="256" sumtext="chngdeptyn"/>
  129. <Column id="chngdeptdd" type="STRING" size="256" sumtext="chngdeptdd"/>
  130. <Column id="chngdeptcd" type="STRING" size="256" sumtext="chngdeptcd"/>
  131. <Column id="chngclrsdeptcd" type="STRING" size="256" sumtext="chngclrsdeptcd"/>
  132. <Column id="chngdeptdrid" type="STRING" size="256" sumtext="chngdeptdrid"/>
  133. <Column id="chngdeptdayno" type="STRING" size="256" sumtext="chngdeptdayno"/>
  134. <Column id="chngdeptmaindiagcd" type="STRING" size="256" sumtext="chngdeptmaindiagcd"/>
  135. <Column id="dswmyn" type="STRING" size="256" sumtext="dswmyn"/>
  136. <Column id="womntypecd" type="STRING" size="256" sumtext="womntypecd"/>
  137. <Column id="partrtnrsltcnt" type="STRING" size="256" sumtext="partrtnrsltcnt"/>
  138. <Column id="partrtndd" type="STRING" size="256" sumtext="partrtndd"/>
  139. <Column id="stlborncnt" type="STRING" size="256" sumtext="stlborncnt"/>
  140. <Column id="nbabyid" type="STRING" size="256" sumtext="nbabyid"/>
  141. <Column id="partrtneprccd" type="STRING" size="256" sumtext="partrtneprccd"/>
  142. <Column id="nbabygubun" type="STRING" size="256" sumtext="신생아구분"/>
  143. <Column id="womnid" type="STRING" size="256" sumtext="womnid"/>
  144. <Column id="partrtnkindcd" type="STRING" size="256" sumtext="partrtnkindcd"/>
  145. <Column id="prgweekcnt" type="STRING" size="256" sumtext="prgweekcnt"/>
  146. <Column id="prgdayno" type="STRING" size="256" sumtext="prgdayno"/>
  147. <Column id="nbabybdwtqty" type="STRING" size="256" sumtext="nbabybdwtqty"/>
  148. <Column id="nbicu" type="STRING" size="256" sumtext="신생아중환자실"/>
  149. <Column id="micu" type="STRING" size="256" sumtext="MICU"/>
  150. <Column id="sicu" type="STRING" size="256" sumtext="SICU"/>
  151. <Column id="nicu" type="STRING" size="256" sumtext="NSICU"/>
  152. <Column id="ccu" type="STRING" size="256" sumtext="CICU"/>
  153. <Column id="picu" type="STRING" size="256" sumtext="PICU"/>
  154. <Column id="eicu" type="STRING" size="256" sumtext="응급센터중환자실"/>
  155. <Column id="ccusu" type="STRING" size="256" sumtext="심뇌혈관질환응급치료실"/>
  156. <Column id="icu032" type="STRING" size="256" sumtext="칠곡중환자실"/>
  157. <Column id="icudethyn" type="STRING" size="256" sumtext="icudethyn"/>
  158. <Column id="reinyn" type="STRING" size="256" sumtext="reinyn"/>
  159. <Column id="qiindx1" type="STRING" size="256" sumtext="qiindx1"/>
  160. <Column id="qiindx2" type="STRING" size="256" sumtext="qiindx2"/>
  161. <Column id="qiindx3" type="STRING" size="256" sumtext="qiindx3"/>
  162. <Column id="qiindx4" type="STRING" size="256" sumtext="qiindx4"/>
  163. <Column id="qiindx5" type="STRING" size="256" sumtext="qiindx5"/>
  164. <Column id="qiindx6" type="STRING" size="256" sumtext="qiindx6"/>
  165. <Column id="qiindx7" type="STRING" size="256" sumtext="qiindx7"/>
  166. <Column id="qiindx8" type="STRING" size="256" sumtext="qiindx8"/>
  167. <Column id="qiindx9" type="STRING" size="256" sumtext="qiindx9"/>
  168. <Column id="qiindx10" type="STRING" size="256" sumtext="qiindx10"/>
  169. <Column id="cncrrgstyn" type="STRING" size="256" sumtext="cncrrgstyn"/>
  170. <Column id="cncrflag" type="STRING" size="256" sumtext="cncrflag"/>
  171. <Column id="infdis1" type="STRING" size="256" sumtext="infdis1"/>
  172. <Column id="infdis2" type="STRING" size="256" sumtext="infdis2"/>
  173. <Column id="infdis3" type="STRING" size="256" sumtext="infdis3"/>
  174. <Column id="infdis4" type="STRING" size="256" sumtext="infdis4"/>
  175. <Column id="cctermcd1" type="STRING" size="256" sumtext="cctermcd1"/>
  176. <Column id="cctermcd2" type="STRING" size="256" sumtext="cctermcd2"/>
  177. <Column id="cctermcd3" type="STRING" size="256" sumtext="cctermcd3"/>
  178. <Column id="cctermcd4" type="STRING" size="256" sumtext="cctermcd4"/>
  179. <Column id="cctermcd5" type="STRING" size="256" sumtext="cctermcd5"/>
  180. <Column id="diagcd1" type="STRING" size="256" sumtext="diagcd1"/>
  181. <Column id="diagcd2" type="STRING" size="256" sumtext="diagcd2"/>
  182. <Column id="diagcd3" type="STRING" size="256" sumtext="diagcd3"/>
  183. <Column id="diagcd4" type="STRING" size="256" sumtext="diagcd4"/>
  184. <Column id="diagcd5" type="STRING" size="256" sumtext="diagcd5"/>
  185. <Column id="diagcd6" type="STRING" size="256" sumtext="diagcd6"/>
  186. <Column id="diagcd7" type="STRING" size="256" sumtext="diagcd7"/>
  187. <Column id="diagcd8" type="STRING" size="256" sumtext="diagcd8"/>
  188. <Column id="diagcd9" type="STRING" size="256" sumtext="diagcd9"/>
  189. <Column id="diagcd10" type="STRING" size="256" sumtext="diagcd10"/>
  190. <Column id="diagcd11" type="STRING" size="256" sumtext="diagcd11"/>
  191. <Column id="diagcd12" type="STRING" size="256" sumtext="diagcd12"/>
  192. <Column id="diagcd13" type="STRING" size="256" sumtext="diagcd13"/>
  193. <Column id="diagcd14" type="STRING" size="256" sumtext="diagcd14"/>
  194. <Column id="diagcd15" type="STRING" size="256" sumtext="diagcd15"/>
  195. <Column id="diagcd16" type="STRING" size="256" sumtext="diagcd16"/>
  196. <Column id="diagcd17" type="STRING" size="256" sumtext="diagcd17"/>
  197. <Column id="diagcd18" type="STRING" size="256" sumtext="diagcd18"/>
  198. <Column id="diagcd19" type="STRING" size="256" sumtext="diagcd19"/>
  199. <Column id="diagcd20" type="STRING" size="256" sumtext="diagcd20"/>
  200. <Column id="opcd1" type="STRING" size="256" sumtext="opcd1"/>
  201. <Column id="opcd2" type="STRING" size="256" sumtext="opcd2"/>
  202. <Column id="opcd3" type="STRING" size="256" sumtext="opcd3"/>
  203. <Column id="opcd4" type="STRING" size="256" sumtext="opcd4"/>
  204. <Column id="opcd5" type="STRING" size="256" sumtext="opcd5"/>
  205. <Column id="opcd6" type="STRING" size="256" sumtext="opcd6"/>
  206. <Column id="opcd7" type="STRING" size="256" sumtext="opcd7"/>
  207. <Column id="opcd8" type="STRING" size="256" sumtext="opcd8"/>
  208. <Column id="opcd9" type="STRING" size="256" sumtext="opcd9"/>
  209. <Column id="opcd10" type="STRING" size="256" sumtext="opcd10"/>
  210. <Column id="opcd11" type="STRING" size="256" sumtext="opcd11"/>
  211. <Column id="opcd12" type="STRING" size="256" sumtext="opcd12"/>
  212. <Column id="opcd13" type="STRING" size="256" sumtext="opcd13"/>
  213. <Column id="opcd14" type="STRING" size="256" sumtext="opcd14"/>
  214. <Column id="opcd15" type="STRING" size="256" sumtext="opcd15"/>
  215. <Column id="opcd16" type="STRING" size="256" sumtext="opcd16"/>
  216. <Column id="opcd17" type="STRING" size="256" sumtext="opcd17"/>
  217. <Column id="opcd18" type="STRING" size="256" sumtext="opcd18"/>
  218. <Column id="opcd19" type="STRING" size="256" sumtext="opcd19"/>
  219. <Column id="opcd20" type="STRING" size="256" sumtext="opcd20"/>
  220. <Column id="bfdethcd" type="STRING" size="256" sumtext="bfdethcd"/>
  221. <Column id="mdldethcd" type="STRING" size="256" sumtext="mdldethcd"/>
  222. <Column id="direcdethcd" type="STRING" size="256" sumtext="direcdethcd"/>
  223. <Column id="diagcdnm1" type="STRING" size="256" sumtext="diagcdnm1"/>
  224. <Column id="diagcdnm2" type="STRING" size="256" sumtext="diagcdnm2"/>
  225. <Column id="diagcdnm3" type="STRING" size="256" sumtext="diagcdnm3"/>
  226. <Column id="diagcdnm4" type="STRING" size="256" sumtext="diagcdnm4"/>
  227. <Column id="diagcdnm5" type="STRING" size="256" sumtext="diagcdnm5"/>
  228. <Column id="diagcdnm6" type="STRING" size="256" sumtext="diagcdnm6"/>
  229. <Column id="diagcdnm7" type="STRING" size="256" sumtext="diagcdnm7"/>
  230. <Column id="diagcdnm8" type="STRING" size="256" sumtext="diagcdnm8"/>
  231. <Column id="diagcdnm9" type="STRING" size="256" sumtext="diagcdnm9"/>
  232. <Column id="diagcdnm10" type="STRING" size="256" sumtext="diagcdnm10"/>
  233. <Column id="diagcdnm11" type="STRING" size="256" sumtext="diagcdnm11"/>
  234. <Column id="diagcdnm12" type="STRING" size="256" sumtext="diagcdnm12"/>
  235. <Column id="diagcdnm13" type="STRING" size="256" sumtext="diagcdnm13"/>
  236. <Column id="diagcdnm14" type="STRING" size="256" sumtext="diagcdnm14"/>
  237. <Column id="diagcdnm15" type="STRING" size="256" sumtext="diagcdnm15"/>
  238. <Column id="diagcdnm16" type="STRING" size="256" sumtext="diagcdnm16"/>
  239. <Column id="diagcdnm17" type="STRING" size="256" sumtext="diagcdnm17"/>
  240. <Column id="diagcdnm18" type="STRING" size="256" sumtext="diagcdnm18"/>
  241. <Column id="diagcdnm19" type="STRING" size="256" sumtext="diagcdnm19"/>
  242. <Column id="diagcdnm20" type="STRING" size="256" sumtext="diagcdnm20"/>
  243. <Column id="opcdnm1" type="STRING" size="256" sumtext="opcdnm1"/>
  244. <Column id="opcdnm2" type="STRING" size="256" sumtext="opcdnm2"/>
  245. <Column id="opcdnm3" type="STRING" size="256" sumtext="opcdnm3"/>
  246. <Column id="opcdnm4" type="STRING" size="256" sumtext="opcdnm4"/>
  247. <Column id="opcdnm5" type="STRING" size="256" sumtext="opcdnm5"/>
  248. <Column id="opcdnm6" type="STRING" size="256" sumtext="opcdnm6"/>
  249. <Column id="opcdnm7" type="STRING" size="256" sumtext="opcdnm7"/>
  250. <Column id="opcdnm8" type="STRING" size="256" sumtext="opcdnm8"/>
  251. <Column id="opcdnm9" type="STRING" size="256" sumtext="opcdnm9"/>
  252. <Column id="opcdnm10" type="STRING" size="256" sumtext="opcdnm10"/>
  253. <Column id="opcdnm11" type="STRING" size="256" sumtext="opcdnm11"/>
  254. <Column id="opcdnm12" type="STRING" size="256" sumtext="opcdnm12"/>
  255. <Column id="opcdnm13" type="STRING" size="256" sumtext="opcdnm13"/>
  256. <Column id="opcdnm14" type="STRING" size="256" sumtext="opcdnm14"/>
  257. <Column id="opcdnm15" type="STRING" size="256" sumtext="opcdnm15"/>
  258. <Column id="opcdnm16" type="STRING" size="256" sumtext="opcdnm16"/>
  259. <Column id="opcdnm17" type="STRING" size="256" sumtext="opcdnm17"/>
  260. <Column id="opcdnm18" type="STRING" size="256" sumtext="opcdnm18"/>
  261. <Column id="opcdnm19" type="STRING" size="256" sumtext="opcdnm19"/>
  262. <Column id="opcdnm20" type="STRING" size="256" sumtext="opcdnm20"/>
  263. <Column id="cncrno" type="STRING" size="256" sumtext="cncrno"/>
  264. <Column id="prmycncryn" type="STRING" size="256" sumtext="prmycncryn"/>
  265. <Column id="dethyn" type="STRING" size="256" sumtext="dethyn"/>
  266. <Column id="yearcnt" type="STRING" size="256" sumtext="yearcnt"/>
  267. <Column id="monthcnt" type="STRING" size="256" sumtext="monthcnt"/>
  268. <Column id="lastdiagmthdcd" type="STRING" size="256" sumtext="lastdiagmthdcd"/>
  269. <Column id="clinical" type="STRING" size="256" sumtext="clinical"/>
  270. <Column id="tophcd" type="STRING" size="256" sumtext="tophcd"/>
  271. <Column id="morphcd1" type="STRING" size="256" sumtext="morphcd1"/>
  272. <Column id="morphcd2" type="STRING" size="256" sumtext="morphcd2"/>
  273. <Column id="icd10cd" type="STRING" size="256" sumtext="icd10cd"/>
  274. <Column id="seer" type="STRING" size="256" sumtext="seer"/>
  275. <Column id="t" type="STRING" size="256" sumtext="t"/>
  276. <Column id="n" type="STRING" size="256" sumtext="n"/>
  277. <Column id="m" type="STRING" size="256" sumtext="m"/>
  278. <Column id="etcstagflagcd" type="STRING" size="256" sumtext="etcstagflagcd"/>
  279. <Column id="etcstagcnts" type="STRING" size="256" sumtext="etcstagcnts"/>
  280. <Column id="rerntmetstaspartnm1" type="STRING" size="256" sumtext="rerntmetstaspartnm1"/>
  281. <Column id="rerntmetstaspartnm2" type="STRING" size="256" sumtext="rerntmetstaspartnm2"/>
  282. <Column id="rerntmetstaspartnm3" type="STRING" size="256" sumtext="rerntmetstaspartnm3"/>
  283. <Column id="rerntmetstaspartnm4" type="STRING" size="256" sumtext="rerntmetstaspartnm4"/>
  284. <Column id="ecog" type="STRING" size="256" sumtext="ecog"/>
  285. <Column id="regimen1" type="STRING" size="256" sumtext="regimen1"/>
  286. <Column id="regimen2" type="STRING" size="256" sumtext="regimen2"/>
  287. <Column id="chosbfcurecd1" type="STRING" size="256" sumtext="chosbfcurecd1"/>
  288. <Column id="chosbfcurecd2" type="STRING" size="256" sumtext="chosbfcurecd2"/>
  289. <Column id="chosbfcurecd3" type="STRING" size="256" sumtext="chosbfcurecd3"/>
  290. <Column id="prmypartcurecd1" type="STRING" size="256" sumtext="prmypartcurecd1"/>
  291. <Column id="prmypartcurecd2" type="STRING" size="256" sumtext="prmypartcurecd2"/>
  292. <Column id="prmypartcurecd3" type="STRING" size="256" sumtext="prmypartcurecd3"/>
  293. <Column id="metstaspartcurecd1" type="STRING" size="256" sumtext="metstaspartcurecd1"/>
  294. <Column id="metstaspartcurecd2" type="STRING" size="256" sumtext="metstaspartcurecd2"/>
  295. <Column id="metstaspartcurecd3" type="STRING" size="256" sumtext="metstaspartcurecd3"/>
  296. <Column id="inward" type="STRING" size="256" sumtext="inward"/>
  297. <Column id="dschward" type="STRING" size="256" sumtext="dschward"/>
  298. </ColumnInfo>
  299. </Dataset>
  300. <Dataset id="ds_main_templist_row" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  301. </Objects>
  302. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  303. * System Name :
  304. * Job Name :
  305. * Creator :
  306. * Make Date : 2015-11-13
  307. * Description :
  308. *---------------------------------------------------------------------------------------
  309. * Modify Date Modifier Modify Description
  310. *---------------------------------------------------------------------------------------
  311. * 2015-11-13 Live Converter TF->XP
  312. *
  313. *---------------------------------------------------------------------------------------
  314. ****************************************************************************************/
  315. include "com_commonxp::comm_main.xjs";
  316. function SMMRD01800_oninit(obj:Form, e:InitEventInfo)
  317. {
  318. frmf_initForm(obj);
  319. }
  320. function SMMRD01800_onload(obj:Form, e:LoadEventInfo)
  321. {
  322. grdf_initGrid(grd_list);
  323. }
  324. function fSearchList()
  325. {
  326. //ref 및 caption값 고정
  327. var colString = "";
  328. var refString = "";
  329. //기본정보
  330. var baseRefString = "pid^hngnm^indd^erintm^erouttm^indeptcd^inclrsdeptcd^indrid^inapprtcdrid^inward^dschdd^dschdeptcd^dschclrsdeptcd^dschdrid^dschapprtcdrid^dschward^indg^totinhospdayno^age^sexflag^forgeryn^zipcd"; //기본정보
  331. var baseString = "등록번호^환자명^입원일^내원시간(ER)^퇴실시간(ER)^입원과^입원분과^입원담당교수^입원담당의^입원병동^퇴원일^퇴원과^퇴원분과^퇴원담당교수^퇴원담당의^퇴원병동^회차^재원일수^나이^성별^외국인여부^우편번호"; //기본정보
  332. "^opbfinhospdayno^lastdschyy^religncd^marystatcd^jobcd^specordyn^insukind^cptrgtyn^wundcasclscd^curersltcd^dethtypecd^dschtypecd^opdethtypecd^chosprogcd^inpathcd^reinresncd^reinpyn^reopresncd^infccascd^infcpartcd^cmplcd^spcscnt^spcnscnt^opyn^gnrlanstcnt^prtanstcnt^tpclanstcnt";
  333. //퇴원분석 part1
  334. var dschanalyRefStr1 = "^fstrgstdd^fstrgstrid^opbfinhospdayno^lastdschyy^religncd^marystatcd^jobcd^specordyn^insukind^cptrgtyn^wundcasclscd^curersltcd^dethtypecd^dschtypecd^opdethtypecd^chosprogcd^inpathcd^reinresncd^reinpyn^reopresncd^infccascd^infcpartcd^cmplcd^spcscnt^spcnscnt^opyn^gnrlanstcnt^prtanstcnt^tpclanstcnt";
  335. var dschanalyStr1 = "^작성일^작성자^수술전 재원일수^최종 퇴원년도^종교^결혼상태^직업^선택진료^보험유형^CP대상^상해원인분류^치료결과^사망형태^퇴원형태^수술사망^내원경위^입원경로^재입원(U)^재입원(P)^재수술(U)^감염종류1^감염종류2^합병증^생검(S)^생검(NS)^수술여부^전신마취건수^부분마취건수^국소마취건수";
  336. //수술
  337. var opRefStr = "^opdd^opdeptcd^opclrsdeptcd^perfdrid^lastmainopyn^anstmthdcd1^anstmthdcd2^anstmthdcd3^opreqflag^opscaleflag^opfromtm^optotm^preanstmthdinfo";
  338. var opStr = "^수술일자^수술과^수술분과^집도의^최종 주수술여부^마취방법1^마취방법2^마취방법3^정규/응급^수술구분^수술 시작시간^수술 끝 시간^이전 마취 정보";
  339. //퇴원분석 part2
  340. var dschanalyRefStr2 = "^dscnyn";
  341. var dschanalyStr2 = "^협진여부";
  342. //협진
  343. var cnstRefStr = "^reqdeptcd^reqclrsdeptcd^reqdrid^reqdd^execdeptcd^execlrsdeptcd^execdrid^execdd";
  344. var cnstStr = "^의뢰과^의뢰분과^의뢰과의사^의뢰일^시행과^시행분과^시행과의사^시행일";
  345. //퇴원분석 part3
  346. var dschanalyRefStr3 = "^chngdeptyn";
  347. var dschanalyStr3 = "^전과여부";
  348. //전과
  349. var chngdeptRefStr = "^chngdeptdd^chngdeptcd^chngclrsdeptcd^chngdeptdrid^chngdeptdayno^chngdeptmaindiagcd";
  350. var chngdeptStr = "^전출일자^전출과^전출분과^담당교수^전과재원일수^주진단코드";
  351. //퇴원분석 part4
  352. var dschanalyRefStr4 = "^dswmyn";
  353. var dschanalyStr4 = "^분만여부";
  354. //분만형태
  355. var partrtnRefStr = "^womntypecd^partrtnrsltcnt^partrtndd^stlborncnt^nbabyid^partrtneprccd^nbabygubun^womnid^partrtnkindcd^prgweekcnt^prgdayno^nbabybdwtqty";
  356. var partrtnStr = "^산모형태^분만결과^분만일자^사산아수^애기번호^분만경험^구분^산모번호^분만형태^임신주수^임신일^체중";
  357. var dschanalyRefStr5 = "^nbicu^micu^sicu^nicu^ccu^picu^ccusu^eicu^icu032^icudethyn^reinyn^qiindx1^qiindx2^qiindx3^qiindx4^qiindx5^qiindx6^qiindx7^qiindx8^qiindx9^qiindx10";
  358. var dschanalyStr5 = "^신생아중환자실^MICU^SICU^NSICU^CICU^PICU^심뇌혈관질환응급치료실^EICU^칠곡중환자실^중환자실 사망^재입실 여부^지표관리1^지표관리2^지표관리3^지표관리4^지표관리5^지표관리6^지표관리7^지표관리8^지표관리9^지표관리10";
  359. //질병 및 수술 분류
  360. var chkopt = ds_main_cond.getColumn(0, "chkopt");
  361. if(chkopt == "Y")
  362. {
  363. var sickandopRefStr = "^cncrrgstyn^cncrflag^infdis1^infdis2^infdis3^infdis4^cctermcd1^cctermcd2^cctermcd3^cctermcd4^cctermcd5^diagcd1^diagcdnm1^diagcd2^diagcdnm2^diagcd3^diagcdnm3^diagcd4^diagcdnm4^diagcd5^diagcdnm5^diagcd6^diagcdnm6^diagcd7^diagcdnm7^diagcd8^diagcdnm8^diagcd9^diagcdnm9^diagcd10^diagcdnm10^diagcd11^diagcdnm11^diagcd12^diagcdnm12^diagcd13^diagcdnm13^diagcd14^diagcdnm14^diagcd15^diagcdnm15^diagcd16^diagcdnm16^diagcd17^diagcdnm17^diagcd18^diagcdnm18^diagcd19^diagcdnm19^diagcd20^diagcdnm20^opcd1^opcdnm1^opcd2^opcdnm2^opcd3^opcdnm3^opcd4^opcdnm4^opcd5^opcdnm5^opcd6^opcdnm6^opcd7^opcdnm7^opcd8^opcdnm8^opcd9^opcdnm9^opcd10^opcdnm10^opcd11^opcdnm11^opcd12^opcdnm12^opcd13^opcdnm13^opcd14^opcdnm14^opcd15^opcdnm15^opcd16^opcdnm16^opcd17^opcdnm17^opcd18^opcdnm18^opcd19^opcdnm19^opcd20^opcdnm20^bfdethcd^mdldethcd^direcdethcd";
  364. var sickandopStr = "^암등록여부^종양구분^전염병1^전염병2^전염병3^전염병4^주호소1^주호소2^주호소3^주호소4^주호소5^진단1^진단명1^진단2^진단명2^진단3^진단명3^진단4^진단명4^진단5^진단명5^진단6^진단명6^진단7^진단명7^진단8^진단명8^진단9^진단명9^진단10^진단명10^진단11^진단명11^진단12^진단명12^진단13^진단명13^진단14^진단명14^진단15^진단명15^진단16^진단명16^진단17^진단명17^진단18^진단명18^진단19^진단명19^진단20^진단명20^수술1^수술명1^수술2^수술명2^수술3^수술명3^수술4^수술명4^수술5^수술명5^수술6^수술명6^수술7^수술명7^수술8^수술명8^수술9^수술명9^수술10^수술명10^수술11^수술명11^수술12^수술명12^수술13^수술명13^수술14^수술명14^수술15^수술명15^수술16^수술명16^수술17^수술명17^수술18^수술명18^수술19^수술명19^수술20^수술명20^선행사인^중간사인^직접사인";
  365. }
  366. else
  367. {
  368. var sickandopRefStr = "^cncrrgstyn^cncrflag^infdis1^infdis2^infdis3^infdis4^cctermcd1^cctermcd2^cctermcd3^cctermcd4^cctermcd5^diagcd1^diagcd2^diagcd3^diagcd4^diagcd5^diagcd6^diagcd7^diagcd8^diagcd9^diagcd10^diagcd11^diagcd12^diagcd13^diagcd14^diagcd15^diagcd16^diagcd17^diagcd18^diagcd19^diagcd20^opcd1^opcd2^opcd3^opcd4^opcd5^opcd6^opcd7^opcd8^opcd9^opcd10^opcd11^opcd12^opcd13^opcd14^opcd15^opcd16^opcd17^opcd18^opcd19^opcd20^bfdethcd^mdldethcd^direcdethcd";
  369. var sickandopStr = "^암등록여부^종양구분^전염병1^전염병2^전염병3^전염병4^주호소1^주호소2^주호소3^주호소4^주호소5^진단1^진단2^진단3^진단4^진단5^진단6^진단7^진단8^진단9^진단10^진단11^진단12^진단13^진단14^진단15^진단16^진단17^진단18^진단19^진단20^수술1^수술2^수술3^수술4^수술5^수술6^수술7^수술8^수술9^수술10^수술11^수술12^수술13^수술14^수술15^수술16^수술17^수술18^수술19^수술20^선행사인^중간사인^직접사인";
  370. }
  371. //암환자 관리
  372. var cncrpatRefStr = "^cncrno^prmycncryn^dethyn^yearcnt^monthcnt^lastdiagmthdcd^clinical^tophcd^morphcd1^morphcd2^icd10cd^seer^t^n^m^etcstagflagcd^etcstagcnts^rerntmetstaspartnm1^rerntmetstaspartnm2^rerntmetstaspartnm3^rerntmetstaspartnm4^ecog^regimen1^regimen2^chosbfcurecd1^chosbfcurecd2^chosbfcurecd3^prmypartcurecd1^prmypartcurecd2^prmypartcurecd3^metstaspartcurecd1^metstaspartcurecd2^metstaspartcurecd3";
  373. var cncrpatStr = "^암등록번호^다발성원발암 여부^사망여부^생존기간(년)^생존기간(월)^최종진단방법^최종진단방법 기타^T-Code^M-Code1^M-Code2^ICD-10^seer^T^N^M^기타병기구분^기타병기내용^원격전이1^원격전이2^원격전이3^원격전이4^ECOG^regimen1^regimen2^내원전 치료1^내원전 치료2^내원전 치료3^본원치료방법1^본원치료방법2^본원치료방법3^원발부위 치료방법1^원발부위 치료방법2^원발부위 치료방법3";
  374. //조건에따른 ref및 caption 값 설정
  375. var baseinfo = ds_main_cond.getColumn(0, "baseinfo"); //기본정보
  376. var duplelmn = ds_main_cond.getColumn(0, "duplelmn"); //중복제거
  377. var addr = ds_main_cond.getColumn(0, "addr"); //주소
  378. var rrgstno = ds_main_cond.getColumn(0, "rrgstno"); //주민번호
  379. var cntctel = ds_main_cond.getColumn(0, "cntctel");//전화번호
  380. var dschanaly = ds_main_cond.getColumn(0, "dschanaly");//퇴원분석
  381. var sickandop = ds_main_cond.getColumn(0, "sickandop");//질병 및 수술 분류
  382. var cncrpat = ds_main_cond.getColumn(0, "cncrpat");//암환자관리
  383. var opkind = ds_main_cond.getColumn(0, "opkind");// 수술분류
  384. var cnstkind = ds_main_cond.getColumn(0, "cnstkind");//협진분류
  385. var chngdeptkind = ds_main_cond.getColumn(0, "chngdeptkind");//전과분류
  386. var partrtnkind = ds_main_cond.getColumn(0, "partrtnkind");//분만분류
  387. refString = baseRefString;
  388. colString = baseString;
  389. if(addr == "Y")
  390. {
  391. refString += "^addr^detladdr";
  392. colString += "^주소^상세주소";
  393. }
  394. if(rrgstno == "Y")
  395. {
  396. refString += "^rrgstno";
  397. colString += "^주민등록번호";
  398. }
  399. if(cntctel == "Y")
  400. {
  401. refString += "^cntctel";
  402. colString += "^전화번호";
  403. }
  404. if(dschanaly == "Y")
  405. { // 퇴원분석 파트1
  406. refString += dschanalyRefStr1;
  407. colString += dschanalyStr1;
  408. }
  409. if(opkind == "Y")
  410. { // 수술 전체
  411. refString += opRefStr;
  412. colString += opStr;
  413. }
  414. if(dschanaly == "Y")
  415. { // 퇴원분석 파트2
  416. refString += dschanalyRefStr2;
  417. colString += dschanalyStr2;
  418. }
  419. if(cnstkind == "Y")
  420. { // 협진 전체
  421. refString += cnstRefStr;
  422. colString += cnstStr;
  423. }
  424. if(dschanaly == "Y")
  425. { // 퇴원분석 파트3
  426. refString += dschanalyRefStr3;
  427. colString += dschanalyStr3;
  428. }
  429. if(chngdeptkind == "Y")
  430. { //전과
  431. refString += chngdeptRefStr;
  432. colString += chngdeptStr;
  433. }
  434. if(dschanaly == "Y")
  435. { // 퇴원분석 파트4
  436. refString += dschanalyRefStr4;
  437. colString += dschanalyStr4;
  438. }
  439. if(partrtnkind == "Y")
  440. { // 분만
  441. refString += partrtnRefStr;
  442. colString += partrtnStr;
  443. }
  444. if(dschanaly == "Y")
  445. { // 퇴원분석 파트5
  446. refString += dschanalyRefStr5;
  447. colString += dschanalyStr5;
  448. }
  449. if(sickandop == "Y")
  450. { // 질병 및 수술 분류
  451. refString += sickandopRefStr;
  452. colString += sickandopStr;
  453. }
  454. if(cncrpat == "Y")
  455. { // 암환자 관리
  456. refString += cncrpatRefStr;
  457. colString += cncrpatStr;
  458. }
  459. //조회를 위한 그리드 재구성
  460. ds_main_list_stdysrchlist.clearData();
  461. ds_main_cond.setColumn(0, "offset", "0"); // grid의 header row는 제외
  462. var oParam = {};
  463. oParam.id = "TRMRD01600";
  464. oParam.service = "dschanalyapp.DschAnaly";
  465. oParam.method = "reqGetStdySrch";
  466. oParam.inds = "req=ds_main_cond";
  467. oParam.outds = "ds_main_list_stdysrchlist=stdysrchlist";
  468. oParam.async = false;
  469. oParam.callback = "cf_callback";
  470. tranf_submit(oParam);
  471. if(arErrorCode.pop("TRMRD01600") > -1)
  472. {
  473. if (utlf_isNull(ds_main_list_stdysrchlist.getColumn(0, "pid")))
  474. {
  475. sysf_messageBox("조회된 데이타가 없습니다.", "I999");
  476. return false;
  477. }
  478. grd_list.binddataset = "ds_main_templist_row";
  479. // 그리드 초기화
  480. grd_list.setFormatColProperty(0, "band", "body");
  481. var cols = grd_list.getFormatColCount();
  482. for( var i = cols; i > 0; i--)
  483. {
  484. grd_list.deleteContentsCol(i);
  485. }
  486. // 그리드 ref 지정
  487. var refStringArray = refString.split("^");
  488. var colStringArray = colString.split("^");
  489. for( var i = 0; i < refStringArray.length; i++ )
  490. {
  491. grd_list.appendContentsCol();
  492. grd_list.setCellProperty("Head", parseInt(i+1), "text", colStringArray[i]);
  493. grd_list.setCellProperty("Body", parseInt(i+1), "text", "bind:"+refStringArray[i]);
  494. grd_list.setCellProperty("Body", parseInt(i+1), "wordwrap", "word");
  495. grd_list.setCellProperty("Body", parseInt(i+1), "align", "center top");
  496. grd_list.setCellProperty("Body", parseInt(i+1), "padding", "2 2 2 2");
  497. grd_list.setFormatColProperty(parseInt(i+1), "size", 80);
  498. }
  499. grd_list.setFormatColProperty(0, "band", "left");
  500. grd_list.binddataset = "ds_main_list_stdysrchlist";
  501. return true;
  502. }
  503. }
  504. ]]></Script>
  505. </Form>
  506. </FDL>