SMMRJ00200_다학제간환자교육정보통합조회.xfdl 48 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMRJ00200" position="absolute 0 0 1200 695" titletext="환자교육 통합기록 조회" oninit="SMMRJ00200_oninit" onload="SMMRJ00200_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid id="datagrid2" taborder="0" binddataset="ds_main_educordlist" useinputpanel="false" visible="false" position="absolute 12 349 1192 579">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="100"/>
  12. <Column size="100"/>
  13. <Column size="100"/>
  14. <Column size="100"/>
  15. <Column size="100"/>
  16. <Column size="100"/>
  17. <Column size="100"/>
  18. <Column size="100"/>
  19. <Column size="100"/>
  20. <Column size="100"/>
  21. <Column size="100"/>
  22. <Column size="100"/>
  23. <Column size="100"/>
  24. <Column size="100"/>
  25. <Column size="100"/>
  26. <Column size="100"/>
  27. <Column size="100"/>
  28. <Column size="100"/>
  29. <Column size="100"/>
  30. <Column size="100"/>
  31. <Column size="100"/>
  32. <Column size="100"/>
  33. <Column size="100"/>
  34. <Column size="100"/>
  35. <Column size="100"/>
  36. <Column size="100"/>
  37. <Column size="100"/>
  38. <Column size="100"/>
  39. <Column size="100"/>
  40. <Column size="100"/>
  41. <Column size="100"/>
  42. <Column size="100"/>
  43. <Column size="100"/>
  44. <Column size="100"/>
  45. <Column size="100"/>
  46. </Columns>
  47. <Band id="head">
  48. <Cell text=""/>
  49. <Cell col="1" text=""/>
  50. <Cell col="2" text=""/>
  51. <Cell col="3" text=""/>
  52. <Cell col="4" text=""/>
  53. <Cell col="5" text=""/>
  54. <Cell col="6" text=""/>
  55. <Cell col="7" text=""/>
  56. <Cell col="8" text=""/>
  57. <Cell col="9" text=""/>
  58. <Cell col="10" text=""/>
  59. <Cell col="11" text=""/>
  60. <Cell col="12" text=""/>
  61. <Cell col="13" text=""/>
  62. <Cell col="14" text=""/>
  63. <Cell col="15" text=""/>
  64. <Cell col="16" text=""/>
  65. <Cell col="17" text=""/>
  66. <Cell col="18" text=""/>
  67. <Cell col="19" text=""/>
  68. <Cell col="20" text=""/>
  69. <Cell col="21" text=""/>
  70. <Cell col="22" text=""/>
  71. <Cell col="23" text=""/>
  72. <Cell col="24" text=""/>
  73. <Cell col="25" text=""/>
  74. <Cell col="26" text=""/>
  75. <Cell col="27" text=""/>
  76. <Cell col="28" text=""/>
  77. <Cell col="29" text=""/>
  78. <Cell col="30" text=""/>
  79. <Cell col="31" text=""/>
  80. <Cell col="32" text=""/>
  81. <Cell col="33" text=""/>
  82. <Cell col="34" text=""/>
  83. </Band>
  84. <Band id="body">
  85. <Cell text="bind:instcd"/>
  86. <Cell col="1" text="bind:pid"/>
  87. <Cell col="2" text="bind:orddd"/>
  88. <Cell col="3" text="bind:cretno"/>
  89. <Cell col="4" text="bind:histno"/>
  90. <Cell col="5" text="bind:delyn"/>
  91. <Cell col="6" text="bind:eduwho1"/>
  92. <Cell col="7" text="bind:eduwho2"/>
  93. <Cell col="8" text="bind:eduwho9"/>
  94. <Cell col="9" text="bind:eduwill1"/>
  95. <Cell col="10" text="bind:eduwill9"/>
  96. <Cell col="11" text="bind:eduhandcapyn"/>
  97. <Cell col="12" text="bind:eduhandcap1"/>
  98. <Cell col="13" text="bind:eduhandcap2"/>
  99. <Cell col="14" text="bind:eduhandcap3"/>
  100. <Cell col="15" text="bind:eduhandcap4"/>
  101. <Cell col="16" text="bind:eduhandcap5"/>
  102. <Cell col="17" text="bind:eduhandcap6"/>
  103. <Cell col="18" text="bind:eduhandcap9"/>
  104. <Cell col="19" text="bind:eduway1"/>
  105. <Cell col="20" text="bind:eduway2"/>
  106. <Cell col="21" text="bind:eduway3"/>
  107. <Cell col="22" text="bind:eduway4"/>
  108. <Cell col="23" text="bind:eduway5"/>
  109. <Cell col="24" text="bind:eduway9"/>
  110. <Cell col="25" text="bind:eduneed1"/>
  111. <Cell col="26" text="bind:eduneed2"/>
  112. <Cell col="27" text="bind:eduneed3"/>
  113. <Cell col="28" text="bind:eduneed4"/>
  114. <Cell col="29" text="bind:eduneed9"/>
  115. <Cell col="30" text="bind:eduneed9ck"/>
  116. <Cell col="31" text="bind:fstrgstrid"/>
  117. <Cell col="32" text="bind:fstrgstdt"/>
  118. <Cell col="33" text="bind:lastupdtrid"/>
  119. <Cell col="34" text="bind:lastupdtdt"/>
  120. </Band>
  121. </Format>
  122. </Formats>
  123. </Grid>
  124. <Radio id="rdo_eduwill" taborder="1" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemclick="rdo_eduwill_onitemclick" enable="false" position="absolute 341 152 621 202" anchor="top right">
  125. <Dataset id="innerdataset">
  126. <ColumnInfo>
  127. <Column id="codecolumn"/>
  128. <Column id="datacolumn"/>
  129. </ColumnInfo>
  130. <Rows>
  131. <Row>
  132. <Col id="codecolumn">004</Col>
  133. <Col id="datacolumn">높음(High: 4)</Col>
  134. </Row>
  135. <Row>
  136. <Col id="codecolumn">003</Col>
  137. <Col id="datacolumn">보통(Moderate: 3)</Col>
  138. </Row>
  139. <Row>
  140. <Col id="codecolumn">001</Col>
  141. <Col id="datacolumn">낮음(Low: 2)</Col>
  142. </Row>
  143. <Row>
  144. <Col id="codecolumn">002</Col>
  145. <Col id="datacolumn">거절(Refusal: 1)</Col>
  146. </Row>
  147. <Row>
  148. <Col id="codecolumn">999</Col>
  149. <Col id="datacolumn">기타</Col>
  150. </Row>
  151. </Rows>
  152. </Dataset>
  153. </Radio>
  154. <Static id="caption6" text="작성일시 :" class="tit_2" position="absolute 659 83 752 99" anchor="top right"/>
  155. <Static id="caption17" text="교육 요구도 사정(Learning Need Assessment) (간호사가 입원 24시간 이내 작성 완료해주십시오)" class="tit_2" position="absolute 12 84 629 100"/>
  156. <Static id="caption5" text="작성자 :" class="tit_2" position="absolute 914 83 984 99" anchor="top right"/>
  157. <Static id="caption7" text="교육요구 (Who)" class="cell_1" position="absolute 231 107 336 147" anchor="top right"/>
  158. <Static id="caption8" text="교육에 대한 의지 (Willingness to Learn)" class="cell_1" position="absolute 231 150 336 207" anchor="top right"/>
  159. <Static id="caption9" text="교육 장애요인 (Barriers to learning)" class="cell_1" position="absolute 231 210 336 307" anchor="top right"/>
  160. <Edit id="ipt_eduwho9" taborder="2" visible="false" position="absolute 439 127 624 147" anchor="top right"/>
  161. <Edit id="ipt_eduwill9" taborder="3" visible="false" position="absolute 482 185 667 205" anchor="top right"/>
  162. <Edit id="ipt_eduhandcap9" taborder="5" visible="false" position="absolute 470 286 655 306" anchor="top right"/>
  163. <Static id="caption10" text="교육방법(선호하는) (Preferred Way to Learn)" class="cell_1" position="absolute 676 107 781 181" anchor="top right"/>
  164. <Edit id="ipt_eduway9" taborder="6" visible="false" position="absolute 1018 157 1153 177" anchor="top right"/>
  165. <Edit id="ipt_eduneed9" taborder="7" visible="false" position="absolute 838 281 1153 301" anchor="top right"/>
  166. <Static id="caption12" text="원하는 교육 내용 (Need information about)" class="cell_1" position="absolute 676 184 781 307" anchor="top right"/>
  167. <Shape id="line1" class="line_1" position="absolute 11 344 1192 349" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  168. <Static id="caption13" text="환자교육 통합기록" onclick="caption13_onclick" class="tit_2" position="absolute 12 327 252 343"/>
  169. <Button id="button2" taborder="8" text="교육 자료 출력" onclick="button2_onclick" class="btn4" position="absolute 1077 317 1193 339" anchor="top right"/>
  170. <Button id="button3" taborder="9" text="추가입력" onclick="button3_onclick" class="btn3" position="absolute 867 317 947 339" anchor="top right"/>
  171. <Button id="button4" taborder="10" text="행삭제" onclick="button4_onclick" class="btn3" position="absolute 1007 317 1075 339" anchor="top right"/>
  172. <Grid id="datagrid1" taborder="11" binddataset="ds_main_educcntslist" useinputpanel="false" autofittype="col" position="absolute 12 349 1191 689" autosizingtype="both" cellsizingtype="both" anchor="all">
  173. <Formats>
  174. <Format id="default">
  175. <Columns>
  176. <Column size="22"/>
  177. <Column size="80"/>
  178. <Column size="414"/>
  179. <Column size="72"/>
  180. <Column size="91"/>
  181. <Column size="86"/>
  182. <Column size="59"/>
  183. <Column size="112"/>
  184. <Column size="99"/>
  185. <Column size="71"/>
  186. <Column size="77"/>
  187. <Column size="0"/>
  188. <Column size="0"/>
  189. <Column size="0"/>
  190. <Column size="0"/>
  191. <Column size="0"/>
  192. <Column size="0"/>
  193. </Columns>
  194. <Rows>
  195. <Row size="24" band="head"/>
  196. <Row size="24"/>
  197. </Rows>
  198. <Band id="head">
  199. <Cell/>
  200. <Cell col="1" text="교육항목"/>
  201. <Cell col="2" text="교육내용"/>
  202. <Cell col="3" text="학습준비도"/>
  203. <Cell col="4" text="교육대상자"/>
  204. <Cell col="5" text="교육일자"/>
  205. <Cell col="6" text="교육시간"/>
  206. <Cell col="7" text="교육방법"/>
  207. <Cell col="8" text="교육결과"/>
  208. <Cell col="9" text="직종"/>
  209. <Cell col="10" text="교육자"/>
  210. <Cell col="11" text="기관코드"/>
  211. <Cell col="12" text="등록번호"/>
  212. <Cell col="13" text="진료(입원)일"/>
  213. <Cell col="14" text="원무키"/>
  214. <Cell col="15" text="이력순번"/>
  215. <Cell col="16"/>
  216. </Band>
  217. <Band id="body">
  218. <Cell celltype="head"/>
  219. <Cell col="1" displaytype="combo" edittype="expr:type == &quot;Y&quot; ? &quot;none&quot; : &quot;combo&quot;" style="background:EXPR(type == &quot;Y&quot; ? &quot;#E6E6E6&quot; : &quot;&quot;);" text="bind:educd"/>
  220. <Cell col="2" displaytype="text" edittype="expr:type == &quot;Y&quot; ? &quot;none&quot; : &quot;textarea&quot;" style="background:EXPR(type == &quot;Y&quot; ? &quot;#E6E6E6&quot; : &quot;&quot;);" text="bind:educnts" wordwrap="word"/>
  221. <Cell col="3" displaytype="combo" edittype="expr:type == &quot;Y&quot; ? &quot;none&quot; : &quot;combo&quot;" style="background:EXPR(type == &quot;Y&quot; ? &quot;#E6E6E6&quot; : &quot;&quot;);" text="bind:eduprepyn"/>
  222. <Cell col="4" displaytype="text" edittype="expr:type == &quot;Y&quot; ? &quot;none&quot; : &quot;text&quot;" style="background:EXPR(type == &quot;Y&quot; ? &quot;#E6E6E6&quot; : &quot;&quot;);" text="bind:eduwho"/>
  223. <Cell col="5" displaytype="expr:utlf_isNull(edudd) ? &quot;normal&quot;:&quot;date&quot;" edittype="expr:type == &quot;Y&quot; ? &quot;none&quot; : &quot;date&quot;" style="background:EXPR(type == &quot;Y&quot; ? &quot;#E6E6E6&quot; : &quot;&quot;);" text="bind:edudd"/>
  224. <Cell col="6" displaytype="text" edittype="expr:type == &quot;Y&quot; ? &quot;none&quot; : &quot;text&quot;" style="background:EXPR(type == &quot;Y&quot; ? &quot;#E6E6E6&quot; : &quot;&quot;);" text="bind:edutm" mask="##:##"/>
  225. <Cell col="7" displaytype="text" edittype="expr:type == &quot;Y&quot; ? &quot;none&quot; : &quot;text&quot;" style="background:EXPR(type == &quot;Y&quot; ? &quot;#E6E6E6&quot; : &quot;&quot;);" text="bind:eduway" wordwrap="word"/>
  226. <Cell col="8" displaytype="text" edittype="expr:type == &quot;Y&quot; ? &quot;none&quot; : &quot;text&quot;" style="background:EXPR(type == &quot;Y&quot; ? &quot;#E6E6E6&quot; : &quot;&quot;);" text="bind:edurslt"/>
  227. <Cell col="9" edittype="none" text="bind:jobkindnm"/>
  228. <Cell col="10" edittype="none" text="bind:usernm"/>
  229. <Cell col="11" text="bind:instcd"/>
  230. <Cell col="12" text="bind:pid"/>
  231. <Cell col="13" text="bind:orddd" mask="yyyy-mm-dd"/>
  232. <Cell col="14" text="bind:cretno"/>
  233. <Cell col="15" text="bind:histno"/>
  234. <Cell col="16" text="bind:fstrgstrid"/>
  235. </Band>
  236. </Format>
  237. </Formats>
  238. </Grid>
  239. <Shape id="line3" position="absolute 231 146 668 152" anchor="top right"/>
  240. <Shape id="line4" position="absolute 231 205 668 213" anchor="top right"/>
  241. <Shape id="line6" position="absolute 231 306 681 312" anchor="top right"/>
  242. <Shape id="line7" linetype="vertical" position="absolute 1189 103 1196 308" anchor="top right"/>
  243. <Shape id="line8" position="absolute 677 301 1192 317" anchor="left top right"/>
  244. <Shape id="line9" position="absolute 675 179 1192 188" anchor="top right"/>
  245. <Shape id="line10" position="absolute 335 230 668 237" anchor="top right"/>
  246. <CheckBox id="chk_eduwho1" taborder="12" text="환자(Patient)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 341 110 441 125" anchor="top right"/>
  247. <CheckBox id="chk_eduwho2" taborder="13" text="보호자(Family)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 440 110 540 125" anchor="top right"/>
  248. <CheckBox id="chk_eduwho9" taborder="14" text="기타(Others)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 341 130 431 145" onclick="chk_eduwho9_onclick" anchor="top right"/>
  249. <CheckBox id="chk_eduhandcap1" taborder="15" text="종교적/문화적" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 341 235 461 250" anchor="top right"/>
  250. <CheckBox id="chk_eduhandcap2" taborder="16" text="인지적(Cognitive)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 471 235 596 250" anchor="top right"/>
  251. <CheckBox id="chk_eduhandcap3" taborder="17" text="언어적(Language)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 341 252 461 267" anchor="top right"/>
  252. <CheckBox id="chk_eduhandcap4" taborder="18" text="정서적(Psychological)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 471 252 616 267" anchor="top right"/>
  253. <CheckBox id="chk_eduhandcap5" taborder="19" text="신체적(Physical)" value="N" truevalue="Y" falsevalue="N" onclick="chk_eduhandcap5_onclick" enable="false" position="absolute 341 269 461 284" anchor="top right"/>
  254. <CheckBox id="chk_eduhandcap6" taborder="20" text="경제적(Financial)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 471 269 616 284" anchor="top right"/>
  255. <CheckBox id="chk_eduhandcap9ck" taborder="21" text="기타" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 341 286 396 301" onclick="chk_eduhandcap9ck_onclick" anchor="top right"/>
  256. <CheckBox id="chk_eduway1" taborder="22" text="구두(Verbal)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 788 112 913 127" anchor="top right"/>
  257. <CheckBox id="chk_eduway2" taborder="23" text="유인물(Handout)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 968 112 1093 127" anchor="top right"/>
  258. <CheckBox id="chk_eduway3" taborder="24" text="시범 보이기(Demonstration)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 788 136 963 151" anchor="top right"/>
  259. <CheckBox id="chk_eduway4" taborder="25" text="시청각 매체(가능하다면)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 968 136 1128 151" anchor="top right"/>
  260. <CheckBox id="chk_eduway5" taborder="26" text="통역연결(Interpreter)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 788 160 933 175" anchor="top right"/>
  261. <CheckBox id="chk_eduway9ck" taborder="27" text="기타" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 968 160 1018 175" onclick="chk_eduway9ck_onclick" anchor="top right"/>
  262. <CheckBox id="chk_eduneed1" taborder="28" text="질환 및 치료(Disease and/or Treatments)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 788 190 1128 205" anchor="top right"/>
  263. <CheckBox id="chk_eduneed2" taborder="29" text="약물(Meds)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 788 214 1128 229" anchor="top right"/>
  264. <CheckBox id="chk_eduneed3" taborder="30" text="영양(Diet)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 788 237 1128 252" anchor="top right"/>
  265. <CheckBox id="chk_eduneed4" taborder="31" text="퇴원 후 자가간호(Self-Care after Discharge)" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 788 260 1128 275" anchor="top right"/>
  266. <CheckBox id="chk_eduneed9ck" taborder="32" text="기타" value="N" truevalue="Y" falsevalue="N" enable="false" position="absolute 788 284 833 299" onclick="chk_eduneed9ck_onclick" anchor="top right"/>
  267. <Button id="btn_save" taborder="33" text="저장" onclick="btn_save_onclick" class="btn3" position="absolute 949 317 1005 339" anchor="top right"/>
  268. <Static id="caption14" position="absolute 984 84 1099 99" anchor="top right"/>
  269. <Static id="caption15" position="absolute 741 84 906 99" mask="####/##/## ##:##" anchor="top right"/>
  270. <Grid id="grd_datagrid3" taborder="34" binddataset="ds_main_educorddaylist" useinputpanel="false" autofittype="col" oncelldblclick="datagrid3_oncelldblclick" position="absolute 12 107 222 307" anchor="left top right">
  271. <Formats>
  272. <Format id="default">
  273. <Columns>
  274. <Column size="127"/>
  275. <Column size="46"/>
  276. <Column size="0"/>
  277. <Column size="0"/>
  278. <Column size="0"/>
  279. <Column size="0"/>
  280. <Column size="0"/>
  281. </Columns>
  282. <Rows>
  283. <Row size="24" band="head"/>
  284. <Row size="24"/>
  285. </Rows>
  286. <Band id="head">
  287. <Cell text="작성일시"/>
  288. <Cell col="1" text="삭제"/>
  289. <Cell col="2" text="기관코드"/>
  290. <Cell col="3" text="등록번호"/>
  291. <Cell col="4" text="진료(입원)일"/>
  292. <Cell col="5" text="원무키"/>
  293. <Cell col="6" text="이력순번"/>
  294. </Band>
  295. <Band id="body">
  296. <Cell text="bind:fstrgstdt"/>
  297. <Cell col="1" text="bind:delyn"/>
  298. <Cell col="2" text="bind:instcd"/>
  299. <Cell col="3" text="bind:pid"/>
  300. <Cell col="4" text="bind:orddd" mask="yyyy-mm-dd"/>
  301. <Cell col="5" text="bind:cretno"/>
  302. <Cell col="6" text="bind:histno"/>
  303. </Band>
  304. </Format>
  305. </Formats>
  306. </Grid>
  307. <Div id="roundrect1" type="roundrectangle" position="absolute 12 10 1192 75" class="div_SA2" anchor="left top right"/>
  308. <Static id="caption2" text="환자번호 :" class="search_name" position="absolute 22 18 112 35"/>
  309. <Edit id="input1" taborder="35" onkeydown="input1_onkeydown" position="absolute 112 18 202 38"/>
  310. <Button id="btn_pat" taborder="36" onclick="btn_pat_onclick" class="icon_search" position="absolute 207 20 223 36"/>
  311. <Edit id="input2" taborder="37" position="absolute 227 18 337 38"/>
  312. <Static id="caption1" text="진료구분 :" class="search_name" position="absolute 22 45 112 62"/>
  313. <Radio id="radio2" taborder="38" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="radio2_onitemchanged" position="absolute 122 45 347 65">
  314. <Dataset id="innerdataset">
  315. <ColumnInfo>
  316. <Column id="codecolumn"/>
  317. <Column id="datacolumn"/>
  318. </ColumnInfo>
  319. <Rows>
  320. <Row>
  321. <Col id="codecolumn">ALL</Col>
  322. <Col id="datacolumn">전체</Col>
  323. </Row>
  324. <Row>
  325. <Col id="codecolumn">O</Col>
  326. <Col id="datacolumn">외래</Col>
  327. </Row>
  328. <Row>
  329. <Col id="codecolumn">I</Col>
  330. <Col id="datacolumn">입원</Col>
  331. </Row>
  332. </Rows>
  333. </Dataset>
  334. </Radio>
  335. <Static id="caption3" text="수진이력 :" class="search_name" position="absolute 347 45 464 62"/>
  336. <Static id="caption4" text="교육일자 :" class="search_name" position="absolute 692 45 787 62"/>
  337. <Combo id="combo1" taborder="39" innerdataset="@ds_init_ordlist" codecolumn="suminfo" datacolumn="info" onitemchanged="combo1_onitemchanged" position="absolute 437 45 682 65"/>
  338. <Calendar id="ipt_reqfromstnddd" taborder="40" enable="false" position="absolute 782 45 897 65" mask="yyyy-mm-dd"/>
  339. <Static id="caption11" text="~" class="search_n_b" position="absolute 902 45 914 62"/>
  340. <Calendar id="ipt_reqtostnddd" taborder="41" enable="false" position="absolute 917 45 1032 64" mask="yyyy-mm-dd"/>
  341. <CheckBox id="checkbox1" taborder="42" truevalue="0" onclick="checkbox1_onclick" position="absolute 1037 45 1057 65"/>
  342. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1104 45 1110 67" anchor="top right"/>
  343. <Button id="btn_srchall" taborder="43" text="조회" onclick="btn_srchall_onclick" class="btn1" position="absolute 1117 45 1173 67" anchor="top right"/>
  344. <Shape id="line00" class="line_1" position="absolute 11 101 1192 107" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  345. <cp_radioList id="rdo_eduhandcapyn" titletext="Radio List" taborder="44" text="cp_radioList00" scrollbars="none" position="absolute 340 209 672 232" style="background:transparent; " col="1" row="1" enable="false" anchor="top right"/>
  346. </Layout>
  347. </Layouts>
  348. <Objects>
  349. <Dataset id="ds_main_educordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  350. <ColumnInfo>
  351. <Column id="instcd" type="STRING" size="256"/>
  352. <Column id="pid" type="STRING" size="256"/>
  353. <Column id="orddd" type="STRING" size="256"/>
  354. <Column id="cretno" type="STRING" size="256"/>
  355. <Column id="histno" type="STRING" size="256"/>
  356. <Column id="delyn" type="STRING" size="256"/>
  357. <Column id="eduwho1" type="STRING" size="256"/>
  358. <Column id="eduwho2" type="STRING" size="256"/>
  359. <Column id="eduwho9" type="STRING" size="256"/>
  360. <Column id="eduwho9ck" type="STRING" size="256"/>
  361. <Column id="eduwill1" type="STRING" size="256"/>
  362. <Column id="eduwill9" type="STRING" size="256"/>
  363. <Column id="eduhandcapyn" type="STRING" size="256"/>
  364. <Column id="eduhandcap1" type="STRING" size="256"/>
  365. <Column id="eduhandcap2" type="STRING" size="256"/>
  366. <Column id="eduhandcap3" type="STRING" size="256"/>
  367. <Column id="eduhandcap4" type="STRING" size="256"/>
  368. <Column id="eduhandcap5" type="STRING" size="256"/>
  369. <Column id="eduhandcap6" type="STRING" size="256"/>
  370. <Column id="eduhandcap9" type="STRING" size="256"/>
  371. <Column id="eduhandcap9ck" type="STRING" size="256"/>
  372. <Column id="eduway1" type="STRING" size="256"/>
  373. <Column id="eduway2" type="STRING" size="256"/>
  374. <Column id="eduway3" type="STRING" size="256"/>
  375. <Column id="eduway4" type="STRING" size="256"/>
  376. <Column id="eduway5" type="STRING" size="256"/>
  377. <Column id="eduway9" type="STRING" size="256"/>
  378. <Column id="eduway9ck" type="STRING" size="256"/>
  379. <Column id="eduneed1" type="STRING" size="256"/>
  380. <Column id="eduneed2" type="STRING" size="256"/>
  381. <Column id="eduneed3" type="STRING" size="256"/>
  382. <Column id="eduneed4" type="STRING" size="256"/>
  383. <Column id="eduneed9" type="STRING" size="256"/>
  384. <Column id="eduneed9ck" type="STRING" size="256"/>
  385. <Column id="fstrgstrid" type="STRING" size="256"/>
  386. <Column id="fstrgstdt" type="STRING" size="256"/>
  387. <Column id="lastupdtrid" type="STRING" size="256"/>
  388. <Column id="lastupdtdt" type="STRING" size="256"/>
  389. <Column id="usernm" type="STRING" size="256"/>
  390. </ColumnInfo>
  391. <Rows>
  392. <Row>
  393. <Col id="instcd"/>
  394. <Col id="pid"/>
  395. <Col id="orddd"/>
  396. <Col id="cretno"/>
  397. <Col id="histno"/>
  398. <Col id="delyn"/>
  399. <Col id="eduwho1"/>
  400. <Col id="eduwho2"/>
  401. <Col id="eduwho9"/>
  402. <Col id="eduwho9ck"/>
  403. <Col id="eduwill1"/>
  404. <Col id="eduwill9"/>
  405. <Col id="eduhandcapyn"/>
  406. <Col id="eduhandcap1"/>
  407. <Col id="eduhandcap2"/>
  408. <Col id="eduhandcap3"/>
  409. <Col id="eduhandcap4"/>
  410. <Col id="eduhandcap5"/>
  411. <Col id="eduhandcap6"/>
  412. <Col id="eduhandcap9"/>
  413. <Col id="eduhandcap9ck"/>
  414. <Col id="eduway1"/>
  415. <Col id="eduway2"/>
  416. <Col id="eduway3"/>
  417. <Col id="eduway4"/>
  418. <Col id="eduway5"/>
  419. <Col id="eduway9"/>
  420. <Col id="eduway9ck"/>
  421. <Col id="eduneed1"/>
  422. <Col id="eduneed2"/>
  423. <Col id="eduneed3"/>
  424. <Col id="eduneed4"/>
  425. <Col id="eduneed9"/>
  426. <Col id="eduneed9ck"/>
  427. <Col id="fstrgstrid"/>
  428. <Col id="fstrgstdt"/>
  429. <Col id="lastupdtrid"/>
  430. <Col id="lastupdtdt"/>
  431. <Col id="usernm"/>
  432. </Row>
  433. </Rows>
  434. </Dataset>
  435. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  436. <Dataset id="ds_main_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  437. <Dataset id="ds_main_educcntslist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  438. <Dataset id="ds_main_educorddaylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  439. <Dataset id="ds_init_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  440. <ColumnInfo>
  441. <Column id="pid" type="STRING" size="256"/>
  442. <Column id="orddd" type="STRING" size="256"/>
  443. <Column id="cretno" type="STRING" size="256"/>
  444. </ColumnInfo>
  445. <Rows>
  446. <Row/>
  447. </Rows>
  448. </Dataset>
  449. <Dataset id="ds_init_ordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  450. <Dataset id="ds_init_J000000001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  451. <Dataset id="ds_init_J000000002" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  452. <Dataset id="ds_init_J000000003" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  453. <Dataset id="ds_init_J000000004" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  454. <Dataset id="ds_init_J000000005" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  455. <Dataset id="ds_init_J000000010" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  456. <Dataset id="ds_init_J000000014" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  457. <Dataset id="ds_init_R000000001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  458. <ColumnInfo>
  459. <Column id="cdno" type="STRING" size="256"/>
  460. <Column id="cdnm" type="STRING" size="256"/>
  461. <Column id="Column0" type="STRING" size="256"/>
  462. </ColumnInfo>
  463. </Dataset>
  464. <Dataset id="ds_hidden_pidpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  465. <Dataset id="ds_hidden_resultref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  466. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  467. <ColumnInfo>
  468. <Column id="pid" type="STRING" size="256"/>
  469. <Column id="pnm" type="STRING" size="256"/>
  470. <Column id="ordtype" type="STRING" size="256"/>
  471. </ColumnInfo>
  472. <Rows>
  473. <Row>
  474. <Col id="ordtype">ALL</Col>
  475. </Row>
  476. </Rows>
  477. </Dataset>
  478. <Dataset id="ds_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  479. <ColumnInfo>
  480. <Column id="pid" type="STRING" size="256"/>
  481. <Column id="orddd" type="STRING" size="256"/>
  482. <Column id="cretno" type="STRING" size="256"/>
  483. <Column id="fromdd" type="STRING" size="256"/>
  484. <Column id="todd" type="STRING" size="256"/>
  485. <Column id="daycheck" type="STRING" size="256"/>
  486. <Column id="ordtype" type="STRING" size="256"/>
  487. </ColumnInfo>
  488. <Rows>
  489. <Row>
  490. <Col id="pid"/>
  491. <Col id="orddd"/>
  492. <Col id="cretno"/>
  493. <Col id="fromdd"/>
  494. <Col id="todd"/>
  495. <Col id="daycheck"/>
  496. <Col id="ordtype"/>
  497. </Row>
  498. </Rows>
  499. </Dataset>
  500. <Dataset id="ds_init_eduhandcapyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  501. <ColumnInfo>
  502. <Column id="cdid" type="STRING" size="256"/>
  503. <Column id="cdnm" type="STRING" size="256"/>
  504. </ColumnInfo>
  505. <Rows>
  506. <Row>
  507. <Col id="cdid">N</Col>
  508. <Col id="cdnm">없음(No)</Col>
  509. </Row>
  510. <Row>
  511. <Col id="cdid">Y</Col>
  512. <Col id="cdnm">있음(Yes) (있을 경우 아래에 표시)</Col>
  513. </Row>
  514. </Rows>
  515. </Dataset>
  516. <Dataset id="ds_main_popupendflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  517. <ColumnInfo>
  518. <Column id="popupendflag" type="STRING" size="256"/>
  519. </ColumnInfo>
  520. <Rows>
  521. <Row/>
  522. </Rows>
  523. </Dataset>
  524. <Dataset id="ds_send_educcntslists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  525. <Dataset id="ds_hidden_msglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  526. <Dataset id="ds_searchneed" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  527. </Objects>
  528. <Bind>
  529. <BindItem id="item11" compid="rdo_eduwill" propid="value" datasetid="ds_main_educordlist" columnid="eduwill1"/>
  530. <BindItem id="item10" compid="ipt_eduwho9" propid="visible" datasetid="ds_main_educordlist" columnid="eduwho9"/>
  531. <BindItem id="item12" compid="ipt_eduwill9" propid="visible" datasetid="ds_main_educordlist" columnid="eduwill9"/>
  532. <BindItem id="item20" compid="ipt_eduhandcap9" propid="value" datasetid="ds_main_educordlist" columnid="eduhandcap9"/>
  533. <BindItem id="item27" compid="ipt_eduway9" propid="value" datasetid="ds_main_educordlist" columnid="eduway9"/>
  534. <BindItem id="item33" compid="ipt_eduneed9" propid="value" datasetid="ds_main_educordlist" columnid="eduneed9"/>
  535. <BindItem id="item7" compid="chk_eduwho1" propid="value" datasetid="ds_main_educordlist" columnid="eduwho1"/>
  536. <BindItem id="item8" compid="chk_eduwho2" propid="value" datasetid="ds_main_educordlist" columnid="eduwho2"/>
  537. <BindItem id="item9" compid="chk_eduwho9" propid="value" datasetid="ds_main_educordlist" columnid="eduwho9ck"/>
  538. <BindItem id="item13" compid="chk_eduhandcap1" propid="value" datasetid="ds_main_educordlist" columnid="eduhandcap1"/>
  539. <BindItem id="item16" compid="chk_eduhandcap2" propid="value" datasetid="ds_main_educordlist" columnid="eduhandcap2"/>
  540. <BindItem id="item14" compid="chk_eduhandcap3" propid="value" datasetid="ds_main_educordlist" columnid="eduhandcap3"/>
  541. <BindItem id="item15" compid="chk_eduhandcap4" propid="value" datasetid="ds_main_educordlist" columnid="eduhandcap4"/>
  542. <BindItem id="item17" compid="chk_eduhandcap5" propid="value" datasetid="ds_main_educordlist" columnid="eduhandcap5"/>
  543. <BindItem id="item18" compid="chk_eduhandcap6" propid="value" datasetid="ds_main_educordlist" columnid="eduhandcap6"/>
  544. <BindItem id="item19" compid="chk_eduhandcap9ck" propid="value" datasetid="ds_main_educordlist" columnid="eduhandcap9ck"/>
  545. <BindItem id="item21" compid="chk_eduway1" propid="value" datasetid="ds_main_educordlist" columnid="eduway1"/>
  546. <BindItem id="item24" compid="chk_eduway2" propid="value" datasetid="ds_main_educordlist" columnid="eduway2"/>
  547. <BindItem id="item22" compid="chk_eduway3" propid="value" datasetid="ds_main_educordlist" columnid="eduway3"/>
  548. <BindItem id="item25" compid="chk_eduway4" propid="value" datasetid="ds_main_educordlist" columnid="eduway4"/>
  549. <BindItem id="item23" compid="chk_eduway5" propid="value" datasetid="ds_main_educordlist" columnid="eduway5"/>
  550. <BindItem id="item26" compid="chk_eduway9ck" propid="value" datasetid="ds_main_educordlist" columnid="eduneed9ck"/>
  551. <BindItem id="item28" compid="chk_eduneed1" propid="value" datasetid="ds_main_educordlist" columnid="eduneed1"/>
  552. <BindItem id="item29" compid="chk_eduneed2" propid="value" datasetid="ds_main_educordlist" columnid="eduneed2"/>
  553. <BindItem id="item30" compid="chk_eduneed3" propid="value" datasetid="ds_main_educordlist" columnid="eduneed3"/>
  554. <BindItem id="item31" compid="chk_eduneed4" propid="value" datasetid="ds_main_educordlist" columnid="eduneed4"/>
  555. <BindItem id="item32" compid="chk_eduneed9ck" propid="value" datasetid="ds_main_educordlist" columnid="eduneed9ck"/>
  556. <BindItem id="item35" compid="caption14" propid="text" datasetid="ds_main_educordlist" columnid="usernm"/>
  557. <BindItem id="item34" compid="caption15" propid="text" datasetid="ds_main_educordlist" columnid="fstrgstdt"/>
  558. <BindItem id="item36" compid="caption15" propid="mask" datasetid="ds_datagrid2" columnid="fstrgstdt"/>
  559. <BindItem id="item0" compid="input1" propid="value" datasetid="ds_send_reqdata" columnid="pid"/>
  560. <BindItem id="item1" compid="input2" propid="value" datasetid="ds_send_reqdata" columnid="pnm"/>
  561. <BindItem id="item4" compid="radio2" propid="value" datasetid="ds_send_reqdata" columnid="ordtype"/>
  562. <BindItem id="item2" compid="ipt_reqfromstnddd" propid="value" datasetid="ds_search" columnid="fromdd"/>
  563. <BindItem id="item3" compid="ipt_reqtostnddd" propid="value" datasetid="ds_search" columnid="todd"/>
  564. <BindItem id="item5" compid="checkbox1" propid="value" datasetid="ds_search" columnid="daycheck"/>
  565. </Bind>
  566. <InitValue>
  567. <Static id="caption15" mask="####/##/## ##:##"/>
  568. </InitValue>
  569. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  570. * System Name :
  571. * Job Name :
  572. * Creator :
  573. * Make Date : 2015-01-14
  574. * Description :
  575. *---------------------------------------------------------------------------------------
  576. * Modify Date Modifier Modify Description
  577. *---------------------------------------------------------------------------------------
  578. * 2015-01-14 Live Converter TF->XP
  579. *
  580. *---------------------------------------------------------------------------------------
  581. ****************************************************************************************/
  582. include "com_commonxp::comm_main.xjs";
  583. include "emr_jcimngtxp::SMMRJ00200.xjs";
  584. /******************************************************************
  585. * Argument :
  586. * Description : 초기화
  587. ******************************************************************/
  588. function SMMRJ00200_oninit(obj:Form, e:InitEventInfo)
  589. {
  590. frmf_initForm(obj);
  591. }
  592. function SMMRJ00200_onload(obj:Form, e:LoadEventInfo)
  593. {
  594. //List 0번째 상태값 설정
  595. grdf_setRowTypeIcon(datagrid1, 0);
  596. fInit();
  597. }
  598. /******************************************************************
  599. * Argument :
  600. * Description : 환자번호 KeyDown Event
  601. ******************************************************************/
  602. function input1_onkeydown(obj:Edit, e:KeyEventInfo)
  603. {
  604. if( e.keycode == 13 ){
  605. ds_send_reqdata.setColumn(0, "pid", input1.value);
  606. fGetPid("ds_send_reqdata");
  607. }
  608. }
  609. /******************************************************************
  610. * Argument :
  611. * Description : 환자번호 Button Event
  612. ******************************************************************/
  613. function btn_pat_onclick(obj:Button, e:ClickEventInfo)
  614. {
  615. ds_send_reqdata.setColumn(0, "pid", input1.value);
  616. fGetPid("ds_send_reqdata");
  617. }
  618. /******************************************************************
  619. * Argument :
  620. * Description : 진료구분 OnClick Event
  621. ******************************************************************/
  622. function radio2_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  623. {
  624. fSearchOrdList();
  625. }
  626. /******************************************************************
  627. * Argument :
  628. * Description : 수진이력 Combo Event
  629. ******************************************************************/
  630. function combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  631. {
  632. fChangeValueOrdList("change");
  633. }
  634. /******************************************************************
  635. * Argument :
  636. * Description : 조회 항목 CheckBox Event
  637. ******************************************************************/
  638. function checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  639. {
  640. if( ds_search.getColumn(0, "daycheck") == "0" ){
  641. ipt_reqfromstnddd.enable = true;
  642. ipt_reqtostnddd.enable = true;
  643. button3.visible = false;
  644. } else {
  645. ds_search.setColumn(0, "daycheck", "");
  646. ipt_reqfromstnddd.enable = false;
  647. ipt_reqtostnddd.enable = false;
  648. button3.visible = true;
  649. }
  650. }
  651. /******************************************************************
  652. * Argument :
  653. * Description : 조회 Button Event
  654. ******************************************************************/
  655. function btn_srchall_onclick(obj:Button, e:ClickEventInfo)
  656. {
  657. fSelectOrdCntsList();
  658. }
  659. /******************************************************************
  660. * Argument :
  661. * Description : 교육요구 기타 Event
  662. ******************************************************************/
  663. function chk_eduwho9_onclick(obj:CheckBox, e:ClickEventInfo)
  664. {
  665. if( chk_eduwho9.value == "Y" ){
  666. fCheckOtherYn(ipt_eduwho9,"Y");
  667. } else {
  668. fCheckOtherYn(ipt_eduwho9,"N");
  669. }
  670. }
  671. /******************************************************************
  672. * Argument :
  673. * Description : 교육 장애요인 기타 Event
  674. ******************************************************************/
  675. function chk_eduhandcap9ck_onclick(obj:CheckBox, e:ClickEventInfo)
  676. {
  677. if( chk_eduhandcap9ck.value == "Y" ){
  678. fCheckOtherYn(ipt_eduhandcap9,"Y");
  679. } else {
  680. fCheckOtherYn(ipt_eduhandcap9,"N");
  681. }
  682. }
  683. /******************************************************************
  684. * Argument :
  685. * Description : 교육방법 기타 Event
  686. ******************************************************************/
  687. function chk_eduway9ck_onclick(obj:CheckBox, e:ClickEventInfo)
  688. {
  689. if( chk_eduway9ck.value == "Y" ){
  690. fCheckOtherYn(ipt_eduway9,"Y");
  691. } else {
  692. fCheckOtherYn(ipt_eduway9,"N");
  693. }
  694. }
  695. /******************************************************************
  696. * Argument :
  697. * Description : 원하는 교육 내용 기타 Event
  698. ******************************************************************/
  699. function chk_eduneed9ck_onclick(obj:CheckBox, e:ClickEventInfo)
  700. {
  701. if( chk_eduneed9ck.value == "Y" ){
  702. fCheckOtherYn(ipt_eduneed9,"Y");
  703. } else {
  704. fCheckOtherYn(ipt_eduneed9,"N");
  705. }
  706. }
  707. /******************************************************************
  708. * Argument :
  709. * Description : 추가입력 Button Event
  710. ******************************************************************/
  711. function button3_onclick(obj:Button, e:ClickEventInfo)
  712. {
  713. fGetAddPopup();
  714. }
  715. /******************************************************************
  716. * Argument :
  717. * Description : 저장 Button Event
  718. ******************************************************************/
  719. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  720. {
  721. var oDsUpdate = grdf_getGridUpdateData(datagrid1);
  722. if( oDsUpdate.rowcount < 1 ){
  723. sysf_messageBox("입력","E013");
  724. return;
  725. }
  726. grdf_setStatusColumn(oDsUpdate, "status"); // 각행의 status에 rowType 값에 따라 'i', 'u', 'd'로 업데이트 시켜준다
  727. ds_send_educcntslists.copyData(oDsUpdate, true);
  728. var oParam = {};
  729. oParam.id = "TXMRJ00202";
  730. oParam.service = "jcimngtapp.JcimngtBase";
  731. oParam.method = "reqSetEduOrdCntsLists";
  732. oParam.inds = "educcntslists=ds_send_educcntslists educordlists=ds_main_educordlist";
  733. oParam.outds = "ds_hidden_msglist=msglist";
  734. oParam.async = false;
  735. oParam.callback = "cf_TXMRJ00202";
  736. tranf_submit(oParam);
  737. if( arErrorCode.pop("TXMRJ00202") > -1 ){
  738. fSelectOrdCntsList();
  739. }
  740. }
  741. /******************************************************************
  742. * Argument :
  743. * Description : 행삭제 Button Event
  744. ******************************************************************/
  745. function button4_onclick(obj:Button, e:ClickEventInfo)
  746. {
  747. fClickDeleteBtn();
  748. }
  749. function fClickDeleteBtn(){
  750. var cur_row = ds_main_educcntslist.rowposition;
  751. if( sysf_getUserId()!= ds_main_educcntslist.getColumn(cur_row, "fstrgstrid") && !utlf_isNull(ds_main_educcntslist.getColumn(cur_row, "fstrgstrid"))){
  752. alert("등록자만 삭제 할 수 있습니다.");
  753. return;
  754. }
  755. if( ds_main_educcntslist.getColumn(cur_row, "linkcd") !="-"&& !utlf_isNull(ds_main_educcntslist.getColumn(cur_row, "fstrgstrid"))){
  756. alert("완료건은 삭제 할 수 없습니다.");
  757. return;
  758. }
  759. var iStatus = datagrid1.getRowType(cur_row);
  760. if(cur_row < -1 ) {
  761. alert("삭제할 행을 선택하세요");
  762. return;
  763. }
  764. if (iStatus == ds_datagrid1.ROWTYPE_INSERT){
  765. datagrid1.deleteContentsRow(cur_row);
  766. }else if (iStatus == ds_datagrid1.ROWTYPE_DELETE ){
  767. grdf_setStatus(datagrid1, "", grdf_getSelectedRows(datagrid1));
  768. }else{
  769. grdf_setStatus(datagrid1, "D", grdf_getSelectedRows(datagrid1));
  770. }
  771. }
  772. /******************************************************************
  773. * Argument :
  774. * Description : 교육 자료 출력 Button Event
  775. ******************************************************************/
  776. function button2_onclick(obj:Button, e:ClickEventInfo)
  777. {
  778. frmf_modal("SPMRJ00700", "SPMRJ00700", null, null, null, null, null, null, null, null, null, null, "M");
  779. }
  780. /******************************************************************
  781. * Argument :
  782. * Description : 교육요구 사정도 리스트 Event
  783. ******************************************************************/
  784. function datagrid3_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  785. {
  786. var cRow = ds_main_educorddaylist.rowposition;
  787. if( cRow > 0 ){
  788. fGetSearchNeed(row);
  789. }
  790. }
  791. /******************************************************************
  792. * Argument :
  793. * Description : 교육요구 사정도 리스트 Event
  794. ******************************************************************/
  795. function fGetSearchNeed(row)
  796. {
  797. ds_searchneed.clearData();
  798. dsf_createDsRow("ds_searchneed",
  799. [{col:"instcd", type:"string", size:256, val:ds_main_educorddaylist.getColumn(row, "instcd")}
  800. , {col:"pid", type:"string", size:256, val:ds_main_educorddaylist.getColumn(row, "pid")}
  801. , {col:"orddd", type:"string", size:256, val:ds_main_educorddaylist.getColumn(row, "orddd")}
  802. , {col:"cretno", type:"string", size:256, val:ds_main_educorddaylist.getColumn(row, "cretno")}
  803. , {col:"histno", type:"string", size:256, val:ds_main_educorddaylist.getColumn(row, "histno")}], true);
  804. var oParam = {};
  805. oParam.id = "TRMRJ00203";
  806. oParam.service = "jcimngtapp.JcimngtBase";
  807. oParam.method = "reqGetEducNeedList";
  808. oParam.inds = "req=ds_searchneed";
  809. oParam.outds = "ds_main_educordlist=educordlist";
  810. oParam.async = false;
  811. //oParam.callback = "cf_TRMRJ00203";
  812. tranf_submit(oParam);
  813. fCheckOtherYn(ipt_eduwho9 ,chk_eduwho9.value);
  814. fCheckOtherYn(ipt_eduhandcap9 ,chk_eduhandcap9ck.value);
  815. fCheckOtherYn(ipt_eduway9 ,chk_eduway9ck.value);
  816. fCheckOtherYn(ipt_eduneed9 ,chk_eduneed9ck.value);
  817. if( rdo_eduwill.value== "999" ){
  818. fCheckOtherYn(ipt_eduwill9,"Y");
  819. }else{
  820. fCheckOtherYn(ipt_eduwill9,"N");
  821. }
  822. }]]></Script>
  823. </Form>
  824. </FDL>