SMMNF01800_일일방문 대장.xfdl 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNF01800" position="absolute 0 0 1228 765" titletext="가정간호 일일방문 대장" onload="SMMNF01800_onload" scrollbars="none">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" position="absolute 0 0 1195 29" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption6" class="tit_1" position="absolute 0 0 160 22" style="" text="일일방문 대장" anchor="default"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div id="grp_btn" scrollbars="autoboth" position="absolute 0 757 1195 780" style=""/>
  15. <Div id="group5" scrollbars="autoboth" position="absolute 0 13 1195 755" style="">
  16. <Layouts>
  17. <Layout>
  18. <Div id="grp_sea" position="absolute 0 10 1195 60" style="align: top;">
  19. <Layouts>
  20. <Layout>
  21. <Shape id="roundrect1" anchor="default" class="roundrect_search" type="roundrectangle" position="absolute 0 5 1195 45" style=""/>
  22. <Shape id="line13" class="line_4" linetype="vertical" position="absolute 1107 12 1110 38" style="" anchor="default"/>
  23. <Button id="btn_search" class="btn1" position="absolute 1126 13 1182 35" style="" text="조회" onclick="group5_grp_sea_btn_search_onclick"/>
  24. <Radio innerdataset="" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="rdo_kind" class="radio_search" visible="false" position="absolute 709 16 849 36" style="" onitemchanged="group5_grp_sea_rdo_kind_onitemchanged" onkillfocus="group5_grp_sea_rdo_kind_onkillfocus"/>
  25. <Div id="grp_kindchurch" position="absolute 400 14 960 34" style="background:transparent ;">
  26. <Layouts>
  27. <Layout>
  28. <Combo innerdataset="ds_item_church_church_churchlist" datacolumn="churchnm" codecolumn="churchcd" columncount="-1" rowcount="-1" id="combo5" class="combo_search" position="absolute 219 0 324 19" style="" onitemchanged="group5_grp_sea_grp_kindchurch_combo5_onitemchanged" visible="false" anchor="default"/>
  29. <Combo innerdataset="ds_item_chargenurse_nurselist" datacolumn="usernm" codecolumn="userid" columncount="-1" rowcount="-1" id="combo7" class="combo_search" position="absolute 82 0 172 19" style="" onitemchanged="group5_grp_sea_grp_kindchurch_combo7_onitemchanged" anchor="default"/>
  30. <Static id="caption28" class="search_name" position="absolute 448 0 528 17" style="" text="본당명 :" visible="false" anchor="default"/>
  31. <Static id="caption29" class="search_name" position="absolute -7 1 92 18" style="" text="방문간호사 :" anchor="default"/>
  32. <cp_checkboxList datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="checkbox1" class="checkbox_search" col="3" row="1" position="absolute 413 1 553 18" style="align:center ;" titletext="CheckBox List" text="checkbox1" scrollbars="none" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="100" visible="false" anchor="default">
  33. <Dataset id="innerdataset">
  34. <ColumnInfo>
  35. <Column id="codecolumn"/>
  36. <Column id="datacolumn"/>
  37. </ColumnInfo>
  38. <Rows>
  39. <Row>
  40. <Col id="codecolumn">1</Col>
  41. <Col id="datacolumn">등록</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">2</Col>
  45. <Col id="datacolumn">무료</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">3</Col>
  49. <Col id="datacolumn">기타</Col>
  50. </Row>
  51. </Rows>
  52. </Dataset>
  53. </cp_checkboxList>
  54. </Layout>
  55. </Layouts>
  56. </Div>
  57. <Static id="caption1" class="search_name" position="absolute 15 17 113 34" style="" text="방문일자 :"/>
  58. <Div id="grp_kindhosp" position="absolute 816 14 1041 37" style="background:transparent ;" visible="false">
  59. <Layouts>
  60. <Layout>
  61. <Combo innerdataset="ds_item_chargenurse_nurselist" datacolumn="usernm" codecolumn="userid" columncount="-1" rowcount="-1" id="combo6" class="combo_search" position="absolute 268 0 368 19" style="" onitemchanged="group5_grp_sea_grp_kindhosp_combo6_onitemchanged" visible="false" anchor="default"/>
  62. <Static id="caption27" class="search_name" position="absolute -8 1 91 23" style="" text="방문간호사 :" visible="false" anchor="default"/>
  63. </Layout>
  64. </Layouts>
  65. </Div>
  66. <Calendar id="ipt_visitdd" class="input_search" position="absolute 107 16 207 35" style="" anchor="default" autoselect="true" onchanged="group5_grp_sea_ipt_visitdd_onchanged"/>
  67. <Calendar id="ipt_visittodd" class="input_search" position="absolute 230 16 330 35" style="" anchor="default" autoselect="true" onchanged="group5_grp_sea_ipt_visittodd_onchanged"/>
  68. <Static id="caption2" position="absolute 211 17 226 37" style="font:,,bold;" text="~"/>
  69. </Layout>
  70. </Layouts>
  71. </Div>
  72. <Static id="caption7" class="tit_2" position="absolute 5 72 129 85" style="" text="방문대장 리스트"/>
  73. <Shape id="line2" class="line_1" linetype="horizontal" position="absolute 0 87 1194 90" style="" anchor="default"/>
  74. <Grid id="grd_visitlist" binddataset="ds_main_grd_visitlist_visitlist" position="absolute 0 91 1194 737" style="align: bottom;" cellsizingtype="col">
  75. <Formats>
  76. <Format id="default">
  77. <Columns>
  78. <Column size="20" band="left"/>
  79. <Column size="30"/>
  80. <Column size="68"/>
  81. <Column size="36"/>
  82. <Column size="40"/>
  83. <Column size="40"/>
  84. <Column size="67"/>
  85. <Column size="80"/>
  86. <Column size="60"/>
  87. <Column size="50"/>
  88. <Column size="0"/>
  89. <Column size="138"/>
  90. <Column size="100"/>
  91. <Column size="54"/>
  92. <Column size="55"/>
  93. <Column size="51"/>
  94. <Column size="57"/>
  95. <Column size="57"/>
  96. <Column size="54"/>
  97. <Column size="72"/>
  98. </Columns>
  99. <Rows>
  100. <Row size="24" band="head"/>
  101. <Row size="24" band="head"/>
  102. <Row size="24"/>
  103. </Rows>
  104. <Band id="head">
  105. <Cell rowspan="2" taborder="undefined"/>
  106. <Cell col="1" rowspan="2" text="No" taborder="undefined"/>
  107. <Cell col="2" rowspan="2" text="방문일" taborder="undefined"/>
  108. <Cell col="3" rowspan="2" text="구분" taborder="undefined"/>
  109. <Cell col="4" rowspan="2" text="소속" taborder="undefined"/>
  110. <Cell col="5" rowspan="2" text="분류" taborder="undefined"/>
  111. <Cell col="6" rowspan="2" text="방문간호사" taborder="undefined"/>
  112. <Cell col="7" rowspan="2" text="등록번호" taborder="undefined"/>
  113. <Cell col="8" rowspan="2" text="환자명" taborder="undefined"/>
  114. <Cell col="9" rowspan="2" text="S/A" taborder="undefined"/>
  115. <Cell col="10" rowspan="2" colspan="2" text="진단명" taborder="undefined"/>
  116. <Cell col="12" rowspan="2" text="진료과" taborder="undefined"/>
  117. <Cell col="13" text="주치의"/>
  118. <Cell col="14" colspan="2" text="당해방문횟수" taborder="undefined"/>
  119. <Cell col="16" rowspan="2" text="방문&#10;시작시간" taborder="undefined"/>
  120. <Cell col="17" rowspan="2" text="방문&#10;종료시간" taborder="undefined"/>
  121. <Cell col="18" rowspan="2" text="이동시간" taborder="undefined"/>
  122. <Cell col="19" rowspan="2" text="총간호시간" taborder="undefined"/>
  123. <Cell col="20" text="No"/>
  124. <Cell col="21" text="방문일"/>
  125. <Cell col="22" text="구분"/>
  126. <Cell col="23" text="소속"/>
  127. <Cell col="24" text="본당명"/>
  128. <Cell col="25" text="본당명"/>
  129. <Cell col="26" text="분류"/>
  130. <Cell col="27" text="방문간호사"/>
  131. <Cell col="28" text="등록번호"/>
  132. <Cell col="29" text="환자명"/>
  133. <Cell col="30" text="S_A"/>
  134. <Cell col="31" text="진단명"/>
  135. <Cell col="32" text="진단명"/>
  136. <Cell col="33" text="진료과"/>
  137. <Cell col="34" text="진료의"/>
  138. <Cell col="35" text="가정"/>
  139. <Cell col="36" text="호스피스"/>
  140. <Cell col="37" text="방문&#10;시작시간"/>
  141. <Cell col="38" text="방문&#10;종료시간"/>
  142. <Cell col="39" text="이동시간"/>
  143. <Cell col="40" text="총간호시간"/>
  144. <Cell row="1" col="13" text="진료의"/>
  145. <Cell row="1" col="14" text="가정"/>
  146. <Cell row="1" col="15" text="호스피스"/>
  147. </Band>
  148. <Band id="body">
  149. <Cell celltype="head" expr="expr:currow + 1"/>
  150. <Cell col="1" text="bind:no"/>
  151. <Cell col="2" text="bind:visitdd"/>
  152. <Cell col="3" displaytype="combo" style="align:center top;padding:5 2 0 1;" text="bind:careflag" wordwrap="word" combodataset="ds_init_careflagcd" combocodecol="cdid" combodatacol="cdnm"/>
  153. <Cell col="4" text="bind:position"/>
  154. <Cell col="5" text="bind:kind"/>
  155. <Cell col="6" text="bind:chrgnursenm"/>
  156. <Cell col="7" text="bind:pid"/>
  157. <Cell col="8" text="bind:pathngnm"/>
  158. <Cell col="9" text="bind:sex"/>
  159. <Cell col="10" text="bind:diagcd"/>
  160. <Cell col="11" style="align:center top;padding:4 2 2 2;" text="bind:diagname" wordwrap="word"/>
  161. <Cell col="12" text="bind:deptnm"/>
  162. <Cell col="13" text="bind:doctornm"/>
  163. <Cell col="14" displaytype="number" style="align:center middle;" text="bind:hvisitcnt"/>
  164. <Cell col="15" displaytype="number" style="align:center middle;" text="bind:cvisitcnt"/>
  165. <Cell col="16" text="bind:visitsttm" mask="expr:utlf_isNull(visitsttm) ? '' : '##:##'" maskchar=" " editautoselect="true"/>
  166. <Cell col="17" text="bind:visitedtm" mask="expr:utlf_isNull(visitsttm) ? '' : '##:##'" maskchar=" " editautoselect="true"/>
  167. <Cell col="18" text="bind:movetm" mask="expr:utlf_isNull(visitsttm) ? '' : '##:##'" maskchar=" " editautoselect="true"/>
  168. <Cell col="19" text="bind:totcaretm" mask="expr:utlf_isNull(visitsttm) ? '' : '##:##'" maskchar=" " editautoselect="true"/>
  169. </Band>
  170. </Format>
  171. </Formats>
  172. </Grid>
  173. <Button id="btn_excel" class="btn2" position="absolute 1140 67 1193 86" style="" text="Excel" onclick="group5_btn_excel_onclick"/>
  174. <Button id="btn_print" class="btn2" position="absolute 1095 67 1137 86" style="" text="출력" onclick="group5_btn_print_onclick"/>
  175. <Button id="button1" class="btn5" position="absolute 990 65 1087 84" style="" text="차량 운행일지" onclick="group5_button1_onclick"/>
  176. </Layout>
  177. </Layouts>
  178. </Div>
  179. </Layout>
  180. </Layouts>
  181. <Objects>
  182. <Dataset id="ds_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  183. <ColumnInfo/>
  184. </Dataset>
  185. <Dataset id="ds_item_church_church" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  186. <ColumnInfo/>
  187. </Dataset>
  188. <Dataset id="ds_item_chargenurse_nurselist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  189. <ColumnInfo>
  190. <Column id="userid" type="STRING" size="256"/>
  191. <Column id="usernm" type="STRING" size="256"/>
  192. </ColumnInfo>
  193. <Rows>
  194. <Row>
  195. <Col id="userid"/>
  196. <Col id="usernm"/>
  197. </Row>
  198. </Rows>
  199. </Dataset>
  200. <Dataset id="ds_init_patflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  201. <ColumnInfo>
  202. <Column id="cdid" type="STRING" size="256"/>
  203. <Column id="cdnm" type="STRING" size="256"/>
  204. </ColumnInfo>
  205. <Rows>
  206. <Row>
  207. <Col id="cdid"/>
  208. </Row>
  209. </Rows>
  210. </Dataset>
  211. <Dataset id="ds_item_chargenurse" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  212. <ColumnInfo/>
  213. </Dataset>
  214. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  215. <ColumnInfo/>
  216. </Dataset>
  217. <Dataset id="ds_init_careflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  218. <ColumnInfo>
  219. <Column id="cdid" type="STRING" size="256"/>
  220. <Column id="cdnm" type="STRING" size="256"/>
  221. </ColumnInfo>
  222. <Rows>
  223. <Row/>
  224. </Rows>
  225. </Dataset>
  226. <Dataset id="ds_init_listset1_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  227. <ColumnInfo>
  228. <Column id="cdid" type="STRING" size="256"/>
  229. <Column id="cdnm" type="STRING" size="256"/>
  230. <Column id="cdid" type="STRING" size="256"/>
  231. <Column id="cdnm" type="STRING" size="256"/>
  232. <Column id="cdid" type="STRING" size="256"/>
  233. <Column id="cdnm" type="STRING" size="256"/>
  234. </ColumnInfo>
  235. <Rows>
  236. <Row>
  237. <Col id="cdid">1</Col>
  238. <Col id="cdnm">병원</Col>
  239. </Row>
  240. <Row>
  241. <Col id="cdid">2</Col>
  242. <Col id="cdnm">본당</Col>
  243. </Row>
  244. <Row>
  245. <Col id="cdid">3</Col>
  246. <Col id="cdnm">재택</Col>
  247. </Row>
  248. </Rows>
  249. </Dataset>
  250. <Dataset id="ds_init_kind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  251. <ColumnInfo>
  252. <Column id="cdid" type="STRING" size="256"/>
  253. <Column id="cdnm" type="STRING" size="256"/>
  254. </ColumnInfo>
  255. <Rows>
  256. <Row>
  257. <Col id="cdid"/>
  258. </Row>
  259. </Rows>
  260. </Dataset>
  261. <Dataset id="ds_item_church" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  262. <ColumnInfo/>
  263. </Dataset>
  264. <Dataset id="ds_init_listset1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  265. <ColumnInfo/>
  266. </Dataset>
  267. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  268. <ColumnInfo/>
  269. </Dataset>
  270. <Dataset id="ds_main_grd_visitlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  271. <ColumnInfo/>
  272. </Dataset>
  273. <Dataset id="ds_item_churchregkind_churchregkindlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  274. <ColumnInfo>
  275. <Column id="cd" type="STRING" size="256"/>
  276. <Column id="nm" type="STRING" size="256"/>
  277. <Column id="cd" type="STRING" size="256"/>
  278. <Column id="nm" type="STRING" size="256"/>
  279. <Column id="cd" type="STRING" size="256"/>
  280. <Column id="nm" type="STRING" size="256"/>
  281. </ColumnInfo>
  282. <Rows>
  283. <Row>
  284. <Col id="cd">1</Col>
  285. <Col id="nm">등록</Col>
  286. </Row>
  287. <Row>
  288. <Col id="cd">2</Col>
  289. <Col id="nm">무료</Col>
  290. </Row>
  291. <Row>
  292. <Col id="cd">3</Col>
  293. <Col id="nm">기타</Col>
  294. </Row>
  295. </Rows>
  296. </Dataset>
  297. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  298. <ColumnInfo>
  299. <Column id="temp" type="STRING" size="256"/>
  300. </ColumnInfo>
  301. <Rows>
  302. <Row>
  303. <Col id="temp"/>
  304. </Row>
  305. </Rows>
  306. </Dataset>
  307. <Dataset id="ds_item_churchregkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  308. <ColumnInfo/>
  309. </Dataset>
  310. <Dataset id="ds_init_listset" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  311. <ColumnInfo/>
  312. </Dataset>
  313. <Dataset id="ds_item_church_church_churchlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  314. <ColumnInfo>
  315. <Column id="churchcd" type="STRING" size="256"/>
  316. <Column id="churchnm" type="STRING" size="256"/>
  317. <Column id="instdispseq" type="STRING" size="256"/>
  318. </ColumnInfo>
  319. <Rows>
  320. <Row>
  321. <Col id="churchcd"/>
  322. <Col id="churchnm"/>
  323. <Col id="instdispseq"/>
  324. </Row>
  325. </Rows>
  326. </Dataset>
  327. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  328. <ColumnInfo>
  329. <Column id="visitdd" type="STRING" size="256"/>
  330. <Column id="chrgnursid" type="STRING" size="256"/>
  331. <Column id="kind" type="STRING" size="256"/>
  332. <Column id="pid" type="STRING" size="256"/>
  333. <Column id="inptdt" type="STRING" size="256"/>
  334. <Column id="churchcd" type="STRING" size="256"/>
  335. <Column id="inputvisitdd" type="STRING" size="256"/>
  336. <Column id="visittodd" type="STRING" size="256"/>
  337. </ColumnInfo>
  338. <Rows>
  339. <Row>
  340. <Col id="visitdd"/>
  341. <Col id="chrgnursid">%</Col>
  342. <Col id="kind"/>
  343. <Col id="pid"/>
  344. <Col id="inptdt"/>
  345. <Col id="churchcd">-</Col>
  346. <Col id="inputvisitdd"/>
  347. <Col id="visittodd"/>
  348. </Row>
  349. </Rows>
  350. </Dataset>
  351. <Dataset id="ds_init_listset_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  352. <ColumnInfo>
  353. <Column id="cdid" type="STRING" size="256"/>
  354. <Column id="cdnm" type="STRING" size="256"/>
  355. </ColumnInfo>
  356. </Dataset>
  357. <Dataset id="ds_main_grd_visitlist_visitlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  358. <ColumnInfo>
  359. <Column id="no" type="STRING" size="256"/>
  360. <Column id="visitdd" type="STRING" size="256"/>
  361. <Column id="careflag" type="STRING" size="256"/>
  362. <Column id="position" type="STRING" size="256"/>
  363. <Column id="churchcd" type="STRING" size="256"/>
  364. <Column id="churchnm" type="STRING" size="256"/>
  365. <Column id="kind" type="STRING" size="256"/>
  366. <Column id="chrgnursenm" type="STRING" size="256"/>
  367. <Column id="pid" type="STRING" size="256"/>
  368. <Column id="pathngnm" type="STRING" size="256"/>
  369. <Column id="sex" type="STRING" size="256"/>
  370. <Column id="diagcd" type="STRING" size="256"/>
  371. <Column id="diagname" type="STRING" size="256"/>
  372. <Column id="deptnm" type="STRING" size="256"/>
  373. <Column id="doctornm" type="STRING" size="256"/>
  374. <Column id="hvisitcnt" type="STRING" size="256"/>
  375. <Column id="vvistcnt" type="STRING" size="256"/>
  376. <Column id="visitsttm" type="STRING" size="256"/>
  377. <Column id="visitedtm" type="STRING" size="256"/>
  378. <Column id="movetm" type="STRING" size="256"/>
  379. <Column id="totcaretm" type="STRING" size="256"/>
  380. </ColumnInfo>
  381. <Rows>
  382. <Row>
  383. <Col id="no"/>
  384. <Col id="visitdd"/>
  385. <Col id="careflag"/>
  386. <Col id="position"/>
  387. <Col id="churchcd"/>
  388. <Col id="churchnm"/>
  389. <Col id="kind"/>
  390. <Col id="chrgnursenm"/>
  391. <Col id="pid"/>
  392. <Col id="pathngnm"/>
  393. <Col id="sex"/>
  394. <Col id="diagcd"/>
  395. <Col id="diagname"/>
  396. <Col id="deptnm"/>
  397. <Col id="doctornm"/>
  398. <Col id="hvisitcnt"/>
  399. <Col id="vvistcnt"/>
  400. <Col id="visitsttm"/>
  401. <Col id="visitedtm"/>
  402. <Col id="movetm"/>
  403. <Col id="totcaretm"/>
  404. </Row>
  405. </Rows>
  406. </Dataset>
  407. <Dataset id="ds_code_codeinfo_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  408. <Dataset id="ds_careflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  409. <ColumnInfo>
  410. <Column id="cdid" type="STRING" size="256"/>
  411. <Column id="cdnm" type="STRING" size="256"/>
  412. </ColumnInfo>
  413. <Rows>
  414. <Row>
  415. <Col id="cdid">H</Col>
  416. <Col id="cdnm">가정</Col>
  417. </Row>
  418. <Row>
  419. <Col id="cdid">C</Col>
  420. <Col id="cdnm">호스피스</Col>
  421. </Row>
  422. </Rows>
  423. </Dataset>
  424. </Objects>
  425. <Bind>
  426. <BindItem id="item0" compid="group5.grp_sea.rdo_kind" propid="value" datasetid="ds_send" columnid="kind"/>
  427. <BindItem id="item1" compid="group5.grp_sea.grp_kindchurch.combo5" propid="value" datasetid="ds_send" columnid="churchcd"/>
  428. <BindItem id="item2" compid="group5.grp_sea.grp_kindchurch.combo7" propid="value" datasetid="ds_send" columnid="chrgnursid"/>
  429. <BindItem id="item3" compid="group5.grp_sea.grp_kindchurch.checkbox1" propid="value" datasetid="ds_item_churchregkind" columnid="churchregkindlist"/>
  430. <BindItem id="item4" compid="group5.grp_sea.grp_kindhosp.combo6" propid="value" datasetid="ds_send" columnid="chrgnursid"/>
  431. <BindItem id="item5" compid="group5.grp_sea.ipt_visitdd" propid="value" datasetid="ds_send" columnid="visitdd"/>
  432. <BindItem id="item6" compid="group5.grp_sea.ipt_visittodd" propid="value" datasetid="ds_send" columnid="visittodd"/>
  433. </Bind>
  434. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  435. * System Name :
  436. * Job Name :
  437. * Creator :
  438. * Make Date : 2015-11-13
  439. * Description :
  440. *---------------------------------------------------------------------------------------
  441. * Modify Date Modifier Modify Description
  442. *---------------------------------------------------------------------------------------
  443. * 2015-11-13 Live Converter TF->XP
  444. *
  445. *---------------------------------------------------------------------------------------
  446. ****************************************************************************************/
  447. include "com_commonxp::comm_main.xjs";
  448. include "emr_homecarexp::SMMNF00100.xjs";
  449. include "com_basiccodexp::ZBC001.xjs";
  450. //스크립트 시작 ***
  451. //전체에서 event와 src를 제외한 script 를 모두포함.
  452. var searchListFlag;
  453. function SMMNF01800_onload(obj:Form, e:LoadEventInfo) {
  454. frmf_initForm(obj);
  455. //grdf_initGrid(grd_XXX);
  456. //grdf_setGridSort(grd_XXX);
  457. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  458. // Default 병원선택
  459. fInitHomeCareRdo("group5.grp_sea.rdo_kind");
  460. group5.grp_sea.rdo_kind.value = 1;
  461. ds_send.setColumn( 0, "visitdd", utlf_getCurrentDate());
  462. ds_send.setColumn( 0, "visittodd", utlf_getCurrentDate());
  463. ds_send.setColumn( 0, "kind", group5.grp_sea.rdo_kind.value);
  464. //model.refresh();
  465. // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
  466. // submit("TRMNF00106");
  467. var oParam = {};
  468. oParam.id = "TRMNF00106";
  469. oParam.service = "homecareapp.HomeCare";
  470. oParam.method = "reqGetChargeNurseList";
  471. oParam.inds = "req=ds_send";
  472. oParam.outds = "ds_item_chargenurse_nurselist=nurselist";
  473. oParam.async = false;
  474. //oParam.callback = "cf_TRMNF00106";
  475. tranf_submit(oParam);
  476. // 공통코드 목록 가져오기
  477. var arrParam = [ {dsNm: "ds_init_careflagcd", cdGrpId: "M0524" }
  478. ,{dsNm: "ds_init_patflag", cdGrpId: "M0347" }
  479. ,{dsNm: "ds_init_kind", cdGrpId: "M0348" } ];
  480. appf_getCodeList(arrParam );
  481. var updtdata;
  482. //updtdata = getGridUpdateData(group5.grd_visitlist);
  483. ds_main_grd_visitlist_visitlist.clearData();
  484. //group5.grd_visitlist.rebuild();
  485. // if ( updtdata != "" ) {
  486. // var ret = sysf_messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  487. // if (ret != 6) { // not OK
  488. // return;
  489. // }
  490. // }
  491. // 방문대장 리스트 조회
  492. // submit("TRMNF01800");
  493. var oParam = {};
  494. oParam.id = "TRMNF01800";
  495. oParam.service = "homecareapp.HomeCare";
  496. oParam.method = "reqGetDailyVisitList";
  497. oParam.inds = "req=ds_send";
  498. oParam.outds = "ds_main_grd_visitlist_visitlist=visitlist";
  499. oParam.async = false;
  500. //oParam.callback = "cf_TRMNF01800";
  501. tranf_submit(oParam);
  502. }
  503. function group5_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  504. ds_send.setColumn( 0, "visitdd", group5.grp_sea.ipt_visitdd.value);
  505. ds_send.setColumn( 0, "visittodd", group5.grp_sea.ipt_visittodd.value);
  506. ds_send.setColumn( 0, "kind", group5.grp_sea.rdo_kind.value);
  507. //model.refresh();
  508. if(ds_send.getColumn(0, "visitdd") > ds_send.getColumn(0, "visittodd"))
  509. {
  510. sysf_messageBox("시작일자는 종료일자 이후의 일자로 입력","E001");
  511. group5.grp_sea.ipt_visitdd.setFocus();
  512. return ;
  513. }
  514. // var updtdata;
  515. //
  516. // updtdata = getGridUpdateData(group5.grd_visitlist);
  517. // ds_grd_visitlist.clearData();
  518. // group5.grd_visitlist.rebuild();
  519. //
  520. // if ( updtdata != "" ) {
  521. // var ret = sysf_messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
  522. // if (ret != 6) { // not OK
  523. // return;
  524. // }
  525. // }
  526. // 방문대장 리스트 조회
  527. // submit("TRMNF01800");
  528. var oParam = {};
  529. oParam.id = "TRMNF01800";
  530. oParam.service = "homecareapp.HomeCare";
  531. oParam.method = "reqGetDailyVisitList";
  532. oParam.inds = "req=ds_send";
  533. oParam.outds = "ds_main_grd_visitlist_visitlist=visitlist";
  534. oParam.async = false;
  535. // oParam.callback = "cf_TRMNF01800";
  536. tranf_submit(oParam);
  537. }
  538. function group5_grp_sea_rdo_kind_onitemchanged(obj:Radio, e:ItemChangeEventInfo) {
  539. ds_main_grd_visitlist.clearData();
  540. //model.refresh();
  541. if (group5.grp_sea.rdo_kind.value == 1) // 병원
  542. {
  543. group5.grp_sea.grp_kindchurch.visible = false;
  544. group5.grp_sea.grp_kindhosp.visible = true;
  545. }
  546. else if (group5.grp_sea.rdo_kind.value == 2) // 본당
  547. {
  548. group5.grp_sea.grp_kindhosp.visible = false;
  549. group5.grp_sea.grp_kindchurch.visible = true;
  550. //본당리스트 조회셋팅 추가_20091030_SMY
  551. ds_item_church.clearData();
  552. dsf_makeValue( ds_item_church, "churchlist", "string", "" );
  553. ds_send.setColumn( 0, "churchcd", "-");
  554. // 본당 리스트 조회
  555. // submit("TRMNF00130");
  556. var oParam = {};
  557. oParam.id = "TRMNF00130";
  558. oParam.service = "homecareapp.HomeCare";
  559. oParam.method = "reqGetChurchList";
  560. oParam.inds = "req=ds_";
  561. oParam.outds = "ds_=churchlist";
  562. oParam.async = false;
  563. // oParam.callback = "cf_TRMNF00130";
  564. tranf_submit(oParam);
  565. }
  566. else // 재택
  567. {
  568. group5.grp_sea.grp_kindchurch.visible = false;
  569. group5.grp_sea.grp_kindhosp.visible = true;
  570. }
  571. ds_send.setColumn( 0, "kind", group5.grp_sea.rdo_kind.value);
  572. //model.refresh();
  573. // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
  574. // submit("TRMNF00106");
  575. var oParam = {};
  576. oParam.id = "TRMNF00106";
  577. oParam.service = "homecareapp.HomeCare";
  578. oParam.method = "reqGetChargeNurseList";
  579. oParam.inds = "req=ds_";
  580. oParam.outds = "ds_=nurselist";
  581. oParam.async = false;
  582. // oParam.callback = "cf_TRMNF00106";
  583. tranf_submit(oParam);
  584. // 방문대장 리스트 조회
  585. // submit("TRMNF01800");
  586. var oParam = {};
  587. oParam.id = "TRMNF01800";
  588. oParam.service = "homecareapp.HomeCare";
  589. oParam.method = "reqGetDailyVisitList";
  590. oParam.inds = "req=ds_";
  591. oParam.outds = "ds_=visitlist";
  592. oParam.async = false;
  593. //oParam.callback = "cf_TRMNF01800";
  594. tranf_submit(oParam);
  595. group5.grp_sea.btn_search.dispatch("DOMActivate") ;
  596. }
  597. function group5_grp_sea_rdo_kind_onkillfocus(obj:Radio, e:KillFocusEventInfo) {
  598. if (group5.grp_sea.rdo_kind.value == 1) // 병원
  599. {
  600. group5.grp_sea.grp_kindchurch.visible = false;
  601. group5.grp_sea.grp_kindhosp.visible = true;
  602. }
  603. else if (group5.grp_sea.rdo_kind.value == 2) // 본당
  604. {
  605. group5.grp_sea.grp_kindhosp.visible = false;
  606. group5.grp_sea.grp_kindchurch.visible = true;
  607. }
  608. else // 재택
  609. {
  610. group5.grp_sea.grp_kindchurch.visible = false;
  611. group5.grp_sea.grp_kindhosp.visible = true;
  612. }
  613. ds_send.setColumn( 0, "kind", group5.grp_sea.rdo_kind.value);
  614. //model.refresh();
  615. }
  616. function group5_grp_sea_grp_kindchurch_combo5_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  617. // SEND DATA 변경
  618. ds_send.setColumn( 0, "churchcd", group5.grp_sea.grp_kindchurch.combo5.value);
  619. //model.refresh();
  620. // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
  621. // submit("TRMNF00106");
  622. var oParam = {};
  623. oParam.id = "TRMNF00106";
  624. oParam.service = "homecareapp.HomeCare";
  625. oParam.method = "reqGetChargeNurseList";
  626. oParam.inds = "req=ds_send";
  627. oParam.outds = "ds_send=ds_item_chargenurse_nurselist";
  628. oParam.async = false;
  629. //oParam.callback = "cf_TRMNF00106";
  630. tranf_submit(oParam);
  631. }
  632. function group5_grp_sea_grp_kindchurch_combo7_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  633. // SEND DATA 변경
  634. ds_send.setColumn( 0, "chrgnursid", group5.grp_sea.grp_kindchurch.combo7.value);
  635. //model.refresh();
  636. // 방문대장 리스트 조회
  637. // submit("TRMNF01800");
  638. var oParam = {};
  639. oParam.id = "TRMNF01800";
  640. oParam.service = "homecareapp.HomeCare";
  641. oParam.method = "reqGetDailyVisitList";
  642. oParam.inds = "req=ds_send";
  643. oParam.outds = "ds_=ds_main_grd_visitlist_visitlist";
  644. oParam.async = false;
  645. //oParam.callback = "cf_TRMNF01800";
  646. tranf_submit(oParam);
  647. /*
  648. function cf_TRMNF01800(sSvcId, nErrorCode, sErrorMsg) {
  649. if(nErrorCode < 0) return;
  650. }
  651. function cf_TRMNF01800(sSvcId, nErrorCode, sErrorMsg) {
  652. arErrorCode.push(sSvcId, nErrorCode);
  653. }
  654. arErrorCode.pop("TRMNF01800") > -1
  655. arErrorCode.pop("TRMNF01800") < 0
  656. */
  657. }
  658. function group5_grp_sea_grp_kindhosp_combo6_onitemchanged(obj:Combo, e:ItemChangeEventInfo) {
  659. // SEND DATA 변경
  660. ds_send.setColumn( 0, "chrgnursid", group5.grp_sea.grp_kindhosp.combo6.value);
  661. //model.refresh();
  662. // 방문대장 리스트 조회
  663. // submit("TRMNF01800");
  664. var oParam = {};
  665. oParam.id = "TRMNF01800";
  666. oParam.service = "homecareapp.HomeCare";
  667. oParam.method = "reqGetDailyVisitList";
  668. oParam.inds = "req=ds_send";
  669. oParam.outds = "ds_=visitlist";
  670. oParam.async = false;
  671. //oParam.callback = "cf_TRMNF01800";
  672. tranf_submit(oParam);
  673. }
  674. // function group5_grp_sea_ipt_visitdd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
  675. //
  676. // }
  677. //
  678. // function group5_grp_sea_ipt_visittodd_onkillfocus(obj:Calendar, e:KillFocusEventInfo) {
  679. //
  680. // group5.grp_sea.btn_search.dispatch("DOMActivate") ;
  681. //
  682. // }
  683. function group5_btn_excel_onclick(obj:Button, e:ClickEventInfo) {
  684. grdf_exportExcel(group5.grd_visitlist, "일일방문대장", "sheet1", false);
  685. }
  686. function group5_btn_print_onclick(obj:Button, e:ClickEventInfo) {
  687. var objDOM = rptf_createDOM();
  688. var objParam = new Object();
  689. rptf_setNodeListToDOM(objDOM, "/root/main/grd_visitlist/visitlist" , ds_main_grd_visitlist_visitlist);
  690. rptf_setValueToDOM(objDOM, "/root/send/visitdd", group5.grp_sea.ipt_visitdd.value + ' ~ ' +group5.grp_sea.ipt_visitdd.value);
  691. objParam.xml_data_XML1 = objDOM.documentElement.source;
  692. var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
  693. rptf_exeReportPreview30(["RPMNF01800"],[objParam], option);
  694. }
  695. function group5_button1_onclick(obj:Button, e:ClickEventInfo) {
  696. frmf_modal("SMMNF00600", "SMMNF00600", "", "", "", "", "", "", "", "", "", "", "M");
  697. }
  698. function group5_grp_sea_ipt_visitdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  699. {
  700. group5_grp_sea_btn_search_onclick();
  701. }
  702. function group5_grp_sea_ipt_visittodd_onchanged(obj:Calendar, e:ChangeEventInfo)
  703. {
  704. group5_grp_sea_btn_search_onclick();
  705. }
  706. ]]></Script>
  707. </Form>
  708. </FDL>