SMMNB00200_카덱스관리.xrw 68 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.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. <wardcd/>
  12. <settingrnid/>
  13. <userid/>
  14. <usernm/>
  15. <orddd/>
  16. <duty>1</duty>
  17. <testprcpflag>ALL</testprcpflag>
  18. <execflag>ALL</execflag>
  19. <zonecd/>
  20. </cond>
  21. <kardexinfo>
  22. <patdetlinfo>
  23. <roomcd/>
  24. <pid/>
  25. <patnm/>
  26. <sexage/>
  27. <vipyn/>
  28. <rqstyn/>
  29. <spcffactyn/>
  30. <clincstdyyn/>
  31. <cpyn/>
  32. <blodprepyn/>
  33. <chngroomstat/>
  34. <indschstat/>
  35. <serdiag/>
  36. <rarediag/>
  37. </patdetlinfo>
  38. <memolist>
  39. <memocnts/>
  40. <recdt/>
  41. <pid/>
  42. <memoitemflag/>
  43. <seqno/>
  44. <recdd/>
  45. <recdd_b/>
  46. <rectm_b/>
  47. <indd/>
  48. <cretno/>
  49. <instcd/>
  50. <prcpcd/>
  51. <writ/>
  52. </memolist>
  53. <medrprcpdd>
  54. <prcpdd/>
  55. </medrprcpdd>
  56. <medrprcplist>
  57. <flag/>
  58. <prcpcd/>
  59. <prcpnm/>
  60. <prcpvol/>
  61. <prcpvolunitflag/>
  62. <prcpqty/>
  63. <prcpqtyunitflag/>
  64. <prcptims/>
  65. <prcpdayno/>
  66. <abbrnm/>
  67. </medrprcplist>
  68. <medrmemoinfo>
  69. <memocnts/>
  70. <recdd_b/>
  71. <rectm_b/>
  72. <status/>
  73. <seqno/>
  74. </medrmemoinfo>
  75. <testlist>
  76. <clscd/>
  77. <prcpdd/>
  78. <prcpnm/>
  79. <status/>
  80. <execdd/>
  81. <prcpcd/>
  82. <drugmthdspccdnm/>
  83. </testlist>
  84. <consultinfo>
  85. <reqcnt/>
  86. <repcnt/>
  87. </consultinfo>
  88. <todaylist1/>
  89. <assessinfo>
  90. <height/>
  91. <weight/>
  92. <serigrade/>
  93. <bedsore/>
  94. <fallhurt/>
  95. </assessinfo>
  96. <todayschedulelist>
  97. <schddd/>
  98. <schdtm/>
  99. <schdnm/>
  100. </todayschedulelist>
  101. <tomorrowschedulelist>
  102. <schddd/>
  103. <schdtm/>
  104. <schdnm/>
  105. </tomorrowschedulelist>
  106. <cardexsetlist/>
  107. <hiddencatheterlist/>
  108. <hiddentestlist/>
  109. <catheterlist/>
  110. <hiddentestlist/>
  111. <ioinfo>
  112. <pid/>
  113. <indd/>
  114. <cretno/>
  115. <ioyn/>
  116. <bstyn/>
  117. <bwyn/>
  118. <acyn/>
  119. <bstkindcd/>
  120. <iokindcd/>
  121. </ioinfo>
  122. </kardexinfo>
  123. <paminfo/>
  124. <testrsltinfo>
  125. <rsltlist>
  126. <reptrslt/>
  127. <testcd/>
  128. <bcno/>
  129. <judgmark/>
  130. <flag/>
  131. <prcpcd/>
  132. <prcpnm/>
  133. <judgmark2/>
  134. </rsltlist>
  135. </testrsltinfo>
  136. <cadexyn/>
  137. <menuitems>
  138. <gnrlmenu>
  139. <item>
  140. <name>환자진료정보</name>
  141. <func>fOpenPrcpSpec</func>
  142. </item>
  143. <item>
  144. <name>환자라벨출력</name>
  145. <func>fOpenLabelPrint</func>
  146. </item>
  147. <item>
  148. <name>간호일지</name>
  149. <func>fOpenNursingRecord</func>
  150. </item>
  151. <item>
  152. <name>전실신청</name>
  153. <func>fOpenChngRoom</func>
  154. </item>
  155. <item>
  156. <name>투약기록</name>
  157. <func>fOpenMediRecord</func>
  158. </item>
  159. <item>
  160. <name>간호처방</name>
  161. <func>fOpenCarePrcp</func>
  162. </item>
  163. <item>
  164. <name>-</name>
  165. <func/>
  166. </item>
  167. <item>
  168. <name>바코드관리</name>
  169. <func>fOpenBarcodeMngt</func>
  170. </item>
  171. <item>
  172. <name>검사결과조회</name>
  173. <func>fOpenTestRslt</func>
  174. </item>
  175. <item>
  176. <name>임상관찰기록</name>
  177. <func>fOpenTPR</func>
  178. </item>
  179. <item>
  180. <name>퇴원정리</name>
  181. <func>fOpenDschArngnm</func>
  182. </item>
  183. <item>
  184. <name>약품인계내역조회</name>
  185. <func>fOpenDrugList</func>
  186. </item>
  187. </gnrlmenu>
  188. <coopteammenu>
  189. <item>
  190. <name>협진환자관리</name>
  191. <func>fOpenCoopTeam</func>
  192. </item>
  193. </coopteammenu>
  194. <atdoctmenu>
  195. <item>
  196. <name>프로필보기</name>
  197. <func>fAtdoctlist</func>
  198. </item>
  199. <item>
  200. <name>메시지보내기</name>
  201. <func>fSendMessage</func>
  202. </item>
  203. <item>
  204. <name>호출</name>
  205. <func>fSendCall</func>
  206. </item>
  207. <item>
  208. <name>메시지+호출</name>
  209. <func>fSendMessageCall</func>
  210. </item>
  211. </atdoctmenu>
  212. <vnrlmenu>
  213. <item>
  214. <name>환자진료정보</name>
  215. <func>fOpenPrcpSpec</func>
  216. </item>
  217. <item>
  218. <name>환자라벨출력</name>
  219. <func>fOpenLabelPrint</func>
  220. </item>
  221. <item>
  222. <name>간호일지</name>
  223. <func>fOpenNursingRecord</func>
  224. </item>
  225. <item>
  226. <name>전실신청</name>
  227. <func>fOpenChngRoom</func>
  228. </item>
  229. <item>
  230. <name>투약기록</name>
  231. <func>fOpenMediRecord</func>
  232. </item>
  233. <item>
  234. <name>간호처방</name>
  235. <func>fOpenCarePrcp</func>
  236. </item>
  237. <item>
  238. <name>-</name>
  239. <func/>
  240. </item>
  241. <item>
  242. <name>바코드관리</name>
  243. <func>fOpenBarcodeMngt</func>
  244. </item>
  245. <item>
  246. <name>검사결과조회</name>
  247. <func>fOpenTestRslt</func>
  248. </item>
  249. <item>
  250. <name>임상관찰기록</name>
  251. <func>fOpenTPR</func>
  252. </item>
  253. <item>
  254. <name>퇴원정리</name>
  255. <func>fOpenDschArngnm</func>
  256. </item>
  257. <item>
  258. <name>Cousult 관리</name>
  259. <func>fOpenConsultManage</func>
  260. </item>
  261. <item>
  262. <name>약품인계내역조회</name>
  263. <func>fOpenDrugList</func>
  264. </item>
  265. </vnrlmenu>
  266. <consultmenu>
  267. <item>
  268. <name>Cousult 관리</name>
  269. <func>fOpenConsultManage</func>
  270. </item>
  271. </consultmenu>
  272. <crtfctmenu>
  273. <item>
  274. <name>제증명관리</name>
  275. <func>fOpenCrtfctManage</func>
  276. </item>
  277. </crtfctmenu>
  278. <cpapmenu>
  279. <item>
  280. <name>사본발급조회</name>
  281. <func>fOpenCpapynManage</func>
  282. </item>
  283. </cpapmenu>
  284. </menuitems>
  285. <printcnt/>
  286. <barcdprntsetup/>
  287. </main>
  288. <send>
  289. <reqdata/>
  290. <savedata/>
  291. </send>
  292. <init>
  293. <ward>
  294. <wardcd/>
  295. <wardnm/>
  296. </ward>
  297. <dept>
  298. <deptcd/>
  299. <depthngnm/>
  300. </dept>
  301. <settingrn>
  302. <settingrnid/>
  303. <settingrnnm/>
  304. </settingrn>
  305. <A0078list/>
  306. </init>
  307. <hidden>
  308. <medspccdlist/>
  309. <memoinfo/>
  310. <recmemoinfo/>
  311. <kardexsetinfo/>
  312. <careexecinfo/>
  313. <popmenu>
  314. <deleteset>
  315. <menu>
  316. <name>삭제</name>
  317. <func>fDelCardexSet</func>
  318. </menu>
  319. </deleteset>
  320. </popmenu>
  321. </hidden>
  322. <tmp>
  323. <barcdprntsetup/>
  324. </tmp>
  325. <!--(20101019) 경북대 -->
  326. <code>
  327. <codelist/>
  328. </code>
  329. <!--(20110211) 경북대 -->
  330. <temp>
  331. <zoneinfo>
  332. <zonelist>
  333. <bedcd/>
  334. <bednm/>
  335. </zonelist>
  336. </zoneinfo>
  337. <transinfo>
  338. <translist/>
  339. </transinfo>
  340. </temp>
  341. </root>
  342. </instance>
  343. <bind id="bindactivity" ref="/root/main/cardexsetinfo/cardexsetlist/itemcnts" readOnly="../itemnm != 'Activity'"/>
  344. <script type="javascript" ev:event="xforms-ready">
  345. <![CDATA[
  346. alert("메롱");
  347. fInitialize();
  348. // grd_todolist.colHidden(93)=true;
  349. // for(i=13;i<102;i++){
  350. // grd_todolist.mergeCol(i) = false;
  351. // }
  352. ]]>
  353. </script>
  354. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  355. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  356. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  357. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  358. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  359. <script type="javascript" src="../../../emr/wardcareweb/js/SMMNB00200.js"/>
  360. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  361. <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
  362. <script type="javascript" src="../../../lis/commonweb/js/LAZ001.js"/>
  363. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  364. <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init"/>
  365. <submission id="TRMNB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/kardexinfo"/>
  366. <submission id="TRMNB00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/memoinfo"/>
  367. <submission id="TRMNB00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/kardexinfo"/>
  368. <submission id="TRMNB00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/memoinfo"/>
  369. <submission id="TRMNB00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/mypatmemoinfo"/>
  370. <submission id="TRMNB00210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/transinfo"/>
  371. <submission id="TRMNW00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/todoinfo"/>
  372. <submission id="TXMNB00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden/kardexinfo"/>
  373. <submission id="TXMNB00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden/kardexinfo"/>
  374. <submission id="TXMNB00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden/kardexinfo"/>
  375. <submission id="TXMNB00212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance"/>
  376. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  377. <submission id="TRMNW00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testrsltinfo"/>
  378. <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp/barcdprntsetup"/>
  379. <!--(20101019) 경북대 -->
  380. <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
  381. <!--(20110211) 경북대 -->
  382. <submission id="TRMNR06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/zoneinfo"/>
  383. <!-- 1회용량, 1회수량_20110214_SMY추가 -->
  384. <script type="javascript" ev:event="xforms-model-construct-done">
  385. <![CDATA[
  386. var colHidnValue = grdBaseColHidn("D");
  387. grdBaseColHidn(colHidnValue, "grd_medi2", 37, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8");
  388. ]]>
  389. </script>
  390. </model>
  391. </xhtml:head>
  392. <xhtml:body guideline="1,1247;1,1273;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  393. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  394. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:113px; height:14px; ">카덱스관리</caption>
  395. </group>
  396. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  397. <datagrid id="grd_translist" nodeset="/root/temp/transinfo/translist" visibility="hidden" caption="기관^등록번호^입원일자^생성번호^적용일자^적용시간" colsep="^" colwidth="38, 70, 55, 47, 55, 54" mergecellsfixedrows="bycolrec" rowsep="|" style="left:690px; top:385px; width:340px; height:150px; ">
  398. <col ref="instcd"/>
  399. <col ref="pid"/>
  400. <col ref="indd"/>
  401. <col ref="cretno"/>
  402. <col ref="appdd"/>
  403. <col ref="apptm"/>
  404. </datagrid>
  405. <datagrid id="grd_memo" nodeset="/root/main/kardexinfo/memolist" allowuserresize="true" autoresize="true" caption="메모내용(CTRL + ENTER시 다음줄에 기입가능)^작성자^작성일시^작성시간^등록번호^메모항목구분^일련번호^기록일시^이전기록일자^이전기록시간^입원일^생성번호^기관코드" colsep="^" colwidth="371, 61, 69, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0" dataheight="55" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:655px; top:217px; width:539px; height:268px; ">
  406. <col imemode="hangul" ref="memocnts" type="input" maxlength="666"/>
  407. <col ref="writ" style="text-align:center; "/>
  408. <col ref="recdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
  409. <col ref="rectm" visibility="hidden"/>
  410. <col ref="pid" visibility="hidden"/>
  411. <col ref="memoitemflag" visibility="hidden"/>
  412. <col ref="seqno" visibility="hidden"/>
  413. <col ref="recdd" visibility="hidden"/>
  414. <col ref="recdd_b" visibility="hidden"/>
  415. <col ref="rectm_b" visibility="hidden"/>
  416. <col ref="indd" visibility="hidden"/>
  417. <col ref="cretno" visibility="hidden"/>
  418. <col ref="instcd" visibility="hidden"/>
  419. </datagrid>
  420. <line id="line1" class="line_1" style="x1:120px; y1:68px; x2:433px; y2:70px; "/>
  421. <caption id="caption5" style="left:872px; top:193px; width:18px; height:20px; text-align:center; vertical-align:middle; ">:</caption>
  422. <caption id="caption7" class="tit_2" style="left:125px; top:197px; width:108px; height:14px; ">카덱스Set 관리</caption>
  423. <line id="line2" class="line_1" style="x1:120px; y1:212px; x2:651px; y2:212px; "/>
  424. <textarea id="tar_remk1" ref="/root/main/kardexinfo/medrmemoinfo/memocnts" scroll="autovscroll" maxlength="50" style="left:220px; top:694px; width:430px; height:42px; "/>
  425. <datagrid id="grd_cadexset" nodeset="/root/main/kardexinfo/cardexsetlist" allowuserresize="true" autoresize="true" caption="항목^내용" colsep="^" colwidth="95, 383" dataheight="55" extendlastcol="scroll" fixedcols="1" mergecellsfixedcols="bycol" mergecellsfixedrows="bycol" rowsep="|" style="left:120px; top:217px; width:531px; height:161px; ">
  426. <col ref="itemnm" style="text-align:left; "/>
  427. <col disabled="true" ref="itemcnts" type="input"/>
  428. <script type="javascript" ev:event="DOMFocusOut">
  429. <![CDATA[
  430. window.setPopupMenu(false);
  431. ]]>
  432. </script>
  433. <script type="javascript" ev:event="onmousedown">
  434. <![CDATA[
  435. if(event.button == 3){
  436. if( grd_cadexset.isCell(event.target)
  437. && grd_cadexset.mouseRow >= grd_cadexset.fixedrows
  438. && (grd_cadexset.labelMatrix( grd_cadexset.mouseRow , grd_cadexset.colRef("itemnm"))== "Activity"
  439. || grd_cadexset.labelMatrix( grd_cadexset.mouseRow , grd_cadexset.colRef("itemnm"))== "특이사항" )){
  440. window.setPopupMenu(true, "/root/hidden/popmenu/deleteset/menu", "name", "func", false);
  441. }else{
  442. window.setPopupMenu(false);
  443. }
  444. }
  445. ]]>
  446. </script>
  447. <script type="javascript" ev:event="onclick">
  448. <![CDATA[
  449. var lnkscrid="";
  450. if( grd_cadexset.mouseRow > 0 && grd_cadexset.row <= grd_cadexset.rows - grd_cadexset.fixedRows
  451. && grd_cadexset.mouseCol == grd_cadexset.colRef("itemnm") ){
  452. var lnkscrid = model.getValue(xPathCardexSetList + "["+ grd_cadexset.mouseRow +"]/lnkscrid");
  453. var SPMNR05800_Param = "pid▦indd▦cretno▦wardcd▦recdd▩" //"18864191▦20080104▦800340900▦3050107000▦20080704▩"
  454. + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/pid") + "▦"
  455. + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/indd") + "▦"
  456. + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/cretno") + "▦"
  457. + model.getValue("/root/main/cond/wardcd")+ "▦"
  458. + model.getValue("/root/main/cond/orddd") + "▩";
  459. if( !isNull(lnkscrid) ){
  460. setParameter("SPMNR05800_Param", SPMNR05800_Param);
  461. modal(lnkscrid,"1" ,"868", "128");
  462. lnkscrid="";
  463. }
  464. }else if ( grd_cadexset.mouseCol == grd_cadexset.colRef("itemcnts") ){
  465. if(grd_cadexset.labelMatrix(grd_cadexset.row , grd_cadexset.colRef("itemnm"))== "Activity"){
  466. grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = false;
  467. //grd_cadexset.editCell();
  468. }else if(grd_cadexset.labelMatrix(grd_cadexset.row , grd_cadexset.colRef("itemnm"))== "특이사항"){
  469. grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = false;
  470. //grd_cadexset.editCell();
  471. }else {
  472. grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = true;
  473. }
  474. }
  475. // if(grd_cadexset.labelMatrix(grd_cadexset.mouseRow , grd_cadexset.mouseCol) == "Diet"){//식사입력
  476. //
  477. // modal("SMMNW05700","1" ,"868", "128");
  478. // }
  479. // if( grd_cadexset.labelMatrix(grd_cadexset.mouseRow , grd_cadexset.mouseCol) == "V/S"
  480. // || grd_cadexset.labelMatrix(grd_cadexset.mouseRow , grd_cadexset.mouseCol) == "신체계측" ){//임상관찰 기록
  481. // modal("SMMNR00900","1" ,"868", "128");
  482. // }
  483. // if(grd_cadexset.labelMatrix(grd_cadexset.mouseRow , grd_cadexset.mouseCol) == "BST"){//혈당간호기록
  484. // modal("SMMNR02500","1" ,"868", "128");
  485. // }
  486. // if(grd_cadexset.labelMatrix(grd_cadexset.mouseRow , grd_cadexset.mouseCol) == "I/O"){
  487. // //modal("SMMNW05700","1" ,"868", "128");
  488. // }
  489. ]]>
  490. </script>
  491. <!--script type="javascript" ev:event="onentercell">
  492. <![CDATA[
  493. if(grd_cadexset.labelMatrix(grd_cadexset.row , grd_cadexset.colRef("itemnm"))== "Activity"){
  494. grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = false;
  495. //grd_cadexset.editCell();
  496. }else if(grd_cadexset.labelMatrix(grd_cadexset.row , grd_cadexset.colRef("itemnm"))== "특이사항"){
  497. grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = false;
  498. //grd_cadexset.editCell();
  499. }else {
  500. grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = true;
  501. }
  502. ]]>
  503. </script-->
  504. <script type="javascript" ev:event="xforms-value-changed">
  505. <![CDATA[
  506. if ( model.getValue(xPathCardexSetList + "["+grd_cadexset.row+"]/flag") != "0" ){
  507. model.makeValue(xPathCardexSetList + "["+grd_cadexset.row+"]/status", "u");
  508. } else if ( model.getValue(xPathCardexSetList + "["+grd_cadexset.row+"]/flag") == "0" ){
  509. model.makeValue(xPathCardexSetList + "["+grd_cadexset.row+"]/status", "i");
  510. }
  511. ]]>
  512. </script>
  513. </datagrid>
  514. <line id="line3" class="line_1" style="x1:120px; y1:401px; x2:651px; y2:401px; "/>
  515. <line id="line4" class="line_1" style="x1:120px; y1:538px; x2:651px; y2:538px; "/>
  516. <caption id="caption9" class="tit_2" style="left:125px; top:523px; width:108px; height:13px; ">투약관리</caption>
  517. <line id="line8" class="line_1" style="x1:654px; y1:212px; x2:1194px; y2:212px; "/>
  518. <caption id="caption11" class="tit_2" style="left:660px; top:195px; width:108px; height:13px; ">메모</caption>
  519. <datagrid id="grd_catheter" nodeset="/root/main/kardexinfo/catheterlist" allowuserresize="true" autoresize="true" caption="ITEM^부위^구분^시행일시^종류^비고^크기^고정^압력^예약일시" colsep="^" colwidth="110, 44, 37, 100, 166, 110, 60, 55, 60, 0" dataheight="55" mergecells="byrestriccol" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:120px; top:405px; width:531px; height:111px; ">
  520. <col ref="itemnm"/>
  521. <col ref="loc"/>
  522. <col disabled="true" ref="opflag" type="combo" style="text-align:center; ">
  523. <choices>
  524. <item>
  525. <label>삽입</label>
  526. <value>01</value>
  527. </item>
  528. <item>
  529. <label>교환</label>
  530. <value>02</value>
  531. </item>
  532. <item>
  533. <label>세척</label>
  534. <value>03</value>
  535. </item>
  536. <item>
  537. <label>흡인</label>
  538. <value>04</value>
  539. </item>
  540. <item>
  541. <label>제거</label>
  542. <value>05</value>
  543. </item>
  544. </choices>
  545. </col>
  546. <col ref="opdt" format="yyyy-mm-dd hh:nn"/>
  547. <col ref="supnm"/>
  548. <col ref="remark"/>
  549. <col ref="volunit"/>
  550. <col ref="fix"/>
  551. <col ref="pres"/>
  552. <col ref="reservdt" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
  553. </datagrid>
  554. <line id="line28" class="line_1" style="x1:0px; y1:47px; x2:117px; y2:47px; "/>
  555. <group id="group2" style="left:0px; top:10px; width:775px; height:35px; vertical-align:top; ">
  556. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:775px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  557. <caption id="cap_settingrnid" class="search_name" style="left:230px; top:10px; width:71px; height:17px; ">내환자:</caption>
  558. <select1 id="cmb_settingrnid" ref="/root/main/cond/settingrnid" class="combo_search" appearance="minimal" style="left:300px; top:8px; width:65px; height:19px; ">
  559. <choices>
  560. <itemset nodeset="/root/init/settingrn">
  561. <label ref="settingrnnm"/>
  562. <value ref="settingrnid"/>
  563. </itemset>
  564. </choices>
  565. <script type="javascript" ev:event="xforms-value-changed">
  566. <![CDATA[
  567. fGetMedSpccdList("pat");
  568. ]]>
  569. </script>
  570. </select1>
  571. <button id="button1" class="btn1_letter2" style="left:623px; top:7px; width:56px; height:22px; ">
  572. <caption>조회</caption>
  573. <script type="javascript" ev:event="DOMActivate">
  574. <![CDATA[
  575. fGetMedSpccdList("pat");
  576. ]]>
  577. </script>
  578. </button>
  579. <line id="line13" class="line_4" style="x1:561px; y1:7px; x2:561px; y2:29px; "/>
  580. <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="combo_s_essential" appearance="minimal" style="left:58px; top:8px; width:88px; height:19px; ">
  581. <choices>
  582. <itemset nodeset="/root/init/ward/">
  583. <label ref="wardnm"/>
  584. <value ref="wardcd"/>
  585. </itemset>
  586. </choices>
  587. <script type="javascript" ev:event="xforms-value-changed">
  588. <![CDATA[
  589. //공통함수로 수정_20110211_ SMY
  590. fGetWardChngInfo();
  591. /*
  592. model.removeNodeset("/root/send/reqdata");
  593. model.makeNode("/root/send/reqdata");
  594. model.makeValue("/root/send/reqdata/wardcd", model.getValue("/root/main/cond/wardcd"));
  595. submit("TRMNW00101");
  596. model.setValue("/root/main/cond/settingrnid", "");
  597. for(i=1; i <= getNodesetCount("/root/init/settingrn"); i++ ) {
  598. if (model.getValue("/root/main/cond/userid") == model.getValue("/root/init/settingrn["+ i +"]/settingrnid")) {
  599. model.setValue("/root/main/cond/settingrnid", model.getValue("/root/main/cond/userid"));
  600. }
  601. }
  602. // if(model.getValue("/root/main/cond/wardcd") == getUserInfo("dutplcecd") ) {
  603. // for(i=1; i <= getNodesetCount("/root/init/settingrn"); i++ ) {
  604. // if (model.getValue("/root/main/cond/userid") == model.getValue("/root/init/settingrn["+ i +"]/settingrnid")) {
  605. // model.setValue("/root/main/cond/settingrnid", model.getValue("/root/main/cond/userid"));
  606. // }
  607. // }
  608. // }
  609. */
  610. fGetMedSpccdList("pat");
  611. ]]>
  612. </script>
  613. </select1>
  614. <caption id="caption1" class="search_name" style="left:2px; top:10px; width:60px; height:17px; ">병동:</caption>
  615. <button id="btn_settingrnid" class="btn1_letter5" visibility="hidden" style="left:681px; top:7px; width:92px; height:22px; ">
  616. <caption>내환자세팅</caption>
  617. <script type="javascript" ev:event="DOMActivate">
  618. <![CDATA[
  619. fChangePidSetting();
  620. ]]>
  621. </script>
  622. </button>
  623. <caption id="caption20" class="search_name" style="left:450px; top:10px; width:83px; height:17px; ">업무일자:</caption>
  624. <input id="ipt_orddd" ref="/root/main/cond/orddd" class="input_search" inputtype="date" style="left:533px; top:8px; width:87px; height:19px; ">
  625. <script type="javascript" ev:event="xforms-value-changed">
  626. <![CDATA[
  627. fGetMedSpccdList("pat");
  628. ]]>
  629. </script>
  630. </input>
  631. <button id="button20" class="btn1_letter4" style="left:367px; top:7px; width:80px; height:22px; ">
  632. <caption>메모출력</caption>
  633. <script type="javascript" ev:event="DOMActivate">
  634. <![CDATA[
  635. fGetMypatMemo();
  636. ]]>
  637. </script>
  638. </button>
  639. <button id="button21" class="btn1_letter4" style="left:148px; top:7px; width:80px; height:22px; ">
  640. <caption>팀별메모</caption>
  641. <script type="javascript" ev:event="DOMActivate">
  642. <![CDATA[
  643. setParameter("wardcd", model.getValue("/root/main/cond/wardcd"));
  644. setParameter("userid", model.getValue("/root/main/cond/userid"));
  645. setParameter("usernm", model.getValue("/root/main/cond/usernm"));
  646. open("SPMNB00201","1" ,"900", "120");
  647. ]]>
  648. </script>
  649. </button>
  650. <select1 id="cmb_zone" ref="/root/main/cond/zonecd" class="combo_search" visibility="hidden" appearance="minimal" style="left:295px; top:8px; width:70px; height:19px; background-image:../../../com/commonweb/images/input_s_essential.gif; ">
  651. <choices>
  652. <itemset nodeset="/root/temp/zoneinfo/zonelist">
  653. <label ref="bednm"/>
  654. <value ref="bedcd"/>
  655. </itemset>
  656. </choices>
  657. <script type="javascript" ev:event="xforms-value-changed">
  658. <![CDATA[
  659. fGetMedSpccdList("pat");
  660. ]]>
  661. </script>
  662. </select1>
  663. </group>
  664. <datagrid id="grd_patlist" nodeset="/root/main/kardexinfo/ompatlist" allowselection="false" caption="병실^환자명^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11" colsep="^" colwidth="45, 51, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:52px; width:117px; height:684px; ">
  665. <col ref="roomcd" style="text-align:center; "/>
  666. <col ref="patnm"/>
  667. <col ref="pid" visibility="hidden"/>
  668. <col ref="indd" visibility="hidden"/>
  669. <col ref="cretno" visibility="hidden"/>
  670. <col ref="instcd" visibility="hidden"/>
  671. <col ref="sexage" visibility="hidden"/>
  672. <col ref="serdiag" visibility="hidden"/>
  673. <col ref="rgstno" visibility="hidden"/>
  674. <col ref="rarediag" visibility="hidden"/>
  675. <col ref="vipyn" visibility="hidden"/>
  676. <col ref="rqstyn" visibility="hidden"/>
  677. <col ref="spcffactyn" visibility="hidden"/>
  678. <col ref="clincstdyyn" visibility="hidden"/>
  679. <col ref="cpyn" visibility="hidden"/>
  680. <col ref="blodprepyn" visibility="hidden"/>
  681. <col ref="indschstat" visibility="hidden"/>
  682. <col ref="nrsetting" visibility="hidden"/>
  683. <col ref="chngroomstat" visibility="hidden"/>
  684. <script type="javascript" ev:event="ondblclick">
  685. <![CDATA[
  686. debugger;
  687. fClickPatList();
  688. ]]>
  689. </script>
  690. <script type="javascript" ev:event="onmousedown">
  691. <![CDATA[
  692. fShowPopupMenu("grd_patlist","/root/main/menuitems/gnrlmenu/item");
  693. ]]>
  694. </script>
  695. <script type="javascript" ev:event="DOMFocusOut">
  696. <![CDATA[
  697. window.setPopupMenu(false);
  698. ]]>
  699. </script>
  700. <script type="javascript" ev:event="onaftersort">
  701. <![CDATA[
  702. grd_patlist.gridToInstance();
  703. ]]>
  704. </script>
  705. </datagrid>
  706. <datagrid id="grd_medi1" nodeset="/root/main/kardexinfo/medrprcpdd" caption="처방적용일" colsep="^" colwidth="81" dataheight="55" mergecellsfixedrows="bycolrec" rowsep="|" style="left:120px; top:543px; width:101px; height:193px; ">
  707. <col disabled="true" ref="prcpdd" format="yyyy-mm-dd"/>
  708. <script type="javascript" ev:event="ondblclick">
  709. <![CDATA[
  710. var row = grd_patlist.row;
  711. if(isDataCell()){
  712. fDBClickMedr();
  713. // fDBClickMemo(); 화면이 열릴때 조회되도록 수정
  714. btn_medrsave.disabled = false;
  715. }
  716. ]]>
  717. </script>
  718. </datagrid>
  719. <output id="output32" ref="/root/main/kardexinfo/patdetlinfo/pid" style="left:1010px; top:25px; width:64px; height:19px; font-weight:bold; text-align:center; "/>
  720. <datagrid id="grd_medi2" nodeset="/root/main/kardexinfo/medrprcplist" class="datagrid2" allowbigselection="false" allowselection="false" caption="구분^처방코드^처방명[* : 혼동주의/고위험 약제]^1일&#xA;용량^1회&#xA;용량^단&#xA;위^1일&#xA;수량^1회&#xA;수량^단&#xA;위^1일&#xA;횟수^기간^용법" colsep="^" colwidth="50, 78, 235, 40, 40, 25, 30, 30, 25, 30, 37, 61" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:220px; top:543px; width:431px; height:150px; ">
  721. <col ref="flag"/>
  722. <col ref="prcpcd" style="left:111px; top:23px; width:72px; height:23px; text-align:left; border-right-width:0; "/>
  723. <col ref="prcpnm" style="left:183px; top:23px; width:230px; height:23px; text-align:left; border-left-width:0; border-right-width:0; "/>
  724. <col ref="prcpvol" style="text-align:right; border-left-width:0; border-right-width:0; "/>
  725. <col ref="drprcpetc7" style="text-align:right; border-left-width:0; border-right-width:0; "/>
  726. <col ref="prcpvolunitflag" style="text-align:left; border-left-width:0; border-right-width:0; "/>
  727. <col ref="prcpqty" style="text-align:right; border-left-width:0; border-right-width:0; "/>
  728. <col ref="drprcpetc8" style="text-align:right; border-left-width:0; border-right-width:0; "/>
  729. <col ref="prcpqtyunitflag" style="text-align:left; border-left-width:0; border-right-width:0; "/>
  730. <col ref="prcptims" style="text-align:right; border-left-width:0; border-right-width:0; "/>
  731. <col ref="prcpdayno" style="border-left-width:0; border-right-width:0; "/>
  732. <col ref="abbrnm" style="text-align:left; border-left-width:0; "/>
  733. <script type="javascript" ev:event="ondblclick">
  734. <![CDATA[
  735. var prcpcd;
  736. if(grd_medi2.isCell(event.target) && grd_medi2.mouseRow >= grd_medi2.fixedrows){
  737. prcpcd = grd_medi2.valueMatrix(grd_medi2.row, grd_medi2.colRef("prcpcd"));
  738. model.makeValue("/root/temp/setparma/prcpcd", prcpcd);
  739. modal("SMADB01900", "1", "0", "0", "","/root/temp/setparma/prcpcd", "/root/hidden/receivedata/srchdrugcd");
  740. model.removenode("/root/temp/setparma/prcpcd");
  741. }
  742. ]]>
  743. </script>
  744. </datagrid>
  745. <output id="output33" ref="/root/main/kardexinfo/patdetlinfo/sexage" style="left:1143px; top:25px; width:44px; height:19px; font-weight:bold; text-align:center; "/>
  746. <caption id="caption2" ref="/root/main/kardexinfo/patdetlinfo/patnm" class="cell_1" style="left:1075px; top:25px; width:68px; height:18px; font-weight:bold; text-align:center; vertical-align:middle; "/>
  747. <line id="line27" class="line_3" style="x1:780px; y1:23px; x2:1190px; y2:23px; "/>
  748. <caption id="caption57" ref="/root/main/kardexinfo/patdetlinfo/roomcd" class="cell_1" style="left:948px; top:25px; width:62px; height:18px; font-weight:bold; vertical-align:middle; "/>
  749. <line id="line16" class="line_3" style="x1:780px; y1:44px; x2:1190px; y2:44px; "/>
  750. <line id="line5" class="line_3" style="x1:780px; y1:24px; x2:780px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  751. <line id="line6" class="line_3" style="x1:1074px; y1:24px; x2:1074px; y2:44px; border-color:#ffe4bb; border-left-style:solid; "/>
  752. <caption id="caption4" style="left:917px; top:193px; width:10px; height:20px; text-align:center; vertical-align:middle; ">/</caption>
  753. <caption id="caption13" style="left:952px; top:193px; width:26px; height:20px; text-align:center; vertical-align:middle; ">건</caption>
  754. <output id="output1" ref="/root/main/kardexinfo/consultinfo/reqcnt" style="left:887px; top:192px; width:25px; height:19px; font-weight:bold; text-align:center; vertical-align:middle; "/>
  755. <output id="output2" ref="/root/main/kardexinfo/consultinfo/repcnt" style="left:932px; top:192px; width:25px; height:19px; font-weight:bold; text-align:center; vertical-align:middle; "/>
  756. <button id="btn_medrsave" class="btn5_letter2" style="left:564px; top:518px; width:42px; height:19px; ">
  757. <caption>저장</caption>
  758. <script type="javascript" ev:event="DOMActivate">
  759. <![CDATA[
  760. fMedrMomoSave();
  761. ]]>
  762. </script>
  763. </button>
  764. <button id="button7" class="btn5_letter2" style="left:609px; top:192px; width:42px; height:19px; ">
  765. <caption>저장</caption>
  766. <script type="javascript" ev:event="DOMActivate">
  767. <![CDATA[
  768. fActivitySave();
  769. ]]>
  770. </script>
  771. </button>
  772. <caption id="caption10" class="tit_2" style="left:125px; top:385px; width:165px; height:13px; ">삽관현황</caption>
  773. <line id="line7" class="line_1" style="x1:120px; y1:401px; x2:651px; y2:401px; "/>
  774. <button id="button8" class="btn4_letter4" style="left:571px; top:379px; width:80px; height:22px; ">
  775. <caption>삽관기록</caption>
  776. <script type="javascript" ev:event="DOMActivate">
  777. <![CDATA[
  778. setParameter("SMMNR04100_Param", "Cath");
  779. modal("SMMNR04100");
  780. fGetMedSpccdList("cath");
  781. ]]>
  782. </script>
  783. </button>
  784. <button id="button11" class="btn5_letter2" style="left:607px; top:518px; width:42px; height:19px; ">
  785. <caption>삭제</caption>
  786. <script type="javascript" ev:event="DOMActivate">
  787. <![CDATA[
  788. fMedrMomoSave("D");
  789. ]]>
  790. </script>
  791. </button>
  792. <button id="button12" class="btn2_letter4" style="left:978px; top:192px; width:64px; height:19px; ">
  793. <caption>지시처방</caption>
  794. <script type="javascript" ev:event="DOMActivate">
  795. <![CDATA[
  796. open("SPMNB00200", "1", "", "", "", xPathPatList+"[" + grd_patlist.row + "]", "/root/target/paminfo","width:786px; height:520px; ");
  797. //open("SPMNB00200");
  798. ]]>
  799. </script>
  800. </button>
  801. <line id="line9" class="line_3" style="x1:1189px; y1:24px; x2:1189px; y2:44px; border-color:#ffe4bb; border-left-style:solid; "/>
  802. <line id="line11" class="line_3" style="x1:947px; y1:24px; x2:947px; y2:44px; border-color:#ffe4bb; border-left-style:solid; "/>
  803. <line id="line12" class="line_3" style="x1:1010px; y1:25px; x2:1010px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  804. <line id="line14" class="line_3" style="x1:1143px; y1:25px; x2:1143px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  805. <caption id="cap_vipyn" ref="/root/main/kardexinfo/patdetlinfo/vipyn" style="left:782px; top:25px; width:20px; height:18px; font-weight:bold; text-align:center; vertical-align:middle; "/>
  806. <datagrid id="grd_tomorrowschedule" nodeset="/root/main/kardexinfo/tomorrowschedulelist" visibility="hidden" colsep="^" colwidth="0, 45, 258" extendlastcol="scroll" fixedcols="1" mergecellsfixedcols="bycol" rowsep="|" style="left:120px; top:71px; width:315px; height:115px; ">
  807. <col ref="schddd" format="yyyy-mm-dd" style="text-align:center; "/>
  808. <col ref="schdtm" format="hh:nn" style="text-align:center; "/>
  809. <col ref="schdnm" style="text-align:left; "/>
  810. </datagrid>
  811. <datagrid id="grd_todayschedule" nodeset="/root/main/kardexinfo/todayschedulelist" colsep="^" colwidth="0, 45, 258" extendlastcol="scroll" fixedcols="1" mergecellsfixedcols="bycol" rowsep="|" style="left:120px; top:71px; width:315px; height:115px; ">
  812. <col ref="schddd" format="yyyy-mm-dd" style="text-align:center; "/>
  813. <col ref="schdtm" format="hh:nn" style="text-align:center; "/>
  814. <col ref="schdnm" style="text-align:left; "/>
  815. </datagrid>
  816. <caption id="cap_clincstdyyn" ref="/root/main/kardexinfo/patdetlinfo/clincstdyyn" style="left:845px; top:25px; width:20px; height:18px; font-weight:bold; text-align:center; vertical-align:middle; "/>
  817. <line id="line15" class="line_3" style="x1:803px; y1:25px; x2:803px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  818. <line id="line17" class="line_3" style="x1:844px; y1:25px; x2:844px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  819. <line id="line18" class="line_3" style="x1:862px; y1:25px; x2:862px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  820. <line id="line19" class="line_3" style="x1:823px; y1:25px; x2:823px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  821. <line id="line20" class="line_3" style="x1:883px; y1:25px; x2:883px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  822. <line id="line21" class="line_3" style="x1:904px; y1:25px; x2:904px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  823. <output id="opt_rqstyn" ref="/root/main/kardexinfo/patdetlinfo/rqstyn" style="left:803px; top:25px; width:20px; height:19px; font-weight:bold; text-align:center; "/>
  824. <output id="opt_spcffactyn" ref="/root/main/kardexinfo/patdetlinfo/spcffactyn" style="left:824px; top:25px; width:20px; height:19px; font-weight:bold; text-align:center; "/>
  825. <output id="opt_cpyn" ref="/root/main/kardexinfo/patdetlinfo/cpyn" style="left:863px; top:25px; width:20px; height:19px; font-weight:bold; text-align:center; "/>
  826. <output id="opt_chngroomstat" ref="/root/main/kardexinfo/patdetlinfo/chngroomstat" style="left:905px; top:25px; width:20px; height:19px; font-weight:bold; text-align:center; "/>
  827. <output id="opt_blodprepyn" ref="/root/main/patdetlinfo/blodprepyn" style="left:884px; top:25px; width:20px; height:19px; font-weight:bold; text-align:center; "/>
  828. <line id="line22" class="line_1" style="x1:437px; y1:68px; x2:598px; y2:68px; "/>
  829. <caption id="caption19" class="tit_2" style="left:445px; top:52px; width:108px; height:13px; ">Assess(최근)</caption>
  830. <caption id="caption21" class="cell_1" style="left:437px; top:73px; width:71px; height:20px; vertical-align:middle; ">키(cm)</caption>
  831. <input id="input1" ref="/root/main/kardexinfo/assessinfo/height" editable="false" style="left:509px; top:73px; width:89px; height:19px; text-align:center; "/>
  832. <caption id="caption22" class="cell_1" style="left:437px; top:95px; width:71px; height:20px; vertical-align:middle; ">체중(kg/g)</caption>
  833. <input id="input2" ref="/root/main/kardexinfo/assessinfo/weight" editable="false" style="left:509px; top:95px; width:89px; height:19px; text-align:center; "/>
  834. <caption id="caption23" class="cell_1" style="left:437px; top:117px; width:71px; height:20px; vertical-align:middle; ">중증도</caption>
  835. <input id="input3" ref="/root/main/kardexinfo/assessinfo/serigrade" editable="false" style="left:509px; top:117px; width:89px; height:19px; text-align:center; "/>
  836. <caption id="caption24" class="cell_1" style="left:437px; top:139px; width:71px; height:20px; vertical-align:middle; ">욕창</caption>
  837. <input id="input4" ref="/root/main/kardexinfo/assessinfo/bedsore" editable="false" style="left:509px; top:139px; width:89px; height:19px; text-align:center; "/>
  838. <caption id="caption25" class="cell_1" style="left:437px; top:161px; width:71px; height:20px; vertical-align:middle; ">낙상</caption>
  839. <input id="input5" ref="/root/main/kardexinfo/assessinfo/fallhurt" editable="false" style="left:509px; top:161px; width:89px; height:19px; text-align:center; "/>
  840. <line id="line23" class="line_1" style="x1:600px; y1:68px; x2:855px; y2:68px; "/>
  841. <line id="line24" class="line_1" style="x1:854px; y1:68px; x2:1194px; y2:68px; "/>
  842. <button id="button6" class="btn4_letter4" style="left:862px; top:46px; width:80px; height:22px; ">
  843. <caption>기구관리</caption>
  844. <script type="javascript" ev:event="DOMActivate">
  845. <![CDATA[
  846. setParameter("SMMNR04100_Param", "Cath");
  847. modal("SMMNR04100");
  848. fGetMedSpccdList("today");
  849. ]]>
  850. </script>
  851. </button>
  852. <datagrid id="grd_today3" nodeset="/root/main/kardexinfo/todaylist3" caption="유지기구^유지기구" colsep="^" colwidth="165, 98" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:910px; top:71px; width:284px; height:115px; ">
  853. <col ref="recnm"/>
  854. <col ref="recdt" format="yyyy-mm-dd hh:nn"/>
  855. </datagrid>
  856. <caption id="caption26" class="tit_2" style="left:600px; top:52px; width:108px; height:14px; ">금일현황</caption>
  857. <datagrid id="grd_today1" nodeset="/root/main/kardexinfo/todaylist1" caption="욕창" colsep="^" colwidth="146" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:600px; top:71px; width:165px; height:115px; ">
  858. <col ref="recnm"/>
  859. </datagrid>
  860. <button id="button13" class="btn4_letter4" style="left:942px; top:46px; width:80px; height:22px; ">
  861. <caption>임상관찰</caption>
  862. <script type="javascript" ev:event="DOMActivate">
  863. <![CDATA[
  864. open("SMMNR00900","1" ,"868", "128");
  865. fGetMedSpccdList("pat");
  866. ]]>
  867. </script>
  868. </button>
  869. <button id="button14" class="btn4_letter3" style="left:1022px; top:46px; width:68px; height:22px; ">
  870. <caption>I/O조회</caption>
  871. <script type="javascript" ev:event="DOMActivate">
  872. <![CDATA[
  873. var rtn = messageBox("환자별 I/O조회를 하시겠습니까?", "Q");
  874. if(rtn == "6") {
  875. open("SMMNR08600");
  876. } else {
  877. var SPMNR05800_Param = "pid▦indd▦cretno▦wardcd▦recdd▩" //"18864191▦20080104▦800340900▦3050107000▦20080704▩"
  878. + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/pid") + "▦"
  879. + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/indd") + "▦"
  880. + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/cretno") + "▦"
  881. + model.getValue("/root/main/cond/wardcd")+ "▦"
  882. + model.getValue("/root/main/cond/orddd") + "▩";
  883. setParameter("SPMNR05800_Param", SPMNR05800_Param);
  884. modal("SPMNR05800","1" ,"868", "128");
  885. }
  886. ]]>
  887. </script>
  888. </button>
  889. <button id="btn_today" class="btn_sw" group="tab" style="left:121px; top:47px; width:124px; height:22px; ">
  890. <caption>오늘스케쥴 건</caption>
  891. <script type="javascript" ev:event="onclick">
  892. <![CDATA[
  893. btn_today.selected = true;
  894. grd_todayschedule.visible = true;
  895. grd_tomorrowschedule.visible = false;
  896. ]]>
  897. </script>
  898. </button>
  899. <caption id="cap_today" style="left:189px; top:51px; width:30px; height:15px; font-weight:bold; text-align:right; ">
  900. <![CDATA[0]]>
  901. <script type="javascript" ev:event="onclick">
  902. <![CDATA[
  903. btn_today.selected = true;
  904. grd_todayschedule.visible = true;
  905. grd_tomorrowschedule.visible = false;
  906. ]]>
  907. </script>
  908. </caption>
  909. <button id="btn_tomorrow" class="btn_sw" group="tab" style="left:244px; top:47px; width:124px; height:22px; ">
  910. <caption>내일스케쥴 건</caption>
  911. <script type="javascript" ev:event="onclick">
  912. <![CDATA[
  913. btn_tomorrow.selected = true;
  914. grd_todayschedule.visible = false;
  915. grd_tomorrowschedule.visible = true;
  916. ]]>
  917. </script>
  918. </button>
  919. <caption id="cap_tomorrow" style="left:313px; top:51px; width:30px; height:15px; font-weight:bold; text-align:right; ">
  920. <![CDATA[0]]>
  921. <script type="javascript" ev:event="onclick">
  922. <![CDATA[
  923. btn_tomorrow.selected = true;
  924. grd_todayschedule.visible = false;
  925. grd_tomorrowschedule.visible = true;
  926. ]]>
  927. </script>
  928. </caption>
  929. <datagrid id="grd_today2" nodeset="/root/main/kardexinfo/todaylist2" caption="통증" colsep="^" colwidth="125" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:765px; top:71px; width:145px; height:115px; background-color:transparent; ">
  930. <col ref="recnm"/>
  931. </datagrid>
  932. <button id="btn_medisml" class="btn2_letter4" visibility="hidden" style="left:497px; top:518px; width:64px; height:19px; ">
  933. <caption>축소하기</caption>
  934. <script type="javascript" ev:event="DOMActivate">
  935. <![CDATA[
  936. grd_medi2.attribute("width") = "431px";
  937. grd_medi2.attribute("height") = "150px";
  938. //20110214_SMY수정
  939. //grd_medi2.colwidth(1) = grd_medi2.colwidth(1) - 10;
  940. //grd_medi2.colwidth(2) = grd_medi2.colwidth(2) - 80;
  941. //grd_medi2.colwidth(4) = grd_medi2.colwidth(4) - 20;
  942. //grd_medi2.colwidth(5) = grd_medi2.colwidth(5) - 10;
  943. //grd_medi2.colwidth(6) = grd_medi2.colwidth(6) - 20;
  944. //grd_medi2.colwidth(7) = grd_medi2.colwidth(7) - 10;
  945. //grd_medi2.colwidth(8) = grd_medi2.colwidth(8) - 10;
  946. //grd_medi2.colwidth(9) = grd_medi2.colwidth(9) - 150;
  947. grd_medi2.colwidth(grd_medi2.colRef("prcpcd")) = grd_medi2.colwidth(grd_medi2.colRef("prcpcd")) - 10;
  948. grd_medi2.colwidth(grd_medi2.colRef("prcpnm")) = grd_medi2.colwidth(grd_medi2.colRef("prcpnm")) - 80;
  949. grd_medi2.colwidth(grd_medi2.colRef("drprcpetc7")) = grd_medi2.colwidth(grd_medi2.colRef("drprcpetc7")) - 10;
  950. grd_medi2.colwidth(grd_medi2.colRef("prcpvolunitflag")) = grd_medi2.colwidth(grd_medi2.colRef("prcpvolunitflag")) - 20;
  951. grd_medi2.colwidth(grd_medi2.colRef("drprcpetc8")) = grd_medi2.colwidth(grd_medi2.colRef("drprcpetc8")) - 10;
  952. grd_medi2.colwidth(grd_medi2.colRef("prcpqtyunitflag")) = grd_medi2.colwidth(grd_medi2.colRef("prcpqtyunitflag")) - 20;
  953. grd_medi2.colwidth(grd_medi2.colRef("prcptims")) = grd_medi2.colwidth(grd_medi2.colRef("prcptims")) - 10;
  954. grd_medi2.colwidth(grd_medi2.colRef("prcpdayno")) = grd_medi2.colwidth(grd_medi2.colRef("prcpdayno")) - 10;
  955. grd_medi2.colwidth(grd_medi2.colRef("abbrnm")) = grd_medi2.colwidth(grd_medi2.colRef("abbrnm")) - 150;
  956. btn_medisml.visible = false;
  957. btn_medilrg.visible = true;
  958. grp_testview.visible = true;
  959. grd_medi2.refresh();
  960. ]]>
  961. </script>
  962. </button>
  963. <caption id="caption8" class="tit_2" style="left:780px; top:6px; width:57px; height:13px; ">중증 :</caption>
  964. <output id="output3" ref="/root/main/kardexinfo/patdetlinfo/serdiag" style="left:835px; top:3px; width:30px; height:19px; "/>
  965. <button id="button15" class="btn4_letter6" style="left:1090px; top:46px; width:104px; height:22px; ">
  966. <caption>통합기록조회</caption>
  967. <script type="javascript" ev:event="DOMActivate">
  968. <![CDATA[
  969. //setParameter("SMMMR05000_param_userdept", "doctor"); //
  970. open("SMMRI00400");
  971. ]]>
  972. </script>
  973. </button>
  974. <caption id="caption16" class="tit_2" style="left:868px; top:6px; width:77px; height:13px; ">희귀난치:</caption>
  975. <output id="output4" ref="/root/main/kardexinfo/patdetlinfo/rarediag" style="left:943px; top:3px; width:30px; height:19px; "/>
  976. <button id="button16" class="btn4_letter8" style="left:734px; top:46px; width:128px; height:22px; ">
  977. <caption>간호수행/기본간호</caption>
  978. <script type="javascript" ev:event="DOMActivate">
  979. <![CDATA[
  980. model.setValue("/root/main/cadexyn","Y");
  981. modal("SMMNR04100",'','','','',"/root/main/cadexyn","/root/main/cadexyn");
  982. model.setValue("/root/main/cadexyn","");
  983. ]]>
  984. </script>
  985. </button>
  986. <button id="btn_medilrg" class="btn2_letter4" style="left:497px; top:518px; width:64px; height:19px; ">
  987. <caption>확대하기</caption>
  988. <script type="javascript" ev:event="DOMActivate">
  989. <![CDATA[
  990. //grd_medi2 s_size="431px,150px", l_Size="974px,193px"
  991. grd_medi2.attribute("width") = "974px";
  992. grd_medi2.attribute("height") = "193px";
  993. //20110214_SMY수정
  994. //grd_medi2.colwidth(1) = grd_medi2.colwidth(1) + 10;
  995. //grd_medi2.colwidth(2) = grd_medi2.colwidth(2) + 80;
  996. //grd_medi2.colwidth(4) = grd_medi2.colwidth(4) + 20;
  997. //grd_medi2.colwidth(5) = grd_medi2.colwidth(5) + 10;
  998. //grd_medi2.colwidth(6) = grd_medi2.colwidth(6) + 20;
  999. //grd_medi2.colwidth(7) = grd_medi2.colwidth(7) + 10;
  1000. //grd_medi2.colwidth(8) = grd_medi2.colwidth(8) + 10;
  1001. //grd_medi2.colwidth(9) = grd_medi2.colwidth(9) + 150;
  1002. grd_medi2.colwidth(grd_medi2.colRef("prcpcd")) = grd_medi2.colwidth(grd_medi2.colRef("prcpcd")) + 10;
  1003. grd_medi2.colwidth(grd_medi2.colRef("prcpnm")) = grd_medi2.colwidth(grd_medi2.colRef("prcpnm")) + 80;
  1004. grd_medi2.colwidth(grd_medi2.colRef("drprcpetc7")) = grd_medi2.colwidth(grd_medi2.colRef("drprcpetc7")) + 10;
  1005. grd_medi2.colwidth(grd_medi2.colRef("prcpvolunitflag")) = grd_medi2.colwidth(grd_medi2.colRef("prcpvolunitflag")) + 20;
  1006. grd_medi2.colwidth(grd_medi2.colRef("drprcpetc8")) = grd_medi2.colwidth(grd_medi2.colRef("drprcpetc8")) + 10;
  1007. grd_medi2.colwidth(grd_medi2.colRef("prcpqtyunitflag")) = grd_medi2.colwidth(grd_medi2.colRef("prcpqtyunitflag")) + 20;
  1008. grd_medi2.colwidth(grd_medi2.colRef("prcptims")) = grd_medi2.colwidth(grd_medi2.colRef("prcptims")) + 10;
  1009. grd_medi2.colwidth(grd_medi2.colRef("prcpdayno")) = grd_medi2.colwidth(grd_medi2.colRef("prcpdayno")) + 10;
  1010. grd_medi2.colwidth(grd_medi2.colRef("abbrnm")) = grd_medi2.colwidth(grd_medi2.colRef("abbrnm")) + 150;
  1011. btn_medisml.visible = true;
  1012. btn_medilrg.visible = false;
  1013. grp_testview.visible = false;
  1014. grd_medi2.refresh();
  1015. ]]>
  1016. </script>
  1017. </button>
  1018. <line id="line25" class="line_3" style="x1:925px; y1:25px; x2:925px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  1019. <output id="opt_indschstat" ref="/root/main/kardexinfo/patdetlinfo/indschstat" style="left:927px; top:25px; width:20px; height:19px; font-weight:bold; text-align:center; "/>
  1020. <line id="line26" class="line_3" style="x1:802px; y1:25px; x2:802px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
  1021. <button id="button18" class="btn4_letter4" style="left:795px; top:190px; width:80px; height:22px; ">
  1022. <caption>Consult</caption>
  1023. <script type="javascript" ev:event="DOMActivate">
  1024. <![CDATA[
  1025. open("SMMMR05000");
  1026. ]]>
  1027. </script>
  1028. </button>
  1029. <group id="group4" visibility="hidden" style="left:235px; top:170px; width:189px; height:50px; background-color:#87CEFA; ">
  1030. <caption id="caption17" class="tit_2" style="left:0px; top:5px; width:188px; height:14px; ">출력할 장수를 입력하십시오.</caption>
  1031. <input id="ipt_patcntctel" ref="/root/main/printcnt" class="input_default" navindex="9" maxlength="5" format="###" style="left:27px; top:25px; width:60px; height:19px; ">
  1032. <script type="javascript" ev:event="onkeyup">
  1033. <![CDATA[
  1034. inputEnterKey("btn_prtlabel", "DOMActivate");
  1035. ]]>
  1036. </script>
  1037. </input>
  1038. <button id="btn_prtlabel" class="btn5_letter2" navindex="22" style="left:90px; top:25px; width:42px; height:19px; ">
  1039. <caption>확인</caption>
  1040. <script type="javascript" ev:event="DOMActivate">
  1041. <![CDATA[
  1042. var pid = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/pid");
  1043. var patnm = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/patnm");
  1044. var sexage = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/sexage");
  1045. var orddd = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/indd");
  1046. var roomcd = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/roomcd");
  1047. var rgstno = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/rgstno");
  1048. var prtcnt = ipt_patcntctel.value;
  1049. // alert(pid + " " +patnm +" " + sexage +" " + orddd +" " + roomcd+" " +rgstno+" " +prtcnt);
  1050. // 환자 정보 라벨 출력
  1051. if(prtcnt > 0){
  1052. //1. 바코드 라벨 설정값 조회
  1053. var scrnid = "SMMNR00600";
  1054. model.removeNodeset("/root/tmp/barcdprntsetup");
  1055. model.removenode("/root/send");
  1056. model.makeValue("/root/send/scrnid", scrnid);
  1057. submit("TRLLC90101");
  1058. //2. 바코드 라벨 환경설정
  1059. var barcdRef = "/root/tmp/barcdprntsetup/prntsetupinfo/setupinfo";
  1060. lzzfMakeBrcdPrntObjHanDo("CommAX", barcdRef);
  1061. var portOpenTF = fSetNursBarcdInfo(barcdRef); // CareCom.js 바코드프린터별 환경설정(Zebra,SATO)
  1062. //3. 환자라벨출력
  1063. fPrtCarePatNameLabel(barcdRef, pid+" "+roomcd, patnm, sexage, rgstno, orddd, prtcnt, portOpenTF);
  1064. }
  1065. group4.visible = false;
  1066. ]]>
  1067. </script>
  1068. </button>
  1069. <button id="button19" class="btn5_letter2" navindex="22" style="left:135px; top:25px; width:42px; height:19px; ">
  1070. <caption>취소</caption>
  1071. <script type="javascript" ev:event="DOMActivate">
  1072. <![CDATA[
  1073. model.makeValue("/root/main/printcnt","1");
  1074. group4.visible = false;
  1075. ]]>
  1076. </script>
  1077. </button>
  1078. </group>
  1079. <button id="btn_trans" class="btn2_letter4" style="left:368px; top:192px; width:64px; height:19px; ">
  1080. <caption>전동기록</caption>
  1081. <script type="javascript" ev:event="DOMActivate">
  1082. <![CDATA[
  1083. var pid = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("pid"));
  1084. var indd = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("indd"));
  1085. var cretno = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("cretno"));
  1086. var wardcd = model.getValue(cmb_wardcd.attribute("ref"));
  1087. model.makeValue("/root/send/reqdata/pid", pid);
  1088. model.makeValue("/root/send/reqdata/indd", indd);
  1089. model.makeValue("/root/send/reqdata/cretno", cretno);
  1090. model.makeValue("/root/send/reqdata/wardcd", wardcd);
  1091. submit("TRMNB00210");
  1092. if(grd_translist.rows > grd_translist.fixedRows) {
  1093. setParameter("SMMNW01301_PID" , grd_translist.valueMatrix(1,grd_translist.colRef("pid")) );
  1094. setParameter("SMMNW01301_INDD" , grd_translist.valueMatrix(1,grd_translist.colRef("indd")) );
  1095. setParameter("SMMNW01301_CRETNO" , grd_translist.valueMatrix(1,grd_translist.colRef("cretno"))) ;
  1096. setParameter("SMMNW01301_APPDD" , grd_translist.valueMatrix(1,grd_translist.colRef("appdd")) );
  1097. setParameter("SMMNW01301_APPTM" , grd_translist.valueMatrix(1,grd_translist.colRef("apptm")) );
  1098. setParameter("SMMNW01301_INSTCD" , grd_translist.valueMatrix(1,grd_translist.colRef("instcd"))) ;
  1099. open("SMMNW01301");
  1100. } else {
  1101. messageBox("전동내역이 존재하지 않습니다.", "E");
  1102. return;
  1103. }
  1104. ]]>
  1105. </script>
  1106. </button>
  1107. <button id="button3" class="btn4_letter2" style="left:678px; top:46px; width:56px; height:22px; ">
  1108. <caption>혈당</caption>
  1109. <script type="javascript" ev:event="DOMActivate">
  1110. <![CDATA[
  1111. open("SMMNR02500");
  1112. ]]>
  1113. </script>
  1114. </button>
  1115. <button id="button22" class="btn4_letter4" style="left:713px; top:190px; width:80px; height:25px; ">
  1116. <caption>과거메모</caption>
  1117. <script type="javascript" ev:event="DOMActivate">
  1118. <![CDATA[
  1119. if(grd_patlist.row >0){
  1120. pid = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("pid"));
  1121. indd = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("indd"));
  1122. cretno = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("cretno"));
  1123. setParameter("SPMNB00202_pid", pid);
  1124. setParameter("SPMNB00202_indd", indd);
  1125. setParameter("SPMNB00202_cretno", cretno);
  1126. setParameter("SPMNB00202_memoitemflag", "05");
  1127. modal("SPMNB00202");
  1128. } else {
  1129. messageBox("환자를 선택하십시오.", "E");
  1130. }
  1131. ]]>
  1132. </script>
  1133. </button>
  1134. <input id="input6" ref="/root/main/kardexinfo/ioinfo/pid" visibility="hidden" style="left:1010px; top:465px; width:55px; height:19px; "/>
  1135. <input id="input7" ref="/root/main/kardexinfo/ioinfo/cretno" visibility="hidden" style="left:1135px; top:465px; width:55px; height:19px; "/>
  1136. <input id="input8" ref="/root/main/kardexinfo/ioinfo/indd" visibility="hidden" style="left:1070px; top:465px; width:55px; height:19px; "/>
  1137. <bool id="bol_ioyn" checkvalue="Y,N" ref="/root/main/kardexinfo/ioinfo/ioyn" style="left:657px; top:492px; width:20px; height:20px; ">
  1138. <script type="javascript" ev:event="xforms-value-changed">
  1139. <![CDATA[
  1140. fSetIoInfo();
  1141. ]]>
  1142. </script>
  1143. </bool>
  1144. <caption id="caption3" style="left:673px; top:496px; width:50px; height:15px; ">
  1145. <![CDATA[I/O여부]]>
  1146. <script type="javascript" ev:event="onclick">
  1147. <![CDATA[
  1148. if(bol_ioyn.value == "N") {
  1149. bol_ioyn.value = "Y";
  1150. } else {
  1151. bol_ioyn.value = "N";
  1152. }
  1153. fSetIoInfo();
  1154. ]]>
  1155. </script>
  1156. </caption>
  1157. <bool id="bol_bstyn" checkvalue="Y,N" ref="/root/main/kardexinfo/ioinfo/bstyn" style="left:785px; top:492px; width:27px; height:19px; ">
  1158. <script type="javascript" ev:event="xforms-value-changed">
  1159. <![CDATA[
  1160. fSetIoInfo();
  1161. ]]>
  1162. </script>
  1163. </bool>
  1164. <caption id="caption18" style="left:805px; top:496px; width:50px; height:15px; ">
  1165. <![CDATA[혈당여부]]>
  1166. <script type="javascript" ev:event="onclick">
  1167. <![CDATA[
  1168. if(bol_bstyn.value == "N") {
  1169. bol_bstyn.value = "Y";
  1170. } else {
  1171. bol_bstyn.value = "N";
  1172. }
  1173. fSetIoInfo();
  1174. ]]>
  1175. </script>
  1176. </caption>
  1177. <bool id="bol_bwyn" visibility="hidden" checkvalue="Y,N" ref="/root/main/kardexinfo/ioinfo/bwyn" style="left:925px; top:492px; width:27px; height:19px; ">
  1178. <script type="javascript" ev:event="xforms-value-changed">
  1179. <![CDATA[
  1180. fSetIoInfo();
  1181. ]]>
  1182. </script>
  1183. </bool>
  1184. <caption id="caption27" visibility="hidden" style="left:945px; top:496px; width:50px; height:15px; ">
  1185. <![CDATA[BW여부]]>
  1186. <script type="javascript" ev:event="onclick">
  1187. <![CDATA[
  1188. if(bol_bwyn.value == "N") {
  1189. bol_bwyn.value = "Y";
  1190. } else {
  1191. bol_bwyn.value = "N";
  1192. }
  1193. fSetIoInfo();
  1194. ]]>
  1195. </script>
  1196. </caption>
  1197. <bool id="bol_acyn" visibility="hidden" checkvalue="Y,N" ref="/root/main/kardexinfo/ioinfo/acyn" style="left:1000px; top:492px; width:27px; height:19px; ">
  1198. <script type="javascript" ev:event="xforms-value-changed">
  1199. <![CDATA[
  1200. fSetIoInfo();
  1201. ]]>
  1202. </script>
  1203. </bool>
  1204. <caption id="caption28" visibility="hidden" style="left:1020px; top:496px; width:50px; height:15px; ">
  1205. <![CDATA[AC여부]]>
  1206. <script type="javascript" ev:event="onclick">
  1207. <![CDATA[
  1208. if(bol_acyn.value == "N") {
  1209. bol_acyn.value = "Y";
  1210. } else {
  1211. bol_acyn.value = "N";
  1212. }
  1213. fSetIoInfo();
  1214. ]]>
  1215. </script>
  1216. </caption>
  1217. <select1 id="combo1" ref="/root/main/kardexinfo/ioinfo/iokindcd" visibility="hidden" appearance="minimal" style="left:720px; top:493px; width:60px; height:19px; ">
  1218. <choices>
  1219. <item>
  1220. <label/>
  1221. <value/>
  1222. </item>
  1223. <item>
  1224. <label>Total</label>
  1225. <value>1</value>
  1226. </item>
  1227. <item>
  1228. <label>1</label>
  1229. <value>2</value>
  1230. </item>
  1231. <item>
  1232. <label>2</label>
  1233. <value>3</value>
  1234. </item>
  1235. </choices>
  1236. <script type="javascript" ev:event="xforms-value-changed">
  1237. <![CDATA[
  1238. fSetIoInfo();
  1239. ]]>
  1240. </script>
  1241. </select1>
  1242. <select1 id="combo2" ref="/root/main/kardexinfo/ioinfo/bstkindcd" appearance="minimal" style="left:855px; top:495px; width:60px; height:17px; ">
  1243. <choices>
  1244. <item>
  1245. <label>1회</label>
  1246. <value>1</value>
  1247. </item>
  1248. <item>
  1249. <label>2회</label>
  1250. <value>2</value>
  1251. </item>
  1252. <item>
  1253. <label>4회</label>
  1254. <value>4</value>
  1255. </item>
  1256. <item>
  1257. <label>8회</label>
  1258. <value>8</value>
  1259. </item>
  1260. <item>
  1261. <label>10회</label>
  1262. <value>10</value>
  1263. </item>
  1264. </choices>
  1265. <script type="javascript" ev:event="xforms-value-changed">
  1266. <![CDATA[
  1267. fSetIoInfo();
  1268. ]]>
  1269. </script>
  1270. </select1>
  1271. </group>
  1272. <group id="grp_btn" scroll="auto" style="left:0px; top:750px; width:1195px; height:27px; "/>
  1273. <button id="button4" class="btn2_letter3" style="left:1043px; top:205px; width:53px; height:19px; ">
  1274. <caption>행추가</caption>
  1275. <script type="javascript" ev:event="DOMActivate">
  1276. <![CDATA[
  1277. if(grd_memo.rows- grd_memo.fixedRows > 0) {
  1278. grd_memo.insertRow(1, "above", true);
  1279. } else {
  1280. grd_memo.addRow();
  1281. }
  1282. model.setValue(xPathMemoList+"[1]/writ", model.getValue("/root/main/cond/usernm"));
  1283. grd_memo.refresh();
  1284. ]]>
  1285. </script>
  1286. </button>
  1287. <button id="button5" class="btn2_letter3" style="left:1097px; top:205px; width:53px; height:19px; ">
  1288. <caption>행삭제</caption>
  1289. <script type="javascript" ev:event="DOMActivate">
  1290. <![CDATA[
  1291. if ( model.getValue(xPathMemoList+"[" + grd_memo.row + "]/memocnts") != "") {
  1292. grd_memo.addStatus(grd_memo.row, "delete");
  1293. } else {
  1294. grd_memo.deleteItem(grd_memo.row);
  1295. }
  1296. ]]>
  1297. </script>
  1298. </button>
  1299. <button id="button78" class="btn5_letter2" style="left:1151px; top:205px; width:42px; height:19px; ">
  1300. <caption>저장</caption>
  1301. <script type="javascript" ev:event="DOMActivate">
  1302. <![CDATA[
  1303. fExeMomoList();
  1304. ]]>
  1305. </script>
  1306. </button>
  1307. <button id="button9" class="btn2_letter6" style="left:522px; top:205px; width:86px; height:19px; ">
  1308. <caption>Activity 추가</caption>
  1309. <script type="javascript" ev:event="DOMActivate">
  1310. <![CDATA[
  1311. grd_cadexset.insertRow( grd_cadexset.findRow("Activity", 1, 0), "above","false","false");
  1312. model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/status", "i");
  1313. model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/itemcd", "activity");
  1314. model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/itemnm", "Activity");
  1315. model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/flag", "0");
  1316. grd_cadexset.refresh();
  1317. ]]>
  1318. </script>
  1319. </button>
  1320. <button id="button10" class="btn2_letter6" style="left:434px; top:205px; width:89px; height:19px; ">
  1321. <caption>특이사항 추가</caption>
  1322. <script type="javascript" ev:event="DOMActivate">
  1323. <![CDATA[
  1324. grd_cadexset.insertRow( grd_cadexset.findRow("특이사항", 1, 0), "above","false","false");
  1325. model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/status", "i");
  1326. model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/itemcd", "특이사항");
  1327. model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/itemnm", "특이사항");
  1328. model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/flag", "0");
  1329. grd_cadexset.refresh();
  1330. ]]>
  1331. </script>
  1332. </button>
  1333. <group id="grp_testview" style="left:654px; top:531px; width:540px; height:219px; ">
  1334. <caption id="caption12" class="tit_2" style="left:5px; top:5px; width:10px; height:13px; "/>
  1335. <button id="button17" class="btn4_letter4" style="left:16px; top:0px; width:80px; height:22px; ">
  1336. <caption>검사관리</caption>
  1337. <script type="javascript" ev:event="DOMActivate">
  1338. <![CDATA[
  1339. open("SMAER00800");
  1340. //open("SMMMI00100");
  1341. ]]>
  1342. </script>
  1343. </button>
  1344. <button id="button2" class="btn2_letter2" style="left:496px; top:0px; width:42px; height:19px; ">
  1345. <caption>조회</caption>
  1346. <script type="javascript" ev:event="DOMActivate">
  1347. <![CDATA[
  1348. fGetMedSpccdList("test");
  1349. ]]>
  1350. </script>
  1351. </button>
  1352. <line id="line10" class="line_1" style="x1:0px; y1:20px; x2:540px; y2:20px; "/>
  1353. <select1 id="cmb_testprcpflag" ref="/root/main/cond/testprcpflag" class="combo_search" appearance="minimal" style="left:214px; top:0px; width:75px; height:19px; ">
  1354. <choices>
  1355. <item>
  1356. <label>전체</label>
  1357. <value>ALL</value>
  1358. </item>
  1359. <item>
  1360. <label>진검</label>
  1361. <value>B2</value>
  1362. </item>
  1363. <item>
  1364. <label>영상</label>
  1365. <value>C2</value>
  1366. </item>
  1367. <item>
  1368. <label>기능</label>
  1369. <value>E2</value>
  1370. </item>
  1371. <item>
  1372. <label>핵의학</label>
  1373. <value>B6</value>
  1374. </item>
  1375. <item>
  1376. <label>기타</label>
  1377. <value>ETC</value>
  1378. </item>
  1379. </choices>
  1380. <script type="javascript" ev:event="xforms-value-changed">
  1381. <![CDATA[
  1382. fGetMedSpccdList("test");
  1383. ]]>
  1384. </script>
  1385. </select1>
  1386. <datagrid id="grd_test" nodeset="/root/main/kardexinfo/testlist" caption="구분^처방일^처방명^상태^수행(예약)일^처방코드^검체" colsep="^" colwidth="50, 70, 215, 69, 80, 80, 80" dataheight="55" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:0px; top:25px; width:540px; height:193px; ">
  1387. <col ref="clscd"/>
  1388. <col ref="prcpdd" format="yyyy-mm-dd"/>
  1389. <col ref="prcpnm"/>
  1390. <col ref="status"/>
  1391. <col ref="execdd" format="yyyy-mm-dd"/>
  1392. <col ref="prcpcd"/>
  1393. <col ref="drugmthdspccdnm"/>
  1394. <script type="javascript" ev:event="ondblclick">
  1395. <![CDATA[
  1396. //처방상태가 최종결과일 경우 검사결과 조회 팝업(진검, 핵의학 체/내)
  1397. var prcpclscd = model.getValue("/root/main/kardexinfo/testlist[" + grd_test.row + "]/prcpclscd");
  1398. var prcpstatcd = model.getValue("/root/main/kardexinfo/testlist[" + grd_test.row + "]/prcpstatcd");
  1399. var prcpcd = model.getValue("/root/main/kardexinfo/testlist[" + grd_test.row + "]/prcpcd");
  1400. //alert("prcpclscd : " +prcpclscd+"prcpstatcd: "+prcpstatcd);
  1401. if((prcpclscd == "B2" || prcpclscd == "B6" || prcpclscd == "C6") && (prcpstatcd == "730" || prcpstatcd == "740")){
  1402. //alert("zzzzzzzzzzz");
  1403. model.removeNodeset("/root/main/testrsltinfo");
  1404. model.removeNodeset("/root/send");
  1405. model.makeNode("/root/send");
  1406. model.makeValue("/root/send/bcno", model.getValue("/root/main/kardexinfo/testlist[" + grd_test.row + "]/spcno")); //검체번호
  1407. model.makeValue("/root/send/testmdlcd", prcpcd.substr(1,2)); //중분류 : 검사 코드의 2,3 자리 2자 중분류(처방 코드가 LMI023 이면.. 2~3자리 MI 가 중분류)
  1408. model.makeValue("/root/send/pid", model.getValue("/root/main/kardexinfo/patdetlinfo/pid")); //등록번호
  1409. model.makeValue("/root/send/level", '3'); //레벨 : 3
  1410. model.makeValue("/root/send/lastreptdd", ""); //최종보고일 : null
  1411. model.makeValue("/root/send/notmdlcd", "Y"); // 중분류예외처리(중분류와 관계없이 모두 조회)_20080811추가(LIS송요셉씨제공)
  1412. if (submit("TRMNW00304")) {
  1413. if (getNodesetCount("/root/main/testrsltinfo/rsltlist") == 0) {
  1414. messageBox("검사결과를 조회할 수 없습니다.", "I");
  1415. return;
  1416. } else {
  1417. modal("SPMNW12100","1","300","500", "SPMNW12100", "/root/main/testrsltinfo", "/root/main/testrsltinfo");
  1418. }
  1419. }
  1420. }
  1421. ]]>
  1422. </script>
  1423. <script type="javascript" ev:event="onaftersort">
  1424. <![CDATA[
  1425. grd_test.gridToInstance();
  1426. ]]>
  1427. </script>
  1428. </datagrid>
  1429. <select1 id="combo3" ref="/root/main/cond/execflag" class="combo_search" appearance="minimal" style="left:351px; top:0px; width:75px; height:19px; ">
  1430. <choices>
  1431. <item>
  1432. <label>전체</label>
  1433. <value>ALL</value>
  1434. </item>
  1435. <item>
  1436. <label>수행</label>
  1437. <value>A</value>
  1438. </item>
  1439. <item>
  1440. <label>미수행</label>
  1441. <value>N</value>
  1442. </item>
  1443. </choices>
  1444. <script type="javascript" ev:event="xforms-value-changed">
  1445. <![CDATA[
  1446. fGetMedSpccdList("test");
  1447. ]]>
  1448. </script>
  1449. </select1>
  1450. <caption id="caption14" style="left:155px; top:3px; width:60px; height:17px; ">처방구분 :</caption>
  1451. <caption id="caption15" style="left:292px; top:3px; width:62px; height:17px; ">수행여부 :</caption>
  1452. <button id="btn_testsml" class="btn2_letter4" visibility="hidden" style="left:431px; top:0px; width:64px; height:19px; ">
  1453. <caption>축소하기</caption>
  1454. <script type="javascript" ev:event="DOMActivate">
  1455. <![CDATA[
  1456. //style="left:654px; top:543px; width:540px; height:193px; "
  1457. grp_testview.attribute("left") = "654px" ;
  1458. grp_testview.attribute("width") = "540px" ;
  1459. grd_test.attribute("width") = "540px" ;
  1460. grd_test.colWidth(grd_test.colRef("prcpnm")) = grd_test.colWidth(grd_test.colRef("prcpnm")) - 200;
  1461. grd_test.colWidth(grd_test.colRef("prcpcd")) = grd_test.colWidth(grd_test.colRef("prcpcd")) - 80;
  1462. grd_test.colWidth(grd_test.colRef("drugmthdspccdnm")) = grd_test.colWidth(grd_test.colRef("drugmthdspccdnm")) - 80;
  1463. btn_testlrg.visible = true;
  1464. btn_testsml.visible = false;
  1465. ]]>
  1466. </script>
  1467. </button>
  1468. <button id="btn_testlrg" class="btn2_letter4" style="left:431px; top:0px; width:64px; height:19px; border-top-width:2px; ">
  1469. <caption>확대하기</caption>
  1470. <script type="javascript" ev:event="DOMActivate">
  1471. <![CDATA[
  1472. //style="left:654px; top:543px; width:540px; height:193px; "
  1473. grp_testview.attribute("left") = "120px" ;
  1474. grp_testview.attribute("width") = "1075px" ;
  1475. grd_test.attribute("width") = "1075px" ;
  1476. grd_test.colWidth(grd_test.colRef("prcpnm")) = grd_test.colWidth(grd_test.colRef("prcpnm")) + 200;
  1477. grd_test.colWidth(grd_test.colRef("prcpcd")) = grd_test.colWidth(grd_test.colRef("prcpcd")) + 80;
  1478. grd_test.colWidth(grd_test.colRef("drugmthdspccdnm")) = grd_test.colWidth(grd_test.colRef("drugmthdspccdnm")) + 80;
  1479. btn_testlrg.visible = false;
  1480. btn_testsml.visible = true;
  1481. ]]>
  1482. </script>
  1483. </button>
  1484. </group>
  1485. </xhtml:body>
  1486. </xhtml:html>