12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940 |
- <?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>
- <prcp>
- <prcplist>
- <status/>
- <prcpstatcd/>
- <prcpclscd/>
- <prcpkindcd/>
- <prcpcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpvolunitnm/>
- <prcpqty/>
- <prcpqtyunitnm/>
- <prcptims/>
- <prcpdayno/>
- <drugmthdspccdnm/>
- <prcpmixno/>
- <payflagcd/>
- <prcpdelivefact/>
- <hosinhosoutflag/>
- <prcpexecdeptcd/>
- <prcphopedd/>
- <choiordflag/>
- <rgstdt/>
- <rgstridnm/>
- <testrsltunit/>
- <testrsltcnts/>
- <prcpgenrflag/>
- <prcphistcd/>
- <tempprcpflag/>
- <prcpsetcd/>
- <prcpvolunitflag/>
- <prcpqtyunitflag/>
- <orgprcpqty/>
- <drugspd/>
- <drugspdunitflag/>
- <powdflag/>
- <prnprcpflag/>
- <prepprcpflag/>
- <selfprcpflag/>
- <selfdrugflag/>
- <drugpackflag/>
- <erprcpflag/>
- <precureprcpflag/>
- <nigtprcpflag/>
- <portprcpflag/>
- <fixprcpflag/>
- <anamneflag/>
- <fastprcpflag/>
- <erreadflag/>
- <prcpdirecflag/>
- <tnsuseflag/>
- <tnsfiltflag/>
- <trnptbftestflag/>
- <offictourhealexamflag/>
- <stemcellflag/>
- <angioflagcd/>
- <opansflagcd/>
- <ansttm/>
- <mealcalrcnts/>
- <mealprotcnts/>
- <mealupdtflag/>
- <hosinprcpresncd/>
- <etcprcpresncd/>
- <drugmthdspccd/>
- <issdeptcd/>
- <prcpauthflag/>
- <prcpinptflag/>
- <prcpsignflag/>
- <rateprcpflag/>
- <prcprefseq/>
- <ordreqlnkno/>
- <testreqlnkno/>
- <prcplnkdd/>
- <prcplnkno/>
- <oprsrvno/>
- <tootfact/>
- <clinccmtcnts/>
- <prcpessninptflag/>
- <grupsnglflag/>
- <drugrateqty/>
- <asttestflag/>
- <clincstdyflag/>
- <prtlno/>
- <clincstdycd/>
- <optermcd/>
- <prcpflag/>
- <hscttempprcpflag/>
- <inclprcpcd/>
- <inclprcpno/>
- <pampkspec/>
- <prcppkspec/>
- <calcscormastspec/>
- <drugmastspec/>
- <rateprcpspec/>
- <matrsetprcpspec/>
- <suppdeptspec/>
- <contprcpspec/>
- <etclnkspec/>
- <srchcondcnts/>
- <orgprcpnm/>
- <chkcol/>
- <hsctdelivepos/>
- <hsctlnkno/>
- <etcprcpflag/>
- <aftcertflag/>
- <aftcertdrid/>
- <prcpvalidd/>
- <spynpy1/>
- <specdrid/>
- <anticncrprtlno/>
- <anticncrdayno/>
- <druglnkno/>
- <rehbprcpcurefreqflag/>
- <dietprcpgenrflag/>
- <irpayflag/>
- <irflag/>
- <procerdietflag/>
- <diagtestconttestintvlflag/>
- <drugindependpackflag/>
- <diagtestconttestbasetm/>
- <diagtestconttestorgtims/>
- <ermediscmngtresncd/>
- <rehbprcpenddd/>
- <matrallsizespecid/>
- <rehbprcpcurepartcd/>
- <lowdrugresncd/>
- <tfdtlcd/>
- <dnorreqlnkno/>
- <subcretno/>
- <exptmthdfact/>
- <lowdrugresnetcfact/>
- <diagtestconttestcdspec/>
- <drprcpetc1/>
- <drprcpetc2/>
- <drprcpetc3/>
- <drprcpetc4/>
- <drprcpetc5/>
- <drprcpetc6/>
- <drprcpetc7/>
- <drprcpetc8/>
- <drprcpetc9/>
- <drprcpetc10/>
- <tempcol1/>
- <tempcol2/>
- <tempcol3/>
- <tempcol4/>
- <tempcol5/>
- <tempcol6/>
- <tempcol7/>
- <tempcol8/>
- <tempcol9/>
- <tempcol10/>
- <tempcol11/>
- <tempcol12/>
- <tempcol13/>
- <tempcol14/>
- <tempcol15/>
- <tempcol16/>
- <tempcol17/>
- <tempcol18/>
- <tempcol19/>
- <tempcol20/>
- <tempcol21/>
- <tempcol22/>
- <tempcol23/>
- <tempcol24/>
- <tempcol25/>
- </prcplist>
- </prcp>
- <srcprcp>
- <prcplist/>
- </srcprcp>
- <destprcp>
- <prcplist/>
- </destprcp>
- <saveinval/>
- </main>
- <temp/>
- <init>
- <detlvw>p</detlvw>
- <detlivw>p</detlivw>
- <omsrght>
- <mouserght>
- <label>일괄입력</label>
- <func>fPrcpDetlCom</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>삭제</label>
- <func>fDeleteRow</func>
- </mouserght>
- <mouserght>
- <label>선택제외삭제</label>
- <func>fDeleteElseRow</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>용법복사</label>
- <func>fMthdCopy</func>
- </mouserght>
- <mouserght>
- <label>용법붙여넣기</label>
- <func>fMthdPaste</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>Pre work-up</label>
- <func>fPreWorkUp</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>입원전검사처방</label>
- <func>fPreHosInPrcp</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>Mix적용</label>
- <func>fMixNoCnt</func>
- </mouserght>
- <mouserght>
- <label>Mix취소</label>
- <func>fMixNoDel</func>
- </mouserght>
- <mouserght>
- <label>TPNMix적용</label>
- <func>fTMixNoCnt</func>
- </mouserght>
- <mouserght>
- <label>지정일</label>
- <func>fContPrcpDd</func>
- </mouserght>
- <mouserght>
- <label>치식</label>
- <func>fDentifmla</func>
- </mouserght>
- <mouserght>
- <label>검사의뢰서</label>
- <func>fReqfrm</func>
- </mouserght>
- <mouserght>
- <label>조영제동의서출력</label>
- <func>fPrintfrm</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>약품편람</label>
- <func>fDrugInfo</func>
- </mouserght>
- <mouserght>
- <label>수가조회</label>
- <func>fOpenCalscorCD</func>
- </mouserght>
- <mouserght>
- <label>투약일수조회</label>
- <func>fMediDayNo</func>
- </mouserght>
- <mouserght>
- <label>검사실별예약현황</label>
- <func>fOpenExamRsrvInfo</func>
- </mouserght>
- <mouserght>
- <label>보험정보조회</label>
- <func>fOpenInsuInfo</func>
- </mouserght>
- </omsrght>
- <imsrght>
- <mouserght>
- <label>일괄입력</label>
- <func>fPrcpDetlCom</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>삭제</label>
- <func>fDeleteRow</func>
- </mouserght>
- <mouserght>
- <label>선택제외삭제</label>
- <func>fDeleteElseRow</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>용법복사</label>
- <func>fMthdCopy</func>
- </mouserght>
- <mouserght>
- <label>용법붙여넣기</label>
- <func>fMthdPaste</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>Pre work-up</label>
- <func>fPreWorkUp</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>Mix적용</label>
- <func>fMixNoCnt</func>
- </mouserght>
- <mouserght>
- <label>Mix취소</label>
- <func>fMixNoDel</func>
- </mouserght>
- <mouserght>
- <label>TPNMix적용</label>
- <func>fTMixNoCnt</func>
- </mouserght>
- <mouserght>
- <label>지정일</label>
- <func>fContPrcpDd</func>
- </mouserght>
- <mouserght>
- <label>치식</label>
- <func>fDentifmla</func>
- </mouserght>
- <mouserght>
- <label>검사의뢰서</label>
- <func>fReqfrm</func>
- </mouserght>
- <mouserght>
- <label>조영제동의서출력</label>
- <func>fPrintfrm</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>약품편람</label>
- <func>fDrugInfo</func>
- </mouserght>
- <mouserght>
- <label>수가조회</label>
- <func>fOpenCalscorCD</func>
- </mouserght>
- <mouserght>
- <label>투약일수조회</label>
- <func>fMediDayNo</func>
- </mouserght>
- <mouserght>
- <label>검사실별예약현황</label>
- <func>fOpenExamRsrvInfo</func>
- </mouserght>
- <mouserght>
- <label>보험정보조회</label>
- <func>fOpenInsuInfo</func>
- </mouserght>
- </imsrght>
- <emsrght>
- <mouserght>
- <label>일괄입력</label>
- <func>fPrcpDetlCom</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>삭제</label>
- <func>fDeleteRow</func>
- </mouserght>
- <mouserght>
- <label>선택제외삭제</label>
- <func>fDeleteElseRow</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>용법복사</label>
- <func>fMthdCopy</func>
- </mouserght>
- <mouserght>
- <label>용법붙여넣기</label>
- <func>fMthdPaste</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>Pre work-up</label>
- <func>fPreWorkUp</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>Mix적용</label>
- <func>fMixNoCnt</func>
- </mouserght>
- <mouserght>
- <label>Mix취소</label>
- <func>fMixNoDel</func>
- </mouserght>
- <mouserght>
- <label>TPNMix적용</label>
- <func>fTMixNoCnt</func>
- </mouserght>
- <mouserght>
- <label>지정일</label>
- <func>fContPrcpDd</func>
- </mouserght>
- <mouserght>
- <label>치식</label>
- <func>fDentifmla</func>
- </mouserght>
- <mouserght>
- <label>검사의뢰서</label>
- <func>fReqfrm</func>
- </mouserght>
- <mouserght>
- <label>조영제동의서출력</label>
- <func>fPrintfrm</func>
- </mouserght>
- <mouserght>
- <label>응급의료관리료</label>
- <func>fErMgrPay</func>
- </mouserght>
- <mouserght>
- <label/>
- <func/>
- </mouserght>
- <mouserght>
- <label>약품편람</label>
- <func>fDrugInfo</func>
- </mouserght>
- <mouserght>
- <label>수가조회</label>
- <func>fOpenCalscorCD</func>
- </mouserght>
- <mouserght>
- <label>투약일수조회</label>
- <func>fMediDayNo</func>
- </mouserght>
- <mouserght>
- <label>검사실별예약현황</label>
- <func>fOpenExamRsrvInfo</func>
- </mouserght>
- <mouserght>
- <label>보험정보조회</label>
- <func>fOpenInsuInfo</func>
- </mouserght>
- </emsrght>
- <prcpkindcd/>
- <prcpclscd/>
- <prcpstatcd/>
- <hosinprcpresncd/>
- <payflagcd/>
- <prcpdd/>
- <patinfo/>
- <diagdetlvw>p</diagdetlvw>
- <diagsrchcond1>2</diagsrchcond1>
- <prcpauthflag>0</prcpauthflag>
- <pid/>
- <orddept/>
- <inclprcpno>0</inclprcpno>
- <hsctlnkno>0</hsctlnkno>
- <prcpmixno>0</prcpmixno>
- <mthdcopy>
- <prcpclscd/>
- <prcptims/>
- <drugmthdspccd/>
- <drugmthdspccdnm/>
- </mthdcopy>
- <srchbtn/>
- <cropflag/>
- <restantimicyn>N</restantimicyn>
- <bfpayflagcd/>
- <erresn/>
- <bfprcpkindcd/>
- <prcpinptflag/>
- <setprcpyn/>
- <bfprcpload/>
- <ordrecflag/>
- <fstopenflag/>
- <cnsttypenm/>
- <repltypenm/>
- </init>
- <save>
- <saveflaginfo>
- <savedataflag/>
- <saveflag/>
- <prcpflag/>
- <inptflag/>
- <deptcd/>
- <deptnm/>
- <userid/>
- <usernm/>
- <signyn/>
- <prcpdd/>
- <divyn/>
- </saveflaginfo>
- </save>
- <send>
- <cond1/>
- <cond2/>
- <cond3/>
- <cond4/>
- <cond5/>
- <cond6/>
- <cond7/>
- <cond8/>
- <cond9/>
- <cond10/>
- <cond11/>
- <cond12/>
- <cond13/>
- <cond14/>
- <cond99/>
- <batch/>
- </send>
- <prcporg/>
- <prcpdel/>
- <prcpdc/>
- <prcpdrag/>
- <paminfo/>
- <prcptemp/>
- <diagorg/>
- <patflag/>
- <drugcalc>
- <prcpvol/>
- <prcpqty/>
- <prcptims/>
- </drugcalc>
- <tmedmthd>
- <tmedmthdlist>
- <status/>
- <abbrnm/>
- <mthdcnts/>
- <mthdcd/>
- <basecnt/>
- <adminpath/>
- <mealflag/>
- <drdirecyn/>
- </tmedmthdlist>
- </tmedmthd>
- <hidden>
- <reqfrminfo>
- <pid/>
- <patnm/>
- <prcpcd/>
- <prcpnm/>
- <opnm/>
- <spccd/>
- <spcnm/>
- <reqno/>
- <reqhistno/>
- <scrnno/>
- <instcd/>
- <tday/>
- <tdayyn/>
- <prcpstatcd/>
- <prcp/>
- </reqfrminfo>
- <receivedata>
- <orddeptcd/>
- <ioflag/>
- <pid/>
- <age/>
- <sex/>
- <cretno/>
- <orddd/>
- <srchdrugcd/>
- </receivedata>
- <target>
- <pid/>
- <indd/>
- <cretno/>
- <hngnm/>
- </target>
- <ocrprint>
- <calcscor>
- <pid/>
- <cretno/>
- <orddd/>
- <ordtype/>
- <calcscorcd/>
- <disflag>calcscor</disflag>
- </calcscor>
- </ocrprint>
- </hidden>
- <result>
- <prcperrlist/>
- <savedrprcplist/>
- <saveexecprcplist/>
- <savepamlist/>
- </result>
- <reset>
- <prcplist>
- <status>S</status>
- <prcpstatcd/>
- <prcpclscd/>
- <prcpkindcd/>
- <prcpcd/>
- <prcpnm/>
- <prcpvol/>
- <prcpvolunitnm/>
- <prcpqty/>
- <prcpqtyunitnm/>
- <prcptims/>
- <prcpdayno/>
- <drugmthdspccdnm/>
- <prcpmixno/>
- <payflagcd/>
- <prcpdelivefact/>
- <hosinhosoutflag/>
- <prcpexecdeptcd/>
- <prcphopedd/>
- <choiordflag/>
- <rgstdt/>
- <rgstridnm/>
- <testrsltunit/>
- <testrsltcnts/>
- <prcpgenrflag/>
- <prcphistcd/>
- <tempprcpflag/>
- <prcpsetcd/>
- <prcpvolunitflag/>
- <prcpqtyunitflag/>
- <orgprcpqty/>
- <drugspd/>
- <drugspdunitflag/>
- <powdflag/>
- <prnprcpflag/>
- <prepprcpflag/>
- <selfprcpflag/>
- <selfdrugflag/>
- <drugpackflag/>
- <erprcpflag/>
- <precureprcpflag/>
- <nigtprcpflag/>
- <portprcpflag/>
- <fixprcpflag/>
- <anamneflag/>
- <fastprcpflag/>
- <erreadflag/>
- <prcpdirecflag/>
- <tnsuseflag/>
- <tnsfiltflag/>
- <trnptbftestflag/>
- <offictourhealexamflag/>
- <stemcellflag/>
- <angioflagcd/>
- <opansflagcd/>
- <ansttm/>
- <mealcalrcnts/>
- <mealprotcnts/>
- <mealupdtflag/>
- <hosinprcpresncd/>
- <etcprcpresncd/>
- <drugmthdspccd/>
- <issdeptcd/>
- <prcpauthflag/>
- <prcpinptflag/>
- <prcpsignflag/>
- <rateprcpflag/>
- <prcprefseq/>
- <ordreqlnkno/>
- <testreqlnkno/>
- <prcplnkdd/>
- <prcplnkno/>
- <oprsrvno/>
- <tootfact/>
- <clinccmtcnts/>
- <prcpessninptflag/>
- <grupsnglflag/>
- <drugrateqty/>
- <asttestflag/>
- <clincstdyflag/>
- <prtlno/>
- <clincstdycd/>
- <optermcd/>
- <prcpflag/>
- <hscttempprcpflag/>
- <inclprcpcd/>
- <inclprcpno/>
- <pampkspec/>
- <prcppkspec/>
- <calcscormastspec/>
- <drugmastspec/>
- <rateprcpspec/>
- <matrsetprcpspec/>
- <suppdeptspec/>
- <contprcpspec/>
- <etclnkspec/>
- <srchcondcnts/>
- <orgprcpnm/>
- <chkcol/>
- <hsctdelivepos/>
- <hsctlnkno/>
- <etcprcpflag/>
- <aftcertflag/>
- <aftcertdrid/>
- <prcpvalidd/>
- <spynpy1/>
- <specdrid/>
- <anticncrprtlno/>
- <anticncrdayno/>
- <druglnkno/>
- <rehbprcpcurefreqflag/>
- <dietprcpgenrflag/>
- <irpayflag/>
- <irflag/>
- <procerdietflag/>
- <diagtestconttestintvlflag/>
- <drugindependpackflag/>
- <diagtestconttestbasetm/>
- <diagtestconttestorgtims/>
- <ermediscmngtresncd/>
- <rehbprcpenddd/>
- <matrallsizespecid/>
- <rehbprcpcurepartcd/>
- <lowdrugresncd/>
- <tfdtlcd/>
- <dnorreqlnkno/>
- <subcretno/>
- <exptmthdfact/>
- <lowdrugresnetcfact/>
- <diagtestconttestcdspec/>
- <drprcpetc1/>
- <drprcpetc2/>
- <drprcpetc3/>
- <drprcpetc4/>
- <drprcpetc5/>
- <drprcpetc6/>
- <drprcpetc7/>
- <drprcpetc8/>
- <drprcpetc9/>
- <drprcpetc10/>
- <tempcol1/>
- <tempcol2/>
- <tempcol3/>
- <tempcol4/>
- <tempcol5/>
- <tempcol6/>
- <tempcol7/>
- <tempcol8/>
- <tempcol9/>
- <tempcol10/>
- <tempcol11/>
- <tempcol12/>
- <tempcol13/>
- <tempcol14/>
- <tempcol15/>
- <tempcol16/>
- <tempcol17/>
- <tempcol18/>
- <tempcol19/>
- <tempcol20/>
- <tempcol21/>
- <tempcol22/>
- <tempcol23/>
- <tempcol24/>
- <tempcol25/>
- </prcplist>
- </reset>
- <directprcp>
- <prcplist>
- <status/>
- <prcpstatcd>000</prcpstatcd>
- <prcpclscd>09</prcpclscd>
- <prcpkindcd/>
- <prcpcd>
- <![CDATA[000000000033]]>
- </prcpcd>
- <prcpnm>
- <![CDATA[전달사항]]>
- </prcpnm>
- <prcpvol>1.0</prcpvol>
- <prcpvolunitnm>-</prcpvolunitnm>
- <prcpqty>1.0</prcpqty>
- <prcpqtyunitnm>-</prcpqtyunitnm>
- <prcptims>1</prcptims>
- <prcpdayno>1</prcpdayno>
- <drugmthdspccdnm>-</drugmthdspccdnm>
- <prcpmixno>-</prcpmixno>
- <payflagcd>-</payflagcd>
- <prcpdelivefact/>
- <hosinhosoutflag>-</hosinhosoutflag>
- <prcpexecdeptcd>-</prcpexecdeptcd>
- <prcphopedd/>
- <choiordflag/>
- <rgstdt/>
- <rgstridnm/>
- <testrsltunit>-</testrsltunit>
- <testrsltcnts>-</testrsltcnts>
- <prcpgenrflag/>
- <prcphistcd>O</prcphistcd>
- <tempprcpflag>N</tempprcpflag>
- <prcpsetcd>-</prcpsetcd>
- <prcpvolunitflag>-</prcpvolunitflag>
- <prcpqtyunitflag>-</prcpqtyunitflag>
- <orgprcpqty/>
- <drugspd>0</drugspd>
- <drugspdunitflag>-</drugspdunitflag>
- <powdflag>N</powdflag>
- <prnprcpflag>N</prnprcpflag>
- <prepprcpflag>N</prepprcpflag>
- <selfprcpflag>N</selfprcpflag>
- <selfdrugflag>N</selfdrugflag>
- <drugpackflag>N</drugpackflag>
- <erprcpflag>N</erprcpflag>
- <precureprcpflag>N</precureprcpflag>
- <nigtprcpflag>N</nigtprcpflag>
- <portprcpflag>N</portprcpflag>
- <fixprcpflag>N</fixprcpflag>
- <anamneflag>N</anamneflag>
- <fastprcpflag>N</fastprcpflag>
- <erreadflag>N</erreadflag>
- <prcpdirecflag>-</prcpdirecflag>
- <tnsuseflag>0</tnsuseflag>
- <tnsfiltflag>N</tnsfiltflag>
- <trnptbftestflag>N</trnptbftestflag>
- <offictourhealexamflag>N</offictourhealexamflag>
- <stemcellflag>00NNN</stemcellflag>
- <angioflagcd>-</angioflagcd>
- <opansflagcd>-</opansflagcd>
- <ansttm>0000</ansttm>
- <mealcalrcnts>0</mealcalrcnts>
- <mealprotcnts>0</mealprotcnts>
- <mealupdtflag>0</mealupdtflag>
- <hosinprcpresncd>00</hosinprcpresncd>
- <etcprcpresncd>-</etcprcpresncd>
- <drugmthdspccd>-</drugmthdspccd>
- <issdeptcd/>
- <prcpauthflag/>
- <prcpinptflag/>
- <prcpsignflag/>
- <rateprcpflag>N</rateprcpflag>
- <prcprefseq>0</prcprefseq>
- <ordreqlnkno>0</ordreqlnkno>
- <testreqlnkno>0</testreqlnkno>
- <prcplnkdd>00000000</prcplnkdd>
- <prcplnkno>0</prcplnkno>
- <oprsrvno/>
- <tootfact>-</tootfact>
- <clinccmtcnts>-</clinccmtcnts>
- <prcpessninptflag>-</prcpessninptflag>
- <grupsnglflag>S</grupsnglflag>
- <drugrateqty>-</drugrateqty>
- <asttestflag>N</asttestflag>
- <clincstdyflag/>
- <prtlno>0</prtlno>
- <clincstdycd>-</clincstdycd>
- <optermcd>-</optermcd>
- <prcpflag>2</prcpflag>
- <hscttempprcpflag>N</hscttempprcpflag>
- <inclprcpcd>-</inclprcpcd>
- <inclprcpno>0</inclprcpno>
- <pampkspec/>
- <prcppkspec/>
- <calcscormastspec>
- <![CDATA[-|-|-|-]]>
- </calcscormastspec>
- <drugmastspec>Y</drugmastspec>
- <rateprcpspec>-</rateprcpspec>
- <matrsetprcpspec>-</matrsetprcpspec>
- <suppdeptspec>-</suppdeptspec>
- <contprcpspec>-</contprcpspec>
- <etclnkspec>-</etclnkspec>
- <srchcondcnts>0</srchcondcnts>
- <orgprcpnm>
- <![CDATA[전달사항]]>
- </orgprcpnm>
- <chkcol/>
- <hsctdelivepos>0</hsctdelivepos>
- <hsctlnkno>0</hsctlnkno>
- <etcprcpflag>-</etcprcpflag>
- <aftcertflag/>
- <aftcertdrid/>
- <prcpvalidd/>
- <spynpy1>0</spynpy1>
- <specdrid/>
- <anticncrprtlno/>
- <anticncrdayno/>
- <druglnkno/>
- <rehbprcpcurefreqflag>0</rehbprcpcurefreqflag>
- <dietprcpgenrflag>-</dietprcpgenrflag>
- <irpayflag>N</irpayflag>
- <irflag>N</irflag>
- <procerdietflag>N</procerdietflag>
- <diagtestconttestintvlflag>N</diagtestconttestintvlflag>
- <drugindependpackflag>N</drugindependpackflag>
- <diagtestconttestbasetm>0</diagtestconttestbasetm>
- <diagtestconttestorgtims>0</diagtestconttestorgtims>
- <ermediscmngtresncd>-</ermediscmngtresncd>
- <rehbprcpenddd>-</rehbprcpenddd>
- <matrallsizespecid>-</matrallsizespecid>
- <rehbprcpcurepartcd>-</rehbprcpcurepartcd>
- <lowdrugresncd>N</lowdrugresncd>
- <tfdtlcd>-</tfdtlcd>
- <dnorreqlnkno>0</dnorreqlnkno>
- <subcretno>0</subcretno>
- <exptmthdfact>-</exptmthdfact>
- <lowdrugresnetcfact>-</lowdrugresnetcfact>
- <diagtestconttestcdspec>-</diagtestconttestcdspec>
- <drprcpetc1/>
- <drprcpetc2/>
- <drprcpetc3/>
- <drprcpetc4/>
- <drprcpetc5/>
- <drprcpetc6/>
- <drprcpetc7/>
- <drprcpetc8/>
- <drprcpetc9/>
- <drprcpetc10/>
- <tempcol1/>
- <tempcol2>07|00|00</tempcol2>
- <tempcol3>
- <![CDATA[전달사항]]>
- </tempcol3>
- <tempcol4/>
- <tempcol5/>
- <tempcol6/>
- <tempcol7/>
- <tempcol8/>
- <tempcol9/>
- <tempcol10/>
- <tempcol11/>
- <tempcol12/>
- <tempcol13/>
- <tempcol14/>
- <tempcol15/>
- <tempcol16/>
- <tempcol17/>
- <tempcol18/>
- <tempcol19/>
- <tempcol20/>
- <tempcol21/>
- <tempcol22/>
- <tempcol23/>
- <tempcol24/>
- <tempcol25/>
- </prcplist>
- </directprcp>
- <prcplock>
- <prcplocklist>
- <flag/>
- <msg/>
- </prcplocklist>
- </prcplock>
- <prcplockcond>
- <ioflag/>
- <pid/>
- <orddd/>
- <cretno/>
- <acptseqno/>
- <userid/>
- <usernm/>
- </prcplockcond>
- <usge>prcp</usge>
- <operation/>
- <temp/>
- <initsrch/>
- <initsrchprcp/>
- <initsrchcond>
- <ioflag/>
- <pid/>
- <orddd/>
- <cretno/>
- <instcd/>
- <prcpdd/>
- <deptcd/>
- <userid/>
- <scrnkindcd/>
- <scrnid/>
- <suppkind/>
- <orddeptcd/>
- <prcpkind/>
- </initsrchcond>
- <prcpetcinfo>
- <saveestmspclcs/>
- <saveserdiagappfrm/>
- <savelglydis/>
- </prcpetcinfo>
- <issdept/>
- <antibiotics/>
- <anstprcp>
- </anstprcp>
- <orddept/>
- <inclprcp/>
- <srchinclprcp/>
- <followup/>
- <anst>
- <paramyn/>
- <opansflagcd/>
- <ansttm/>
- <anstfromdt/>
- <ansttodt/>
- </anst>
- <cp>Y</cp>
- -->
- <tuning/>
- </root>
- </instance>
- <bind id="bind1" ref="/root/main/prcp/prcplist/prcpvol" readonly="../prcpclscd != "A2" and ../prcpclscd != "A4" and ../prcpclscd != "A6""/>
- <bind id="bind2" ref="/root/main/prcp/prcplist/prcpnm" readonly="../status != "S" and ../prcpflag !="2" and ../drugmastspec !="Y" )"/>
- <bind id="bind3" ref="/root/main/diaginfo/diagcdlist/icd10cd" readonly="../status != "S""/>
- <bind id="bind4" ref="/root/main/diaginfo/diagcdlist/diagengnm" readonly="../status != "S""/>
- <bind id="bind5" ref="/root/main/prcp/prcplist/prcpkindcd" readonly="../status = "S""/>
- <bind id="bind6" ref="/root/main/prcp/prcplist/prcpqty" readonly="../status = "S""/>
- <bind id="bind7" ref="/root/main/prcp/prcplist/prcptims" readonly="../status = "S""/>
- <bind id="bind8" ref="/root/main/prcp/prcplist/prcpdayno" readonly="../status = "S""/>
- <bind id="bind9" ref="/root/main/prcp/prcplist/prcpmixno" readonly="../status = "S""/>
- <bind id="bind10" ref="/root/main/prcp/prcplist/payflagcd" readonly="../status = "S""/>
- <bind id="bind11" ref="/root/main/prcp/prcplist/prcpexecdeptcd" readonly="../status = "S""/>
- <bind id="bind12" ref="/root/main/prcp/prcplist/prcphopedd" readonly="../status = "S""/>
- <bind id="bind13" ref="/root/main/prcp/prcplist/choiordflag" readonly="../status = "S""/>
- <bind id="bind14" ref="/root/main/prcp/prcplist/prcpcd" readonly="../status != "S" and ../prcpflag !="2" and ../drugmastspec !="Y" )"/>
- <bind id="bind15" ref="/root/main/prcp/prcplist/incpltnresn" readonly="../status != "S""/>
- <bind id="bind16" ref="/root/main/prcp/prcplist/status" readonly="../status != "S""/>
- <bind id="bind17" ref="/root/main/prcp/prcplist/prcpclscd" readonly="../status != "S""/>
- <bind id="bind18" ref="/root/main/prcp/prcplist/oprsrvno" readonly="../status != "S""/>
- <bind id="bind19" ref="/root/main/prcp/prcplist/valyn" readonly="../status != "S""/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMR00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqinitinfo" resultref="/root/main/formbaseset"/>
- <submission id="TRMMP00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/prcp"/>
- <submission id="TRMMP00805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- <submission id="TRMMP00806" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- <submission id="TRMMP00807" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/temp1/rsltgetdata"/>
- <submission id="TRMMP02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/pamdata" resultref="/root/temp1/oplist"/>
- <submission id="TXMMP00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/invalprcplist"/>
- <submission id="TXMMP00804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/invalprcplist"/>
- <submission id="TXMMP00806" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/delprcplist"/>
- <submission id="TXMMP00809" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp1/getdata" resultref="/root/main/steppath"/>
- <submission id="TRMMB04101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- <submission id="TRMMO00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- <submission id="TRMMO00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prcplock"/>
- <submission id="TRMMO00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prcpetcinfo"/>
- <submission id="TRMMO00100" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prcpsrch"/>
- <submission id="TRMMO00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/initsrchcond" resultref="/root/initsrch"/>
- <submission id="TRMMO00115" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prcpsrch"/>
- <submission id="TRMMO00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/orddept"/>
- <submission id="TRMMO00117" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/antibiotics"/>
- <submission id="TRMMO00118" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/allsizegrupprcp"/>
- <submission id="TRMMO00119" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/followup"/>
- <submission id="TRMMO00120" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/initsrchcond" resultref="/root/temp"/>
- <submission id="TRMMO00122" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/savertninfo"/>
- <submission id="TRMMO00205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/initsrchcond" resultref="/root/initsrch"/>
- <submission id="TRMMO00206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/initsrchcond" resultref="/root/initsrchprcp"/>
- <submission id="TRMMO01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmedmthd"/>
- <submission id="TXMMO00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXMMO00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRMMO00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/diaginfo"/>
- <submission id="TXMMO00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXMMO00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/followup"/>
- <submission id="TXMMO00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXMMO00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXMMO00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXMMO00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/batch" resultref="/root/temp"/>
- <submission id="TXMMO00112" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXMMO00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXMMO00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRMMO00207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/addsetprcp"/>
- <submission id="TRMMO01609" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- <submission id="TRMMO02613" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/trgtcdinfo"/>
- <submission id="TRMMO62401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- <submission id="TXMMO00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TXMMB00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata"/>
- <submission id="TRMMO00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prcpgroup"/>
- <submission id="TRMMO00129" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- <submission id="TRMMO00127" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp"/>
- <submission id="TRMMO00123" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tdmtpncnstinfo/tdminfo" resultref="/root/tdmtpncnstinfo"/>
- <submission id="TRMMB01104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/interface"/>
- <submission id="TRMNR08401" mediatype="application/x-www-form-urlencoded" ref="/root/temp" replace="instance" resultref="/root/main/searchinfo" mthod="post"/>
- <submission id="TXMNR08401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" replace="instance" resultref="/root/hidden"/>
- <submission id="TRMMO04404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/erincnclinfo"/>
- <submission id="TXMMO21001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/gene"/>
- <submission id="TXMRF03805" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/atadocrdata" resultref="/root/init/insocrtag"/>
- <submission id="TRMMO18101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" resultref="/root/temp"/>
- <submission id="TRMMO00130" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/opanssrch"/>
- <submission id="TRMMB04103" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO15701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send" resultref="/root/temp/patsupkind"/>
- <submission id="TRMMO14903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/selfhld" resultref="/root/selfholdprcp"/>
- <submission id="TXMMO14903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/selfhld" resultref="/root/selfholdprcp"/>
- <submission id="TRARC02509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/arcmreqp"/>
- <submission id="TRMMO00132" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/ocrbldyn"/>
- <submission id="TRMMR01303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temprec/valid/reqdata" resultref="/root/temprec/valid/rstdata"/>
- <submission id="TRMMB04105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMMO00133" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/erstay/reqdata" resultref="/root/temp/erstay/rstdata"/>
- <submission id="TRMMO00147" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tempchkopfee/reqdata" resultref="/root/tempchkopfee"/>
- <!-- 처방 저장 튜닝 관련 xml 2013.03.05 by 박황백-->
- <submission id="TXMMO00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result1"/>
- <submission id="TXMMO00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result1"/>
- <submission id="TXMMO00503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result1"/>
- <submission id="TXMMO00504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result1"/>
- <!-- 처방 저장 로직변경 xml 2013.06.05 by 엄영만-->
- <submission id="TXMMO00121" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- <submission id="TXMMO00122" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/result"/>
- <submission id="TRMMO00148" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/prcpsave"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- //opener의 instance copy
- copyNodeType("/root", "/root", "after", model, opener.model);
- if(instance1.selectSingleNode("/root/main[2]") != null){
- copyNodeType("/root/main[1]", "/root/main[2]", "after", model, model);
- model.removeNodeset("/root/main[2]");
- }
- model.removenode("/root/properties[2]");
- model.makeValue("/root/properties/auth", opener.model.getValue("/root/properties/auth"));
-
- // fBaseCdInit();
- //instance 초기화
- model.setValue("/root/init/prcpdd", getCurrentDate());
- if( instance1.selectSingleNode("/root/bfinityn") != null ){
- model.setValue("/root/bfinityn", "N");
- }
-
- //미완성 처방의 마우스 우측버튼 메뉴목록(일부)
- model.makeValue("/root/init/cpmsrght/mouserght[1]/label", "일괄입력");
- model.makeValue("/root/init/cpmsrght/mouserght[1]/func", "fPrcpDetlCom");
- model.makeValue("/root/init/cpmsrght/mouserght[2]/label", "");
- model.makeValue("/root/init/cpmsrght/mouserght[2]/func", "");
- model.makeValue("/root/init/cpmsrght/mouserght[3]/label", "삭제");
- model.makeValue("/root/init/cpmsrght/mouserght[3]/func", "fDeleteRow");
- model.makeValue("/root/init/cpmsrght/mouserght[4]/label", "선택제외삭제");
- model.makeValue("/root/init/cpmsrght/mouserght[4]/func", "fDeleteElseRow");
- model.makeValue("/root/init/cpmsrght/mouserght[5]/label", "");
- model.makeValue("/root/init/cpmsrght/mouserght[5]/func", "");
- model.makeValue("/root/init/cpmsrght/mouserght[6]/label", "복사");
- model.makeValue("/root/init/cpmsrght/mouserght[6]/func", "fPrcpCopy");
- model.makeValue("/root/init/cpmsrght/mouserght[7]/label", "잘라내기");
- model.makeValue("/root/init/cpmsrght/mouserght[7]/func", "fPrcpCrop");
- model.makeValue("/root/init/cpmsrght/mouserght[8]/label", "붙여넣기");
- model.makeValue("/root/init/cpmsrght/mouserght[8]/func", "fPrcpPaste");
- model.makeValue("/root/init/cpmsrght/mouserght[9]/label", "");
- model.makeValue("/root/init/cpmsrght/mouserght[9]/func", "");
- model.makeValue("/root/init/cpmsrght/mouserght[10]/label", "용법복사");
- model.makeValue("/root/init/cpmsrght/mouserght[10]/func", "fMthdCopy");
- model.makeValue("/root/init/cpmsrght/mouserght[11]/label", "용법붙여넣기");
- model.makeValue("/root/init/cpmsrght/mouserght[11]/func", "fMthdPaste");
- model.makeValue("/root/init/cpmsrght/mouserght[12]/label", "");
- model.makeValue("/root/init/cpmsrght/mouserght[12]/func", "");
- model.makeValue("/root/init/cpmsrght/mouserght[13]/label", "Pre work-up");
- model.makeValue("/root/init/cpmsrght/mouserght[13]/func", "fPreWorkUp");
- model.makeValue("/root/init/cpmsrght/mouserght[14]/label", "");
- model.makeValue("/root/init/cpmsrght/mouserght[14]/func", "");
- model.makeValue("/root/init/cpmsrght/mouserght[15]/label", "Mix적용");
- model.makeValue("/root/init/cpmsrght/mouserght[15]/func", "fMixNoCnt");
- model.makeValue("/root/init/cpmsrght/mouserght[16]/label", "Mix취소");
- model.makeValue("/root/init/cpmsrght/mouserght[16]/func", "fMixNoDel");
- model.makeValue("/root/init/cpmsrght/mouserght[17]/label", "TPNMix적용");
- model.makeValue("/root/init/cpmsrght/mouserght[17]/func", "fTMixNoCnt");
- model.makeValue("/root/init/cpmsrght/mouserght[18]/label", "지정일");
- model.makeValue("/root/init/cpmsrght/mouserght[18]/func", "fContPrcpDd");
- model.makeValue("/root/init/cpmsrght/mouserght[19]/label", "치식");
- model.makeValue("/root/init/cpmsrght/mouserght[19]/func", "fDentifmla");
- model.makeValue("/root/init/cpmsrght/mouserght[20]/label", "검사의뢰서");
- model.makeValue("/root/init/cpmsrght/mouserght[20]/func", "fReqfrm");
- model.makeValue("/root/init/cpmsrght/mouserght[21]/label", "조영제동의서출력");
- model.makeValue("/root/init/cpmsrght/mouserght[21]/func", "fPrintfrm");
- model.makeValue("/root/init/cpmsrght/mouserght[22]/label", "");
- model.makeValue("/root/init/cpmsrght/mouserght[22]/func", "");
- model.makeValue("/root/init/cpmsrght/mouserght[23]/label", "약품편람");
- model.makeValue("/root/init/cpmsrght/mouserght[23]/func", "fDrugInfo");
- model.makeValue("/root/init/cpmsrght/mouserght[24]/label", "수가조회");
- model.makeValue("/root/init/cpmsrght/mouserght[24]/func", "fOpenCalscorCD");
- model.makeValue("/root/init/cpmsrght/mouserght[25]/label", "투약일수조회");
- model.makeValue("/root/init/cpmsrght/mouserght[25]/func", "fMediDayNo");
- model.makeValue("/root/init/cpmsrght/mouserght[26]/label", "검사실별예약현황");
- model.makeValue("/root/init/cpmsrght/mouserght[26]/func", "fOpenExamRsrvInfo");
- model.makeValue("/root/init/cpmsrght/mouserght[27]/label", "보험정보조회");
- model.makeValue("/root/init/cpmsrght/mouserght[27]/func", "fOpenInsuInfo");
-
- //Global 변수 목록
- //iCpgflagcd = model.getValue("/root/main/masterinfo/info/cpgflagcd");
- cpgflagcd = model.getValue("/root/main/masterinfo/info/cpgflagcd");
- cpgappno = model.getValue("/root/temp1/getdata/cpgappno");
- orddrid = model.getValue ( "/root/paminfo/list/orddrid" );
- iPid = model.getValue("/root/paminfo/list/pid");
- iCretno = model.getValue("/root/paminfo/list/cretno");
- iPrcpgenrflag = model.getValue("/root/patflag/list/prcpgenrflag");
-
- //미래처방 중 미완성처방 팝업으로 조회 시
- if( opener.javascript.getParameter("SMMMP00800_popupYN") == "Y" ){
- window.height = 455;
- window.width = 900;
- grd_prcplist.attribute("left") = "5px";
- grd_prcplist.attribute("width") = "885px";
- group1.attribute("width") = "885px";
- group1.attribute("top") = "377px";
- btn_app.attribute("left") = "768px";
- btn_cancel.attribute("left") = "827px";
- //model.removeNodeset("/root/main/prcp/prcplist");
- //opener.window.javascript.setParameter("SPMMP00200_popupYN", "Y");
- model.makeValue("/root/send/reqdata/cpgappno", cpgappno);
- model.makeValue("/root/send/reqdata/pid", iPid);
- model.makeValue("/root/send/reqdata/cretno", iCretno);
- model.makeValue("/root/send/reqdata/prcpgenrflag", iPrcpgenrflag);
- model.makeValue("/root/send/reqdata/orddrid", orddrid);
-
- //미완성처방 copy
- copyNodeListType("/root/main/prcp", "/root/main/invalprcplist/prcplist", "replace", model, opener.model);
-
- }else{
- if( parseInt(opener.att_tab.attribute("height")) == 79 ){
- grd_prcplist.attribute("height") = "75px";
- }else{
- grd_prcplist.attribute("height") = "375px";
- }
-
- //미완성처방 조회
- fGetInalPrcpList();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- if( opener.javascript.getParameter("SMMMP00800_popupYN") == "Y" ){
- model.refresh();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- //opener.winodw.javascript.clearParameter("SPMMP00200_popupYN");
- opener.javascript.clearParameter("SMMMP00800_popupYN");
- opener.window.javascript.endSaveYN = "N";
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO00100.js"/>
- <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO00110.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript">
- <![CDATA[
- var cpgflagcd = "";
- var cpgappno = "";
- var orddrid = "";
- var iPid = "";
- var iCretno = "";
- var iPrcpgenrflag = "";
-
- function fIInitialize(){
- fBaseCdInit();
- fGetInalPrcpList();
- }
-
- function fGetInalPrcpList(){
- model.removeNodeset("/root/send/reqdata");
- model.makeNode("/root/send/reqdata");
- copyNodeType("/root/send/reqdata", "/root/send/reqdata", "replace", model, opener.model);
- if( instance1.selectSingleNode("/root/temp1/getdata/orddd") != null ){
- model.makeValue("/root/send/reqdata/orddd", model.getValue("/root/temp1/getdata/orddd"));
- }
- submit("TRMMP00201");
-
- opener.model.removeNodeset( "/root/send/reqdata" ); //2008.11.08
- }
-
- //미완성처방 저장
- function fSaveInvalPrcp( iCpgflagcd ){
- var cpUpdtFlag = ""; //2008.10.03 (+)
-
- var today = getCurrentDate();
- //if( getCurrentTime() > "180000" ){
- var tomorrow = new Date().getAddDate(1, "D").getDateFormat();
- // var savePrcpList = instance1.selectNodes("/root/main/prcp/prcplist[prcpdd='" + today + "' or prcpdd='" + tomorrow + "' and status = '-']");
- //}else{
- var savePrcpList = instance1.selectNodes("/root/main/prcp/prcplist[prcpdd='" + today + "'and status = '-']");
- //}
-
- if( savePrcpList.length > 0 ){
- var dschdclrtyn = getPatientInfoDetail("dschdclrtyn"); //퇴원예고 여부
- var valynTxt = "";
-
- // //당일 및 익일(18시 이후) 처방은 무조건 U임
- for(var i=0; i<savePrcpList.length; i++){
-
- var node = savePrcpList.item(i);
- var statusNode = node.selectSingleNode("status");
-
- var prcpclscdNode = node.selectSingleNode("prcpclscd");
- var prcpkindcdNode = node.selectSingleNode("prcpkindcd");
- var oprsrvnoNode = node.selectSingleNode("oprsrvno");
-
- var valynNode = node.selectSingleNode("valyn");
- if( valynNode != null ) valynTxt = valynNode.text;
-
- if( prcpclscdNode.text=="H2" && oprsrvnoNode.text=="0" && valynTxt !="완성" )break;
- if( dschdclrtyn != "Y" && (prcpkindcdNode.text == "60" || prcpkindcdNode.text == "70") )break;
-
- if(statusNode.text != "I"){
- model.setValue(statusNode, "U");
- }
- }
- }
-
- var errTgrPrcpNode = instance1.selectNodes("/root/main/prcp/prcplist[status='I' or status='U' or status='D']");
-
- if( errTgrPrcpNode.length < 1 ){
- messageBox("완성된 미완성 처방이", "I004");
- return false;
-
- }else{
- //6PM 이후, 익일 미완성 중 수정된 처방이 있으면, 바로 수정된 내용이 실처방으로 나가야 함. 2008.10.03 (s)
- if( instance1.selectSingleNode("/root/main/prcp/prcplist[prcpdd='" + today + "'and (status = 'U' or status='I')]") != null ){
- cpUpdtFlag = "C"; //today(current)
- }
- if( instance1.selectSingleNode("/root/main/prcp/prcplist[prcpdd='" + tomorrow + "'and (status = 'U' or status = 'I')]") != null ){
- if(cpUpdtFlag == "") cpUpdtFlag = "T"; //tomorow
- else cpUpdtFlag = "B"; //both
- }
- //(e)
-
- //적용 중단 시, 저장 눌렀을 때, 초기화 후, 미완성영역의 데이터만 저장
- if( opener.window.javascript.clickBtnNm_SMMMO00110 != "" && opener.window.javascript.clickBtnNm_SMMMO00110 != "btn_savecomplprcp" ){
- stopSavePrcpYN_SMMMO00110 = "N";
- }
- model.removeNodeset("/root/main/prcpsrch/prcplist");
- model.copyNode("/root/main/prcpsrch", "/root/main/prcp");
-
- prtlprcpstatus_SMMMO00110 = "U";
- var PrcpList = instance1.selectNodes("/root/main/prcpsrch/prcplist");
- var PrcpLngth = PrcpList.length-1;
- for(var i=PrcpLngth; i>=0; i--){
- var node = PrcpList.item(i);
- var statusNode = node.selectSingleNode("status");
- var prcpinptflagNode = node.selectSingleNode("prcpinptflag");
- var etclnkspecNode = node.selectSingleNode("etclnkspec");
- var valynNode = node.selectSingleNode("valyn");
-
- if( statusNode.text == "-" ){
- model.removenode(node);
- }else{
- //★ 추가처방이 미완성으로 떨어진 경우, 달리 처리해야 함...
- if( statusNode.text == "U" ){
- model.setValue(statusNode, "I");
- model.setValue(prcpinptflagNode, "05");
- model.setValue(etclnkspecNode, "0" + "|" + model.getValue("/root/temp1/getdata/cpgappno"));
- }
- model.removenode(valynNode);
- }
- }
-
- fBatSaveCpPrtlPrcp("U", "6", cpgflagcd); // cond1의 prtlprcpstatus 를 U 로...
-
- if( stopSavePrcpYN_SMMMO00110 == "Y" ){ //실패
- //stopSavePrcpYN_SMMMO00110 = "Y";
- //if( opener.javascript.getParameter("saveInvaPrcplYN") == "Y" )
- prtlFlag_SMMMO00110 = "-";
- opener.window.javascript.clickBtnNm_SMMMO00110 = "btn_savecomplprcp";
- return false;
-
- }else{
-
- model.removeNodeset("/root/main/invalprcplist/prcplist");
- //6 PM 이후 익일처방 실처방으로 나가도록 변경. 2008.10.03 (s)
- if( getCurrentTime() > "180000" && (cpUpdtFlag == "T" || cpUpdtFlag == "B") ){ // if( (cpUpdtFlag == "T" || cpUpdtFlag == "B") ){
- if( submit("TXMMP00809", false) == false ){
- messageBox ( "당일처방 및 미래처방 저장은 성공하였으나,\예외 상황으로 인해 익일처방을 실처방으로 저장", "E009" );
- return true;
- }
- }
- //(e)
- return true;
- }
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body overflow="hidden" pagewidth="1203" idprefix="import">
- <group id="grp_contents" style="left:0px; top:0px; width:1205px; height:652px; margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <!-- style="left:10px; top:25px; width:1173px; height:625px; " -->
- <datagrid id="grd_prcplist" nodeset="/root/main/prcp/prcplist" caption="^종류^처방일자^처방명^오류 메세지^1회용량^1회용량^1회수량^1회수량^횟수^일수^급비^용법/검체^MIX^전달^원내외^처치부서^희망일자^선택진료^등록일시^등록자^처방코드" colsep="^" colwidth="37, 60, 87, 115, 315, 45, 27, 37, 27, 40, 37, 56, 150, 38, 40, 50, 100, 96, 57, 80, 80, 0" ellipsis="true" mergecellsfixedrows="bycolrec" rowsep="|" style="left:0px; top:1px; width:1200px; height:375px; ">
- <col disabled="true" ref="status" type="combo" style="text-align:center; ">
- <choices>
- <item>
- <label>검색</label>
- <value>S</value>
- </item>
- <item>
- <label>신규</label>
- <value>I</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- <item>
- <label>D/C</label>
- <value>C</value>
- </item>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>수정</label>
- <value>U</value>
- </item>
- </choices>
- </col>
- <col class="gridcombo" ref="prcpkindcd" type="combo" style="text-align:center; focus-rect:visible; ">
- <choices>
- <itemset nodeset="/root/init/prcpkindcd/M0003">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpdd" type="inputdate" format="yyyy-mm-dd" style="left:20px; top:23px; width:4zz31px; height:23px; "/>
- <col ref="prcpnm"/>
- <col ref="incpltnresn"/>
- <col ref="drprcpetc7" type="input" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
- <col ref="prcpvolunitnm" type="output" style="text-align:center; focus-rect:visible; "/>
- <col ref="drprcpetc8" type="input" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
- <col ref="prcpqtyunitnm" style="text-align:center; focus-rect:visible; "/>
- <col ref="prcptims" type="input" format="#" style="text-align:center; focus-rect:visible; "/>
- <col ref="prcpdayno" type="input" format="#" style="text-align:center; focus-rect:visible; "/>
- <col ref="payflagcd" type="combo">
- <choices>
- <itemset nodeset="/root/init/payflagcd/M0029">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="drugmthdspccdnm" type="output" style="focus-rect:visible; "/>
- <col ref="prcpmixno" type="input" style="focus-rect:visible; "/>
- <col ref="prcpdelivefact" style="focus-rect:visible; "/>
- <col disabled="true" ref="hosinhosoutflag" type="combo" style="text-align:center; focus-rect:visible; ">
- <choices>
- <item>
- <label>원내</label>
- <value>I</value>
- </item>
- <item>
- <label>원외</label>
- <value>O</value>
- </item>
- <item>
- <label/>
- <value/>
- </item>
- </choices>
- </col>
- <col class="gridcombo" ref="prcpexecdeptcd" type="combo" style="focus-rect:visible; ">
- <choices>
- <itemset nodeset="/root/init/orddept/dept">
- <![CDATA[s]]>
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcphopedd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; focus-rect:visible; "/>
- <col checkvalue="Y,N" ref="choiordflag" type="checkbox" style="focus-rect:visible; "/>
- <col ref="rgsttm" visibility="hidden" format="yyyy-mm-dd"/>
- <col ref="rgstridnm" visibility="hidden"/>
- <col ref="prcpcd"/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- // editcell 상황에서 tab 키 누르면 화면 죽는 현상(TF문제 no, 컬럼 비교 분기에서 func 콜 하면서 로직 꼬임 detail 추후 파악 우선은 return) - 20080827 emr msh
- if (event.keyCode == "9") {
- return ;
- }
-
- model.setValue("/root/cp", "S");
-
- var currow = grd_prcplist.row;
- if ( grd_prcplist.col == grd_prcplist.colref("prcpdayno")) {
- fGridfBatIpt( "prcpdayno" );
- // 일수에서 엔터를 치면 nextrow가 검색row일때 prcpcd 컬럼 활성 - 20080825 emr msh
- if(event.keyCode == "13") {
- var nextrow = currow +1 ;
- var status = model.getValue("root/main/prcp/prcplist[" + nextrow + "]/status") ;
- if (status == "S"){
- grd_prcplist.row = nextrow;
- grd_prcplist.col = grd_prcplist.colref("prcpcd");
- grd_prcplist.editCell();
- }
- }
- } else if ( grd_prcplist.col == grd_prcplist.colref("prcptims")) {
- fGridfBatIpt( "prcptims" );
- if ( grd_prcplist.selectedrow(0) == -1 && event.keyCode != "13" ) {
- fBaseMthd(currow);
- }
- if(event.keyCode == "13") {
- grd_prcplist.col = grd_prcplist.colref("prcpdayno");
- grd_prcplist.row = currow;
- //model.setfocus( "grd_prcplist" );
- grd_prcplist.editCell();
- }
- } else if ( grd_prcplist.col == grd_prcplist.colref("prcpqty")) {
- DrugCalc ( "prcpqty" , grd_prcplist.row);
- fGridfBatIpt( "prcpqty" );
- if(event.keyCode == "13") {
- grd_prcplist.col = grd_prcplist.colref("prcptims");
- grd_prcplist.row = currow;
- //model.setfocus( "grd_prcplist" );
- grd_prcplist.editCell();
- }
- } else if ( grd_prcplist.col == grd_prcplist.colref("prcpvol") ) {
- DrugCalc ("prcpvol" , grd_prcplist.row);
- if(event.keyCode == "13") {
- grd_prcplist.row = currow;
- grd_prcplist.col = grd_prcplist.colref("prcpqty");
- //model.setfocus( "grd_prcplist" );
- grd_prcplist.editCell();
- }
- } else if ( grd_prcplist.col == grd_prcplist.colref("drprcpetc7") ) {
- DrugCalc ("drprcpetc7" , grd_prcplist.row);
- if(event.keyCode == "13") {
- grd_prcplist.row = currow;
- grd_prcplist.col = grd_prcplist.colref("drprcpetc8");
- //model.setfocus( "grd_prcplist" );
- grd_prcplist.editCell();
- }
- } else if ( grd_prcplist.col == grd_prcplist.colref("drprcpetc8")) {
- DrugCalc ( "drprcpetc8" , grd_prcplist.row);
- fGridfBatIpt( "drprcpetc8" );
- if(event.keyCode == "13") {
- grd_prcplist.col = grd_prcplist.colref("prcptims");
- grd_prcplist.row = currow;
- //model.setfocus( "grd_prcplist" );
- grd_prcplist.editCell();
- }
- }
-
- model.setValue("/root/cp", "Y");
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if( opener.model.getValue("/root/temp1/authyn") == "N" ){
- return;
- }
-
- var currow = grd_prcplist.row;
- invalYN_SMMMO00110 = "Y";
-
- if( grd_prcplist.isCell(event.target) && grd_prcplist.mouseCol >= 2 && currow>0 && currow<=grd_prcplist.rows ){
- //model.copyNode("/root/main/srcprcp/prcplist", "/root/main/prcp/prcplist[" + currow + "]");
- copyNodesetType("/root/main/srcprcp", "/root/main/prcp", "replace", model, model);
-
- var prcpclscd = model.getValue( "/root/main/prcp/prcplist[" + currow + "]/prcpclscd");
- var status = model.getValue( "/root/main/prcp/prcplist[" + currow + "]/status");
- var prcpkindcd = model.getValue( "/root/main/prcp/prcplist[" + currow + "]/prcpkindcd");
-
- //처방 종류에 따라 다른 팝업을 띄운다
- //if( grd_prcplist.isCell(event.target) && grd_prcplist.row >= grd_prcplist.fixedRows ){
-
- //팝업 위치 설정
- var vxpt = 395;
- var xpt = window.screenleft + vxpt;
- var ypt = 0;
- if (event.screenY < 750 ) ypt = event.screenY + 10;
- else ypt = event.screenY - 240;
- var coord = getRelativeCoordinate ( xpt, ypt );
- var mon = coord[0];
- xpt = coord[1];
- ypt = coord[2];
-
- //수술처방 & errtretflag=8 & 오류메세지 컬럼 선택 시,
- var iErrFlag = model.getValue("/root/main/prcp/prcplist[" + currow + "]/errtretflag");
- var iValYN = model.getValue("/root/main/prcp/prcplist[" + currow + "]/valyn");
- var iResnMsg = model.getValue("/root/main/prcp/prcplist[" + currow + "]/incpltnresn");
- var openDetlPop = "Y";
-
- if( iErrFlag == "8" && iValYN != "완성" ) {
- //수술예약팝업 (수술예약번호 매핑)
- modal("SPMMP02800", mon, xpt, ypt, "SPMMP02800", "/root/paminfo/list", "/root/send/pamdata" );
- //수술상세팝업 곧바로 호출
- //modal("SPMMO01600", mon, xpt, ypt, "prcpdetl", prcpNode + "[" + currow + "]", prcpNode, "", false);
-
- if( model.getValue("/root/main/prcp/prcplist[" + currow + "]/status") != "U" ){
- openDetlPop = "N";
- }
-
- }else if( iErrFlag == "9" && iValYN != "완성" && (prcpkindcd == "70" || prcpkindcd == "90" || prcpkindcd == "95") ){
- //외래예약 팝업
- if( fFollowUp() ){
- for ( var i=1; i < grd_prcplist.rows; i++ ) {
- //퇴원후 외래처방 예약일 잡고 확인누르면 퇴원후 외래처방 PRCPHOPEDD를 모두 예약일로 수정한다.
- //입원전검사(당일/전일)도 퇴원후 외래와 같은 처리 by sonjy 2008-07-25
- if ( model.getValue ( "/root/main/prcp/prcplist[" + i + "]/prcpkindcd" ) == "70" ||
- model.getValue ( "/root/main/prcp/prcplist[" + i + "]/prcpkindcd" ) == "90" ||
- model.getValue ( "/root/main/prcp/prcplist[" + i + "]/prcpkindcd" ) == "95" ) {
- if(model.getValue("/root/main/prcp/prcplist[" + i + "]/status") != "I"){
- model.setValue ( "/root/main/prcp/prcplist[" + i + "]/status", "U" );
- }
- model.setValue ( "/root/main/prcp/prcplist[" + i + "]/valyn", "완성" );
- model.setValue ( "/root/main/prcp/prcplist[" + i + "]/incpltnresn", "외래 예약이 되었습니다." );
- }
- //openDetlPop = "N";
- }
- }
-
- }else if( prcpclscd == "D2" ){ //iResnMsg == "병리검사 의뢰지를 작성해야만 합니다."
- fReqfrm ( currow, "copy" );
- }
-
- if( openDetlPop == "Y" ) {
- //처방 종류별 상세팝업
- if ( grd_prcplist.col == grd_prcplist.colref("drugmthdspccdnm") && status != "S" ) {
- if ( prcpclscd == "A2" || prcpclscd == "A4" || prcpclscd == "A6") {
- fPrcpModal ("SPMMO01900", 500, 200);
-
- } else if ( prcpclscd == "B2" || prcpclscd == "B4" || prcpclscd == "B6" ) {
- fGetSpc (grd_prcplist.row, "", "", "Y");
- }
- } else if ( grd_prcplist.col == "15" && status != "S" ) {
- fPrcpdelivefact( "M" );
- } else if ( status != "S" ) {
- fPrcpDetl();
- }
- }
- //}
-
- for( var i=1; i<grd_prcplist.rows; i++ ){
- var srcNode = instance1.selectSingleNode("/root/main/srcprcp/prcplist[" + i + "]").xml;
- var desNode = instance1.selectSingleNode("/root/main/prcp/prcplist[" + i + "]").xml;
- if( srcNode != desNode ){
- if(model.getValue("/root/main/prcp/prcplist[" + i + "]/status") != "I"){
- grd_prcplist.rowStatus(i) = 2;
- model.setValue( "/root/main/prcp/prcplist[" + i + "]/status", "U");
- }
- }
- }
-
- model.resetInstanceNode("/root/main/srcprcp/prcplist");
-
- }else{
- invalYN_SMMMO00110 = "N";
- return;
- }
-
- invalYN_SMMMO00110 = "N";
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- /*
- if(event.button == 3){
- //fMouseRghtBtnPopup();
- app.showPopupMenu(true);
- var prcpgenrflag = opener.model.getValue ( "/root/patflag/list/prcpgenrflag" );
- if ( prcpgenrflag == "O" ) {
- setPopupMenu("grd_prcplist", false, "/root/init/omsrght/mouserght", "label", "func", false);
- } else if ( prcpgenrflag == "E" ) {
- setPopupMenu("grd_prcplist", false, "/root/init/emsrght/mouserght", "label", "func", false);
- } else {
- setPopupMenu("grd_prcplist", false, "/root/init/imsrght/mouserght", "label", "func", false);
- }
- }else{
- window.setPopupMenu(false);
- }
- */
-
- if(event.button == 3){
- if(grd_prcplist.isCell(event.target) && grd_prcplist.mouseRow >= grd_prcplist.fixedRows){
- app.showPopupMenu(true);
- //window.setPopupMenu(true, "/root/init/imsrght/mouserght", "label", "func", false);
- setPopupMenu("grd_prcplist", false, "/root/init/cpmsrght/mouserght", "label", "func");
- }else{
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- model.setValue("/root/cp", "S");
- fPrcpUpdate();
- model.setValue("/root/cp", "Y");
- */
-
- //처방일을... 기존 처방일보다 과거로 수정 시 return, CP예정종료일 이후로 수정 시 return (2008.11.27)
- if ( grd_prcplist.col == grd_prcplist.colref("prcpdd")) {
- var currow = grd_prcplist.row;
- var orgPrcpDD = model.getValue("/root/main/prcp/prcplist[" + currow + "]/prcphopedd");
- var chgPrcpDD = model.getValue("/root/main/prcp/prcplist[" + currow + "]/prcpdd");
-
- if( chgPrcpDD < orgPrcpDD ){
- messageBox("처방일을 과거로 수정할 수", "I004");
- model.setValue("/root/main/prcp/prcplist[" + currow + "]/prcpdd", orgPrcpDD);
- return;
- }else{
- if( cpgflagcd == "01" ){
- var length = instance1.selectNodes("/root/main/steppath/info").length;
- var lastPrcpDD = model.getValue("/root/main/steppath/info[" + length + "]/prcpdd");
- if(chgPrcpDD > lastPrcpDD){
- messageBox("처방일을 CP 예정 종료일 이후로 수정할 수", "I004");
- model.setValue("/root/main/prcp/prcplist[" + currow + "]/prcpdd", orgPrcpDD);
- return;
- }
- }
- }
- }
- //(e)
-
- model.setValue("/root/cp", "S");
-
- if(grd_prcplist.col == grd_prcplist.colRef("prcpdayno")){
- fDayValChnged() ;
- }
-
- fPrcpUpdate();
-
- if ( grd_prcplist.col == grd_prcplist.colref("payflagcd")) {
- fGridfBatIpt( "payflagcd" );
- } else if ( grd_prcplist.col == grd_prcplist.colref("prcpkindcd")) {
- fGridfBatIpt( "prcpkindcd" );
-
- //SON0919 G3아닌 응급일경우 원내사유 PRCPKINDCD에 의해 움직이므로 처리. start
- if(model.getValue ( "/root/patflag/list/prcpgenrflag" ) == "E" && model.getValue ( "/root/init/erresn" ) != "G3" ){
- fChngHosinPrcpResn();
- }
- //SON0919 end
- }
-
- model.setValue("/root/cp", "Y");
- ]]>
- </script>
- <script type="javascript" ev:event="onstartedit">
- <![CDATA[
- if ( grd_prcplist.col == grd_prcplist.colref("prcpvol")) {
- bfDrugCalc ( "prcpvol", grd_prcplist.row );
- } else if ( grd_prcplist.col == grd_prcplist.colref("prcpqty")) {
- bfDrugCalc ( "prcpqty", grd_prcplist.row );
- } else if ( grd_prcplist.col == grd_prcplist.colref("drprcpetc7")) {
- bfDrugCalc ( "drprcpetc7", grd_prcplist.row );
- } else if ( grd_prcplist.col == grd_prcplist.colref("drprcpetc8")) {
- bfDrugCalc ( "drprcpetc8", grd_prcplist.row );
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmouseup">
- <![CDATA[
- if ( grd_prcplist.selectedRows > 1 && grd_prcplist.col != grd_prcplist.colRef ( "prcpkindcd" ) && grd_prcplist.col != grd_prcplist.colref("payflagcd")) {
- //model.setfocus( "grd_prcplist" );
- grd_prcplist.editCell();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onentercell">
- <![CDATA[
- model.setValue ( "/root/init/bfpayflagcd", model.getValue ( "/root/main/prcp/prcplist[" + grd_prcplist.row + "]/payflagcd" ));
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if ( event.keycode == 46 ) {
- model.setfocus( "grd_prcplist" );
- } else if ( event.keycode == 45 ) {
- model.setfocus( "grd_prcplist" );
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if ( event.keycode == 46 ) {
- var currow = grd_prcplist.row;
- fDeleteRow();
- model.setfocus( "grd_prcplist" );
- grd_prcplist.row = currow;
- }
- ]]>
- </script>
- </datagrid>
- <input id="cmb_prcpdd" ref="/root/init/prcpdd" class="input_s_essential" visibility="hidden" inputtype="date" style="left:955px; top:55px; width:100px; height:19px; text-align:center; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //fPrcpDdCheck();
- ]]>
- </script>
- </input>
- <import id="imp_prcp" visibility="hidden" style="left:275px; top:70px; width:65px; height:50px; "/>
- <iviewer id="ivw_detail" visibility="hidden" style="left:350px; top:70px; width:65px; height:50px; "/>
- <datagrid id="grd_diaglist" nodeset="/root/main/diaginfo/diagcdlist" visibility="hidden" caption="^R/O^주^진단코드^진단명^참고^특례" colsep="^" colwidth="35, 35, 25, 65, 324, 0, 35" dataheight="23" ellipsis="true" extendlastcol="scroll" frozenrows="1" mergecellsfixedrows="bycolrec" rowsep="I" tooltip="true" style="left:430px; top:70px; width:70px; height:50px; text-align:center; ">
- <col disabled="true" ref="status" type="combo" style="text-align:center; focus-rect:visible; ">
- <choices>
- <item>
- <label/>
- <value>S</value>
- </item>
- <item>
- <label>신규</label>
- <value>I</value>
- </item>
- <item>
- <label>삭제</label>
- <value>D</value>
- </item>
- <item>
- <label>-</label>
- <value>-</value>
- </item>
- <item>
- <label>수정</label>
- <value>U</value>
- </item>
- </choices>
- </col>
- <col checkvalue="R,C" ref="diagkindcd" type="checkbox" style="focus-rect:visible; "/>
- <col checkvalue="M,S" ref="diagkindcdflag" type="checkbox" style="text-align:center; focus-rect:visible; "/>
- <col imemode="alpha" ref="icd10cd" type="input" style="text-align:center; focus-rect:visible; "/>
- <col ref="diagengnm" type="input" style="text-align:left; focus-rect:visible; "/>
- <col ref="diagremfact"/>
- <col ref="spclinfo" style="text-align:center; focus-rect:visible; "/>
- <script type="javascript" ev:event="onendedit">
- <![CDATA[
- if ( grd_diaglist.col == diagnmCol) {
- fDiagSrch("diagnm");
- } else if ( grd_diaglist.col == icd10cdCol) {
- fDiagSrch("icd10cd");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- fDaigMouseRghtBtnPopup();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( grd_diaglist.valueMatrix ( grd_diaglist.row,2 ) == "M" && grd_diaglist.col == "2" ) {
- for ( var i = 1; i < grd_diaglist.rows; i++ ) {
- if ( grd_diaglist.valueMatrix ( i, 2 ) == "M" && i != grd_diaglist.row ) {
- grd_diaglist.valueMatrix ( i, 2 ) = "S";
- if ( model.getValue ( diagNode + "[" + i + "]/status" ) == "-" ) {
- model.setValue ( diagNode + "[" + i + "]/status", "U" );
- }
- }
- }
- }
- fDiagUpdate();
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fDiagDetlVw();
- ]]>
- </script>
- </datagrid>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:654px; width:1200px; height:27px; ">
- <button id="btn_cancel" class="btn4_letter2" style="left:1142px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //opener.javascript.clearParameter("SPMMP00200_popupYN");
- window.close();
- ]]>
- </script>
- </button>
- <button id="btn_app" class="btn3_letter2" style="left:1083px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //btn_allInfoSave.selected = false;
- if( fSaveInvalPrcp( cpgflagcd ) == true ){
- //return;
- if( stopSavePrcpYN_SMMMO00110 != "Y" || SubmitTF_SMMMO00110 == true ){
- //저장성공, 정상종료 => 처방 노드셋 및 그리드 초기화
- //opener.winodw.javascript.clearParameter("SPMMP00200_popupYN");
- clickBtnNm_SMMMO00110 = "";
-
- opener.window.javascript.fAfterInvalPrcpSave();
- if( opener.javascript.getParameter("SMMMP00800_popupYN") == "Y" ){
- //미완성처방 copy
- copyNodeListType("/root/main/prcp", "/root/main/invalprcplist/prcplist", "replace", model, model);
- opener.window.javascript.tab_refresh();
- //model.refresh();
- }
- window.close();
- }
- }
- model.removeNodeset("/root/temp1/tmpprcplist/prcplist");
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption1" class="tit_2" visibility="hidden" style="left:5px; top:5px; width:87px; height:14px; vertical-align:middle; ">미완성 처방</caption>
- </xhtml:body>
- </xhtml:html>
|