123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>카덱스관리</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <cond>
- <wardcd/>
- <settingrnid/>
- <userid/>
- <usernm/>
- <orddd/>
- <duty>1</duty>
- <testprcpflag>ALL</testprcpflag>
- <execflag>ALL</execflag>
- <zonecd/>
- </cond>
- <kardexinfo>
- <patdetlinfo>
- <roomcd/>
- <pid/>
- <patnm/>
- <sexage/>
- <vipyn/>
- <rqstyn/>
- <spcffactyn/>
- <clincstdyyn/>
- <cpyn/>
- <blodprepyn/>
- <chngroomstat/>
- <indschstat/>
- <serdiag/>
- <rarediag/>
- </patdetlinfo>
- <memolist>
- <memocnts/>
- <recdt/>
- <pid/>
- <memoitemflag/>
- <seqno/>
- <recdd/>
- <recdd_b/>
- <rectm_b/>
- <indd/>
- <cretno/>
- <instcd/>
- <prcpcd/>
- <writ/>
- </memolist>
- <medrprcpdd>
- <prcpdd/>
- </medrprcpdd>
- <medrprcplist>
- <flag/>
- <prcpcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpvolunitflag/>
- <prcpqty/>
- <prcpqtyunitflag/>
- <prcptims/>
- <prcpdayno/>
- <abbrnm/>
- </medrprcplist>
- <medrmemoinfo>
- <memocnts/>
- <recdd_b/>
- <rectm_b/>
- <status/>
- <seqno/>
- </medrmemoinfo>
- <testlist>
- <clscd/>
- <prcpdd/>
- <prcpnm/>
- <status/>
- <execdd/>
- <prcpcd/>
- <drugmthdspccdnm/>
- </testlist>
- <consultinfo>
- <reqcnt/>
- <repcnt/>
- </consultinfo>
- <todaylist1/>
- <assessinfo>
- <height/>
- <weight/>
- <serigrade/>
- <bedsore/>
- <fallhurt/>
- </assessinfo>
- <todayschedulelist>
- <schddd/>
- <schdtm/>
- <schdnm/>
- </todayschedulelist>
- <tomorrowschedulelist>
- <schddd/>
- <schdtm/>
- <schdnm/>
- </tomorrowschedulelist>
- <cardexsetlist/>
- <hiddencatheterlist/>
- <hiddentestlist/>
- <catheterlist/>
- <hiddentestlist/>
- <ioinfo>
- <pid/>
- <indd/>
- <cretno/>
- <ioyn/>
- <bstyn/>
- <bwyn/>
- <acyn/>
- <bstkindcd/>
- <iokindcd/>
- </ioinfo>
- </kardexinfo>
- <paminfo/>
- <testrsltinfo>
- <rsltlist>
- <reptrslt/>
- <testcd/>
- <bcno/>
- <judgmark/>
- <flag/>
- <prcpcd/>
- <prcpnm/>
- <judgmark2/>
- </rsltlist>
- </testrsltinfo>
- <cadexyn/>
- <menuitems>
- <gnrlmenu>
- <item>
- <name>환자진료정보</name>
- <func>fOpenPrcpSpec</func>
- </item>
- <item>
- <name>환자라벨출력</name>
- <func>fOpenLabelPrint</func>
- </item>
- <item>
- <name>간호일지</name>
- <func>fOpenNursingRecord</func>
- </item>
- <item>
- <name>전실신청</name>
- <func>fOpenChngRoom</func>
- </item>
- <item>
- <name>투약기록</name>
- <func>fOpenMediRecord</func>
- </item>
- <item>
- <name>간호처방</name>
- <func>fOpenCarePrcp</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>바코드관리</name>
- <func>fOpenBarcodeMngt</func>
- </item>
- <item>
- <name>검사결과조회</name>
- <func>fOpenTestRslt</func>
- </item>
- <item>
- <name>임상관찰기록</name>
- <func>fOpenTPR</func>
- </item>
- <item>
- <name>퇴원정리</name>
- <func>fOpenDschArngnm</func>
- </item>
- <item>
- <name>약품인계내역조회</name>
- <func>fOpenDrugList</func>
- </item>
- </gnrlmenu>
- <coopteammenu>
- <item>
- <name>협진환자관리</name>
- <func>fOpenCoopTeam</func>
- </item>
- </coopteammenu>
- <atdoctmenu>
- <item>
- <name>프로필보기</name>
- <func>fAtdoctlist</func>
- </item>
- <item>
- <name>메시지보내기</name>
- <func>fSendMessage</func>
- </item>
- <item>
- <name>호출</name>
- <func>fSendCall</func>
- </item>
- <item>
- <name>메시지+호출</name>
- <func>fSendMessageCall</func>
- </item>
- </atdoctmenu>
- <vnrlmenu>
- <item>
- <name>환자진료정보</name>
- <func>fOpenPrcpSpec</func>
- </item>
- <item>
- <name>환자라벨출력</name>
- <func>fOpenLabelPrint</func>
- </item>
- <item>
- <name>간호일지</name>
- <func>fOpenNursingRecord</func>
- </item>
- <item>
- <name>전실신청</name>
- <func>fOpenChngRoom</func>
- </item>
- <item>
- <name>투약기록</name>
- <func>fOpenMediRecord</func>
- </item>
- <item>
- <name>간호처방</name>
- <func>fOpenCarePrcp</func>
- </item>
- <item>
- <name>-</name>
- <func/>
- </item>
- <item>
- <name>바코드관리</name>
- <func>fOpenBarcodeMngt</func>
- </item>
- <item>
- <name>검사결과조회</name>
- <func>fOpenTestRslt</func>
- </item>
- <item>
- <name>임상관찰기록</name>
- <func>fOpenTPR</func>
- </item>
- <item>
- <name>퇴원정리</name>
- <func>fOpenDschArngnm</func>
- </item>
- <item>
- <name>Cousult 관리</name>
- <func>fOpenConsultManage</func>
- </item>
- <item>
- <name>약품인계내역조회</name>
- <func>fOpenDrugList</func>
- </item>
- </vnrlmenu>
- <consultmenu>
- <item>
- <name>Cousult 관리</name>
- <func>fOpenConsultManage</func>
- </item>
- </consultmenu>
- <crtfctmenu>
- <item>
- <name>제증명관리</name>
- <func>fOpenCrtfctManage</func>
- </item>
- </crtfctmenu>
- <cpapmenu>
- <item>
- <name>사본발급조회</name>
- <func>fOpenCpapynManage</func>
- </item>
- </cpapmenu>
- </menuitems>
- <printcnt/>
- <barcdprntsetup/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- </send>
- <init>
- <ward>
- <wardcd/>
- <wardnm/>
- </ward>
- <dept>
- <deptcd/>
- <depthngnm/>
- </dept>
- <settingrn>
- <settingrnid/>
- <settingrnnm/>
- </settingrn>
- <A0078list/>
- </init>
- <hidden>
- <medspccdlist/>
- <memoinfo/>
- <recmemoinfo/>
- <kardexsetinfo/>
- <careexecinfo/>
- <popmenu>
- <deleteset>
- <menu>
- <name>삭제</name>
- <func>fDelCardexSet</func>
- </menu>
- </deleteset>
- </popmenu>
- </hidden>
- <tmp>
- <barcdprntsetup/>
- </tmp>
- <!--(20101019) 경북대 -->
- <code>
- <codelist/>
- </code>
- <!--(20110211) 경북대 -->
- <temp>
- <zoneinfo>
- <zonelist>
- <bedcd/>
- <bednm/>
- </zonelist>
- </zoneinfo>
- <transinfo>
- <translist/>
- </transinfo>
- </temp>
- </root>
- </instance>
- <bind id="bindactivity" ref="/root/main/cardexsetinfo/cardexsetlist/itemcnts" readOnly="../itemnm != 'Activity'"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- alert("메롱");
- fInitialize();
- // grd_todolist.colHidden(93)=true;
-
-
- // for(i=13;i<102;i++){
- // grd_todolist.mergeCol(i) = false;
- // }
- ]]>
- </script>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/wardcareweb/js/SMMNB00200.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LZZ001.js"/>
- <script type="javascript" src="../../../lis/commonweb/js/LAZ001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <submission id="TRMNW00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init"/>
- <submission id="TRMNB00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/kardexinfo"/>
- <submission id="TRMNB00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/memoinfo"/>
- <submission id="TRMNB00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/kardexinfo"/>
- <submission id="TRMNB00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/memoinfo"/>
- <submission id="TRMNB00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/mypatmemoinfo"/>
- <submission id="TRMNB00210" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/transinfo"/>
- <submission id="TRMNW00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/todoinfo"/>
- <submission id="TXMNB00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden/kardexinfo"/>
- <submission id="TXMNB00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/hidden/kardexinfo"/>
- <submission id="TXMNB00204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden/kardexinfo"/>
- <submission id="TXMNB00212" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRMNW00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/testrsltinfo"/>
- <submission id="TRLLC90101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmp/barcdprntsetup"/>
- <!--(20101019) 경북대 -->
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
- <!--(20110211) 경북대 -->
- <submission id="TRMNR06302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/zoneinfo"/>
- <!-- 1회용량, 1회수량_20110214_SMY추가 -->
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- var colHidnValue = grdBaseColHidn("D");
- grdBaseColHidn(colHidnValue, "grd_medi2", 37, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8");
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body guideline="1,1247;1,1273;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:113px; height:14px; ">카덱스관리</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <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; ">
- <col ref="instcd"/>
- <col ref="pid"/>
- <col ref="indd"/>
- <col ref="cretno"/>
- <col ref="appdd"/>
- <col ref="apptm"/>
- </datagrid>
- <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; ">
- <col imemode="hangul" ref="memocnts" type="input" maxlength="666"/>
- <col ref="writ" style="text-align:center; "/>
- <col ref="recdt" format="yyyy-mm-dd hh:nn" style="text-align:center; "/>
- <col ref="rectm" visibility="hidden"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="memoitemflag" visibility="hidden"/>
- <col ref="seqno" visibility="hidden"/>
- <col ref="recdd" visibility="hidden"/>
- <col ref="recdd_b" visibility="hidden"/>
- <col ref="rectm_b" visibility="hidden"/>
- <col ref="indd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- </datagrid>
- <line id="line1" class="line_1" style="x1:120px; y1:68px; x2:433px; y2:70px; "/>
- <caption id="caption5" style="left:872px; top:193px; width:18px; height:20px; text-align:center; vertical-align:middle; ">:</caption>
- <caption id="caption7" class="tit_2" style="left:125px; top:197px; width:108px; height:14px; ">카덱스Set 관리</caption>
- <line id="line2" class="line_1" style="x1:120px; y1:212px; x2:651px; y2:212px; "/>
- <textarea id="tar_remk1" ref="/root/main/kardexinfo/medrmemoinfo/memocnts" scroll="autovscroll" maxlength="50" style="left:220px; top:694px; width:430px; height:42px; "/>
- <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; ">
- <col ref="itemnm" style="text-align:left; "/>
- <col disabled="true" ref="itemcnts" type="input"/>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
-
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3){
- if( grd_cadexset.isCell(event.target)
- && grd_cadexset.mouseRow >= grd_cadexset.fixedrows
- && (grd_cadexset.labelMatrix( grd_cadexset.mouseRow , grd_cadexset.colRef("itemnm"))== "Activity"
- || grd_cadexset.labelMatrix( grd_cadexset.mouseRow , grd_cadexset.colRef("itemnm"))== "특이사항" )){
- window.setPopupMenu(true, "/root/hidden/popmenu/deleteset/menu", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var lnkscrid="";
-
- if( grd_cadexset.mouseRow > 0 && grd_cadexset.row <= grd_cadexset.rows - grd_cadexset.fixedRows
- && grd_cadexset.mouseCol == grd_cadexset.colRef("itemnm") ){
-
- var lnkscrid = model.getValue(xPathCardexSetList + "["+ grd_cadexset.mouseRow +"]/lnkscrid");
- var SPMNR05800_Param = "pid▦indd▦cretno▦wardcd▦recdd▩" //"18864191▦20080104▦800340900▦3050107000▦20080704▩"
- + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/pid") + "▦"
- + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/indd") + "▦"
- + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/cretno") + "▦"
- + model.getValue("/root/main/cond/wardcd")+ "▦"
- + model.getValue("/root/main/cond/orddd") + "▩";
-
- if( !isNull(lnkscrid) ){
- setParameter("SPMNR05800_Param", SPMNR05800_Param);
- modal(lnkscrid,"1" ,"868", "128");
- lnkscrid="";
- }
-
- }else if ( grd_cadexset.mouseCol == grd_cadexset.colRef("itemcnts") ){
- if(grd_cadexset.labelMatrix(grd_cadexset.row , grd_cadexset.colRef("itemnm"))== "Activity"){
- grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = false;
- //grd_cadexset.editCell();
- }else if(grd_cadexset.labelMatrix(grd_cadexset.row , grd_cadexset.colRef("itemnm"))== "특이사항"){
- grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = false;
- //grd_cadexset.editCell();
- }else {
- grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = true;
- }
- }
- // if(grd_cadexset.labelMatrix(grd_cadexset.mouseRow , grd_cadexset.mouseCol) == "Diet"){//식사입력
- //
- // modal("SMMNW05700","1" ,"868", "128");
- // }
- // if( grd_cadexset.labelMatrix(grd_cadexset.mouseRow , grd_cadexset.mouseCol) == "V/S"
- // || grd_cadexset.labelMatrix(grd_cadexset.mouseRow , grd_cadexset.mouseCol) == "신체계측" ){//임상관찰 기록
- // modal("SMMNR00900","1" ,"868", "128");
- // }
- // if(grd_cadexset.labelMatrix(grd_cadexset.mouseRow , grd_cadexset.mouseCol) == "BST"){//혈당간호기록
- // modal("SMMNR02500","1" ,"868", "128");
- // }
- // if(grd_cadexset.labelMatrix(grd_cadexset.mouseRow , grd_cadexset.mouseCol) == "I/O"){
- // //modal("SMMNW05700","1" ,"868", "128");
- // }
-
- ]]>
- </script>
- <!--script type="javascript" ev:event="onentercell">
- <![CDATA[
- if(grd_cadexset.labelMatrix(grd_cadexset.row , grd_cadexset.colRef("itemnm"))== "Activity"){
- grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = false;
- //grd_cadexset.editCell();
- }else if(grd_cadexset.labelMatrix(grd_cadexset.row , grd_cadexset.colRef("itemnm"))== "특이사항"){
- grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = false;
- //grd_cadexset.editCell();
- }else {
- grd_cadexset.colDisabled(grd_cadexset.colRef("itemcnts")) = true;
- }
-
- ]]>
- </script-->
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( model.getValue(xPathCardexSetList + "["+grd_cadexset.row+"]/flag") != "0" ){
-
- model.makeValue(xPathCardexSetList + "["+grd_cadexset.row+"]/status", "u");
-
- } else if ( model.getValue(xPathCardexSetList + "["+grd_cadexset.row+"]/flag") == "0" ){
-
- model.makeValue(xPathCardexSetList + "["+grd_cadexset.row+"]/status", "i");
- }
-
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:120px; y1:401px; x2:651px; y2:401px; "/>
- <line id="line4" class="line_1" style="x1:120px; y1:538px; x2:651px; y2:538px; "/>
- <caption id="caption9" class="tit_2" style="left:125px; top:523px; width:108px; height:13px; ">투약관리</caption>
- <line id="line8" class="line_1" style="x1:654px; y1:212px; x2:1194px; y2:212px; "/>
- <caption id="caption11" class="tit_2" style="left:660px; top:195px; width:108px; height:13px; ">메모</caption>
- <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; ">
- <col ref="itemnm"/>
- <col ref="loc"/>
- <col disabled="true" ref="opflag" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>삽입</label>
- <value>01</value>
- </item>
- <item>
- <label>교환</label>
- <value>02</value>
- </item>
- <item>
- <label>세척</label>
- <value>03</value>
- </item>
- <item>
- <label>흡인</label>
- <value>04</value>
- </item>
- <item>
- <label>제거</label>
- <value>05</value>
- </item>
- </choices>
- </col>
- <col ref="opdt" format="yyyy-mm-dd hh:nn"/>
- <col ref="supnm"/>
- <col ref="remark"/>
- <col ref="volunit"/>
- <col ref="fix"/>
- <col ref="pres"/>
- <col ref="reservdt" visibility="hidden" format="yyyy-mm-dd hh:nn"/>
- </datagrid>
- <line id="line28" class="line_1" style="x1:0px; y1:47px; x2:117px; y2:47px; "/>
- <group id="group2" style="left:0px; top:10px; width:775px; height:35px; vertical-align:top; ">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:775px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="cap_settingrnid" class="search_name" style="left:230px; top:10px; width:71px; height:17px; ">내환자:</caption>
- <select1 id="cmb_settingrnid" ref="/root/main/cond/settingrnid" class="combo_search" appearance="minimal" style="left:300px; top:8px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/settingrn">
- <label ref="settingrnnm"/>
- <value ref="settingrnid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetMedSpccdList("pat");
- ]]>
- </script>
- </select1>
- <button id="button1" class="btn1_letter2" style="left:623px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMedSpccdList("pat");
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:561px; y1:7px; x2:561px; y2:29px; "/>
- <select1 id="cmb_wardcd" ref="/root/main/cond/wardcd" class="combo_s_essential" appearance="minimal" style="left:58px; top:8px; width:88px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/ward/">
- <label ref="wardnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //공통함수로 수정_20110211_ SMY
- fGetWardChngInfo();
- /*
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- model.makeValue("/root/send/reqdata/wardcd", model.getValue("/root/main/cond/wardcd"));
- submit("TRMNW00101");
-
- model.setValue("/root/main/cond/settingrnid", "");
- for(i=1; i <= getNodesetCount("/root/init/settingrn"); i++ ) {
- if (model.getValue("/root/main/cond/userid") == model.getValue("/root/init/settingrn["+ i +"]/settingrnid")) {
- model.setValue("/root/main/cond/settingrnid", model.getValue("/root/main/cond/userid"));
- }
- }
- // if(model.getValue("/root/main/cond/wardcd") == getUserInfo("dutplcecd") ) {
- // for(i=1; i <= getNodesetCount("/root/init/settingrn"); i++ ) {
- // if (model.getValue("/root/main/cond/userid") == model.getValue("/root/init/settingrn["+ i +"]/settingrnid")) {
- // model.setValue("/root/main/cond/settingrnid", model.getValue("/root/main/cond/userid"));
- // }
- // }
- // }
- */
- fGetMedSpccdList("pat");
- ]]>
- </script>
- </select1>
- <caption id="caption1" class="search_name" style="left:2px; top:10px; width:60px; height:17px; ">병동:</caption>
- <button id="btn_settingrnid" class="btn1_letter5" visibility="hidden" style="left:681px; top:7px; width:92px; height:22px; ">
- <caption>내환자세팅</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fChangePidSetting();
- ]]>
- </script>
- </button>
- <caption id="caption20" class="search_name" style="left:450px; top:10px; width:83px; height:17px; ">업무일자:</caption>
- <input id="ipt_orddd" ref="/root/main/cond/orddd" class="input_search" inputtype="date" style="left:533px; top:8px; width:87px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetMedSpccdList("pat");
- ]]>
- </script>
- </input>
- <button id="button20" class="btn1_letter4" style="left:367px; top:7px; width:80px; height:22px; ">
- <caption>메모출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMypatMemo();
- ]]>
- </script>
- </button>
- <button id="button21" class="btn1_letter4" style="left:148px; top:7px; width:80px; height:22px; ">
- <caption>팀별메모</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("wardcd", model.getValue("/root/main/cond/wardcd"));
- setParameter("userid", model.getValue("/root/main/cond/userid"));
- setParameter("usernm", model.getValue("/root/main/cond/usernm"));
- open("SPMNB00201","1" ,"900", "120");
- ]]>
- </script>
- </button>
- <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; ">
- <choices>
- <itemset nodeset="/root/temp/zoneinfo/zonelist">
- <label ref="bednm"/>
- <value ref="bedcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetMedSpccdList("pat");
- ]]>
- </script>
- </select1>
- </group>
- <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; ">
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="patnm"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="indd" visibility="hidden"/>
- <col ref="cretno" visibility="hidden"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="sexage" visibility="hidden"/>
- <col ref="serdiag" visibility="hidden"/>
- <col ref="rgstno" visibility="hidden"/>
- <col ref="rarediag" visibility="hidden"/>
- <col ref="vipyn" visibility="hidden"/>
- <col ref="rqstyn" visibility="hidden"/>
- <col ref="spcffactyn" visibility="hidden"/>
- <col ref="clincstdyyn" visibility="hidden"/>
- <col ref="cpyn" visibility="hidden"/>
- <col ref="blodprepyn" visibility="hidden"/>
- <col ref="indschstat" visibility="hidden"/>
- <col ref="nrsetting" visibility="hidden"/>
- <col ref="chngroomstat" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- debugger;
- fClickPatList();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fShowPopupMenu("grd_patlist","/root/main/menuitems/gnrlmenu/item");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_patlist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <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; ">
- <col disabled="true" ref="prcpdd" format="yyyy-mm-dd"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- var row = grd_patlist.row;
- if(isDataCell()){
- fDBClickMedr();
- // fDBClickMemo(); 화면이 열릴때 조회되도록 수정
- btn_medrsave.disabled = false;
- }
- ]]>
- </script>
- </datagrid>
- <output id="output32" ref="/root/main/kardexinfo/patdetlinfo/pid" style="left:1010px; top:25px; width:64px; height:19px; font-weight:bold; text-align:center; "/>
- <datagrid id="grd_medi2" nodeset="/root/main/kardexinfo/medrprcplist" class="datagrid2" allowbigselection="false" allowselection="false" caption="구분^처방코드^처방명[* : 혼동주의/고위험 약제]^1일
용량^1회
용량^단
위^1일
수량^1회
수량^단
위^1일
횟수^기간^용법" 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; ">
- <col ref="flag"/>
- <col ref="prcpcd" style="left:111px; top:23px; width:72px; height:23px; text-align:left; border-right-width:0; "/>
- <col ref="prcpnm" style="left:183px; top:23px; width:230px; height:23px; text-align:left; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpvol" style="text-align:right; border-left-width:0; border-right-width:0; "/>
- <col ref="drprcpetc7" style="text-align:right; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpvolunitflag" style="text-align:left; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpqty" style="text-align:right; border-left-width:0; border-right-width:0; "/>
- <col ref="drprcpetc8" style="text-align:right; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpqtyunitflag" style="text-align:left; border-left-width:0; border-right-width:0; "/>
- <col ref="prcptims" style="text-align:right; border-left-width:0; border-right-width:0; "/>
- <col ref="prcpdayno" style="border-left-width:0; border-right-width:0; "/>
- <col ref="abbrnm" style="text-align:left; border-left-width:0; "/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
-
- var prcpcd;
- if(grd_medi2.isCell(event.target) && grd_medi2.mouseRow >= grd_medi2.fixedrows){
- prcpcd = grd_medi2.valueMatrix(grd_medi2.row, grd_medi2.colRef("prcpcd"));
-
- model.makeValue("/root/temp/setparma/prcpcd", prcpcd);
- modal("SMADB01900", "1", "0", "0", "","/root/temp/setparma/prcpcd", "/root/hidden/receivedata/srchdrugcd");
- model.removenode("/root/temp/setparma/prcpcd");
-
-
- }
- ]]>
- </script>
- </datagrid>
- <output id="output33" ref="/root/main/kardexinfo/patdetlinfo/sexage" style="left:1143px; top:25px; width:44px; height:19px; font-weight:bold; text-align:center; "/>
- <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; "/>
- <line id="line27" class="line_3" style="x1:780px; y1:23px; x2:1190px; y2:23px; "/>
- <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; "/>
- <line id="line16" class="line_3" style="x1:780px; y1:44px; x2:1190px; y2:44px; "/>
- <line id="line5" class="line_3" style="x1:780px; y1:24px; x2:780px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line6" class="line_3" style="x1:1074px; y1:24px; x2:1074px; y2:44px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption4" style="left:917px; top:193px; width:10px; height:20px; text-align:center; vertical-align:middle; ">/</caption>
- <caption id="caption13" style="left:952px; top:193px; width:26px; height:20px; text-align:center; vertical-align:middle; ">건</caption>
- <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; "/>
- <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; "/>
- <button id="btn_medrsave" class="btn5_letter2" style="left:564px; top:518px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fMedrMomoSave();
- ]]>
- </script>
- </button>
- <button id="button7" class="btn5_letter2" style="left:609px; top:192px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fActivitySave();
- ]]>
- </script>
- </button>
- <caption id="caption10" class="tit_2" style="left:125px; top:385px; width:165px; height:13px; ">삽관현황</caption>
- <line id="line7" class="line_1" style="x1:120px; y1:401px; x2:651px; y2:401px; "/>
- <button id="button8" class="btn4_letter4" style="left:571px; top:379px; width:80px; height:22px; ">
- <caption>삽관기록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SMMNR04100_Param", "Cath");
- modal("SMMNR04100");
- fGetMedSpccdList("cath");
- ]]>
- </script>
- </button>
- <button id="button11" class="btn5_letter2" style="left:607px; top:518px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- fMedrMomoSave("D");
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" style="left:978px; top:192px; width:64px; height:19px; ">
- <caption>지시처방</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SPMNB00200", "1", "", "", "", xPathPatList+"[" + grd_patlist.row + "]", "/root/target/paminfo","width:786px; height:520px; ");
- //open("SPMNB00200");
- ]]>
- </script>
- </button>
- <line id="line9" class="line_3" style="x1:1189px; y1:24px; x2:1189px; y2:44px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line11" class="line_3" style="x1:947px; y1:24px; x2:947px; y2:44px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line12" class="line_3" style="x1:1010px; y1:25px; x2:1010px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line14" class="line_3" style="x1:1143px; y1:25px; x2:1143px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <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; "/>
- <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; ">
- <col ref="schddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="schdtm" format="hh:nn" style="text-align:center; "/>
- <col ref="schdnm" style="text-align:left; "/>
- </datagrid>
- <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; ">
- <col ref="schddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="schdtm" format="hh:nn" style="text-align:center; "/>
- <col ref="schdnm" style="text-align:left; "/>
- </datagrid>
- <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; "/>
- <line id="line15" class="line_3" style="x1:803px; y1:25px; x2:803px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line17" class="line_3" style="x1:844px; y1:25px; x2:844px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line18" class="line_3" style="x1:862px; y1:25px; x2:862px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line19" class="line_3" style="x1:823px; y1:25px; x2:823px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line20" class="line_3" style="x1:883px; y1:25px; x2:883px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <line id="line21" class="line_3" style="x1:904px; y1:25px; x2:904px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <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; "/>
- <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; "/>
- <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; "/>
- <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; "/>
- <output id="opt_blodprepyn" ref="/root/main/patdetlinfo/blodprepyn" style="left:884px; top:25px; width:20px; height:19px; font-weight:bold; text-align:center; "/>
- <line id="line22" class="line_1" style="x1:437px; y1:68px; x2:598px; y2:68px; "/>
- <caption id="caption19" class="tit_2" style="left:445px; top:52px; width:108px; height:13px; ">Assess(최근)</caption>
- <caption id="caption21" class="cell_1" style="left:437px; top:73px; width:71px; height:20px; vertical-align:middle; ">키(cm)</caption>
- <input id="input1" ref="/root/main/kardexinfo/assessinfo/height" editable="false" style="left:509px; top:73px; width:89px; height:19px; text-align:center; "/>
- <caption id="caption22" class="cell_1" style="left:437px; top:95px; width:71px; height:20px; vertical-align:middle; ">체중(kg/g)</caption>
- <input id="input2" ref="/root/main/kardexinfo/assessinfo/weight" editable="false" style="left:509px; top:95px; width:89px; height:19px; text-align:center; "/>
- <caption id="caption23" class="cell_1" style="left:437px; top:117px; width:71px; height:20px; vertical-align:middle; ">중증도</caption>
- <input id="input3" ref="/root/main/kardexinfo/assessinfo/serigrade" editable="false" style="left:509px; top:117px; width:89px; height:19px; text-align:center; "/>
- <caption id="caption24" class="cell_1" style="left:437px; top:139px; width:71px; height:20px; vertical-align:middle; ">욕창</caption>
- <input id="input4" ref="/root/main/kardexinfo/assessinfo/bedsore" editable="false" style="left:509px; top:139px; width:89px; height:19px; text-align:center; "/>
- <caption id="caption25" class="cell_1" style="left:437px; top:161px; width:71px; height:20px; vertical-align:middle; ">낙상</caption>
- <input id="input5" ref="/root/main/kardexinfo/assessinfo/fallhurt" editable="false" style="left:509px; top:161px; width:89px; height:19px; text-align:center; "/>
- <line id="line23" class="line_1" style="x1:600px; y1:68px; x2:855px; y2:68px; "/>
- <line id="line24" class="line_1" style="x1:854px; y1:68px; x2:1194px; y2:68px; "/>
- <button id="button6" class="btn4_letter4" style="left:862px; top:46px; width:80px; height:22px; ">
- <caption>기구관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SMMNR04100_Param", "Cath");
- modal("SMMNR04100");
- fGetMedSpccdList("today");
-
- ]]>
- </script>
- </button>
- <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; ">
- <col ref="recnm"/>
- <col ref="recdt" format="yyyy-mm-dd hh:nn"/>
- </datagrid>
- <caption id="caption26" class="tit_2" style="left:600px; top:52px; width:108px; height:14px; ">금일현황</caption>
- <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; ">
- <col ref="recnm"/>
- </datagrid>
- <button id="button13" class="btn4_letter4" style="left:942px; top:46px; width:80px; height:22px; ">
- <caption>임상관찰</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMMNR00900","1" ,"868", "128");
- fGetMedSpccdList("pat");
- ]]>
- </script>
- </button>
- <button id="button14" class="btn4_letter3" style="left:1022px; top:46px; width:68px; height:22px; ">
- <caption>I/O조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var rtn = messageBox("환자별 I/O조회를 하시겠습니까?", "Q");
-
- if(rtn == "6") {
- open("SMMNR08600");
- } else {
- var SPMNR05800_Param = "pid▦indd▦cretno▦wardcd▦recdd▩" //"18864191▦20080104▦800340900▦3050107000▦20080704▩"
- + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/pid") + "▦"
- + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/indd") + "▦"
- + model.getValue(xPathPatList + "[" + grd_patlist.row + "]/cretno") + "▦"
- + model.getValue("/root/main/cond/wardcd")+ "▦"
- + model.getValue("/root/main/cond/orddd") + "▩";
-
- setParameter("SPMNR05800_Param", SPMNR05800_Param);
- modal("SPMNR05800","1" ,"868", "128");
- }
- ]]>
- </script>
- </button>
- <button id="btn_today" class="btn_sw" group="tab" style="left:121px; top:47px; width:124px; height:22px; ">
- <caption>오늘스케쥴 건</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_today.selected = true;
- grd_todayschedule.visible = true;
- grd_tomorrowschedule.visible = false;
- ]]>
- </script>
- </button>
- <caption id="cap_today" style="left:189px; top:51px; width:30px; height:15px; font-weight:bold; text-align:right; ">
- <![CDATA[0]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_today.selected = true;
- grd_todayschedule.visible = true;
- grd_tomorrowschedule.visible = false;
- ]]>
- </script>
- </caption>
- <button id="btn_tomorrow" class="btn_sw" group="tab" style="left:244px; top:47px; width:124px; height:22px; ">
- <caption>내일스케쥴 건</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_tomorrow.selected = true;
- grd_todayschedule.visible = false;
- grd_tomorrowschedule.visible = true;
- ]]>
- </script>
- </button>
- <caption id="cap_tomorrow" style="left:313px; top:51px; width:30px; height:15px; font-weight:bold; text-align:right; ">
- <![CDATA[0]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- btn_tomorrow.selected = true;
- grd_todayschedule.visible = false;
- grd_tomorrowschedule.visible = true;
-
- ]]>
- </script>
- </caption>
- <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; ">
- <col ref="recnm"/>
- </datagrid>
- <button id="btn_medisml" class="btn2_letter4" visibility="hidden" style="left:497px; top:518px; width:64px; height:19px; ">
- <caption>축소하기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_medi2.attribute("width") = "431px";
- grd_medi2.attribute("height") = "150px";
- //20110214_SMY수정
- //grd_medi2.colwidth(1) = grd_medi2.colwidth(1) - 10;
- //grd_medi2.colwidth(2) = grd_medi2.colwidth(2) - 80;
- //grd_medi2.colwidth(4) = grd_medi2.colwidth(4) - 20;
- //grd_medi2.colwidth(5) = grd_medi2.colwidth(5) - 10;
- //grd_medi2.colwidth(6) = grd_medi2.colwidth(6) - 20;
- //grd_medi2.colwidth(7) = grd_medi2.colwidth(7) - 10;
- //grd_medi2.colwidth(8) = grd_medi2.colwidth(8) - 10;
- //grd_medi2.colwidth(9) = grd_medi2.colwidth(9) - 150;
- grd_medi2.colwidth(grd_medi2.colRef("prcpcd")) = grd_medi2.colwidth(grd_medi2.colRef("prcpcd")) - 10;
- grd_medi2.colwidth(grd_medi2.colRef("prcpnm")) = grd_medi2.colwidth(grd_medi2.colRef("prcpnm")) - 80;
- grd_medi2.colwidth(grd_medi2.colRef("drprcpetc7")) = grd_medi2.colwidth(grd_medi2.colRef("drprcpetc7")) - 10;
- grd_medi2.colwidth(grd_medi2.colRef("prcpvolunitflag")) = grd_medi2.colwidth(grd_medi2.colRef("prcpvolunitflag")) - 20;
- grd_medi2.colwidth(grd_medi2.colRef("drprcpetc8")) = grd_medi2.colwidth(grd_medi2.colRef("drprcpetc8")) - 10;
- grd_medi2.colwidth(grd_medi2.colRef("prcpqtyunitflag")) = grd_medi2.colwidth(grd_medi2.colRef("prcpqtyunitflag")) - 20;
- grd_medi2.colwidth(grd_medi2.colRef("prcptims")) = grd_medi2.colwidth(grd_medi2.colRef("prcptims")) - 10;
- grd_medi2.colwidth(grd_medi2.colRef("prcpdayno")) = grd_medi2.colwidth(grd_medi2.colRef("prcpdayno")) - 10;
- grd_medi2.colwidth(grd_medi2.colRef("abbrnm")) = grd_medi2.colwidth(grd_medi2.colRef("abbrnm")) - 150;
-
- btn_medisml.visible = false;
- btn_medilrg.visible = true;
- grp_testview.visible = true;
- grd_medi2.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption8" class="tit_2" style="left:780px; top:6px; width:57px; height:13px; ">중증 :</caption>
- <output id="output3" ref="/root/main/kardexinfo/patdetlinfo/serdiag" style="left:835px; top:3px; width:30px; height:19px; "/>
- <button id="button15" class="btn4_letter6" style="left:1090px; top:46px; width:104px; height:22px; ">
- <caption>통합기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //setParameter("SMMMR05000_param_userdept", "doctor"); //
- open("SMMRI00400");
- ]]>
- </script>
- </button>
- <caption id="caption16" class="tit_2" style="left:868px; top:6px; width:77px; height:13px; ">희귀난치:</caption>
- <output id="output4" ref="/root/main/kardexinfo/patdetlinfo/rarediag" style="left:943px; top:3px; width:30px; height:19px; "/>
- <button id="button16" class="btn4_letter8" style="left:734px; top:46px; width:128px; height:22px; ">
- <caption>간호수행/기본간호</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cadexyn","Y");
- modal("SMMNR04100",'','','','',"/root/main/cadexyn","/root/main/cadexyn");
- model.setValue("/root/main/cadexyn","");
- ]]>
- </script>
- </button>
- <button id="btn_medilrg" class="btn2_letter4" style="left:497px; top:518px; width:64px; height:19px; ">
- <caption>확대하기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //grd_medi2 s_size="431px,150px", l_Size="974px,193px"
- grd_medi2.attribute("width") = "974px";
- grd_medi2.attribute("height") = "193px";
- //20110214_SMY수정
- //grd_medi2.colwidth(1) = grd_medi2.colwidth(1) + 10;
- //grd_medi2.colwidth(2) = grd_medi2.colwidth(2) + 80;
- //grd_medi2.colwidth(4) = grd_medi2.colwidth(4) + 20;
- //grd_medi2.colwidth(5) = grd_medi2.colwidth(5) + 10;
- //grd_medi2.colwidth(6) = grd_medi2.colwidth(6) + 20;
- //grd_medi2.colwidth(7) = grd_medi2.colwidth(7) + 10;
- //grd_medi2.colwidth(8) = grd_medi2.colwidth(8) + 10;
- //grd_medi2.colwidth(9) = grd_medi2.colwidth(9) + 150;
- grd_medi2.colwidth(grd_medi2.colRef("prcpcd")) = grd_medi2.colwidth(grd_medi2.colRef("prcpcd")) + 10;
- grd_medi2.colwidth(grd_medi2.colRef("prcpnm")) = grd_medi2.colwidth(grd_medi2.colRef("prcpnm")) + 80;
- grd_medi2.colwidth(grd_medi2.colRef("drprcpetc7")) = grd_medi2.colwidth(grd_medi2.colRef("drprcpetc7")) + 10;
- grd_medi2.colwidth(grd_medi2.colRef("prcpvolunitflag")) = grd_medi2.colwidth(grd_medi2.colRef("prcpvolunitflag")) + 20;
- grd_medi2.colwidth(grd_medi2.colRef("drprcpetc8")) = grd_medi2.colwidth(grd_medi2.colRef("drprcpetc8")) + 10;
- grd_medi2.colwidth(grd_medi2.colRef("prcpqtyunitflag")) = grd_medi2.colwidth(grd_medi2.colRef("prcpqtyunitflag")) + 20;
- grd_medi2.colwidth(grd_medi2.colRef("prcptims")) = grd_medi2.colwidth(grd_medi2.colRef("prcptims")) + 10;
- grd_medi2.colwidth(grd_medi2.colRef("prcpdayno")) = grd_medi2.colwidth(grd_medi2.colRef("prcpdayno")) + 10;
- grd_medi2.colwidth(grd_medi2.colRef("abbrnm")) = grd_medi2.colwidth(grd_medi2.colRef("abbrnm")) + 150;
-
- btn_medisml.visible = true;
- btn_medilrg.visible = false;
-
- grp_testview.visible = false;
-
- grd_medi2.refresh();
- ]]>
- </script>
- </button>
- <line id="line25" class="line_3" style="x1:925px; y1:25px; x2:925px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <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; "/>
- <line id="line26" class="line_3" style="x1:802px; y1:25px; x2:802px; y2:45px; border-color:#ffe4bb; border-left-style:solid; "/>
- <button id="button18" class="btn4_letter4" style="left:795px; top:190px; width:80px; height:22px; ">
- <caption>Consult</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMMMR05000");
- ]]>
- </script>
- </button>
- <group id="group4" visibility="hidden" style="left:235px; top:170px; width:189px; height:50px; background-color:#87CEFA; ">
- <caption id="caption17" class="tit_2" style="left:0px; top:5px; width:188px; height:14px; ">출력할 장수를 입력하십시오.</caption>
- <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; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_prtlabel", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_prtlabel" class="btn5_letter2" navindex="22" style="left:90px; top:25px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/pid");
- var patnm = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/patnm");
- var sexage = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/sexage");
- var orddd = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/indd");
- var roomcd = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/roomcd");
-
- var rgstno = model.getValue("/root/main/kardexinfo/ompatlist["+grd_patlist.row+"]/rgstno");
- var prtcnt = ipt_patcntctel.value;
-
- // alert(pid + " " +patnm +" " + sexage +" " + orddd +" " + roomcd+" " +rgstno+" " +prtcnt);
-
- // 환자 정보 라벨 출력
- if(prtcnt > 0){
- //1. 바코드 라벨 설정값 조회
- var scrnid = "SMMNR00600";
- model.removeNodeset("/root/tmp/barcdprntsetup");
- model.removenode("/root/send");
- model.makeValue("/root/send/scrnid", scrnid);
- submit("TRLLC90101");
-
- //2. 바코드 라벨 환경설정
- var barcdRef = "/root/tmp/barcdprntsetup/prntsetupinfo/setupinfo";
- lzzfMakeBrcdPrntObjHanDo("CommAX", barcdRef);
- var portOpenTF = fSetNursBarcdInfo(barcdRef); // CareCom.js 바코드프린터별 환경설정(Zebra,SATO)
-
- //3. 환자라벨출력
- fPrtCarePatNameLabel(barcdRef, pid+" "+roomcd, patnm, sexage, rgstno, orddd, prtcnt, portOpenTF);
- }
- group4.visible = false;
- ]]>
- </script>
- </button>
- <button id="button19" class="btn5_letter2" navindex="22" style="left:135px; top:25px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.makeValue("/root/main/printcnt","1");
- group4.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_trans" class="btn2_letter4" style="left:368px; top:192px; width:64px; height:19px; ">
- <caption>전동기록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var pid = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("pid"));
- var indd = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("indd"));
- var cretno = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("cretno"));
- var wardcd = model.getValue(cmb_wardcd.attribute("ref"));
-
- model.makeValue("/root/send/reqdata/pid", pid);
- model.makeValue("/root/send/reqdata/indd", indd);
- model.makeValue("/root/send/reqdata/cretno", cretno);
- model.makeValue("/root/send/reqdata/wardcd", wardcd);
-
- submit("TRMNB00210");
-
-
-
- if(grd_translist.rows > grd_translist.fixedRows) {
-
- setParameter("SMMNW01301_PID" , grd_translist.valueMatrix(1,grd_translist.colRef("pid")) );
- setParameter("SMMNW01301_INDD" , grd_translist.valueMatrix(1,grd_translist.colRef("indd")) );
- setParameter("SMMNW01301_CRETNO" , grd_translist.valueMatrix(1,grd_translist.colRef("cretno"))) ;
- setParameter("SMMNW01301_APPDD" , grd_translist.valueMatrix(1,grd_translist.colRef("appdd")) );
- setParameter("SMMNW01301_APPTM" , grd_translist.valueMatrix(1,grd_translist.colRef("apptm")) );
- setParameter("SMMNW01301_INSTCD" , grd_translist.valueMatrix(1,grd_translist.colRef("instcd"))) ;
- open("SMMNW01301");
-
- } else {
- messageBox("전동내역이 존재하지 않습니다.", "E");
- return;
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter2" style="left:678px; top:46px; width:56px; height:22px; ">
- <caption>혈당</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMMNR02500");
- ]]>
- </script>
- </button>
- <button id="button22" class="btn4_letter4" style="left:713px; top:190px; width:80px; height:25px; ">
- <caption>과거메모</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_patlist.row >0){
- pid = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("pid"));
- indd = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("indd"));
- cretno = grd_patlist.valueMatrix(grd_patlist.row, grd_patlist.colRef("cretno"));
-
- setParameter("SPMNB00202_pid", pid);
- setParameter("SPMNB00202_indd", indd);
- setParameter("SPMNB00202_cretno", cretno);
-
- setParameter("SPMNB00202_memoitemflag", "05");
-
- modal("SPMNB00202");
-
- } else {
- messageBox("환자를 선택하십시오.", "E");
- }
-
- ]]>
- </script>
- </button>
- <input id="input6" ref="/root/main/kardexinfo/ioinfo/pid" visibility="hidden" style="left:1010px; top:465px; width:55px; height:19px; "/>
- <input id="input7" ref="/root/main/kardexinfo/ioinfo/cretno" visibility="hidden" style="left:1135px; top:465px; width:55px; height:19px; "/>
- <input id="input8" ref="/root/main/kardexinfo/ioinfo/indd" visibility="hidden" style="left:1070px; top:465px; width:55px; height:19px; "/>
- <bool id="bol_ioyn" checkvalue="Y,N" ref="/root/main/kardexinfo/ioinfo/ioyn" style="left:657px; top:492px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fSetIoInfo();
-
- ]]>
- </script>
- </bool>
- <caption id="caption3" style="left:673px; top:496px; width:50px; height:15px; ">
- <![CDATA[I/O여부]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(bol_ioyn.value == "N") {
- bol_ioyn.value = "Y";
- } else {
- bol_ioyn.value = "N";
- }
- fSetIoInfo();
-
- ]]>
- </script>
- </caption>
- <bool id="bol_bstyn" checkvalue="Y,N" ref="/root/main/kardexinfo/ioinfo/bstyn" style="left:785px; top:492px; width:27px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fSetIoInfo();
-
- ]]>
- </script>
- </bool>
- <caption id="caption18" style="left:805px; top:496px; width:50px; height:15px; ">
- <![CDATA[혈당여부]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(bol_bstyn.value == "N") {
- bol_bstyn.value = "Y";
- } else {
- bol_bstyn.value = "N";
- }
- fSetIoInfo();
-
- ]]>
- </script>
- </caption>
- <bool id="bol_bwyn" visibility="hidden" checkvalue="Y,N" ref="/root/main/kardexinfo/ioinfo/bwyn" style="left:925px; top:492px; width:27px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fSetIoInfo();
-
- ]]>
- </script>
- </bool>
- <caption id="caption27" visibility="hidden" style="left:945px; top:496px; width:50px; height:15px; ">
- <![CDATA[BW여부]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(bol_bwyn.value == "N") {
- bol_bwyn.value = "Y";
- } else {
- bol_bwyn.value = "N";
- }
- fSetIoInfo();
-
- ]]>
- </script>
- </caption>
- <bool id="bol_acyn" visibility="hidden" checkvalue="Y,N" ref="/root/main/kardexinfo/ioinfo/acyn" style="left:1000px; top:492px; width:27px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- fSetIoInfo();
-
- ]]>
- </script>
- </bool>
- <caption id="caption28" visibility="hidden" style="left:1020px; top:496px; width:50px; height:15px; ">
- <![CDATA[AC여부]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(bol_acyn.value == "N") {
- bol_acyn.value = "Y";
- } else {
- bol_acyn.value = "N";
- }
- fSetIoInfo();
-
- ]]>
- </script>
- </caption>
- <select1 id="combo1" ref="/root/main/kardexinfo/ioinfo/iokindcd" visibility="hidden" appearance="minimal" style="left:720px; top:493px; width:60px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value/>
- </item>
- <item>
- <label>Total</label>
- <value>1</value>
- </item>
- <item>
- <label>1</label>
- <value>2</value>
- </item>
- <item>
- <label>2</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetIoInfo();
- ]]>
- </script>
- </select1>
- <select1 id="combo2" ref="/root/main/kardexinfo/ioinfo/bstkindcd" appearance="minimal" style="left:855px; top:495px; width:60px; height:17px; ">
- <choices>
- <item>
- <label>1회</label>
- <value>1</value>
- </item>
- <item>
- <label>2회</label>
- <value>2</value>
- </item>
- <item>
- <label>4회</label>
- <value>4</value>
- </item>
- <item>
- <label>8회</label>
- <value>8</value>
- </item>
- <item>
- <label>10회</label>
- <value>10</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fSetIoInfo();
- ]]>
- </script>
- </select1>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:750px; width:1195px; height:27px; "/>
- <button id="button4" class="btn2_letter3" style="left:1043px; top:205px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(grd_memo.rows- grd_memo.fixedRows > 0) {
- grd_memo.insertRow(1, "above", true);
- } else {
- grd_memo.addRow();
- }
- model.setValue(xPathMemoList+"[1]/writ", model.getValue("/root/main/cond/usernm"));
- grd_memo.refresh();
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter3" style="left:1097px; top:205px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( model.getValue(xPathMemoList+"[" + grd_memo.row + "]/memocnts") != "") {
- grd_memo.addStatus(grd_memo.row, "delete");
-
- } else {
- grd_memo.deleteItem(grd_memo.row);
- }
- ]]>
- </script>
- </button>
- <button id="button78" class="btn5_letter2" style="left:1151px; top:205px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeMomoList();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn2_letter6" style="left:522px; top:205px; width:86px; height:19px; ">
- <caption>Activity 추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_cadexset.insertRow( grd_cadexset.findRow("Activity", 1, 0), "above","false","false");
- model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/status", "i");
- model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/itemcd", "activity");
- model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/itemnm", "Activity");
- model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/flag", "0");
- grd_cadexset.refresh();
- ]]>
- </script>
- </button>
- <button id="button10" class="btn2_letter6" style="left:434px; top:205px; width:89px; height:19px; ">
- <caption>특이사항 추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_cadexset.insertRow( grd_cadexset.findRow("특이사항", 1, 0), "above","false","false");
- model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/status", "i");
- model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/itemcd", "특이사항");
- model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/itemnm", "특이사항");
- model.makeValue(xPathCardexSetList + "[" + grd_cadexset.row + "]/flag", "0");
- grd_cadexset.refresh();
-
- ]]>
- </script>
- </button>
- <group id="grp_testview" style="left:654px; top:531px; width:540px; height:219px; ">
- <caption id="caption12" class="tit_2" style="left:5px; top:5px; width:10px; height:13px; "/>
- <button id="button17" class="btn4_letter4" style="left:16px; top:0px; width:80px; height:22px; ">
- <caption>검사관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMAER00800");
- //open("SMMMI00100");
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter2" style="left:496px; top:0px; width:42px; height:19px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetMedSpccdList("test");
- ]]>
- </script>
- </button>
- <line id="line10" class="line_1" style="x1:0px; y1:20px; x2:540px; y2:20px; "/>
- <select1 id="cmb_testprcpflag" ref="/root/main/cond/testprcpflag" class="combo_search" appearance="minimal" style="left:214px; top:0px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>ALL</value>
- </item>
- <item>
- <label>진검</label>
- <value>B2</value>
- </item>
- <item>
- <label>영상</label>
- <value>C2</value>
- </item>
- <item>
- <label>기능</label>
- <value>E2</value>
- </item>
- <item>
- <label>핵의학</label>
- <value>B6</value>
- </item>
- <item>
- <label>기타</label>
- <value>ETC</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetMedSpccdList("test");
- ]]>
- </script>
- </select1>
- <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; ">
- <col ref="clscd"/>
- <col ref="prcpdd" format="yyyy-mm-dd"/>
- <col ref="prcpnm"/>
- <col ref="status"/>
- <col ref="execdd" format="yyyy-mm-dd"/>
- <col ref="prcpcd"/>
- <col ref="drugmthdspccdnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- //처방상태가 최종결과일 경우 검사결과 조회 팝업(진검, 핵의학 체/내)
- var prcpclscd = model.getValue("/root/main/kardexinfo/testlist[" + grd_test.row + "]/prcpclscd");
- var prcpstatcd = model.getValue("/root/main/kardexinfo/testlist[" + grd_test.row + "]/prcpstatcd");
- var prcpcd = model.getValue("/root/main/kardexinfo/testlist[" + grd_test.row + "]/prcpcd");
- //alert("prcpclscd : " +prcpclscd+"prcpstatcd: "+prcpstatcd);
-
- if((prcpclscd == "B2" || prcpclscd == "B6" || prcpclscd == "C6") && (prcpstatcd == "730" || prcpstatcd == "740")){
- //alert("zzzzzzzzzzz");
- model.removeNodeset("/root/main/testrsltinfo");
- model.removeNodeset("/root/send");
- model.makeNode("/root/send");
-
- model.makeValue("/root/send/bcno", model.getValue("/root/main/kardexinfo/testlist[" + grd_test.row + "]/spcno")); //검체번호
- model.makeValue("/root/send/testmdlcd", prcpcd.substr(1,2)); //중분류 : 검사 코드의 2,3 자리 2자 중분류(처방 코드가 LMI023 이면.. 2~3자리 MI 가 중분류)
- model.makeValue("/root/send/pid", model.getValue("/root/main/kardexinfo/patdetlinfo/pid")); //등록번호
- model.makeValue("/root/send/level", '3'); //레벨 : 3
- model.makeValue("/root/send/lastreptdd", ""); //최종보고일 : null
- model.makeValue("/root/send/notmdlcd", "Y"); // 중분류예외처리(중분류와 관계없이 모두 조회)_20080811추가(LIS송요셉씨제공)
-
-
- if (submit("TRMNW00304")) {
- if (getNodesetCount("/root/main/testrsltinfo/rsltlist") == 0) {
- messageBox("검사결과를 조회할 수 없습니다.", "I");
- return;
- } else {
- modal("SPMNW12100","1","300","500", "SPMNW12100", "/root/main/testrsltinfo", "/root/main/testrsltinfo");
- }
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_test.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <select1 id="combo3" ref="/root/main/cond/execflag" class="combo_search" appearance="minimal" style="left:351px; top:0px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>ALL</value>
- </item>
- <item>
- <label>수행</label>
- <value>A</value>
- </item>
- <item>
- <label>미수행</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fGetMedSpccdList("test");
- ]]>
- </script>
- </select1>
- <caption id="caption14" style="left:155px; top:3px; width:60px; height:17px; ">처방구분 :</caption>
- <caption id="caption15" style="left:292px; top:3px; width:62px; height:17px; ">수행여부 :</caption>
- <button id="btn_testsml" class="btn2_letter4" visibility="hidden" style="left:431px; top:0px; width:64px; height:19px; ">
- <caption>축소하기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //style="left:654px; top:543px; width:540px; height:193px; "
- grp_testview.attribute("left") = "654px" ;
- grp_testview.attribute("width") = "540px" ;
-
- grd_test.attribute("width") = "540px" ;
- grd_test.colWidth(grd_test.colRef("prcpnm")) = grd_test.colWidth(grd_test.colRef("prcpnm")) - 200;
- grd_test.colWidth(grd_test.colRef("prcpcd")) = grd_test.colWidth(grd_test.colRef("prcpcd")) - 80;
- grd_test.colWidth(grd_test.colRef("drugmthdspccdnm")) = grd_test.colWidth(grd_test.colRef("drugmthdspccdnm")) - 80;
-
- btn_testlrg.visible = true;
- btn_testsml.visible = false;
- ]]>
- </script>
- </button>
- <button id="btn_testlrg" class="btn2_letter4" style="left:431px; top:0px; width:64px; height:19px; border-top-width:2px; ">
- <caption>확대하기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //style="left:654px; top:543px; width:540px; height:193px; "
- grp_testview.attribute("left") = "120px" ;
- grp_testview.attribute("width") = "1075px" ;
- grd_test.attribute("width") = "1075px" ;
- grd_test.colWidth(grd_test.colRef("prcpnm")) = grd_test.colWidth(grd_test.colRef("prcpnm")) + 200;
- grd_test.colWidth(grd_test.colRef("prcpcd")) = grd_test.colWidth(grd_test.colRef("prcpcd")) + 80;
- grd_test.colWidth(grd_test.colRef("drugmthdspccdnm")) = grd_test.colWidth(grd_test.colRef("drugmthdspccdnm")) + 80;
- btn_testlrg.visible = false;
- btn_testsml.visible = true;
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|