SPMMO08014_권역외상사망환자조회.xfdl 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO08014" position="absolute 0 0 1180 750" titletext="권역외상센터 사망환자 조회" oninit="SPMMO08014_oninit" onload="SPMMO08014_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 25 1180 65" id="roundrect1" class="div_SA" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Edit id="input2" taborder="0" autoselect="true" onkeydown="input2_onkeydown" position="absolute 522 10 622 29" anchor="left top"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Shape position="absolute 0 70 1180 74" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
  15. <Button position="absolute 1042 35 1098 57" id="btn_search" class="btn1" text="조회" onclick="btn_search_onclick" anchor="top right"/>
  16. <Grid position="absolute 0 74 1180 750" id="grd_troplist" class="datagrid2" binddataset="ds_main_mtrainfo_troplist" anchor="all" cellsizingtype="col" extendsizetype="row" selecttype="multirow" oncelldblclick="grd_troplist_oncelldblclick">
  17. <Formats>
  18. <Format id="default">
  19. <Columns>
  20. <Column size="25"/>
  21. <Column size="50"/>
  22. <Column size="30"/>
  23. <Column size="30"/>
  24. <Column size="25"/>
  25. <Column size="55"/>
  26. <Column size="50"/>
  27. <Column size="25"/>
  28. <Column size="25"/>
  29. <Column size="75"/>
  30. <Column size="70"/>
  31. <Column size="40"/>
  32. <Column size="70"/>
  33. <Column size="40"/>
  34. <Column size="70"/>
  35. <Column size="40"/>
  36. <Column size="90"/>
  37. <Column size="70"/>
  38. <Column size="50"/>
  39. <Column size="50"/>
  40. <Column size="30"/>
  41. <Column size="52"/>
  42. <Column size="52"/>
  43. <Column size="65"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. </Columns>
  52. <Rows>
  53. <Row size="24" band="head"/>
  54. <Row size="24" band="head"/>
  55. <Row size="24"/>
  56. </Rows>
  57. <Band id="head">
  58. <Cell rowspan="2" taborder="undefined"/>
  59. <Cell col="1" rowspan="2" text="사망사례&#13;&#10;분석표" taborder="undefined"/>
  60. <Cell col="2" rowspan="2" text="저장&#13;&#10;상태" taborder="undefined"/>
  61. <Cell col="3" rowspan="2" text="메모" taborder="undefined"/>
  62. <Cell col="4" colspan="19" text="환자기본정보" taborder="undefined"/>
  63. <Cell col="23" rowspan="2" text="예방가능성&#13;&#10;평가" taborder="undefined"/>
  64. <Cell col="24"/>
  65. <Cell col="25"/>
  66. <Cell col="26"/>
  67. <Cell col="27"/>
  68. <Cell col="28"/>
  69. <Cell col="29"/>
  70. <Cell col="30"/>
  71. <Cell row="1" col="4" text="중증"/>
  72. <Cell row="1" col="5" text="등록번호"/>
  73. <Cell row="1" col="6" text="환자명"/>
  74. <Cell row="1" col="7" text="성별"/>
  75. <Cell row="1" col="8" text="나이"/>
  76. <Cell row="1" col="9" text="퇴실종류"/>
  77. <Cell row="1" col="10" colspan="2" text="사고일시" taborder="undefined"/>
  78. <Cell row="1" col="12" colspan="2" text="내원일시" taborder="undefined"/>
  79. <Cell row="1" col="14" colspan="2" text="사망일시" taborder="undefined"/>
  80. <Cell row="1" col="16" text="주진단"/>
  81. <Cell row="1" col="17" text="주진료과"/>
  82. <Cell row="1" col="18" text="담당교수"/>
  83. <Cell row="1" col="19" text="담당의"/>
  84. <Cell row="1" col="20" text="ISS"/>
  85. <Cell row="1" col="21" text="Triss"/>
  86. <Cell row="1" col="22" text="Ps"/>
  87. <Cell row="1" col="24" text="head"/>
  88. <Cell row="1" col="25" text="face"/>
  89. <Cell row="1" col="26" text="chest"/>
  90. <Cell row="1" col="27" text="abdomen"/>
  91. <Cell row="1" col="28" text="extremity"/>
  92. <Cell row="1" col="29" text="external"/>
  93. <Cell row="1" col="30" text="iss"/>
  94. </Band>
  95. <Band id="body">
  96. <Cell celltype="head" text="expr:currow + 1"/>
  97. <Cell col="1" displaytype="combo" style="align:center;" text="bind:fielsaveyn" combodataset="ds_fielsaveyn" combocodecol="value" combodatacol="label"/>
  98. <Cell col="2" displaytype="combo" style="align:center;color:EXPR(!utlf_isNull(status) ? (status == 'T' ? '#0000ff' : '#333333') : '#333333');" text="bind:status" combodataset="ds_status" combocodecol="value" combodatacol="label"/>
  99. <Cell col="3" style="align:left middle;" text="bind:memo"/>
  100. <Cell col="4" text="bind:serflag"/>
  101. <Cell col="5" text="bind:pid"/>
  102. <Cell col="6" text="bind:hngnm"/>
  103. <Cell col="7" text="bind:sex"/>
  104. <Cell col="8" text="bind:age"/>
  105. <Cell col="9" style="align:left middle;" text="bind:erptemrt"/>
  106. <Cell col="10" text="bind:trmshudt" mask="expr:!utlf_isNull(trmshudt) ? (trmshudt != '-' ? '####-##-##' : '') : ''"/>
  107. <Cell col="11" text="bind:trmshutm" mask="expr:!utlf_isNull(trmshutm) ? '##:##' : ''"/>
  108. <Cell col="12" text="bind:chosdd" mask="expr:!utlf_isNull(chosdd) ? (chosdd != '-' ? '####-##-##' : '') : ''"/>
  109. <Cell col="13" text="bind:chostm" mask="expr:!utlf_isNull(chostm) ? '##:##' : ''"/>
  110. <Cell col="14" text="bind:dethdd" mask="expr:!utlf_isNull(dethdd) ? (dethdd != '-' ? '####-##-##' : '') : ''"/>
  111. <Cell col="15" text="bind:dethtm" mask="expr:!utlf_isNull(dethtm) ? '##:##' : ''"/>
  112. <Cell col="16" style="align:left middle;" text="bind:diagnm"/>
  113. <Cell col="17" text="bind:orddeptnm"/>
  114. <Cell col="18" text="bind:jatdoctnm"/>
  115. <Cell col="19" text="bind:datdoctnm"/>
  116. <Cell col="20" text="bind:iss"/>
  117. <Cell col="21" text="bind:triss"/>
  118. <Cell col="22" text="bind:ps"/>
  119. <Cell col="23" displaytype="combo" text="bind:prepbass" combodataset="ds_prepbass" combocodecol="value" combodatacol="label"/>
  120. <Cell col="24" text="bind:head"/>
  121. <Cell col="25" text="bind:face"/>
  122. <Cell col="26" text="bind:chest"/>
  123. <Cell col="27" text="bind:abdomen"/>
  124. <Cell col="28" text="bind:extremity"/>
  125. <Cell col="29" text="bind:external"/>
  126. <Cell col="30" text="bind:iss"/>
  127. </Band>
  128. </Format>
  129. </Formats>
  130. </Grid>
  131. <Combo position="absolute 100 36 185 55" id="combo3" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn">
  132. <Dataset id="innerdataset">
  133. <ColumnInfo>
  134. <Column id="codecolumn"/>
  135. <Column id="datacolumn"/>
  136. </ColumnInfo>
  137. <Rows>
  138. <Row>
  139. <Col id="codecolumn">1</Col>
  140. <Col id="datacolumn">퇴원일</Col>
  141. </Row>
  142. <Row>
  143. <Col id="codecolumn">2</Col>
  144. <Col id="datacolumn">내원일</Col>
  145. </Row>
  146. </Rows>
  147. </Dataset>
  148. </Combo>
  149. <Calendar position="absolute 200 36 293 55" id="input3" class="input_search" autoselect="true" dateformat="yyyy-MM-dd" value="null"/>
  150. <Calendar position="absolute 318 36 411 55" id="input1" class="input_search" autoselect="true" dateformat="yyyy-MM-dd"/>
  151. <Static text="~" position="absolute 300 36 320 56" id="caption1"/>
  152. <Static text="검색조건 :" position="absolute 10 38 93 55" id="caption8" class="search_name"/>
  153. <Static text="권역외상센터 사망환자 조회" position="absolute 0 0 225 25" id="caption6" class="tit_1"/>
  154. <Shape position="absolute 1019 34 1025 57" linetype="vertical" id="line2" anchor="top right"/>
  155. <Button position="absolute 1100 35 1168 57" id="btn_excel" class="btn7" text="Excel" onclick="btn_excel_onclick" anchor="top right"/>
  156. <Static id="caption00" text="환자번호 :" class="search_name" position="absolute 442 38 525 55"/>
  157. <Grid id="grd_troplist_ex" class="datagrid2" taborder="2" binddataset="ds_main_mtrainfo_troplist_ex" useinputpanel="false" selecttype="multirow" extendsizetype="row" cellsizingtype="col" position="absolute 8 264 1172 702" anchor="all" visible="false">
  158. <Formats>
  159. <Format id="default">
  160. <Columns>
  161. <Column size="30"/>
  162. <Column size="60"/>
  163. <Column size="50"/>
  164. <Column size="30"/>
  165. <Column size="30"/>
  166. <Column size="80"/>
  167. <Column size="70"/>
  168. <Column size="40"/>
  169. <Column size="70"/>
  170. <Column size="40"/>
  171. <Column size="70"/>
  172. <Column size="40"/>
  173. <Column size="300"/>
  174. <Column size="100"/>
  175. <Column size="70"/>
  176. <Column size="50"/>
  177. <Column size="50"/>
  178. <Column size="60"/>
  179. <Column size="60"/>
  180. <Column size="60"/>
  181. <Column size="60"/>
  182. <Column size="0"/>
  183. <Column size="0"/>
  184. <Column size="0"/>
  185. <Column size="0"/>
  186. <Column size="0"/>
  187. <Column size="0"/>
  188. <Column size="0"/>
  189. <Column size="60"/>
  190. <Column size="60"/>
  191. <Column size="60"/>
  192. <Column size="60"/>
  193. <Column size="60"/>
  194. <Column size="60"/>
  195. <Column size="60"/>
  196. <Column size="60"/>
  197. <Column size="60"/>
  198. <Column size="60"/>
  199. <Column size="64"/>
  200. <Column size="60"/>
  201. <Column size="150"/>
  202. <Column size="140"/>
  203. <Column size="60"/>
  204. <Column size="150"/>
  205. <Column size="90"/>
  206. <Column size="90"/>
  207. <Column size="100"/>
  208. <Column size="70"/>
  209. <Column size="70"/>
  210. <Column size="70"/>
  211. <Column size="70"/>
  212. <Column size="70"/>
  213. <Column size="70"/>
  214. <Column size="70"/>
  215. <Column size="70"/>
  216. <Column size="70"/>
  217. <Column size="60"/>
  218. </Columns>
  219. <Rows>
  220. <Row size="24" band="head"/>
  221. <Row size="24" band="head"/>
  222. <Row size="24"/>
  223. </Rows>
  224. <Band id="head">
  225. <Cell colspan="21" text="환자기본정보" taborder="undefined"/>
  226. <Cell col="21"/>
  227. <Cell col="22"/>
  228. <Cell col="23"/>
  229. <Cell col="24"/>
  230. <Cell col="25"/>
  231. <Cell col="26"/>
  232. <Cell col="27"/>
  233. <Cell col="28" rowspan="2" colspan="5" text="사망에 직접적인 영향을 준 문제가 발생한 단계 및 장소" taborder="undefined"/>
  234. <Cell col="33" rowspan="2" colspan="6" text="사망원인" taborder="undefined"/>
  235. <Cell col="39" colspan="5" text="정보의 가용성과 정확도" taborder="undefined"/>
  236. <Cell col="44" colspan="12" text="손상 정도와 진료의 질에 대한 평가" taborder="undefined"/>
  237. <Cell col="56" rowspan="2" text="예방가능성&#13;&#10;평가" taborder="undefined"/>
  238. <Cell row="1" text="중증"/>
  239. <Cell row="1" col="1" text="등록번호"/>
  240. <Cell row="1" col="2" text="환자명"/>
  241. <Cell row="1" col="3" text="성별"/>
  242. <Cell row="1" col="4" text="나이"/>
  243. <Cell row="1" col="5" text="퇴실종류"/>
  244. <Cell row="1" col="6" colspan="2" text="사고일시" taborder="undefined"/>
  245. <Cell row="1" col="8" colspan="2" text="내원일시" taborder="undefined"/>
  246. <Cell row="1" col="10" colspan="2" text="사망일시" taborder="undefined"/>
  247. <Cell row="1" col="12" text="사고시각부터 사망에 이른시간(사망일시-사고일시)(분)"/>
  248. <Cell row="1" col="13" text="주진단"/>
  249. <Cell row="1" col="14" text="주진료과"/>
  250. <Cell row="1" col="15" text="담당교수"/>
  251. <Cell row="1" col="16" text="담당의"/>
  252. <Cell row="1" col="17" text="사고기전"/>
  253. <Cell row="1" col="18" text="손상유형"/>
  254. <Cell row="1" col="19" text="전원여부"/>
  255. <Cell row="1" col="20" text="이송수단"/>
  256. <Cell row="1" col="21" text="head"/>
  257. <Cell row="1" col="22" text="face"/>
  258. <Cell row="1" col="23" text="chest"/>
  259. <Cell row="1" col="24" text="abdomen"/>
  260. <Cell row="1" col="25" text="extremity"/>
  261. <Cell row="1" col="26" text="external"/>
  262. <Cell row="1" col="27" text="iss"/>
  263. <Cell row="1" col="39" text="구급일지"/>
  264. <Cell row="1" col="40" text="전 병원 의무기록이나 영상"/>
  265. <Cell row="1" col="41" text="병원 의무기록이나 영상"/>
  266. <Cell row="1" col="42" text="사망진단서"/>
  267. <Cell row="1" col="43" text="ISS등 trauma registry"/>
  268. <Cell row="1" col="44" text="내원시 수축기압"/>
  269. <Cell row="1" col="45" text="내원시 호흡수"/>
  270. <Cell row="1" col="46" text="내원시 GCS(전체)"/>
  271. <Cell row="1" col="47" text="head"/>
  272. <Cell row="1" col="48" text="face"/>
  273. <Cell row="1" col="49" text="chest"/>
  274. <Cell row="1" col="50" text="abdomen"/>
  275. <Cell row="1" col="51" text="extremity"/>
  276. <Cell row="1" col="52" text="external"/>
  277. <Cell row="1" col="53" text="최종 ISS"/>
  278. <Cell row="1" col="54" text="Triss"/>
  279. <Cell row="1" col="55" text="Ps"/>
  280. </Band>
  281. <Band id="body">
  282. <Cell text="bind:serflag"/>
  283. <Cell col="1" text="bind:pid"/>
  284. <Cell col="2" text="bind:hngnm"/>
  285. <Cell col="3" text="bind:sex"/>
  286. <Cell col="4" text="bind:age"/>
  287. <Cell col="5" style="align:left middle;" text="bind:erptemrt"/>
  288. <Cell col="6" text="bind:trmshudt" mask="expr:!utlf_isNull(trmshudt) ? (trmshudt != '-' ? '####-##-##' : '') : ''"/>
  289. <Cell col="7" text="bind:trmshutm" mask="expr:!utlf_isNull(trmshutm) ? '##:##' : ''"/>
  290. <Cell col="8" text="bind:chosdd" mask="expr:!utlf_isNull(chosdd) ? (chosdd != '-' ? '####-##-##' : '') : ''"/>
  291. <Cell col="9" text="bind:chostm" mask="expr:!utlf_isNull(chostm) ? '##:##' : ''"/>
  292. <Cell col="10" text="bind:dethdd" mask="expr:!utlf_isNull(dethdd) ? (dethdd != '-' ? '####-##-##' : '') : ''"/>
  293. <Cell col="11" text="bind:dethtm" mask="expr:!utlf_isNull(dethtm) ? '##:##' : ''"/>
  294. <Cell col="12" text="bind:deathinterval"/>
  295. <Cell col="13" style="align:left middle;" text="bind:diagnm"/>
  296. <Cell col="14" text="bind:orddeptnm"/>
  297. <Cell col="15" text="bind:jatdoctnm"/>
  298. <Cell col="16" text="bind:datdoctnm"/>
  299. <Cell col="17" displaytype="combo" style="align:center;" text="bind:ackn" combodataset="ds_ackn" combocodecol="value" combodatacol="label"/>
  300. <Cell col="18" displaytype="combo" style="align:center;" text="bind:dmtp" combodataset="ds_dmtp" combocodecol="value" combodatacol="label"/>
  301. <Cell col="19" displaytype="combo" text="bind:trkn" combodataset="ds_trkn" combocodecol="value" combodatacol="label"/>
  302. <Cell col="20" displaytype="combo" text="bind:trmeth" combodataset="ds_trmeth" combocodecol="value" combodatacol="label"/>
  303. <Cell col="21" text="bind:head"/>
  304. <Cell col="22" text="bind:face"/>
  305. <Cell col="23" text="bind:chest"/>
  306. <Cell col="24" text="bind:abdomen"/>
  307. <Cell col="25" text="bind:extremity"/>
  308. <Cell col="26" text="bind:external"/>
  309. <Cell col="27" text="bind:iss"/>
  310. <Cell col="28" text="expr:!utlf_isNull(stsp1) ? (stsp1 == 'Y' ? '병원전 단계 (Prehospital)' : '') : ''"/>
  311. <Cell col="29" text="expr:!utlf_isNull(stsp2) ? (stsp2 == 'Y' ? '병원간 이송 단계 (Interhospital)' : '') : ''"/>
  312. <Cell col="30" text="expr:!utlf_isNull(stsp3) ? (stsp3 == 'Y' ? '병원 단계 (Inhospital)' : '') : ''"/>
  313. <Cell col="31" text="expr:!utlf_isNull(stsp4) ? (stsp4 == 'Y' ? '해당사항 없음' : '') : ''"/>
  314. <Cell col="32" text="expr:!utlf_isNull(stsp5) ? (stsp5 == 'Y' ? '기타' : '') : ''"/>
  315. <Cell col="33" text="expr:!utlf_isNull(dehtres1) ? (dehtres1 == 'Y' ? 'Bleeding' : '') : ''"/>
  316. <Cell col="34" text="expr:!utlf_isNull(dehtres2) ? (dehtres2 == 'Y' ? 'MODS / Sepsis' : '') : ''"/>
  317. <Cell col="35" text="expr:!utlf_isNull(dehtres3) ? (dehtres3== 'Y' ? 'Respiratory arrest' : '') : ''"/>
  318. <Cell col="36" text="expr:!utlf_isNull(dehtres4) ? (dehtres4 == 'Y' ? 'Cardiac arres' : '') : ''"/>
  319. <Cell col="37" text="expr:!utlf_isNull(dehtres5) ? (dehtres5 == 'Y' ? 'CNS' : '') : ''"/>
  320. <Cell col="38" text="expr:!utlf_isNull(dehtres6) ? (dehtres6 == 'Y' ? 'Others' : '') : ''"/>
  321. <Cell col="39" displaytype="combo" style="align:center;" text="bind:infoavac1" combodataset="ds_infoavac" combocodecol="value" combodatacol="label"/>
  322. <Cell col="40" displaytype="combo" style="align:center;" text="bind:infoavac2" combodataset="ds_infoavac" combocodecol="value" combodatacol="label"/>
  323. <Cell col="41" displaytype="combo" style="align:center;" text="bind:infoavac3" combodataset="ds_infoavac" combocodecol="value" combodatacol="label"/>
  324. <Cell col="42" displaytype="combo" style="align:center;" text="bind:infoavac4" combodataset="ds_infoavac" combocodecol="value" combodatacol="label"/>
  325. <Cell col="43" displaytype="combo" style="align:center;" text="bind:infoavac5" combodataset="ds_infoavac" combocodecol="value" combodatacol="label"/>
  326. <Cell col="44" text="bind:hibp"/>
  327. <Cell col="45" text="bind:brth"/>
  328. <Cell col="46" text="bind:vgct"/>
  329. <Cell col="47" text="bind:head"/>
  330. <Cell col="48" text="bind:face"/>
  331. <Cell col="49" text="bind:chest"/>
  332. <Cell col="50" text="bind:abdomen"/>
  333. <Cell col="51" text="bind:extremity"/>
  334. <Cell col="52" text="bind:external"/>
  335. <Cell col="53" text="bind:ciss"/>
  336. <Cell col="54" text="bind:triss"/>
  337. <Cell col="55" text="bind:ps"/>
  338. <Cell col="56" displaytype="combo" text="bind:prepbass" combodataset="ds_prepbass" combocodecol="value" combodatacol="label"/>
  339. </Band>
  340. </Format>
  341. </Formats>
  342. </Grid>
  343. </Layout>
  344. </Layouts>
  345. <Objects>
  346. <Dataset id="ds_main_mtrainfo_troplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  347. <ColumnInfo>
  348. <Column id="filestat" type="STRING" size="256"/>
  349. <Column id="savestat" type="STRING" size="256"/>
  350. <Column id="serflag" type="STRING" size="256"/>
  351. <Column id="memo" type="STRING" size="256"/>
  352. <Column id="pid" type="STRING" size="256"/>
  353. <Column id="hngnm" type="STRING" size="256"/>
  354. <Column id="sex" type="STRING" size="256"/>
  355. <Column id="age" type="STRING" size="256"/>
  356. <Column id="erptemrt" type="STRING" size="256"/>
  357. <Column id="trmshudt" type="STRING" size="256"/>
  358. <Column id="trmshutm" type="STRING" size="256"/>
  359. <Column id="chosdd" type="STRING" size="256"/>
  360. <Column id="chostm" type="STRING" size="256"/>
  361. <Column id="dethdd" type="STRING" size="256"/>
  362. <Column id="dethtm" type="STRING" size="256"/>
  363. <Column id="diagnm" type="STRING" size="256"/>
  364. <Column id="orddeptnm" type="STRING" size="256"/>
  365. <Column id="jatdoctnm" type="STRING" size="256"/>
  366. <Column id="datdoctnm" type="STRING" size="256"/>
  367. <Column id="iss" type="STRING" size="256"/>
  368. <Column id="triss" type="STRING" size="256"/>
  369. <Column id="ps" type="STRING" size="256"/>
  370. <Column id="prepbass" type="STRING" size="256"/>
  371. <Column id="status" type="STRING" size="256"/>
  372. <Column id="fielsaveyn" type="STRING" size="256"/>
  373. <Column id="ordtype" type="STRING" size="256"/>
  374. <Column id="orddd" type="STRING" size="256"/>
  375. <Column id="cretno" type="STRING" size="256"/>
  376. <Column id="instcd" type="STRING" size="256"/>
  377. <Column id="indschacptstat" type="STRING" size="256"/>
  378. <Column id="dschdd" type="STRING" size="256"/>
  379. </ColumnInfo>
  380. </Dataset>
  381. <Dataset id="ds_main_mtrainfo_troplist_ex" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  382. <ColumnInfo>
  383. <Column id="serflag" type="STRING" size="256"/>
  384. <Column id="pid" type="STRING" size="256"/>
  385. <Column id="hngnm" type="STRING" size="256"/>
  386. <Column id="sex" type="STRING" size="256"/>
  387. <Column id="age" type="STRING" size="256"/>
  388. <Column id="erptemrt" type="STRING" size="256"/>
  389. <Column id="trmshudt" type="STRING" size="256"/>
  390. <Column id="trmshutm" type="STRING" size="256"/>
  391. <Column id="chosdd" type="STRING" size="256"/>
  392. <Column id="chostm" type="STRING" size="256"/>
  393. <Column id="dethdd" type="STRING" size="256"/>
  394. <Column id="dethtm" type="STRING" size="256"/>
  395. <Column id="diagnm" type="STRING" size="256"/>
  396. <Column id="orddeptnm" type="STRING" size="256"/>
  397. <Column id="jatdoctnm" type="STRING" size="256"/>
  398. <Column id="datdoctnm" type="STRING" size="256"/>
  399. <Column id="ciss" type="STRING" size="256"/>
  400. <Column id="triss" type="STRING" size="256"/>
  401. <Column id="ps" type="STRING" size="256"/>
  402. <Column id="prepbass" type="STRING" size="256"/>
  403. <Column id="ackn" type="STRING" size="256"/>
  404. <Column id="dmtp" type="STRING" size="256"/>
  405. <Column id="trkn" type="STRING" size="256"/>
  406. <Column id="trmeth" type="STRING" size="256"/>
  407. <Column id="deathinterval" type="STRING" size="256"/>
  408. <Column id="infoavac1" type="STRING" size="256"/>
  409. <Column id="infoavac2" type="STRING" size="256"/>
  410. <Column id="infoavac3" type="STRING" size="256"/>
  411. <Column id="infoavac4" type="STRING" size="256"/>
  412. <Column id="infoavac5" type="STRING" size="256"/>
  413. <Column id="stsp1" type="STRING" size="256"/>
  414. <Column id="stsp2" type="STRING" size="256"/>
  415. <Column id="stsp3" type="STRING" size="256"/>
  416. <Column id="stsp4" type="STRING" size="256"/>
  417. <Column id="stsp5" type="STRING" size="256"/>
  418. <Column id="dehtres1" type="STRING" size="256"/>
  419. <Column id="dehtres2" type="STRING" size="256"/>
  420. <Column id="dehtres3" type="STRING" size="256"/>
  421. <Column id="dehtres4" type="STRING" size="256"/>
  422. <Column id="dehtres5" type="STRING" size="256"/>
  423. <Column id="dehtres6" type="STRING" size="256"/>
  424. <Column id="hibp" type="STRING" size="256"/>
  425. <Column id="brth" type="STRING" size="256"/>
  426. <Column id="vgct" type="STRING" size="256"/>
  427. <Column id="head" type="STRING" size="256"/>
  428. <Column id="face" type="STRING" size="256"/>
  429. <Column id="chest" type="STRING" size="256"/>
  430. <Column id="abdomen" type="STRING" size="256"/>
  431. <Column id="extremity" type="STRING" size="256"/>
  432. <Column id="external" type="STRING" size="256"/>
  433. </ColumnInfo>
  434. </Dataset>
  435. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  436. <ColumnInfo>
  437. <Column id="srch_kind" type="STRING" size="256"/>
  438. <Column id="srch_startdd" type="STRING" size="256"/>
  439. <Column id="srch_enddd" type="STRING" size="256"/>
  440. <Column id="srch_outrmcdyn" type="STRING" size="256"/>
  441. <Column id="srch_pid" type="STRING" size="256"/>
  442. <Column id="srch_excel" type="STRING" size="256"/>
  443. </ColumnInfo>
  444. <Rows>
  445. <Row>
  446. <Col id="srch_kind">1</Col>
  447. <Col id="srch_startdd"/>
  448. <Col id="srch_enddd"/>
  449. <Col id="srch_outrmcdyn"/>
  450. <Col id="srch_pid"/>
  451. <Col id="srch_excel"/>
  452. </Row>
  453. </Rows>
  454. </Dataset>
  455. <Dataset id="ds_fielsaveyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  456. <ColumnInfo>
  457. <Column id="label" type="STRING" size="256"/>
  458. <Column id="value" type="STRING" size="256"/>
  459. </ColumnInfo>
  460. <Rows>
  461. <Row>
  462. <Col id="label">Y</Col>
  463. <Col id="value">Y</Col>
  464. </Row>
  465. </Rows>
  466. </Dataset>
  467. <Dataset id="ds_status" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  468. <ColumnInfo>
  469. <Column id="label" type="STRING" size="256"/>
  470. <Column id="value" type="STRING" size="256"/>
  471. </ColumnInfo>
  472. <Rows>
  473. <Row>
  474. <Col id="label">완료</Col>
  475. <Col id="value">S</Col>
  476. </Row>
  477. <Row>
  478. <Col id="label">임시</Col>
  479. <Col id="value">T</Col>
  480. </Row>
  481. </Rows>
  482. </Dataset>
  483. <Dataset id="ds_prepbass" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  484. <ColumnInfo>
  485. <Column id="label" type="STRING" size="256"/>
  486. <Column id="value" type="STRING" size="256"/>
  487. </ColumnInfo>
  488. <Rows>
  489. <Row>
  490. <Col id="label">P</Col>
  491. <Col id="value">01</Col>
  492. </Row>
  493. <Row>
  494. <Col id="label">PP</Col>
  495. <Col id="value">02</Col>
  496. </Row>
  497. <Row>
  498. <Col id="value">03</Col>
  499. <Col id="label">NP</Col>
  500. </Row>
  501. <Row>
  502. <Col id="value">04</Col>
  503. <Col id="label">NPCI</Col>
  504. </Row>
  505. <Row>
  506. <Col id="value">05</Col>
  507. <Col id="label">DOA</Col>
  508. </Row>
  509. <Row>
  510. <Col id="value">06</Col>
  511. <Col id="label">판단불가</Col>
  512. </Row>
  513. </Rows>
  514. </Dataset>
  515. <Dataset id="ds_ackn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  516. <ColumnInfo>
  517. <Column id="label" type="STRING" size="256"/>
  518. <Column id="value" type="STRING" size="256"/>
  519. </ColumnInfo>
  520. <Rows>
  521. <Row>
  522. <Col id="value">1</Col>
  523. <Col id="label">교통사고-자동차</Col>
  524. </Row>
  525. <Row>
  526. <Col id="value">2</Col>
  527. <Col id="label">교통사고-자전거</Col>
  528. </Row>
  529. <Row>
  530. <Col id="value">3</Col>
  531. <Col id="label">교통사고-오토바이</Col>
  532. </Row>
  533. <Row>
  534. <Col id="value">4</Col>
  535. <Col id="label">교통사고-기타</Col>
  536. </Row>
  537. <Row>
  538. <Col id="value">9</Col>
  539. <Col id="label">교통사고-미상</Col>
  540. </Row>
  541. <Row>
  542. <Col id="value">10</Col>
  543. <Col id="label">추락</Col>
  544. </Row>
  545. <Row>
  546. <Col id="value">11</Col>
  547. <Col id="label">미끄러짐</Col>
  548. </Row>
  549. <Row>
  550. <Col id="value">12</Col>
  551. <Col id="label">물체에 부딪침, 맞음, 끼임</Col>
  552. </Row>
  553. <Row>
  554. <Col id="value">20</Col>
  555. <Col id="label">총상</Col>
  556. </Row>
  557. <Row>
  558. <Col id="value">21</Col>
  559. <Col id="label">칼, 치아 등 날카로운 것에 의한 손상</Col>
  560. </Row>
  561. <Row>
  562. <Col id="value">30</Col>
  563. <Col id="label">기계에 의한 손상</Col>
  564. </Row>
  565. <Row>
  566. <Col id="value">40</Col>
  567. <Col id="label">익수</Col>
  568. </Row>
  569. <Row>
  570. <Col id="value">50</Col>
  571. <Col id="label">질식</Col>
  572. </Row>
  573. <Row>
  574. <Col id="value">88</Col>
  575. <Col id="label">기타</Col>
  576. </Row>
  577. <Row>
  578. <Col id="value">99</Col>
  579. <Col id="label">미상</Col>
  580. </Row>
  581. </Rows>
  582. </Dataset>
  583. <Dataset id="ds_dmtp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  584. <ColumnInfo>
  585. <Column id="label" type="STRING" size="256"/>
  586. <Column id="value" type="STRING" size="256"/>
  587. </ColumnInfo>
  588. <Rows>
  589. <Row>
  590. <Col id="value">1</Col>
  591. <Col id="label">둔상</Col>
  592. </Row>
  593. <Row>
  594. <Col id="value">2</Col>
  595. <Col id="label">관통상</Col>
  596. </Row>
  597. <Row>
  598. <Col id="value">8</Col>
  599. <Col id="label">기타</Col>
  600. </Row>
  601. <Row>
  602. <Col id="value">3</Col>
  603. <Col id="label">화상</Col>
  604. </Row>
  605. </Rows>
  606. </Dataset>
  607. <Dataset id="ds_trkn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  608. <ColumnInfo>
  609. <Column id="label" type="STRING" size="256"/>
  610. <Column id="value" type="STRING" size="256"/>
  611. </ColumnInfo>
  612. <Rows>
  613. <Row>
  614. <Col id="value">1</Col>
  615. <Col id="label">사고 현장에서부터 직접 내원</Col>
  616. </Row>
  617. <Row>
  618. <Col id="value">2</Col>
  619. <Col id="label">다른 병원으로부터 전원</Col>
  620. </Row>
  621. <Row>
  622. <Col id="value">3</Col>
  623. <Col id="label">외래에서 의뢰</Col>
  624. </Row>
  625. <Row>
  626. <Col id="value">8</Col>
  627. <Col id="label">기타</Col>
  628. </Row>
  629. </Rows>
  630. </Dataset>
  631. <Dataset id="ds_trmeth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  632. <ColumnInfo>
  633. <Column id="label" type="STRING" size="256"/>
  634. <Column id="value" type="STRING" size="256"/>
  635. </ColumnInfo>
  636. <Rows>
  637. <Row>
  638. <Col id="value">1</Col>
  639. <Col id="label">119구급차</Col>
  640. </Row>
  641. <Row>
  642. <Col id="value">2</Col>
  643. <Col id="label">의료기관 구급차</Col>
  644. </Row>
  645. <Row>
  646. <Col id="value">3</Col>
  647. <Col id="label">기타 구급차</Col>
  648. </Row>
  649. <Row>
  650. <Col id="value">4</Col>
  651. <Col id="label">경찰차 등 공공차량</Col>
  652. </Row>
  653. <Row>
  654. <Col id="value">5</Col>
  655. <Col id="label">항공이송</Col>
  656. </Row>
  657. <Row>
  658. <Col id="value">6</Col>
  659. <Col id="label">자차 및 기타자동차</Col>
  660. </Row>
  661. <Row>
  662. <Col id="value">7</Col>
  663. <Col id="label">도보</Col>
  664. </Row>
  665. <Row>
  666. <Col id="value">8</Col>
  667. <Col id="label">기타</Col>
  668. </Row>
  669. <Row>
  670. <Col id="value">9</Col>
  671. <Col id="label">미상</Col>
  672. </Row>
  673. </Rows>
  674. </Dataset>
  675. <Dataset id="ds_infoavac" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  676. <ColumnInfo>
  677. <Column id="label" type="STRING" size="256"/>
  678. <Column id="value" type="STRING" size="256"/>
  679. </ColumnInfo>
  680. <Rows>
  681. <Row>
  682. <Col id="value">01</Col>
  683. <Col id="label">충분</Col>
  684. </Row>
  685. <Row>
  686. <Col id="value">02</Col>
  687. <Col id="label">보통</Col>
  688. </Row>
  689. <Row>
  690. <Col id="value">03</Col>
  691. <Col id="label">부족</Col>
  692. </Row>
  693. <Row>
  694. <Col id="value">04</Col>
  695. <Col id="label">없음</Col>
  696. </Row>
  697. </Rows>
  698. </Dataset>
  699. </Objects>
  700. <Bind>
  701. <BindItem id="item0" compid="combo3" propid="value" datasetid="ds_init" columnid="srch_kind"/>
  702. <BindItem id="item1" compid="input3" propid="value" datasetid="ds_init" columnid="srch_startdd"/>
  703. <BindItem id="item2" compid="input1" propid="value" datasetid="ds_init" columnid="srch_enddd"/>
  704. <BindItem id="item4" compid="roundrect1.input2" propid="value" datasetid="ds_init" columnid="srch_pid"/>
  705. </Bind>
  706. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  707. * System Name :
  708. * Job Name :
  709. * Creator :
  710. * Make Date : 2018-02-13
  711. * Description :
  712. *---------------------------------------------------------------------------------------
  713. * Modify Date Modifier Modify Description
  714. *---------------------------------------------------------------------------------------
  715. * 2015-05-05 Live Converter TF->XP
  716. *
  717. *---------------------------------------------------------------------------------------
  718. ****************************************************************************************/
  719. //=======================================================================================
  720. // Lib Include
  721. //---------------------------------------------------------------------------------------
  722. include "com_commonxp::comm_main.xjs";
  723. //=======================================================================================
  724. // Global Form Variable
  725. //---------------------------------------------------------------------------------------
  726. //var arErrorCode = new HashArray();
  727. //=======================================================================================
  728. // Function
  729. //---------------------------------------------------------------------------------------
  730. /****************************************************************************************
  731. * Argument : N/A
  732. * Description : N/A
  733. ****************************************************************************************/
  734. //=======================================================================================
  735. // Event
  736. //---------------------------------------------------------------------------------------
  737. /****************************************************************************************
  738. * Components : Form
  739. * Components ID : SPMMO08014
  740. * Event : oninit
  741. * Argument : 01.obj : Object Event has occurred
  742. * : 02.e : Event Object
  743. * Description : 화면 초기화
  744. ****************************************************************************************/
  745. function SPMMO08014_oninit(obj:Form, e:InitEventInfo)
  746. {
  747. frmf_initForm(obj);
  748. }
  749. /****************************************************************************************
  750. * Components : Form
  751. * Components ID : SPMMO08014
  752. * Event : onload
  753. * Argument : 01.obj : Object Event has occurred
  754. * : 02.e : Event Object
  755. * Description : 화면 초기화
  756. ****************************************************************************************/
  757. function SPMMO08014_onload(obj:Form, e:LoadEventInfo)
  758. {
  759. grdf_setGridSort(grd_troplist);
  760. grdf_setToolTipBind(grd_troplist);
  761. ds_main_mtrainfo_troplist.clearData();
  762. var sSdate = utlf_getCurrentDate().substr(0, 6) + "01";
  763. var sEdate = utlf_getCurrentDate();
  764. // 김현석 개발자 모드 체크
  765. if (gv_bIsPreview)
  766. {
  767. sSdate = "20190923";
  768. sEdate = "20190923";
  769. }
  770. ds_init.setColumn(0, "srch_startdd", sSdate);
  771. ds_init.setColumn(0, "srch_enddd", sEdate);
  772. dsf_createDsRow("ds_send", [{col:"userid", type:"STRING", size:256, val:sysf_getUserInfo("userid")}
  773. , {col:"dutplcecd", type:"STRING", size:256, val:sysf_getUserInfo("dutplcecd")}
  774. , {col:"workdd", type:"STRING", size:256, val:utlf_getCurrentDate()}]);
  775. dsf_createDs("ds_main_userinfo", [{col:"superuser", type:"STRING", size:256}]);
  776. var oParam = {};
  777. oParam.id = "TRMNE05805";
  778. oParam.service = "ercareapp.ERPatMngt";
  779. oParam.method = "reqGetSuperUserTCenter";
  780. oParam.inds = "req=ds_send";
  781. oParam.outds = "ds_main_userinfo=userinfo";
  782. oParam.async = true;
  783. oParam.callback = "cf_TRMNE05805";
  784. tranf_submit(oParam);
  785. }
  786. function cf_TRMNE05805(sSvcId, nErrorCode, sErrorMsg) {
  787. if(nErrorCode < 0) return;
  788. var sSuperUser = ds_main_userinfo.getColumn(0, "superuser");
  789. if (sSuperUser == "Y") {
  790. btn_excel.enable = true;
  791. } else {
  792. btn_excel.enable = false;
  793. }
  794. }
  795. /*
  796. */
  797. function fClickPatList(i) {
  798. if ( i > -1 ) {
  799. eORDTYPE = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "ordtype"));
  800. ePID = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "pid"));
  801. eINDD = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "orddd"));
  802. eCRETNO = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "cretno"));
  803. //eINSTCD = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "instcd"));
  804. eINSTCD = "";
  805. eSRCHDD = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "dschdd"));
  806. eStat = utlf_transNullToEmpty(ds_main_mtrainfo_troplist.getColumn(i, "indschacptstat"));
  807. if (eStat == "A") {
  808. var param = eORDTYPE + "▦"
  809. + ePID + "▦"
  810. + eINDD + "▦"
  811. + eCRETNO + "▦"
  812. + eINSTCD + "▦" ;
  813. } else {
  814. var param = eORDTYPE + "▦"
  815. + ePID + "▦"
  816. + eINDD + "▦"
  817. + eCRETNO + "▦"
  818. + eINSTCD + "▦"
  819. + eSRCHDD + "▦" ;
  820. }
  821. appf_initPatientInfo(param);
  822. }
  823. }
  824. /****************************************************************************************
  825. * Components : Button
  826. * Components ID : btn_search
  827. * Event : onclick
  828. * Argument : 01.obj : Object Event has occurred
  829. * : 02.e : Event Object
  830. * Description : 조회 버튼
  831. ****************************************************************************************/
  832. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  833. {
  834. dsf_createDsRow("ds_send_cond", [{col:"srch_kind", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_kind")}
  835. , {col:"srch_startdd", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_startdd")}
  836. , {col:"srch_enddd", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_enddd")}
  837. , {col:"srch_pid", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_pid")}
  838. , {col:"srch_gbn", type:"STRING", size:256, val:"S"}
  839. , {col:"srch_excel", type:"STRING", size:256, val:"N"}]);
  840. ds_main_mtrainfo_troplist.clearData();
  841. ds_main_mtrainfo_troplist_ex.clearData();
  842. var oParam = {};
  843. oParam.id = "TRMMO07910";
  844. oParam.service = "prcpmngtapp.ErMngt";
  845. oParam.method = "reqGetExpireTraInfoList";
  846. oParam.inds = "req=ds_send_cond";
  847. oParam.outds = "ds_main_mtrainfo_troplist=mtralist ds_main_mtrainfo_troplist_ex=mtralist_ex";
  848. oParam.async = true;
  849. //oParam.callback = "cf_TRMMO08021";
  850. tranf_submit(oParam);
  851. }
  852. /****************************************************************************************
  853. * Components : Button
  854. * Components ID : btn_excel
  855. * Event : onclick
  856. * Argument : 01.obj : Object Event has occurred
  857. * : 02.e : Event Object
  858. * Description : 엑셀 버튼
  859. ****************************************************************************************/
  860. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  861. {
  862. dsf_createDsRow("ds_send_cond", [{col:"srch_kind", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_kind")}
  863. , {col:"srch_startdd", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_startdd")}
  864. , {col:"srch_enddd", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_enddd")}
  865. , {col:"srch_pid", type:"STRING", size:256, val:ds_init.getColumn(0, "srch_pid")}
  866. , {col:"srch_gbn", type:"STRING", size:256, val:"E"}
  867. , {col:"srch_excel", type:"STRING", size:256, val:"E"}]);
  868. ds_main_mtrainfo_troplist.clearData();
  869. ds_main_mtrainfo_troplist_ex.clearData();
  870. var oParam = {};
  871. oParam.id = "TRMMO07910";
  872. oParam.service = "prcpmngtapp.ErMngt";
  873. oParam.method = "reqGetExpireTraInfoList";
  874. oParam.inds = "req=ds_send_cond";
  875. oParam.outds = "ds_main_mtrainfo_troplist=mtralist ds_main_mtrainfo_troplist_ex=mtralist_ex";
  876. oParam.async = true;
  877. oParam.callback = "cf_TRMMO07910";
  878. tranf_submit(oParam);
  879. }
  880. function cf_TRMMO07910(sSvcId, nErrorCode, sErrorMsg) {
  881. if(nErrorCode < 0) return;
  882. grdf_exportExcel(grd_troplist_ex, "권역외상센터사망환자리스트" + input3.value , "SheetName", true, "", "none", true);
  883. }
  884. function grd_troplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  885. {
  886. var row = ds_main_mtrainfo_troplist.rowposition;
  887. //상단정보
  888. fClickPatList(row);
  889. frmf_setParameter("idno", ds_main_mtrainfo_troplist.getColumn(row, "pid"));
  890. frmf_setParameter("indd", ds_main_mtrainfo_troplist.getColumn(row, "chosdd"));
  891. frmf_setParameter("orddd", ds_main_mtrainfo_troplist.getColumn(row, "orddd"));
  892. frmf_setParameter("intm", ds_main_mtrainfo_troplist.getColumn(row, "chostm"));
  893. frmf_setParameter("cretno", ds_main_mtrainfo_troplist.getColumn(row, "cretno"));
  894. frmf_open("SPMMO08015", "SPMMO08015", null, false, 1, e.clientX, e.clientY, null, null, null, null, null, "M");
  895. //20160901 권역외상등록체계 Ver2.0 개정
  896. //20200218 권역외상등록체계 Ver3.0 개정
  897. if(ds_main_mtrainfo_troplist.getColumn(row, "orddd") >= "20200101") // Ver3
  898. {
  899. frmf_open("SPMMO08016", "SPMMO08016", null, false, 1, 0, 0, null, null, null, null, null, "M");
  900. }
  901. else if(ds_main_mtrainfo_troplist.getColumn(row, "orddd") >= "20160901")
  902. {
  903. frmf_open("SPMMO08012", "SPMMO08012", null, false, 1, e.clientX, e.clientY, null, null, null, null, null, "M");
  904. }
  905. else
  906. {
  907. frmf_open("SPMMO08010", "SPMMO08010", null, false, 1, e.clientX, e.clientY, null, null, null, null, null, "M");
  908. }
  909. }
  910. ]]></Script>
  911. </Form>
  912. </FDL>