SPMMO07900_권역외상대상리스트.xfdl 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMO07900" position="absolute 0 0 1180 740" titletext="권역외상센터 대상자 조회" oninit="SPMMO07900_oninit" onload="SPMMO07900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid position="absolute 355 260 920 620" id="grd_bak" class="datagrid2" visible="false" binddataset="ds_main_bak" oncelldblclick="grd_bak_oncelldblclick" taborder="0">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="80"/>
  12. <Column size="70"/>
  13. <Column size="0"/>
  14. <Column size="0"/>
  15. <Column size="0"/>
  16. <Column size="60"/>
  17. <Column size="35"/>
  18. <Column size="40"/>
  19. <Column size="110"/>
  20. <Column size="110"/>
  21. <Column size="120"/>
  22. <Column size="0"/>
  23. <Column size="110"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="100"/>
  27. <Column size="0"/>
  28. <Column size="65"/>
  29. <Column size="55"/>
  30. <Column size="120"/>
  31. <Column size="120"/>
  32. <Column size="100"/>
  33. <Column size="60"/>
  34. <Column size="60"/>
  35. <Column size="100"/>
  36. <Column size="60"/>
  37. </Columns>
  38. <Rows>
  39. <Row size="24" band="head"/>
  40. <Row size="24"/>
  41. </Rows>
  42. <Band id="head">
  43. <Cell text="구역"/>
  44. <Cell col="1" text="등록번호"/>
  45. <Cell col="2" text="orddd"/>
  46. <Cell col="3" text="cretno"/>
  47. <Cell col="4" text="instcd"/>
  48. <Cell col="5" text="환자명"/>
  49. <Cell col="6" text="성별"/>
  50. <Cell col="7" text="나이"/>
  51. <Cell col="8" text="내원일시"/>
  52. <Cell col="9" text="퇴실일시"/>
  53. <Cell col="10" text="퇴실종류"/>
  54. <Cell col="11" text="indsch"/>
  55. <Cell col="12" text="퇴원일시"/>
  56. <Cell col="13" text="dschdd"/>
  57. <Cell col="14" text="wardcd"/>
  58. <Cell col="15" text="퇴원시점&#10;환자위치"/>
  59. <Cell col="16" text="ordtype"/>
  60. <Cell col="17" text="중환자실&#10;이동"/>
  61. <Cell col="18" text="수술&#10;여부"/>
  62. <Cell col="19" text="주호소"/>
  63. <Cell col="20" text="주진단"/>
  64. <Cell col="21" text="주진료과"/>
  65. <Cell col="22" text="주치의"/>
  66. <Cell col="23" text="담당의"/>
  67. <Cell col="24" text="호출진료과"/>
  68. <Cell col="25" text="호출의"/>
  69. </Band>
  70. <Band id="body">
  71. <Cell text="bind:bedposcnts"/>
  72. <Cell col="1" text="bind:pid"/>
  73. <Cell col="2" text="bind:orddd"/>
  74. <Cell col="3" text="bind:cretno"/>
  75. <Cell col="4" text="bind:instcd"/>
  76. <Cell col="5" text="bind:hngnm"/>
  77. <Cell col="6" text="bind:sex"/>
  78. <Cell col="7" text="bind:age"/>
  79. <Cell col="8" text="bind:chosdt" mask="yyyy-mm-dd hh:nn"/>
  80. <Cell col="9" text="bind:outrmdt" mask="yyyy-mm-dd hh:nn"/>
  81. <Cell col="10" text="bind:outrmcd"/>
  82. <Cell col="11" text="bind:indschacptstat"/>
  83. <Cell col="12" text="bind:dschnotidt" mask="yyyy-mm-dd hh:nn"/>
  84. <Cell col="13" text="bind:dschdd"/>
  85. <Cell col="14" text="bind:wardcd"/>
  86. <Cell col="15" text="bind:wardnm"/>
  87. <Cell col="16" text="bind:ordtype"/>
  88. <Cell col="17" text="bind:icu"/>
  89. <Cell col="18" text="bind:op"/>
  90. <Cell col="19" text="bind:sympnm"/>
  91. <Cell col="20" text="bind:diagnm"/>
  92. <Cell col="21" text="bind:orddeptnm"/>
  93. <Cell col="22" text="bind:jatdoctnm"/>
  94. <Cell col="23" text="bind:datdoctnm"/>
  95. <Cell col="24" text="bind:erorddeptnm"/>
  96. <Cell col="25" text="bind:ermedispclnm"/>
  97. </Band>
  98. </Format>
  99. </Formats>
  100. </Grid>
  101. <Div position="absolute 0 20 1180 60" id="roundrect1" type="roundrectangle" class="div_SA" anchor="left top right" taborder="1">
  102. <Layouts>
  103. <Layout>
  104. <CheckBox id="CheckBox00" taborder="0" text="Ver3" position="absolute 956 10 1016 32" truevalue="Y" falsevalue="N" visible="true"/>
  105. </Layout>
  106. </Layouts>
  107. </Div>
  108. <Shape position="absolute 0 62 1180 68" linetype="horizontal" id="line1" class="line_1" anchor="left top right"/>
  109. <Button position="absolute 1042 30 1098 52" id="btn_search" class="btn1" text="조회" onclick="btn_search_onclick" anchor="top right" taborder="2"/>
  110. <Grid position="absolute 0 65 1180 740" id="grd_mtralist" class="datagrid2" binddataset="ds_main_mtralist" oncelldblclick="grd_mtralist_oncelldblclick" anchor="all" cellsizebandtype="allband" cellsizingtype="col" scrollpixel="all" taborder="10" onrbuttondown="grd_mtralist_onrbuttondown" autosizingtype="row" extendsizetype="row" selecttype="multirow">
  111. <Formats>
  112. <Format id="default">
  113. <Columns>
  114. <Column size="25" band="left"/>
  115. <Column size="80"/>
  116. <Column size="80"/>
  117. <Column size="80"/>
  118. <Column size="40"/>
  119. <Column size="40"/>
  120. <Column size="80"/>
  121. <Column size="61"/>
  122. <Column size="35"/>
  123. <Column size="35"/>
  124. <Column size="30"/>
  125. <Column size="80"/>
  126. <Column size="45"/>
  127. <Column size="80"/>
  128. <Column size="47"/>
  129. <Column size="192"/>
  130. <Column size="176"/>
  131. <Column size="80"/>
  132. <Column size="41"/>
  133. <Column size="91"/>
  134. <Column size="80"/>
  135. <Column size="70"/>
  136. <Column size="58"/>
  137. <Column size="69"/>
  138. <Column size="140"/>
  139. <Column size="185"/>
  140. <Column size="110"/>
  141. <Column size="80"/>
  142. <Column size="80"/>
  143. </Columns>
  144. <Rows>
  145. <Row size="24" band="head"/>
  146. <Row size="24"/>
  147. </Rows>
  148. <Band id="head">
  149. <Cell/>
  150. <Cell col="1" displaytype="normal" text="병동"/>
  151. <Cell col="2" displaytype="normal" text="병실"/>
  152. <Cell col="3" displaytype="normal" text="구역"/>
  153. <Cell col="4" text="중증"/>
  154. <Cell col="5" text="ISS"/>
  155. <Cell col="6" displaytype="normal" text="등록번호"/>
  156. <Cell col="7" displaytype="normal" text="환자명"/>
  157. <Cell col="8" displaytype="normal" text="성별"/>
  158. <Cell col="9" displaytype="normal" text="나이"/>
  159. <Cell col="10" text="Call"/>
  160. <Cell col="11" colspan="2" displaytype="normal" text="내원일시" taborder="undefined"/>
  161. <Cell col="13" colspan="2" displaytype="normal" text="퇴실일시" taborder="undefined"/>
  162. <Cell col="15" displaytype="normal" text="퇴실종류"/>
  163. <Cell col="16" displaytype="normal" text="전출의료기관"/>
  164. <Cell col="17" colspan="2" displaytype="normal" text="퇴원일시" taborder="undefined"/>
  165. <Cell col="19" displaytype="normal" text="퇴원종류"/>
  166. <Cell col="20" displaytype="normal" text="중환자실 이동"/>
  167. <Cell col="21" displaytype="normal" text="ICU(전송후)"/>
  168. <Cell col="22" displaytype="normal" text="수술여부"/>
  169. <Cell col="23" displaytype="normal" text="OP(전송후)"/>
  170. <Cell col="24" displaytype="normal" text="주호소"/>
  171. <Cell col="25" displaytype="normal" text="주진단"/>
  172. <Cell col="26" displaytype="normal" text="주진료과"/>
  173. <Cell col="27" displaytype="normal" text="담당교수"/>
  174. <Cell col="28" displaytype="normal" text="담당의"/>
  175. </Band>
  176. <Band id="body">
  177. <Cell celltype="head" expr="expr:currow + 1"/>
  178. <Cell col="1" displaytype="normal" style="align:left;" text="bind:wardnm"/>
  179. <Cell col="2" displaytype="normal" style="align:left;" text="bind:lastpos"/>
  180. <Cell col="3" displaytype="normal" style="align:left;" text="bind:bedposcnts"/>
  181. <Cell col="4" text="bind:serflag"/>
  182. <Cell col="5" text="bind:trmsciss"/>
  183. <Cell col="6" displaytype="normal" style="align:center;" text="bind:pid"/>
  184. <Cell col="7" displaytype="normal" style="align:left;" text="bind:hngnm"/>
  185. <Cell col="8" displaytype="normal" style="align:center;" text="bind:sex"/>
  186. <Cell col="9" displaytype="normal" style="align:center;" text="bind:age"/>
  187. <Cell col="10" text="bind:callgbn"/>
  188. <Cell col="11" text="bind:chosdd" mask="expr:!utlf_isNull(chosdd) ? (chosdd != '-' ? '####-##-##' : '') : ''" maskchar=" "/>
  189. <Cell col="12" text="bind:chostm" mask="expr:!utlf_isNull(chostm) ? (chostm != '-' ? '##:##' : '') : ''" maskchar=" "/>
  190. <Cell col="13" text="bind:outrmdd" mask="expr:!utlf_isNull(outrmdd) ? (outrmdd != '-' ? '####-##-##' : '') : ''" maskchar=" "/>
  191. <Cell col="14" displaytype="expr:!utlf_isNull(outrmtm) ? 'date' : ''" text="bind:outrmtm" mask="expr:!utlf_isNull(outrmtm) ? 'HH:mm' : ''"/>
  192. <Cell col="15" displaytype="normal" style="align:left;" text="bind:outrmcd" wordwrap="char"/>
  193. <Cell col="16" displaytype="normal" style="align:left;" text="bind:thospital" wordwrap="char"/>
  194. <Cell col="17" text="bind:notidd" mask="expr:!utlf_isNull(notidd) ? (notidd != '-' ? '####-##-##' : '') : ''" maskchar=" "/>
  195. <Cell col="18" text="bind:notitm" mask="expr:!utlf_isNull(notitm) ? (notitm != '-' ? '##:##' : '') : ''" maskchar=" "/>
  196. <Cell col="19" displaytype="normal" style="align:left;" text="bind:erptdcrt"/>
  197. <Cell col="20" displaytype="normal" text="bind:icu"/>
  198. <Cell col="21" displaytype="normal" text="bind:tricu"/>
  199. <Cell col="22" displaytype="normal" text="bind:op"/>
  200. <Cell col="23" displaytype="normal" text="bind:trop"/>
  201. <Cell col="24" displaytype="normal" style="align:left;" text="bind:sympnm" wordwrap="char" autosizecol="limitmin"/>
  202. <Cell col="25" displaytype="normal" style="align:left;" text="bind:diagnm" wordwrap="char" autosizerow="limitmin"/>
  203. <Cell col="26" displaytype="normal" style="align:left;" text="bind:orddeptnm"/>
  204. <Cell col="27" displaytype="normal" style="align:left;" text="bind:jatdoctnm"/>
  205. <Cell col="28" displaytype="normal" style="align:left;" text="bind:datdoctnm"/>
  206. </Band>
  207. </Format>
  208. </Formats>
  209. </Grid>
  210. <Combo position="absolute 100 31 185 50" id="combo3" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="left top" taborder="4">
  211. <Dataset id="innerdataset">
  212. <ColumnInfo>
  213. <Column id="codecolumn"/>
  214. <Column id="datacolumn"/>
  215. </ColumnInfo>
  216. <Rows>
  217. <Row>
  218. <Col id="codecolumn">1</Col>
  219. <Col id="datacolumn">퇴원일</Col>
  220. </Row>
  221. <Row>
  222. <Col id="codecolumn">2</Col>
  223. <Col id="datacolumn">내원일</Col>
  224. </Row>
  225. </Rows>
  226. </Dataset>
  227. </Combo>
  228. <Calendar position="absolute 200 31 301 50" id="input3" class="input_search" dateformat="yyyy-MM-dd" value="null" autoselect="true" anchor="left top" taborder="5"/>
  229. <Calendar position="absolute 334 31 435 50" id="input1" class="input_search" dateformat="yyyy-MM-dd" autoselect="true" anchor="left top" taborder="6"/>
  230. <Static text="~" position="absolute 311 31 331 51" id="caption1" anchor="left top"/>
  231. <Static text="검색조건 :" position="absolute 10 32 105 49" id="caption8" class="search_name" anchor="left top"/>
  232. <Static text="권역 외상센터 대상자 조회" position="absolute 0 0 186 20" id="caption6" class="tit_1"/>
  233. <Shape position="absolute 1019 29 1025 52" linetype="vertical" id="line2" anchor="top right"/>
  234. <CheckBox position="absolute 454 31 554 51" id="checkbox1" text="퇴실조건 제외" anchor="left top" truevalue="Y" onclick="checkbox1_onclick" taborder="7"/>
  235. <Grid position="absolute 1 304 1180 554" id="grd_excel" class="datagrid2" visible="false" binddataset="ds_main_mtralist_ex" anchor="all" taborder="8" autosizingtype="none" cellsizingtype="col">
  236. <Formats>
  237. <Format id="default">
  238. <Columns>
  239. <Column size="90"/>
  240. <Column size="80"/>
  241. <Column size="80"/>
  242. <Column size="40"/>
  243. <Column size="40"/>
  244. <Column size="40"/>
  245. <Column size="70"/>
  246. <Column size="60"/>
  247. <Column size="35"/>
  248. <Column size="40"/>
  249. <Column size="80"/>
  250. <Column size="80"/>
  251. <Column size="85"/>
  252. <Column size="60"/>
  253. <Column size="60"/>
  254. <Column size="152"/>
  255. <Column size="140"/>
  256. <Column size="120"/>
  257. <Column size="100"/>
  258. <Column size="126"/>
  259. <Column size="100"/>
  260. <Column size="65"/>
  261. <Column size="60"/>
  262. <Column size="125"/>
  263. <Column size="100"/>
  264. <Column size="100"/>
  265. <Column size="100"/>
  266. <Column size="100"/>
  267. <Column size="100"/>
  268. <Column size="100"/>
  269. <Column size="99"/>
  270. <Column size="102"/>
  271. <Column size="111"/>
  272. <Column size="86"/>
  273. <Column size="120"/>
  274. <Column size="120"/>
  275. <Column size="100"/>
  276. <Column size="60"/>
  277. <Column size="60"/>
  278. <Column size="100"/>
  279. <Column size="100"/>
  280. <Column size="100"/>
  281. <Column size="100"/>
  282. <Column size="100"/>
  283. <Column size="100"/>
  284. <Column size="100"/>
  285. <Column size="100"/>
  286. <Column size="100"/>
  287. <Column size="100"/>
  288. <Column size="100"/>
  289. </Columns>
  290. <Rows>
  291. <Row size="44" band="head"/>
  292. <Row size="24"/>
  293. </Rows>
  294. <Band id="head">
  295. <Cell text="병동"/>
  296. <Cell col="1" text="병실"/>
  297. <Cell col="2" text="구역"/>
  298. <Cell col="3" text="중증"/>
  299. <Cell col="4" text="Call"/>
  300. <Cell col="5" text="KTAS"/>
  301. <Cell col="6" text="등록번호"/>
  302. <Cell col="7" text="환자명"/>
  303. <Cell col="8" text="성별"/>
  304. <Cell col="9" text="나이"/>
  305. <Cell col="10" text="응급실체류일&#10;(체류시간/분)"/>
  306. <Cell col="11" text="병동재원일"/>
  307. <Cell col="12" text="총병원재원일"/>
  308. <Cell col="13" text="POD"/>
  309. <Cell col="14" text="첫수술일"/>
  310. <Cell col="15" text="내원일시"/>
  311. <Cell col="16" text="퇴실일시"/>
  312. <Cell col="17" text="퇴실종류"/>
  313. <Cell col="18" text="전출의료기관"/>
  314. <Cell col="19" text="퇴원일시"/>
  315. <Cell col="20" text="퇴원종류"/>
  316. <Cell col="21" text="중환자실&#10;이동"/>
  317. <Cell col="22" text="중환자실&#10;입실기간"/>
  318. <Cell col="23" text="중환자실입실시간"/>
  319. <Cell col="24" text="중환자실입실&#10;소요시간(분)"/>
  320. <Cell col="25" text="병동입원일시"/>
  321. <Cell col="26" text="병동입원&#10;소요시간(분)"/>
  322. <Cell col="27" text="수술여부"/>
  323. <Cell col="28" text="수술실입실시간"/>
  324. <Cell col="29" text="수술실입실&#10;소요시간(분)"/>
  325. <Cell col="30" text="최초수혈시작일시"/>
  326. <Cell col="31" displaytype="normal" edittype="none" text="내원 4시간 이내 수혈량 중&#13;&#10;적혈구(RBC)개수" wordwrap="word"/>
  327. <Cell col="32" text="내원 24시간 이내&#13;&#10;추가 수혈량 중&#13;&#10;적혈구(RBC) 개수"/>
  328. <Cell col="33" text="최초 수혈 시간&#13;&#10;소요시간(분)"/>
  329. <Cell col="34" text="주호소"/>
  330. <Cell col="35" text="주진단"/>
  331. <Cell col="36" text="퇴실 시 주진료과"/>
  332. <Cell col="37" text="담당교수"/>
  333. <Cell col="38" text="담당의"/>
  334. <Cell col="39" text="호출과"/>
  335. <Cell col="40" text="head"/>
  336. <Cell col="41" text="face"/>
  337. <Cell col="42" text="chest"/>
  338. <Cell col="43" text="abdomen"/>
  339. <Cell col="44" text="extremity"/>
  340. <Cell col="45" text="external"/>
  341. <Cell col="46" text="최종iss"/>
  342. <Cell col="47" text="손상유형"/>
  343. <Cell col="48" text="RTS"/>
  344. <Cell col="49" text="TRISS"/>
  345. </Band>
  346. <Band id="body">
  347. <Cell text="bind:wardnm"/>
  348. <Cell col="1" text="bind:lastpos"/>
  349. <Cell col="2" text="bind:bedposcnts"/>
  350. <Cell col="3" text="bind:serflag"/>
  351. <Cell col="4" text="bind:callgbn"/>
  352. <Cell col="5" text="bind:ktas"/>
  353. <Cell col="6" text="bind:pid"/>
  354. <Cell col="7" text="bind:hngnm"/>
  355. <Cell col="8" text="bind:sex"/>
  356. <Cell col="9" text="bind:age"/>
  357. <Cell col="10" text="bind:ertm"/>
  358. <Cell col="11" text="bind:wrdd"/>
  359. <Cell col="12" text="bind:hdd"/>
  360. <Cell col="13" text="bind:podd"/>
  361. <Cell col="14" text="bind:fopdd" mask="expr:!utlf_isNull(fopdd) ? '####-##-##' : ''"/>
  362. <Cell col="15" displaytype="normal" edittype="none" text="bind:chosdt" mask="expr:!utlf_isNull(chosdt) ? '####-##-## ##:##' : ''"/>
  363. <Cell col="16" text="bind:outrmdt" mask="expr:!utlf_isNull(outrmdt) ? '####-##-## ##:##' : ''"/>
  364. <Cell col="17" text="bind:outrmcd"/>
  365. <Cell col="18" text="bind:thospital"/>
  366. <Cell col="19" text="bind:dcdt" mask="expr:!utlf_isNull(dcdt) ? '####-##-## ##:##' : ''"/>
  367. <Cell col="20" text="bind:erptdcrt"/>
  368. <Cell col="21" text="bind:icu"/>
  369. <Cell col="22" text="bind:icudd"/>
  370. <Cell col="23" text="bind:icuindt" mask="expr:!utlf_isNull(icuindt) ? '####-##-## ##:##' : ''"/>
  371. <Cell col="24" text="bind:icudurtm"/>
  372. <Cell col="25" text="bind:roomindt" mask="expr:!utlf_isNull(roomindt) ? '####-##-## ##:##' : ''"/>
  373. <Cell col="26" text="bind:roomdurtm"/>
  374. <Cell col="27" text="bind:op"/>
  375. <Cell col="28" text="bind:patinroomdt" mask="expr:!utlf_isNull(patinroomdt) ? '####-##-## ##:##' : ''"/>
  376. <Cell col="29" text="bind:opdurtm"/>
  377. <Cell col="30" text="bind:bldstrdt" mask="expr:!utlf_isNull(bldstrdt) ? '####-##-## ##:##' : ''"/>
  378. <Cell col="31" text="bind:rbccnt4"/>
  379. <Cell col="32" text="bind:rbccnt24"/>
  380. <Cell col="33" text="bind:blddurtm"/>
  381. <Cell col="34" text="bind:sympnm"/>
  382. <Cell col="35" text="bind:diagnm"/>
  383. <Cell col="36" text="bind:lastdeptnm"/>
  384. <Cell col="37" text="bind:jatdoctnm"/>
  385. <Cell col="38" text="bind:datdoctnm"/>
  386. <Cell col="39" text="bind:calldept"/>
  387. <Cell col="40" text="bind:head2"/>
  388. <Cell col="41" text="bind:face2"/>
  389. <Cell col="42" text="bind:chest2"/>
  390. <Cell col="43" text="bind:abdomen2"/>
  391. <Cell col="44" text="bind:extremity2"/>
  392. <Cell col="45" text="bind:external2"/>
  393. <Cell col="46" text="bind:iss2"/>
  394. <Cell col="47" text="bind:trmsdmtp"/>
  395. <Cell col="48" text="bind:trmsrtsc"/>
  396. <Cell col="49" text="bind:triss"/>
  397. </Band>
  398. </Format>
  399. </Formats>
  400. </Grid>
  401. <Edit position="absolute 700 31 800 50" id="input2" onkeydown="input2_onkeydown" autoselect="true" anchor="left top" taborder="9"/>
  402. <Static text="환자번호:" position="absolute 610 32 690 49" id="caption2" class="search_name" anchor="left top"/>
  403. <Button position="absolute 1100 30 1168 52" id="btn_excel" class="btn7" text="Excel" onclick="btn_excel_onclick" anchor="top right" taborder="3"/>
  404. <PopupMenu id="pmenu" position="absolute 1183 5 1338 68" idcolumn="idcolumn" captioncolumn="captioncolumn" levelcolumn="levelcolumn" enablecolumn="enablecolumn" iconcolumn="iconcolumn" checkboxcolumn="checkboxcolumn" hotkeycolumn="hotkeycolumn" userdatacolumn="userdatacolumn" onmenuclick="pmenu_onmenuclick">
  405. <Dataset id="innerdataset">
  406. <ColumnInfo>
  407. <Column id="idcolumn" size="256"/>
  408. <Column id="captioncolumn" size="256"/>
  409. <Column id="levelcolumn" size="256"/>
  410. <Column id="enablecolumn" size="256"/>
  411. <Column id="iconcolumn" size="256"/>
  412. <Column id="checkboxcolumn" size="256"/>
  413. <Column id="hotkeycolumn" size="256"/>
  414. <Column id="userdatacolumn" size="256"/>
  415. </ColumnInfo>
  416. <Rows>
  417. <Row>
  418. <Col id="idcolumn">mtralistold_popmenu</Col>
  419. <Col id="captioncolumn">권역외상등록체계(OLD)</Col>
  420. <Col id="levelcolumn"/>
  421. <Col id="enablecolumn"/>
  422. <Col id="iconcolumn"/>
  423. <Col id="checkboxcolumn"/>
  424. <Col id="hotkeycolumn"/>
  425. <Col id="userdatacolumn"/>
  426. </Row>
  427. <Row>
  428. <Col id="idcolumn">mtralistnew_popmenu</Col>
  429. <Col id="captioncolumn">권역외상등록체계(NEW)</Col>
  430. <Col id="levelcolumn"/>
  431. <Col id="enablecolumn"/>
  432. <Col id="iconcolumn"/>
  433. <Col id="checkboxcolumn"/>
  434. <Col id="hotkeycolumn"/>
  435. <Col id="userdatacolumn"/>
  436. </Row>
  437. <Row>
  438. <Col id="idcolumn">mtralistver3_popmenu</Col>
  439. <Col id="captioncolumn">권역외상등록체계(Ver3)</Col>
  440. <Col id="levelcolumn"/>
  441. <Col id="enablecolumn"/>
  442. <Col id="iconcolumn"/>
  443. <Col id="checkboxcolumn"/>
  444. <Col id="hotkeycolumn"/>
  445. <Col id="userdatacolumn"/>
  446. </Row>
  447. </Rows>
  448. </Dataset>
  449. </PopupMenu>
  450. <Button id="button1" taborder="11" text="기록" class="btn2" position="absolute 885 30 941 52" anchor="left top" onclick="button1_onclick"/>
  451. </Layout>
  452. </Layouts>
  453. <Objects>
  454. <Dataset id="ds_grd_bak" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  455. <ColumnInfo>
  456. <Column id="bedposcnts" type="STRING"/>
  457. <Column id="pid" type="STRING"/>
  458. <Column id="orddd" type="STRING"/>
  459. <Column id="cretno" type="STRING"/>
  460. <Column id="instcd" type="STRING"/>
  461. <Column id="hngnm" type="STRING"/>
  462. <Column id="sex" type="STRING"/>
  463. <Column id="age" type="STRING"/>
  464. <Column id="chosdt" type="STRING"/>
  465. <Column id="outrmdt" type="STRING"/>
  466. <Column id="outrmcd" type="STRING"/>
  467. <Column id="indschacptstat" type="STRING"/>
  468. <Column id="dschnotidt" type="STRING"/>
  469. <Column id="dschdd" type="STRING"/>
  470. <Column id="wardcd" type="STRING"/>
  471. <Column id="wardnm" type="STRING"/>
  472. <Column id="ordtype" type="STRING"/>
  473. <Column id="icu" type="STRING"/>
  474. <Column id="op" type="STRING"/>
  475. <Column id="sympnm" type="STRING"/>
  476. <Column id="diagnm" type="STRING"/>
  477. <Column id="orddeptnm" type="STRING"/>
  478. <Column id="jatdoctnm" type="STRING"/>
  479. <Column id="datdoctnm" type="STRING"/>
  480. <Column id="erorddeptnm" type="STRING"/>
  481. <Column id="ermedispclnm" type="STRING"/>
  482. </ColumnInfo>
  483. </Dataset>
  484. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  485. <ColumnInfo>
  486. <Column id="srch_kind" type="STRING" size="256"/>
  487. <Column id="srch_startdd" type="STRING" size="256"/>
  488. <Column id="srch_enddd" type="STRING" size="256"/>
  489. <Column id="srch_outrmcdyn" type="STRING" size="256"/>
  490. <Column id="srch_pid" type="STRING" size="256"/>
  491. </ColumnInfo>
  492. <Rows>
  493. <Row>
  494. <Col id="srch_kind">2</Col>
  495. <Col id="srch_startdd"/>
  496. <Col id="srch_enddd"/>
  497. <Col id="srch_outrmcdyn"/>
  498. <Col id="srch_pid"/>
  499. </Row>
  500. </Rows>
  501. </Dataset>
  502. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  503. <Dataset id="ds_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  504. <Dataset id="ds_main_mtralist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  505. <ColumnInfo>
  506. <Column id="wardnm" type="STRING"/>
  507. <Column id="lastpos" type="STRING"/>
  508. <Column id="bedposcnts" type="STRING"/>
  509. <Column id="pid" type="STRING"/>
  510. <Column id="hngnm" type="STRING"/>
  511. <Column id="sex" type="STRING"/>
  512. <Column id="age" type="STRING"/>
  513. <Column id="chosdd" type="STRING"/>
  514. <Column id="chostm" type="STRING"/>
  515. <Column id="outrmdd" type="STRING"/>
  516. <Column id="outrmtm" type="STRING"/>
  517. <Column id="outrmcd" type="STRING"/>
  518. <Column id="thospital" type="STRING"/>
  519. <Column id="notidd" type="STRING"/>
  520. <Column id="notitm" type="STRING"/>
  521. <Column id="erptdcrt" type="STRING"/>
  522. <Column id="icu" type="STRING"/>
  523. <Column id="tricu" type="STRING"/>
  524. <Column id="op" type="STRING"/>
  525. <Column id="trop" type="STRING"/>
  526. <Column id="sympnm" type="STRING"/>
  527. <Column id="diagnm" type="STRING"/>
  528. <Column id="orddeptnm" type="STRING"/>
  529. <Column id="jatdoctnm" type="STRING"/>
  530. <Column id="datdoctnm" type="STRING"/>
  531. <Column id="ordtype" type="STRING"/>
  532. <Column id="orddd" type="STRING"/>
  533. <Column id="cretno" type="STRING"/>
  534. <Column id="instcd" type="STRING"/>
  535. <Column id="dschdd" type="STRING"/>
  536. <Column id="indschacptstat" type="STRING"/>
  537. <Column id="serflag" type="STRING" size="0"/>
  538. <Column id="trmsciss" type="STRING" size="0"/>
  539. </ColumnInfo>
  540. </Dataset>
  541. <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  542. <Dataset id="ds_main_mtralist_ex" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  543. <ColumnInfo>
  544. <Column id="wardnm" type="STRING"/>
  545. <Column id="lastpos" type="STRING"/>
  546. <Column id="bedposcnts" type="STRING"/>
  547. <Column id="pid" type="STRING"/>
  548. <Column id="hngnm" type="STRING"/>
  549. <Column id="sex" type="STRING"/>
  550. <Column id="age" type="STRING"/>
  551. <Column id="erdd" type="STRING"/>
  552. <Column id="wrdd" type="STRING"/>
  553. <Column id="hdd" type="STRING"/>
  554. <Column id="podd" type="STRING"/>
  555. <Column id="fopdd" type="STRING"/>
  556. <Column id="chosdd" type="STRING"/>
  557. <Column id="chostm" type="STRING"/>
  558. <Column id="outrmdd" type="STRING"/>
  559. <Column id="outrmtm" type="STRING"/>
  560. <Column id="outrmcd" type="STRING"/>
  561. <Column id="thospital" type="STRING"/>
  562. <Column id="notidd" type="STRING"/>
  563. <Column id="notitm" type="STRING"/>
  564. <Column id="erptdcrt" type="STRING"/>
  565. <Column id="icu" type="STRING"/>
  566. <Column id="tricu" type="STRING"/>
  567. <Column id="icudd" type="STRING"/>
  568. <Column id="icuindt" type="STRING"/>
  569. <Column id="icudurtm" type="STRING"/>
  570. <Column id="roomindt" type="STRING"/>
  571. <Column id="roomdurtm" type="STRING"/>
  572. <Column id="op" type="STRING"/>
  573. <Column id="trop" type="STRING"/>
  574. <Column id="patinroomdt" type="STRING"/>
  575. <Column id="opdurtm" type="STRING"/>
  576. <Column id="pasthx" type="STRING"/>
  577. <Column id="sympnm" type="STRING"/>
  578. <Column id="diagnm" type="STRING"/>
  579. <Column id="orddeptnm" type="STRING"/>
  580. <Column id="jatdoctnm" type="STRING"/>
  581. <Column id="datdoctnm" type="STRING"/>
  582. <Column id="consult" type="STRING"/>
  583. <Column id="calldept" type="STRING"/>
  584. <Column id="calldt" type="STRING"/>
  585. <Column id="arrvdt" type="STRING"/>
  586. <Column id="durtime" type="STRING"/>
  587. <Column id="head" type="STRING"/>
  588. <Column id="face" type="STRING"/>
  589. <Column id="chest" type="STRING"/>
  590. <Column id="abdomen" type="STRING"/>
  591. <Column id="extremity" type="STRING"/>
  592. <Column id="external" type="STRING"/>
  593. <Column id="iss" type="STRING"/>
  594. <Column id="head2" type="STRING"/>
  595. <Column id="face2" type="STRING"/>
  596. <Column id="chest2" type="STRING"/>
  597. <Column id="abdomen2" type="STRING"/>
  598. <Column id="extremity2" type="STRING"/>
  599. <Column id="external2" type="STRING"/>
  600. <Column id="iss2" type="STRING"/>
  601. <Column id="trmsdmtp" type="STRING"/>
  602. <Column id="trmsrtsc" type="STRING"/>
  603. <Column id="triss" type="STRING"/>
  604. </ColumnInfo>
  605. </Dataset>
  606. <Dataset id="ds_srch_kind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  607. <ColumnInfo>
  608. <Column id="label" type="STRING" size="256"/>
  609. <Column id="value" type="STRING" size="256"/>
  610. </ColumnInfo>
  611. <Rows>
  612. <Row>
  613. <Col id="label">퇴원일</Col>
  614. <Col id="value">1</Col>
  615. </Row>
  616. <Row>
  617. <Col id="label">내원일</Col>
  618. <Col id="value">2</Col>
  619. </Row>
  620. </Rows>
  621. </Dataset>
  622. <Dataset id="ds_main_bak" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  623. <ColumnInfo>
  624. <Column id="bedposcnts" type="STRING"/>
  625. <Column id="pid" type="STRING"/>
  626. <Column id="orddd" type="STRING"/>
  627. <Column id="cretno" type="STRING"/>
  628. <Column id="instcd" type="STRING"/>
  629. <Column id="hngnm" type="STRING"/>
  630. <Column id="sex" type="STRING"/>
  631. <Column id="age" type="STRING"/>
  632. <Column id="chosdt" type="STRING"/>
  633. <Column id="outrmdt" type="STRING"/>
  634. <Column id="outrmcd" type="STRING"/>
  635. <Column id="indschacptstat" type="STRING"/>
  636. <Column id="dschnotidt" type="STRING"/>
  637. <Column id="dschdd" type="STRING"/>
  638. <Column id="wardcd" type="STRING"/>
  639. <Column id="wardnm" type="STRING"/>
  640. <Column id="ordtype" type="STRING"/>
  641. <Column id="icu" type="STRING"/>
  642. <Column id="op" type="STRING"/>
  643. <Column id="sympnm" type="STRING"/>
  644. <Column id="diagnm" type="STRING"/>
  645. <Column id="orddeptnm" type="STRING"/>
  646. <Column id="jatdoctnm" type="STRING"/>
  647. <Column id="datdoctnm" type="STRING"/>
  648. <Column id="erorddeptnm" type="STRING"/>
  649. <Column id="ermedispclnm" type="STRING"/>
  650. </ColumnInfo>
  651. </Dataset>
  652. </Objects>
  653. <Bind>
  654. <BindItem id="item0" compid="combo3" propid="value" datasetid="ds_init" columnid="srch_kind"/>
  655. <BindItem id="item1" compid="input3" propid="value" datasetid="ds_init" columnid="srch_startdd"/>
  656. <BindItem id="item2" compid="input1" propid="value" datasetid="ds_init" columnid="srch_enddd"/>
  657. <BindItem id="item3" compid="checkbox1" propid="value" datasetid="ds_init" columnid="srch_outrmcdyn"/>
  658. <BindItem id="item4" compid="input2" propid="value" datasetid="ds_init" columnid="srch_pid"/>
  659. </Bind>
  660. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  661. * System Name :
  662. * Job Name :
  663. * Creator :
  664. * Make Date : 2014-12-10
  665. * Description :
  666. *---------------------------------------------------------------------------------------
  667. * Modify Date Modifier Modify Description
  668. *---------------------------------------------------------------------------------------
  669. * 2014-12-10 Live Converter TF->XP
  670. *
  671. *---------------------------------------------------------------------------------------
  672. ****************************************************************************************/
  673. include "com_commonxp::comm_main.xjs";
  674. include "emr_prcpmngtxp::MMO001.xjs";
  675. function SPMMO07900_oninit(obj:Form, e:InitEventInfo)
  676. {
  677. frmf_initForm(obj);
  678. }
  679. function SPMMO07900_onload(obj:Form, e:LoadEventInfo)
  680. {
  681. grdf_setGridSort(grd_mtralist);
  682. grdf_setToolTipBind(grd_mtralist);
  683. var sSdate = utlf_getCurrentDate().substr(0, 6) + "01";
  684. var sEdate = utlf_getCurrentDate();
  685. dsf_makeValue(ds_init, "srch_startdd", "string", sSdate);
  686. dsf_makeValue(ds_init, "srch_enddd", "string", sEdate);
  687. dsf_makeValue(ds_send, "userid", "string", sysf_getUserInfo("userid"));
  688. dsf_makeValue(ds_send, "dutplcecd", "string", sysf_getUserInfo("dutplcecd"));
  689. dsf_makeValue(ds_send, "workdd", "string", utlf_getCurrentDate());
  690. var oParam = {};
  691. oParam.id = "TRMNE05805";
  692. oParam.service = "ercareapp.ERPatMngt";
  693. oParam.method = "reqGetSuperUserTCenter";
  694. oParam.inds = "req=ds_send";
  695. oParam.outds = "ds_userinfo=userinfo";
  696. oParam.async = false;
  697. oParam.callback = "cf_TRMNE05805";
  698. tranf_submit(oParam);
  699. var sSuperUser = ds_userinfo.getColumn(0, "superuser");
  700. if (sSuperUser == "Y") {
  701. btn_excel.enable = true;
  702. } else {
  703. btn_excel.enable = false;
  704. }
  705. if (gv_bIsPreview == true) // 개발자 모드
  706. {
  707. ds_init.setColumn(0, "srch_startdd", "20190901");
  708. ds_init.setColumn(0, "srch_enddd" , "20190903");
  709. roundrect1.CheckBox00.visible = true;
  710. }
  711. }
  712. function cf_TRMNE05805(sSvcId, nErrorCode, sErrorMsg) {
  713. if(nErrorCode < 0) return;
  714. }
  715. function fClickPatList(i) {
  716. if ( i > -1 ) {
  717. eORDTYPE = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "ordtype"));
  718. ePID = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "pid"));
  719. eINDD = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "orddd"));
  720. eCRETNO = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "cretno"));
  721. eINSTCD = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "instcd"));
  722. eSRCHDD = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "dschdd"));
  723. eStat = utlf_transNullToEmpty(ds_main_mtralist.getColumn(i, "indschacptstat"));
  724. if (eStat == "A") {
  725. var param = eORDTYPE + "▦"
  726. + ePID + "▦"
  727. + eINDD + "▦"
  728. + eCRETNO + "▦"
  729. + eINSTCD + "▦" ;
  730. } else {
  731. var param = eORDTYPE + "▦"
  732. + ePID + "▦"
  733. + eINDD + "▦"
  734. + eCRETNO + "▦"
  735. + eINSTCD + "▦"
  736. + eSRCHDD + "▦" ;
  737. }
  738. appf_initPatientInfo(param);
  739. var wndobj = frmf_findPopup("SMMMR00100");
  740. }
  741. }
  742. function grd_bak_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  743. {
  744. //상단정보
  745. fClickPatList(e.row);
  746. }
  747. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  748. {
  749. //그리드 초기화
  750. grdf_clearSort(grd_mtralist);
  751. ds_send_cond.clearData();
  752. var nRow = ds_send_cond.addRow();
  753. dsf_makeValue(ds_send_cond, "srch_kind", "string", ds_init.getColumn(0, "srch_kind"));
  754. dsf_makeValue(ds_send_cond, "srch_startdd", "string", ds_init.getColumn(0, "srch_startdd"));
  755. dsf_makeValue(ds_send_cond, "srch_enddd", "string", ds_init.getColumn(0, "srch_enddd"));
  756. dsf_makeValue(ds_send_cond, "srch_outrmcdyn", "string", ds_init.getColumn(0, "srch_outrmcdyn"));
  757. dsf_makeValue(ds_send_cond, "srch_gbn", "string", "S");
  758. dsf_makeValue(ds_send_cond, "srch_pid", "string", ds_init.getColumn(0, "srch_pid"));
  759. ds_main_mtralist.clearData();
  760. var oParam = {};
  761. oParam.id = "TRMMO07901";
  762. oParam.service = "prcpmngtapp.ErMngt";
  763. oParam.method = "reqGetMTraInfoList";
  764. oParam.inds = "req=ds_send_cond";
  765. oParam.outds = "ds_main_mtralist=mtralist ds_main_mtralist_ex=mtralist_ex";
  766. oParam.async = false;
  767. oParam.callback = "cf_TRMMO07901";
  768. tranf_submit(oParam);
  769. }
  770. function cf_TRMMO07901(sSvcId, nErrorCode, sErrorMsg) {
  771. if(nErrorCode < 0) return;
  772. }
  773. function grd_mtralist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  774. {
  775. var row = ds_main_mtralist.rowposition;
  776. //상단정보
  777. fClickPatList(row);
  778. frmf_setParameter("idno", ds_main_mtralist.getColumn(row, "pid"));
  779. frmf_setParameter("indd", ds_main_mtralist.getColumn(row, "chosdd"));
  780. frmf_setParameter("orddd", ds_main_mtralist.getColumn(row, "orddd"));
  781. frmf_setParameter("intm", ds_main_mtralist.getColumn(row, "chostm"));
  782. frmf_setParameter("cretno", ds_main_mtralist.getColumn(row, "cretno"));
  783. frmf_setParameter("ioflag", ds_main_mtralist.getColumn(row, "ordtype"));
  784. if (roundrect1.CheckBox00.value == "Y")
  785. {
  786. frmf_open("SPMMO08016", "SPMMO08016", null, false, 1, 0, 0, null, null, null, null, null, "M");
  787. return;
  788. }
  789. if (ds_main_mtralist.getColumn(row, "orddd") >= "20200101") //Ver3
  790. {
  791. frmf_open("SPMMO08016", "SPMMO08016", null, false, 1, 0, 0, null, null, null, null, null, "M");
  792. }
  793. else if(ds_main_mtralist.getColumn(row, "orddd") >= "20160901") //Ver2
  794. {
  795. frmf_open("SPMMO08012", "SPMMO08012", null, false, 1, e.clientX, e.clientY, null, null, null, null, null, "M");
  796. }
  797. else
  798. {
  799. frmf_open("SPMMO08010", "SPMMO08010", null, false, 1, e.clientX, e.clientY, null, null, null, null, null, "M");
  800. }
  801. }
  802. function input2_onkeydown(obj:Edit, e:KeyEventInfo)
  803. {
  804. if(e.keycode == 13) {
  805. obj.updateToDataset();
  806. btn_search.click();
  807. }
  808. }
  809. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  810. {
  811. ds_send_cond.clearData();
  812. dsf_makeValue(ds_send_cond, "srch_kind", "string", ds_init.getColumn(0, "srch_kind"));
  813. dsf_makeValue(ds_send_cond, "srch_startdd", "string", ds_init.getColumn(0, "srch_startdd"));
  814. dsf_makeValue(ds_send_cond, "srch_enddd", "string", ds_init.getColumn(0, "srch_enddd"));
  815. dsf_makeValue(ds_send_cond, "srch_outrmcdyn", "string", ds_init.getColumn(0, "srch_outrmcdyn"));
  816. dsf_makeValue(ds_send_cond, "srch_pid", "string", ds_init.getColumn(0, "srch_pid"));
  817. dsf_makeValue(ds_send_cond, "srch_gbn", "string", "E");
  818. ds_main_mtralist_ex.clearData();
  819. var oParam = {};
  820. oParam.id = "TRMMO07901";
  821. oParam.service = "prcpmngtapp.ErMngt";
  822. oParam.method = "reqGetMTraInfoList";
  823. oParam.inds = "req=ds_send_cond";
  824. oParam.outds = "ds_main_mtralist=mtralist ds_main_mtralist_ex=mtralist_ex";
  825. oParam.async = false;
  826. oParam.callback = "cf_TRMMO07901";
  827. tranf_submit(oParam);
  828. grdf_exportExcel(grd_excel, "권역외상센터대상자리스트", "SheetName", false, null, null, false);
  829. }
  830. function cf_TRMMO07901(sSvcId, nErrorCode, sErrorMsg) {
  831. if(nErrorCode < 0) return;
  832. }
  833. function mtralistold_popmenu() {
  834. var row = ds_main_mtralist.rowposition;
  835. //상단정보
  836. fClickPatList(row);
  837. frmf_setParameter("idno", ds_main_mtralist.getColumn(row, "pid"));
  838. frmf_setParameter("indd", ds_main_mtralist.getColumn(row, "chosdd"));
  839. frmf_setParameter("orddd", ds_main_mtralist.getColumn(row, "orddd"));
  840. frmf_setParameter("intm", ds_main_mtralist.getColumn(row, "chostm"));
  841. frmf_setParameter("cretno", ds_main_mtralist.getColumn(row, "cretno"));
  842. frmf_open("SPMMO08010", "SPMMO08010", null, false, "1", null, null, null, null, null, null, null, "M");
  843. }
  844. function mtralistnew_popmenu() {
  845. var row = ds_main_mtralist.rowposition;
  846. //상단정보
  847. fClickPatList(row);
  848. frmf_setParameter("idno", ds_main_mtralist.getColumn(row, "pid"));
  849. frmf_setParameter("indd", ds_main_mtralist.getColumn(row, "chosdd"));
  850. frmf_setParameter("orddd", ds_main_mtralist.getColumn(row, "orddd"));
  851. frmf_setParameter("intm", ds_main_mtralist.getColumn(row, "chostm"));
  852. frmf_setParameter("cretno", ds_main_mtralist.getColumn(row, "cretno"));
  853. frmf_setParameter("ioflag", ds_main_mtralist.getColumn(row, "ordtype"));
  854. frmf_open("SPMMO08012", "SPMMO08012", null, false, "1", null, null, null, null, null, null, null, "M");
  855. }
  856. function mtralistver3_popmenu() {
  857. var row = ds_main_mtralist.rowposition;
  858. //상단정보
  859. fClickPatList(row);
  860. frmf_setParameter("idno", ds_main_mtralist.getColumn(row, "pid"));
  861. frmf_setParameter("indd", ds_main_mtralist.getColumn(row, "chosdd"));
  862. frmf_setParameter("orddd", ds_main_mtralist.getColumn(row, "orddd"));
  863. frmf_setParameter("intm", ds_main_mtralist.getColumn(row, "chostm"));
  864. frmf_setParameter("cretno", ds_main_mtralist.getColumn(row, "cretno"));
  865. frmf_setParameter("ioflag", ds_main_mtralist.getColumn(row, "ordtype"));
  866. frmf_open("SPMMO08016", "SPMMO08016", null, false, "1", null, null, null, null, null, null, null, "M");
  867. }
  868. function grd_mtralist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  869. {
  870. if(e.row < 0) return;
  871. grdf_setSelectedCell(obj, e);
  872. pmenu.trackPopup(e.screenX,e.screenY);
  873. }
  874. function button1_onclick(obj:Button, e:ClickEventInfo)
  875. {
  876. frmf_open("SPMMO08050", "SPMMO08050", null, null, null, null, null, null, null, null, null, null, "M");
  877. }
  878. function checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  879. {
  880. if(obj.value != "Y")
  881. ds_init.setColumn(0, "srch_outrmcdyn", "");
  882. }
  883. function pmenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  884. {
  885. eval(e.id + "()");
  886. }
  887. ]]></Script>
  888. </Form>
  889. </FDL>