SMMNW13900_간호평가리스트.xfdl 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNW13900" position="absolute 0 0 810 725" titletext="간호평가리스트(낙상/욕창/통증)" oninit="SMMNW13900_oninit" onload="SMMNW13900_onload" ontimer="SMMNW13900_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 15 0 795 25" id="group1">
  8. <Layouts>
  9. <Layout>
  10. <Static text="간호평가리스트(낙상/욕창/통증)" position="absolute 0 0 229 25" id="caption6" class="tit_1"/>
  11. </Layout>
  12. </Layouts>
  13. </Div>
  14. <Div position="absolute 15 25 795 60" align="align:center top;" id="group2">
  15. <Layouts>
  16. <Layout>
  17. <Shape position="absolute 0 0 780 35" id="roundrect1" class="roundrect_search" type="roundrectangle"/>
  18. <Shape position="absolute 697 7 703 29" linetype="vertical" id="line1" class="line_4"/>
  19. <Button position="absolute 710 7 766 29" id="btn_search" class="btn1" text="조회" onclick="group2_btn_search_onclick"/>
  20. <Combo position="absolute 56 7 195 26" id="combo1" class="combo_s_essential" innerdataset="@ds_init_ward" datacolumn="wardnm" codecolumn="wardcd"/>
  21. <Static text="병동 :" position="absolute 5 9 55 26" id="caption8" class="search_name"/>
  22. <Combo position="absolute 260 8 350 27" id="combo2" class="combo_s_essential" codecolumn="codecolumn" datacolumn="datacolumn">
  23. <Dataset id="innerdataset">
  24. <ColumnInfo>
  25. <Column id="codecolumn"/>
  26. <Column id="datacolumn"/>
  27. </ColumnInfo>
  28. <Rows>
  29. <Row>
  30. <Col id="codecolumn">1</Col>
  31. <Col id="datacolumn">전체</Col>
  32. </Row>
  33. <Row>
  34. <Col id="codecolumn">2</Col>
  35. <Col id="datacolumn">낙상</Col>
  36. </Row>
  37. <Row>
  38. <Col id="codecolumn">3</Col>
  39. <Col id="datacolumn">욕창</Col>
  40. </Row>
  41. </Rows>
  42. </Dataset>
  43. </Combo>
  44. </Layout>
  45. </Layouts>
  46. </Div>
  47. <Shape position="absolute 15 66 800 72" linetype="horizontal" id="line2" class="line_10"/>
  48. <Calendar position="absolute 496 33 584 52" id="inp_medfromdd" class="input_search" autoselect="true"/>
  49. <Calendar position="absolute 606 33 694 52" id="inp_medtodd" class="input_search" autoselect="true"/>
  50. <Static text="조회일시 :" position="absolute 415 36 491 53" id="caption5" class="search_name"/>
  51. <Static text="~" position="absolute 591 35 606 50" id="caption7"/>
  52. <Grid position="absolute 15 71 800 721" id="grd_plist" scrollbars="fixedvert" binddataset="ds_main_plistinfo_plist" cellsizingtype="both" autosizingtype="row" extendsizetype="row" selecttype="multirow">
  53. <Formats>
  54. <Format id="default">
  55. <Columns>
  56. <Column size="70"/>
  57. <Column size="50"/>
  58. <Column size="60"/>
  59. <Column size="50"/>
  60. <Column size="30"/>
  61. <Column size="30"/>
  62. <Column size="70"/>
  63. <Column size="100"/>
  64. <Column size="40"/>
  65. <Column size="40"/>
  66. <Column size="70"/>
  67. <Column size="50"/>
  68. <Column size="120"/>
  69. <Column size="100"/>
  70. <Column size="0"/>
  71. </Columns>
  72. <Rows>
  73. <Row size="24" band="head"/>
  74. <Row size="24"/>
  75. </Rows>
  76. <Band id="head">
  77. <Cell text="병동"/>
  78. <Cell col="1" text="병실"/>
  79. <Cell col="2" text="환자번호"/>
  80. <Cell col="3" text="이름"/>
  81. <Cell col="4" text="성별"/>
  82. <Cell col="5" text="나이"/>
  83. <Cell col="6" text="입원일"/>
  84. <Cell col="7" text="진료과"/>
  85. <Cell col="8" text="구분"/>
  86. <Cell col="9" text="총점"/>
  87. <Cell col="10" text="분류"/>
  88. <Cell col="11" text="기록자"/>
  89. <Cell col="12" text="기록시간"/>
  90. <Cell col="13"/>
  91. <Cell col="14"/>
  92. </Band>
  93. <Band id="body">
  94. <Cell style="align:center middle;padding:2 2 2 2;" text="bind:wardnm"/>
  95. <Cell col="1" style="align:left middle;" text="bind:roomnm"/>
  96. <Cell col="2" style="align:left middle;" text="bind:pid"/>
  97. <Cell col="3" style="align:left middle;" text="bind:pname"/>
  98. <Cell col="4" style="align:center middle;" text="bind:psex"/>
  99. <Cell col="5" style="align:left middle;" text="bind:page"/>
  100. <Cell col="6" style="align:left middle;" text="bind:indd"/>
  101. <Cell col="7" style="align:center middle;padding:1 2 1 2;" text="bind:deptnm" wordwrap="word" autosizerow="limitmin"/>
  102. <Cell col="8" style="align:left middle;" text="bind:gbn"/>
  103. <Cell col="9" style="align:center middle;" text="bind:totalcost" mask="expr:utlf_isNull(totalcost) ? &quot;&quot; : totalcost.toString().length == 12 ? &quot;####/##/## ##:##&quot; : &quot;&quot;"/>
  104. <Cell col="10" style="align:left middle;" text="bind:grade"/>
  105. <Cell col="11" style="padding:2 2 2 2;" text="bind:recorder" wordwrap="word" autosizerow="limitmin"/>
  106. <Cell col="12" style="align:left middle;padding:2 2 2 5;" text="bind:recdate" mask="####/##/## ##:##"/>
  107. <Cell col="13" style="align:center middle;" text="bind:hitcnt"/>
  108. <Cell col="14" text="bind:delyn"/>
  109. </Band>
  110. </Format>
  111. </Formats>
  112. </Grid>
  113. <Static text="구분 :" position="absolute 225 36 270 53" id="caption1" class="search_name"/>
  114. </Layout>
  115. </Layouts>
  116. <Objects>
  117. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  118. <ColumnInfo>
  119. <Column id="todd" type="STRING" size="256"/>
  120. <Column id="fromdd" type="STRING" size="256"/>
  121. <Column id="wardcd" type="STRING" size="256"/>
  122. <Column id="gbn" type="STRING" size="256"/>
  123. </ColumnInfo>
  124. <Rows>
  125. <Row>
  126. <Col id="todd"/>
  127. <Col id="fromdd"/>
  128. <Col id="wardcd"/>
  129. <Col id="gbn">1</Col>
  130. </Row>
  131. </Rows>
  132. </Dataset>
  133. <Dataset id="ds_main_plistinfo_plist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  134. <ColumnInfo>
  135. <Column id="wardnm" type="STRING" size="256"/>
  136. <Column id="roomnm" type="STRING" size="256"/>
  137. <Column id="pid" type="STRING" size="256"/>
  138. <Column id="pname" type="STRING" size="256"/>
  139. <Column id="psex" type="STRING" size="256"/>
  140. <Column id="page" type="STRING" size="256"/>
  141. <Column id="indd" type="STRING" size="256"/>
  142. <Column id="deptnm" type="STRING" size="256"/>
  143. <Column id="gbn" type="STRING" size="256"/>
  144. <Column id="totalcost" type="STRING" size="256"/>
  145. <Column id="grade" type="STRING" size="256"/>
  146. <Column id="recorder" type="STRING" size="256"/>
  147. <Column id="recdate" type="STRING" size="256"/>
  148. </ColumnInfo>
  149. <Rows>
  150. <Row>
  151. <Col id="wardnm"/>
  152. <Col id="roomnm"/>
  153. <Col id="pid"/>
  154. <Col id="pname"/>
  155. <Col id="psex"/>
  156. <Col id="page"/>
  157. <Col id="indd"/>
  158. <Col id="deptnm"/>
  159. <Col id="gbn"/>
  160. <Col id="totalcost"/>
  161. <Col id="grade"/>
  162. <Col id="recorder"/>
  163. <Col id="recdate"/>
  164. </Row>
  165. </Rows>
  166. </Dataset>
  167. <Dataset id="ds_main_iteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  168. <ColumnInfo>
  169. <Column id="wardnm" type="STRING" size="256"/>
  170. <Column id="roomnm" type="STRING" size="256"/>
  171. <Column id="pid" type="STRING" size="256"/>
  172. <Column id="pname" type="STRING" size="256"/>
  173. <Column id="psex" type="STRING" size="256"/>
  174. <Column id="page" type="STRING" size="256"/>
  175. <Column id="indd" type="STRING" size="256"/>
  176. <Column id="deptnm" type="STRING" size="256"/>
  177. <Column id="gbn" type="STRING" size="256"/>
  178. <Column id="totalcost" type="STRING" size="256"/>
  179. <Column id="grade" type="STRING" size="256"/>
  180. <Column id="recorder" type="STRING" size="256"/>
  181. <Column id="recdate" type="STRING" size="256"/>
  182. </ColumnInfo>
  183. <Rows>
  184. <Row>
  185. <Col id="wardnm"/>
  186. <Col id="roomnm"/>
  187. <Col id="pid"/>
  188. <Col id="pname"/>
  189. <Col id="psex"/>
  190. <Col id="page"/>
  191. <Col id="indd"/>
  192. <Col id="deptnm"/>
  193. <Col id="gbn"/>
  194. <Col id="totalcost"/>
  195. <Col id="grade"/>
  196. <Col id="recorder"/>
  197. <Col id="recdate"/>
  198. </Row>
  199. </Rows>
  200. </Dataset>
  201. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  202. <ColumnInfo>
  203. <Column id="fromdd" type="STRING" size="256"/>
  204. <Column id="todd" type="STRING" size="256"/>
  205. <Column id="wardcd" type="STRING" size="256"/>
  206. <Column id="gbn" type="STRING" size="256"/>
  207. </ColumnInfo>
  208. <Rows>
  209. <Row>
  210. <Col id="fromdd"/>
  211. <Col id="todd"/>
  212. <Col id="wardcd"/>
  213. <Col id="gbn"/>
  214. </Row>
  215. </Rows>
  216. </Dataset>
  217. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  218. <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  219. <ColumnInfo>
  220. <Column id="wardnm" type="STRING" size="256"/>
  221. <Column id="wardcd" type="STRING" size="256"/>
  222. </ColumnInfo>
  223. <Rows>
  224. <Row>
  225. <Col id="wardnm"/>
  226. <Col id="wardcd"/>
  227. </Row>
  228. </Rows>
  229. </Dataset>
  230. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  231. <ColumnInfo>
  232. <Column id="gbn" type="STRING" size="256"/>
  233. </ColumnInfo>
  234. <Rows>
  235. <Row/>
  236. </Rows>
  237. </Dataset>
  238. <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  239. <ColumnInfo>
  240. <Column id="deptcd" type="STRING" size="256"/>
  241. <Column id="depthngnm" type="STRING" size="256"/>
  242. </ColumnInfo>
  243. <Rows>
  244. <Row/>
  245. </Rows>
  246. </Dataset>
  247. <Dataset id="ds_init_settingrn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  248. <ColumnInfo>
  249. <Column id="settingrnid" type="STRING" size="256"/>
  250. <Column id="settingrnnm" type="STRING" size="256"/>
  251. </ColumnInfo>
  252. <Rows>
  253. <Row/>
  254. </Rows>
  255. </Dataset>
  256. </Objects>
  257. <Bind>
  258. <BindItem id="item0" compid="group2.combo1" propid="value" datasetid="ds_main_cond" columnid="wardcd"/>
  259. <BindItem id="item1" compid="group2.combo2" propid="value" datasetid="ds_main_cond" columnid="gbn"/>
  260. <BindItem id="item2" compid="inp_medfromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  261. <BindItem id="item3" compid="inp_medtodd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  262. </Bind>
  263. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  264. * System Name :
  265. * Job Name :
  266. * Creator :
  267. * Make Date : 2015-11-13
  268. * Description :
  269. *---------------------------------------------------------------------------------------
  270. * Modify Date Modifier Modify Description
  271. *---------------------------------------------------------------------------------------
  272. * 2015-11-13 Live Converter TF->XP
  273. *
  274. *---------------------------------------------------------------------------------------
  275. ****************************************************************************************/
  276. include "com_commonxp::comm_main.xjs";
  277. /*SMMNW13900_oninit*/
  278. function SMMNW13900_oninit(obj:Form, e:InitEventInfo)
  279. {
  280. frmf_initForm(obj);
  281. }
  282. /*SMMNW13900_onload*/
  283. function SMMNW13900_onload(obj:Form, e:LoadEventInfo)
  284. {
  285. ds_main_cond.setColumn(0, "wardcd", sysf_getUserInfo("dutplcecd"));
  286. ds_send.clearData();
  287. ds_send.addRow();
  288. dsf_makeValue(ds_send,"wardcd","string", ds_main_cond.getColumn(0, "wardcd"));
  289. var oParam = {};
  290. oParam.id = "TRMNW00101";
  291. oParam.service = "wardcareapp.WardCareMngt";
  292. oParam.method = "reqGetWMInitData";
  293. oParam.inds = "reqcond=ds_send";
  294. oParam.outds = "ds_init_ward=ward ds_init_dept=dept ds_=settingrn";
  295. oParam.async = false;
  296. tranf_submit(oParam);
  297. fInitialize() ;
  298. }
  299. /*group2_btn_search_onclick*/
  300. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  301. {
  302. fgetPyungPatList();
  303. }
  304. /*
  305. 간호평가리스트 (SMMNW13900.xrw - JScript )
  306. - Version :
  307. 1) : Ver.1.00.01
  308. */
  309. /**
  310. * @group :
  311. * @ver : 2011.06.10
  312. * @by : 김지선
  313. * @---------------------------------------------------
  314. * @type : function
  315. * @access : public
  316. * @desc : 평가대상자 리스트 조회
  317. * @param :
  318. * @return :
  319. * @---------------------------------------------------
  320. */
  321. function fInitialize() {
  322. //조회날짜 받아옴
  323. var fromdd = utlf_getCurrentDate();
  324. var todd = utlf_getCurrentDate();
  325. var wardcd = '3050160000'; //default 706병동
  326. var gbn = '1'; //default 706병동
  327. //한달을 기준으로 한달안에 내용을 보여줌
  328. dsf_makeValue(ds_main_cond,"fromdd" , "string", fromdd);
  329. dsf_makeValue(ds_main_cond,"todd" , "string", todd);
  330. dsf_makeValue(ds_main_cond,"wardcd" , "string", wardcd);
  331. dsf_makeValue(ds_main_cond,"gbn" , "string", gbn);
  332. // 게시판 리스트를 조회
  333. //fgetPyungPatList();
  334. this.setTimer(0, 100);
  335. }
  336. function fgetPyungPatList(){
  337. // 조회 조건을 셋팅 한다.
  338. dsf_makeValue(ds_send,"fromdd" , "string", ds_main_cond.getColumn(0, "fromdd"));
  339. dsf_makeValue(ds_send,"todd" , "string", ds_main_cond.getColumn(0, "todd"));
  340. dsf_makeValue(ds_send,"wardcd" , "string", ds_main_cond.getColumn(0, "wardcd"));
  341. dsf_makeValue(ds_send,"gbn" , "string", ds_main_cond.getColumn(0, "gbn"));
  342. ds_main_plistinfo_plist.clearData();
  343. ds_main_iteminfo.clearData();
  344. ds_main_iteminfo.addRow();
  345. // 게시판 리스트를 조회
  346. var oParam = {};
  347. oParam.id = "TRMNW13902";
  348. oParam.service = "carerecapp.AsesRec";
  349. oParam.method = "reqGetPyungList";
  350. oParam.inds = "req=ds_send";
  351. oParam.outds = "ds_main_plistinfo_plist=plist";
  352. oParam.async = false;
  353. tranf_submit(oParam);
  354. }
  355. function SMMNW13900_ontimer(obj:Form, e:TimerEventInfo)
  356. {
  357. if( e.timerid == 0 ){
  358. this.killTimer(0);
  359. fgetPyungPatList();
  360. }
  361. }
  362. ]]></Script>
  363. </Form>
  364. </FDL>