1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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>
- <inreqfrminfo>
- <inreqfrminfo>
- <status/>
- <pid/>
- <inrsrvacptdd/>
- <orddeptcd/>
- <inrsrvacptseqno/>
- <inrsrvacpttm/>
- <inrsrvstat/>
- <inrsrvprcpno/>
- <insukind/>
- <indirecdrid/>
- <indirecdd/>
- <orddrid/>
- <inhopedd/>
- <inflag/>
- <bmtyn>1</bmtyn>
- <cpyn>N</cpyn>
- <cpcd/>
- <fcstinterm/>
- <erreglyn/>
- <isolroomyn/>
- <oxyyn/>
- <suctyn/>
- <scheopdd/>
- <inrsrvrem/>
- <drrem/>
- <inrsrvcnclresn/>
- <inrsrvcnclresnrem/>
- <incncldd/>
- <incncltm/>
- <hngnm/>
- <specroomyn/>
- <suppkind/>
- <orddd/>
- <cretno/>
- <orgorddeptcd/>
- <indd/>
- <ocrtag>-</ocrtag>
- <cnstteam/>
- <coopteamcd>-</coopteamcd>
- <centcd>-</centcd>
- <subdeptcd/>
- <wardtypecd/>
- <specwardcd/>
- <ampmflag/>
- <sa/>
- <assgward/>
- <assgroom/>
- <assgroomgrde/>
- <assgroomtype/>
- <assgbed/>
- <publicbedyn/>
- <phoneno/>
- <atdoctid/>
- <patgrade/>
- <bedkindfrom/>
- <bedkindto/>
- <incretno/>
- <inskind/>
- <delflag/>
- <drgyn/>
- <drgno/>
- <drgnm/>
- <publicroomtype/>
- <inmgrtelno/>
- <sortno/>
- </inreqfrminfo>
- </inreqfrminfo>
- <diaginfo>
- <diagcdlist>
- <status/>
- <diagdd/>
- <diagno/>
- <diaghistno/>
- <instcd/>
- <pid/>
- <orddd/>
- <cretno/>
- <orddeptcd/>
- <orddrid/>
- <genrflagcd/>
- <diaghistcd/>
- <diagcd/>
- <diagtypecd/>
- <diagkindcd/>
- <diagkindcdflag/>
- <anamneflag/>
- <tootflagcd/>
- <diagsignflag/>
- <tootfact/>
- <diagengnm/>
- <diaghngnm/>
- <icd10cd/>
- <spclinfo/>
- <diagremfact/>
- <diagcmtcnts/>
- </diagcdlist>
- <opcdlist>
- <status/>
- <diagdd/>
- <diagno/>
- <diaghistno/>
- <diagtypecd/>
- <orgopcd/>
- <orddrid/>
- <orddeptcd/>
- <cretno/>
- <pid/>
- <orddd/>
- <icd9cd/>
- <opengnm/>
- <ophngnm/>
- </opcdlist>
- <traumadiagcdlist/>
- </diaginfo>
- <cond>
- <year/>
- <month/>
- <diagflag/>
- <opflag>2</opflag>
- <rsrvcond/>
- </cond>
- <inreqhistinfo>
- <inreqhistlist>
- <status/>
- <pid/>
- <inrsrvacptdd/>
- <orddeptcd/>
- <inrsrvacptseqno/>
- <inrsrvacpttm/>
- <inrsrvstat/>
- <inrsrvprcpno/>
- <insukind/>
- <indirecdrid/>
- <indirecdd/>
- <orddrid/>
- <inhopedd/>
- <inflag/>
- <drgyn/>
- <bmtyn/>
- <cpyn>N</cpyn>
- <cpcd/>
- <fcstinterm/>
- <erreglyn/>
- <isolroomyn/>
- <oxyyn/>
- <suctyn/>
- <scheopdd/>
- <inrsrvrem/>
- <drrem/>
- <inrsrvcnclresn/>
- <incncldd/>
- <incncltm/>
- <hngnm/>
- <specroomyn/>
- <suppkind/>
- <orddd/>
- <orgorddeptcd/>
- <ocrtag/>
- <cnstteam/>
- <centcd/>
- <subdeptcd/>
- <coopteamcd/>
- <assgward/>
- <assgroom/>
- <assgroomgrde/>
- <assgroomtype/>
- <assgbed/>
- <publicbedyn/>
- <phoneno/>
- <atdoctid/>
- <patgrade/>
- <bedkindfrom/>
- <bedkindto/>
- <incretno/>
- <inskind/>
- <delflag/>
- <drgno/>
- <drgnm/>
- <publicroomtype/>
- <inmgrtelno/>
- <sortno/>
- </inreqhistlist>
- <dschchkyn>
- <ordtype/>
- </dschchkyn>
- </inreqhistinfo>
- <week>
- <week>
- <sun/>
- <mon/>
- <tue/>
- <wed/>
- <thu/>
- <fri/>
- <sat/>
- </week>
- </week>
- <calendar>
- <calendar>
- <basedd/>
- <dutflag/>
- <ordyn/>
- <patsum/>
- <day/>
- <week/>
- </calendar>
- </calendar>
- <status/>
- <serdiaginfo>
- <serdiagermsg/>
- </serdiaginfo>
- <patdccinfo>
- <deptcd/>
- <pid/>
- <hngnm/>
- <sa/>
- <orddeptcd/>
- <medispclid/>
- <orddeptnm/>
- <medispclnm/>
- </patdccinfo>
- <cpinfo>
- <ablecp/>
- </cpinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- <newElement/>
- </send>
- <hidden>
- <smsdata/>
- </hidden>
- <init>
- <today/>
- <inrsrvcnclresn/>
- <orddept/>
- <specroomyn>
- </specroomyn>
- <userlist/>
- <!--<hardcdno/>-->
- <opcdlist>
- <status/>
- <diagdd/>
- <diagno/>
- <diaghistno/>
- <diagtypecd/>
- <pid/>
- <orddd/>
- <cretno/>
- <orddeptcd/>
- <orddrid/>
- <orgopcd/>
- <icd9cd/>
- <opengnm/>
- <ophngnm/>
- </opcdlist>
- <!--<bmtdeptcd/>-->
- <cnstteamlist/>
- <centerwardcdlist/>
- <wardtypecd/>
- <!--
- <erreglyn/>
- <userauth/>
- -->
- <deptcode/>
- <subdeptinfo/>
- <patnm/>
- <pateducyn/>
- <warddept/>
- <roomgrade/>
- <roomtype/>
- <atdoctlist/>
- <patgrade/>
- <bedkind/>
- <pamcomcode>
- <PK092list/>
- <PK107list/>
- </pamcomcode>
- <hoperoom/>
- </init>
- <paminfo>
- <list/>
- </paminfo>
- <temp>
- <inreqfrminfo/>
- <cnstteam/>
- <prcpinforsntly/>
- <drgno/>
- <rtnmessage/>
- <traumadiaginfo/>
- </temp>
- <patflag>
- <list/>
- </patflag>
- <hidden2>
- <erprcpyn/>
- </hidden2>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/inreqhistinfo"/>
- <submission id="TRMMO00153" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/rtnmessage"/>
- <submission id="TRMMO00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/calendar"/>
- <submission id="TRMMO00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/opcdinfo"/>
- <submission id="TRMMO00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/diaginfo"/>
- <submission id="TRMMO00125" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/serdiaginfo"/>
- <submission id="TRMMO00145" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cpinfo"/>
- <submission id="TRMMO00126" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/cnstteam"/>
- <submission id="TRMMO00128" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/centerwardcdlist"/>
- <submission id="TRMMO00158" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/pamcomcode"/>
- <submission id="TXMMO00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" resultref="/root/main/inreqhistinfo"/>
- <!-- 선택진료신청관리 팝업 open 여부 체크 -->
- <submission id="TRPMC06801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/smpmc06800/send" resultref="/root/smpmc06800/saim"/>
- <!--입원약정서 출력물 호출 -->
- <submission id="TRPMI01201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data40" resultref="/root/hidden/h_deciprint"/>
- <submission id="TXMMO26001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnt"/>
- <submission id="TXMMO26002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/cnt"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitialize_SPMMO00100();
- ]]>
- </script>
- <submission id="TRMMO00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/diaginfo"/>
- <bind id="bind1" ref="/root/main/diaginfo/diagcdlist/icd10cd" readonly="../status != """/>
- <bind id="bind2" ref="/root/main/diaginfo/diagcdlist/diagengnm" readonly="../status != """/>
- <bind id="bind3" ref="/root/main/diaginfo/diagcdlist/diaghngnm" readonly="../status != """/>
- <bind id="bind4" ref="/root/main/diaginfo/opcdlist/icd9cd" readonly="../status != """/>
- <bind id="bind5" ref="/root/main/diaginfo/opcdlist/opengnm" readonly="../status != """/>
- <bind id="bind6" ref="/root/main/diaginfo/opcdlist/ophngnm" readonly="../status != """/>
- <submission id="TRMMB04106" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04102" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMB04107" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
- <submission id="TRMMO00131" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp/prcpinforsntly"/>
- <submission id="TRPAM00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/pamcomcode"/>
- <!--응급실 환자의 응급의학관리료 처방 여부 체크-->
- <submission id="TRMMO00149" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden2/erprcpyn"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- fGethardcdArrayList(new Array(
- "hardcdno|1",
- "bmtdeptcd|68",
- "erreglyn|90",
- "userauth|91",
- "wardflag|231",
- "drkindcd|69"
- ),
- new Array(
- "/root/init",
- "/root/init",
- "/root/init",
- "/root/init",
- "/root/init",
- "root/init"
- )
- );
- var wardflag = model.getValue("/root/init/wardflag/hardcd/hardcd");
-
- if ( wardflag == "A") {
- model.toggle("case2");
- } else if ( wardflag == "C") {
- model.toggle("case3");
- } else {
- model.toggle("case1");
- }
-
- ]]>
- </script>
- <submission id="TRMMO00161" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/diaginfo/traumadiagcdlist" resultref="/root/temp/traumadiaginfo"/>
- </model>
- <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/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SPMMO00100.js"/>
- <script type="javascript" src="../../../com/shortmsgweb/js/ZMS001.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM001.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1040" pageheight="670" guideline="2,-48;1,1021;2,500;1,506;2,638;2,191;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <line id="line1" class="line_1" style="x1:0px; y1:15px; x2:502px; y2:15px; "/>
- <caption id="caption16" class="cell_1" style="left:0px; top:20px; width:98px; height:23px; text-align:center; vertical-align:middle; ">등 록 번 호</caption>
- <caption id="caption17" class="cell_1" style="left:0px; top:93px; width:98px; height:23px; text-align:center; vertical-align:middle; ">진 료 과</caption>
- <caption id="caption11" class="cell_1" style="left:0px; top:529px; width:98px; height:26px; text-align:center; vertical-align:middle; ">원무과 전달사항</caption>
- <caption id="caption1" class="cell_1" style="left:0px; top:44px; width:98px; height:23px; text-align:center; vertical-align:middle; ">성 명</caption>
- <caption id="caption2" class="cell_1" style="left:0px; top:141px; width:98px; height:23px; text-align:center; vertical-align:middle; ">전 문 의</caption>
- <caption id="caption3" class="cell_1" style="left:0px; top:214px; width:98px; height:23px; text-align:center; vertical-align:middle; ">입원예정일</caption>
- <caption id="caption4" class="cell_1" style="left:0px; top:262px; width:98px; height:23px; text-align:center; vertical-align:middle; ">CP 적용</caption>
- <caption id="caption6" class="cell_1" style="left:0px; top:334px; width:98px; height:23px; text-align:center; vertical-align:middle; ">예상 입원기간</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:190px; width:98px; height:23px; text-align:center; vertical-align:middle; ">발 행 일</caption>
- <caption id="caption21" style="left:382px; top:22px; width:20px; height:20px; vertical-align:middle; ">월</caption>
- <caption id="caption12" class="cell_1" style="left:0px; top:556px; width:98px; height:26px; text-align:center; vertical-align:middle; ">의료진 참고사항</caption>
- <caption id="caption13" class="cell_1" style="left:0px; top:238px; width:98px; height:23px; text-align:center; vertical-align:middle; ">수술예정일</caption>
- <caption id="caption20" style="left:306px; top:22px; width:20px; height:20px; vertical-align:middle; ">년</caption>
- <caption id="caption14" class="tit_2" style="left:0px; top:0px; width:113px; height:14px; vertical-align:middle; ">입원의뢰서</caption>
- <button id="btn_save" class="btn4_letter2" disabled="true" style="left:847px; top:642px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveInReq();
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" disabled="true" style="left:904px; top:642px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnInReqDel();
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/main/inreqfrminfo/inreqfrminfo/pid" class="input_search" maxlength="10" maxbyte="8" style="left:100px; top:22px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_patserch", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/pid" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/hngnm" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/sa" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/phoneno" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , "");
- //2012/07/20 Start
- opener.javascript.clearParameter("opener_id");
- //2012/07/20 End
- model.refresh();
- ]]>
- </script>
- </input>
- <select1 id="cmb_orddeptcd" ref="/root/main/inreqfrminfo/inreqfrminfo/orddeptcd" class="combo" appearance="minimal" style="left:100px; top:95px; width:134px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //zsufGetUserInfoCombo(cmb_orddeptcd.value , "/root/init/userlist", "_D"); //해당 의사콤보 조회
- //model.refresh();
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddeptcd.value, "0330", "","M", "", "", "J");
- if(fContainsHardCD("515", cmb_orddeptcd.value)) { // 담당의 항목에 교수도 조회해야 하는 부서
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/atdoctlist", cmb_orddeptcd.value, "0330", "", "T", "", "", "P"); // 담당의에 주치의도 포함 되도록 수정 -2015.11.06 엄영만 요청서:20151102005
- } else {
- mmbfGetUserComboList("/root/send/reqdata", "/root/init/atdoctlist", cmb_orddeptcd.value, "0330", "", "A", "", "", "P"); // 담당의에 주치의도 포함 되도록 수정 -2015.11.06 엄영만 요청서:20151102005
- }
-
- mmbfGetSubDeptComboList("/root/send/reqdata", "/root/init/subdeptinfo", cmb_orddeptcd.value);
- addComboInstance("/root/init/subdeptinfo", "subdeptnm^subdeptcd", " ^-", "subdeptlist"); //의사콤보 전체항목 추가
- cmb_orddrid.select(0);
- model.refresh();
- ]]>
- </script>
- </select1>
- <input id="ipt_inhopedd" ref="/root/main/inreqfrminfo/inreqfrminfo/inhopedd" class="input" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:218px; width:86px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngInHopeDD();
- ]]>
- </script>
- </input>
- <input id="ipt_patnm" ref="/root/main/inreqfrminfo/inreqfrminfo/hngnm" class="input_search" style="left:100px; top:47px; width:90px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_patserch", "DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/pid" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/hngnm" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/sa" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/phoneno" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , "");
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="ipt_sa" ref="/root/main/inreqfrminfo/inreqfrminfo/sa" class="input_search" style="left:194px; top:47px; width:40px; height:19px; "/>
- <select1 id="cmb_orddrid" ref="/root/main/inreqfrminfo/inreqfrminfo/orddrid" class="combo_search" appearance="minimal" style="left:100px; top:143px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngOrdDrID();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_cpyn" ref="/root/main/inreqfrminfo/inreqfrminfo/cpyn" appearance="full" cellspacing="20" cols="2" rows="1" overflow="visible" style="left:101px; top:266px; width:131px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>Y</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_fcstinterm" ref="/root/main/inreqfrminfo/inreqfrminfo/fcstinterm" class="input_search" imemode="disabled" maxlength="4" format="#" style="left:101px; top:336px; width:34px; height:19px; text-align:center; "/>
- <output id="opt_inrsrvacptdd" ref="/root/main/inreqfrminfo/inreqfrminfo/inrsrvacptdd" class="output_fix" format="yyyy-mm-dd" style="left:100px; top:192px; width:86px; height:19px; "/>
- <input id="ipt_inrsrvrem" ref="/root/main/inreqfrminfo/inreqfrminfo/inrsrvrem" class="input_search" style="left:100px; top:533px; width:403px; height:19px; "/>
- <input id="ipt_drrem" ref="/root/main/inreqfrminfo/inreqfrminfo/drrem" class="input_search" style="left:100px; top:561px; width:403px; height:19px; "/>
- <input id="ipt_scheopdd" ref="/root/main/inreqfrminfo/inreqfrminfo/scheopdd" class="input_search" inputtype="date" format="yyyy-mm-dd" style="left:100px; top:241px; width:86px; height:19px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fChgOpBaseDD();
- ]]>
- </script>
- </input>
- <line id="line2" class="line_1" style="x1:1px; y1:390px; x2:503px; y2:390px; "/>
- <caption id="caption8" class="tit_2" style="left:1px; top:375px; width:113px; height:13px; vertical-align:middle; ">진단</caption>
- <line id="line3" class="line_1" style="x1:505px; y1:390px; x2:1021px; y2:390px; "/>
- <caption id="caption9" class="tit_2" style="left:506px; top:375px; width:113px; height:13px; vertical-align:middle; ">수술</caption>
- <line id="line4" class="line_1" style="x1:506px; y1:15px; x2:1021px; y2:15px; "/>
- <caption id="caption10" class="tit_2" style="left:507px; top:0px; width:113px; height:14px; vertical-align:middle; ">입원예약 내역</caption>
- <button id="button5" class="btn2_letter2" style="left:197px; top:241px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/scheopdd", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption15" style="left:136px; top:337px; width:20px; height:20px; ">일</caption>
- <datagrid id="grd_inreqhistlist" nodeset="/root/main/inreqhistinfo/inreqhistlist" caption="status^상태^suppkind^specroomyn^hngnm^incncltm^incncldd^inrsrvcnclresn^drrem^inrsrvrem^scheopdd^suctyn^oxyyn^isolroomyn^erreglyn^fcstinterm^cpcd^cpyn^bmtyn^drgyn^inflag^indirecdd^indirecdrid^insukind^inrsrvprcpno^inrsrvstat^inrsrvacpttm^inrsrvacptseqno^orddeptcd^orddrid^pid^inrsrvacptdd^caption1^입원예정일^진료과^전문의^발행일^등록자명^입원일^센터코드^세부과코드^협진팀코드^wardtypecd^specwardcd^assgward^assgroom^assgroomgrde^assgroomtype^assgbed^caption2^caption3^caption4^caption5" colsep="^" colwidth="0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 72, 112, 65, 77, 82, 36, 18, 18, 20, 0, 0, 0, 0, 0, 0, 0, 100, 100, 0, 100, 100, 100, 100, 100, 100, 100, 100, 100" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:506px; top:21px; width:515px; height:329px; ">
- <col ref="status"/>
- <col disabled="true" ref="inrsrvstat" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>예약</label>
- <value>T</value>
- </item>
- <item>
- <label>결정</label>
- <value>S</value>
- </item>
- <item>
- <label>결정</label>
- <value>R</value>
- </item>
- <item>
- <label>입원</label>
- <value>A</value>
- </item>
- <item>
- <label>부도</label>
- <value>D</value>
- </item>
- </choices>
- </col>
- <col ref="suppkind"/>
- <col ref="specroomyn"/>
- <col ref="hngnm"/>
- <col ref="incncltm"/>
- <col ref="incncldd"/>
- <col ref="inrsrvcnclresn"/>
- <col ref="drrem"/>
- <col ref="inrsrvrem"/>
- <col ref="scheopdd"/>
- <col ref="suctyn"/>
- <col ref="oxyyn"/>
- <col ref="isolroomyn"/>
- <col ref="erreglyn"/>
- <col ref="fcstinterm"/>
- <col ref="cpcd"/>
- <col ref="cpyn"/>
- <col ref="bmtyn"/>
- <col ref="drgyn"/>
- <col ref="inflag"/>
- <col ref="indirecdd"/>
- <col ref="indirecdrid"/>
- <col ref="insukind"/>
- <col ref="inrsrvprcpno"/>
- <col ref="inrsrvstat"/>
- <col ref="inrsrvacpttm"/>
- <col ref="inrsrvacptseqno"/>
- <col ref="orddeptcd"/>
- <col ref="orddrid"/>
- <col ref="pid"/>
- <col ref="inrsrvacptdd"/>
- <col ref="cnstteam"/>
- <col ref="inhopedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="orddeptcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="orddrnm" style="text-align:center; "/>
- <col ref="inrsrvacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="usernm" style="text-align:center; "/>
- <col ref="indd" visibility="hidden"/>
- <col ref="centcd" visibility="hidden"/>
- <col ref="subdeptcd" visibility="hidden"/>
- <col ref="coopteamcd" visibility="hidden"/>
- <col ref="wardtypecd" visibility="hidden"/>
- <col ref="specwardcd" visibility="hidden"/>
- <col ref="ampmflag" visibility="hidden"/>
- <col ref="sa" visibility="hidden"/>
- <col ref="assgward" visibility="hidden"/>
- <col ref="assgroom" visibility="hidden"/>
- <col ref="assgroomgrde" visibility="hidden"/>
- <col ref="assgroomtype" visibility="hidden"/>
- <col ref="assgbed" visibility="hidden"/>
- <col ref="phoneno" visibility="hidden"/>
- <col ref="atdoctid" visibility="hidden"/>
- <col ref="patgrade" visibility="hidden"/>
- <col ref="bedkind" visibility="hidden"/>
- <col ref="incretno" visibility="hidden"/>
- <col ref="inskind" visibility="hidden"/>
- <col ref="delflag" visibility="hidden"/>
- <col ref="drgno" visibility="hidden"/>
- <col ref="drgnm" visibility="hidden"/>
- <col ref="sortno" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var currow = grd_inreqhistlist.row;
- if (isDataCell() == true) {
- fDispInReqHistInfo(currow);
- fReqInReqDiagOpList();
-
- var status = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/status");
- if (status == "u") {
- model.setValue("/root/main/status", "수정상태");
- //2012/08/13 Start
- btn_del.disabled="false";
- //2012/08/13 End
-
- //2013/01/23 Start 의사가 아니면서 전문간호로 접근하지 않았을시 삭제버튼 비활성화
- if(menuauthchkyn=="N" && getUserInfo("jobkindcd").substr(0, 2)!="03"){
- btn_del.disabled=true;
- return;
- }
- //2013/01/23 End
- } else {
- model.setValue("/root/main/status", "신규상태");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/inrsrvacptdd", getCurrentDate());
- //2012/08/13 Start
- btn_del.disabled="true";
- //2012/08/13 End
- }
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_calendar" nodeset="/root/main/week/week" caption="일^월^화^수^목^금^토" colsep="^" colwidth="36, 36, 36, 37, 37, 37, 36" dataheight="50" extendlastcol="scroll" mergecellsfixedrows="byrow" rowheight="30" style="left:243px; top:44px; width:258px; height:211px; ">
- <col ref="sun" style="text-align:center; "/>
- <col ref="mon" style="text-align:center; "/>
- <col ref="tue" style="text-align:center; "/>
- <col ref="wed" style="text-align:center; "/>
- <col ref="thu" style="text-align:center; "/>
- <col ref="fri" style="text-align:center; "/>
- <col ref="sat" style="text-align:center; "/>
- </datagrid>
- <button id="btn_inreqsrch" class="btn2_letter6" style="left:415px; top:21px; width:86px; height:19px; ">
- <caption>입원예약조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // setParameter("SPMMO09000_param", "2007▦08▦2230000000▦91620245▦20086");
- modal("SPMMO09000");
- ]]>
- </script>
- </button>
- <button id="btn_deldiag" class="btn2_letter2" style="left:460px; top:369px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDeleteRow(grd_diaglist);
- ]]>
- </script>
- </button>
- <button id="btn_opnote" class="btn2_letter6" style="left:889px; top:369px; width:86px; height:19px; ">
- <caption>수술예약장부</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMMMO05700");
- ]]>
- </script>
- </button>
- <button id="btn_delop" class="btn2_letter2" style="left:977px; top:369px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDeleteRow(grd_oplist);
- grd_oplist.addRow(true, true);
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" disabled="true" style="left:778px; top:642px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClkBtnInit();
- ]]>
- </script>
- </button>
- <button id="btn_close" class="btn4_letter2" disabled="true" style="left:961px; top:642px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_bfyear" class="icon_pre" style="left:243px; top:23px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/week/week");
- var year = model.getValue("/root/main/cond/year");
- model.setValue("/root/main/cond/year", --year);
- model.refresh();
-
- fReqInReqCalendar();
- ]]>
- </script>
- </button>
- <button id="btn_af" class="icon_next" style="left:320px; top:23px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/week/week");
- var year = model.getValue("/root/main/cond/year");
- model.setValue("/root/main/cond/year", ++year);
- model.refresh();
-
- fReqInReqCalendar();
- ]]>
- </script>
- </button>
- <button id="btn_bfmonth" class="icon_pre" style="left:340px; top:23px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/week/week");
- var year = model.getValue("/root/main/cond/year");
- var month = model.getValue("/root/main/cond/month");
- month -= 1;
- if(month == 0){
- year -= 1;
- month = 12;
- }else if(month < 10){ //2자리가 아닌 경우, 앞자리에 0을 붙인다.
- month = "0".concat(month);
- }
- model.setValue("/root/main/cond/year", year);
- model.setValue("/root/main/cond/month", month);
- model.refresh();
-
- fReqInReqCalendar();
- ]]>
- </script>
- </button>
- <button id="btn_afmonth" class="icon_next" style="left:395px; top:22px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/week/week");
- var year = model.getValue("/root/main/cond/year");
- var month = model.getValue("/root/main/cond/month");
- month = eval(month) + 1;
- if(month == 13){
- year = eval(year) + 1;
- month = "01";
- }else if(month < 10){ //2자리가 아닌 경우, 앞자리에 0을 붙인다.
- month = "0".concat(month);
- }
- model.setValue("/root/main/cond/year", year);
- model.setValue("/root/main/cond/month", month);
- model.refresh();
-
- fReqInReqCalendar();
- ]]>
- </script>
- </button>
- <button id="btn_calendar" disabled="true" style="left:180px; top:337px; width:60px; height:20px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/main/week/week");
- var month = model.getValue("/root/main/cond/month");
- if(month.length < 2){
- month = "0".concat(month);
- }
- model.setValue("/root/main/cond/month", month);
- model.refresh();
-
- fReqInReqCalendar();
- ]]>
- </script>
- </button>
- <input id="ipt_month" ref="/root/main/cond/month" class="input_search" style="left:355px; top:21px; width:26px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- var month = model.getValue("/root/main/cond/month");
- if(month.length < 2){
- month = "0".concat(month);
- }
- model.setValue("/root/main/cond/month", month);
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_calendar", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_year" ref="/root/main/cond/year" class="input_search" style="left:258px; top:21px; width:46px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- inputEnterKey("btn_calendar", "DOMActivate");
- ]]>
- </script>
- </input>
- <datagrid id="grd_diaglist" nodeset="/root/main/diaginfo/diagcdlist" caption="^diagdd^diagno^diaghistno^diagtypecd^orddrid^orddeptcd^cretno^pid^orddd^진단코드^ICD10CD^영문명^한글명^caption1^caption2^caption3^caption4^caption5^caption6^caption7^caption8^caption9^caption10^caption11^caption12" colsep="^" colwidth="36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80, 0, 176, 188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:1px; top:395px; width:502px; height:100px; ">
- <col disabled="true" ref="status" type="combo">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>신규</label>
- <value>i</value>
- </item>
- <item>
- <label>수정</label>
- <value>u</value>
- </item>
- <item>
- <label>삭제</label>
- <value>d</value>
- </item>
- </choices>
- </col>
- <col ref="diagdd"/>
- <col ref="diagno"/>
- <col ref="diaghistno"/>
- <col ref="diagtypecd"/>
- <col ref="pid"/>
- <col ref="orddd"/>
- <col ref="cretno"/>
- <col ref="orddeptcd"/>
- <col ref="orddrid"/>
- <col ref="diagcd" type="input" style="text-align:center; "/>
- <col ref="icd10cd" type="input" style="text-align:center; "/>
- <col ref="diagengnm" type="input"/>
- <col ref="diaghngnm" type="input"/>
- <col ref="instcd" visibility="hidden"/>
- <col ref="genrflagcd" visibility="hidden"/>
- <col ref="diaghistcd" visibility="hidden"/>
- <col ref="diagkindcd" visibility="hidden"/>
- <col ref="diagkindcdflag" visibility="hidden"/>
- <col ref="anamneflag" visibility="hidden"/>
- <col ref="tootflagcd" visibility="hidden"/>
- <col ref="diagsignflag" visibility="hidden"/>
- <col ref="tootfact" visibility="hidden"/>
- <col ref="spclinfo" visibility="hidden"/>
- <col ref="diagremfact" visibility="hidden"/>
- <col ref="diagcmtcnts" type="input" visibility="hidden"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fSearchDiagTermCD();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_diaglist.col == grd_diaglist.colRef("status")){
- var status = grd_diaglist.valueMatrix(grd_diaglist.row, grd_diaglist.colRef("status"))
- if(status == "d"){
- grd_diaglist.valueMatrix(grd_diaglist.row, grd_diaglist.colRef("status")) = "-";
- }else{
- return;
- }
- }
- grd_diaglist.refresh();
- ]]>
- </script>
- </datagrid>
- <datagrid id="grd_oplist" nodeset="/root/main/diaginfo/opcdlist" caption="^diagdd^diagno^diaghistno^diagtypecd^orgopcd^orddrid^orddeptcd^cretno^pid^orddd^수술코드^영문명^한글명" colsep="^" colwidth="35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 74, 200, 190" ellipsis="true" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" tooltip="true" style="left:505px; top:395px; width:516px; height:100px; ">
- <col disabled="true" ref="status" type="combo">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>신규</label>
- <value>i</value>
- </item>
- <item>
- <label>수정</label>
- <value>u</value>
- </item>
- <item>
- <label>삭제</label>
- <value>d</value>
- </item>
- </choices>
- </col>
- <col ref="diagdd"/>
- <col ref="diagno"/>
- <col ref="diaghistno"/>
- <col ref="diagtypecd"/>
- <col ref="pid"/>
- <col ref="orddd"/>
- <col ref="cretno"/>
- <col ref="orddeptcd"/>
- <col ref="orddrid"/>
- <col ref="orgopcd"/>
- <col ref="icd9cd" type="input" style="text-align:center; "/>
- <col ref="opengnm" type="input"/>
- <col ref="ophngnm" type="input"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- fSearchOpTermCD();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_oplist.col == grd_oplist.colRef("status")){
- var status = grd_oplist.valueMatrix(grd_oplist.row, grd_oplist.colRef("status"))
- if(status == "d"){
- grd_oplist.valueMatrix(grd_oplist.row, grd_oplist.colRef("status")) = "-";
- }else{
- return;
- }
- }
- grd_diaglist.refresh();
- ]]>
- </script>
- </datagrid>
- <group id="group1" disabled="false" visibility="hidden" style="left:515px; top:191px; width:260px; height:157px; background-color:#99ccff; border-color:#3366ff; border-style:solid; ">
- <caption id="caption5" style="left:5px; top:5px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">취소사유</caption>
- <select1 id="cmb_inrsrvcnclresn" ref="/root/main/inreqfrminfo/inreqfrminfo/inrsrvcnclresn" class="combo_search" appearance="minimal" style="left:61px; top:4px; width:188px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/inrsrvcnclresn/P0020">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption44" style="left:5px; top:25px; width:54px; height:20px; font-weight:bold; vertical-align:middle; ">상세내용</caption>
- <textarea id="textarea1" ref="/root/main/inreqfrminfo/inreqfrminfo/inrsrvcnclresnrem" style="left:9px; top:44px; width:240px; height:80px; "/>
- <button id="btn_cnfm" class="btn2_letter2" style="left:162px; top:130px; width:42px; height:19px; ">
- <caption>확인</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelInReqHistList();
- ]]>
- </script>
- </button>
- <button id="btn_cncl" class="btn2_letter2" style="left:206px; top:130px; width:42px; height:19px; ">
- <caption>취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/inrsrvcnclresn", "");
- group1.visible = false;
- fCtrlObjDisable(false);
- ]]>
- </script>
- </button>
- </group>
- <button id="btn_patsrch" class="icon_search" style="left:50px; top:372px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fOpenDiagPopUp();
- ]]>
- </script>
- </button>
- <button id="button1" class="icon_search" style="left:555px; top:370px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var icd9cd = model.getValue(sOPCDLIST_PATH +"/icd9cd");
- if (!isNull(icd9cd)) {
- messageBox("CaseCart명은 한개만 추가 가능합니다.", "I");
- } else {
- fOpenOpPopUp();
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_erreglyn" ref="/root/main/inreqfrminfo/inreqfrminfo/erreglyn" appearance="minimal" style="left:155px; top:336px; width:190px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/erreglyn/hardcd">
- <label ref="hardcdnm"/>
- <value ref="hardcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (cmb_erreglyn.value =="F") {
- btn_dcc.visible = true;
- btn_opreq.visible = true;
- cmb_ampmflag.visible = true;
- cmb_ampmflag.visible = true;
- btn_dcc.dispatch("DOMActivate");
- } else {
- btn_dcc.visible = false;
- btn_opreq.visible = false;
- cmb_ampmflag.visible = false;
- cmb_ampmflag.visible = false;
- }
- ]]>
- </script>
- </select1>
- <button id="btn_patserch" class="icon_search" style="left:215px; top:24px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPatSearch();
- ]]>
- </script>
- </button>
- <caption id="caption24" class="cell_1" style="left:0px; top:502px; width:98px; height:26px; text-align:center; vertical-align:middle; ">협진팀 명</caption>
- <select1 id="cmb_cnstteam" ref="/root/main/inreqfrminfo/inreqfrminfo/cnstteam" disabled="true" appearance="minimal" editable="false" style="left:100px; top:505px; width:325px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/cnstteamlist/M0525">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var coopteamcd = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/cnstteam");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/coopteamcd", coopteamcd);
- model.refresh();
- ]]>
- </script>
- </select1>
- <button id="button2" class="btn2_letter4" style="left:434px; top:505px; width:64px; height:19px; ">
- <caption>협진관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SPMMO03600_inreqpid", model.getValue(sINREQFRMINFO_PATH + "/pid"));
- setParameter("SPMMO03600_inreqcoopteamcd", model.getValue(sINREQFRMINFO_PATH + "/cnstteam"));
- modal("SPMMO03600");
- fReqCnstteamList();
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:507px; top:506px; width:514px; height:132px; border-color:transparent; border-style:hidden; border-left-style:hidden; border-top-style:hidden; border-right-style:hidden; border-bottom-style:hidden; ">
- <case id="case3" selected="true">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:512px; height:130px; "/>
- <caption id="caption30" ref="/root/main/status" style="left:395px; top:34px; width:95px; height:43px; font-size:14pt; font-weight:bold; color:#ff0000; "/>
- <button id="btn_wardselect" class="btn2_letter5" style="left:415px; top:9px; width:75px; height:19px; ">
- <caption>병동 선택</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sOrdDeptCd = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd"); // 의뢰서 진료과
-
- model.removenode("/root/hidden/target")
- model.makeNode("/root/hidden/target")
- setParameter("SMPMI00100_Param1", sOrdDeptCd);
- setParameter("SMPMI00100_orduseyn", "Y");
- if(fContainsHardCD("445", sOrdDeptCd)) { // 소아 청소년과 분과이면 45병동을 디폴트로 조회 하도록 수정. 2014.05.16 엄영만
- setParameter("SMPMI00100_Param2", "3050314000");
- }
-
- modal("SPPMI02001", "1","50", "50", "SPPMI02001", "", "");
-
- var patpid = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/pid");
- var patage = "";
- var patsex = "";
-
- if( patpid == model.getValue("/root/init/patnm/patnm/pid")){
- patage = model.getValue("/root/init/patnm/patnm/age");
- patsex = model.getValue("/root/init/patnm/patnm/sex");
- }else if( patpid == model.getValue("/root/paminfo/list/pid")){
- patage = model.getValue("/root/paminfo/list/age");
- patsex = model.getValue("/root/paminfo/list/sex");
- }else if( patpid == model.getValue("/root/patinfo/patinfolist/pid")){
- patage = model.getValue("/root/patinfo/patinfolist/age");
- patsex = model.getValue("/root/patinfo/patinfolist/sex");
- }else{
- messageBox ( "환자정보를 조회 할 수 없습니다.", "E" );
- return;
- }
-
- var bedsex = model.getValue("/root/hidden/target/grdbedspec/sex");
- // 6세 이하 제외, 성별일 같거나, 공통 병실 일경우
- if(patsex == bedsex || bedsex == "A" || (isNumber(patage) && parseInt(patage) <= 6 ) ) {
- var wardcd = model.getValue("/root/hidden/target/grdbedspec/wardcd");
- var roomcd = model.getValue("/root/hidden/target/grdbedspec/roomcd");
- var bedcd = model.getValue("/root/hidden/target/grdbedspec/bedcd");
- var roomgrdecd = model.getValue("/root/hidden/target/grdbedspec/roomgrdecd");
- var roomtypecd = model.getValue("/root/hidden/target/grdbedspec/roomtypecd");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , wardcd);
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , roomcd);
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" , roomgrdecd);
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" , roomtypecd);
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , bedcd);
-
- model.refresh();
- } else {
- if(bedsex == "") {
- messageBox ( "선택하신 병실이 없습니다.", "E" );
- } else {
- messageBox ( "선택하신 병실의 성별과 환자의 성별이 서로 틀립니다.\n\n[혼성입원 연령제한 안내]\n\n우리 병원에서는 만 6세미만의 경우에만 혼성입원이 가능합니다.\n만 6세이상의 환자에 대하여 혼성입원이 필요한 경우 원무팀으로 연락바랍니다.\n( 입원결정 및 전실신청시 모두 해당 )\n\n☎ 문의사항 ☎\n본원 원무팀 : 재원파트 5064 / 5065, 응급수납 5058 / 5068\n칠곡 원무팀 : 재원파트 2065 / 2066, 응급수납 2108", "E" );
- }
-
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , "");
-
- model.refresh();
- return;
- }
- ]]>
- </script>
- </button>
- <select1 id="combo1" ref="/root/main/inreqfrminfo/inreqfrminfo/assgward" disabled="true" appearance="minimal" style="left:70px; top:9px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/warddept/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <output id="output1" ref="/root/main/inreqfrminfo/inreqfrminfo/assgroom" style="left:70px; top:34px; width:120px; height:19px; border-color:#999999; border-bottom-color:#999999; border-width:1px; border-style:solid; border-left-style:none; border-top-style:none; border-right-style:none; border-bottom-style:solid; "/>
- <caption id="caption31" style="left:10px; top:9px; width:60px; height:20px; ">병 동</caption>
- <caption id="caption32" style="left:10px; top:34px; width:60px; height:20px; ">병 실</caption>
- <caption id="caption33" style="left:10px; top:59px; width:60px; height:20px; ">병 상</caption>
- <caption id="caption34" style="left:205px; top:34px; width:45px; height:20px; ">등 급</caption>
- <caption id="caption35" style="left:205px; top:59px; width:45px; height:20px; ">형 태</caption>
- <output id="output2" ref="/root/main/inreqfrminfo/inreqfrminfo/assgbed" style="left:70px; top:59px; width:120px; height:19px; border-color:#999999; border-bottom-color:#999999; border-width:1px; border-style:solid; border-left-style:none; border-top-style:none; border-right-style:none; border-bottom-style:solid; "/>
- <select1 id="combo2" ref="/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" disabled="true" appearance="minimal" style="left:255px; top:34px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/roomgrade/P0025">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo3" ref="/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" disabled="true" appearance="minimal" style="left:255px; top:59px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/roomtype/P0026">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/inreqfrminfo/inreqfrminfo/publicbedyn" style="left:315px; top:9px; width:20px; height:20px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var publicbedyn = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/publicbedyn")
- if (publicbedyn == "Y") {
- btn_wardselect.disabled = false;
- } else {
- btn_wardselect.disabled = true;
-
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde", "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype", "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , "");
- }
-
- model.refresh();
- ]]>
- </script>
- </bool>
- <caption id="caption36" style="left:335px; top:9px; width:80px; height:20px; ">
- <![CDATA[공용병상여부]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- var publicbedyn = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/publicbedyn")
- if (publicbedyn == "Y") {
- btn_wardselect.disabled = false;
- model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/ordwardyn", "N");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/publicbedyn", "N");
- } else {
- btn_wardselect.disabled = true;
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/publicbedyn", "Y");
- model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/ordwardyn", "Y");
-
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgward" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroom" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomgrde" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgroomtype" , "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/assgbed" , "");
- }
-
- model.refresh();
- ]]>
- </script>
- </caption>
- <caption id="cap_bedinfo" style="left:10px; top:110px; width:390px; height:20px; ">
- <![CDATA[※ 공용병상은 14시이후 비어있는 타과 전용병상을 포함합니다.]]>
- </caption>
- <select1 id="radio4" ref="/root/main/inreqfrminfo/inreqfrminfo/inrsrvstat" appearance="full" cellspacing="10" cols="2" overflow="visible" style="left:210px; top:9px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>예약</label>
- <value>T</value>
- </item>
- <item>
- <label>결정</label>
- <value>S</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var inrsrvstat = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/inrsrvstat");
- var publicbedyn = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/publicbedyn");
-
- //2013/01/29 Start 당일 퇴원한 환자가 동일일자에 결정을 클릭시 저장버튼 비활성화
- if(blockingchk=="Y"){
- var dschordtype = model.getValue("/root/main/inreqhistinfo/dschchkyn/ordtype")
- if(dschordtype=="I" && inrsrvstat=="S"){
- btn_save.disabled=true;
- return;
- }else{
- if(menuauthchkyn=="N" && getUserInfo("jobkindcd").substr(0, 2)!="03"){
- return;
- }
- btn_save.disabled=false;
- }
- }
- //2013/01/29 End
-
- if(inrsrvstat == "S" && publicbedyn != "Y"){
- btn_wardselect.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </select1>
- <caption id="caption18" visibility="hidden" style="left:10px; top:84px; width:60px; height:20px; ">
- <![CDATA[희망병실]]>
- <hint>
- <![CDATA[공용병상 신청시 희망병실 구분]]>
- </hint>
- </caption>
- <select1 id="combo9" ref="/root/main/inreqfrminfo/inreqfrminfo/publicroomtype" visibility="hidden" appearance="minimal" style="left:70px; top:83px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/hoperoom/P0552">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption46" visibility="hidden" style="left:205px; top:78px; width:45px; height:28px; ">
- <![CDATA[담당자
- 핸드폰]]>
- <hint>
- <![CDATA[공용병상 신청후 병상지정 시 SMS 회신처리용]]>
- </hint>
- </caption>
- <input id="input4" ref="/root/main/inreqfrminfo/inreqfrminfo/inmgrtelno" visibility="hidden" style="left:255px; top:83px; width:120px; height:19px; "/>
- </case>
- <case id="case1">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:512px; height:130px; "/>
- <bool id="bool_suctyn" checkvalue="Y,N" ref="/root/main/inreqfrminfo/inreqfrminfo/suctyn" style="left:120px; top:25px; width:25px; height:20px; "/>
- <caption id="cap_status" ref="/root/main/status" style="left:395px; top:50px; width:95px; height:43px; font-size:14pt; font-weight:bold; color:#ff0000; "/>
- <select1 id="rdo_specroomyn" ref="/root/main/inreqfrminfo/inreqfrminfo/specroomyn" appearance="full" cellspacing="20" cols="4" rows="2" vcellspacing="2" overflow="visible" sep="|" style="left:5px; top:46px; width:305px; height:38px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/specroomyn/M0029P0378">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption22" style="left:285px; top:25px; width:55px; height:20px; ">격리병상</caption>
- <caption id="caption23" style="left:5px; top:5px; width:100px; height:20px; ">이식여부 :</caption>
- <select1 id="radio1" ref="/root/main/inreqfrminfo/inreqfrminfo/bmtyn" appearance="full" cellspacing="5" cols="4" rows="4" overflow="visible" style="left:70px; top:5px; width:375px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- <item>
- <label>환자(수혜자)</label>
- <value>2</value>
- </item>
- <item>
- <label>공여자</label>
- <value>3</value>
- </item>
- <item>
- <label>타기관공여자</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <bool id="bool_isolroomyn" checkvalue="Y,N" ref="/root/main/inreqfrminfo/inreqfrminfo/isolroomyn" style="left:265px; top:25px; width:25px; height:20px; "/>
- <bool id="bool_oxyyn" checkvalue="Y,N" ref="/root/main/inreqfrminfo/inreqfrminfo/oxyyn" style="left:5px; top:25px; width:20px; height:20px; "/>
- <button id="btn_specroomyn" class="btn2_letter2" style="left:350px; top:50px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/specroomyn", "");
- model.refresh();
-
- ]]>
- </script>
- </button>
- <caption id="caption19" style="left:25px; top:25px; width:20px; height:20px; ">O2</caption>
- <caption id="caption25" style="left:140px; top:25px; width:44px; height:20px; ">Suction</caption>
- </case>
- <case id="case2">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="20" ellipseheight="20" style="left:0px; top:0px; width:512px; height:130px; "/>
- <caption id="caption26" ref="/root/main/status" style="left:395px; top:55px; width:95px; height:43px; font-size:14pt; font-weight:bold; color:#ff0000; "/>
- <select1 id="radio2" ref="/root/main/inreqfrminfo/inreqfrminfo/specroomyn" appearance="full" cellspacing="20" cols="4" rows="2" vcellspacing="2" overflow="visible" sep="|" style="left:5px; top:46px; width:335px; height:49px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/specroomyn/M0029P0378">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngRoomInfo();
- ]]>
- </script>
- </select1>
- <caption id="caption27" style="left:5px; top:5px; width:100px; height:20px; ">BMT / 이식여부 :</caption>
- <select1 id="radio3" ref="/root/main/inreqfrminfo/inreqfrminfo/bmtyn" appearance="full" cellspacing="5" cols="4" rows="4" overflow="visible" style="left:105px; top:5px; width:360px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>해당없음</label>
- <value>1</value>
- </item>
- <item>
- <label>환자(수혜자)</label>
- <value>2</value>
- </item>
- <item>
- <label>공여자</label>
- <value>3</value>
- </item>
- <item>
- <label>타기관공여자</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <button id="button3" class="btn2_letter2" style="left:425px; top:25px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/wardtypecd", "");
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/specroomyn", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="rdo_wardtype" ref="/root/main/inreqfrminfo/inreqfrminfo/wardtypecd" appearance="full" cellspacing="20" cols="3" rows="1" overflow="visible" sep="|" style="left:5px; top:25px; width:305px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/wardtypecd/P0474">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fCentValChng();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_specwardcd" ref="/root/main/inreqfrminfo/inreqfrminfo/specwardcd" disabled="true" appearance="minimal" style="left:313px; top:25px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/centerwardcdlist/wardcdlist">
- <label ref="depthngnm"/>
- <value ref="wardcd"/>
- </itemset>
- </choices>
- </select1>
- </case>
- </switch>
- <button id="btn_dcc" class="btn2_letter6" visibility="hidden" style="left:85px; top:358px; width:86px; height:19px; ">
- <caption>DCC예약현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var orddeptcd = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd");
- var deptcd = model.getValue("/root/init/orddept/dept[deptcd = '"+ model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd")+"']/deptengabbr");
- var hngnm = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/hngnm");
- var pid = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/pid");
- var sa = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/sa");
- if (isNull(sa)) {
- sa = model.getValue("/root/main/patinfo/patinfolist/sex") + model.getValue("/root/main/patinfo/patinfolist/age");
- if (isNull(sa)) {
- sa = getPatientInfo("age");
- }
- }
- var orddeptnm = cmb_orddeptcd.label;
- var usernm = cmb_orddrid.label;
- var orddeptcd = cmb_orddeptcd.value;
- var medispclid = cmb_orddrid.value;
-
- model.setValue("/root/main/patdccinfo/deptcd" , deptcd);
- model.setValue("/root/main/patdccinfo/hngnm" , hngnm);
- model.setValue("/root/main/patdccinfo/pid" , pid);
- model.setValue("/root/main/patdccinfo/sa" , sa);
- model.setValue("/root/main/patdccinfo/orddeptnm" , orddeptnm);
- model.setValue("/root/main/patdccinfo/medispclnm" , usernm);
- model.setValue("/root/main/patdccinfo/orddeptcd" , orddeptcd);
- model.setValue("/root/main/patdccinfo/medispclid" , medispclid);
-
- modal("SMMNP06500", 1,10, 10, "SMMNP06500", "/root/main/patdccinfo", "/root/temp/dccinfo");
-
- var inhopedd = getParameter("SPMMO00100_inhopedd");
- var scheopdd = getParameter("SPMMO00100_inhopedd");
- var ampmflag = getParameter("SPMMO00100_ampmflag");
-
- model.setValue(sINREQFRMINFO_PATH + "/inhopedd" , inhopedd);
- model.setValue(sINREQFRMINFO_PATH + "/scheopdd" , scheopdd);
- model.setValue(sINREQFRMINFO_PATH + "/ampmflag" , ampmflag);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_opreq" class="btn2_letter4" visibility="hidden" style="left:172px; top:358px; width:64px; height:19px; ">
- <caption>마취의뢰</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SPMMO00200");
- ]]>
- </script>
- </button>
- <select1 id="cmb_ampmflag" ref="/root/main/inreqfrminfo/inreqfrminfo/ampmflag" visibility="hidden" appearance="minimal" style="left:190px; top:218px; width:50px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>오전</label>
- <value>A</value>
- </item>
- <item>
- <label>오후</label>
- <value>P</value>
- </item>
- </choices>
- </select1>
- <caption id="caption28" class="cell_1" style="left:0px; top:117px; width:98px; height:23px; text-align:center; vertical-align:middle; ">세 부 과</caption>
- <select1 id="cmb_subdept" ref="/root/main/inreqfrminfo/inreqfrminfo/subdeptcd" class="combo" appearance="minimal" style="left:100px; top:119px; width:134px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/subdeptinfo/subdeptlist">
- <label ref="subdeptnm"/>
- <value ref="subdeptcd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption29" visibility="hidden" style="left:4px; top:335px; width:15px; height:15px; font-weight:bold; color:#ff0000; ">*</caption>
- <caption id="caption37" visibility="hidden" style="left:100px; top:0px; width:130px; height:16px; font-weight:bold; color:#ff0000; border-color:transparent; ">* 필수 입력사항임</caption>
- <button id="button4" class="btn3_letter5" style="left:684px; top:642px; width:92px; height:22px; ">
- <caption>입원약정서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var status = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/status");
- if ( status =="u" ) {
- fInDeciPrint( model.getValue("/root/main/inreqfrminfo/inreqfrminfo/pid")
- , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/inrsrvacptdd")
- , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd")
- , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddrid")
- , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/insukind")
- , "1"); // 약정서종류 1:입원약정서, 2:기간약정서
- } else {
- messageBox("환자를 선택해야만 출력이 가능합니다.", "I");
- }
- ]]>
- </script>
- </button>
- <caption id="caption38" class="cell_1" style="left:0px; top:69px; width:98px; height:23px; text-align:center; vertical-align:middle; ">전 화 번 호</caption>
- <input id="input1" ref="/root/main/inreqfrminfo/inreqfrminfo/phoneno" class="input_search" disabled="true" style="left:100px; top:71px; width:134px; height:19px; "/>
- <button id="btn_sms" class="btn3_letter2" style="left:530px; top:642px; width:56px; height:22px; ">
- <caption>SMS</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.removeNodeset("/root/hidden/smsdata");
- model.makeValue("/root/hidden/smsdata/bizabbr", "EMR");
- model.makeValue("/root/hidden/smsdata/replytelno", "");
- model.makeValue("/root/hidden/smsdata/rsrvyn", "");
- model.makeValue("/root/hidden/smsdata/rsrvdate", "");
- model.makeValue("/root/hidden/smsdata/rsrvtime", "");
- model.makeValue("/root/hidden/smsdata/recvrlist/chk", "");
- model.makeValue("/root/hidden/smsdata/recvrlist/recvrnm", model.getValue("/root/main/inreqfrminfo/inreqfrminfo/hngnm"));
- model.makeValue("/root/hidden/smsdata/recvrlist/recvrtelno", model.getValue("/root/main/inreqfrminfo/inreqfrminfo/phoneno"));
- zmsfOpenSMS("/root/hidden/smsdata");
- model.removeNodeset("/root/hidden/smsdata");
- ]]>
- </script>
- </button>
- <button id="button6" class="btn3_letter5" visibility="hidden" style="left:589px; top:642px; width:92px; height:22px; ">
- <caption>기간약정서</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var status = model.getValue("/root/main/inreqfrminfo/inreqfrminfo/status");
- if ( status =="u" ) {
- fInDeciPrint( model.getValue("/root/main/inreqfrminfo/inreqfrminfo/pid")
- , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/inrsrvacptdd")
- , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd")
- , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddrid")
- , model.getValue("/root/main/inreqfrminfo/inreqfrminfo/insukind")
- , "2"); // 약정서종류 1:입원약정서, 2:기간약정서
- } else {
- messageBox("환자를 선택해야만 출력이 가능합니다.", "I");
- }
- ]]>
- </script>
- </button>
- <caption id="caption39" class="cell_1" style="left:0px; top:165px; width:98px; height:23px; text-align:center; vertical-align:middle; ">담 당 의</caption>
- <select1 id="combo4" ref="/root/main/inreqfrminfo/inreqfrminfo/orddrid" class="combo_search" appearance="minimal" style="left:100px; top:143px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/userlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngOrdDrID();
- ]]>
- </script>
- </select1>
- <select1 id="combo5" ref="/root/main/inreqfrminfo/inreqfrminfo/atdoctid" class="combo_search" appearance="minimal" style="left:100px; top:167px; width:134px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/atdoctlist/usercombo">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChngOrdDrID();
- ]]>
- </script>
- </select1>
- <caption id="caption40" class="cell_1" style="left:0px; top:583px; width:98px; height:26px; text-align:center; vertical-align:middle; ">입원 우선순위</caption>
- <caption id="caption41" class="cell_1" style="left:0px; top:611px; width:98px; height:26px; text-align:center; vertical-align:middle; ">병 상 정 보</caption>
- <select1 id="combo6" ref="/root/main/inreqfrminfo/inreqfrminfo/patgrade" appearance="minimal" style="left:100px; top:587px; width:189px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/pamcomcode/PK092list/PK092">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo7" ref="/root/main/inreqfrminfo/inreqfrminfo/bedkindfrom" appearance="minimal" style="left:100px; top:616px; width:190px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/bedkind/M0710">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo8" ref="/root/main/inreqfrminfo/inreqfrminfo/bedkindto" appearance="minimal" style="left:314px; top:616px; width:190px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/bedkind/M0710">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption42" style="left:295px; top:621px; width:15px; height:15px; ">~</caption>
- <select1 id="radio5" ref="/root/main/inreqfrminfo/inreqfrminfo/drgyn" visibility="hidden" appearance="full" cellspacing="20" cols="2" rows="1" overflow="visible" style="left:100px; top:290px; width:131px; height:17px; border-style:none; ">
- <choices>
- <item>
- <label>예</label>
- <value>A</value>
- </item>
- <item>
- <label>아니오</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var drgyn=model.getValue("/root/main/inreqfrminfo/inreqfrminfo/drgyn");
- if(drgyn!=null && drgyn!="" && drgyn=="A"){
- setParameter("deptcd", model.getValue("/root/main/inreqfrminfo/inreqfrminfo/orddeptcd"));
- modal("SPMMO50300");
- button7.disabled=false;
- }else{
- model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgno", "");
- model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgnm", "");
- model.makeValue("/root/temp/drgno", "");
- model.makeValue("/root/temp/drgnm", "");
- button7.disabled=true;
- }
-
- var drgno=model.getValue("/root/temp/drgno");
- var drgnm=model.getValue("/root/temp/drgnm");
- if(drgno!=null && drgno!=""){
- model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgno", drgno);
- model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgnm", drgnm);
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/cpyn", "Y");
- }else{
- model.setValue("/root/main/inreqfrminfo/inreqfrminfo/drgyn", "N");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption43" class="cell_1" visibility="hidden" style="left:-1px; top:286px; width:98px; height:23px; text-align:center; vertical-align:middle; ">DRG 적용</caption>
- <caption id="caption45" class="cell_1" visibility="hidden" style="left:0px; top:310px; width:98px; height:23px; text-align:center; vertical-align:middle; ">DRG 정보</caption>
- <input id="input2" ref="/root/main/inreqfrminfo/inreqfrminfo/drgnm" visibility="hidden" style="left:150px; top:310px; width:354px; height:19px; "/>
- <input id="input3" ref="/root/main/inreqfrminfo/inreqfrminfo/drgno" visibility="hidden" editable="false" style="left:100px; top:310px; width:51px; height:19px; text-align:center; "/>
- <button id="button7" class="btn2_letter4" disabled="true" visibility="hidden" style="left:211px; top:287px; width:64px; height:19px; ">
- <caption>DRG수정</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var drgyn=model.getValue("/root/main/inreqfrminfo/inreqfrminfo/drgyn");
- if(drgyn!=null && drgyn!="" && drgyn=="A"){
- modal("SPMMO50300");
- }
- var drgno=model.getValue("/root/temp/drgno");
- var drgnm=model.getValue("/root/temp/drgnm");
- if(drgno!=null && drgno!=""){
- model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgno", drgno);
- model.makeValue("/root/main/inreqfrminfo/inreqfrminfo/drgnm", drgnm);
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption47" class="cell_1" style="left:314px; top:583px; width:131px; height:26px; text-align:center; vertical-align:middle; ">병상배정 우선순위</caption>
- <select1 id="combo10" ref="/root/main/inreqfrminfo/inreqfrminfo/sortno" appearance="minimal" style="left:447px; top:587px; width:56px; height:19px; ">
- <choices>
- <item>
- <label>-</label>
- <value/>
- </item>
- <item>
- <label>1</label>
- <value>1</value>
- </item>
- <item>
- <label>2</label>
- <value>2</value>
- </item>
- <item>
- <label>3</label>
- <value>3</value>
- </item>
- <item>
- <label>4</label>
- <value>4</value>
- </item>
- <item>
- <label>5</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <button id="button8" class="btn2_letter2" style="left:192px; top:143px; width:48px; height:19px; ">
- <caption>휴진</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fShowHoliInfo();
- ]]>
- </script>
- </button>
- <button id="button9" class="btn3_letter7" style="left:411px; top:642px; width:116px; height:22px; ">
- <caption>준공용병상현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMPMI03910");
- ]]>
- </script>
- </button>
- <caption id="caption48" style="left:6px; top:643px; width:404px; height:20px; color:#ff0000; ">※ 입원결정(외래) 한도 : 전용병상 수 10% 이내 (전용병상 없는 경우 1명)</caption>
- </xhtml:body>
- </xhtml:html>
|