SMMNW14310_환자경험평가.xfdl 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNW14310" position="absolute 0 0 1211 768" titletext="환자경험평가" oninit="SMMNW14310_oninit" onload="SMMNW14310_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 18 491 69" align="align:center top;" id="grp_sea" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Static text="병동 :" position="absolute 11 8 91 25" id="caption2" class="search_name"/>
  11. <Button position="absolute 425 15 481 37" id="button1" class="btn1" taborder="4" text="조회" onclick="grp_sea_button1_onclick"/>
  12. <Shape position="absolute 406 15 412 37" linetype="vertical" id="line13" class="line_4"/>
  13. <Combo position="absolute 89 7 194 26" id="cmb_wardcd" class="combo_essential" enable="true" innerdataset="@ds_init_ward" datacolumn="wardnm" codecolumn="wardcd" onitemchanged="grp_sea_cmb_wardcd_onitemchanged"/>
  14. <Static text="업무일자 :" position="absolute 10 30 85 47" id="caption9" class="search_name"/>
  15. <Calendar position="absolute 89 29 194 48" id="ipt_fromdd" class="input_essential" onchanged="grp_sea_ipt_orddd_onchanged" autoselect="true" dateformat="yyyy-MM-dd" value="null"/>
  16. <Calendar id="ipt_todd" taborder="5" autoselect="true" dateformat="yyyy-MM-dd" onchanged="grp_sea_ipt_orddd_onchanged" class="input_essential" position="absolute 217 29 322 48"/>
  17. <Static id="caption4" text="~" position="absolute 197 36 217 43" style="align:center middle;" align="align:center middle;"/>
  18. </Layout>
  19. </Layouts>
  20. </Div>
  21. <Static text="환자리스트" position="absolute 0 79 97 95" id="caption1" class="tit_2"/>
  22. <Shape position="absolute 0 95 491 101" linetype="horizontal" id="line1" class="line_10"/>
  23. <Div position="absolute 495 32 1200 764" id="ivw_loader" url="emr_medirecxp::SSMMR01100_서식로더.xfdl" anchor="all"/>
  24. <Button position="absolute 1136 4 1200 23" id="btn_signsave" class="btn5" text="인증저장" onclick="btn_signsave_onclick" anchor="top right"/>
  25. <Button position="absolute 1068 4 1132 23" id="button2" class="btn2" text="기록삭제" onclick="button2_onclick" anchor="top right"/>
  26. <Shape position="absolute 495 24 1200 30" linetype="horizontal" id="line2" class="line_10" anchor="left top right"/>
  27. <Static text="기록작성" position="absolute 495 8 606 24" id="caption7" class="tit_2"/>
  28. <Static text="환자경험평가" position="absolute 0 0 163 20" id="cpt_title" class="tit_1"/>
  29. <Edit id="opt_patinfo" taborder="1" readonly="true" class="edt_transbg" position="absolute 569 6 829 24" anchor="left top" style="font:Dotum,9,bold;"/>
  30. <Button id="btn_ininfo" taborder="2" text="입원정보" onclick="group3_btn_ininfo_onclick" class="btn2" position="absolute 270 75 334 94"/>
  31. <Button id="btn_dschinfo" taborder="3" text="퇴원정보" onclick="group3_btn_dschinfo_onclick" class="btn2" position="absolute 337 75 401 94"/>
  32. <Button id="btn_record" taborder="4" text="통합기록조회" onclick="group3_btn_record_onclick" class="btn2" position="absolute 404 75 490 94"/>
  33. <Button id="btn_excel" taborder="6" text="엑셀" onclick="btn_excel_onclick" class="btn7" position="absolute 215 75 267 94"/>
  34. <Button id="btn_zoom" taborder="7" text="확대하기" onclick="group3_btn_zoom_onclick" class="btn5" position="absolute 149 75 213 94"/>
  35. <Grid id="grd_wardpatlist" class="datagrid2" taborder="8" binddataset="ds_main_wardpatinfo_wardpatlist" scrollpixel="all" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" oncelldblclick="grd_wardpatlist_oncelldblclick" position="absolute 0 100 491 764" anchor="left top bottom">
  36. <Formats>
  37. <Format id="default">
  38. <Columns>
  39. <Column size="20" band="left"/>
  40. <Column size="42"/>
  41. <Column size="55"/>
  42. <Column size="54"/>
  43. <Column size="40"/>
  44. <Column size="42"/>
  45. <Column size="72"/>
  46. <Column size="70"/>
  47. <Column size="70"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="130"/>
  54. <Column size="130"/>
  55. <Column size="130"/>
  56. <Column size="130"/>
  57. <Column size="40"/>
  58. <Column size="40"/>
  59. <Column size="130"/>
  60. <Column size="130"/>
  61. <Column size="130"/>
  62. <Column size="130"/>
  63. <Column size="40"/>
  64. <Column size="40"/>
  65. <Column size="130"/>
  66. <Column size="130"/>
  67. <Column size="130"/>
  68. <Column size="130"/>
  69. <Column size="130"/>
  70. <Column size="40"/>
  71. <Column size="40"/>
  72. <Column size="130"/>
  73. <Column size="130"/>
  74. <Column size="40"/>
  75. <Column size="40"/>
  76. <Column size="130"/>
  77. <Column size="130"/>
  78. <Column size="130"/>
  79. <Column size="130"/>
  80. <Column size="40"/>
  81. <Column size="40"/>
  82. <Column size="130"/>
  83. <Column size="130"/>
  84. <Column size="40"/>
  85. <Column size="40"/>
  86. <Column size="130"/>
  87. <Column size="130"/>
  88. <Column size="130"/>
  89. </Columns>
  90. <Rows>
  91. <Row size="26" band="head"/>
  92. <Row size="24" band="head"/>
  93. <Row size="24"/>
  94. </Rows>
  95. <Band id="head">
  96. <Cell/>
  97. <Cell col="1" rowspan="2" text="병실" taborder="undefined"/>
  98. <Cell col="2" rowspan="2" text="등록번호" taborder="undefined"/>
  99. <Cell col="3" rowspan="2" text="환자명" taborder="undefined"/>
  100. <Cell col="4" rowspan="2" text="기록&#10;여부" taborder="undefined"/>
  101. <Cell col="5" rowspan="2" text="S/A" taborder="undefined"/>
  102. <Cell col="6" rowspan="2" text="진료과" taborder="undefined"/>
  103. <Cell col="7" rowspan="2" text="입원일자" taborder="undefined"/>
  104. <Cell col="8" rowspan="2" text="퇴원일자" taborder="undefined"/>
  105. <Cell col="9" text="cretno"/>
  106. <Cell col="10" text="instcd"/>
  107. <Cell col="11" text="ordtype"/>
  108. <Cell col="12" text="orddeptcd"/>
  109. <Cell col="13" text="hd"/>
  110. <Cell col="14" colspan="6" text="1) 입원중 간호사의 의료서비스" taborder="undefined"/>
  111. <Cell col="20" colspan="6" text="2) 입원 중 의사의 진료서비스" taborder="undefined"/>
  112. <Cell col="26" colspan="7" text="3) 투약 및 치료과정" taborder="undefined"/>
  113. <Cell col="33" colspan="4" text="4) 병원 환경" taborder="undefined"/>
  114. <Cell col="37" colspan="6" text="5) 환자권리보장" taborder="undefined"/>
  115. <Cell col="43" colspan="4" text="6) 전반적 평가" taborder="undefined"/>
  116. <Cell col="47" colspan="3" text="7) 개인 특성" taborder="undefined"/>
  117. <Cell row="1"/>
  118. <Cell row="1" col="9"/>
  119. <Cell row="1" col="10"/>
  120. <Cell row="1" col="11"/>
  121. <Cell row="1" col="12"/>
  122. <Cell row="1" col="13"/>
  123. <Cell row="1" col="14" text="1. 존중/예의 항목"/>
  124. <Cell row="1" col="15" text="2. 이야기 경청"/>
  125. <Cell row="1" col="16" text="3. 병원생활 설명"/>
  126. <Cell row="1" col="17" text="4. 도움 처리 노력"/>
  127. <Cell row="1" col="18" text="합계"/>
  128. <Cell row="1" col="19" text="평균"/>
  129. <Cell row="1" col="20" text="5. 존중/예의 항목"/>
  130. <Cell row="1" col="21" text="6. 이야기 경청"/>
  131. <Cell row="1" col="22" text="7. 병원생활 설명"/>
  132. <Cell row="1" col="23" text="8. 도움 처리 노력"/>
  133. <Cell row="1" col="24" text="합계"/>
  134. <Cell row="1" col="25" text="평균"/>
  135. <Cell row="1" col="26" text="9. 이유 설명"/>
  136. <Cell row="1" col="27" text="10. 부작용 설명"/>
  137. <Cell row="1" col="28" text="11. 통증조치"/>
  138. <Cell row="1" col="29" text="12. 위로, 공감"/>
  139. <Cell row="1" col="30" text="13. 치료계획 정보"/>
  140. <Cell row="1" col="31" text="합계"/>
  141. <Cell row="1" col="32" text="평균"/>
  142. <Cell row="1" col="33" text="14. 깨끗함"/>
  143. <Cell row="1" col="34" text="15. 안전함"/>
  144. <Cell row="1" col="35" text="합계"/>
  145. <Cell row="1" col="36" text="평균"/>
  146. <Cell row="1" col="37" text="16. 공평한 대우"/>
  147. <Cell row="1" col="38" text="17. 불만사항 토로"/>
  148. <Cell row="1" col="39" text="18. 검사/치료 결정 참여"/>
  149. <Cell row="1" col="40" text="19. 수치감 배려"/>
  150. <Cell row="1" col="41" text="합계"/>
  151. <Cell row="1" col="42" text="평균"/>
  152. <Cell row="1" col="43" text="20. 입원 경험 평가"/>
  153. <Cell row="1" col="44" text="21. 추천 평가"/>
  154. <Cell row="1" col="45" text="합계"/>
  155. <Cell row="1" col="46" text="평균"/>
  156. <Cell row="1" col="47" text="22. 응급실 경유 입원"/>
  157. <Cell row="1" col="48" text="23. 현 건강 상태"/>
  158. <Cell row="1" col="49" text="24. 최종학력"/>
  159. </Band>
  160. <Band id="body">
  161. <Cell celltype="head" expr="expr:currow + 1"/>
  162. <Cell col="1" style="align:left;" text="bind:roomcd"/>
  163. <Cell col="2" style="align:left;" text="bind:pid"/>
  164. <Cell col="3" style="align:left;" text="bind:patnm"/>
  165. <Cell col="4" style="align:left;" text="bind:formrecseq"/>
  166. <Cell col="5" style="align:left;" text="bind:sexage"/>
  167. <Cell col="6" style="align:left top;padding:4 2 2 2;" text="bind:orddeptnm" wordwrap="word"/>
  168. <Cell col="7" displaytype="date" style="align:left;" text="bind:indd" calendardisplaynulltype="none"/>
  169. <Cell col="8" displaytype="date" style="align:left;" text="bind:dschdd" calendardisplaynulltype="none"/>
  170. <Cell col="9" text="bind:cretno"/>
  171. <Cell col="10" text="bind:instcd"/>
  172. <Cell col="11" text="bind:ordtype"/>
  173. <Cell col="12" text="bind:orddeptcd"/>
  174. <Cell col="13" text="bind:hd"/>
  175. <Cell col="14" text="bind:formrec1"/>
  176. <Cell col="15" text="bind:formrec2"/>
  177. <Cell col="16" text="bind:formrec3"/>
  178. <Cell col="17" text="bind:formrec4"/>
  179. <Cell col="18" text="bind:sum1"/>
  180. <Cell col="19" text="bind:avg1"/>
  181. <Cell col="20" text="bind:formrec5"/>
  182. <Cell col="21" text="bind:formrec6"/>
  183. <Cell col="22" text="bind:formrec7"/>
  184. <Cell col="23" text="bind:formrec8"/>
  185. <Cell col="24" text="bind:sum2"/>
  186. <Cell col="25" text="bind:avg2"/>
  187. <Cell col="26" text="bind:formrec9"/>
  188. <Cell col="27" text="bind:formrec10"/>
  189. <Cell col="28" text="bind:formrec11"/>
  190. <Cell col="29" text="bind:formrec12"/>
  191. <Cell col="30" text="bind:formrec13"/>
  192. <Cell col="31" text="bind:sum3"/>
  193. <Cell col="32" text="bind:avg3"/>
  194. <Cell col="33" text="bind:formrec14"/>
  195. <Cell col="34" text="bind:formrec15"/>
  196. <Cell col="35" text="bind:sum4"/>
  197. <Cell col="36" text="bind:avg4"/>
  198. <Cell col="37" text="bind:formrec16"/>
  199. <Cell col="38" text="bind:formrec17"/>
  200. <Cell col="39" text="bind:formrec18"/>
  201. <Cell col="40" text="bind:formrec19"/>
  202. <Cell col="41" text="bind:sum5"/>
  203. <Cell col="42" text="bind:avg5"/>
  204. <Cell col="43" text="bind:formrec20"/>
  205. <Cell col="44" text="bind:formrec21"/>
  206. <Cell col="45" text="bind:sum6"/>
  207. <Cell col="46" text="bind:avg6"/>
  208. <Cell col="47" text="bind:formrec22"/>
  209. <Cell col="48" text="bind:formrec23"/>
  210. <Cell col="49" text="bind:formrec24"/>
  211. </Band>
  212. </Format>
  213. </Formats>
  214. </Grid>
  215. </Layout>
  216. </Layouts>
  217. <Objects>
  218. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  219. <ColumnInfo>
  220. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  221. <Column id="fromdd" type="STRING" size="256"/>
  222. <Column id="todd" type="STRING" size="256"/>
  223. <Column id="indschacptstat" type="STRING" size="256"/>
  224. </ColumnInfo>
  225. <Rows>
  226. <Row/>
  227. </Rows>
  228. </Dataset>
  229. <Dataset id="ds_init_ward" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  230. <ColumnInfo>
  231. <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
  232. <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
  233. </ColumnInfo>
  234. </Dataset>
  235. <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  236. <ColumnInfo>
  237. <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
  238. <Column id="depthngnm" type="STRING" size="256" sumtext="부서명"/>
  239. </ColumnInfo>
  240. </Dataset>
  241. <Dataset id="ds_init_settingrn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  242. <ColumnInfo>
  243. <Column id="settingrnid" type="STRING" size="256" sumtext="세팅간호사ID"/>
  244. <Column id="settingrnnm" type="STRING" size="256" sumtext="세팅간호사명"/>
  245. </ColumnInfo>
  246. </Dataset>
  247. <Dataset id="ds_main_wardpatinfo_wardpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  248. <ColumnInfo>
  249. <Column id="roomcd" type="STRING" size="256" sumtext="병실번호"/>
  250. <Column id="bedcd" type="STRING" size="256" sumtext="병상번호"/>
  251. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  252. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  253. <Column id="sexage" type="STRING" size="256" sumtext="성별나이"/>
  254. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  255. <Column id="hd" type="STRING" size="256" sumtext="재원일"/>
  256. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  257. <Column id="dschdd" type="STRING" size="256" sumtext="퇴실일"/>
  258. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  259. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  260. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  261. <Column id="formrecseq" type="STRING" size="256" sumtext="기록정보"/>
  262. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  263. <Column id="inrecflag" type="STRING" size="256"/>
  264. <Column id="dschrecflag" type="STRING" size="256"/>
  265. <Column id="formrec1" type="STRING" size="256"/>
  266. <Column id="formrec2" type="STRING" size="256"/>
  267. <Column id="formrec3" type="STRING" size="256"/>
  268. <Column id="formrec4" type="STRING" size="256"/>
  269. <Column id="formrec5" type="STRING" size="256"/>
  270. <Column id="formrec6" type="STRING" size="256"/>
  271. <Column id="formrec7" type="STRING" size="256"/>
  272. <Column id="formrec8" type="STRING" size="256"/>
  273. <Column id="formrec9" type="STRING" size="256"/>
  274. <Column id="formrec10" type="STRING" size="256"/>
  275. <Column id="formrec11" type="STRING" size="256"/>
  276. <Column id="formrec12" type="STRING" size="256"/>
  277. <Column id="formrec13" type="STRING" size="256"/>
  278. <Column id="formrec14" type="STRING" size="256"/>
  279. <Column id="formrec15" type="STRING" size="256"/>
  280. <Column id="formrec16" type="STRING" size="256"/>
  281. <Column id="formrec17" type="STRING" size="256"/>
  282. <Column id="formrec18" type="STRING" size="256"/>
  283. <Column id="formrec19" type="STRING" size="256"/>
  284. <Column id="formrec20" type="STRING" size="256"/>
  285. <Column id="formrec21" type="STRING" size="256"/>
  286. <Column id="formrec22" type="STRING" size="256"/>
  287. <Column id="formrec23" type="STRING" size="256"/>
  288. <Column id="formrec24" type="STRING" size="256"/>
  289. <Column id="avg1" type="STRING" size="256"/>
  290. <Column id="avg2" type="STRING" size="256"/>
  291. <Column id="avg3" type="STRING" size="256"/>
  292. <Column id="avg4" type="STRING" size="256"/>
  293. <Column id="avg5" type="STRING" size="256"/>
  294. <Column id="avg6" type="STRING" size="256"/>
  295. <Column id="sum1" type="STRING" size="256"/>
  296. <Column id="sum2" type="STRING" size="256"/>
  297. <Column id="sum3" type="STRING" size="256"/>
  298. <Column id="sum4" type="STRING" size="256"/>
  299. <Column id="sum5" type="STRING" size="256"/>
  300. <Column id="sum6" type="STRING" size="256"/>
  301. </ColumnInfo>
  302. </Dataset>
  303. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  304. <ColumnInfo>
  305. <Column id="wardcd" type="STRING" size="256"/>
  306. <Column id="fromdd" type="STRING" size="256"/>
  307. <Column id="todd" type="STRING" size="256"/>
  308. <Column id="indschacptstat" type="STRING" size="256"/>
  309. <Column id="recflag" type="STRING" size="256"/>
  310. </ColumnInfo>
  311. <Rows>
  312. <Row/>
  313. </Rows>
  314. </Dataset>
  315. <Dataset id="ds_cond_formdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  316. <ColumnInfo>
  317. <Column id="formcd" type="STRING" size="256"/>
  318. <Column id="formkind" type="STRING" size="256"/>
  319. <Column id="pid" type="STRING" size="256"/>
  320. <Column id="orddd" type="STRING" size="256"/>
  321. <Column id="cretno" type="STRING" size="256"/>
  322. <Column id="btnvisible" type="STRING" size="256"/>
  323. <Column id="btnenable" type="STRING" size="256"/>
  324. <Column id="unpreprec" type="STRING" size="256"/>
  325. <Column id="modalyn" type="STRING" size="256"/>
  326. <Column id="orddeptcd" type="STRING" size="256"/>
  327. <Column id="ioflag" type="STRING" size="256"/>
  328. <Column id="topyn" type="STRING" size="256"/>
  329. <Column id="formrecddenable" type="STRING" size="256"/>
  330. <Column id="formrecdd" type="STRING" size="256"/>
  331. <Column id="wardcd" type="STRING" size="256"/>
  332. </ColumnInfo>
  333. <Rows>
  334. <Row>
  335. <Col id="formkind"/>
  336. <Col id="formcd"/>
  337. <Col id="pid"/>
  338. <Col id="orddd"/>
  339. <Col id="cretno"/>
  340. <Col id="btnvisible"/>
  341. <Col id="orddeptcd"/>
  342. <Col id="modalyn"/>
  343. <Col id="unpreprec"/>
  344. <Col id="btnenable"/>
  345. <Col id="ioflag"/>
  346. <Col id="topyn"/>
  347. <Col id="formrecdd"/>
  348. <Col id="formrecddenable"/>
  349. </Row>
  350. </Rows>
  351. </Dataset>
  352. </Objects>
  353. <Bind>
  354. <BindItem id="item0" compid="grp_sea.cmb_wardcd" propid="value" datasetid="ds_main_cond" columnid="wardcd"/>
  355. <BindItem id="item1" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  356. <BindItem id="item2" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  357. </Bind>
  358. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  359. * System Name : 경대 의료정보시스템
  360. * Job Name : emr_wardcarexp -> SMMNW14310
  361. * Creator : ENR
  362. * Make Date : 2017-04-20
  363. * Description : 최초개발
  364. *---------------------------------------------------------------------------------------
  365. * Modify Date Modifier Modify Description
  366. *---------------------------------------------------------------------------------------
  367. * 2017-04-20 ENR XP
  368. *
  369. *---------------------------------------------------------------------------------------
  370. ****************************************************************************************/
  371. //=======================================================================================
  372. // Lib Include
  373. //---------------------------------------------------------------------------------------
  374. include "com_commonxp::comm_main.xjs";
  375. include "emr_medirecxp::MMR01100.xjs";
  376. //=======================================================================================
  377. // Global Form Variable
  378. //---------------------------------------------------------------------------------------
  379. //=======================================================================================
  380. // Function
  381. //---------------------------------------------------------------------------------------
  382. /****************************************************************************************
  383. * Argument : N/A
  384. * Description :
  385. ****************************************************************************************/
  386. function fSearch(nFlag) {
  387. ds_send.setColumn(0, "wardcd", ds_main_cond.getColumn(0, "wardcd"));
  388. ds_send.setColumn(0, "indschacptstat", ds_main_cond.getColumn(0, "indschacptstat"));
  389. //ds_send.setColumn(0, "orddd", ds_main_cond.getColumn(0, "orddd"));
  390. ds_send.setColumn(0, "fromdd", ds_main_cond.getColumn(0, "fromdd"));
  391. ds_send.setColumn(0, "todd", ds_main_cond.getColumn(0, "todd"));
  392. var deptcd = ds_send.getColumn(0, "wardcd");
  393. var fromdd = ds_send.getColumn(0, "fromdd");
  394. var todd = ds_send.getColumn(0, "todd");
  395. var diff = utlf_getDateInterval(fromdd, todd, "dd") + 1;
  396. if (utlf_isNull(deptcd)) {
  397. sysf_messageBox("병동을 다시 설정 후 조회하십시오.", "E999");
  398. return;
  399. }
  400. if (utlf_isNull(fromdd) || utlf_isNull(todd)) {
  401. sysf_messageBox("조회 일자를 다시 설정 후 조회하십시오 .", "E999");
  402. return;
  403. }
  404. if (fromdd > todd) {
  405. sysf_messageBox("조회 일자를 다시 설정 후 조회하십시오.", "E999");
  406. return;
  407. }
  408. if (diff > 32) {
  409. sysf_messageBox("조회 기간을 한 달 이하로 수정 후 조회하십시오.", "E999");
  410. return;
  411. }
  412. //ds_send.clearData();
  413. //ds_send_reqdata.clearData();
  414. //ds_send_reqdata.copyData(ds_cond);
  415. var oParam = {};
  416. //oParam.id = "TRMNW30001";
  417. oParam.service = "wardcareapp.TranMngt";
  418. oParam.method = "reqGetCnstPatAsmtInfoList";
  419. oParam.inds = "req=ds_main_cond";
  420. oParam.outds = "ds_main_wardpatinfo_wardpatlist=cnstlist";
  421. oParam.async = false;
  422. //oParam.callback = "cf_TRMNW30001";
  423. tranf_submit(oParam);
  424. ds_main_wardpatinfo_wardpatlist.rowposition = -1;
  425. if( utlf_isNull(nFlag) ){
  426. ivw_loader.ivw_base.url = "";
  427. lf_SetPatInfo(-1);
  428. }
  429. }
  430. function fRecordsearch() {
  431. // 16.12.07_프로그램 내에서 환자 기본정보에 대한 Parameter을 넘기더라도 우선적으로 상단정보를 가져가는 것을 막기위함.
  432. var nRow = ds_main_wardpatinfo_wardpatlist.rowposition;
  433. var instcd = ds_main_wardpatinfo_wardpatlist.getColumn(nRow, "instcd");
  434. var pid = ds_main_wardpatinfo_wardpatlist.getColumn(nRow, "pid");
  435. var indd = ds_main_wardpatinfo_wardpatlist.getColumn(nRow, "indd");
  436. var cretno = ds_main_wardpatinfo_wardpatlist.getColumn(nRow, "cretno");
  437. var recflag = ds_main_cond.getColumn(0, "recflag");
  438. //var searchdd = ds_main_cond.getColumn(0, "orddd");
  439. //var searchdd = ds_main_wardpatinfo_wardpatlist.getColumn(nRow, "indd");
  440. var wardcd = ds_main_cond.getColumn(0, "wardcd");
  441. var formrecseq = ds_main_wardpatinfo_wardpatlist.getColumn(nRow, "formrecseq");
  442. var formcd = '1700019281'; //2017.04.21_퇴원환자경험평가표 서식
  443. var orddeptcd = ds_main_wardpatinfo_wardpatlist.getColumn(nRow, "orddeptcd");
  444. var ordtype = ds_main_wardpatinfo_wardpatlist.getColumn(nRow, "ordtype");
  445. if( utlf_isNull(pid) || utlf_isNull(indd) || utlf_isNull(cretno) ){
  446. sysf_messageBox("환자가 선택되지 " , "E007");
  447. return;
  448. }
  449. //2017.06.05_상단정보 셋팅 로직 추가
  450. var ordtype = ds_main_wardpatinfo_wardpatlist.getColumn(nRow, "ordtype");
  451. var param = ordtype + "▦" + pid
  452. + "▦" + indd
  453. + "▦" + cretno
  454. + "▦" + instcd
  455. + "▦" + ds_main_wardpatinfo_wardpatlist.getColumn(nRow, "dschdd");
  456. sysf_trace(param);
  457. appf_initPatientInfo(param);
  458. //
  459. ivw_loader.ivw_base.url = "";
  460. // 서식 로드
  461. // frmf_setParameter("SSMMR01100_recsavechk", "Y");
  462. var objArg = new Object();
  463. var vFormKind = "new";
  464. if(formrecseq != "N"){
  465. vFormKind = "rec";
  466. formcd = formrecseq;
  467. searchdd = "";
  468. }
  469. ds_cond_formdata.clearData();
  470. ds_cond_formdata.addRow();
  471. ds_cond_formdata.setColumn(0, "formcd", formcd); // 서식목록 - linkcd, 기록목록 - formrecseq 컬럼값.
  472. ds_cond_formdata.setColumn(0, "formkind", vFormKind); // 서식목록 탭 - new , 기록목록 - rec
  473. ds_cond_formdata.setColumn(0, "btnvisible", false);
  474. ds_cond_formdata.setColumn(0, "pid", pid);
  475. ds_cond_formdata.setColumn(0, "orddd", indd);
  476. ds_cond_formdata.setColumn(0, "cretno", cretno);
  477. ds_cond_formdata.setColumn(0, "orddeptcd", orddeptcd);
  478. ds_cond_formdata.setColumn(0, "ioflag", ordtype); //인증서 관련 처리 필요
  479. ds_cond_formdata.setColumn(0, "topyn", "N");
  480. ds_cond_formdata.setColumn(0, "formrecddenable", "N");
  481. //ds_cond_formdata.setColumn(0, "formrecdd", searchdd);
  482. ds_cond_formdata.setColumn(0, "wardcd", wardcd);
  483. sysf_trace("###wardcd1####"+wardcd);
  484. objArg.ds_cond_formdata = ds_cond_formdata;
  485. lf_loadSMMMR01100(false, objArg);
  486. lf_SetPatInfo(nRow);
  487. }
  488. //=======================================================================================
  489. // Event
  490. //---------------------------------------------------------------------------------------
  491. /****************************************************************************************
  492. * Components : Form
  493. * Components ID : SMMNW14310
  494. * Event : oninit
  495. * Argument : 01.obj : Object Event has occurred
  496. * : 02.e : Event Object
  497. * Description : 화면 처음 초기화시
  498. ****************************************************************************************/
  499. function SMMNW14310_oninit(obj:Form, e:InitEventInfo)
  500. {
  501. frmf_initForm(obj); //폼 초기화
  502. }
  503. /****************************************************************************************
  504. * Components : Form
  505. * Components ID : SMMNW14310
  506. * Event : onload
  507. * Argument : 01.obj : Object Event has occurred
  508. * : 02.e : Event Object
  509. * Description : 화면 로딩 완료시
  510. ****************************************************************************************/
  511. function SMMNW14310_onload(obj:Form, e:LoadEventInfo)
  512. {
  513. var sWardcd = sysf_getUserInfo("dutplcecd");
  514. ds_main_cond.setColumn(0, "wardcd", sWardcd);
  515. ds_main_cond.setColumn(0, "indschacptstat", "1");
  516. ds_main_cond.setColumn(0, "recflag", "1");
  517. grdf_setGridSort(grd_wardpatlist);
  518. var wid = parseInt(ivw_loader.position.width);
  519. var hei = parseInt(ivw_loader.position.height);
  520. //공통코드 로드
  521. var arrParam = [{dsNm: "ds_tmp_M0068list_M0068", cdGrpId: "M0068"}
  522. ,{dsNm: "ds_tmp_M0069list_M0068", cdGrpId: "M0069"}
  523. ,{dsNm: "ds_tmp_P0157list_M0068", cdGrpId: "P0157"}
  524. ,{dsNm: "ds_tmp_M0206list_M0068", cdGrpId: "M0206"}]
  525. appf_getCodeList(arrParam);
  526. var oParam = {};
  527. oParam.id = "TRMNW00101";
  528. oParam.service = "wardcareapp.WardCareMngt";
  529. oParam.method = "reqGetWMInitData";
  530. oParam.inds = "reqcond=ds_main_cond";
  531. oParam.outds = "ds_init_ward=ward ds_init_dept=dept ds_init_settingrn=settingrn";
  532. oParam.async = false;
  533. //oParam.callback = "cf_TRMNW00101";
  534. tranf_submit(oParam);
  535. ds_main_cond.setColumn(0, "wardcd", sysf_getUserInfo("dutplcecd"));
  536. ds_main_cond.setColumn(0, "todd", utlf_getCurrentDate());
  537. //ds_main_cond.setColumn(0, "fromdd", ds_main_cond.getColumn(0,"todd")-7 );
  538. //var vFromdd = ds_main_cond.getColumn(0,"todd");
  539. ds_main_cond.setColumn(0, "fromdd", utlf_addDate(ds_main_cond.getColumn(0,"todd"), -7) );
  540. //ivw_loader.grup_btn.visible = false;
  541. fSearch();
  542. }
  543. /****************************************************************************************
  544. * Components : Button
  545. * Components ID : button1
  546. * Event : onclick
  547. * Argument : 01.obj : Object Event has occurred
  548. * : 02.e : Event Object
  549. * Description : 조회버튼 클릭시
  550. ****************************************************************************************/
  551. function grp_sea_button1_onclick(obj:Button, e:ClickEventInfo)
  552. {
  553. fSearch();
  554. }
  555. /****************************************************************************************
  556. * Components : Combo
  557. * Components ID : cmb_wardcd
  558. * Event : onitemchanged
  559. * Argument : 01.obj : Object Event has occurred
  560. * : 02.e : Event Object
  561. * Description : 콤보 값 변경시
  562. ****************************************************************************************/
  563. function grp_sea_cmb_wardcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  564. {
  565. fSearch();
  566. }
  567. /****************************************************************************************
  568. * Components : Calendar
  569. * Components ID : ipt_orddd
  570. * Event : onchanged
  571. * Argument : 01.obj : Object Event has occurred
  572. * : 02.e : Event Object
  573. * Description : 달력 값 변경시
  574. ****************************************************************************************/
  575. function grp_sea_ipt_orddd_onchanged(obj:Calendar, e:ChangeEventInfo)
  576. {
  577. //fSearch();
  578. }
  579. /****************************************************************************************
  580. * Components : Grid
  581. * Components ID : grd_wardpatlist
  582. * Event : oncelldblclick
  583. * Argument : 01.obj : Object Event has occurred
  584. * : 02.e : Event Object
  585. * Description : 그리드 셀 더블클릭시
  586. ****************************************************************************************/
  587. function grd_wardpatlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  588. {
  589. fRecordsearch();
  590. }
  591. /****************************************************************************************
  592. * Components : Button
  593. * Components ID : btn_signsave
  594. * Event : onclick
  595. * Argument : 01.obj : Object Event has occurred
  596. * : 02.e : Event Object
  597. * Description : 인증저장버튼 클릭시
  598. ****************************************************************************************/
  599. function btn_signsave_onclick(obj:Button, e:ClickEventInfo)
  600. {
  601. var grd_row = grd_wardpatlist.currentrow;
  602. if (grd_row >= 0) {
  603. if( utlf_isNull(ivw_loader.ivw_base.url) ){
  604. sysf_messageBox("선택한 기록이 존재하지 않습니다." , "E");
  605. return;
  606. }
  607. if( ivw_loader.fClickSave("Y") ) {
  608. fSearch(true);
  609. ds_main_wardpatinfo_wardpatlist.selectRow(grd_row);
  610. ds_main_wardpatinfo_wardpatlist.rowposition = grd_row;
  611. fRecordsearch();
  612. }
  613. } else {
  614. sysf_messageBox("환자를 선택하지" , "E007");
  615. return;
  616. }
  617. }
  618. /****************************************************************************************
  619. * Components : Button
  620. * Components ID : button2
  621. * Event : onclick
  622. * Argument : 01.obj : Object Event has occurred
  623. * : 02.e : Event Object
  624. * Description : 기록삭제버튼 클릭시
  625. ****************************************************************************************/
  626. function button2_onclick(obj:Button, e:ClickEventInfo)
  627. {
  628. if( utlf_isNull(ivw_loader.ivw_base.url) ){
  629. sysf_messageBox("선택한 기록이 존재하지 않습니다." , "E");
  630. return;
  631. }
  632. ivw_loader.grup_btn.btn_del.click();
  633. fSearch();
  634. }
  635. /****************************************************************************************
  636. * Argument : 01.nRow : Grid rowposition
  637. * Description : 선택한 기록에 대한 환자정보
  638. ****************************************************************************************/
  639. function lf_SetPatInfo(nRow){
  640. if( !utlf_isNull(nRow) ){
  641. if( nRow == -1 ){
  642. opt_patinfo.value = "";
  643. return;
  644. }
  645. var grdDs = this.objects["ds_main_wardpatinfo_wardpatlist"];
  646. var nPid = grdDs.getColumn(nRow, "pid");
  647. var nPatnm = grdDs.getColumn(nRow, "patnm");
  648. var nSa = grdDs.getColumn(nRow, "sexage");
  649. var nRoomcd = grdDs.getColumn(nRow, "roomcd");
  650. opt_patinfo.value = "- " + nPid + " " + nPatnm + "(" + nSa + ") " + nRoomcd;
  651. }
  652. }
  653. function group3_btn_ininfo_onclick(obj:Button, e:ClickEventInfo)
  654. {
  655. var pid = ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "pid");
  656. var instcd = ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "instcd");
  657. if( utlf_isNull(pid) ) {
  658. sysf_messageBox("환자를 선택해주십시오.", "I");
  659. return;
  660. }
  661. var inrecflag = ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "inrecflag");
  662. if( inrecflag == "01"){ // 병동
  663. if(instcd == "032"){
  664. frmf_open("SMMNW03100","SMMNW03100","","",1,50,250,"","","","","","M");
  665. }else{
  666. frmf_open("SMMNW04100","SMMNW04100","","",1,50,250,"","","","","","M");
  667. }
  668. }else if( inrecflag == "02"){ // 정신과
  669. frmf_open("SMMNW03400","SMMNW03400","","",1,50,250,"","","","","","M");
  670. }else if( inrecflag == "03"){ // 산모
  671. frmf_open("SMMNN00300","SMMNN00300","","",1,50,250,"","","","","","M");
  672. }else if( inrecflag == "04"){ // 소아청소년
  673. frmf_open("SMMNW03200","SMMNW03200","","",1,50,250,"","","","","","M");
  674. }else if( inrecflag == "05"){ // BMT
  675. frmf_open("SMMNW03500","SMMNW03500","","",1,50,250,"","","","","","M");
  676. }else if( inrecflag == "06" || inrecflag == "07" ){ // 신생아
  677. frmf_open("SMMNN00400","SMMNN00400","","",1,50,250,"","","","","","M");
  678. }else if( inrecflag == "10"){ // 응급
  679. frmf_open("SMMNE04300","SMMNE04300","","",1,50,250,"","","","","","M");
  680. }else {
  681. sysf_messageBox("간호정보 조사지가 없습니다.", "I");
  682. return;
  683. }
  684. }
  685. function group3_btn_dschinfo_onclick(obj:Button, e:ClickEventInfo)
  686. {
  687. var pid = ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "pid");
  688. var instcd = ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "instcd");
  689. if( utlf_isNull(pid) ) {
  690. sysf_messageBox("환자를 선택해주십시오.", "I");
  691. return;
  692. }
  693. var dschrecflag = ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "dschrecflag");
  694. if( dschrecflag == "01"){ // 병동
  695. frmf_open("SMMNW03600","SMMNW03600","","",1,50,250,"","","","","","M");
  696. }else if( dschrecflag == "02"){ // 소아
  697. frmf_open("SMMNW05800","SMMNW05800","","",1,50,250,"","","","","","M");
  698. }else if( dschrecflag == "03"){ // 정신과
  699. frmf_open("SMMNW05900","SMMNW05900","","",1,50,250,"","","","","","M");
  700. }else if( dschrecflag == "04"){ // BMT
  701. frmf_open("SMMNW03800","SMMNW03800","","",1,50,250,"","","","","","M");
  702. }else if( dschrecflag == "05"){ // 산모
  703. frmf_open("SMMNN00500","SMMNN00500","","",1,50,250,"","","","","","M");
  704. }else if( dschrecflag == "06"){ // 신생아
  705. frmf_open("SMMNN00600","SMMNN00600","","",1,50,250,"","","","","","M");
  706. }else {
  707. sysf_messageBox("퇴원정보 조사지가 없습니다.", "I");
  708. return;
  709. }
  710. }
  711. function group3_btn_record_onclick(obj:Button, e:ClickEventInfo)
  712. {
  713. var pid = ds_main_wardpatinfo_wardpatlist.getColumn(ds_main_wardpatinfo_wardpatlist.rowposition, "pid");
  714. if( utlf_isNull(pid) ) {
  715. sysf_messageBox("환자를 선택해주십시오.", "I");
  716. return;
  717. }
  718. frmf_setParameter("SMMRI00400_param_pid", pid);
  719. frmf_open("SMMRI00400","SMMRI00400","","","","","","","","","","","M");
  720. }
  721. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  722. {
  723. if( ds_main_wardpatinfo_wardpatlist.rowcount > 0 ){
  724. grdf_exportExcel(grd_wardpatlist, "환자경험평가 리스트", "환자경험평가 리스트", false, "", "user", false);
  725. } else {
  726. sysf_messageBox("조회된 데이터가 ", "I004");
  727. }
  728. }
  729. function group3_btn_zoom_onclick(obj:Button, e:ClickEventInfo)
  730. {
  731. if ( btn_zoom.text == "확대하기" ) {
  732. btn_zoom.text = "축소하기";
  733. grd_wardpatlist.position.left = 0;
  734. grd_wardpatlist.position.width = 1200;
  735. } else {
  736. btn_zoom.text = "확대하기";
  737. grd_wardpatlist.position.left = 0;
  738. grd_wardpatlist.position.width = 491;
  739. }
  740. }
  741. ]]></Script>
  742. </Form>
  743. </FDL>