SMMNO05000_외래해피콜.xrw 60 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>외래 해피콜</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <cond>
  11. <orddeptcd/>
  12. <fromdd/>
  13. <todd/>
  14. <actstatflagm>Y</actstatflagm>
  15. <actstatflagn/>
  16. <actstatflagy/>
  17. <actstatflag/>
  18. <actstat/>
  19. </cond>
  20. <cnstinfo>
  21. <cnstlist>
  22. </cnstlist>
  23. </cnstinfo>
  24. <cnst>
  25. <pid/>
  26. <patnm/>
  27. <deptcd/>
  28. <intvflag/>
  29. <userid/>
  30. <guardiangubn/>
  31. <orddd/>
  32. <rsrvflag/>
  33. <mpphontel/>
  34. <sexage/>
  35. <addr/>
  36. <orddeptnm/>
  37. <orddrnm/>
  38. <instcd/>
  39. <cretno/>
  40. <ordtype/>
  41. <actstat/>
  42. <healthstat/>
  43. <medicineyn/>
  44. <hselreson/>
  45. <goodimpo/>
  46. <prcduimpo/>
  47. <drgrades/>
  48. <nrgrades/>
  49. <satisfaction/>
  50. <revisit/>
  51. <ohgood/>
  52. <ohindisp/>
  53. <reservinfoyn/>
  54. <nextdr/>
  55. <nextdd/>
  56. <nexttm/>
  57. <othercnst/>
  58. <usernm/>
  59. <nothingyn/>
  60. <nothingchk/>
  61. <nothingrmk/>
  62. <ohgoodcd/>
  63. <ohindispcd/>
  64. </cnst>
  65. </main>
  66. <send>
  67. <reqdata/>
  68. <savedata/>
  69. </send>
  70. <temp/>
  71. <codeinfo/>
  72. </root>
  73. </instance>
  74. <script type="javascript" ev:event="xforms-ready">
  75. <![CDATA[
  76. var instnm=getUserInfo("dutplceinstnm");
  77. var deptnm=getUserInfo("dutplcenm");
  78. var nursenm=getUserInfo("usernm");
  79. var txtbox = "";
  80. txtbox = "안녕 하십니까?\n저는 "+ instnm +" "+deptnm+" 외래 "+nursenm+"입니다.\n님 께서 (오늘) 받으셨던 진료에 대해 몇 가지 질문을 드리고 궁금한 점에 대해\n도움을 드리고자 연락을 드렸습니다. (전화 가능하신지요?)";
  81. cpt_textbox.value = txtbox;
  82. var instcd = getUserInfo("dutplceinstcd");
  83. var standard_yn = "rcptuseyn";
  84. var ord_deptflag = 'X';
  85. var rslt_ref = "/root/hidden/orddeptlist";
  86. var sort_field = "depthngnm";
  87. var sort_method = "asc";
  88. var dt = getCurrentDate();
  89. var pCode = "'C03','C04'"; // 조회할 CdGrupID 코드정보
  90. fGetNursHardCdInfo(pCode, dt);
  91. cmb_ohgoodcd.refresh();
  92. cmb_ohindispcd.refresh();
  93. zsdfGetCareOutOrderDepartmentList(instcd, rslt_ref, dt);
  94. model.setValue(cmb_orddept.attribute("ref"), getUserInfo("dutplcecd"));
  95. model.setValue(ipt_fromdd.attribute("ref"), dt);
  96. model.setValue(ipt_todd.attribute("ref"), dt);
  97. cmb_orddept.refresh();
  98. ipt_fromdd.refresh();
  99. ipt_todd.refresh();
  100. ]]>
  101. </script>
  102. <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  103. <submission id="TRMNO12000" mediatype="application/x-www-form-urlencoded" method="urlencoded-post" ref="/root/send/reqdata" replace="instance" resultref="/root/main/cnstinfo"/>
  104. <submission id="TXMNO12000" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata/saveinfo" resultref="/root/temp"/>
  105. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/codeinfo"/>
  106. </model>
  107. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  108. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  110. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  111. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  112. <script type="javascript">
  113. <![CDATA[
  114. function fSearch() {
  115. var actstatflagm = model.getValue("/root/main/cond/actstatflagm");
  116. var actstatflagn = model.getValue("/root/main/cond/actstatflagn");
  117. var actstatflagy = model.getValue("/root/main/cond/actstatflagy");
  118. var actstatflag = "/root/main/cond/actstatflag";
  119. if(actstatflagm == "Y" && actstatflagn == "" && actstatflagy == "" ){
  120. model.setValue(actstatflag,"1"); // 미진행
  121. }else if(actstatflagm == "" && actstatflagn == "Y" && actstatflagy == "" ){
  122. model.setValue(actstatflag,"2"); // 진행중
  123. }else if(actstatflagm == "" && actstatflagn == "" && actstatflagy == "Y" ){
  124. model.setValue(actstatflag,"3"); // 완료
  125. }else if(actstatflagm == "Y" && actstatflagn == "Y" && actstatflagy == "" ){
  126. model.setValue(actstatflag,"4"); // 미진행, 진행중
  127. }else if(actstatflagm == "Y" && actstatflagn == "" && actstatflagy == "Y" ){
  128. model.setValue(actstatflag,"5"); // 미진행, 완료
  129. }else if(actstatflagm == "" && actstatflagn == "Y" && actstatflagy == "Y" ){
  130. model.setValue(actstatflag,"6"); // 진행중, 완료
  131. }else if(actstatflagm == "Y" && actstatflagn == "Y" && actstatflagy == "Y" ){
  132. model.setValue(actstatflag,"7"); // 미진행, 진행중, 완료
  133. }else{
  134. model.setValue(actstatflag,""); // 체크 안했을때
  135. }
  136. model.removeNodeset("/root/send");
  137. model.makeNode("/root/send/reqdata");
  138. model.copyNode("/root/send/reqdata", "/root/main/cond");
  139. submit("TRMNO12000");
  140. }
  141. ]]>
  142. </script>
  143. </xhtml:head>
  144. <xhtml:body style="font-family:굴림, Arial; vertical-align:middle; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  145. <group id="group3" style="left:0px; top:0px; width:1195px; height:776px; font-family:굴림; vertical-align:middle; ">
  146. <caption id="cpt_title" class="tit_1" style="left:0px; top:0px; width:145px; height:14px; font-family:굴림; vertical-align:middle; ">외래 해피콜</caption>
  147. <group id="grp_sea" style="left:0px; top:20px; width:550px; height:70px; font-family:굴림; vertical-align:top; ">
  148. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:550px; height:70px; font-family:굴림; "/>
  149. <caption id="caption3" class="search_name" style="left:5px; top:9px; width:73px; height:17px; font-family:굴림; ">진료일 :</caption>
  150. <input id="ipt_fromdd" ref="/root/main/cond/fromdd" class="input_s_essential" navindex="2" inputtype="date" style="left:80px; top:8px; width:95px; height:19px; font-family:굴림; "/>
  151. <input id="ipt_todd" ref="/root/main/cond/todd" class="input_s_essential" navindex="2" inputtype="date" style="left:190px; top:8px; width:95px; height:19px; font-family:굴림; "/>
  152. <caption id="caption4" style="left:173px; top:10px; width:20px; height:15px; font-family:굴림; text-align:center; ">~</caption>
  153. <select id="chk_actstatflagm" ref="/root/main/cond/actstatflagm" overflow="visible" appearance="full" style="left:130px; top:40px; width:55px; height:20px; font-family:굴림; border-style:none; ">
  154. <choices>
  155. <item>
  156. <label>미진행</label>
  157. <value>Y</value>
  158. </item>
  159. </choices>
  160. </select>
  161. <select id="chk_actstatflagn" ref="/root/main/cond/actstatflagn" overflow="visible" appearance="full" style="left:190px; top:40px; width:45px; height:20px; font-family:굴림; border-style:none; ">
  162. <choices>
  163. <item>
  164. <label>진행</label>
  165. <value>Y</value>
  166. </item>
  167. </choices>
  168. </select>
  169. <select id="chk_actstatflagy" ref="/root/main/cond/actstatflagy" overflow="visible" appearance="full" style="left:240px; top:40px; width:40px; height:20px; font-family:굴림; border-style:none; ">
  170. <choices>
  171. <item>
  172. <label>완료</label>
  173. <value>Y</value>
  174. </item>
  175. </choices>
  176. </select>
  177. <caption id="caption9" class="search_name" style="left:5px; top:40px; width:70px; height:17px; font-family:굴림; ">상 태 :</caption>
  178. <line id="line1" class="line_4" style="x1:475px; y1:10px; x2:475px; y2:60px; "/>
  179. <select id="chk_actstat" ref="/root/main/cond/actstat" overflow="visible" appearance="full" style="left:80px; top:40px; width:45px; height:20px; border-style:none; ">
  180. <choices>
  181. <item>
  182. <label>전체</label>
  183. <value>Y</value>
  184. </item>
  185. </choices>
  186. <script type="javascript" ev:event="xforms-value-changed">
  187. <![CDATA[
  188. if(chk_actstat.value == "Y"){
  189. chk_actstatflagm.value = "Y";
  190. chk_actstatflagn.value = "Y";
  191. chk_actstatflagy.value = "Y";
  192. }else{
  193. chk_actstatflagm.value = "";
  194. chk_actstatflagn.value = "";
  195. chk_actstatflagy.value = "";
  196. }
  197. chk_actstatflagm.refresh();
  198. chk_actstatflagn.refresh();
  199. chk_actstatflagy.refresh();
  200. ]]>
  201. </script>
  202. </select>
  203. </group>
  204. <select1 id="cmb_orddept" ref="/root/main/cond/orddeptcd" class="combo_s_essential" navindex="1" appearance="minimal" style="left:375px; top:29px; width:95px; height:19px; font-family:굴림; text-align:left; ">
  205. <choices>
  206. <itemset nodeset="/root/hidden/orddeptlist/dept">
  207. <label ref="depthngnm"/>
  208. <value ref="deptcd"/>
  209. </itemset>
  210. </choices>
  211. </select1>
  212. <caption id="caption25" class="search_name" style="left:295px; top:30px; width:73px; height:17px; font-family:굴림; ">진료과 :</caption>
  213. <button id="button1" class="btn1_letter2" navindex="7" style="left:485px; top:30px; width:56px; height:22px; font-family:굴림; ">
  214. <caption>조회</caption>
  215. <script type="javascript" ev:event="DOMActivate">
  216. <![CDATA[
  217. fSearch() ;
  218. ]]>
  219. </script>
  220. </button>
  221. <caption id="caption28" class="search_name" style="left:567px; top:20px; width:73px; height:17px; font-family:굴림; ">조사자 :</caption>
  222. <input id="ipt_usernm" ref="/root/main/cnst/usernm" disabled="true" style="left:750px; top:20px; width:65px; height:19px; font-family:굴림; "/>
  223. <button id="btn_save" class="btn3_letter2" navindex="8" style="left:1060px; top:19px; width:56px; height:22px; font-family:굴림; ">
  224. <caption>저장</caption>
  225. <script type="javascript" ev:event="DOMActivate">
  226. <![CDATA[
  227. var txtbox = "";
  228. var instnm=getUserInfo("dutplceinstnm");
  229. var msg = "";
  230. if(model.getValue("/root/main/cnst/instcd") == "") {
  231. messageBox("환자를 선택해주십시오.", "I");
  232. return;
  233. }
  234. if(model.getValue("/root/main/cnst/actstat") == "M"){ // 처리완료를 선택하지 않고 저장 하는경우 상태값이 진행중(N)으로 바뀜
  235. model.setValue("/root/main/cnst/actstat","N");
  236. }else if (model.getValue("/root/main/cnst/actstat") == "Y"){
  237. if(model.getValue("/root/main/cnst/nothingyn") == 'Y'){
  238. if(model.getValue("/root/main/cnst/nothingchk") == ""){
  239. messageBox("전체 항목 해당없음이 선택되어있습니다. 사유를 선택하십시오.", "I");
  240. return;
  241. }
  242. }
  243. if(model.getValue("/root/main/cnst/nothingyn") != 'Y'){
  244. if(model.getValue("/root/main/cnst/guardiangubn") == ""){
  245. if(msg != ""){
  246. msg = msg+", 설문대상";
  247. }else{
  248. msg = "설문대상";
  249. }
  250. }
  251. }
  252. if(model.getValue("/root/main/cnst/healthstat") == ""){
  253. if(msg != ""){
  254. msg = msg+", 1번";
  255. }else{
  256. msg = "1번";
  257. }
  258. }
  259. if(model.getValue("/root/main/cnst/medicineyn") == ""){
  260. if(msg != ""){
  261. msg = msg+", 2번";
  262. }else{
  263. msg = "2번";
  264. }
  265. }
  266. if(model.getValue("/root/main/cnst/hselreson") == ""){
  267. if(msg != ""){
  268. msg = msg+", 3번";
  269. }else{
  270. msg = "3번";
  271. }
  272. }
  273. if(model.getValue("/root/main/cnst/goodimpo") == ""){
  274. if(msg != ""){
  275. msg = msg+", 4번";
  276. }else{
  277. msg = "4번";
  278. }
  279. }
  280. if(model.getValue("/root/main/cnst/prcduimpo") == ""){
  281. if(msg != ""){
  282. msg = msg+", 5번";
  283. }else{
  284. msg = "5번";
  285. }
  286. }
  287. if(model.getValue("/root/main/cnst/drgrades") == ""){
  288. if(msg != ""){
  289. msg = msg+", 6번";
  290. }else{
  291. msg = "6번";
  292. }
  293. }
  294. if(model.getValue("/root/main/cnst/nrgrades") == ""){
  295. if(msg != ""){
  296. msg = msg+", 7번";
  297. }else{
  298. msg = "7번";
  299. }
  300. }
  301. if(model.getValue("/root/main/cnst/satisfaction") == ""){
  302. if(msg != ""){
  303. msg = msg+", 8번";
  304. }else{
  305. msg = "8번";
  306. }
  307. }
  308. if(model.getValue("/root/main/cnst/revisit") == ""){
  309. if(msg != ""){
  310. msg = msg+", 9번";
  311. }else{
  312. msg = "9번";
  313. }
  314. }
  315. if(model.getValue("/root/main/cnst/reservinfoyn") == ""){
  316. if(msg != ""){
  317. msg = msg+", 11번";
  318. }else{
  319. msg = "11번";
  320. }
  321. }
  322. }
  323. if(msg != ""){
  324. messageBox(msg+"이 누락되었습니다.", "I");
  325. return;
  326. }
  327. cmb_deptcd.value = getUserInfo("dutplcecd");
  328. cmb_deptcd.refresh();
  329. model.setValue("/root/main/cnst/userid",getUserInfo("userid"));
  330. model.setValue("/root/main/cnst/usernm",getUserInfo("usernm"));
  331. txtbox = "안녕 하십니까?\n저는 "+ instnm +" "+cmb_deptcd.label+" 외래 "+ipt_usernm.value+"입니다.\n" + opt_patnm.value+"님 께서 (오늘) 받으셨던 진료에 대해 몇 가지 질문을 드리고 궁금한 점에 대해\n도움을 드리고자 연락을 드렸습니다. (전화 가능하신지요?)";
  332. cpt_textbox.value = txtbox;
  333. cpt_textbox.refresh();
  334. model.makeNode("/root/send/savedata/saveinfo");
  335. model.copyNode("/root/send/savedata/saveinfo", "/root/main/cnst");
  336. submit("TXMNO12000");
  337. fSearch() ;
  338. ]]>
  339. </script>
  340. </button>
  341. <button id="btn_print" class="btn3_letter2" navindex="8" style="left:1120px; top:19px; width:56px; height:22px; font-family:굴림; ">
  342. <caption>출력</caption>
  343. <script type="javascript" ev:event="DOMActivate">
  344. <![CDATA[
  345. model.makeValue("/root/main/cnst/deptnm", cmb_deptcd.label );
  346. model.makeValue("/root/main/cnst/textbox", cpt_textbox.value);
  347. model.makeValue("/root/main/cnst/ohgoodnm", cmb_ohgoodcd.label);
  348. model.makeValue("/root/main/cnst/ohindispnm", cmb_ohindispcd.label);
  349. exeReportPreview("RPMNO12000", "XMLSTR");
  350. ]]>
  351. </script>
  352. </button>
  353. <button id="btn_xls" class="btn1_letter2" navindex="8" style="left:485px; top:55px; width:56px; height:22px; font-family:굴림; ">
  354. <caption>엑셀</caption>
  355. <script type="javascript" ev:event="DOMActivate">
  356. <![CDATA[
  357. var fileName = window.fileDialog("save", ",", false, "외래해피콜", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  358. grd_cnstinfo.saveExcel(fileName, "sheetname");
  359. ]]>
  360. </script>
  361. </button>
  362. <select1 id="rdo_intvflag" ref="/root/main/cnst/intvflag" appearance="full" cellspacing="5" cols="3" overflow="visible" style="left:820px; top:20px; width:230px; height:20px; font-family:굴림; border-style:none; ">
  363. <choices>
  364. <item>
  365. <label>간호사</label>
  366. <value>A</value>
  367. </item>
  368. <item>
  369. <label>간호조무사</label>
  370. <value>B</value>
  371. </item>
  372. <item>
  373. <label>임시기능직</label>
  374. <value>C</value>
  375. </item>
  376. </choices>
  377. </select1>
  378. <line id="line5" style="x1:567px; y1:45px; x2:1176px; y2:45px; font-family:굴림; "/>
  379. <line id="line6" style="x1:567px; y1:140px; x2:1176px; y2:140px; font-family:굴림; "/>
  380. <line id="line7" style="x1:567px; y1:235px; x2:1176px; y2:235px; font-family:굴림; "/>
  381. <output id="output1" ref="/root/main/cnst/instcd" visibility="hidden" style="left:435px; top:0px; width:25px; height:19px; font-family:굴림; "/>
  382. <output id="output3" ref="/root/main/cnst/cretno" visibility="hidden" style="left:465px; top:0px; width:25px; height:19px; font-family:굴림; "/>
  383. <caption id="caption1" class="tit_2" style="left:5px; top:100px; width:135px; height:14px; font-family:굴림; ">외래 해피콜 리스트</caption>
  384. <caption id="cpt_textbox" style="left:572px; top:50px; width:493px; height:85px; font-family:굴림; line-spacing:7; "/>
  385. <select1 id="cmb_deptcd" ref="/root/main/cnst/deptcd" class="combo_s_essential" disabled="true" appearance="minimal" style="left:647px; top:20px; width:100px; height:19px; font-family:굴림; ">
  386. <choices>
  387. <itemset nodeset="/root/hidden/orddeptlist/dept">
  388. <label ref="depthngnm"/>
  389. <value ref="deptcd"/>
  390. </itemset>
  391. </choices>
  392. </select1>
  393. <bool id="bool1" checkvalue="Y,N" ref="/root/main/cnst/actstat" style="left:562px; top:745px; width:25px; height:20px; font-family:굴림; "/>
  394. <caption id="caption2" style="left:587px; top:745px; width:60px; height:20px; font-family:굴림; ">처리 완료</caption>
  395. <output id="opt_actstatflag" ref="/root/main/cond/actstatflag" visibility="hidden" style="left:410px; top:0px; width:25px; height:19px; font-family:굴림; "/>
  396. <button id="btn_ininfo" class="btn2_letter6" style="left:1092px; top:50px; width:86px; height:19px; font-family:굴림; ">
  397. <caption>외래진료예약</caption>
  398. <script type="javascript" ev:event="DOMActivate">
  399. <![CDATA[
  400. if(model.getValue("/root/main/cnst/instcd") == "") {
  401. messageBox("환자를 선택해주십시오.", "I");
  402. return;
  403. }
  404. open("SMPMO00300");
  405. ]]>
  406. </script>
  407. </button>
  408. <button id="btn_dschinfo" class="btn2_letter6" style="left:1092px; top:73px; width:86px; height:19px; font-family:굴림; ">
  409. <caption>통합결과조회</caption>
  410. <script type="javascript" ev:event="DOMActivate">
  411. <![CDATA[
  412. if(model.getValue("/root/main/cnst/instcd") == "") {
  413. messageBox("환자를 선택해주십시오.", "I");
  414. return;
  415. }
  416. open("SMMMI00100");
  417. ]]>
  418. </script>
  419. </button>
  420. <output id="opt_ordtype" ref="/root/main/cnst/ordtype" visibility="hidden" style="left:495px; top:0px; width:25px; height:19px; font-family:굴림; "/>
  421. <button id="btn_record" class="btn2_letter6" style="left:1092px; top:96px; width:86px; height:19px; font-family:굴림; ">
  422. <caption>통합기록조회</caption>
  423. <script type="javascript" ev:event="DOMActivate">
  424. <![CDATA[
  425. if(model.getValue("/root/main/cnst/instcd") == "") {
  426. messageBox("환자를 선택해주십시오.", "I");
  427. return;
  428. }
  429. open("SMMRI00400");
  430. ]]>
  431. </script>
  432. </button>
  433. <button id="btn_zoom" class="btn5_letter4" style="left:485px; top:95px; width:64px; height:19px; ">
  434. <caption>확대하기</caption>
  435. <script type="javascript" ev:event="DOMActivate">
  436. <![CDATA[
  437. if ( btn_zoom.attribute("text") == "확대하기" ) {
  438. btn_zoom.attribute("text") = "축소하기";
  439. grd_cnstinfo.attribute("left") = "0";
  440. grd_cnstinfo.attribute("width") = "1190";
  441. } else {
  442. btn_zoom.attribute("text") = "확대하기";
  443. grd_cnstinfo.attribute("left") = "0";
  444. grd_cnstinfo.attribute("width") = "550";
  445. }
  446. model.refresh();
  447. ]]>
  448. </script>
  449. </button>
  450. <line id="line4" class="line_1" style="x1:0px; y1:115px; x2:550px; y2:115px; font-family:굴림; "/>
  451. <group id="group2" style="left:565px; top:240px; width:605px; height:495px; font-family:굴림; ">
  452. <select1 id="rdo_revisit" ref="/root/main/cnst/revisit" appearance="full" cellspacing="17" cols="12" overflow="visible" style="left:14px; top:1035px; width:561px; height:15px; font-family:굴림; border-style:none; ">
  453. <choices>
  454. <item>
  455. <label>0</label>
  456. <value>00</value>
  457. </item>
  458. <item>
  459. <label>1</label>
  460. <value>01</value>
  461. </item>
  462. <item>
  463. <label>2</label>
  464. <value>02</value>
  465. </item>
  466. <item>
  467. <label>3</label>
  468. <value>03</value>
  469. </item>
  470. <item>
  471. <label>4</label>
  472. <value>04</value>
  473. </item>
  474. <item>
  475. <label>5</label>
  476. <value>05</value>
  477. </item>
  478. <item>
  479. <label>6</label>
  480. <value>06</value>
  481. </item>
  482. <item>
  483. <label>7</label>
  484. <value>07</value>
  485. </item>
  486. <item>
  487. <label>8</label>
  488. <value>08</value>
  489. </item>
  490. <item>
  491. <label>9</label>
  492. <value>09</value>
  493. </item>
  494. <item>
  495. <label>10</label>
  496. <value>10</value>
  497. </item>
  498. <item>
  499. <label>해당없음</label>
  500. <value>11</value>
  501. </item>
  502. </choices>
  503. </select1>
  504. <caption id="caption10" style="left:0px; top:258px; width:178px; height:20px; font-family:굴림; ">2. 진료 후 약은 복용중이십니까?</caption>
  505. <caption id="caption11" style="left:0px; top:315px; width:250px; height:20px; font-family:굴림; ">3. 저희 병원을 선택하신 사유는 무엇입니까 ?</caption>
  506. <caption id="caption12" style="left:0px; top:505px; width:410px; height:20px; font-family:굴림; ">4. 직원의 친절과 관련해서, 가장 중요하다고 생각하는 점은 어떤 것입니까?</caption>
  507. <select1 id="rdo_hselreson" ref="/root/main/cnst/hselreson" appearance="full" rows="6" vcellspacing="10" overflow="visible" style="left:14px; top:339px; width:510px; height:154px; font-family:굴림; border-style:none; ">
  508. <choices>
  509. <item>
  510. <label>의료진이 실력이 뛰어나기 때문</label>
  511. <value>1</value>
  512. </item>
  513. <item>
  514. <label>해당 질병에 대한 전문센터가 있기 때문</label>
  515. <value>2</value>
  516. </item>
  517. <item>
  518. <label>병원이름이 유명해서</label>
  519. <value>3</value>
  520. </item>
  521. <item>
  522. <label>직원들의 친절</label>
  523. <value>4</value>
  524. </item>
  525. <item>
  526. <label>병원 시설이 우수</label>
  527. <value>5</value>
  528. </item>
  529. <item>
  530. <label>해당없음</label>
  531. <value>0</value>
  532. </item>
  533. </choices>
  534. </select1>
  535. <caption id="caption13" style="left:0px; top:670px; width:420px; height:20px; font-family:굴림; ">5. 진료수속절차와 관련해서, 가장 중요하다고 생각하는 점은 어떤 것입니까?</caption>
  536. <caption id="caption14" style="left:0px; top:200px; width:202px; height:20px; font-family:굴림; ">1. 진료 후 건강상태는 어떠하신지요?</caption>
  537. <select1 id="rdo_goodimpo" ref="/root/main/cnst/goodimpo" appearance="full" rows="5" vcellspacing="10" overflow="visible" style="left:14px; top:530px; width:510px; height:128px; font-family:굴림; border-style:none; ">
  538. <choices>
  539. <item>
  540. <label>의사가 친절히 설명해 주어야 한다</label>
  541. <value>1</value>
  542. </item>
  543. <item>
  544. <label>간호사가 친절해야 한다</label>
  545. <value>2</value>
  546. </item>
  547. <item>
  548. <label>원무과 직원들이 친절해야 한다</label>
  549. <value>3</value>
  550. </item>
  551. <item>
  552. <label>검사실 직원이 친절해야 한다</label>
  553. <value>4</value>
  554. </item>
  555. <item>
  556. <label>해당없음</label>
  557. <value>0</value>
  558. </item>
  559. </choices>
  560. </select1>
  561. <caption id="caption15" style="left:0px; top:865px; width:345px; height:28px; font-family:굴림; ">
  562. <![CDATA[6. 외래 진료를 담당한 의사에 대하여 점수로 평가해 주십시오.
  563. (0은 가장 나쁜경우이고, 10은 가장 좋은 경우입니다.)]]>
  564. </caption>
  565. <select1 id="rdo_healthstat" ref="/root/main/cnst/healthstat" appearance="full" cellspacing="20" cols="4" overflow="visible" style="left:14px; top:225px; width:276px; height:20px; font-family:굴림; border-style:none; ">
  566. <choices>
  567. <item>
  568. <label>양호</label>
  569. <value>1</value>
  570. </item>
  571. <item>
  572. <label>보통</label>
  573. <value>2</value>
  574. </item>
  575. <item>
  576. <label>나쁘다</label>
  577. <value>3</value>
  578. </item>
  579. <item>
  580. <label>해당없음</label>
  581. <value>0</value>
  582. </item>
  583. </choices>
  584. </select1>
  585. <caption id="caption16" style="left:0px; top:925px; width:335px; height:16px; font-family:굴림; ">7. 외래를 담당한 간호직원에 대하여 점수로 평가해 주십시오.</caption>
  586. <select1 id="ipt_prcduimpo" ref="/root/main/cnst/prcduimpo" appearance="full" rows="6" vcellspacing="10" overflow="visible" style="left:14px; top:695px; width:510px; height:158px; font-family:굴림; border-style:none; ">
  587. <choices>
  588. <item>
  589. <label>진료예약을 하면 원하는 시간에 진료를 받을 수 있다</label>
  590. <value>1</value>
  591. </item>
  592. <item>
  593. <label>외래절차가 간편하다</label>
  594. <value>2</value>
  595. </item>
  596. <item>
  597. <label>입원절차가 간편하다</label>
  598. <value>3</value>
  599. </item>
  600. <item>
  601. <label>가고싶은 곳을 쉽게 찾아갈 수 있다</label>
  602. <value>4</value>
  603. </item>
  604. <item>
  605. <label>진료 대기시간이 짧다</label>
  606. <value>5</value>
  607. </item>
  608. <item>
  609. <label>해당없음</label>
  610. <value>0</value>
  611. </item>
  612. </choices>
  613. </select1>
  614. <caption id="caption17" style="left:0px; top:968px; width:480px; height:20px; font-family:굴림; ">8. 경북대학교병원 외래진료 서비스에 대한 전반적인 만족도를 점수로 평가해 주십시오.</caption>
  615. <select1 id="rdo_medicineyn" ref="/root/main/cnst/medicineyn" appearance="full" cellspacing="20" cols="3" overflow="visible" style="left:14px; top:283px; width:196px; height:20px; font-family:굴림; border-style:none; ">
  616. <choices>
  617. <item>
  618. <label>예</label>
  619. <value>1</value>
  620. </item>
  621. <item>
  622. <label>아니요</label>
  623. <value>2</value>
  624. </item>
  625. <item>
  626. <label>해당없음</label>
  627. <value>0</value>
  628. </item>
  629. </choices>
  630. </select1>
  631. <select1 id="rdo_drgrades" ref="/root/main/cnst/drgrades" appearance="full" cellspacing="17" cols="12" overflow="visible" style="left:14px; top:900px; width:561px; height:15px; font-family:굴림; border-style:none; ">
  632. <choices>
  633. <item>
  634. <label>0</label>
  635. <value>00</value>
  636. </item>
  637. <item>
  638. <label>1</label>
  639. <value>01</value>
  640. </item>
  641. <item>
  642. <label>2</label>
  643. <value>02</value>
  644. </item>
  645. <item>
  646. <label>3</label>
  647. <value>03</value>
  648. </item>
  649. <item>
  650. <label>4</label>
  651. <value>04</value>
  652. </item>
  653. <item>
  654. <label>5</label>
  655. <value>05</value>
  656. </item>
  657. <item>
  658. <label>6</label>
  659. <value>06</value>
  660. </item>
  661. <item>
  662. <label>7</label>
  663. <value>07</value>
  664. </item>
  665. <item>
  666. <label>8</label>
  667. <value>08</value>
  668. </item>
  669. <item>
  670. <label>9</label>
  671. <value>09</value>
  672. </item>
  673. <item>
  674. <label>10</label>
  675. <value>10</value>
  676. </item>
  677. <item>
  678. <label>해당없음</label>
  679. <value>11</value>
  680. </item>
  681. </choices>
  682. </select1>
  683. <caption id="caption18" style="left:0px; top:1015px; width:380px; height:16px; font-family:굴림; ">9. 앞으로 우리 병원을 다시 이용하실 의향을 점수로 평가해 주십시오.</caption>
  684. <select1 id="rdo_nrgrades" ref="/root/main/cnst/nrgrades" appearance="full" cellspacing="17" cols="12" overflow="visible" style="left:14px; top:945px; width:561px; height:15px; font-family:굴림; border-style:none; ">
  685. <choices>
  686. <item>
  687. <label>0</label>
  688. <value>00</value>
  689. </item>
  690. <item>
  691. <label>1</label>
  692. <value>01</value>
  693. </item>
  694. <item>
  695. <label>2</label>
  696. <value>02</value>
  697. </item>
  698. <item>
  699. <label>3</label>
  700. <value>03</value>
  701. </item>
  702. <item>
  703. <label>4</label>
  704. <value>04</value>
  705. </item>
  706. <item>
  707. <label>5</label>
  708. <value>05</value>
  709. </item>
  710. <item>
  711. <label>6</label>
  712. <value>06</value>
  713. </item>
  714. <item>
  715. <label>7</label>
  716. <value>07</value>
  717. </item>
  718. <item>
  719. <label>8</label>
  720. <value>08</value>
  721. </item>
  722. <item>
  723. <label>9</label>
  724. <value>09</value>
  725. </item>
  726. <item>
  727. <label>10</label>
  728. <value>10</value>
  729. </item>
  730. <item>
  731. <label>해당없음</label>
  732. <value>11</value>
  733. </item>
  734. </choices>
  735. </select1>
  736. <select1 id="rdo_satisfaction" ref="/root/main/cnst/satisfaction" appearance="full" cellspacing="17" cols="12" overflow="visible" style="left:14px; top:991px; width:561px; height:15px; font-family:굴림; border-style:none; ">
  737. <choices>
  738. <item>
  739. <label>0</label>
  740. <value>00</value>
  741. </item>
  742. <item>
  743. <label>1</label>
  744. <value>01</value>
  745. </item>
  746. <item>
  747. <label>2</label>
  748. <value>02</value>
  749. </item>
  750. <item>
  751. <label>3</label>
  752. <value>03</value>
  753. </item>
  754. <item>
  755. <label>4</label>
  756. <value>04</value>
  757. </item>
  758. <item>
  759. <label>5</label>
  760. <value>05</value>
  761. </item>
  762. <item>
  763. <label>6</label>
  764. <value>06</value>
  765. </item>
  766. <item>
  767. <label>7</label>
  768. <value>07</value>
  769. </item>
  770. <item>
  771. <label>8</label>
  772. <value>08</value>
  773. </item>
  774. <item>
  775. <label>9</label>
  776. <value>09</value>
  777. </item>
  778. <item>
  779. <label>10</label>
  780. <value>10</value>
  781. </item>
  782. <item>
  783. <label>해당없음</label>
  784. <value>11</value>
  785. </item>
  786. </choices>
  787. </select1>
  788. <caption id="caption5" style="left:0px; top:1061px; width:445px; height:16px; font-family:굴림; ">10. 외래 진료 경험 중 좋았던 점이나 개선할 점이 있다면 말씀해 주시기 바랍니다.</caption>
  789. <caption id="caption6" style="left:14px; top:1166px; width:276px; height:16px; font-family:굴림; ">병원 발전을 위해 귀한 시간 내주시어 감사드리며,</caption>
  790. <caption id="caption7" style="left:14px; top:1191px; width:85px; height:16px; font-family:굴림; ">다음 진료일은</caption>
  791. <input id="ipt_nextdr" ref="/root/main/cnst/nextdr" disabled="true" style="left:100px; top:1191px; width:75px; height:19px; font-family:굴림; "/>
  792. <caption id="caption8" style="left:175px; top:1191px; width:100px; height:16px; font-family:굴림; ">(교수)선생님이며</caption>
  793. <caption id="caption19" style="left:375px; top:1191px; width:15px; height:16px; font-family:굴림; ">일</caption>
  794. <input id="ipt_nexttm" ref="/root/main/cnst/nexttm" disabled="true" format="hh:nn" style="left:400px; top:1191px; width:40px; height:19px; font-family:굴림; "/>
  795. <caption id="caption20" style="left:440px; top:1191px; width:60px; height:16px; font-family:굴림; ">시 입니다.</caption>
  796. <caption id="caption21" style="left:14px; top:1086px; width:62px; height:16px; font-family:굴림; ">좋았던 점 :</caption>
  797. <caption id="caption22" style="left:14px; top:1111px; width:65px; height:16px; font-family:굴림; ">개선할 점 :</caption>
  798. <input id="ipt_ohgood" ref="/root/main/cnst/ohgood" disabled="true" maxlength="100" style="left:250px; top:1086px; width:330px; height:19px; font-family:굴림; "/>
  799. <input id="ipt_ohindisp" ref="/root/main/cnst/ohindisp" disabled="true" maxlength="100" style="left:250px; top:1111px; width:330px; height:19px; font-family:굴림; "/>
  800. <caption id="caption23" style="left:0px; top:1221px; width:105px; height:16px; font-family:굴림; ">12. 기타상담내용</caption>
  801. <textarea id="txa_othercnst" ref="/root/main/cnst/othercnst" style="left:14px; top:1244px; width:496px; height:51px; vertical-align:top; "/>
  802. <input id="ipt_nextdd" ref="/root/main/cnst/nextdd" disabled="true" navindex="2" editable="false" inputtype="date" style="left:280px; top:1191px; width:95px; height:19px; font-family:굴림; "/>
  803. <caption id="caption24" style="left:0px; top:1141px; width:255px; height:16px; font-family:굴림; ">11. 외래 진료 예약에 대한 안내를 하였습니다.</caption>
  804. <select1 id="rdo_reservinfoyn" ref="/root/main/cnst/reservinfoyn" appearance="full" cellspacing="10" cols="3" overflow="visible" style="left:280px; top:1141px; width:175px; height:20px; font-family:굴림; border-style:none; ">
  805. <choices>
  806. <item>
  807. <label>예</label>
  808. <value>Y</value>
  809. </item>
  810. <item>
  811. <label>아니요</label>
  812. <value>N</value>
  813. </item>
  814. <item>
  815. <label>해당없음</label>
  816. <value>0</value>
  817. </item>
  818. </choices>
  819. <script type="javascript" ev:event="xforms-value-changed">
  820. <![CDATA[
  821. if(model.getValue("/root/main/cnst/reservinfoyn") == "0"){
  822. model.setValue("/root/main/cnst/nextdr",'');
  823. model.setValue("/root/main/cnst/nextdd",'');
  824. model.setValue("/root/main/cnst/nexttm",'');
  825. ipt_nextdr.disabled = true;
  826. ipt_nextdd.disabled = true;
  827. ipt_nexttm.disabled = true;
  828. }else{
  829. ipt_nextdr.disabled = false;
  830. ipt_nextdd.disabled = false;
  831. ipt_nexttm.disabled = false;
  832. }
  833. model.refresh();
  834. ]]>
  835. </script>
  836. </select1>
  837. <caption id="caption26" style="left:5px; top:10px; width:140px; height:20px; font-family:굴림; "/>
  838. <select1 id="rdo_nothingchk" ref="/root/main/cnst/nothingchk" disabled="true" appearance="full" rows="5" vcellspacing="10" overflow="visible" style="left:15px; top:35px; width:285px; height:130px; font-family:굴림; border-style:none; ">
  839. <choices>
  840. <item>
  841. <label>건강 검진</label>
  842. <value>1</value>
  843. </item>
  844. <item>
  845. <label>PET-CT</label>
  846. <value>2</value>
  847. </item>
  848. <item>
  849. <label>신체 감정용 진단서</label>
  850. <value>3</value>
  851. </item>
  852. <item>
  853. <label>입원</label>
  854. <value>4</value>
  855. </item>
  856. <item>
  857. <label>기타( ex)전화안받음, 전화끊음, 상담거부 등 )</label>
  858. <value>9</value>
  859. </item>
  860. </choices>
  861. <script type="javascript" ev:event="xforms-value-changed">
  862. <![CDATA[
  863. if(model.getValue("/root/main/cnst/nothingyn") == "Y"){
  864. model.setValue("/root/main/cnst/nothingrmk",'');
  865. if(model.getValue("/root/main/cnst/nothingchk") == "9"){
  866. ipt_nothingrmk.disabled = false;
  867. }else{
  868. ipt_nothingrmk.disabled = true;
  869. }
  870. }
  871. model.setValue("/root/main/cnst/nothingrmk",'');
  872. model.setValue("/root/main/cnst/ohgood",'');
  873. model.setValue("/root/main/cnst/ohindisp",'');
  874. model.setValue("/root/main/cnst/ohgoodcd",'');
  875. model.setValue("/root/main/cnst/ohindispcd",'');
  876. model.setValue("/root/main/cnst/nextdr",'');
  877. model.setValue("/root/main/cnst/nextdd",'');
  878. model.setValue("/root/main/cnst/nexttm",'');
  879. model.setValue("/root/main/cnst/othercnst",'');
  880. ipt_ohgood.disabled = true;
  881. ipt_ohindisp.disabled = true;
  882. ipt_nextdr.disabled = true;
  883. ipt_nextdd.disabled = true;
  884. ipt_nexttm.disabled = true;
  885. model.refresh();
  886. ]]>
  887. </script>
  888. </select1>
  889. <input id="ipt_nothingrmk" ref="/root/main/cnst/nothingrmk" disabled="true" style="left:15px; top:170px; width:560px; height:19px; font-family:굴림; "/>
  890. <select id="chk_nothingyn" ref="/root/main/cnst/nothingyn" overflow="visible" appearance="full" style="left:15px; top:10px; width:150px; height:20px; font-family:굴림; border-style:none; ">
  891. <choices>
  892. <item>
  893. <label>★ 전체 항목 해당없음</label>
  894. <value>Y</value>
  895. </item>
  896. </choices>
  897. <script type="javascript" ev:event="xforms-value-changed">
  898. <![CDATA[
  899. if(model.getValue("/root/main/cnst/nothingyn") == "Y"){
  900. model.setValue("/root/main/cnst/healthstat",'0');
  901. model.setValue("/root/main/cnst/medicineyn",'0');
  902. model.setValue("/root/main/cnst/hselreson",'0');
  903. model.setValue("/root/main/cnst/goodimpo",'0');
  904. model.setValue("/root/main/cnst/prcduimpo",'0');
  905. model.setValue("/root/main/cnst/drgrades",'11');
  906. model.setValue("/root/main/cnst/nrgrades",'11');
  907. model.setValue("/root/main/cnst/satisfaction",'11');
  908. model.setValue("/root/main/cnst/revisit",'11');
  909. model.setValue("/root/main/cnst/reservinfoyn",'0');
  910. rdo_nothingchk.disabled = false;
  911. ipt_nothingrmk.disabled = true;
  912. rdo_healthstat.disabled = true;
  913. rdo_medicineyn.disabled = true;
  914. rdo_hselreson.disabled = true;
  915. rdo_goodimpo.disabled = true;
  916. ipt_prcduimpo.disabled = true;
  917. rdo_drgrades.disabled = true;
  918. rdo_nrgrades.disabled = true;
  919. rdo_satisfaction.disabled = true;
  920. rdo_revisit.disabled = true;
  921. cmb_ohgoodcd.disabled = true;
  922. cmb_ohindispcd.disabled = true;
  923. rdo_reservinfoyn.disabled = true;
  924. txa_othercnst.disabled = true;
  925. }else {
  926. model.setValue("/root/main/cnst/nothingchk",'');
  927. model.setValue("/root/main/cnst/healthstat",'');
  928. model.setValue("/root/main/cnst/medicineyn",'');
  929. model.setValue("/root/main/cnst/hselreson",'');
  930. model.setValue("/root/main/cnst/goodimpo",'');
  931. model.setValue("/root/main/cnst/prcduimpo",'');
  932. model.setValue("/root/main/cnst/drgrades",'');
  933. model.setValue("/root/main/cnst/nrgrades",'');
  934. model.setValue("/root/main/cnst/satisfaction",'');
  935. model.setValue("/root/main/cnst/revisit",'');
  936. model.setValue("/root/main/cnst/reservinfoyn",'');
  937. rdo_nothingchk.disabled = true;
  938. ipt_nothingrmk.disabled = true;
  939. rdo_healthstat.disabled = false;
  940. rdo_medicineyn.disabled = false;
  941. rdo_hselreson.disabled = false;
  942. rdo_goodimpo.disabled = false;
  943. ipt_prcduimpo.disabled = false;
  944. rdo_drgrades.disabled = false;
  945. rdo_nrgrades.disabled = false;
  946. rdo_satisfaction.disabled = false;
  947. rdo_revisit.disabled = false;
  948. cmb_ohgoodcd.disabled = false;
  949. cmb_ohindispcd.disabled = false;
  950. rdo_reservinfoyn.disabled = false;
  951. txa_othercnst.disabled = false;
  952. }
  953. model.setValue("/root/main/cnst/nothingrmk",'');
  954. model.setValue("/root/main/cnst/ohgood",'');
  955. model.setValue("/root/main/cnst/ohindisp",'');
  956. model.setValue("/root/main/cnst/ohgoodcd",'');
  957. model.setValue("/root/main/cnst/ohindispcd",'');
  958. model.setValue("/root/main/cnst/nextdr",'');
  959. model.setValue("/root/main/cnst/nextdd",'');
  960. model.setValue("/root/main/cnst/nexttm",'');
  961. model.setValue("/root/main/cnst/othercnst",'');
  962. ipt_ohgood.disabled = true;
  963. ipt_ohindisp.disabled = true;
  964. ipt_nextdr.disabled = true;
  965. ipt_nextdd.disabled = true;
  966. ipt_nexttm.disabled = true;
  967. model.refresh();
  968. ]]>
  969. </script>
  970. </select>
  971. <select1 id="cmb_ohgoodcd" ref="/root/main/cnst/ohgoodcd" appearance="minimal" style="left:80px; top:1086px; width:165px; height:19px; font-family:굴림; ">
  972. <choices>
  973. <itemset nodeset="/root/codeinfo/codelist[cdgrupid ='C03']">
  974. <label ref="cdnm"/>
  975. <value ref="cdid">`</value>
  976. </itemset>
  977. </choices>
  978. <script type="javascript" ev:event="xforms-value-changed">
  979. <![CDATA[
  980. if(model.getValue("/root/main/cnst/ohgoodcd") == '05'){
  981. ipt_ohgood.disabled = false;
  982. }else{
  983. model.setValue("/root/main/cnst/ohgood",'');
  984. ipt_ohgood.disabled = true;
  985. }
  986. model.refresh();
  987. ]]>
  988. </script>
  989. </select1>
  990. <select1 id="cmb_ohindispcd" ref="/root/main/cnst/ohindispcd" appearance="minimal" style="left:80px; top:1111px; width:165px; height:19px; font-family:굴림; ">
  991. <choices>
  992. <itemset nodeset="/root/codeinfo/codelist[cdgrupid ='C04']">
  993. <label ref="cdnm"/>
  994. <value ref="cdid">`</value>
  995. </itemset>
  996. </choices>
  997. <script type="javascript" ev:event="xforms-value-changed">
  998. <![CDATA[
  999. if(model.getValue("/root/main/cnst/ohindispcd")== '07'){
  1000. ipt_ohindisp.disabled = false;
  1001. }else{
  1002. model.setValue("/root/main/cnst/ohindisp",'');
  1003. ipt_ohindisp.disabled = true;
  1004. }
  1005. model.refresh();
  1006. ]]>
  1007. </script>
  1008. </select1>
  1009. </group>
  1010. <output id="opt_patnm" ref="/root/main/cnst/patnm" style="left:655px; top:150px; width:100px; height:19px; font-family:굴림; "/>
  1011. <output id="output10" ref="/root/main/cnst/orddeptnm" style="left:1065px; top:170px; width:110px; height:19px; font-family:굴림; "/>
  1012. <output id="output6" ref="/root/main/cnst/orddd" format="yyyy-mm-dd" style="left:1065px; top:150px; width:110px; height:19px; font-family:굴림; "/>
  1013. <caption id="caption50" class="search_name" style="left:567px; top:190px; width:83px; height:17px; font-family:굴림; ">연 락 처 :</caption>
  1014. <output id="output11" ref="/root/main/cnst/sexage" style="left:655px; top:170px; width:100px; height:19px; font-family:굴림; "/>
  1015. <output id="output7" ref="/root/main/cnst/mpphontel" style="left:655px; top:190px; width:100px; height:19px; font-family:굴림; "/>
  1016. <caption id="caption51" class="search_name" style="left:567px; top:210px; width:90px; height:17px; font-family:굴림; ">주 소 :</caption>
  1017. <output id="output8" ref="/root/main/cnst/rsrvflag" style="left:867px; top:190px; width:103px; height:19px; font-family:굴림; "/>
  1018. <caption id="caption52" class="search_name" style="left:772px; top:170px; width:91px; height:17px; font-family:굴림; ">설문대상 :</caption>
  1019. <output id="output9" ref="/root/main/cnst/addr" style="left:655px; top:210px; width:520px; height:19px; font-family:굴림; "/>
  1020. <caption id="caption53" class="search_name" style="left:772px; top:190px; width:91px; height:17px; font-family:굴림; ">예약구분 :</caption>
  1021. <caption id="caption54" class="search_name" style="left:985px; top:170px; width:80px; height:17px; font-family:굴림; ">진료과 :</caption>
  1022. <caption id="caption77" class="search_name" style="left:985px; top:190px; width:80px; height:17px; font-family:굴림; ">진료의 :</caption>
  1023. <caption id="caption55" class="search_name" style="left:567px; top:170px; width:93px; height:17px; font-family:굴림; ">성별연령 :</caption>
  1024. <caption id="caption78" class="search_name" style="left:772px; top:150px; width:90px; height:17px; font-family:굴림; ">등록번호 :</caption>
  1025. <output id="output17" ref="/root/main/cnst/orddrnm" style="left:1065px; top:190px; width:110px; height:19px; font-family:굴림; "/>
  1026. <select1 id="radio2" ref="/root/main/cnst/guardiangubn" appearance="full" cellspacing="5" cols="2" overflow="visible" style="left:867px; top:170px; width:103px; height:20px; font-family:굴림; border-style:none; ">
  1027. <choices>
  1028. <item>
  1029. <label>환자</label>
  1030. <value>A</value>
  1031. </item>
  1032. <item>
  1033. <label>보호자</label>
  1034. <value>B</value>
  1035. </item>
  1036. </choices>
  1037. </select1>
  1038. <caption id="caption48" class="search_name" style="left:567px; top:150px; width:83px; height:17px; font-family:굴림; ">환 자 명 :</caption>
  1039. <caption id="caption49" class="search_name" style="left:985px; top:150px; width:75px; height:17px; font-family:굴림; ">진료일 :</caption>
  1040. <output id="output4" ref="/root/main/cnst/pid" style="left:867px; top:150px; width:103px; height:19px; font-family:굴림; "/>
  1041. <button id="button2" class="btn2_letter6" style="left:1092px; top:119px; width:86px; height:19px; font-family:굴림; ">
  1042. <caption>환자진료정보</caption>
  1043. <script type="javascript" ev:event="DOMActivate">
  1044. <![CDATA[
  1045. if(model.getValue("/root/main/cnst/instcd") == "") {
  1046. messageBox("환자를 선택해주십시오.", "I");
  1047. return;
  1048. }
  1049. open("SMMMO02500");
  1050. ]]>
  1051. </script>
  1052. </button>
  1053. <datagrid id="grd_cnstinfo" nodeset="/root/main/cnstinfo/cnstlist" visibility="visible" caption="환자번호^환자명^성별/나이^상태^외래진료일자^예약구분^진료과^진료의^조사자^조사자^조사자^본인/보호자구분^전체항목&#xA;해당없음^해당없음사유^해당없음기타사유^진료 후 건강상태^진료 후 약 복용여부^병원 선택 사유^직원 친절성과 관련,중요시 하는점^진료수속절차와 관련, 중요시 하는점^의사&#xA;평가점수^간호직원평가점수^만족도&#xA;점수^재이용&#xA; 의향 점수^좋았던점^좋았던점기타^개선할점^개선할점기타^외래예약&#xA;안내여부^다음 진료의^다음 진료일시^기타상담내용^instcd^cretno^ordtype^userid|환자번호^환자명^성별/나이^상태^외래진료일자^예약구분^진료과^진료의^근무지^구분^이름^본인/보호자구분^전체항목&#xA;해당없음^해당없음사유^해당없음기타사유^진료 후 건강상태^진료 후 약 복용여부^병원 선택 사유^직원 친절성과 관련,중요시 하는점^진료수속절차와 관련, 중요시 하는점^의사&#xA;평가점수^간호직원평가점수^만족도&#xA;점수^재이용&#xA; 의향 점수^좋았던점^좋았던점기타^개선할점^개선할점기타^외래예약&#xA;안내여부^다음 진료의^다음 진료일시^기타상담내용^instcd^cretno^ordtype^userid^" colsep="^" colwidth="58, 63, 60, 57, 85, 100, 120, 63, 85, 72, 77, 72, 55, 100, 110, 55, 62, 100, 100, 110, 55, 55, 55, 65, 100, 100, 100, 100, 55, 100, 100, 100, 40, 40, 40, 41" explorerbar="sort" frozencols="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="2" ref="/root/main/cnstinfo/cnstlist" style="left:0px; top:120px; width:550px; height:640px; font-family:굴림; vertical-align:middle; ">
  1054. <col ref="pid" style="text-align:center; "/>
  1055. <col ref="patnm" style="text-align:center; "/>
  1056. <col ref="sexage" style="text-align:center; "/>
  1057. <col disabled="true" ref="actstat" type="combo" style="text-align:center; ">
  1058. <choices>
  1059. <item>
  1060. <label>미진행</label>
  1061. <value>M</value>
  1062. </item>
  1063. <item>
  1064. <label>진행</label>
  1065. <value>N</value>
  1066. </item>
  1067. <item>
  1068. <label>완료</label>
  1069. <value>Y</value>
  1070. </item>
  1071. </choices>
  1072. </col>
  1073. <col ref="orddd" format="yyyy-mm-dd" style="text-align:center; "/>
  1074. <col ref="rsrvflag"/>
  1075. <col ref="orddeptnm"/>
  1076. <col ref="orddrnm" style="text-align:center; "/>
  1077. <col disabled="true" ref="deptcd" type="combo" style="text-align:center; ">
  1078. <choices>
  1079. <itemset nodeset="/root/hidden/orddeptlist/dept">
  1080. <label ref="depthngnm"/>
  1081. <value ref="deptcd"/>
  1082. </itemset>
  1083. </choices>
  1084. </col>
  1085. <col disabled="true" ref="intvflag" type="combo" style="text-align:center; ">
  1086. <choices>
  1087. <item>
  1088. <label>간호사</label>
  1089. <value>A</value>
  1090. </item>
  1091. <item>
  1092. <label>간호조무사</label>
  1093. <value>B</value>
  1094. </item>
  1095. <item>
  1096. <label>임시기능직</label>
  1097. <value>C</value>
  1098. </item>
  1099. </choices>
  1100. </col>
  1101. <col ref="usernm" style="text-align:center; "/>
  1102. <col disabled="true" ref="guardiangubn" type="combo" style="left:1446px; top:43px; width:72px; height:23px; text-align:center; ">
  1103. <choices>
  1104. <item>
  1105. <label>환자</label>
  1106. <value>A</value>
  1107. </item>
  1108. <item>
  1109. <label>보호자</label>
  1110. <value>B</value>
  1111. </item>
  1112. </choices>
  1113. </col>
  1114. <col ref="nothingyn" style="text-align:center; "/>
  1115. <col disabled="true" ref="nothingchk" type="combo" style="left:1446px; top:43px; width:72px; height:23px; text-align:left; ">
  1116. <choices>
  1117. <item>
  1118. <label>건강 검진</label>
  1119. <value>1</value>
  1120. </item>
  1121. <item>
  1122. <label>PET-CT</label>
  1123. <value>2</value>
  1124. </item>
  1125. <item>
  1126. <label>신체 감정용 진단서</label>
  1127. <value>3</value>
  1128. </item>
  1129. <item>
  1130. <label>입원</label>
  1131. <value>4</value>
  1132. </item>
  1133. <item>
  1134. <label>기타( ex)전화안받음, 전화끊음, 상담거부 등 )</label>
  1135. <value>9</value>
  1136. </item>
  1137. </choices>
  1138. </col>
  1139. <col ref="nothingrmk" style="text-align:left; "/>
  1140. <col disabled="true" ref="healthstat" type="combo" style="text-align:center; ">
  1141. <choices>
  1142. <item>
  1143. <label>양호</label>
  1144. <value>1</value>
  1145. </item>
  1146. <item>
  1147. <label>보통</label>
  1148. <value>2</value>
  1149. </item>
  1150. <item>
  1151. <label>나쁘다</label>
  1152. <value>3</value>
  1153. </item>
  1154. <item>
  1155. <label>해당없음</label>
  1156. <value>0</value>
  1157. </item>
  1158. <item>
  1159. <label>기타</label>
  1160. <value>9</value>
  1161. </item>
  1162. </choices>
  1163. </col>
  1164. <col disabled="true" ref="medicineyn" type="combo" style="text-align:center; ">
  1165. <choices>
  1166. <item>
  1167. <label>예</label>
  1168. <value>1</value>
  1169. </item>
  1170. <item>
  1171. <label>아니요</label>
  1172. <value>2</value>
  1173. </item>
  1174. <item>
  1175. <label>해당없음</label>
  1176. <value>0</value>
  1177. </item>
  1178. <item>
  1179. <label>기타</label>
  1180. <value>9</value>
  1181. </item>
  1182. </choices>
  1183. </col>
  1184. <col disabled="true" ref="hselreson" type="combo">
  1185. <choices>
  1186. <item>
  1187. <label>의료진이 실력이 뛰어나기 때문</label>
  1188. <value>1</value>
  1189. </item>
  1190. <item>
  1191. <label>해당 질병에 대한 전문 센터가 있기 때문</label>
  1192. <value>2</value>
  1193. </item>
  1194. <item>
  1195. <label>병원이름이 유명해서</label>
  1196. <value>3</value>
  1197. </item>
  1198. <item>
  1199. <label>직원들의 친절</label>
  1200. <value>4</value>
  1201. </item>
  1202. <item>
  1203. <label>병원 시설이 우수</label>
  1204. <value>5</value>
  1205. </item>
  1206. <item>
  1207. <label>해당없음</label>
  1208. <value>0</value>
  1209. </item>
  1210. <item>
  1211. <label>기타</label>
  1212. <value>9</value>
  1213. </item>
  1214. </choices>
  1215. </col>
  1216. <col disabled="true" ref="goodimpo" type="combo">
  1217. <choices>
  1218. <item>
  1219. <label>의사가 친절히 설명해 주어야 한다</label>
  1220. <value>1</value>
  1221. </item>
  1222. <item>
  1223. <label>간호사가 친절해야 한다</label>
  1224. <value>2</value>
  1225. </item>
  1226. <item>
  1227. <label>원무과 직원들이 친절해야 한다</label>
  1228. <value>3</value>
  1229. </item>
  1230. <item>
  1231. <label>검사실 직원이 친절해야 한다</label>
  1232. <value>4</value>
  1233. </item>
  1234. <item>
  1235. <label>해당없음</label>
  1236. <value>0</value>
  1237. </item>
  1238. <item>
  1239. <label>기타</label>
  1240. <value>9</value>
  1241. </item>
  1242. </choices>
  1243. </col>
  1244. <col disabled="true" ref="prcduimpo" type="combo">
  1245. <choices>
  1246. <item>
  1247. <label>진료예약을 하면 원하는 시간에 진료를 받을 수 있다</label>
  1248. <value>1</value>
  1249. </item>
  1250. <item>
  1251. <label>외래절차가 간편하다</label>
  1252. <value>2</value>
  1253. </item>
  1254. <item>
  1255. <label>입원절차가 간편하다</label>
  1256. <value>3</value>
  1257. </item>
  1258. <item>
  1259. <label>가고싶은 곳을 쉽게 찾아갈 수 있다</label>
  1260. <value>4</value>
  1261. </item>
  1262. <item>
  1263. <label>진료 대기시간이 짧다</label>
  1264. <value>5</value>
  1265. </item>
  1266. <item>
  1267. <label>해당없음</label>
  1268. <value>0</value>
  1269. </item>
  1270. <item>
  1271. <label>기타</label>
  1272. <value>9</value>
  1273. </item>
  1274. </choices>
  1275. </col>
  1276. <col disabled="true" ref="drgrades" type="combo" style="text-align:center; ">
  1277. <choices>
  1278. <item>
  1279. <label>0</label>
  1280. <value>00</value>
  1281. </item>
  1282. <item>
  1283. <label>1</label>
  1284. <value>01</value>
  1285. </item>
  1286. <item>
  1287. <label>2</label>
  1288. <value>02</value>
  1289. </item>
  1290. <item>
  1291. <label>3</label>
  1292. <value>03</value>
  1293. </item>
  1294. <item>
  1295. <label>4</label>
  1296. <value>04</value>
  1297. </item>
  1298. <item>
  1299. <label>5</label>
  1300. <value>05</value>
  1301. </item>
  1302. <item>
  1303. <label>6</label>
  1304. <value>06</value>
  1305. </item>
  1306. <item>
  1307. <label>7</label>
  1308. <value>07</value>
  1309. </item>
  1310. <item>
  1311. <label>8</label>
  1312. <value>08</value>
  1313. </item>
  1314. <item>
  1315. <label>9</label>
  1316. <value>09</value>
  1317. </item>
  1318. <item>
  1319. <label>10</label>
  1320. <value>10</value>
  1321. </item>
  1322. <item>
  1323. <label>해당없음</label>
  1324. <value>11</value>
  1325. </item>
  1326. </choices>
  1327. </col>
  1328. <col disabled="true" ref="nrgrades" type="combo" style="text-align:center; ">
  1329. <choices>
  1330. <item>
  1331. <label>0</label>
  1332. <value>00</value>
  1333. </item>
  1334. <item>
  1335. <label>1</label>
  1336. <value>01</value>
  1337. </item>
  1338. <item>
  1339. <label>2</label>
  1340. <value>02</value>
  1341. </item>
  1342. <item>
  1343. <label>3</label>
  1344. <value>03</value>
  1345. </item>
  1346. <item>
  1347. <label>4</label>
  1348. <value>04</value>
  1349. </item>
  1350. <item>
  1351. <label>5</label>
  1352. <value>05</value>
  1353. </item>
  1354. <item>
  1355. <label>6</label>
  1356. <value>06</value>
  1357. </item>
  1358. <item>
  1359. <label>7</label>
  1360. <value>07</value>
  1361. </item>
  1362. <item>
  1363. <label>8</label>
  1364. <value>08</value>
  1365. </item>
  1366. <item>
  1367. <label>9</label>
  1368. <value>09</value>
  1369. </item>
  1370. <item>
  1371. <label>10</label>
  1372. <value>10</value>
  1373. </item>
  1374. <item>
  1375. <label>해당없음</label>
  1376. <value>11</value>
  1377. </item>
  1378. </choices>
  1379. </col>
  1380. <col disabled="true" ref="satisfaction" type="combo" style="text-align:center; ">
  1381. <choices>
  1382. <item>
  1383. <label>0</label>
  1384. <value>00</value>
  1385. </item>
  1386. <item>
  1387. <label>1</label>
  1388. <value>01</value>
  1389. </item>
  1390. <item>
  1391. <label>2</label>
  1392. <value>02</value>
  1393. </item>
  1394. <item>
  1395. <label>3</label>
  1396. <value>03</value>
  1397. </item>
  1398. <item>
  1399. <label>4</label>
  1400. <value>04</value>
  1401. </item>
  1402. <item>
  1403. <label>5</label>
  1404. <value>05</value>
  1405. </item>
  1406. <item>
  1407. <label>6</label>
  1408. <value>06</value>
  1409. </item>
  1410. <item>
  1411. <label>7</label>
  1412. <value>07</value>
  1413. </item>
  1414. <item>
  1415. <label>8</label>
  1416. <value>08</value>
  1417. </item>
  1418. <item>
  1419. <label>9</label>
  1420. <value>09</value>
  1421. </item>
  1422. <item>
  1423. <label>10</label>
  1424. <value>10</value>
  1425. </item>
  1426. <item>
  1427. <label>해당없음</label>
  1428. <value>11</value>
  1429. </item>
  1430. </choices>
  1431. </col>
  1432. <col disabled="true" ref="revisit" type="combo" style="text-align:center; ">
  1433. <choices>
  1434. <item>
  1435. <label>0</label>
  1436. <value>00</value>
  1437. </item>
  1438. <item>
  1439. <label>1</label>
  1440. <value>01</value>
  1441. </item>
  1442. <item>
  1443. <label>2</label>
  1444. <value>02</value>
  1445. </item>
  1446. <item>
  1447. <label>3</label>
  1448. <value>03</value>
  1449. </item>
  1450. <item>
  1451. <label>4</label>
  1452. <value>04</value>
  1453. </item>
  1454. <item>
  1455. <label>5</label>
  1456. <value>05</value>
  1457. </item>
  1458. <item>
  1459. <label>6</label>
  1460. <value>06</value>
  1461. </item>
  1462. <item>
  1463. <label>7</label>
  1464. <value>07</value>
  1465. </item>
  1466. <item>
  1467. <label>8</label>
  1468. <value>08</value>
  1469. </item>
  1470. <item>
  1471. <label>9</label>
  1472. <value>09</value>
  1473. </item>
  1474. <item>
  1475. <label>10</label>
  1476. <value>10</value>
  1477. </item>
  1478. <item>
  1479. <label>해당없음</label>
  1480. <value>11</value>
  1481. </item>
  1482. </choices>
  1483. </col>
  1484. <col disabled="true" ref="ohgoodcd" type="combo" style="text-align:left; ">
  1485. <choices>
  1486. <itemset nodeset="/root/codeinfo/codelist[cdgrupid ='C03']">
  1487. <label ref="cdnm"/>
  1488. <value ref="cdid">`</value>
  1489. </itemset>
  1490. </choices>
  1491. </col>
  1492. <col ref="ohgood"/>
  1493. <col disabled="true" ref="ohindispcd" type="combo" style="text-align:left; ">
  1494. <choices>
  1495. <itemset nodeset="/root/codeinfo/codelist[cdgrupid ='C04']">
  1496. <label ref="cdnm"/>
  1497. <value ref="cdid">`</value>
  1498. </itemset>
  1499. </choices>
  1500. </col>
  1501. <col ref="ohindisp"/>
  1502. <col disabled="true" ref="reservinfoyn" type="combo" style="text-align:center; ">
  1503. <choices>
  1504. <item>
  1505. <label>예</label>
  1506. <value>Y</value>
  1507. </item>
  1508. <item>
  1509. <label>아니요</label>
  1510. <value>N</value>
  1511. </item>
  1512. <item>
  1513. <label>해당없음</label>
  1514. <value>0</value>
  1515. </item>
  1516. </choices>
  1517. </col>
  1518. <col ref="nextdr"/>
  1519. <col ref="nextdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  1520. <col ref="othercnst"/>
  1521. <col ref="instcd" visibility="hidden"/>
  1522. <col ref="cretno" visibility="hidden"/>
  1523. <col ref="ordtype" visibility="hidden"/>
  1524. <col ref="userid" visibility="hidden"/>
  1525. <script type="javascript" ev:event="ondblclick">
  1526. <![CDATA[
  1527. var row= grd_cnstinfo.row -1;
  1528. var txtbox = "";
  1529. var instnm=getUserInfo("dutplceinstnm");
  1530. var nursernm="";
  1531. var deptcd="";
  1532. var intvflag="";
  1533. var nurserid="";
  1534. if(grd_cnstinfo.isCell(event.target) && grd_cnstinfo.mouseRow >= grd_cnstinfo.fixedrows){
  1535. var ordtype = model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/ordtype");
  1536. var param = ordtype + "▦" + model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/pid")
  1537. + "▦" + model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/orddd")
  1538. + "▦" + model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/cretno")
  1539. + "▦" + model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/instcd");
  1540. setParameter("condparam", param);
  1541. modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
  1542. model.copyNode("/root/main/cnst", grd_cnstinfo.nodeset + "[" + row + "]");
  1543. if(model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/userid") == ""){
  1544. nurserid = getUserInfo("userid");
  1545. nursernm = getUserInfo("usernm");
  1546. }else{
  1547. nurserid = model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/userid");
  1548. nursernm = model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/usernm");
  1549. }
  1550. if(model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/deptcd") == ""){
  1551. deptcd = getUserInfo("dutplcecd");
  1552. }else{
  1553. deptcd = model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/deptcd");
  1554. }
  1555. if(model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/intvflag") == ""){
  1556. intvflag = "A";
  1557. }else{
  1558. intvflag = model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/intvflag");
  1559. }
  1560. // 전체 항목 해당없음
  1561. if(model.getValue("/root/main/cnst/nothingyn") == "Y"){
  1562. rdo_nothingchk.disabled = false;
  1563. rdo_healthstat.disabled = true;
  1564. rdo_medicineyn.disabled = true;
  1565. rdo_hselreson.disabled = true;
  1566. rdo_goodimpo.disabled = true;
  1567. ipt_prcduimpo.disabled = true;
  1568. rdo_drgrades.disabled = true;
  1569. rdo_nrgrades.disabled = true;
  1570. rdo_satisfaction.disabled = true;
  1571. rdo_revisit.disabled = true;
  1572. cmb_ohgoodcd.disabled = true;
  1573. cmb_ohindispcd.disabled = true;
  1574. rdo_reservinfoyn.disabled = true;
  1575. txa_othercnst.disabled = true;
  1576. if(model.getValue("/root/main/cnst/nothingchk") == "9"){
  1577. ipt_nothingrmk.disabled = false;
  1578. }else {
  1579. ipt_nothingrmk.disabled = true;
  1580. }
  1581. }else{
  1582. rdo_nothingchk.disabled = true;
  1583. ipt_nothingrmk.disabled = true;
  1584. rdo_healthstat.disabled = false;
  1585. rdo_medicineyn.disabled = false;
  1586. rdo_hselreson.disabled = false;
  1587. rdo_goodimpo.disabled = false;
  1588. ipt_prcduimpo.disabled = false;
  1589. rdo_drgrades.disabled = false;
  1590. rdo_nrgrades.disabled = false;
  1591. rdo_satisfaction.disabled = false;
  1592. rdo_revisit.disabled = false;
  1593. cmb_ohgoodcd.disabled = false;
  1594. cmb_ohindispcd.disabled = false;
  1595. rdo_reservinfoyn.disabled = false;
  1596. txa_othercnst.disabled = false;
  1597. }
  1598. // 10.좋았던점 기타
  1599. if(model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/ohgoodcd")== '05'){
  1600. ipt_ohgood.disabled = false;
  1601. }else{
  1602. ipt_ohgood.disabled = true;
  1603. }
  1604. // 10.개선할점 기타
  1605. if(model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/ohindispcd")== '07'){
  1606. ipt_ohindisp.disabled = false;
  1607. }else{
  1608. ipt_ohindisp.disabled = true;
  1609. }
  1610. // 11.다음 진료 예약 안내 여부 해당없음
  1611. if(model.getValue(grd_cnstinfo.nodeset + "[" + row + "]/reservinfoyn") == "0"){
  1612. ipt_nextdr.disabled = true;
  1613. ipt_nextdd.disabled = true;
  1614. ipt_nexttm.disabled = true;
  1615. }else{
  1616. ipt_nextdr.disabled = false;
  1617. ipt_nextdd.disabled = false;
  1618. ipt_nexttm.disabled = false;
  1619. }
  1620. model.setValue(ipt_usernm.attribute("ref") , nursernm);
  1621. model.setValue(ipt_userid.attribute("ref") , nurserid);
  1622. model.setValue(cmb_deptcd.attribute("ref"), deptcd);
  1623. model.setValue(rdo_intvflag.attribute("ref") , intvflag);
  1624. cmb_deptcd.refresh();
  1625. rdo_intvflag.refresh();
  1626. txtbox = "안녕 하십니까?\n저는 "+ instnm +" "+cmb_deptcd.label+" 외래 "+nursernm+"입니다.\n" + grd_cnstinfo.valueMatrix(grd_cnstinfo.row, grd_cnstinfo.colRef("patnm")) +"님 께서 (오늘) 받으셨던 진료에 대해 몇 가지 질문을 드리고 궁금한 점에 대해\n도움을 드리고자 연락을 드렸습니다. (전화 가능하신지요?)";
  1627. cpt_textbox.value = txtbox;
  1628. model.refresh();
  1629. }
  1630. ]]>
  1631. </script>
  1632. </datagrid>
  1633. <input id="ipt_userid" ref="/root/main/cnst/userid" visibility="hidden" style="left:570px; top:0px; width:20px; height:19px; font-family:굴림; "/>
  1634. </group>
  1635. </xhtml:body>
  1636. </xhtml:html>