SMMQR05100_RRT관리대장.xfdl 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMQR05000" classname="SMMQR05100_RRT관리대장" inheritanceid="" position="absolute 0 0 1205 787" titletext="RRT 관리대장" oninit="SMMQR05000_oninit" onload="SMMQR05000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="btn_close" taborder="16" text="LAB창닫기" position="absolute 1120 476 1195 504" onclick="btn_close_onclick" anchor="right bottom" visible="false"/>
  8. <Grid id="grd_rrtmmt" class="datagrid2" taborder="11" binddataset="ds_main_rrtmmt" autoenter="select" useinputpanel="false" cellsizingtype="col" cellclickbound="cell" onrbuttonup="switch1_case1_grd_mrrtlist_onrbuttonup" position="absolute 0 103 1195 504" anchor="all" oncloseup="grd_rrtmmt_oncloseup" oncelldblclick="grd_rrtmmt_oncelldblclick">
  9. <Formats>
  10. <Format id="default">
  11. <Columns>
  12. <Column size="23" band="left"/>
  13. <Column size="24" band="left"/>
  14. <Column size="21"/>
  15. <Column size="37"/>
  16. <Column size="53"/>
  17. <Column size="60"/>
  18. <Column size="70"/>
  19. <Column size="45"/>
  20. <Column size="96"/>
  21. <Column size="30"/>
  22. <Column size="40"/>
  23. <Column size="30"/>
  24. <Column size="40"/>
  25. <Column size="30"/>
  26. <Column size="40"/>
  27. <Column size="39"/>
  28. <Column size="40"/>
  29. <Column size="41"/>
  30. <Column size="42"/>
  31. <Column size="0"/>
  32. <Column size="45"/>
  33. <Column size="282"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="80"/>
  39. <Column size="46"/>
  40. <Column size="48"/>
  41. <Column size="56"/>
  42. <Column size="32"/>
  43. <Column size="196"/>
  44. <Column size="79"/>
  45. <Column size="59"/>
  46. <Column size="58"/>
  47. <Column size="76"/>
  48. <Column size="59"/>
  49. <Column size="55"/>
  50. </Columns>
  51. <Rows>
  52. <Row size="44" band="head"/>
  53. <Row size="22"/>
  54. </Rows>
  55. <Band id="head">
  56. <Cell/>
  57. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  58. <Cell col="2" text="구&#13;&#10;분"/>
  59. <Cell col="3" text="상태"/>
  60. <Cell col="4" text="병실"/>
  61. <Cell col="5" text="등록번호"/>
  62. <Cell col="6" text="환자명"/>
  63. <Cell col="7" text="S/A"/>
  64. <Cell col="8" text="진료과"/>
  65. <Cell col="9" colspan="2" text="SBP" taborder="undefined"/>
  66. <Cell col="11" colspan="2" text="HR" taborder="undefined"/>
  67. <Cell col="13" colspan="2" text="RR" taborder="undefined"/>
  68. <Cell col="15" colspan="2" text="BT" taborder="undefined"/>
  69. <Cell col="17" colspan="2" text="의식수준" taborder="undefined"/>
  70. <Cell col="19" text="현재mewsnscore"/>
  71. <Cell col="20" text="MEWS score" wordwrap="word"/>
  72. <Cell col="21" text="사유"/>
  73. <Cell col="22" text="연명&#13;&#10;의료&#13;&#10;여부"/>
  74. <Cell col="23" text="확인일시"/>
  75. <Cell col="24" text="확인자"/>
  76. <Cell col="25"/>
  77. <Cell col="26" text="종료&#13;&#10;사유"/>
  78. <Cell col="27" text="담당&#13;&#10;교수"/>
  79. <Cell col="28" text="담당의"/>
  80. <Cell col="29" text="담당의&#13;&#10;전화번호"/>
  81. <Cell col="30" text="의뢰&#13;&#10;여부"/>
  82. <Cell col="31" text="진단명"/>
  83. <Cell col="32" colspan="2" text="등록일시" taborder="undefined"/>
  84. <Cell col="34" text="등록자"/>
  85. <Cell col="35" colspan="2" text="종료일시" taborder="undefined"/>
  86. <Cell col="37" text="종료자"/>
  87. </Band>
  88. <Band id="body">
  89. <Cell celltype="head" expr="currow+1"/>
  90. <Cell col="1" displaytype="checkbox" edittype="checkbox" style="background:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');background2:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');" text="bind:chk" expr="expr:chk == 'Y' || chk == '1' ? 1 : 0"/>
  91. <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;background:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');background2:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');" text="bind:pathgbn" combodataset="ds_init_pathgbn" combocodecol="value" combodatacol="label"/>
  92. <Cell col="3" displaytype="combo" edittype="combo" style="align:center middle;background:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');background2:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');" text="bind:statcd" combodataset="ds_init_statcd" combocodecol="value" combodatacol="label"/>
  93. <Cell col="4" style="background:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');background2:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');" text="bind:roomcd"/>
  94. <Cell col="5" style="background:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');background2:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');font:EXPR(memocount &gt; 0 ? 'arial,9,bold' : '');" text="bind:pid"/>
  95. <Cell col="6" style="background:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');background2:EXPR(statcd == 'O' ? 'lightskyblue' : statcd == 'A' ? 'pink' : statcd == 'M' ? 'navajowhite' : 'white');font:EXPR(memocount &gt; 0 ? 'arial,9,bold' : '');" text="bind:patnm"/>
  96. <Cell col="7" style="align:left middle;padding:0 0 0 5;" text="bind:sexage"/>
  97. <Cell col="8" style="align:left top;padding:5 2 3 2;" text="bind:orddeptnm" wordwrap="word" enable="false"/>
  98. <Cell col="9" text="bind:sbp"/>
  99. <Cell col="10" style="background:lightblue;background2:lightblue;" text="bind:csbp"/>
  100. <Cell col="11" text="bind:hr"/>
  101. <Cell col="12" style="background:lightblue;background2:lightblue;" text="bind:chr"/>
  102. <Cell col="13" text="bind:rr"/>
  103. <Cell col="14" style="background:lightblue;background2:lightblue;" text="bind:crr"/>
  104. <Cell col="15" text="bind:bt"/>
  105. <Cell col="16" style="background:lightblue;background2:lightblue;" text="bind:cbt"/>
  106. <Cell col="17" style="align:left middle;" text="bind:avpu"/>
  107. <Cell col="18" style="align:left middle;background:lightblue;background2:lightblue;" text="bind:cavpu"/>
  108. <Cell col="19" text="bind:cmews_socore"/>
  109. <Cell col="20" text="bind:mews_score"/>
  110. <Cell col="21" displaytype="text" edittype="text" style="align:left top;padding:5 2 3 2;" text="bind:reamrk" wordwrap="word"/>
  111. <Cell col="22"/>
  112. <Cell col="23" displaytype="date" edittype="date" text="bind:checkdd" mask="yyyy-MM-dd HH:mm:ss" maskchar=" " calendardisplaynulltype="nulltext"/>
  113. <Cell col="24" text="bind:checker"/>
  114. <Cell col="25" text="bind:fnshcd"/>
  115. <Cell col="26" displaytype="combo" edittype="combo" style="align:center;" text="bind:fnshmm" wordwrap="word" combodataset="ds_init_fnshmm" combocodecol="value" combodatacol="label" combodisplay="edit"/>
  116. <Cell col="27" text="bind:medispclnm"/>
  117. <Cell col="28" text="bind:atdoctnm"/>
  118. <Cell col="29" text="bind:pdano"/>
  119. <Cell col="30" text="bind:consult_yn"/>
  120. <Cell col="31" style="align:left middle;" text="bind:diagnm"/>
  121. <Cell col="32" displaytype="date" edittype="date" text="bind:acptdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  122. <Cell col="33" displaytype="text" edittype="text" style="align:center middle;" text="bind:acpttm" mask="##:##:##" maskchar=" "/>
  123. <Cell col="34" displaytype="normal" text="bind:fstrgstrid"/>
  124. <Cell col="35" displaytype="date" edittype="date" text="bind:fnshdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  125. <Cell col="36" displaytype="text" edittype="text" style="align:center middle;" text="bind:fnshtm" mask="##:##:##" maskchar=" "/>
  126. <Cell col="37" text="bind:fnsher"/>
  127. </Band>
  128. </Format>
  129. </Formats>
  130. </Grid>
  131. <Grid id="datagrid2" taborder="15" binddataset="ds_main_rsltlist_row" autoenter="select" useinputpanel="false" selecttype="multiarea" cellsizingtype="col" oncellclick="datagrid2_oncellclick" position="absolute 0 509 1195 748" anchor="left right bottom">
  132. <Formats>
  133. <Format id="default">
  134. <Columns>
  135. <Column size="29"/>
  136. </Columns>
  137. <Rows>
  138. <Row size="24" band="head"/>
  139. <Row size="24"/>
  140. </Rows>
  141. <Band id="head">
  142. <Cell/>
  143. </Band>
  144. <Band id="body">
  145. <Cell celltype="head" expr="currow+1"/>
  146. </Band>
  147. </Format>
  148. </Formats>
  149. </Grid>
  150. <Shape id="line2" class="line_10" position="absolute 0 504 1195 510" anchor="left right bottom"/>
  151. <Static id="caption6" text="RRT 관리대상자 목록" class="tit_1" position="absolute 0 0 170 24"/>
  152. <Button id="btn_testrsltref" taborder="5" text="검사결과조회" position="absolute 0 754 103 776" class="btn3" anchor="left bottom" onclick="btn_testrsltref_onclick"/>
  153. <Button id="btn_recsrch" taborder="6" text="통합기록조회" class="btn3" position="absolute 104 754 207 776" anchor="left bottom" onclick="btn_recsrch_onclick"/>
  154. <Button id="button5" taborder="7" text="임상관찰기록지" class="btn3" position="absolute 208 754 327 776" anchor="left bottom" onclick="button5_onclick"/>
  155. <Button id="button6" taborder="8" text="간호일지" class="btn3" position="absolute 328 754 407 776" anchor="left bottom" onclick="button6_onclick"/>
  156. <Div id="grp_sea" anchor="left top right" taborder="9" class="div_SA" position="absolute 0 24 1195 64">
  157. <Layouts>
  158. <Layout>
  159. <Calendar id="ipt_todd" taborder="2" autoselect="true" autoskip="true" class="input_search" position="absolute 195 10 282 30" anchor="default"/>
  160. <Calendar id="ipt_fromdd" taborder="0" autoselect="true" autoskip="true" class="input_search" position="absolute 88 10 175 30" anchor="default"/>
  161. <Static id="caption8" text="~" position="absolute 179 13 190 27" anchor="default"/>
  162. <Static id="caption7" text="등록일시 :" class="search_name" position="absolute 9 11 87 29" anchor="default"/>
  163. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1116 9 1122 29" anchor="top right"/>
  164. <Button id="btn_srchrrt" taborder="5" text="조회" onclick="grp_sea_btn_srchrrt_onclick" class="btn1" position="absolute 1131 9 1187 31" anchor="top right"/>
  165. <Static id="caption00" text="상 태 :" class="search_name" position="absolute 497 13 548 27"/>
  166. <cp_checkboxList id="chk_statcd" titletext="CheckBox List" taborder="7" scrollbars="none" position="absolute 603 10 856 33" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  167. <CheckBox id="chk_all" taborder="8" text="전체" position="absolute 553 10 598 30" truevalue="Y" falsevalue="N" onclick="grp_sea_chk_all_onclick"/>
  168. <Radio id="rdo_gubun" taborder="9" columncount="-1" rowcount="-1" position="absolute 998 11 1102 33" codecolumn="codecolumn" datacolumn="datacolumn" index="0" value="A" onitemchanged="grp_sea_rdo_gubun_onitemchanged">
  169. <Dataset id="innerdataset">
  170. <ColumnInfo>
  171. <Column id="codecolumn" size="256"/>
  172. <Column id="datacolumn" size="256"/>
  173. </ColumnInfo>
  174. <Rows>
  175. <Row>
  176. <Col id="codecolumn">A</Col>
  177. <Col id="datacolumn">성인</Col>
  178. </Row>
  179. <Row>
  180. <Col id="codecolumn">P</Col>
  181. <Col id="datacolumn">소아</Col>
  182. </Row>
  183. </Rows>
  184. </Dataset>
  185. </Radio>
  186. </Layout>
  187. </Layouts>
  188. </Div>
  189. <Button id="button4" taborder="10" text="저장" onclick="button4_onclick" class="btn5" position="absolute 1153 78 1195 98" anchor="top right"/>
  190. <Shape id="line1" class="line_10" position="absolute 0 98 1195 104" anchor="left top right"/>
  191. <Static id="caption5" text="RRT관리대상자목록" class="tit_2" position="absolute 0 82 143 103"/>
  192. <Button id="btn_excel" taborder="12" text="엑셀저장" class="btn7" position="absolute 1069 78 1151 98" anchor="top right" onclick="btn_excel_onclick"/>
  193. <Button id="button7" taborder="13" text="신속대응팀 기록" class="btn4" position="absolute 536 754 655 776" anchor="left bottom" onclick="button7_onclick"/>
  194. <PopupMenu id="pmn_menu1" innerdataset="ds_popupmenu" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu1_onmenuclick" onmouseleave="pmn_menu1_onmouseleave" position="absolute 1214 115 1318 146"/>
  195. <Div id="grp_memolist" taborder="14" style="background:white;border:1 solid #808080ff ;" visible="false" position="absolute 363 224 1114 552">
  196. <Layouts>
  197. <Layout>
  198. <Grid id="grd_memo" taborder="2" binddataset="ds_hidden_memo" autoenter="select" useinputpanel="false" extendsizetype="row" cellsizingtype="row" autosizingtype="row" position="absolute 3 31 744 321">
  199. <Formats>
  200. <Format id="default">
  201. <Columns>
  202. <Column size="59"/>
  203. <Column size="54"/>
  204. <Column size="84"/>
  205. <Column size="495"/>
  206. </Columns>
  207. <Rows>
  208. <Row size="30" band="head"/>
  209. <Row size="24"/>
  210. </Rows>
  211. <Band id="head">
  212. <Cell text="등록번호"/>
  213. <Cell col="1" text="환자명"/>
  214. <Cell col="2" text="등록일시"/>
  215. <Cell col="3" text="사유"/>
  216. </Band>
  217. <Band id="body">
  218. <Cell style="align:center middle;" text="bind:pid"/>
  219. <Cell col="1" style="align:center middle;" text="bind:patnm"/>
  220. <Cell col="2" displaytype="date" style="align:center middle;" text="bind:acptdd" calendardisplaynulltype="nulltext"/>
  221. <Cell col="3" style="align:left top;padding:5 2 3 2;" text="bind:reamrk" wordwrap="word" autosizerow="limitmin"/>
  222. </Band>
  223. </Format>
  224. </Formats>
  225. </Grid>
  226. <Button id="btn_close" taborder="3" onclick="grp_memolist_btn_close_onclick" class="btn_POP_cls" position="absolute 715 4 746 29" style="background:#009393ff;"/>
  227. </Layout>
  228. </Layouts>
  229. </Div>
  230. <Static id="Static00" text="과거 사유가 있는 환자는 등록번호와 환자명에 진하게 표시함." position="absolute 228 77 595 98" style="color:brown;font:Dotum,9,bold;"/>
  231. <Button id="btn_pedemr" taborder="17" text="소아 신속대응팀 기록" class="btn4" position="absolute 656 754 805 776" anchor="left bottom" onclick="btn_pedemr_onclick" visible="false"/>
  232. <Button id="btn_pews" taborder="18" text="PEWS 재사정" class="btn4" position="absolute 808 754 919 776" anchor="left bottom" onclick="btn_pews_onclick" visible="false"/>
  233. <Div id="group7" taborder="19" style="background:#080808ff;" visible="false" position="absolute 579 251 858 370">
  234. <Layouts>
  235. <Layout>
  236. <Static id="cpt_isoldata" position="absolute 2 2 277 117" style="background:#d6dadcff;" anchor="default"/>
  237. <Static id="caption20" text="종료사유" class="tit_2" position="absolute 10 7 125 28" anchor="default"/>
  238. <Shape id="line14" class="line_10" position="absolute 10 23 270 29" anchor="default"/>
  239. <Shape id="line19" class="line_3" position="absolute 10 91 270 97" anchor="default"/>
  240. <Button id="btn_close" taborder="1" text="확인" class="btn5" position="absolute 227 95 269 114" anchor="default" onclick="group7_btn_close_onclick"/>
  241. <TextArea id="textarea1" taborder="2" scrollbars="autovert" wordwrap="char" position="absolute 10 28 270 92" anchor="default"/>
  242. <Button id="btn_close00" taborder="3" text="Exit" class="btn3" position="absolute 171 95 221 114" onclick="group7_btn_close00_onclick"/>
  243. </Layout>
  244. </Layouts>
  245. </Div>
  246. <Button id="btn_pacs" taborder="20" text="PACS-등록번호" position="absolute 408 754 525 776" onclick="btn_pacs_onclick" class="btn3" anchor="left bottom"/>
  247. </Layout>
  248. </Layouts>
  249. <Bind>
  250. <BindItem id="item2" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  251. <BindItem id="item4" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  252. <BindItem id="item1" compid="grp_sea.chk_all" propid="value" datasetid="ds_hidden" columnid="chkall"/>
  253. <BindItem id="item3" compid="grp_sea.rdo_gubun" propid="value" datasetid="ds_send" columnid="gubun"/>
  254. <BindItem id="item5" compid="group7.textarea1" propid="value" datasetid="ds_main_rrtmmt" columnid="fnshcd"/>
  255. </Bind>
  256. <Objects>
  257. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  258. <ColumnInfo>
  259. <Column id="instcd" type="STRING" size="256"/>
  260. <Column id="fromdd" type="STRING" size="256"/>
  261. <Column id="todd" type="STRING" size="256"/>
  262. <Column id="statcd" type="STRING" size="256"/>
  263. <Column id="gubun" type="STRING" size="256"/>
  264. </ColumnInfo>
  265. <Rows>
  266. <Row/>
  267. </Rows>
  268. </Dataset>
  269. <Dataset id="ds_main_rrtmmt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_rrtmmt_oncolumnchanged"/>
  270. <Dataset id="ds_init_pathgbn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  271. <ColumnInfo>
  272. <Column id="label" type="STRING" size="256"/>
  273. <Column id="value" type="STRING" size="256"/>
  274. </ColumnInfo>
  275. <Rows>
  276. <Row>
  277. <Col id="label">S</Col>
  278. <Col id="value">S</Col>
  279. </Row>
  280. <Row>
  281. <Col id="label">C</Col>
  282. <Col id="value">C</Col>
  283. </Row>
  284. </Rows>
  285. </Dataset>
  286. <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  287. <Dataset id="ds_init_statcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  288. <ColumnInfo>
  289. <Column id="label" type="STRING" size="256"/>
  290. <Column id="value" type="STRING" size="256"/>
  291. </ColumnInfo>
  292. <Rows>
  293. <Row>
  294. <Col id="label">종료</Col>
  295. <Col id="value">F</Col>
  296. </Row>
  297. <Row>
  298. <Col id="label">유지</Col>
  299. <Col id="value">M</Col>
  300. </Row>
  301. <Row>
  302. <Col id="label">관찰</Col>
  303. <Col id="value">O</Col>
  304. </Row>
  305. <Row>
  306. <Col id="label">활동</Col>
  307. <Col id="value">A</Col>
  308. </Row>
  309. </Rows>
  310. </Dataset>
  311. <Dataset id="ds_init_fnshmm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  312. <ColumnInfo>
  313. <Column id="label" type="STRING" size="256"/>
  314. <Column id="value" type="STRING" size="256"/>
  315. </ColumnInfo>
  316. <Rows>
  317. <Row>
  318. <Col id="value"/>
  319. <Col id="label"/>
  320. </Row>
  321. <Row>
  322. <Col id="label">상태호전</Col>
  323. <Col id="value">1</Col>
  324. </Row>
  325. <Row>
  326. <Col id="label">ICU전실</Col>
  327. <Col id="value">2</Col>
  328. </Row>
  329. <Row>
  330. <Col id="label">DNR</Col>
  331. <Col id="value">3</Col>
  332. </Row>
  333. <Row>
  334. <Col id="label">사망</Col>
  335. <Col id="value">4</Col>
  336. </Row>
  337. <Row>
  338. <Col id="label">퇴원/전원</Col>
  339. <Col id="value">5</Col>
  340. </Row>
  341. <Row>
  342. <Col id="label">기록오류</Col>
  343. <Col id="value">6</Col>
  344. </Row>
  345. <Row>
  346. <Col id="label">기타</Col>
  347. <Col id="value">7</Col>
  348. </Row>
  349. </Rows>
  350. </Dataset>
  351. <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  352. <Dataset id="ds_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  353. <ColumnInfo>
  354. <Column id="label" type="STRING" size="256"/>
  355. <Column id="func" type="STRING" size="256"/>
  356. <Column id="level" type="STRING" size="256"/>
  357. </ColumnInfo>
  358. <Rows>
  359. <Row>
  360. <Col id="label">과거사유조회</Col>
  361. <Col id="func">fprememo</Col>
  362. </Row>
  363. </Rows>
  364. </Dataset>
  365. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  366. <ColumnInfo>
  367. <Column id="chkall" type="STRING" size="256"/>
  368. </ColumnInfo>
  369. <Rows>
  370. <Row>
  371. <Col id="chkall">N</Col>
  372. </Row>
  373. </Rows>
  374. </Dataset>
  375. <Dataset id="ds_hidden_memo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  376. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  377. <ColumnInfo>
  378. <Column id="pid" type="STRING" size="256"/>
  379. <Column id="patnm" type="STRING" size="256"/>
  380. <Column id="instcd" type="STRING" size="256"/>
  381. </ColumnInfo>
  382. <Rows>
  383. <Row/>
  384. </Rows>
  385. </Dataset>
  386. <Dataset id="ds_main_rsltlist_row" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  387. <Dataset id="ds_hidden_temp_rsltlist_row" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  388. <Dataset id="ds_hidden_temp_rsltlist_header" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  389. <Dataset id="ds_hidden_temp_rsltlist_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  390. <Dataset id="ds_send_setdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  391. </Objects>
  392. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  393. * System Name : SMMQR05100_RRT관리대장
  394. * Job Name :
  395. * Creator :
  396. * Make Date : 2018-10-11
  397. * Description : 신속대응팀 환자 스크리닝
  398. *---------------------------------------------------------------------------------------
  399. * Modify Date Modifier Modify Description
  400. *---------------------------------------------------------------------------------------
  401. *
  402. *
  403. *---------------------------------------------------------------------------------------
  404. ****************************************************************************************/
  405. include "com_commonxp::comm_main.xjs";
  406. include "com_pacsxp::ZEP001.xjs";
  407. include "emr_prcpmngtxp::MMOCommon.xjs";
  408. var gInstcd = sysf_getUserInfo("dutplceinstcd");
  409. var datagrid2Formats;
  410. function SMMQR05000_oninit(obj:Form, e:InitEventInfo)
  411. {
  412. frmf_initForm(obj);
  413. }
  414. function SMMQR05000_onload(obj:Form, e:LoadEventInfo)
  415. {
  416. //그리드 형식 저장
  417. datagrid2Formats = datagrid2.formats;
  418. grdf_initGrid(grd_rrtmmt);
  419. grdf_setToolTipBind(grd_rrtmmt);
  420. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  421. var oParam = {};
  422. oParam.id = "TRMNW00101";
  423. oParam.service = "wardcareapp.WardCareMngt";
  424. oParam.method = "reqGetWMInitData";
  425. oParam.inds = "reqcond=ds_send";
  426. oParam.outds = "ds_init_ward=ward";
  427. oParam.async = false;
  428. tranf_submit(oParam);
  429. var sProp="col=5,row=1,cellspacing=15,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  430. grp_sea.chk_statcd.setInitComp(sProp, ds_init_statcd,"value","label","fn_cmpEvent");
  431. var aData = new Array();
  432. aData[0] = "O";
  433. grp_sea.chk_statcd.setData(aData, "",false);
  434. fInitialize();
  435. }
  436. function fn_cmpEvent()
  437. {
  438. var rtn = grp_sea.chk_statcd.getData();
  439. ds_send.setColumn(0, "statcd", rtn);
  440. }
  441. function fInitialize()
  442. {
  443. ds_send.clearData();
  444. ds_send.addRow();
  445. var curDate = utlf_getCurrentDate();
  446. ds_send.setColumn(0, "fromdd", utlf_addDate(curDate, -7));
  447. ds_send.setColumn(0, "todd", curDate);
  448. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  449. ds_send.setColumn(0, "statcd", "O");
  450. ds_send.setColumn(0, "gubun", "A"); //성인/소아
  451. //grp_sea.cmb_wardcd.index = 0;
  452. //종료사유
  453. group7.visible = false;
  454. //alert(grp_sea.rdo_gubun.index );
  455. if (grp_sea.rdo_gubun.index == 0) { //성인
  456. button7.visible = true;
  457. btn_pedemr.visible = false;
  458. btn_pews.visible = false;
  459. } else {
  460. button7.visible = false;
  461. btn_pedemr.visible = true;
  462. btn_pews.visible = true;
  463. }
  464. }
  465. function grp_sea_btn_srchrrt_onclick(obj:Button, e:ClickEventInfo)
  466. {
  467. //상단정보 초기화
  468. appf_delPatientInfos();
  469. var oParam = {};
  470. oParam.id = "TRRTW00002";
  471. oParam.service = "rrtapp.RrtMngt";
  472. oParam.method = "reqGetRRTMmt";
  473. oParam.inds = "req=ds_send";
  474. oParam.outds = "ds_main_rrtmmt=rrtmmt";
  475. oParam.async = false;
  476. oParam.callback = "cf_TRRTW00002";
  477. tranf_submit(oParam);
  478. }
  479. function cf_TRRTW00002(sSvcId, nErrorCode, sErrorMsg)
  480. {
  481. if(nErrorCode < 0) return;
  482. ds_main_rrtmmt.keystring = "S:statcd";
  483. ds_main_rrtmmt.addColumn("chk", "string");
  484. }
  485. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  486. {
  487. grdf_exportExcel(grd_rrtmmt, "excel", "Sheet1", "true", "", "");
  488. }
  489. function ds_main_rrtmmt_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  490. {
  491. if(e.columnid == "chk")
  492. {
  493. obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  494. var curDate = utlf_getCurrentDate()+utlf_getCurrentTime();
  495. if(e.newvalue == "1")
  496. {
  497. obj.setColumn(e.row, "checkdd", curDate);
  498. obj.setColumn(e.row, "checker", sysf_getUserInfo("userid"));
  499. grd_rrtmmt.setCellPos(grd_rrtmmt.getBindCellIndex("body", "checker"));
  500. grd_rrtmmt.showEditor(true);
  501. }
  502. }
  503. else if(e.columnid == "checkdd")
  504. {
  505. obj.setColumn(e.row, e.columnid, utlf_transNullToEmpty(e.newvalue).substr(0,14));
  506. obj.setColumn(e.row, "checker", sysf_getUserInfo("userid"));
  507. }
  508. }
  509. function grd_rrtmmt_oncloseup(obj:Grid, e:GridEditEventInfo)
  510. {
  511. if(obj.getBindCellIndex("Body", "fnshmm") == e.cell)
  512. {
  513. if(!utlf_isNull(e.value))
  514. {
  515. if (e.value == '7' ) { //기타
  516. group7.visible = true;
  517. group7.textarea1.setFocus();
  518. } else {
  519. ds_main_rrtmmt.setColumn(ds_main_rrtmmt.rowposition, "fnshdd", utlf_getCurrentDate());
  520. ds_main_rrtmmt.setColumn(ds_main_rrtmmt.rowposition, "fnshtm", utlf_getCurrentTime());
  521. ds_main_rrtmmt.setColumn(ds_main_rrtmmt.rowposition, "fnsher", sysf_getUserInfo("userid"));
  522. }
  523. }
  524. else
  525. {
  526. ds_main_rrtmmt.setColumn(ds_main_rrtmmt.rowposition, "fnshdd", "");
  527. ds_main_rrtmmt.setColumn(ds_main_rrtmmt.rowposition, "fnsher", "");
  528. }
  529. }
  530. if(obj.getBindCellIndex("Body", "statcd") == e.cell)
  531. {
  532. if(e.value == "F")
  533. {
  534. obj.setCellPos(obj.getBindCellIndex("body", "fnshmm"));
  535. obj.showEditor(true);
  536. }
  537. }
  538. }
  539. function button4_onclick(obj:Button, e:ClickEventInfo)
  540. {
  541. var updategrid = grdf_getGridUpdateData(grd_rrtmmt);
  542. grdf_setStatusColumn(updategrid, "status");
  543. ds_send_save.copyData(updategrid, true);
  544. ds_send_save.addColumn("recovwardcd", "string");
  545. for(var i = 0; i < ds_send_save.rowcount; i++)
  546. {
  547. if(ds_send_save.getColumn(i, "statcd") == "F") //종료
  548. {
  549. if(utlf_isNull(ds_send_save.getColumn(i, "fnshmm")) || utlf_isNull(ds_send_save.getColumn(i, "fnsher")) || utlf_isNull(ds_send_save.getColumn(i, "fnshdd")))
  550. {
  551. sysf_messageBox("상태 값 종료 시, 종료사유, 종료일시, 종료자는", "I003");
  552. grd_rrtmmt.setCellPos(grd_rrtmmt.getBindCellIndex("body", "fnshmm"));
  553. grd_rrtmmt.showEditor(true);
  554. return;
  555. }
  556. }
  557. }
  558. var oParam = {};
  559. oParam.id = "TXRTW00002";
  560. oParam.service = "rrtapp.RrtMngt";
  561. oParam.method = "reqSetRRTMmt";
  562. oParam.inds = "req=ds_send_save";
  563. oParam.async = false;
  564. oParam.callback = "cf_TXRTW00002";
  565. tranf_submit(oParam);
  566. }
  567. function cf_TXRTW00002(sSvcId, nErrorCode, sErrorMsg)
  568. {
  569. if(nErrorCode < 0) return;
  570. // ds_send_save.clearData();
  571. grp_sea.btn_srchrrt.click();
  572. }
  573. function btn_testrsltref_onclick(obj:Button, e:ClickEventInfo)
  574. {
  575. frmf_open("SMAER00800", "SMAER00800", "", null, null, null, null, null, null, null, null, null, "M");
  576. }
  577. function btn_recsrch_onclick(obj:Button, e:ClickEventInfo)
  578. {
  579. frmf_modal("SMMRI00400", "SMMRI00400", null, null, null, null, null, null, null, null, null, null, "M");
  580. }
  581. function button5_onclick(obj:Button, e:ClickEventInfo)
  582. {
  583. frmf_modal("SMMNR00900", "SMMNR00900","", null, null, null, null, null, null, null, null, null, "M");
  584. }
  585. function button6_onclick(obj:Button, e:ClickEventInfo)
  586. {
  587. frmf_modal("SMMNR00700", "SMMNR00700",null, null, null, null, null, null, null, null, null, null, "M");
  588. }
  589. function button7_onclick(obj:Button, e:ClickEventInfo)
  590. {
  591. frmf_setParameter("SPMMR05400_parm_formcd", "1800022119");
  592. frmf_getParameter("SPMMR05400_parm_formrecdd", utlf_getCurrentDate());
  593. frmf_modal("SPMMR05400","SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
  594. }
  595. function grp_sea_chk_all_onclick(obj:CheckBox, e:ClickEventInfo)
  596. {
  597. if(obj.value == "Y")
  598. {
  599. ds_send.setColumn(0, "statcd", "%");
  600. grp_sea.chk_statcd.setCheckAll(true);
  601. }
  602. else
  603. {
  604. ds_send.setColumn(0, "statcd", "");
  605. grp_sea.chk_statcd.setCheckAll(false);
  606. }
  607. }
  608. function fprememo()
  609. {
  610. ds_req.setColumn(0, "instcd", ds_main_rrtmmt.getColumn(ds_main_rrtmmt.rowposition, "instcd"));
  611. ds_req.setColumn(0, "pid", ds_main_rrtmmt.getColumn(ds_main_rrtmmt.rowposition, "pid"));
  612. ds_req.setColumn(0, "patnm", ds_main_rrtmmt.getColumn(ds_main_rrtmmt.rowposition, "patnm"));
  613. var oParam = {};
  614. oParam.id = "TXRTW00002";
  615. oParam.service = "rrtapp.RrtMngt";
  616. oParam.method = "reqGetRRTMemo";
  617. oParam.inds = "req=ds_req";
  618. oParam.outds = "ds_hidden_memo=rrtmemo";
  619. oParam.async = false;
  620. //oParam.callback = "cf_TXRTW00001";
  621. tranf_submit(oParam);
  622. grp_memolist.visible = true;
  623. grp_memolist.bringToFront();
  624. }
  625. function switch1_case1_grd_mrrtlist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  626. {
  627. ds_main_rrtmmt.clearSelect();
  628. ds_main_rrtmmt.selectRow(e.row);
  629. ds_main_rrtmmt.rowposition = e.row;
  630. pmn_menu1.trackPopup(e.screenX,e.screenY);
  631. }
  632. function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  633. {
  634. eval(e.id +"();");
  635. }
  636. function pmn_menu1_onmouseleave(obj:PopupMenu, e:MenuMouseEventInfo)
  637. {
  638. obj.closePopup();
  639. }
  640. function grp_memolist_btn_close_onclick(obj:Button, e:ClickEventInfo)
  641. {
  642. grp_memolist.visible = false;
  643. }
  644. function grd_rrtmmt_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  645. {
  646. //상단정보 초기화
  647. appf_delPatientInfos();
  648. var row = ds_main_rrtmmt.rowposition;
  649. var param = "I▦" + ds_main_rrtmmt.getColumn(row, "pid")
  650. + "▦" + ds_main_rrtmmt.getColumn(row, "indd")
  651. + "▦" + ds_main_rrtmmt.getColumn(row, "cretno")
  652. + "▦" + ds_main_rrtmmt.getColumn(row, "instcd")
  653. + "▦" + ds_main_rrtmmt.getColumn(row, "acptdd");
  654. // sysf_trace("param = " + param);
  655. appf_initPatientInfo(param);
  656. fGetPDResultRef();
  657. }
  658. function fGetPDResultRef()
  659. {
  660. datagrid2.formats = datagrid2Formats;
  661. ds_hidden_temp_rsltlist_header.clearData();
  662. ds_main_rsltlist_row.clearData();
  663. if (ds_main_rsltlist_row.rowcount > 0)
  664. {
  665. for(var l = 4; l > -1; l--)
  666. {
  667. datagrid2.setFormatColProperty(l, "band", "body");
  668. }
  669. for (var i = datagrid2.getFormatColCount(); i > 0; i--)
  670. {
  671. datagrid2.deleteContentsCol(i);
  672. }
  673. }
  674. if (gInstcd =="032") {
  675. dsf_makeValue(ds_send_setdata, "setno", "string", "1148", 0);
  676. } else if (gInstcd =="031") {
  677. dsf_makeValue(ds_send_setdata, "setno", "string", "2210", 0);
  678. }
  679. dsf_makeValue(ds_send_setdata, "workflag", "string", "", 0);
  680. dsf_makeValue(ds_send_setdata, "tclscdlist", "string", "", 0);
  681. dsf_makeValue(ds_send_setdata, "startdd", "string", utlf_getCurrentDate().toDate().getAddDate(-7,"D").getDateFormat("YYYYMMDD"), 0);
  682. dsf_makeValue(ds_send_setdata, "enddd", "string", utlf_getCurrentDate(), 0);
  683. dsf_makeValue(ds_send_setdata, "pid", "string", ds_main_rrtmmt.getColumn(ds_main_rrtmmt.rowposition, "pid"), 0);
  684. dsf_setTypeFormat(ds_send_setdata, "setno:INT");
  685. var oParam = {};
  686. oParam.id = "TRLLP01201";
  687. oParam.service = "refprintmngtapp.GeneralRefPrintMngt";
  688. oParam.method = "reqGetAcmlTestList2";
  689. oParam.inds = "cond=ds_send_setdata";
  690. oParam.outds = "ds_hidden_temp_rsltlist_row=row ds_hidden_temp_rsltlist_header=header ds_hidden_temp_rsltlist_patinfo=patinfo";
  691. oParam.async = false;
  692. //oParam.callback = "cf_TRLLP01201";
  693. tranf_submit(oParam);
  694. var gridCaption = ds_hidden_temp_rsltlist_header.getColumn(0, "caption");
  695. var gridCaptionArray = String(gridCaption).split("^");
  696. if(utlf_isNull(gridCaption))
  697. {
  698. return;
  699. }
  700. var gridColRef = ds_hidden_temp_rsltlist_header.getColumn(0, "colref");
  701. var gridColRefArray = String(gridColRef).split("^");
  702. var gridColType = ds_hidden_temp_rsltlist_header.getColumn(0, "type");
  703. var gridColTypeArray = String(gridColType).split("^");
  704. for (var i = 0; i < gridColRefArray.length; i++ )
  705. {
  706. if (gridColRefArray[i].substr(0, 4) == "rslt")
  707. {
  708. var tmpstr = "rsltORD".concat(gridColRefArray[i].substr(4));
  709. gridColRefArray[i] = tmpstr
  710. }
  711. }
  712. for( var i = 0; i < gridColRefArray.length; i++ )
  713. {
  714. datagrid2.appendContentsCol();
  715. datagrid2.setCellProperty("Head", parseInt(i+1), "text", gridCaptionArray[i]);
  716. datagrid2.setCellProperty("Body", parseInt(i+1), "text", "bind:"+gridColRefArray[i]);
  717. if(gridColTypeArray[i] != "output")
  718. {
  719. datagrid2.setCellProperty("Head", parseInt(i+1), "displaytype", gridColTypeArray[i]);
  720. datagrid2.setCellProperty("Body", parseInt(i+1), "displaytype", gridColTypeArray[i]);
  721. datagrid2.setCellProperty("Body", parseInt(i+1), "edittype", gridColTypeArray[i]);
  722. }
  723. }
  724. datagrid2.setFormatColProperty(1, "size", 22);
  725. datagrid2.setFormatColProperty(2, "size", 100);
  726. datagrid2.setFormatColProperty(3, "size", 100);
  727. datagrid2.setFormatColProperty(4, "size", 100);
  728. datagrid2.setFormatRowProperty(0, "size", 35);
  729. //trace("datagrid2.getFormatColCount() =" + datagrid2.getFormatColCount());
  730. for(var j = 0; j < 5; j++)
  731. {
  732. datagrid2.setFormatColProperty(j, "band", "left");
  733. }
  734. for(var i = 5; i < datagrid2.getFormatColCount(); i++ )
  735. {
  736. datagrid2.setFormatColProperty(i, "size", 80);
  737. datagrid2.setCellProperty("Body", i, "align", "right middle");
  738. }
  739. ds_main_rsltlist_row.copyData(ds_hidden_temp_rsltlist_row);
  740. fReMake();
  741. }
  742. function fReMake()
  743. {
  744. xx = 0;
  745. for(var i = 0; i < ds_main_rsltlist_row.rowcount; i++)
  746. {
  747. for(var j = 5; j < datagrid2.getFormatColCount(); j++)
  748. {
  749. var vJudg = ds_main_rsltlist_row.getColumn(i, "judg" + xx);
  750. if(vJudg == "H")
  751. {
  752. dsf_makeValue(ds_main_rsltlist_row, j+"_color", "string", "red", i);
  753. }
  754. else if(vJudg == "L")
  755. {
  756. dsf_makeValue(ds_main_rsltlist_row, j+"_color", "string", "blue", i);
  757. }
  758. datagrid2.setCellProperty("Body", j, "color", "BIND("+j+"_color)");
  759. xx ++;
  760. }
  761. xx = 0;
  762. }
  763. }
  764. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  765. {
  766. grd_rrtmmt.position.height = parseInt(btn_testrsltref.position.top-1);
  767. grd_rrtmmt.bringToFront();
  768. }
  769. //소아 신속대응팀 기록
  770. function btn_pedemr_onclick(obj:Button, e:ClickEventInfo)
  771. {
  772. frmf_setParameter("SPMMR05400_parm_formcd", "1800022479");
  773. frmf_getParameter("SPMMR05400_parm_formrecdd", utlf_getCurrentDate());
  774. frmf_modal("SPMMR05400","SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
  775. }
  776. //PEWS 재사정
  777. function btn_pews_onclick(obj:Button, e:ClickEventInfo)
  778. {
  779. frmf_setParameter("SPMMR05400_parm_formcd", "1800022561");
  780. frmf_getParameter("SPMMR05400_parm_formrecdd", utlf_getCurrentDate());
  781. frmf_modal("SPMMR05400","SPMMR05400", "", "", "" , "", "", "", "", "" , "", "","M");
  782. }
  783. function grd_rrtmmt_oncellclick(obj:Grid, e:GridClickEventInfo)
  784. {
  785. //상단정보 초기화
  786. appf_delPatientInfos();
  787. var row = ds_main_rrtmmt.rowposition;
  788. var param = "I▦" + ds_main_rrtmmt.getColumn(row, "pid")
  789. + "▦" + ds_main_rrtmmt.getColumn(row, "indd")
  790. + "▦" + ds_main_rrtmmt.getColumn(row, "cretno")
  791. + "▦" + ds_main_rrtmmt.getColumn(row, "instcd")
  792. + "▦" + ds_main_rrtmmt.getColumn(row, "acptdd");
  793. // sysf_trace("param = " + param);
  794. appf_initPatientInfo(param);
  795. ds_main_rsltlist_row.clearData();
  796. }
  797. function grp_sea_rdo_gubun_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  798. {
  799. if (grp_sea.rdo_gubun.index == 0) { //성인
  800. button7.visible = true;
  801. btn_pedemr.visible = false;
  802. btn_pews.visible = false;
  803. grd_rrtmmt.setCellProperty("Head",20, "text","MEWS&#13;&#10;score");
  804. } else {
  805. button7.visible = false;
  806. btn_pedemr.visible = true;
  807. btn_pews.visible = true;
  808. grd_rrtmmt.setCellProperty("Head",20, "text","PEWS&#13;&#10;score");
  809. }
  810. }
  811. function group7_btn_close_onclick(obj:Button, e:ClickEventInfo)
  812. {
  813. ds_main_rrtmmt.setColumn(ds_main_rrtmmt.rowposition, "fnshdd", utlf_getCurrentDate());
  814. ds_main_rrtmmt.setColumn(ds_main_rrtmmt.rowposition, "fnshtm", utlf_getCurrentTime());
  815. ds_main_rrtmmt.setColumn(ds_main_rrtmmt.rowposition, "fnsher", sysf_getUserInfo("userid"));
  816. group7.visible = false;
  817. }
  818. function group7_btn_close00_onclick(obj:Button, e:ClickEventInfo)
  819. {
  820. group7.visible = false;
  821. }
  822. function btn_pacs_onclick(obj:Button, e:ClickEventInfo)
  823. {
  824. if ( ds_hidden_temp_rsltlist_patinfo.rowcount == 0 ) return;
  825. var pid = ds_hidden_temp_rsltlist_patinfo.getColumn(0, "pid")
  826. zepfpacsPatientID(pid);
  827. }
  828. ]]></Script>
  829. </Form>
  830. </FDL>