SMMQR05000_RRT스크리닝.xfdl 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMQR05000" classname="SMMQR05000_RRT스크리닝" inheritanceid="" position="absolute 0 0 1205 787" titletext="RRT 스크리닝" oninit="SMMQR05000_oninit" onload="SMMQR05000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="RRT 스크리닝" class="tit_1" position="absolute 0 0 170 24"/>
  8. <Button id="btn_testrsltref" taborder="5" text="검사결과조회" position="absolute 0 754 103 776" class="btn3" anchor="left bottom" onclick="btn_testrsltref_onclick"/>
  9. <Button id="btn_recsrch" taborder="6" text="통합기록조회" class="btn3" position="absolute 104 754 207 776" anchor="left bottom" onclick="btn_recsrch_onclick"/>
  10. <Button id="button5" taborder="7" text="임상관찰기록지" class="btn3" position="absolute 208 754 327 776" anchor="left bottom" onclick="button5_onclick"/>
  11. <Button id="button6" taborder="8" text="간호일지" class="btn3" position="absolute 328 754 407 776" anchor="left bottom" onclick="button6_onclick"/>
  12. <PopupMenu id="pmn_menu1" position="absolute 1206 171 1302 234" innerdataset="@ds_popupmenu" levelcolumn="level" idcolumn="func" captioncolumn="label" onmenuclick="pmn_menu1_onmenuclick" onmouseleave="pmn_menu1_onmouseleave"/>
  13. <Div id="grp_sea" anchor="left top right" taborder="9" class="div_SA" position="absolute 0 24 1195 150">
  14. <Layouts>
  15. <Layout>
  16. <cp_checkboxList id="chk_ward" titletext="CheckBox List" taborder="9" scrollbars="autovert" position="absolute 168 1 1120 83" style="background:transparent;font:arial,9;" col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default" dragscrolltype="both" layoutselecttype="inner,width"/>
  17. <Static id="caption3" text="MEWS 점 이상 검색" class="search_name" position="absolute 808 102 989 116" anchor="default"/>
  18. <Calendar id="ipt_todd" taborder="2" autoselect="true" autoskip="true" class="input_search" position="absolute 669 98 756 118" anchor="default"/>
  19. <Edit id="ipt_mews" taborder="4" autoselect="true" class="input_search" position="absolute 864 98 897 118" style="align:center middle;" anchor="default"/>
  20. <Static id="caption2" text="병 동 :" class="search_name" position="absolute 113 10 164 24" anchor="default"/>
  21. <MaskEdit id="ipt_toddtm" taborder="3" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" class="input_search" position="absolute 759 98 802 118" style=":disabled {padding:0 2 0 2;}" anchor="default"/>
  22. <MaskEdit id="ipt_rgstfromtm" taborder="1" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" autoskip="true" class="input_search" position="absolute 604 98 647 118" style=":disabled {padding:0 2 0 2;}" anchor="default"/>
  23. <Calendar id="ipt_fromdd" taborder="0" autoselect="true" autoskip="true" class="input_search" position="absolute 514 99 601 118" anchor="default"/>
  24. <Static id="caption8" text="~" position="absolute 653 101 664 115" anchor="default"/>
  25. <Static id="caption7" text="기록일시 :" class="search_name" position="absolute 435 97 513 117" anchor="default"/>
  26. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1124 22 1128 57" anchor="top right"/>
  27. <Button id="btn_srchrrt" taborder="5" text="조회" onclick="grp_sea_btn_srchrrt_onclick" class="btn1" position="absolute 1131 26 1187 48" anchor="top right"/>
  28. <Radio id="rdo_case" taborder="6" index="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="switch1_case1_grp_sea_rdo_case_onitemchanged" position="absolute 88 103 320 118" anchor="default" columncount="-1" rowcount="-1">
  29. <Dataset id="innerdataset">
  30. <ColumnInfo>
  31. <Column id="codecolumn" size="256"/>
  32. <Column id="datacolumn" size="256"/>
  33. </ColumnInfo>
  34. <Rows>
  35. <Row>
  36. <Col id="codecolumn"/>
  37. <Col id="datacolumn">전체</Col>
  38. </Row>
  39. <Row>
  40. <Col id="codecolumn">sbp</Col>
  41. <Col id="datacolumn">SBP</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">hr</Col>
  45. <Col id="datacolumn">HR</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">rr</Col>
  49. <Col id="datacolumn">RR</Col>
  50. </Row>
  51. <Row>
  52. <Col id="codecolumn">bt</Col>
  53. <Col id="datacolumn">BT</Col>
  54. </Row>
  55. <Row>
  56. <Col id="codecolumn">page</Col>
  57. <Col id="datacolumn">연령</Col>
  58. </Row>
  59. </Rows>
  60. </Dataset>
  61. </Radio>
  62. <Edit id="ipt_case" taborder="7" autoselect="true" class="input_search" position="absolute 368 98 416 119" style="align:center middle;" anchor="default"/>
  63. <Static id="caption4" text="조 건 :" class="search_name" position="absolute 24 103 75 115" anchor="default"/>
  64. <Static id="caption00" text="등록번호 :" class="search_name" position="absolute 991 102 1066 116" anchor="default"/>
  65. <Edit id="ipt_pid" taborder="8" position="absolute 1071 99 1150 118" anchor="default" autoselect="true" onkeyup="grp_sea_ipt_pid_onkeyup"/>
  66. <CheckBox id="chk_all" taborder="10" text="전체" position="absolute 120 34 169 57" style="color:red;" truevalue="Y" falsevalue="N" onclick="grp_sea_chk_all_onclick" anchor="default"/>
  67. <Button id="btn_pid" taborder="11" class="icon_search" position="absolute 1154 100 1170 116" onclick="grp_sea_btn_pid_onclick" anchor="default"/>
  68. <Radio id="rdo_updown" taborder="12" columncount="0" rowcount="0" position="absolute 321 91 368 122" codecolumn="codecolumn" datacolumn="datacolumn" index="0" value="0" anchor="default">
  69. <Dataset id="innerdataset">
  70. <ColumnInfo>
  71. <Column id="codecolumn" size="256"/>
  72. <Column id="datacolumn" size="256"/>
  73. </ColumnInfo>
  74. <Rows>
  75. <Row>
  76. <Col id="codecolumn">0</Col>
  77. <Col id="datacolumn">이상</Col>
  78. </Row>
  79. <Row>
  80. <Col id="codecolumn">1</Col>
  81. <Col id="datacolumn">이하</Col>
  82. </Row>
  83. </Rows>
  84. </Dataset>
  85. </Radio>
  86. <GroupBox id="GroupBox00" text="스크리닝구분" position="absolute 4 11 112 66" anchor="default"/>
  87. <Radio id="rdo_gubun" taborder="13" columncount="-1" rowcount="-1" position="absolute 14 33 100 57" codecolumn="codecolumn" datacolumn="datacolumn" index="1" value="A" onitemchanged="grp_sea_rdo_gubun_onitemchanged" style="align:center middle;" anchor="default">
  88. <Dataset id="innerdataset">
  89. <ColumnInfo>
  90. <Column id="codecolumn" size="256"/>
  91. <Column id="datacolumn" size="256"/>
  92. </ColumnInfo>
  93. <Rows>
  94. <Row>
  95. <Col id="codecolumn">A</Col>
  96. <Col id="datacolumn">성인</Col>
  97. </Row>
  98. <Row>
  99. <Col id="codecolumn">P</Col>
  100. <Col id="datacolumn">소아</Col>
  101. </Row>
  102. </Rows>
  103. </Dataset>
  104. </Radio>
  105. </Layout>
  106. </Layouts>
  107. </Div>
  108. <Button id="button4" taborder="10" text="저장" onclick="button4_onclick" class="btn5" position="absolute 1153 158 1195 178" anchor="top right"/>
  109. <Shape id="line1" class="line_10" position="absolute 0 178 1195 184" anchor="left top right" onclick="line1_onclick"/>
  110. <Grid id="grd_mrrtlist" class="datagrid2" taborder="11" binddataset="ds_main_mrrtlist" autoenter="select" useinputpanel="false" cellsizingtype="col" cellclickbound="cell" onrbuttonup="switch1_case1_grd_mrrtlist_onrbuttonup" oncelldblclick="grd_dialhdmpglist_oncelldblclick" position="absolute 0 184 1195 745" anchor="all">
  111. <Formats>
  112. <Format id="default">
  113. <Columns>
  114. <Column size="23" band="left"/>
  115. <Column size="30" band="left"/>
  116. <Column size="28" band="left"/>
  117. <Column size="46" band="left"/>
  118. <Column size="0" band="left"/>
  119. <Column size="0" band="left"/>
  120. <Column size="62" band="left"/>
  121. <Column size="56" band="left"/>
  122. <Column size="44"/>
  123. <Column size="96"/>
  124. <Column size="48"/>
  125. <Column size="49"/>
  126. <Column size="66"/>
  127. <Column size="33"/>
  128. <Column size="185"/>
  129. <Column size="126"/>
  130. <Column size="30"/>
  131. <Column size="30"/>
  132. <Column size="30"/>
  133. <Column size="35"/>
  134. <Column size="86"/>
  135. <Column size="58"/>
  136. <Column size="40"/>
  137. <Column size="40"/>
  138. <Column size="40"/>
  139. <Column size="99"/>
  140. <Column size="50"/>
  141. <Column size="47"/>
  142. <Column size="0"/>
  143. <Column size="0"/>
  144. <Column size="282"/>
  145. <Column size="40"/>
  146. <Column size="40"/>
  147. </Columns>
  148. <Rows>
  149. <Row size="44" band="head"/>
  150. <Row size="24"/>
  151. </Rows>
  152. <Band id="head">
  153. <Cell/>
  154. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  155. <Cell col="2" text="구분"/>
  156. <Cell col="3" text="병실"/>
  157. <Cell col="4" text="병실"/>
  158. <Cell col="5" text="병동"/>
  159. <Cell col="6" text="등록번호"/>
  160. <Cell col="7" text="환자명"/>
  161. <Cell col="8" text="S/A"/>
  162. <Cell col="9" text="진료과"/>
  163. <Cell col="10" text="전문의"/>
  164. <Cell col="11" text="담당의"/>
  165. <Cell col="12" text="담당의&#13;&#10;전화번호"/>
  166. <Cell col="13" text="의뢰&#13;&#10;여부"/>
  167. <Cell col="14" text="진단명"/>
  168. <Cell col="15" text="입력시간"/>
  169. <Cell col="16" text="SBP" taborder="undefined"/>
  170. <Cell col="17" text="HR" taborder="undefined"/>
  171. <Cell col="18" text="RR" taborder="undefined"/>
  172. <Cell col="19" text="BT" taborder="undefined"/>
  173. <Cell col="20" text="의식수준" taborder="undefined"/>
  174. <Cell col="21" text="MEWS&#13;&#10;score"/>
  175. <Cell col="22" text="SpO2"/>
  176. <Cell col="23" text="FiO2"/>
  177. <Cell col="24" text="양"/>
  178. <Cell col="25" text="장치"/>
  179. <Cell col="26" text="RESP"/>
  180. <Cell col="27" text="연명&#13;&#10;의료&#13;&#10;여부" taborder="undefined"/>
  181. <Cell col="28" text="hisstat"/>
  182. <Cell col="29" text="olddialflag"/>
  183. <Cell col="30" text="사유"/>
  184. <Cell col="31" text="나이"/>
  185. <Cell col="32" text="단계"/>
  186. </Band>
  187. <Band id="body">
  188. <Cell celltype="head" expr="currow+1"/>
  189. <Cell col="1" displaytype="checkbox" edittype="checkbox" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:chk" expr="expr:chk == 'Y' || chk == '1' ? 1 : 0"/>
  190. <Cell col="2" displaytype="combo" edittype="combo" style="align:center middle;padding:0 0 0 3;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:pathgbn" combodataset="ds_init_pathgbn" combocodecol="value" combodatacol="label"/>
  191. <Cell col="3" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:roomcd"/>
  192. <Cell col="4" text="bind:roomcd"/>
  193. <Cell col="5" displaytype="combo" style="align:center middle;background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');" text="bind:wardcd" combodataset="ds_init_ward" combocodecol="wardcd" combodatacol="wardnm"/>
  194. <Cell col="6" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');font:EXPR(memocount &gt; 0 ? 'arial,9,bold' : '');" text="bind:pid"/>
  195. <Cell col="7" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');font:EXPR(memocount &gt; 0 ? 'arial,9,bold' : '');" text="bind:patnm"/>
  196. <Cell col="8" style="align:left middle;padding:0 0 0 5;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:sexage"/>
  197. <Cell col="9" style="align:left top;padding:5 2 3 2;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:orddeptnm" wordwrap="word" enable="false"/>
  198. <Cell col="10" style="align:center middle;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:medispclnm"/>
  199. <Cell col="11" style="align:center middle;padding:2 2 2 2;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:atdoctnm"/>
  200. <Cell col="12" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:pdano" calendardisplaynulltype="nulltext"/>
  201. <Cell col="13" style="align:center middle;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');color:EXPR(consult_yn == 'Y' ? 'red' : 'black');color2:EXPR(consult_yn == 'Y' ? 'red' : 'black');" text="bind:consult_yn" calendardisplaynulltype="nulltext"/>
  202. <Cell col="14" style="align:left top;padding:5 2 2 2;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:diagnm" wordwrap="word" calendardisplaynulltype="nulltext"/>
  203. <Cell col="15" displaytype="date" style="background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');" text="bind:sbpdt" mask="yyyy-MM-dd HH:mm:ss" calendardisplaynulltype="nulltext"/>
  204. <Cell col="16" style="align:center middle;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');color:EXPR(sbp_score == 1 ? 'green' : sbp_score == 2 ? 'blue' : sbp_score == 3 ? 'red' : 'black');color2:EXPR(sbp_score == 1 ? 'green' : sbp_score == 2 ? 'blue' : sbp_score == 3 ? 'red' : 'black');" text="bind:sbp" calendardisplaynulltype="nulltext"/>
  205. <Cell col="17" style="align:center middle;padding:2 2 2 2;background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');color:EXPR(hr_score == 1 ? 'green' : hr_score == 2 ? 'blue' : hr_score == 3 ? 'red' : 'black');color2:EXPR(hr_score == 1 ? 'green' : hr_score == 2 ? 'blue' : hr_score == 3 ? 'red' : 'black');" text="bind:hr" enable="false"/>
  206. <Cell col="18" style="align:center middle;background:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');background2:EXPR(mews_score == '999' ? '#ffff00' : '#ffffff');color:EXPR(rr_score == 1 ? 'green' : rr_score == 2 ? 'blue' : rr_score == 3 ? 'red' : 'black');color2:EXPR(rr_score == 1 ? 'green' : rr_score == 2 ? 'blue' : rr_score == 3 ? 'red' : 'black');" text="bind:rr"/>
  207. <Cell col="19" style="align:center middle;background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');color:EXPR(bt_score == 1 ? 'green' : bt_score == 2 ? 'blue' : bt_score == 3 ? 'red' : 'black');color2:EXPR(bt_score == 1 ? 'green' : bt_score == 2 ? 'blue' : bt_score == 3 ? 'red' : 'black');" text="bind:bt"/>
  208. <Cell col="20" style="align:left top;padding:5 2 3 2;background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');" text="bind:avpu" wordwrap="word"/>
  209. <Cell col="21" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:mews_score" expr="expr:mews_score == '999' ? '기록오류' : mews_score"/>
  210. <Cell col="22" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:spo2"/>
  211. <Cell col="23" style="background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');" text="bind:fio2"/>
  212. <Cell col="24" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:volume"/>
  213. <Cell col="25" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:device"/>
  214. <Cell col="26" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:resp_score"/>
  215. <Cell col="27" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:cassick" expr="expr:cassick != 'Y' ? 'N' : 'Y'"/>
  216. <Cell col="28" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:histstat"/>
  217. <Cell col="29" style="background:EXPR(mews_score == '999' ? '#ffff00' : '');background2:EXPR(mews_score == '999' ? '#ffff00' : '');" text="bind:olddialflag"/>
  218. <Cell col="30" displaytype="text" edittype="text" style="align:left middle;padding:0 0 0 3;background:EXPR(mews_score == '999' ? 'yellow' : '');background2:EXPR(mews_score == '999' ? 'yellow' : '');" text="bind:memo"/>
  219. <Cell col="31" text="bind:page"/>
  220. <Cell col="32" text="bind:plevel"/>
  221. </Band>
  222. </Format>
  223. </Formats>
  224. </Grid>
  225. <Static id="caption5" text="RRT스크리닝 리스트" class="tit_2" position="absolute 0 162 143 183"/>
  226. <Button id="btn_excel" taborder="12" text="엑셀저장" class="btn7" position="absolute 1069 158 1151 178" anchor="top right" onclick="btn_excel_onclick"/>
  227. <Button id="button7" taborder="13" text="컨설트관리" class="btn3" position="absolute 408 754 503 776" anchor="left bottom" onclick="button7_onclick"/>
  228. <Div id="grp_memo" taborder="14" style="background:white;border:1 solid #808080ff ;" visible="false" position="absolute 550 284 986 533">
  229. <Layouts>
  230. <Layout>
  231. <Shape id="line13" class="line_10" position="absolute 2 18 432 29" anchor="default"/>
  232. <Static id="caption22" text="사유작성" class="tit_2" position="absolute 2 4 135 21" anchor="default"/>
  233. <Button id="btn_memosave" taborder="4" text="확인" class="btn4" position="absolute 312 220 368 242" anchor="default" onclick="grp_memo_btn_memosave_onclick"/>
  234. <Button id="button8" taborder="5" text="취소" class="btn4" position="absolute 370 220 426 242" anchor="default" onclick="grp_memo_button8_onclick"/>
  235. <TextArea id="tar_memo" taborder="6" autoselect="true" position="absolute 2 25 432 215" anchor="default"/>
  236. </Layout>
  237. </Layouts>
  238. </Div>
  239. <Div id="grp_memolist" taborder="16" position="absolute 363 240 1114 568" style="background:white;border:1 solid #808080ff ;" visible="false">
  240. <Layouts>
  241. <Layout>
  242. <Grid id="grd_memo" taborder="0" binddataset="ds_hidden_memo" autoenter="select" useinputpanel="false" extendsizetype="row" cellsizingtype="row" autosizingtype="row" position="absolute 3 31 744 321" anchor="default">
  243. <Formats>
  244. <Format id="default">
  245. <Columns>
  246. <Column size="59"/>
  247. <Column size="47"/>
  248. <Column size="84"/>
  249. <Column size="495"/>
  250. </Columns>
  251. <Rows>
  252. <Row size="30" band="head"/>
  253. <Row size="24"/>
  254. </Rows>
  255. <Band id="head">
  256. <Cell text="등록번호"/>
  257. <Cell col="1" text="환자명"/>
  258. <Cell col="2" text="등록일시"/>
  259. <Cell col="3" text="사유"/>
  260. </Band>
  261. <Band id="body">
  262. <Cell style="align:center middle;" text="bind:pid"/>
  263. <Cell col="1" style="align:center middle;" text="bind:patnm"/>
  264. <Cell col="2" displaytype="date" style="align:center middle;" text="bind:acptdd" calendardisplaynulltype="nulltext"/>
  265. <Cell col="3" style="align:left top;padding:5 2 3 2;" text="bind:reamrk" wordwrap="word" autosizerow="limitmin"/>
  266. </Band>
  267. </Format>
  268. </Formats>
  269. </Grid>
  270. <Button id="btn_close" taborder="1" position="absolute 715 4 746 29" class="btn_POP_cls" anchor="default" onclick="grp_memolist_btn_close_onclick" style="background:#009393ff;"/>
  271. </Layout>
  272. </Layouts>
  273. </Div>
  274. <Static id="Static00" text="과거 사유가 있는 환자는 등록번호와 환자명에 진하게 표시함." position="absolute 228 157 595 178" style="color:brown;font:Dotum,9,bold;"/>
  275. <CheckBox id="chk_resp" taborder="17" text="호흡기기록오류제외" position="absolute 920 159 1059 176" onchanged="chk_resp_onchanged"/>
  276. </Layout>
  277. </Layouts>
  278. <Bind>
  279. <BindItem id="item0" compid="grp_sea.rdo_case" propid="value" datasetid="ds_hidden" columnid="condition"/>
  280. <BindItem id="item1" compid="grp_sea.ipt_case" propid="value" datasetid="ds_hidden" columnid="inputcondition"/>
  281. <BindItem id="item2" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  282. <BindItem id="item3" compid="grp_sea.ipt_rgstfromtm" propid="value" datasetid="ds_send" columnid="fromtm"/>
  283. <BindItem id="item4" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  284. <BindItem id="item5" compid="grp_sea.ipt_toddtm" propid="value" datasetid="ds_send" columnid="totm"/>
  285. <BindItem id="item6" compid="grp_sea.ipt_mews" propid="value" datasetid="ds_send" columnid="mews"/>
  286. <BindItem id="item7" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
  287. <BindItem id="item8" compid="grp_sea.rdo_updown" propid="value" datasetid="ds_hidden" columnid="updown"/>
  288. <BindItem id="item9" compid="grp_sea.chk_all" propid="value" datasetid="ds_hidden" columnid="chkall"/>
  289. <BindItem id="item10" compid="grp_memo.tar_memo" propid="value" datasetid="ds_memo" columnid="memo"/>
  290. <BindItem id="item11" compid="chk_resp" propid="value" datasetid="ds_send" columnid="chkresp"/>
  291. </Bind>
  292. <Objects>
  293. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  294. <ColumnInfo>
  295. <Column id="pid" type="STRING" size="256"/>
  296. <Column id="srchcond" type="STRING" size="256"/>
  297. <Column id="fromtm" type="STRING" size="256"/>
  298. <Column id="totm" type="STRING" size="256"/>
  299. <Column id="wardcd" type="STRING" size="256"/>
  300. <Column id="mews" type="INT" size="256"/>
  301. <Column id="fromdd" type="STRING" size="256"/>
  302. <Column id="todd" type="STRING" size="256"/>
  303. <Column id="instcd" type="STRING" size="256"/>
  304. <Column id="case" type="STRING" size="256"/>
  305. <Column id="inputcase" type="INT" size="256"/>
  306. <Column id="updown" type="STRING" size="256"/>
  307. <Column id="gubun" type="STRING" size="256"/>
  308. <Column id="mewspiece" type="STRING" size="256"/>
  309. <Column id="chkresp" type="STRING" size="256"/>
  310. </ColumnInfo>
  311. <Rows>
  312. <Row>
  313. <Col id="wardcd"/>
  314. <Col id="case"/>
  315. <Col id="srchcond"/>
  316. <Col id="mews"/>
  317. </Row>
  318. </Rows>
  319. </Dataset>
  320. <Dataset id="ds_main_mrrtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_mrrtlist_oncolumnchanged"/>
  321. <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  322. <Dataset id="ds_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  323. <ColumnInfo>
  324. <Column id="label" type="STRING" size="256"/>
  325. <Column id="func" type="STRING" size="256"/>
  326. <Column id="level" type="STRING" size="256"/>
  327. </ColumnInfo>
  328. <Rows>
  329. <Row>
  330. <Col id="label">사유입력</Col>
  331. <Col id="func">fmemo</Col>
  332. <Col id="level"/>
  333. </Row>
  334. <Row>
  335. <Col id="label">과거사유조회</Col>
  336. <Col id="func">fprememo</Col>
  337. </Row>
  338. <Row>
  339. <Col id="label">저장</Col>
  340. <Col id="func">fsave</Col>
  341. <Col id="level"/>
  342. </Row>
  343. </Rows>
  344. </Dataset>
  345. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  346. <ColumnInfo>
  347. <Column id="chkall" type="STRING" size="256"/>
  348. <Column id="condition" type="STRING" size="256"/>
  349. <Column id="updown" type="STRING" size="256"/>
  350. <Column id="inputcondition" type="STRING" size="256"/>
  351. </ColumnInfo>
  352. <Rows>
  353. <Row>
  354. <Col id="chkall">N</Col>
  355. </Row>
  356. </Rows>
  357. </Dataset>
  358. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  359. <Dataset id="ds_init_pathgbn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  360. <ColumnInfo>
  361. <Column id="label" type="STRING" size="256"/>
  362. <Column id="value" type="STRING" size="256"/>
  363. </ColumnInfo>
  364. <Rows>
  365. <Row>
  366. <Col id="label">S</Col>
  367. <Col id="value">S</Col>
  368. </Row>
  369. <Row>
  370. <Col id="label">C</Col>
  371. <Col id="value">C</Col>
  372. </Row>
  373. </Rows>
  374. </Dataset>
  375. <Dataset id="ds_send_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  376. <Dataset id="ds_memo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  377. <ColumnInfo>
  378. <Column id="memo" type="STRING" size="256"/>
  379. </ColumnInfo>
  380. <Rows>
  381. <Row/>
  382. </Rows>
  383. </Dataset>
  384. <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  385. <ColumnInfo>
  386. <Column id="pid" type="STRING" size="256"/>
  387. <Column id="patnm" type="STRING" size="256"/>
  388. <Column id="instcd" type="STRING" size="256"/>
  389. </ColumnInfo>
  390. <Rows>
  391. <Row/>
  392. </Rows>
  393. </Dataset>
  394. <Dataset id="ds_hidden_memo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  395. </Objects>
  396. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  397. * System Name : SMMQR05000_RRT스크리닝
  398. * Job Name :
  399. * Creator :
  400. * Make Date : 2018-10-11
  401. * Description : 신속대응팀 환자 스크리닝
  402. *---------------------------------------------------------------------------------------
  403. * Modify Date Modifier Modify Description
  404. *---------------------------------------------------------------------------------------
  405. *
  406. *
  407. *---------------------------------------------------------------------------------------
  408. ****************************************************************************************/
  409. include "com_commonxp::comm_main.xjs";
  410. include "emr_prcpmngtxp::MMOCommon.xjs";
  411. var gInstcd = sysf_getUserInfo("dutplceinstcd");
  412. function SMMQR05000_oninit(obj:Form, e:InitEventInfo)
  413. {
  414. frmf_initForm(obj);
  415. }
  416. function SMMQR05000_onload(obj:Form, e:LoadEventInfo)
  417. {
  418. grdf_initGrid(grd_mrrtlist);
  419. grdf_setToolTipBind(grd_mrrtlist);
  420. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  421. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  422. var oParam = {};
  423. oParam.id = "TRMNW00101";
  424. oParam.service = "wardcareapp.WardCareMngt";
  425. oParam.method = "reqGetWMInitData";
  426. oParam.inds = "reqcond=ds_send";
  427. oParam.outds = "ds_init_ward=ward";
  428. oParam.async = false;
  429. tranf_submit(oParam);
  430. var sProp="col=9,row=5,cellspacing=6,vcellspacing=0,itemWidth=0,itemHeight=-1,overflow='visible'";
  431. grp_sea.chk_ward.setInitComp(sProp, ds_init_ward,"wardcd","wardnm","fn_cmpEvent");
  432. fInitialize();
  433. }
  434. function fInitialize()
  435. {
  436. ds_send.clearData();
  437. ds_send.addRow();
  438. var defWard = "";
  439. var ewstotal ="0";
  440. var ewspiece = "0";
  441. // //20190215 본원/칠곡 구분하여 초기화 추가
  442. // if (gInstcd == '031') { //본원
  443. // if (grp_sea.rdo_gubun.index == 0 ) { //성인
  444. // defWard = "3050305000,3050310000,3050404000,3050311000,3050406000,3050312000,3050408000,3050313000,3050410000,3050412000,3050170000";
  445. // } else{
  446. // defWard = "3050315000,3050314000,3062300000,2280200000"; //25,45,PICU, 응급실
  447. // }
  448. //
  449. // } else { //칠곡
  450. // if (grp_sea.rdo_gubun.index == 0 ) { //성인
  451. // defWard = "3050305000,3050310000,3050404000,3050311000,3050406000,3050312000,3050408000,3050313000,3050410000,3050412000,3050170000";
  452. // } else{
  453. // defWard = "3050315000,3050314000,3062300000,2280200000"; //25,45,PICU, 응급실
  454. // }
  455. // }
  456. dsf_createDs("ds_hardcdno", []);
  457. dsf_createDs("ds_ewstotal", []);
  458. dsf_createDs("ds_ewspiece", []);
  459. ds_hardcdno.clearData();
  460. ds_ewstotal.clearData();
  461. ds_ewspiece.clearData();
  462. if (grp_sea.rdo_gubun.index == 0 ) { //성인
  463. ds_send.setColumn(0,"gubun","A");
  464. lf_gethardcdArrayList(new Array("hardcdno|10014", "ewstotal|10016", "ewspiece|10018"), new Array( "ds_hardcdno","ds_ewstotal", "ds_ewspiece"));
  465. grd_mrrtlist.setCellProperty("Head",21, "text","MEWS&#13;&#10;score");
  466. } else { //소아
  467. ds_send.setColumn(0,"gubun","P");
  468. lf_gethardcdArrayList(new Array("hardcdno|10015", "ewstotal|10017"), new Array( "ds_hardcdno","ds_ewstotal"));
  469. grd_mrrtlist.setCellProperty("Head",21, "text","PEWS&#13;&#10;score");
  470. }
  471. defWard = "";
  472. for(var i = 0; i < ds_hardcdno.rowcount; i++){
  473. if (i == 0 ) {
  474. defWard = ds_hardcdno.getColumn(i,"hardcd") ;
  475. } else {
  476. defWard = defWard + "," + ds_hardcdno.getColumn(i,"hardcd") ;
  477. }
  478. }
  479. defWards = defWard.split(",");
  480. grp_sea.chk_ward.setData(defWards, "",false);
  481. //mews 전체항목
  482. ewstotal = ds_ewstotal.getColumn(0,"hardcd") ;
  483. //trace(defWard);
  484. ds_send.setColumn(0, "wardcd", defWard);
  485. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
  486. ds_send.setColumn(0, "todd", utlf_getCurrentDate());
  487. ds_send.setColumn(0, "fromtm", "000000");
  488. ds_send.setColumn(0, "totm", "235959");
  489. ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  490. ds_send.setColumn(0, "srchcond", "1");
  491. ds_hidden.setColumn(0, "updown", "0");
  492. grp_sea.rdo_case.index = 0;
  493. if ( grp_sea.rdo_gubun.index == 0 ) { //성인
  494. grp_sea.caption3.text = "MEWS 점 이상 검색";
  495. ds_send.setColumn(0, "mews", ewstotal);
  496. } else {
  497. grp_sea.caption3.text = "PEWS 점 이상 검색";
  498. ds_send.setColumn(0, "mews", ewstotal);
  499. }
  500. //mews 단일항목
  501. ewspiece = utlf_transNullToEmpty(ds_ewspiece.getColumn(0,"hardcd")) ;
  502. if ( ewspiece == "") ewspiece ="0";
  503. ds_send.setColumn(0, "mewspiece", ewspiece);
  504. if ( defWard == "" ) {
  505. sysf_messageBox("병동을 선택하세요.", "");
  506. return;
  507. }
  508. ds_main_mrrtlist.clearData();
  509. }
  510. function fn_cmpEvent()
  511. {
  512. var rtn = grp_sea.chk_ward.getData();
  513. ds_send.setColumn(0, "wardcd", rtn);
  514. ds_hidden.setColumn(0, "chkall", "N");
  515. }
  516. function grp_sea_chk_all_onclick(obj:CheckBox, e:ClickEventInfo)
  517. {
  518. if(obj.value == "Y")
  519. {
  520. grp_sea.chk_ward.setCheckAll(true);
  521. ds_send.setColumn(0, "wardcd", "%");
  522. }
  523. else
  524. {
  525. grp_sea.chk_ward.setCheckAll(false);
  526. }
  527. }
  528. function grp_sea_btn_srchrrt_onclick(obj:Button, e:ClickEventInfo)
  529. {
  530. ds_main_mrrtlist.filter("");
  531. //ds_send.setColumn(0, "fromdd", ds_send.getColumn(0, "from")+ds_send.getColumn(0, "fromtm"));
  532. //ds_send.setColumn(0, "todd", ds_send.getColumn(0, "to")+ds_send.getColumn(0, "totm"));
  533. ds_send.setColumn(0, "gubun", grp_sea.rdo_gubun.value);
  534. dsf_setDefaultVal(ds_send, "wardcd:%");
  535. var oParam = {};
  536. oParam.id = "TRRTW00001";
  537. oParam.service = "rrtapp.RrtMngt";
  538. oParam.method = "reqGetRRTInfo";
  539. oParam.inds = "req=ds_send";
  540. oParam.outds = "ds_main_mrrtlist=rrtinfo";
  541. oParam.async = false;
  542. oParam.callback = "cf_TRRTW00001";
  543. tranf_submit(oParam);
  544. if (obj.value == true ) {
  545. ds_main_mrrtlist.filter("resp_score != '888'");
  546. } else {
  547. ds_main_mrrtlist.filter("");
  548. }
  549. }
  550. function cf_TRRTW00001(sSvcId, nErrorCode, sErrorMsg)
  551. {
  552. if(nErrorCode < 0) return;
  553. ds_main_mrrtlist.addColumn("chk", "string");
  554. ds_main_mrrtlist.addColumn("memo", "string");
  555. ds_main_mrrtlist.addColumn("pathgbn", "string");
  556. dsf_setTypeFormat(ds_main_mrrtlist, "sbp:INT^hr:INT^rr:INT^bt:STRING^avpu:STRING^memocount:INT");
  557. dsf_setDefaultVal(ds_main_mrrtlist, "pathgbn:S");
  558. var condition = ds_hidden.getColumn(0, "condition");
  559. var inputcondition = ds_hidden.getColumn(0, "inputcondition");
  560. if(!utlf_isNull(condition) || condition != "")
  561. {
  562. if(ds_hidden.getColumn(0, "updown") == "0")
  563. {
  564. ds_main_mrrtlist.filter(condition+">="+inputcondition);
  565. }
  566. else
  567. {
  568. ds_main_mrrtlist.filter(condition+"<="+inputcondition);
  569. }
  570. }
  571. }
  572. function ds_main_mrrtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  573. {
  574. if(e.columnid == "chk")
  575. {
  576. obj.setColumn(e.row, "chk", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  577. }
  578. }
  579. function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  580. {
  581. eval(e.id +"();");
  582. }
  583. function pmn_menu1_onmouseleave(obj:PopupMenu, e:MenuMouseEventInfo)
  584. {
  585. obj.closePopup();
  586. }
  587. function switch1_case1_grd_mrrtlist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  588. {
  589. ds_main_mrrtlist.clearSelect();
  590. ds_main_mrrtlist.selectRow(e.row);
  591. ds_main_mrrtlist.rowposition = e.row;
  592. pmn_menu1.trackPopup(e.screenX,e.screenY);
  593. }
  594. function fsave()
  595. {
  596. ds_main_mrrtlist.setColumn(ds_main_mrrtlist.rowposition, "chk", "Y");
  597. button4.click();
  598. }
  599. function switch1_case1_grp_sea_rdo_case_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  600. {
  601. if(utlf_isNull(obj.value))
  602. {
  603. ds_hidden.setColumn(0, "inputcondition", "");
  604. }
  605. }
  606. function button4_onclick(obj:Button, e:ClickEventInfo)
  607. {
  608. var chkcount = ds_main_mrrtlist.getCaseCount("chk == 'Y'");
  609. if(chkcount > 0)
  610. {
  611. ds_send_save.clearData();
  612. dsf_copyColInfo(ds_send_save,ds_main_mrrtlist);
  613. for(var i = 0; i < ds_main_mrrtlist.rowcount; i++)
  614. {
  615. if(ds_main_mrrtlist.getColumn(i, "chk") == "Y")
  616. {
  617. var addRow = ds_send_save.addRow();
  618. ds_send_save.copyRow(addRow,ds_main_mrrtlist,i);
  619. trace(addRow+ " - rows - " + ds_send_save.rowcount);
  620. dsf_makeValue(ds_send_save, "acptdd", "string", utlf_getCurrentDate(), addRow);
  621. dsf_makeValue(ds_send_save, "acpttm", "string", utlf_getCurrentTime(), addRow);
  622. dsf_makeValue(ds_send_save, "userid", "string", sysf_getUserInfo("userid"), addRow);
  623. dsf_makeValue(ds_send_save, "status", "string", "i", addRow);
  624. }
  625. }
  626. var oParam = {};
  627. oParam.id = "TXRTW00001";
  628. oParam.service = "rrtapp.RrtMngt";
  629. oParam.method = "reqSetRRTInfo";
  630. oParam.inds = "req=ds_send_save";
  631. oParam.async = false;
  632. oParam.callback = "cf_TXRTW00001";
  633. tranf_submit(oParam);
  634. }
  635. else
  636. {
  637. sysf_messageBox("저장 할 데이터가 없습니다.", "I");
  638. }
  639. }
  640. function cf_TXRTW00001(sSvcId, nErrorCode, sErrorMsg)
  641. {
  642. if(nErrorCode < 0) return;
  643. grp_sea.btn_srchrrt.click();
  644. }
  645. function grp_sea_btn_pid_onclick(obj:Button, e:ClickEventInfo)
  646. {
  647. var objArg = new Object();
  648. objArg.arg_ds_send = ds_send;
  649. frmf_modal("SPPMC02500", "SPPMC02500",objArg, "", 1, 150,150,"","","","","","M" );
  650. ds_send.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
  651. }
  652. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  653. {
  654. grdf_exportExcel(grd_mrrtlist, "excel", "Sheet1", "true", "", "");
  655. }
  656. function btn_testrsltref_onclick(obj:Button, e:ClickEventInfo)
  657. {
  658. frmf_open("SMAER00800", "SMAER00800", "", null, null, null, null, null, null, null, null, null, "M");
  659. }
  660. function btn_recsrch_onclick(obj:Button, e:ClickEventInfo)
  661. {
  662. frmf_modal("SMMRI00400", "SMMRI00400", null, null, null, null, null, null, null, null, null, null, "M");
  663. }
  664. function button5_onclick(obj:Button, e:ClickEventInfo)
  665. {
  666. frmf_modal("SMMNR00900", "SMMNR00900","", null, null, null, null, null, null, null, null, null, "M");
  667. }
  668. function button6_onclick(obj:Button, e:ClickEventInfo)
  669. {
  670. frmf_modal("SMMNR00700", "SMMNR00700",null, null, null, null, null, null, null, null, null, null, "M");
  671. }
  672. function button7_onclick(obj:Button, e:ClickEventInfo)
  673. {
  674. frmf_modal("SMMMR05000", "SMMMR05000", null, null, null, null, null, null, null, null, null, null, "M");
  675. }
  676. function grd_dialhdmpglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  677. {
  678. var row = ds_main_mrrtlist.rowposition;
  679. var param = "I▦" + ds_main_mrrtlist.getColumn(row, "pid")
  680. + "▦" + ds_main_mrrtlist.getColumn(row, "indd")
  681. + "▦" + ds_main_mrrtlist.getColumn(row, "cretno")
  682. + "▦" + ds_main_mrrtlist.getColumn(row, "instcd")
  683. + "▦" ;
  684. appf_initPatientInfo(param); //상단정보 올리기
  685. var consult_yn = ds_main_mrrtlist.getColumn(row, "consult_yn")
  686. if ( e.col == obj.getBindCellIndex("body", "consult_yn") && consult_yn == 'Y') { //컨설트
  687. frmf_modal("SMMMR05000", "SMMMR05000", null, null, null, null, null, null, null, null, null, null, "M");
  688. }
  689. }
  690. function grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  691. {
  692. if(e.keycode == 13)
  693. {
  694. obj.updateToDataset();
  695. grp_sea.btn_srchrrt.click();
  696. }
  697. }
  698. var m_Row = 0;
  699. function fmemo()
  700. {
  701. grd_mrrtlist.setCellPos(grd_mrrtlist.getBindCellIndex("body", "memo"));
  702. grd_mrrtlist.showEditor(true);
  703. m_Row = ds_main_mrrtlist.rowposition;
  704. ds_memo.setColumn(0, "memo", utlf_transNullToEmpty(ds_main_mrrtlist.getColumn(m_Row, "memo")));
  705. grp_memo.visible = true;
  706. grp_memo.tar_memo.setFocus();
  707. }
  708. function grp_memo_btn_memosave_onclick(obj:Button, e:ClickEventInfo)
  709. {
  710. ds_main_mrrtlist.setColumn(m_Row, "memo", grp_memo.tar_memo.text);
  711. grp_memo.visible = false;
  712. }
  713. function grp_memo_button8_onclick(obj:Button, e:ClickEventInfo)
  714. {
  715. grp_memo.visible = false;
  716. }
  717. function fprememo()
  718. {
  719. ds_req.setColumn(0, "instcd", ds_main_mrrtlist.getColumn(ds_main_mrrtlist.rowposition, "instcd"));
  720. ds_req.setColumn(0, "pid", ds_main_mrrtlist.getColumn(ds_main_mrrtlist.rowposition, "pid"));
  721. ds_req.setColumn(0, "patnm", ds_main_mrrtlist.getColumn(ds_main_mrrtlist.rowposition, "patnm"));
  722. var oParam = {};
  723. oParam.id = "TXRTW00002";
  724. oParam.service = "rrtapp.RrtMngt";
  725. oParam.method = "reqGetRRTMemo";
  726. oParam.inds = "req=ds_req";
  727. oParam.outds = "ds_hidden_memo=rrtmemo";
  728. oParam.async = false;
  729. //oParam.callback = "cf_TXRTW00001";
  730. tranf_submit(oParam);
  731. grp_memolist.visible = true;
  732. }
  733. function grp_memolist_btn_close_onclick(obj:Button, e:ClickEventInfo)
  734. {
  735. grp_memolist.visible = false;
  736. }
  737. function grp_sea_rdo_gubun_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  738. {
  739. grp_sea.chk_ward.setCheckAll(false);
  740. fInitialize();
  741. }
  742. function chk_resp_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  743. {
  744. if (obj.value == true ) {
  745. ds_main_mrrtlist.filter("resp_score != '888'");
  746. } else {
  747. ds_main_mrrtlist.filter("");
  748. }
  749. }
  750. ]]></Script>
  751. </Form>
  752. </FDL>