SMMNW14560_특수주사팀 호출 현황관리.xfdl 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNW14560" position="absolute 0 0 1205 790" titletext="특수주사팀 호출 현황관리" oninit="SMMNW14560_oninit" onload="SMMNW14560_onload" ontimer="SMMNW14560_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 0 1200 789" id="group3" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Static text="특수주사팀 호출 현황관리" position="absolute 0 0 190 25" id="cpt_title" class="tit_1" anchor="default"/>
  11. <Div position="absolute 0 25 1194 65" align="align:center top;" id="grp_sea" class="div_SA" anchor="default">
  12. <Layouts>
  13. <Layout>
  14. <Button position="absolute 1070 11 1126 33" id="btn_ref" class="btn1" taborder="7" text="조회" anchor="default" onclick="group3_grp_sea_btn_ref_onclick"/>
  15. <Static text="기 간 :" position="absolute 215 12 269 29" id="caption3" class="search_name" anchor="default"/>
  16. <Shape position="absolute 1057 10 1063 31" linetype="vertical" id="line2" class="line_4" anchor="default"/>
  17. <Calendar position="absolute 270 11 358 30" id="ipt_fromdd" class="input_s_essential" taborder="2" autoselect="true" anchor="default"/>
  18. <Static text="부 서 :" position="absolute 10 12 62 29" id="caption29" class="search_name" anchor="default"/>
  19. <Combo position="absolute 65 11 190 30" id="cmb_deptcd" class="combo_s_essential" taborder="1" innerdataset="@ds_init_deptinfo_deptlist" datacolumn="depthngnm" codecolumn="deptcd" anchor="default" onitemchanged="group3_grp_sea_cmb_deptcd_onitemchanged"/>
  20. <Static text="구 분 :" position="absolute 499 12 555 29" id="caption1" class="search_name" anchor="default"/>
  21. <Static text="등록번호 :" position="absolute 750 12 826 29" id="caption2" class="search_name" anchor="default"/>
  22. <Edit position="absolute 830 11 885 30" id="ipt_pid" class="input_search" taborder="4" autoselect="true" anchor="default" onkeyup="group3_grp_sea_ipt_pid_onkeyup"/>
  23. <Button position="absolute 1128 11 1184 33" id="button2" class="btn7" taborder="8" text="엑셀" anchor="default" onclick="group3_grp_sea_button2_onclick"/>
  24. <Calendar position="absolute 382 11 470 30" id="ipt_todd" class="input_s_essential" taborder="2" autoselect="true" anchor="default"/>
  25. <Static text="~" position="absolute 365 12 385 27" align="align:center middle;" id="caption4" anchor="default"/>
  26. <Radio position="absolute 554 11 730 27" id="rdo_acptflag" columncount="6" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group3_grp_sea_rdo_acptflag_onitemchanged" index="-1">
  27. <Dataset id="innerdataset">
  28. <ColumnInfo>
  29. <Column id="codecolumn"/>
  30. <Column id="datacolumn"/>
  31. </ColumnInfo>
  32. <Rows>
  33. <Row>
  34. <Col id="codecolumn">
  35. </Col>
  36. <Col id="datacolumn">전체</Col>
  37. </Row>
  38. <Row>
  39. <Col id="codecolumn">1</Col>
  40. <Col id="datacolumn">호출</Col>
  41. </Row>
  42. <Row>
  43. <Col id="codecolumn">2</Col>
  44. <Col id="datacolumn">완료</Col>
  45. </Row>
  46. <Row>
  47. <Col id="codecolumn">3</Col>
  48. <Col id="datacolumn">취소</Col>
  49. </Row>
  50. </Rows>
  51. </Dataset>
  52. </Radio>
  53. </Layout>
  54. </Layouts>
  55. </Div>
  56. <Static text="특수주사팀 호출 현황 리스트" position="absolute 0 79 195 95" id="caption5" class="tit_2" anchor="default"/>
  57. <Shape position="absolute 0 95 1194 101" linetype="horizontal" id="line1" class="line_10" anchor="default"/>
  58. <Grid position="absolute 0 100 1194 770" id="grd_ivinfo" class="datagrid2" binddataset="ds_main_ivinfo_ivlist" anchor="default" onheadclick="group3_grd_ivinfo_onheadclick" cellsizingtype="both" scrollpixel="all" selecttype="multirow" cellsizebandtype="allband" extendsizetype="row" oncelldblclick="group3_grd_ivinfo_oncelldblclick">
  59. <Formats>
  60. <Format id="default">
  61. <Columns>
  62. <Column size="20" band="left"/>
  63. <Column size="27" band="left"/>
  64. <Column size="0"/>
  65. <Column size="85"/>
  66. <Column size="50"/>
  67. <Column size="100"/>
  68. <Column size="55"/>
  69. <Column size="65"/>
  70. <Column size="45"/>
  71. <Column size="95"/>
  72. <Column size="23"/>
  73. <Column size="23"/>
  74. <Column size="23"/>
  75. <Column size="23"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. <Column size="70"/>
  81. <Column size="45"/>
  82. <Column size="65"/>
  83. <Column size="105"/>
  84. <Column size="45"/>
  85. <Column size="60"/>
  86. <Column size="105"/>
  87. <Column size="70"/>
  88. <Column size="45"/>
  89. </Columns>
  90. <Rows>
  91. <Row size="26" band="head"/>
  92. <Row size="24"/>
  93. </Rows>
  94. <Band id="head">
  95. <Cell/>
  96. <Cell col="1" displaytype="checkbox" edittype="checkbox" expr="0"/>
  97. <Cell col="2" text="no"/>
  98. <Cell col="3" text="호출부서"/>
  99. <Cell col="4" text="병실&#10;(입원)"/>
  100. <Cell col="5" text="부서번호"/>
  101. <Cell col="6" text="등록번호"/>
  102. <Cell col="7" text="성명"/>
  103. <Cell col="8" text="S/A"/>
  104. <Cell col="9" text="진료과"/>
  105. <Cell col="10" colspan="8" text="감염정보" taborder="undefined"/>
  106. <Cell col="18" colspan="2" text="호출일시" taborder="undefined"/>
  107. <Cell col="20" text="IV목적"/>
  108. <Cell col="21" text="호출목적"/>
  109. <Cell col="22" text="구분"/>
  110. <Cell col="23" text="호출번호"/>
  111. <Cell col="24" text="특수주사팀&#10;Remark"/>
  112. <Cell col="25" colspan="2" text="완료일시" taborder="undefined"/>
  113. </Band>
  114. <Band id="body">
  115. <Cell celltype="head" expr="expr:currow + 1"/>
  116. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
  117. <Cell col="2" text="bind:callno"/>
  118. <Cell col="3" displaytype="combo" style="padding:2 2 2 2;" text="bind:calldeptcd" combodataset="ds_init_deptinfo_deptlist" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
  119. <Cell col="4" text="bind:roomcd"/>
  120. <Cell col="5" style="align:left;" text="bind:depttel"/>
  121. <Cell col="6" text="bind:pid"/>
  122. <Cell col="7" style="align:left;" text="bind:hngnm"/>
  123. <Cell col="8" style="align:left;" text="bind:sexage"/>
  124. <Cell col="9" style="align:left;" text="bind:orddeptnm"/>
  125. <Cell col="10" displaytype="image" text="bind:disp1img"/>
  126. <Cell col="11" displaytype="image" text="bind:disp2img"/>
  127. <Cell col="12" displaytype="image" text="bind:disp3img"/>
  128. <Cell col="13" displaytype="image" text="bind:disp4img"/>
  129. <Cell col="14" text="bind:disp1"/>
  130. <Cell col="15" text="bind:disp2"/>
  131. <Cell col="16" text="bind:disp3"/>
  132. <Cell col="17" text="bind:disp4"/>
  133. <Cell col="18" displaytype="date" text="bind:calldd" calendardisplaynulltype="none"/>
  134. <Cell col="19" text="bind:calltm" mask="expr:utlf_isNull(calltm) ? '' : '##:##'"/>
  135. <Cell col="20" displaytype="combo" style="align:left middle;padding:2 2 2 2;" text="bind:callremfact" combodataset="ds_init_codeinfo_codelist_I06" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  136. <Cell col="21" edittype="none" style="align:left top;" text="bind:callremfactdesc" wordwrap="word"/>
  137. <Cell col="22" displaytype="combo" style="align:center;" text="bind:acptflag" combodataset="ds_init_codeinfo_codelist_I05" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  138. <Cell col="23" displaytype="combo" style="padding:2 2 2 2;" text="bind:calltelno" combodataset="ds_init_codeinfo_codelist_I13" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  139. <Cell col="24" displaytype="text" edittype="text" text="bind:ivremfact"/>
  140. <Cell col="25" displaytype="date" text="bind:cmpltdd" calendardisplaynulltype="none"/>
  141. <Cell col="26" text="bind:cmplttm" mask="expr:utlf_isNull(cmplttm) ? '' : '##:##'"/>
  142. </Band>
  143. </Format>
  144. </Formats>
  145. </Grid>
  146. <Button position="absolute 1106 75 1148 94" id="btn_cmpl" class="btn2" text="완료" anchor="default" onclick="group3_btn_cmpl_onclick"/>
  147. <Button position="absolute 1018 75 1104 94" id="btn_savrem" class="btn2" text="Remark저장" anchor="default" onclick="group3_btn_savrem_onclick"/>
  148. <Button position="absolute 914 75 1016 94" id="button1" class="btn2" text="특수주사팀 호출" anchor="default" onclick="group3_button1_onclick"/>
  149. <Static text="[표]" position="absolute 1166 772 1193 787" id="caption6" anchor="default"/>
  150. <CheckBox position="absolute 895 38 961 53" id="checkbox1" text="완료제외" truevalue="Y" anchor="default" onclick="group3_checkbox1_onclick"/>
  151. <Button position="absolute 1150 75 1192 94" id="btn_cncl" class="btn5" text="취소" anchor="default" onclick="group3_btn_cncl_onclick"/>
  152. <CheckBox position="absolute 967 38 1038 53" id="checkbox2" text="취소제외" truevalue="Y" anchor="default" onclick="group3_checkbox2_onclick"/>
  153. </Layout>
  154. </Layouts>
  155. </Div>
  156. </Layout>
  157. </Layouts>
  158. <Objects>
  159. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  160. <ColumnInfo>
  161. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  162. <Column id="srchdd" type="STRING" size="256" sumtext="조회기준일자"/>
  163. <Column id="flag" type="STRING" size="256" sumtext="조회기준일자"/>
  164. <Column id="allflag" type="STRING" size="256" sumtext="모두조회여부"/>
  165. </ColumnInfo>
  166. <Rows>
  167. <Row/>
  168. </Rows>
  169. </Dataset>
  170. <Dataset id="ds_init_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  171. <ColumnInfo>
  172. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  173. <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
  174. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  175. <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
  176. <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
  177. <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
  178. <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
  179. <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
  180. </ColumnInfo>
  181. </Dataset>
  182. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  183. <ColumnInfo>
  184. <!-- <column id="etcrefflag" type="string" desc="기타부서조회구분" ref="etcrefflag" /> -->
  185. <Column id="comnrefflag" type="STRING" size="256" sumtext="공통조회구분"/>
  186. <Column id="flag" type="STRING" size="256" sumtext="공통조회구분"/>
  187. </ColumnInfo>
  188. <Rows>
  189. <Row/>
  190. </Rows>
  191. </Dataset>
  192. <Dataset id="ds_init_deptinfo_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  193. <ColumnInfo>
  194. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  195. <Column id="depthngnm" type="STRING" size="256" sumtext="부서명"/>
  196. <Column id="deptflag" type="STRING" size="256" sumtext="부서구분"/>
  197. </ColumnInfo>
  198. </Dataset>
  199. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  200. <ColumnInfo>
  201. <Column id="fromdd" type="STRING" size="256" sumtext="기간FROM"/>
  202. <Column id="todd" type="STRING" size="256" sumtext="기간TO"/>
  203. <Column id="deptcd" type="STRING" size="256" sumtext="부서"/>
  204. <Column id="acptflag" type="STRING" size="256" sumtext="호출구분"/>
  205. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  206. <Column id="exceptflag" type="STRING" size="256" sumtext="완료제외"/>
  207. <Column id="exceptflag2" type="STRING" size="256" sumtext="취소제외"/>
  208. </ColumnInfo>
  209. </Dataset>
  210. <Dataset id="ds_main_ivinfo_ivlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_ivinfo_ivlist_oncolumnchanged">
  211. <ColumnInfo>
  212. <Column id="chkyn" type="STRING" size="256" sumtext="check"/>
  213. <Column id="callno" type="STRING" size="256" sumtext="호출번호"/>
  214. <Column id="calldeptcd" type="STRING" size="256" sumtext="호출부서"/>
  215. <Column id="depttel" type="STRING" size="256" sumtext="부서번호"/>
  216. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  217. <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
  218. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  219. <Column id="calldd" type="STRING" size="256" sumtext="호출일자"/>
  220. <Column id="calltm" type="STRING" size="256" sumtext="호출시간"/>
  221. <Column id="callremfact" type="STRING" size="256" sumtext="호출remark"/>
  222. <Column id="callremfactdesc" type="STRING" size="256" sumtext="remark상세"/>
  223. <Column id="acptflag" type="STRING" size="256" sumtext="호출상태"/>
  224. <Column id="calltelno" type="STRING" size="256" sumtext="IV팀 전화번호"/>
  225. <Column id="cmpltdd" type="STRING" size="256" sumtext="완료일자"/>
  226. <Column id="cmplttm" type="STRING" size="256" sumtext="완료시간"/>
  227. <Column id="ivremfact" type="STRING" size="256" sumtext="IV팀 remark"/>
  228. <Column id="disp1" type="STRING" size="256" sumtext="감염1"/>
  229. <Column id="disp2" type="STRING" size="256" sumtext="감염2"/>
  230. <Column id="disp3" type="STRING" size="256" sumtext="감염3"/>
  231. <Column id="disp1img" type="STRING" size="256" sumtext="감염1"/>
  232. <Column id="disp2img" type="STRING" size="256" sumtext="감염2"/>
  233. <Column id="disp3img" type="STRING" size="256" sumtext="감염3"/>
  234. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  235. <Column id="sexage" type="STRING" size="256" sumtext="성별나이"/>
  236. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  237. <Column id="cretno" type="STRING" size="256" sumtext="원무이력"/>
  238. <Column id="dschdd" type="STRING" size="256" sumtext="퇴실일자"/>
  239. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  240. </ColumnInfo>
  241. </Dataset>
  242. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  243. <ColumnInfo>
  244. <Column id="saveflag" type="STRING" size="256" sumtext="saveflag"/>
  245. </ColumnInfo>
  246. <Rows>
  247. <Row/>
  248. </Rows>
  249. </Dataset>
  250. <Dataset id="ds_send_savedata_ivlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  251. <ColumnInfo>
  252. <Column id="chkyn" type="STRING" size="256" sumtext="chkyn"/>
  253. <Column id="calldd" type="STRING" size="256" sumtext="호출일자"/>
  254. <Column id="callno" type="STRING" size="256" sumtext="호출번호"/>
  255. <Column id="ivremfact" type="STRING" size="256" sumtext="IV팀 Remark"/>
  256. </ColumnInfo>
  257. </Dataset>
  258. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  259. <ColumnInfo>
  260. <Column id="deptcd" type="STRING" size="256"/>
  261. <Column id="pid" type="STRING" size="256"/>
  262. <Column id="fromdd" type="STRING" size="256"/>
  263. <Column id="todd" type="STRING" size="256"/>
  264. <Column id="acptflag" type="STRING" size="256"/>
  265. <Column id="exceptflag" type="STRING" size="256"/>
  266. <Column id="multicheck" type="STRING" size="256"/>
  267. <Column id="exceptflag2" type="STRING" size="256"/>
  268. </ColumnInfo>
  269. <Rows>
  270. <Row/>
  271. </Rows>
  272. </Dataset>
  273. <Dataset id="ds_init_codeinfo_codelist_I06" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  274. <ColumnInfo>
  275. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  276. <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
  277. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  278. <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
  279. <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
  280. <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
  281. <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
  282. <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
  283. </ColumnInfo>
  284. </Dataset>
  285. <Dataset id="ds_init_codeinfo_codelist_I05" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  286. <ColumnInfo>
  287. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  288. <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
  289. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  290. <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
  291. <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
  292. <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
  293. <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
  294. <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
  295. </ColumnInfo>
  296. </Dataset>
  297. <Dataset id="ds_init_codeinfo_codelist_I13" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  298. <ColumnInfo>
  299. <Column id="cdgrupid" type="STRING" size="256" sumtext="코드그룹ID"/>
  300. <Column id="cdid" type="STRING" size="256" sumtext="코드ID"/>
  301. <Column id="cdnm" type="STRING" size="256" sumtext="코드명"/>
  302. <Column id="grupdetldesc" type="STRING" size="256" sumtext="코드그룹상세설명"/>
  303. <Column id="supcdid" type="STRING" size="256" sumtext="상위코드ID"/>
  304. <Column id="sortseq" type="STRING" size="256" sumtext="상위코드ID"/>
  305. <Column id="valifromdd" type="STRING" size="256" sumtext="시작일자"/>
  306. <Column id="valitodd" type="STRING" size="256" sumtext="시작일자"/>
  307. </ColumnInfo>
  308. </Dataset>
  309. <Dataset id="ds_infection_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  310. </Objects>
  311. <Bind>
  312. <BindItem id="item0" compid="group3.grp_sea.cmb_deptcd" propid="value" datasetid="ds_main_cond" columnid="deptcd"/>
  313. <BindItem id="item1" compid="group3.grp_sea.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  314. <BindItem id="item2" compid="group3.grp_sea.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  315. <BindItem id="item3" compid="group3.grp_sea.rdo_acptflag" propid="value" datasetid="ds_main_cond" columnid="acptflag"/>
  316. <BindItem id="item4" compid="group3.grp_sea.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  317. <BindItem id="item5" compid="group3.checkbox1" propid="value" datasetid="ds_main_cond" columnid="exceptflag"/>
  318. <BindItem id="item6" compid="group3.checkbox2" propid="value" datasetid="ds_main_cond" columnid="exceptflag2"/>
  319. </Bind>
  320. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  321. * System Name : 경대 의료정보시스템
  322. * Job Name : emr_wardcarexp -> SMMNW14560
  323. * Creator : yjh
  324. * Make Date : 2016-12-09
  325. * Description :
  326. *---------------------------------------------------------------------------------------
  327. * Modify Date Modifier Modify Description
  328. *---------------------------------------------------------------------------------------
  329. * 2016-12-09 yjh TF->XP
  330. *
  331. *---------------------------------------------------------------------------------------
  332. ****************************************************************************************/
  333. //=======================================================================================
  334. // Lib Include
  335. //---------------------------------------------------------------------------------------
  336. include "com_commonxp::comm_main.xjs";
  337. include "emr_carecomxp::CareCom.xjs";
  338. //=======================================================================================
  339. // Global Form Variable
  340. //---------------------------------------------------------------------------------------
  341. //=======================================================================================
  342. // Function
  343. //---------------------------------------------------------------------------------------
  344. function fSearch() {
  345. ds_send_reqdata.copyData(ds_main_cond);
  346. var oParam = {};
  347. oParam.id = "TRMNW14511";
  348. oParam.service = "wardcareapp.TranMngt";
  349. oParam.method = "reqGetPatIvInfoList";
  350. oParam.inds = "req=ds_send_reqdata";
  351. oParam.outds = "ds_main_ivinfo_ivlist=ivlist";
  352. oParam.async = false;
  353. //oParam.callback = "cf_TRMNW14511";
  354. tranf_submit(oParam);
  355. if( utlf_isNull(ds_main_ivinfo_ivlist.getColumnInfo("chkyn")) ){
  356. ds_main_ivinfo_ivlist.addColumn("chkyn", "string");
  357. }
  358. if( utlf_isNull(ds_main_ivinfo_ivlist.getColumnInfo("disp1img")) ){
  359. ds_main_ivinfo_ivlist.addColumn("disp1img", "string");
  360. }
  361. if( utlf_isNull(ds_main_ivinfo_ivlist.getColumnInfo("disp2img")) ){
  362. ds_main_ivinfo_ivlist.addColumn("disp2img", "string");
  363. }
  364. if( utlf_isNull(ds_main_ivinfo_ivlist.getColumnInfo("disp3img")) ){
  365. ds_main_ivinfo_ivlist.addColumn("disp3img", "string");
  366. }
  367. if( utlf_isNull(ds_main_ivinfo_ivlist.getColumnInfo("disp4img")) ){
  368. ds_main_ivinfo_ivlist.addColumn("disp4img", "string");
  369. }
  370. ds_main_ivinfo_ivlist.enableevent = false;
  371. ds_main_ivinfo_ivlist.updatecontrol = false;
  372. for( var i=0 ; i<ds_main_ivinfo_ivlist.rowcount ; i++ ){
  373. if( ds_main_ivinfo_ivlist.getColumn(i, "chkyn") == "Y" ){
  374. ds_main_ivinfo_ivlist.setColumn(i, "chkyn", "1"); //yjh1
  375. }else{
  376. ds_main_ivinfo_ivlist.setColumn(i, "chkyn", "0");
  377. }
  378. }
  379. ds_main_ivinfo_ivlist.updatecontrol = true;
  380. ds_main_ivinfo_ivlist.enableevent = true;
  381. ds_main_ivinfo_ivlist.rowposition = -1;
  382. var nodePath = ds_main_ivinfo_ivlist;
  383. ds_main_ivinfo_ivlist.enableevent = false;
  384. ds_main_ivinfo_ivlist.updatecontrol = false;
  385. for(var i = 0; i < group3.grd_ivinfo.rowcount; i++) {
  386. if (nodePath.getColumn(i, "disp1") == "Y") {
  387. nodePath.setColumn(i, "disp1img", "URL('IMG::emr//ICON//btn_top_infection0.gif')");
  388. //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp1img")) = "../../../com/hismainweb/images/btn_top_infection0.gif";
  389. }else{
  390. nodePath.setColumn(i, "disp1img", "");
  391. //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp1img")) = "";
  392. }
  393. if (nodePath.getColumn(i, "disp2") == "Y") {
  394. nodePath.setColumn(i, "disp2img", "URL('IMG::emr//ICON//btn_top_infection1.gif')");
  395. //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp2img")) = "../../../com/hismainweb/images/btn_top_infection1.gif";
  396. }else{
  397. nodePath.setColumn(i, "disp2img", "");
  398. //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp2img")) = "";
  399. }
  400. if (nodePath.getColumn(i, "disp3") == "Y") {
  401. nodePath.setColumn(i, "disp3img", "URL('IMG::emr//ICON//btn_top_infection2.gif')");
  402. //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp3img")) = "../../../com/hismainweb/images/btn_top_infection2.gif";
  403. }else{
  404. nodePath.setColumn(i, "disp3img", "");
  405. //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp3img")) = "";
  406. }
  407. if (nodePath.getColumn(i, "disp4") == "Y") {
  408. nodePath.setColumn(i, "disp4img", "URL('IMG::emr//ICON//btn_top_infection3.gif')");
  409. //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp3img")) = "../../../com/hismainweb/images/btn_top_infection2.gif";
  410. }else{
  411. nodePath.setColumn(i, "disp4img", "");
  412. //grd_ivinfo.cellstyle("background-image", i, grd_ivinfo.colRef("disp3img")) = "";
  413. }
  414. }
  415. ds_main_ivinfo_ivlist.updatecontrol = true;
  416. ds_main_ivinfo_ivlist.enableevent = true;
  417. }
  418. //=======================================================================================
  419. // Event
  420. //---------------------------------------------------------------------------------------
  421. /****************************************************************************************
  422. * Components : Form
  423. * Components ID : SMMNW14560
  424. * Event : oninit
  425. * Argument : 01.obj : Object Event has occurred
  426. * : 02.e : Event Object
  427. * Description : 화면 처음 초기화시
  428. ****************************************************************************************/
  429. function SMMNW14560_oninit(obj:Form, e:InitEventInfo)
  430. {
  431. frmf_initForm(obj); //폼 초기화
  432. }
  433. /****************************************************************************************
  434. * Components : Form
  435. * Components ID : SMMNW14560
  436. * Event : onload
  437. * Argument : 01.obj : Object Event has occurred
  438. * : 02.e : Event Object
  439. * Description : 화면 로딩 완료시
  440. ****************************************************************************************/
  441. function SMMNW14560_onload(obj:Form, e:LoadEventInfo)
  442. {
  443. ds_main_cond.setColumn(0, "exceptflag", "Y");
  444. ds_main_cond.setColumn(0, "exceptflag2", "Y");
  445. group3.grp_sea.rdo_acptflag.value = "";
  446. ds_send.setColumn(0, "cdgrupid", "'I05', 'I06', 'I07','I13'");
  447. ds_send.setColumn(0, "srchdd" , utlf_getCurrentDate()); // 조회기준일자
  448. var oParam = {};
  449. oParam.id = "TRMNW00001";
  450. oParam.service = "wardcareapp.WardCareMngt";
  451. oParam.method = "reqGetNursHardCdInfo";
  452. oParam.inds = "req=ds_send";
  453. oParam.outds = "ds_init_codeinfo_codelist=codelist";
  454. oParam.async = false;
  455. //oParam.callback = "cf_TRMNW00001";
  456. tranf_submit(oParam);
  457. ds_init_codeinfo_codelist.filter("cdgrupid=='I06'");
  458. ds_init_codeinfo_codelist_I06.copyData(ds_init_codeinfo_codelist, true);
  459. ds_init_codeinfo_codelist.filter("cdgrupid=='I05'");
  460. ds_init_codeinfo_codelist_I05.copyData(ds_init_codeinfo_codelist, true);
  461. ds_init_codeinfo_codelist.filter("cdgrupid=='I13'");
  462. ds_init_codeinfo_codelist_I13.copyData(ds_init_codeinfo_codelist, true);
  463. ds_init_codeinfo_codelist.filter("");
  464. var userid = sysf_getUserInfo("userid");
  465. //IV팀이면. 활성화
  466. if(userid == ds_init_codeinfo_codelist.lookupExpr("cdgrupid=='I07' && supcdid=='"+userid+"'", "supcdid") || userid == 'ENR'){
  467. group3.btn_cmpl.enable = true;
  468. group3.btn_savrem.enable = true;
  469. group3.btn_cncl.enable = true;
  470. } else { // IV팀이 아니면 비활성화
  471. group3.btn_cmpl.enable = false;
  472. group3.btn_savrem.enable = false;
  473. group3.btn_cncl.enable = false;
  474. }
  475. var instcd = sysf_getUserInfo("dutplceinstcd");
  476. var standard_yn = "orduseyn";
  477. var ord_deptflag = 'W';
  478. var rslt_ref = "/root/init/dept";
  479. var sort_field = "depthngnm";
  480. var sort_method = "asc";
  481. var dt = utlf_getCurrentDate();
  482. var oParam = {};
  483. oParam.id = "TRMNW11001";
  484. oParam.service = "wardorderapp.NursPrcpMngt";
  485. oParam.method = "reqGetDeptListInfo";
  486. oParam.inds = "req=ds_temp";
  487. oParam.outds = "ds_init_deptinfo_deptlist=deptlist";
  488. oParam.async = false;
  489. //oParam.callback = "cf_TRMNW11001";
  490. tranf_submit(oParam);
  491. frmf_addComboItem("group3.grp_sea.cmb_deptcd", "전 체", "", "above");
  492. group3.grp_sea.ipt_fromdd.value = utlf_getCurrentDate();
  493. group3.grp_sea.ipt_todd.value = utlf_getCurrentDate();
  494. if(ds_init_codeinfo_codelist.lookupExpr("cdgrupid=='I07' && supcdid=='"+userid+"'", "supcdid") == userid) {
  495. } else { // IV팀이 아니면 비활성화
  496. if(sysf_getUserInfo("userid") == "ENR") {
  497. group3.grp_sea.cmb_deptcd.value = "";
  498. } else {
  499. group3.grp_sea.cmb_deptcd.value = sysf_getUserInfo("dutplcecd");
  500. }
  501. }
  502. //fWardComboSelectDisable("cmb_deptcd"); // 부서선택 비활성화(사용자 로그인 부서 디폴트)
  503. //fSearch();
  504. this.setTimer(0, 100);
  505. }
  506. /****************************************************************************************
  507. * Components : Button
  508. * Components ID : btn_ref
  509. * Event : onclick
  510. * Argument : 01.obj : Object Event has occurred
  511. * : 02.e : Event Object
  512. * Description : 조회버튼 클릭시
  513. ****************************************************************************************/
  514. function group3_grp_sea_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  515. {
  516. fSearch();
  517. }
  518. /****************************************************************************************
  519. * Components : Combo
  520. * Components ID : cmb_deptcd
  521. * Event : onitemchanged
  522. * Argument : 01.obj : Object Event has occurred
  523. * : 02.e : Event Object
  524. * Description : 콤보 값 변경시
  525. ****************************************************************************************/
  526. function group3_grp_sea_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  527. {
  528. fSearch();
  529. }
  530. /****************************************************************************************
  531. * Components : Edit
  532. * Components ID : ipt_pid
  533. * Event : onkeyup
  534. * Argument : 01.obj : Object Event has occurred
  535. * : 02.e : Event Object
  536. * Description : 에디터 키 입력시
  537. ****************************************************************************************/
  538. function group3_grp_sea_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  539. {
  540. if( e.keycode == 13 ){
  541. obj.updateToDataset();
  542. group3.grp_sea.btn_ref.click();
  543. }
  544. }
  545. /****************************************************************************************
  546. * Components : Button
  547. * Components ID : button2
  548. * Event : onclick
  549. * Argument : 01.obj : Object Event has occurred
  550. * : 02.e : Event Object
  551. * Description : 엑셀버튼 클릭시
  552. ****************************************************************************************/
  553. function group3_grp_sea_button2_onclick(obj:Button, e:ClickEventInfo)
  554. {
  555. if( group3.grd_ivinfo.rowcount > 0 ){
  556. grdf_exportExcel(group3.grd_ivinfo, "소아IV팀 호출 현황 리스트", "sheetname", false, "", "user", false);
  557. } else {
  558. sysf_messageBox("조회된 데이터가 ", "I004");
  559. return;
  560. }
  561. }
  562. /****************************************************************************************
  563. * Components : Radio
  564. * Components ID : rdo_acptflag
  565. * Event : onitemchanged
  566. * Argument : 01.obj : Object Event has occurred
  567. * : 02.e : Event Object
  568. * Description : 라디오 값 변경시
  569. ****************************************************************************************/
  570. function group3_grp_sea_rdo_acptflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  571. {
  572. fSearch();
  573. }
  574. /****************************************************************************************
  575. * Components : Dataset
  576. * Components ID : ds_main_ivinfo_ivlist
  577. * Event : oncolumnchanged
  578. * Argument : 01.obj : Object Event has occurred
  579. * : 02.e : Event Object
  580. * Description : 데이터셋 값 변경시
  581. ****************************************************************************************/
  582. function ds_main_ivinfo_ivlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  583. {
  584. switch( e.columnid ){
  585. case "chkyn" :
  586. if( obj.getColumn(e.row, e.columnid) == "0" ){
  587. group3.grd_ivinfo.setCellProperty("head", 1, "expr", "0");
  588. }
  589. break;
  590. case "ivremfact" :
  591. obj.setColumn(e.row, "chkyn", "1");
  592. break;
  593. default :
  594. break;
  595. }
  596. }
  597. /****************************************************************************************
  598. * Components : Button
  599. * Components ID : btn_cmpl
  600. * Event : onclick
  601. * Argument : 01.obj : Object Event has occurred
  602. * : 02.e : Event Object
  603. * Description : 완료버튼 클릭시
  604. ****************************************************************************************/
  605. function group3_btn_cmpl_onclick(obj:Button, e:ClickEventInfo)
  606. {
  607. var chkyn;
  608. var acptflag;
  609. var chkcnt = 0;
  610. var cnt = 0;
  611. var cnclcnt = 0;
  612. var xIvListPath = ds_main_ivinfo_ivlist;
  613. var data;
  614. for(var i=0; i <group3.grd_ivinfo.rowcount; i++) {
  615. chkyn = xIvListPath.getColumn(i, "chkyn");
  616. acptflag = xIvListPath.getColumn(i, "acptflag");
  617. if(chkyn == "1" && acptflag == "3") {
  618. cnclcnt++;
  619. }
  620. if(chkyn == "1" && acptflag == "2" ) {
  621. chkcnt++;
  622. }
  623. if(chkyn == "1") {
  624. cnt++;
  625. }
  626. // if(group3.grd_ivinfo.getCellProperty("head", 1, "expr") == "1"){
  627. //
  628. // data = grd_ivinfo.getupdatedataAll("i")
  629. //
  630. // }else if(xIvListPath.getColumn(i, "chkyn") == "1"){
  631. //
  632. // data = getGridUpdateData(grd_ivinfo);
  633. //
  634. // }
  635. }
  636. data = grdf_getGridUpdateData(group3.grd_ivinfo, "all");
  637. if(cnt == 0) {
  638. sysf_messageBox("완료 처리할 환자를 선택하여 주십시오.", "I");
  639. return;
  640. }
  641. if(cnclcnt >0) {
  642. sysf_messageBox("취소된 환자는 완료하실 수 없습니다.", "E");
  643. return;
  644. }
  645. if(chkcnt > 0) {
  646. sysf_messageBox("이미 완료된 환자는 완료하실 수 없습니다.", "E");
  647. return;
  648. }
  649. ds_send_savedata_ivlist.copyData(data);
  650. ds_send_savedata.setColumn(0, "saveflag", "2");
  651. for( var i=0 ; i<ds_send_savedata_ivlist.rowcount ; i++ ){
  652. if( ds_send_savedata_ivlist.getColumn(i, "chkyn") == "1" ){
  653. ds_send_savedata_ivlist.setColumn(i, "chkyn", "Y");
  654. }else{
  655. ds_send_savedata_ivlist.setColumn(i, "chkyn", "N");
  656. }
  657. }
  658. var oParam = {};
  659. oParam.id = "TXMNW14511";
  660. oParam.service = "wardcareapp.TranMngt";
  661. oParam.method = "reqExeIvListInfo";
  662. oParam.inds = "ivlist=ds_send_savedata_ivlist saveinfo=ds_send_savedata";
  663. oParam.outds = "";
  664. oParam.async = false;
  665. //oParam.callback = "cf_TXMNW14511";
  666. tranf_submit(oParam);
  667. fSearch();
  668. }
  669. /****************************************************************************************
  670. * Components : Button
  671. * Components ID : btn_savrem
  672. * Event : onclick
  673. * Argument : 01.obj : Object Event has occurred
  674. * : 02.e : Event Object
  675. * Description : Remark저장버튼 클릭시
  676. ****************************************************************************************/
  677. function group3_btn_savrem_onclick(obj:Button, e:ClickEventInfo)
  678. {
  679. ds_send_savedata_ivlist.copyData(grdf_getGridUpdateData(group3.grd_ivinfo, "all"));
  680. ds_send_savedata.setColumn(0, "saveflag", "1");
  681. for( var i=0 ; i<ds_send_savedata_ivlist.rowcount ; i++ ){
  682. if( ds_send_savedata_ivlist.getColumn(i, "chkyn") == "1" ){
  683. ds_send_savedata_ivlist.setColumn(i, "chkyn", "Y");
  684. }else{
  685. ds_send_savedata_ivlist.setColumn(i, "chkyn", "N");
  686. }
  687. }
  688. var oParam = {};
  689. oParam.id = "TXMNW14511";
  690. oParam.service = "wardcareapp.TranMngt";
  691. oParam.method = "reqExeIvListInfo";
  692. oParam.inds = "ivlist=ds_send_savedata_ivlist saveinfo=ds_send_savedata";
  693. oParam.outds = "";
  694. oParam.async = false;
  695. //oParam.callback = "cf_TXMNW14511";
  696. tranf_submit(oParam);
  697. fSearch();
  698. }
  699. /****************************************************************************************
  700. * Components : Button
  701. * Components ID : button1
  702. * Event : onclick
  703. * Argument : 01.obj : Object Event has occurred
  704. * : 02.e : Event Object
  705. * Description : 특수주사팀 호출버튼 클릭시
  706. ****************************************************************************************/
  707. function group3_button1_onclick(obj:Button, e:ClickEventInfo)
  708. {
  709. frmf_open("SMMNW14550", "SMMNW14550", null, null, 1, 1, 1, null, null, null, null, null, "M");
  710. }
  711. /****************************************************************************************
  712. * Components : CheckBox
  713. * Components ID : checkbox1
  714. * Event : onclick
  715. * Argument : 01.obj : Object Event has occurred
  716. * : 02.e : Event Object
  717. * Description : 체크박스 값 변경시
  718. ****************************************************************************************/
  719. function group3_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  720. {
  721. if( obj.value != "Y" ){
  722. ds_main_cond.setColumn(0, "exceptflag", "");
  723. }
  724. fSearch();
  725. }
  726. /****************************************************************************************
  727. * Components : Button
  728. * Components ID : btn_cncl
  729. * Event : onclick
  730. * Argument : 01.obj : Object Event has occurred
  731. * : 02.e : Event Object
  732. * Description : 취소버튼 클릭시
  733. ****************************************************************************************/
  734. function group3_btn_cncl_onclick(obj:Button, e:ClickEventInfo)
  735. {
  736. var chkyn;
  737. var acptflag;
  738. var chkcnt = 0;
  739. var cnt = 0;
  740. var cnclcnt = 0;
  741. var xIvListPath = ds_main_ivinfo_ivlist;
  742. var data;
  743. for(var i=0; i <group3.grd_ivinfo.rowcount; i++) {
  744. chkyn = xIvListPath.getColumn(i, "chkyn");
  745. acptflag = xIvListPath.getColumn(i, "acptflag");
  746. if(chkyn == "1" && acptflag == "3") {
  747. cnclcnt++;
  748. }
  749. if(chkyn == "1" && acptflag == "2" ) {
  750. chkcnt++;
  751. }
  752. if(chkyn == "1") {
  753. cnt++;
  754. }
  755. // if(model.getValue("/root/main/cond/multicheck") == "true"){
  756. //
  757. // data = grd_ivinfo.getupdatedataAll("i")
  758. //
  759. // }else if(model.getValue(xIvListPath + "[" + i + "]/chkyn") == "Y"){
  760. //
  761. // data = getGridUpdateData(grd_ivinfo);
  762. //
  763. // }
  764. }
  765. data = grdf_getGridUpdateData(group3.grd_ivinfo, "all");
  766. if(cnt == 0) {
  767. sysf_messageBox("취소 처리할 환자를 선택하여 주십시오.", "I");
  768. return;
  769. }
  770. if(cnclcnt >0) {
  771. sysf_messageBox("이미 취소된 환자는 취소하실 수 없습니다.", "E");
  772. return;
  773. }
  774. if(chkcnt > 0) {
  775. sysf_messageBox("완료된 환자는 취소하실 수 없습니다.", "E");
  776. return;
  777. }
  778. ds_send_savedata_ivlist.copyData(data);
  779. ds_send_savedata.setColumn(0, "saveflag", "3");
  780. for( var i=0 ; i<ds_send_savedata_ivlist.rowcount ; i++ ){
  781. if( ds_send_savedata_ivlist.getColumn(i, "chkyn") == "1" ){
  782. ds_send_savedata_ivlist.setColumn(i, "chkyn", "Y");
  783. }else{
  784. ds_send_savedata_ivlist.setColumn(i, "chkyn", "N");
  785. }
  786. }
  787. var oParam = {};
  788. oParam.id = "TXMNW14511";
  789. oParam.service = "wardcareapp.TranMngt";
  790. oParam.method = "reqExeIvListInfo";
  791. oParam.inds = "ivlist=ds_send_savedata_ivlist saveinfo=ds_send_savedata";
  792. oParam.outds = "";
  793. oParam.async = false;
  794. //oParam.callback = "cf_TXMNW14511";
  795. tranf_submit(oParam);
  796. fSearch();
  797. }
  798. /****************************************************************************************
  799. * Components : CheckBox
  800. * Components ID : checkbox2
  801. * Event : onclick
  802. * Argument : 01.obj : Object Event has occurred
  803. * : 02.e : Event Object
  804. * Description : 체크박스 값 변경시
  805. ****************************************************************************************/
  806. function group3_checkbox2_onclick(obj:CheckBox, e:ClickEventInfo)
  807. {
  808. if( obj.value != "Y" ){
  809. ds_main_cond.setColumn(0, "exceptflag2", "");
  810. }
  811. fSearch();
  812. }
  813. /****************************************************************************************
  814. * Components : Grid
  815. * Components ID : grd_ivinfo
  816. * Event : onheadclick
  817. * Argument : 01.obj : Object Event has occurred
  818. * : 02.e : Event Object
  819. * Description : 그리드헤더 클릭시
  820. ****************************************************************************************/
  821. function group3_grd_ivinfo_onheadclick(obj:Grid, e:GridClickEventInfo)
  822. {
  823. if( e.col == 1 ){
  824. if( obj.getCellProperty("head", e.col, "expr") == "0" ){
  825. obj.setCellProperty("head", e.col, "expr", "1");
  826. grdf_setGridCheckAll(obj, e);
  827. }else{
  828. obj.setCellProperty("head", e.col, "expr", "0");
  829. grdf_setGridCheckAll(obj, e);
  830. }
  831. }else{
  832. grdf_gridSort(group3.grd_ivinfo,e);
  833. }
  834. }
  835. function SMMNW14560_ontimer(obj:Form, e:TimerEventInfo)
  836. {
  837. if( e.timerid == 0 ){
  838. this.killTimer(0);
  839. fSearch();
  840. }
  841. }
  842. function group3_grd_ivinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  843. {
  844. if(e.row < 0 || e.col < 0 ) return;
  845. var sOrdtype = ds_main_ivinfo_ivlist.getColumn(e.row, "ordtype");
  846. var sPid = ds_main_ivinfo_ivlist.getColumn(e.row, "pid");
  847. var sIndd = ds_main_ivinfo_ivlist.getColumn(e.row, "indd");
  848. var sCretno = ds_main_ivinfo_ivlist.getColumn(e.row, "cretno");
  849. var sInstcd = ds_main_ivinfo_ivlist.getColumn(e.row, "instcd");
  850. var sSrchdd = ds_main_ivinfo_ivlist.getColumn(e.row, "dschdd");
  851. var param = sOrdtype + "▦"
  852. + sPid + "▦"
  853. + sIndd + "▦"
  854. + sCretno + "▦"
  855. + sInstcd + "▦"
  856. + sSrchdd + "▦" ;
  857. frmf_setParameter("condparam", param);
  858. appf_initPatientInfo(param);
  859. ds_infection_send.addColumn("infection", "string");
  860. if( ds_infection_send.rowcount < 1 ) ds_infection_send.addRow();
  861. var objArg = new Object();
  862. if ( e.col == group3.grd_ivinfo.getBindCellIndex("body", "disp1img") && ds_main_ivinfo_ivlist.getColumn(e.row, "disp1") =="Y"){
  863. ds_infection_send.setColumn(0, "infection", "B");
  864. objArg.arg_ds_send = ds_infection_send;
  865. frmf_open("SPASB01600", "SPASB01600", objArg, null, "", "", "", null, null, null, null, null, "M");
  866. }else if ( e.col == group3.grd_ivinfo.getBindCellIndex("body", "disp2img") && ds_main_ivinfo_ivlist.getColumn(e.row, "disp2") =="Y"){
  867. ds_infection_send.setColumn(0, "infection", "C");
  868. objArg.arg_ds_send = ds_infection_send;
  869. frmf_open("SPASB01600", "SPASB01600", objArg, null, "", "", "", null, null, null, null, null, "M");
  870. }else if ( e.col == group3.grd_ivinfo.getBindCellIndex("body", "disp3img") && ds_main_ivinfo_ivlist.getColumn(e.row, "disp3") =="Y"){
  871. ds_infection_send.setColumn(0, "infection", "A");
  872. objArg.arg_ds_send = ds_infection_send;
  873. frmf_open("SPASB01600", "SPASB01600", objArg, null, "", "", "", null, null, null, null, null, "M");
  874. }else if ( e.col == group3.grd_ivinfo.getBindCellIndex("body", "disp4img") && ds_main_ivinfo_ivlist.getColumn(e.row, "disp4") =="Y"){
  875. ds_infection_send.setColumn(0, "infection", "D");
  876. objArg.arg_ds_send = ds_infection_send;
  877. frmf_open("SPASB01600", "SPASB01600", objArg, null, "", "", "", null, null, null, null, null, "M");
  878. }
  879. }
  880. ]]></Script>
  881. </Form>
  882. </FDL>