12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784 |
- <?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>ADR 의뢰</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <patinfo>
- <pid/>
- <hngnm/>
- <prcpflag/>
- <reqdeptnm/>
- <requsernm/>
- <roomcd/>
- <sna/>
- <recvdeptnm/>
- <recvusernm/>
- </patinfo>
- <cnstinfo>
- <cnstkind>2</cnstkind>
- <cnstseqno/>
- <cretno/>
- <formrecseq/>
- <formcd>0000000693</formcd>
- <cnststat/>
- <reqdd/>
- <reqhm/>
- <chosflag/>
- <orddd/>
- <eryn>N</eryn>
- <reqdeptcd/>
- <requserid/>
- <cnstcnts1/>
- <cnstcnts2/>
- <cnstcnts3/>
- <cnstcnts4/>
- <cnstcnts5/>
- <cnstcnts6/>
- <cnstcnts7/>
- <cnstcnts8/>
- <cnstcnts9/>
- <cnstcnts10/>
- <cnstcnts11/>
- <cnstcnts12/>
- <cnstcnts13/>
- <cnstcnts14/>
- <cnstcnts15/>
- <cnstcnts16/>
- <cnstcnts17/>
- <cnstcnts18/>
- <cnstcnts19/>
- <cnstcnts20/>
- <cnstcnts21/>
- <cnstcnts22/>
- <cnstcnts23/>
- <cnstcnts24/>
- <cnstcnts25/>
- <cnstcnts26/>
- <cnstcnts27/>
- <cnstcnts28/>
- <cnstcnts29/>
- <cnstcnts30/>
- <cnstflag>3</cnstflag>
- <recvdeptcd>3240000000</recvdeptcd>
- <reqdrugnm/>
- <pastreqdrugnm/>
- </cnstinfo>
- </main>
- <send>
- <srchdata>
- <srchcode>
- <srchformcd/>
- <srchcdgrupid/>
- </srchcode>
- </srchdata>
- <srchinfo/>
- <srchreqidinfo>
- <pid/>
- </srchreqidinfo>
- <srchpaminfo>
- <pid/>
- </srchpaminfo>
- <reqdata>
- <drugcd/>
- </reqdata>
- </send>
- <init>
- <codelist>
- <lrggrupcd>
- <cdnm/>
- <cdid/>
- </lrggrupcd>
- <smlcd1>
- <cdnm/>
- <cdid/>
- </smlcd1>
- <smlcd2>
- <cdnm/>
- <cdid/>
- </smlcd2>
- <smlcd3>
- <cdnm/>
- <cdid/>
- </smlcd3>
- <smlcd4>
- <cdnm/>
- <cdid/>
- </smlcd4>
- <smlcd5>
- <cdnm/>
- <cdid/>
- </smlcd5>
- <smlcd6>
- <cdnm/>
- <cdid/>
- </smlcd6>
- <smlcd7>
- <cdnm/>
- <cdid/>
- </smlcd7>
- <smlcd8>
- <cdnm/>
- <cdid/>
- </smlcd8>
- <smlcd9>
- <cdnm/>
- <cdid/>
- </smlcd9>
- <smlcd10>
- <cdnm/>
- <cdid/>
- </smlcd10>
- <smlcd11>
- <cdnm/>
- <cdid/>
- </smlcd11>
- <smlcd12>
- <cdnm/>
- <cdid/>
- </smlcd12>
- <smlcd13>
- <cdnm/>
- <cdid/>
- </smlcd13>
- <smlcd14>
- <cdnm/>
- <cdid/>
- </smlcd14>
- </codelist>
- <baseinfo>
- <initprcpclscd/>
- <initcnst/>
- </baseinfo>
- </init>
- <hidden>
- <codelist>
- <lrggrupcd>
- <cdnm/>
- <cdid/>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>
- <![CDATA[Cardiovascular Cardiovascular]]>
- </cdnm>
- <cdid>1</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Dermatological</cdnm>
- <cdid>2</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Endocrine/metabolic</cdnm>
- <cdid>3</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>ENT/oral</cdnm>
- <cdid>4</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Reproductive</cdnm>
- <cdid>5</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Electrolyte homeostasis</cdnm>
- <cdid>6</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Gastrointestinal</cdnm>
- <cdid>7</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Generalized</cdnm>
- <cdid>8</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Hematological</cdnm>
- <cdid>9</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Hepatic</cdnm>
- <cdid>10</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Musculoskeletal</cdnm>
- <cdid>11</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Neurological</cdnm>
- <cdid>12</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Renal</cdnm>
- <cdid>13</cdid>
- </lrggrupcd>
- <lrggrupcd>
- <cdnm>Respiratory</cdnm>
- <cdid>14</cdid>
- </lrggrupcd>
- <smlcd1>
- <cdnm>arrhythmia (부정맥)</cdnm>
- <cdid>01</cdid>
- </smlcd1>
- <smlcd1>
- <cdnm>angina (협심증)</cdnm>
- <cdid>02</cdid>
- </smlcd1>
- <smlcd1>
- <cdnm>hypertension (고혈압)</cdnm>
- <cdid>03</cdid>
- </smlcd1>
- <smlcd1>
- <cdnm>hypotesion (저혈압)</cdnm>
- <cdid>04</cdid>
- </smlcd1>
- <smlcd1>
- <cdnm>bradycardia (서맥)</cdnm>
- <cdid>05</cdid>
- </smlcd1>
- <smlcd1>
- <cdnm>techycardia (빈맥)</cdnm>
- <cdid>06</cdid>
- </smlcd1>
- <smlcd1>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd1>
- <smlcd2>
- <cdnm>rash (발진)</cdnm>
- <cdid>01</cdid>
- </smlcd2>
- <smlcd2>
- <cdnm>itching (가려움증)</cdnm>
- <cdid>02</cdid>
- </smlcd2>
- <smlcd2>
- <cdnm>erythema (홍반)</cdnm>
- <cdid>03</cdid>
- </smlcd2>
- <smlcd2>
- <cdnm>hives (두드러기)</cdnm>
- <cdid>04</cdid>
- </smlcd2>
- <smlcd2>
- <cdnm>phlebitis (정맥염)</cdnm>
- <cdid>05</cdid>
- </smlcd2>
- <smlcd2>
- <cdnm>bruising (멍,타박상)</cdnm>
- <cdid>06</cdid>
- </smlcd2>
- <smlcd2>
- <cdnm>petechia (점출혈)</cdnm>
- <cdid>07</cdid>
- </smlcd2>
- <smlcd2>
- <cdnm>ecchymosis (반상출혈)</cdnm>
- <cdid>08</cdid>
- </smlcd2>
- <smlcd2>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd2>
- <smlcd3>
- <cdnm>hyperglycemia (고혈당증)</cdnm>
- <cdid>01</cdid>
- </smlcd3>
- <smlcd3>
- <cdnm>hypoglycemia (저혈당증)</cdnm>
- <cdid>02</cdid>
- </smlcd3>
- <smlcd3>
- <cdnm>sexual dysfunction (성기능장애)</cdnm>
- <cdid>03</cdid>
- </smlcd3>
- <smlcd3>
- <cdnm>hypothyroidism (갑상선저하증)</cdnm>
- <cdid>04</cdid>
- </smlcd3>
- <smlcd3>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd3>
- <smlcd4>
- <cdnm>altered taste(미각변화)</cdnm>
- <cdid>01</cdid>
- </smlcd4>
- <smlcd4>
- <cdnm>stomatitis (구내염)</cdnm>
- <cdid>02</cdid>
- </smlcd4>
- <smlcd4>
- <cdnm>thrush (아구창)</cdnm>
- <cdid>03</cdid>
- </smlcd4>
- <smlcd4>
- <cdnm>tinnitus (이명)</cdnm>
- <cdid>04</cdid>
- </smlcd4>
- <smlcd4>
- <cdnm>hearing loss (난청)</cdnm>
- <cdid>05</cdid>
- </smlcd4>
- <smlcd4>
- <cdnm>rhinorrhea (콧물)</cdnm>
- <cdid>06</cdid>
- </smlcd4>
- <smlcd4>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd4>
- <smlcd5>
- <cdnm>fetomaternal hemorrhage (태아산모출혈)</cdnm>
- <cdid>01</cdid>
- </smlcd5>
- <smlcd5>
- <cdnm>fetal respiratory (태아호흡억제제)</cdnm>
- <cdid>02</cdid>
- </smlcd5>
- <smlcd5>
- <cdnm>teratogenesis (기형발생)</cdnm>
- <cdid>03</cdid>
- </smlcd5>
- <smlcd5>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd5>
- <smlcd6>
- <cdnm>hyperkalemia (고칼륨혈증)</cdnm>
- <cdid>01</cdid>
- </smlcd6>
- <smlcd6>
- <cdnm>hypokalemia (저칼륨혈증)</cdnm>
- <cdid>02</cdid>
- </smlcd6>
- <smlcd6>
- <cdnm>hypernatremia (고나트륨혈증)</cdnm>
- <cdid>03</cdid>
- </smlcd6>
- <smlcd6>
- <cdnm>hypocalcemia (저칼슘혈증)</cdnm>
- <cdid>04</cdid>
- </smlcd6>
- <smlcd6>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd6>
- <smlcd7>
- <cdnm>diarrhea (설사)</cdnm>
- <cdid>01</cdid>
- </smlcd7>
- <smlcd7>
- <cdnm>constipation (변비)</cdnm>
- <cdid>02</cdid>
- </smlcd7>
- <smlcd7>
- <cdnm>nausea (구역)</cdnm>
- <cdid>03</cdid>
- </smlcd7>
- <smlcd7>
- <cdnm>vomiting (구토)</cdnm>
- <cdid>04</cdid>
- </smlcd7>
- <smlcd7>
- <cdnm>gastrointestinal (위창자출혈)</cdnm>
- <cdid>05</cdid>
- </smlcd7>
- <smlcd7>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd7>
- <smlcd8>
- <cdnm>diarrhea (설사)</cdnm>
- <cdid>01</cdid>
- </smlcd8>
- <smlcd8>
- <cdnm>anaphylaxis (아나필락시스)</cdnm>
- <cdid>02</cdid>
- </smlcd8>
- <smlcd8>
- <cdnm>fever (발열)</cdnm>
- <cdid>03</cdid>
- </smlcd8>
- <smlcd8>
- <cdnm>skin reaction (피부반응)</cdnm>
- <cdid>04</cdid>
- </smlcd8>
- <smlcd8>
- <cdnm>angioedema (혈관부종)</cdnm>
- <cdid>05</cdid>
- </smlcd8>
- <smlcd8>
- <cdnm>flush (홍조)</cdnm>
- <cdid>06</cdid>
- </smlcd8>
- <smlcd8>
- <cdnm>shock (쇼크)</cdnm>
- <cdid>07</cdid>
- </smlcd8>
- <smlcd8>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd8>
- <smlcd9>
- <cdnm>bleeding 출혈 (increased eosinophils)</cdnm>
- <cdid>01</cdid>
- </smlcd9>
- <smlcd9>
- <cdnm>increased PT,PTT</cdnm>
- <cdid>02</cdid>
- </smlcd9>
- <smlcd9>
- <cdnm>decreased WBC</cdnm>
- <cdid>03</cdid>
- </smlcd9>
- <smlcd9>
- <cdnm>decreased RBC</cdnm>
- <cdid>04</cdid>
- </smlcd9>
- <smlcd9>
- <cdnm>decreased HCT</cdnm>
- <cdid>05</cdid>
- </smlcd9>
- <smlcd9>
- <cdnm>decreased platelets</cdnm>
- <cdid>06</cdid>
- </smlcd9>
- <smlcd9>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd9>
- <smlcd10>
- <cdnm>hepatitis (간염)</cdnm>
- <cdid>01</cdid>
- </smlcd10>
- <smlcd10>
- <cdnm>jaundice (황달)</cdnm>
- <cdid>02</cdid>
- </smlcd10>
- <smlcd10>
- <cdnm>increased AST</cdnm>
- <cdid>03</cdid>
- </smlcd10>
- <smlcd10>
- <cdnm>increased ALT</cdnm>
- <cdid>04</cdid>
- </smlcd10>
- <smlcd10>
- <cdnm>increased LDH</cdnm>
- <cdid>05</cdid>
- </smlcd10>
- <smlcd10>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd10>
- <smlcd11>
- <cdnm>arthritis (관절염)</cdnm>
- <cdid>01</cdid>
- </smlcd11>
- <smlcd11>
- <cdnm>joint pain (관절통)</cdnm>
- <cdid>02</cdid>
- </smlcd11>
- <smlcd11>
- <cdnm>myalgia (근육통)</cdnm>
- <cdid>03</cdid>
- </smlcd11>
- <smlcd11>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd11>
- <smlcd12>
- <cdnm>headache (두통)</cdnm>
- <cdid>01</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>tremor (떨림)</cdnm>
- <cdid>02</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>seizure (발작)</cdnm>
- <cdid>03</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>drowsiness/somnolence (졸음)</cdnm>
- <cdid>04</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>vertigo (현기증)</cdnm>
- <cdid>05</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>altered vision (시력변경)</cdnm>
- <cdid>06</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>movement disorder(e.g.,dyskinesia, akathesia, tardive dyskinesia) (운동이상)</cdnm>
- <cdid>07</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>depression (우울증)</cdnm>
- <cdid>08</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>confusion (혼돈)</cdnm>
- <cdid>09</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>agitation (초조)</cdnm>
- <cdid>10</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>psychosis (정신병)</cdnm>
- <cdid>11</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>hallucination (환각)</cdnm>
- <cdid>12</cdid>
- </smlcd12>
- <smlcd12>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd12>
- <smlcd13>
- <cdnm>bladder spasm (방광연축)</cdnm>
- <cdid>01</cdid>
- </smlcd13>
- <smlcd13>
- <cdnm>oliguria (소변감소증)</cdnm>
- <cdid>02</cdid>
- </smlcd13>
- <smlcd13>
- <cdnm>renal failure (신부전)</cdnm>
- <cdid>03</cdid>
- </smlcd13>
- <smlcd13>
- <cdnm>increased BUN or Creatinine</cdnm>
- <cdid>04</cdid>
- </smlcd13>
- <smlcd13>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd13>
- <smlcd14>
- <cdnm>wheezing (쌕쌕거림)</cdnm>
- <cdid>01</cdid>
- </smlcd14>
- <smlcd14>
- <cdnm>dyspnea (호흡곤란)</cdnm>
- <cdid>02</cdid>
- </smlcd14>
- <smlcd14>
- <cdnm>dyspnea(transitional) (일시적 호흡곤란)</cdnm>
- <cdid>03</cdid>
- </smlcd14>
- <smlcd14>
- <cdnm>cough (기침)</cdnm>
- <cdid>04</cdid>
- </smlcd14>
- <smlcd14>
- <cdnm>increased respiration</cdnm>
- <cdid>05</cdid>
- </smlcd14>
- <smlcd14>
- <cdnm>decreased respiration</cdnm>
- <cdid>06</cdid>
- </smlcd14>
- <smlcd14>
- <cdnm>기타</cdnm>
- <cdid>99</cdid>
- </smlcd14>
- </codelist>
- <paminfolist/>
- <resultref>
- <info>
- <hngnm/>
- </info>
- </resultref>
- <cnststatinfo/>
- </hidden>
- <paminfo>
- </paminfo>
- <temp>
- <cnstinfo/>
- <srchgrupid>
- <initgrupid/>
- <drugcd/>
- </srchgrupid>
- <receivedata>
- <receiveref/>
- <receivedrugpnm/>
- <receivedrugflag/>
- <receivedrugcom/>
- </receivedata>
- <reqdata>
- <send>
- <receiveref/>
- </send>
- </reqdata>
- </temp>
- </root>
- </instance>
- <script type="javascript">
- <![CDATA[
- var sReqUseYN = "N"
-
- function finit(){
- input1.visible = false;
-
- if(fCnstType()){
-
- model.toggle("case2");
- fSetPatinfo();
- //fSetCmbData();
- btn_cnst.disabled = true;
- btn_reqcncl.visible = true;
-
- }else{
-
- //ADR보고서 화면에서 의뢰를 위하여 오픈 하였을 경우.
- if (checkOpener()) { //opener 검사
-
- //약국 ADR의뢰 메뉴에서 화면을 오픈 하였을 경우
- if(model.getValue("/root/properties/menu/menuparam") == "MENU") {
- sReqUseYN = "Y";
- } else {
- sReqUseYN = opener.javascript.getParameter("SPADC60900_USEYN");
- }
-
- } else {
- sReqUseYN = "N";
- }
-
- model.toggle("case1");
-
- if( sReqUseYN != "Y") {
-
- output4.visible = true;
- input1.visible = false;
-
- btn_reqcncl.visible = false;
-
- fGetPatInfo();
-
- } else {
-
- output4.visible = false;
- input1.visible = true;
-
- btn_cnst.disabled = true;
-
- btn_reqcncl.visible = false;
-
- }
-
- }
-
- pharmacyGetCodeList( new Array("P030"), new Array("/root/temp/srchgrupid/initgrupid") );
-
- submit("TRADB00001");
-
- fComboSet();
- model.refresh();
-
- }
-
- function fCnstType(){
- if(model.getValue("/root/temp/cnstinfo/formrecseq") == ""){
- return false;
- }else return true;
- }
-
- function fSetPatinfo(){
-
- model.setValue("/root/main/patinfo/pid", model.getValue("/root/temp/cnstinfo/pid"));
- model.setValue("/root/main/patinfo/hngnm", model.getValue("/root/temp/cnstinfo/pidnm"));
- model.setValue("/root/main/patinfo/reqdeptnm", model.getValue("/root/temp/cnstinfo/reqdeptnm"));
- model.setValue("/root/main/patinfo/requsernm", model.getValue("/root/temp/cnstinfo/requsernm"));
- model.setValue("/root/main/patinfo/recvdeptnm", model.getValue("/root/temp/cnstinfo/recvdeptnm"));
- model.setValue("/root/main/patinfo/recvusernm", model.getValue("/root/temp/cnstinfo/recvusernm"));
- model.copyNode("/root/send/srchinfo", "/root/temp/cnstinfo");
- submit("TRADC61701");
- }
-
- function fSetCmbData(){
- cmb_cnstcnts2.dispatch("xforms-select");
- cmb_cnstcnts3.dispatch("xforms-select");
- cmb_cnstcnts4.dispatch("xforms-select");
- cmb_cnstcnts5.dispatch("xforms-select");
- cmb_cnstcnts6.dispatch("xforms-select");
- cmb_cnstcnts7.dispatch("xforms-select");
- cmb_cnstcnts8.dispatch("xforms-select");
- cmb_cnstcnts9.dispatch("xforms-select");
- cmb_cnstcnts10.dispatch("xforms-select");
- cmb_cnstcnts16.dispatch("xforms-select");
- cmb_cnstcnts17.dispatch("xforms-select");
- cmb_cnstcnts18.dispatch("xforms-select");
- cmb_cnstcnts19.dispatch("xforms-select");
- cmb_cnstcnts20.dispatch("xforms-select");
- cmb_cnstcnts21.dispatch("xforms-select");
- }
-
- // 현재시간 구하기 : 시간 분
- function astgetCurrentTime()
- {
- var sDate = getNewDate();
-
- rtnTime = (( sDate.getHours() > 9 ) ? sDate.getHours() : "0" + sDate.getHours());
- rtnTime = rtnTime.toString() + (( sDate.getMinutes() > 9 ) ? sDate.getMinutes() : "0" + sDate.getMinutes());
-
- return rtnTime;
- }
-
- function fComboSet(){
- var iname = "";
- var icode = "";
- if (model.getValue("/root/main/cnstinfo/cnstcnts2") != ""){
- cmb_cnstcnts3.visible = true;
- }else{
- cmb_cnstcnts3.visible = false;
- }
-
- iname = model.getValue("/root/main/cnstinfo/cnstcnts2");
- icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101", false);
- copyNodesetType("/root/init/codelist/smlcd1", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- if (model.getValue("/root/main/cnstinfo/cnstcnts4") != ""){
- cmb_cnstcnts5.visible = true;
- }else{
- cmb_cnstcnts5.visible = false;
- }
- iname = model.getValue("/root/main/cnstinfo/cnstcnts4");
- icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101", false);
- copyNodesetType("/root/init/codelist/smlcd2", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- if (model.getValue("/root/main/cnstinfo/cnstcnts6") != ""){
- cmb_cnstcnts7.visible = true;
- }else{
- cmb_cnstcnts7.visible = false;
- }
- iname = model.getValue("/root/main/cnstinfo/cnstcnts6");
- icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101", false);
- copyNodesetType("/root/init/codelist/smlcd3", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- if (model.getValue("/root/main/cnstinfo/cnstcnts8") != ""){
- cmb_cnstcnts9.visible = true;
- }else{
- cmb_cnstcnts9.visible = false;
- }
- iname = model.getValue("/root/main/cnstinfo/cnstcnts8");
- icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101", false);
- copyNodesetType("/root/init/codelist/smlcd4", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
- if (model.getValue("/root/main/cnstinfo/cnstcnts10") != ""){
- cmb_cnstcnts11.visible = true;
- }else{
- cmb_cnstcnts11.visible = false;
- }
- iname = model.getValue("/root/main/cnstinfo/cnstcnts10");
- icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101", false);
- copyNodesetType("/root/init/codelist/smlcd5", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
- if (model.getValue("/root/main/cnstinfo/cnstcnts16") != ""){
- cmb_cnstcnts17.visible = true;
- }else{
- cmb_cnstcnts17.visible = false;
- }
- iname = model.getValue("/root/main/cnstinfo/cnstcnts16");
- icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101", false);
- copyNodesetType("/root/init/codelist/smlcd6", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- if (model.getValue("/root/main/cnstinfo/cnstcnts18") != ""){
- cmb_cnstcnts19.visible = true;
- }else{
- cmb_cnstcnts19.visible = false;
- }
- iname = model.getValue("/root/main/cnstinfo/cnstcnts18");
- icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101", false);
- copyNodesetType("/root/init/codelist/smlcd7", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- if (model.getValue("/root/main/cnstinfo/cnstcnts20") != ""){
- cmb_cnstcnts21.visible = true;
- }else{
- cmb_cnstcnts21.visible = false;
- }
- iname = model.getValue("/root/main/cnstinfo/cnstcnts20");
- icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101", false);
- copyNodesetType("/root/init/codelist/smlcd8", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
- model.refresh();
- if (cmb_cnstcnts3.label == "기타"){
- ipt_cnstcnts22.visible = true;
- }else{
- ipt_cnstcnts22.visible = false;
- }
- if (cmb_cnstcnts5.label == "기타"){
- ipt_cnstcnts23.visible = true;
- }else{
- ipt_cnstcnts23.visible = false;
- }
- if (cmb_cnstcnts7.label == "기타"){
- ipt_cnstcnts24.visible = true;
- }else{
- ipt_cnstcnts24.visible = false;
- }
- if (cmb_cnstcnts9.label == "기타"){
- ipt_cnstcnts25.visible = true;
- }else{
- ipt_cnstcnts25.visible = false;
- }
- if (cmb_cnstcnts11.label == "기타"){
- ipt_cnstcnts26.visible = true;
- }else{
- ipt_cnstcnts26.visible = false;
- }
-
- if (cmb_cnstcnts17.label == "기타"){
- ipt_cnstcnts27.visible = true;
- }else{
- ipt_cnstcnts27.visible = false;
- }
- if (cmb_cnstcnts19.label == "기타"){
- ipt_cnstcnts28.visible = true;
- }else{
- ipt_cnstcnts28.visible = false;
- }
- if (cmb_cnstcnts21.label == "기타"){
- ipt_cnstcnts29.visible = true;
- }else{
- ipt_cnstcnts29.visible = false;
- }
- model.refresh();
- }
- function fSaveCnst(){
- if(model.getValue("/root/main/patinfo/pid") != ""){
- model.makeNode("/root/main/cnstinfo/pid");
- model.setValue("/root/main/cnstinfo/pid", model.getValue("/root/main/patinfo/pid"));
-
- submit("TXADC61701");
- model.refresh();
- }
- }
-
- // src 콤보 선택값 변경시 dst 콤보 값 동적 변경 - 2008-09-08 김귀남
- // src콤보 비교값은 공통코드 goupid 값
- // dst콤보 노드셋은 /root/init/codelist/smlcd[] 값
- // 임시 노드셋 /root/hidden/codelist/smlcd[]
- function fLrgComboChg(dst_combo){
- var src_combo = document.all(event.currentTarget).value;
- var chgnodeset = document.controls(dst_combo);
- if( src_combo== '1'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd1";
- chgnodeset.refresh();
- }else if(src_combo == '2'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd2";
- chgnodeset.refresh();
- }else if(src_combo == '3'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd3";
- chgnodeset.refresh();
- }else if(src_combo == '4'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd4";
- chgnodeset.refresh();
- }else if(src_combo == '5'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd5";
- chgnodeset.refresh();
- }else if(src_combo == '6'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd6";
- chgnodeset.refresh();
- }else if(src_combo == '7'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd7";
- chgnodeset.refresh();
- }else if(src_combo == '8'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd8";
- chgnodeset.refresh();
- }else if(src_combo == '9'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd9";
- chgnodeset.refresh();
- }else if(src_combo == '10'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd10";
- chgnodeset.refresh();
- }else if(src_combo == '11'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd11";
- chgnodeset.refresh();
- }else if(src_combo == '12'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd12";
- chgnodeset.refresh();
- }else if(src_combo == '13'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd13";
- chgnodeset.refresh();
- }else if(src_combo == '14'){
- chgnodeset.choices.itemset.attribute("nodeset") = "/root/hidden/codelist/smlcd14";
- chgnodeset.refresh();
- }
-
- if (src_combo != ""){
- chgnodeset.attribute("visibility") = "visible";
- }else{
- chgnodeset.attribute("visibility") = "hidden";
- var node = chgnodeset.attribute("ref");
- model.setValue(node,"");
- }
- }
-
- function fSmlComboChg(trg_control){
- var src_combo = document.all(event.currentTarget).label;
- var etc_control = document.controls(trg_control);
- if(src_combo == "기타"){
- etc_control.attribute("visibility") = "visible";
- }else {
- etc_control.attribute("visibility") = "hidden";
- var node = etc_control.attribute("ref");
- model.setValue(node,"");
- }
- model.refresh();
- }
-
- function fChgDisable(CtrlID1, CtrlID2, lastCmb){
- if(CtrlID1.value != "" || CtrlID1.value != null){
- CtrlID1.value = "";
- CtrlID1.dispatch("xforms-select");
- }
- if(lastCmb == "" || lastCmb == null){
- if(CtrlID2.value != "" || CtrlID2.value != null){
- CtrlID2.value = "";
- CtrlID2.disabled = true;
- CtrlID2.dispatch("xforms-select");
- }
- }
- }
-
- function fGetPatInfo() {
-
- var pamInfoCvs = getGlobalVariable("paminfo");
-
- if(!isNull(pamInfoCvs)){ //cvs가 null이 아닌 경우에만 처리함.
- model.removeNodeSet ( "/root/paminfo/list" ); //상단화면 정보 초기화
- setCSVToNode ( "/root/paminfo", pamInfoCvs );
- model.setValue("/root/main/patinfo/pid",model.getValue("/root/paminfo/list/pid"));
- var sna = model.getValue("/root/paminfo/list/sex") +"/"+ model.getValue("/root/paminfo/list/age");
- model.setValue("/root/main/patinfo/sna", sna);
- model.setValue("/root/main/patinfo/hngnm", model.getValue("/root/paminfo/list/hngnm"));
- model.setValue("/root/main/patinfo/roomcd", model.getValue("/root/paminfo/list/roomcd"));
- model.setValue("/root/main/patinfo/reqdeptnm", model.getValue("/root/paminfo/list/orddeptnm"));
- model.setValue("/root/main/cnstinfo/reqdeptcd", model.getValue("/root/paminfo/list/orddeptcd"));
- // model.setValue("/root/main/patinfo/reqdeptnm", getUserInfo("dutplcenm"));
- // model.setValue("/root/main/cnstinfo/reqdeptcd", getUserInfo("dutplcecd"));
- model.setValue("/root/main/patinfo/requsernm", getUserName());
- model.setValue("/root/main/cnstinfo/requserid", getUserId());
- var prcpflag ="";
- var ioflag = model.getValue("/root/paminfo/list/ioflag");
- if(ioflag == "O" || ioflag == "S"){
- prcpflag = "외래";
- model.setValue("/root/main/cnstinfo/orddd", model.getValue("/root/paminfo/list/orddd"));
- }else {
- prcpflag = "입원";
- model.setValue("/root/main/cnstinfo/orddd", model.getValue("/root/paminfo/list/indd"));
- }
- if(model.getValue("/root/paminfo/list/fsexamflag") == "F"){
- prcpflag += "/초진";
- }else if(model.getValue("/root/paminfo/list/fsexamflag") =="R"){
- prcpflag += "/재진";
- }
- model.setValue("/root/main/patinfo/prcpflag", prcpflag);
-
- model.setValue("/root/main/cnstinfo/chosflag", model.getValue("/root/paminfo/list/ioflag"));
- model.setValue("/root/main/cnstinfo/cretno", model.getValue("/root/paminfo/list/cretno"));
-
- }else{
- var msg = messageBox("환자를 ", "C002");
- return false;
- }
-
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- finit();
- ]]>
- </script>
- <submission id="TXADC61701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cnstinfo" replace="instance" resultref="/root/hidden"/>
- <submission id="TRADC61701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main"/>
- <submission id="TRADC60902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata/srchcode" replace="instance" resultref="/root/init/codelist/smlgrup"/>
- <submission id="TRADC60901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata/srchcode" replace="instance" resultref="/root/init/codelist/"/>
- <submission id="TRZBC00101"/>
- <submission id="TRADB00001"/>
- <submission id="TRABO00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchpaminfo" resultref="/root/hidden/paminfolist"/>
- <submission id="TRASB01402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/hidden/resultref"/>
- <submission id="TRADC62202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cnstinfo" replace="instance" resultref="/root/hidden/cnststatinfo"/>
- <submission id="TXADC61702" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/hidden"/>
- <script type="javascript" ev:event="xforms-close">
- <![CDATA[
- if(sReqUseYN == "Y") {
- delPatientInfos();
- opener.model.resetInstanceNode("/root/main/baseinfo");
- opener.model.resetInstanceNode("/root/temp/cnstinfo");
- opener.model.resetInstanceNode("/root/popdata/poplist");
- opener.model.resetInstanceNode("/root/send");
- opener.model.refresh();
- }
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/pharmacybaseweb/js/pharmacycombolist.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="660" pageheight="560" guideline="2,13;1,1194;2,784;2,757;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <line id="line4" class="line_2" style="x1:0px; y1:421px; x2:640px; y2:421px; "/>
- <line id="line1" class="line_2" style="x1:0px; y1:447px; x2:640px; y2:447px; "/>
- <line id="line11" class="line_2" style="x1:0px; y1:472px; x2:640px; y2:472px; "/>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:215px; height:13px; ">ADR의뢰</caption>
- <line id="line15" class="line_1" style="x1:0px; y1:395px; x2:640px; y2:395px; "/>
- <caption id="caption29" class="tit_2" style="left:5px; top:380px; width:295px; height:13px; ">과거발생유해반응</caption>
- <caption id="caption10" class="cell_1" style="left:0px; top:449px; width:145px; height:23px; vertical-align:middle; ">3)유해증상</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:424px; width:145px; height:23px; vertical-align:middle; ">2)과거유해반응 원인약물</caption>
- <caption id="caption8" class="cell_1" style="left:0px; top:399px; width:145px; height:23px; vertical-align:middle; ">1)과거유해반응 여부</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:182px; x2:640px; y2:182px; "/>
- <line id="line5" class="line_1" style="x1:0px; y1:105px; x2:640px; y2:105px; "/>
- <line id="line6" class="line_2" style="x1:0px; y1:157px; x2:640px; y2:157px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:205px; x2:640px; y2:205px; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:134px; width:91px; height:23px; vertical-align:middle; ">2)유해증상</caption>
- <caption id="caption18" class="cell_1" style="left:0px; top:109px; width:91px; height:23px; vertical-align:middle; ">1)의심약물</caption>
- <line id="line8" class="line_2" style="x1:0px; y1:131px; x2:640px; y2:131px; "/>
- <caption id="caption20" class="tit_2" style="left:5px; top:90px; width:295px; height:13px; ">현재발생유해반응</caption>
- <button id="button12" class="btn2_letter4" style="left:297px; top:110px; width:64px; height:19px; ">
- <caption>약품조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.makeValue("/root/temp/receivedata/receiveref", "/root/main/cnstinfo/cnstcnts1");
- model.makeValue("/root/temp/reqdata/send/receiveref", "/root/temp/receivedata/receiveref");
- model.makeValue("/root/temp/reqdata/send/receivedrugpnm", "/root/temp/receivedata/receivedrugpnm");
- model.makeValue("/root/temp/reqdata/send/receivedrugflag", "/root/temp/receivedata/receivedrugflag");
- model.makeValue("/root/temp/reqdata/send/receivedrugcom", "/root/temp/receivedata/receivedrugcom");
- model.resetInstanceNode("/root/temp/receivedata");
-
- modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/reqdata/send","/root/temp/receivedata");
- //modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/receivedata","/root/temp/receivedata");
- if( instance1.selectSingleNode("/root/temp/receivedata/receiveref") ){
- if( !isNull(model.getValue("/root/temp/receivedata/receiveref")) ){
- var drugcd = model.getValue("/root/temp/receivedata/receiveref");
- var drugcdnm = model.getValue("/root/temp/receivedata/receivedrugpnm");
- var sReceivedrugflag = model.getValue("/root/temp/receivedata/receivedrugflag");
- //model.removeNodeset("/root/send/reqdata");
- model.makeValue("/root/main/cnstinfo/cnstcnts1", drugcd);
- if(sReceivedrugflag != "") {
- model.makeValue("/root/main/cnstinfo/comflag", sReceivedrugflag);
- } else {
- model.makeValue("/root/main/cnstinfo/comflag", "C");
- }
- if(drugcdnm == "") {
- model.makeValue("/root/send/reqdata/drugcd", drugcd);
- submit("TRASB01402");
- model.makeValue("/root/main/cnstinfo/reqdrugnm", model.getValue("/root/hidden/resultref/info/hngnm"));
- } else {
- model.makeValue("/root/main/cnstinfo/reqdrugnm", drugcdnm);
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line9" class="line_2" style="x1:0px; y1:230px; x2:640px; y2:230px; "/>
- <line id="line10" class="line_2" style="x1:0px; y1:255px; x2:640px; y2:255px; "/>
- <line id="line12" class="line_2" style="x1:0px; y1:280px; x2:640px; y2:280px; "/>
- <line id="line13" class="line_2" style="x1:0px; y1:305px; x2:640px; y2:305px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:258px; width:91px; height:23px; vertical-align:middle; ">3)증상발현일</caption>
- <caption id="caption15" class="cell_1" style="left:0px; top:283px; width:640px; height:23px; vertical-align:middle; ">5)유해사례의 내용(*유해사례와 관련된 환자의 진행사항 및 진행과정, 특이사항을 서술하여 주십시오.)</caption>
- <line id="line14" class="line_3" style="x1:0px; y1:370px; x2:640px; y2:370px; "/>
- <input id="ipt_cnstcnts12" ref="/root/main/cnstinfo/cnstcnts12" class="input_essential" inputtype="date" style="left:95px; top:259px; width:100px; height:19px; "/>
- <button id="button3" class="btn2_letter2" visibility="hidden" style="left:495px; top:260px; width:42px; height:19px; ">
- <caption>조회</caption>
- </button>
- <input id="ipt_cnstcnts13" ref="/root/main/cnstinfo/cnstcnts13" class="input_default" inputtype="date" style="left:390px; top:259px; width:100px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:295px; top:258px; width:91px; height:23px; vertical-align:middle; ">4)종료일</caption>
- <line id="line2" class="line_3" style="x1:0px; y1:520px; x2:640px; y2:520px; "/>
- <line id="line17" class="line_2" style="x1:0px; y1:495px; x2:640px; y2:495px; "/>
- <button id="button4" class="btn2_letter4" style="left:355px; top:425px; width:64px; height:19px; ">
- <caption>약품조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.makeValue("/root/temp/receivedata/receiveref", "/root/main/cnstinfo/cnstcnts1");
- model.makeValue("/root/temp/reqdata/send/receiveref", "/root/temp/receivedata/receiveref");
- model.makeValue("/root/temp/reqdata/send/receivedrugpnm", "/root/temp/receivedata/receivedrugpnm");
- model.makeValue("/root/temp/reqdata/send/receivedrugflag", "/root/temp/receivedata/receivedrugflag");
- model.makeValue("/root/temp/reqdata/send/receivedrugcom", "/root/temp/receivedata/receivedrugcom");
- model.resetInstanceNode("/root/temp/receivedata");
-
- //modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/reqdata/send/receiveref","/root/temp/receivedata/receiveref");
- //modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/receivedata","/root/temp/receivedata");
- modal("SPMMD03400",0,100,150,"SPMMD03400","/root/temp/reqdata/send","/root/temp/receivedata");
- if( instance1.selectSingleNode("/root/temp/receivedata/receiveref") ){
- if( !isNull(model.getValue("/root/temp/receivedata/receiveref")) ){
- var drugcd = model.getValue("/root/temp/receivedata/receiveref");
- var drugcdnm = model.getValue("/root/temp/receivedata/receivedrugpnm");
- //model.removeNodeset("/root/send/reqdata");
- model.makeValue("/root/main/cnstinfo/cnstcnts15", drugcd);
- if(drugcdnm == "") {
- model.makeValue("/root/send/reqdata/drugcd", drugcd);
- submit("TRASB01402");
- model.makeValue("/root/main/cnstinfo/pastreqdrugnm", model.getValue("/root/hidden/resultref/info/hngnm"));
- } else {
- model.makeValue("/root/main/cnstinfo/pastreqdrugnm", drugcdnm);
- }
-
- }
- }
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_sea" class="btn2_letter2" visibility="hidden" style="left:200px; top:260px; width:64px; height:19px; ">
- <caption>조회</caption>
- </button>
- <button id="btn_save" class="btn4_letter2" visibility="hidden" style="left:375px; top:525px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cnstinfo/cnststat", "11");
- fSaveCnst();
- ]]>
- </script>
- </button>
- <button id="btn_cls" class="btn4_letter2" style="left:585px; top:525px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.close();
- ]]>
- </script>
- </button>
- <button id="btn_cnst" class="btn4_letter2" style="left:525px; top:525px; width:56px; height:22px; ">
- <caption>의뢰</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (ipt_cnstcnts1.label == "" || ipt_cnstcnts1.label == null){
- messageBox("의심약물은","I003");
- return;
- }
- if (ipt_cnstcnts12.label == "" || ipt_cnstcnts12.label == null){
- messageBox("증상발현일은","I003");
- return;
- }
- if ((cmb_cnstcnts2.label == "" || cmb_cnstcnts2.label == null) || (cmb_cnstcnts3.label == "" || cmb_cnstcnts3.label == null)) {
- messageBox("유해증상(세부항목 포함)은","I003");
- return;
- }
- if (rdo_cnstcnts14.label== "" || rdo_cnstcnts14.label == null) {
- messageBox("과거유해반응 여부는","I003");
- return;
- }
- if(rdo_cnstcnts14.value == "1"){
- if ((cmb_cnstcnts16.label == "" || cmb_cnstcnts16.label == null) || (cmb_cnstcnts17.label == "" || cmb_cnstcnts17.label == null)){
- messageBox("과거유해증상(세부항목 포함)은","I003");
- return;
- }
- }
- if ( messageBox("의뢰내용을","Q002")==6 ){
- model.setValue("/root/main/cnstinfo/cnststat", "12");
- model.setValue("/root/main/cnstinfo/reqdd", getCurrentDate());
- model.setValue("/root/main/cnstinfo/reqhm", astgetCurrentTime());
- fSaveCnst();
-
- model.close();
- }
- ]]>
- </script>
- </button>
- <input id="ipt_cnstcnts1" ref="/root/main/cnstinfo/reqdrugnm" class="input_default" editable="false" maxlength="33" style="left:95px; top:110px; width:200px; height:19px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능한 글자수를", "E003");
- ]]>
- </script>
- </input>
- <select1 id="cmb_cnstcnts2" ref="/root/main/cnstinfo/cnstcnts2" class="combo_essential" appearance="minimal" style="left:95px; top:135px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/main/cnstinfo/cnstcnts2") != ""){
- cmb_cnstcnts3.visible = true;
- cmb_cnstcnts4.disabled = false;
- }else{
- cmb_cnstcnts3.visible = false;
- cmb_cnstcnts3.value = "";
- cmb_cnstcnts3.dispatch("xforms-select");
- fChgDisable(cmb_cnstcnts3, cmb_cnstcnts4);
- }
- //model.setValue("/root/main/cnstinfo/cnstcnts3", "");
- var iname = model.getValue("/root/main/cnstinfo/cnstcnts2");
- var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101");
- copyNodesetType("/root/init/codelist/smlcd1", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- model.refresh();
- /*
- fLrgComboChg("cmb_cnstcnts3");
- model.refresh();
- */
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts4" ref="/root/main/cnstinfo/cnstcnts4" class="combo_default" disabled="true" appearance="minimal" style="left:95px; top:160px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/main/cnstinfo/cnstcnts4") != ""){
- cmb_cnstcnts5.visible = true;
- cmb_cnstcnts6.disabled = false;
- }else{
- cmb_cnstcnts5.visible = false;
- fChgDisable(cmb_cnstcnts5, cmb_cnstcnts6);
- }
- //model.setValue("/root/main/cnstinfo/cnstcnts5", "");
- var iname = model.getValue("/root/main/cnstinfo/cnstcnts4");
- var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101");
- copyNodesetType("/root/init/codelist/smlcd2", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- model.refresh();
- /*
- fLrgComboChg("cmb_cnstcnts5");
- model.refresh();
- */
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts6" ref="/root/main/cnstinfo/cnstcnts6" class="combo_default" disabled="true" appearance="minimal" style="left:95px; top:185px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/main/cnstinfo/cnstcnts6") != ""){
- cmb_cnstcnts7.visible = true;
- cmb_cnstcnts8.disabled = false;
- }else{
- cmb_cnstcnts7.visible = false;
- fChgDisable(cmb_cnstcnts7,cmb_cnstcnts8);
- }
- //model.setValue("/root/main/cnstinfo/cnstcnts7", "");
- var iname = model.getValue("/root/main/cnstinfo/cnstcnts6");
- var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101");
- copyNodesetType("/root/init/codelist/smlcd3", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- model.refresh();
- /*
- fLrgComboChg("cmb_cnstcnts7");
- model.refresh();
- */
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts8" ref="/root/main/cnstinfo/cnstcnts8" class="combo_default" disabled="true" appearance="minimal" style="left:95px; top:210px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/main/cnstinfo/cnstcnts8") != ""){
- cmb_cnstcnts9.visible = true;
- cmb_cnstcnts10.disabled = false;
- }else{
- cmb_cnstcnts9.visible = false;
- fChgDisable(cmb_cnstcnts9,cmb_cnstcnts10);
- }
- //model.setValue("/root/main/cnstinfo/cnstcnts9", "");
- var iname = model.getValue("/root/main/cnstinfo/cnstcnts8");
- var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101");
- copyNodesetType("/root/init/codelist/smlcd4", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- model.refresh();
- /*
- fLrgComboChg("cmb_cnstcnts9");
- model.refresh();
- */
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts10" ref="/root/main/cnstinfo/cnstcnts10" class="combo_default" disabled="true" appearance="minimal" style="left:95px; top:235px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/main/cnstinfo/cnstcnts10") != ""){
- cmb_cnstcnts11.visible = true;
- }else{
- cmb_cnstcnts11.visible = false;
- fChgDisable(cmb_cnstcnts11,"","Y");
-
- }
- //model.setValue("/root/main/cnstinfo/cnstcnts11", "");
- var iname = model.getValue("/root/main/cnstinfo/cnstcnts10");
- var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101");
- copyNodesetType("/root/init/codelist/smlcd5", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- model.refresh();
- /*
- fLrgComboChg("cmb_cnstcnts11");
- model.refresh();
- */
- ]]>
- </script>
- </select1>
- <textarea id="tar_cnstcnts30" ref="/root/main/cnstinfo/cnstcnts30" scroll="auto" maxlength="170" style="left:0px; top:310px; width:640px; height:55px; ">
- <script type="javascript" ev:event="onmaxlength">
- <![CDATA[
- messageBox("입력가능한 글자수를", "E003");
- ]]>
- </script>
- </textarea>
- <select1 id="rdo_cnstcnts14" ref="/root/main/cnstinfo/cnstcnts14" appearance="full" cols="3" rows="1" overflow="visible" style="left:150px; top:400px; width:200px; 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>
- </choices>
- </select1>
- <input id="ipt_cnstcnts15" ref="/root/main/cnstinfo/pastreqdrugnm" class="input_default" style="left:150px; top:425px; width:200px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.makeValue("/root/main/cnstinfo/cnstcnts15", model.getValue("/root/main/cnstinfo/pastreqdrugnm"));
- ]]>
- </script>
- </input>
- <select1 id="cmb_cnstcnts16" ref="/root/main/cnstinfo/cnstcnts16" class="combo_essential" appearance="minimal" style="left:150px; top:450px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/main/cnstinfo/cnstcnts16") != ""){
- cmb_cnstcnts17.visible = true;
- cmb_cnstcnts18.disabled = false;
- }else{
- cmb_cnstcnts17.visible = false;
- fChgDisable(cmb_cnstcnts17,cmb_cnstcnts18);
- }
- //model.setValue("/root/main/cnstinfo/cnstcnts17", "");
- var iname = model.getValue("/root/main/cnstinfo/cnstcnts16");
- var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101");
- copyNodesetType("/root/init/codelist/smlcd6", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- model.refresh();
- /*
- fLrgComboChg("cmb_cnstcnts17");
- model.refresh();
- */
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts18" ref="/root/main/cnstinfo/cnstcnts18" class="combo_default" disabled="true" appearance="minimal" style="left:150px; top:475px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/main/cnstinfo/cnstcnts18") != ""){
- cmb_cnstcnts19.visible = true;
- cmb_cnstcnts20.disabled = false;
- }else{
- cmb_cnstcnts19.visible = false;
- fChgDisable(cmb_cnstcnts19,cmb_cnstcnts20);
- }
- //model.setValue("/root/main/cnstinfo/cnstcnts19", "");
- var iname = model.getValue("/root/main/cnstinfo/cnstcnts18");
- var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101");
- copyNodesetType("/root/init/codelist/smlcd7", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- model.refresh();
- /*
- fLrgComboChg("cmb_cnstcnts19");
- model.refresh();
- */
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts20" ref="/root/main/cnstinfo/cnstcnts20" class="combo_default" disabled="true" appearance="minimal" style="left:150px; top:500px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/temp/srchgrupid/initgrupid/P030">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- if (model.getValue("/root/main/cnstinfo/cnstcnts20") != ""){
- cmb_cnstcnts21.visible = true;
- }else{
- cmb_cnstcnts21.visible = false;
- fChgDisable(cmb_cnstcnts21,"","Y");
- }
- //model.setValue("/root/main/cnstinfo/cnstcnts21", "");
- var iname = model.getValue("/root/main/cnstinfo/cnstcnts20");
- var icode = model.getValue("/root/temp/srchgrupid/initgrupid/P030[cdid='" + iname + "']/cmt");
- if (icode != ""){
- model.removeNodeset("/root/init/baseinfo/initcnst");
- model.makeNode("/root/init/baseinfo/initcnst");
- zbcfGetCodeList( new Array(icode), new Array("/root/init/baseinfo/initcnst") );
- submit("TRZBC00101");
- copyNodesetType("/root/init/codelist/smlcd8", "/root/init/baseinfo/initcnst" + "/" + icode, "replace", model, model);
- }
-
- model.refresh();
- /*
- fLrgComboChg("cmb_cnstcnts21");
- model.refresh();
- */
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts3" ref="/root/main/cnstinfo/cnstcnts3" class="combo_essential" visibility="hidden" appearance="minimal" style="left:270px; top:135px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codelist/smlcd1">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSmlComboChg("ipt_cnstcnts22");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts5" ref="/root/main/cnstinfo/cnstcnts5" class="combo_default" visibility="hidden" appearance="minimal" style="left:270px; top:160px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codelist/smlcd2">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSmlComboChg("ipt_cnstcnts23");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts7" ref="/root/main/cnstinfo/cnstcnts7" class="combo_default" visibility="hidden" appearance="minimal" style="left:270px; top:185px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codelist/smlcd3">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSmlComboChg("ipt_cnstcnts24");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts9" ref="/root/main/cnstinfo/cnstcnts9" class="combo_default" visibility="hidden" appearance="minimal" style="left:270px; top:210px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codelist/smlcd4">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSmlComboChg("ipt_cnstcnts25");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts11" ref="/root/main/cnstinfo/cnstcnts11" class="combo_default" visibility="hidden" appearance="minimal" style="left:270px; top:235px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codelist/smlcd5">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSmlComboChg("ipt_cnstcnts26");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts17" ref="/root/main/cnstinfo/cnstcnts17" class="combo_essential" visibility="hidden" appearance="minimal" style="left:325px; top:450px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codelist/smlcd6">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSmlComboChg("ipt_cnstcnts27");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts19" ref="/root/main/cnstinfo/cnstcnts19" class="combo_default" visibility="hidden" appearance="minimal" style="left:325px; top:475px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codelist/smlcd7">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSmlComboChg("ipt_cnstcnts28");
- ]]>
- </script>
- </select1>
- <select1 id="cmb_cnstcnts21" ref="/root/main/cnstinfo/cnstcnts21" class="combo_default" visibility="hidden" appearance="minimal" style="left:325px; top:500px; width:170px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/codelist/smlcd8">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fSmlComboChg("ipt_cnstcnts29");
- ]]>
- </script>
- </select1>
- <input id="ipt_cnstcnts22" ref="/root/main/cnstinfo/cnstcnts22" visibility="hidden" style="left:455px; top:135px; width:180px; height:19px; "/>
- <input id="ipt_cnstcnts23" ref="/root/main/cnstinfo/cnstcnts23" visibility="hidden" style="left:455px; top:160px; width:180px; height:19px; "/>
- <input id="ipt_cnstcnts24" ref="/root/main/cnstinfo/cnstcnts24" visibility="hidden" style="left:455px; top:185px; width:180px; height:19px; "/>
- <input id="ipt_cnstcnts25" ref="/root/main/cnstinfo/cnstcnts25" visibility="hidden" style="left:455px; top:210px; width:180px; height:19px; "/>
- <input id="ipt_cnstcnts26" ref="/root/main/cnstinfo/cnstcnts26" visibility="hidden" style="left:455px; top:235px; width:180px; height:19px; "/>
- <input id="ipt_cnstcnts27" ref="/root/main/cnstinfo/cnstcnts27" visibility="hidden" style="left:500px; top:450px; width:138px; height:19px; "/>
- <input id="ipt_cnstcnts28" ref="/root/main/cnstinfo/cnstcnts28" visibility="hidden" style="left:500px; top:475px; width:138px; height:19px; "/>
- <input id="ipt_cnstcnts29" ref="/root/main/cnstinfo/cnstcnts29" visibility="hidden" style="left:500px; top:500px; width:138px; height:19px; "/>
- <switch id="switch1" class="sw_no_border" style="left:0px; top:15px; width:640px; height:70px; ">
- <case id="case1" selected="true">
- <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:640px; height:68px; background-color:#fffbf2; border-color:#ffd799; "/>
- <output id="output1" ref="/root/main/patinfo/requsernm" class="output_search" appearance="output" style="left:285px; top:35px; width:75px; height:19px; "/>
- <output id="output2" ref="/root/main/patinfo/hngnm" class="output_search" appearance="output" style="left:285px; top:10px; width:75px; height:19px; "/>
- <caption id="caption9" class="search_name" style="left:5px; top:35px; width:86px; height:17px; ">진료과 :</caption>
- <caption id="caption11" class="search_name" style="left:5px; top:10px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="caption12" class="search_name" style="left:210px; top:10px; width:90px; height:17px; ">성명 :</caption>
- <caption id="caption19" class="search_name" style="left:210px; top:35px; width:97px; height:17px; ">등록자 :</caption>
- <caption id="caption21" class="search_name" style="left:445px; top:35px; width:90px; height:17px; ">병실 :</caption>
- <caption id="caption22" class="search_name" style="left:445px; top:10px; width:95px; height:17px; ">환자구분 :</caption>
- <output id="output5" ref="/root/main/patinfo/reqdeptnm" class="output_search" appearance="output" style="left:95px; top:35px; width:100px; height:19px; "/>
- <output id="output6" ref="/root/main/patinfo/roomcd" class="output_search" appearance="output" style="left:535px; top:35px; width:65px; height:19px; "/>
- <output id="output7" ref="/root/main/patinfo/prcpflag" class="output_search" appearance="output" style="left:535px; top:10px; width:65px; height:19px; "/>
- <output id="output8" ref="/root/main/patinfo/sna" class="output_search" appearance="output" style="left:365px; top:10px; width:65px; height:19px; "/>
- <input id="input1" ref="/root/main/patinfo/pid" style="left:95px; top:10px; width:100px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(event.keyCode == 13) {
- model.makeValue("/root/send/srchpaminfo/pid", input1.currentText);
- input1.refresh();
-
- //가장최근수진이력조회.
- if(submit("TRABO00107")) {
-
- //조회된 수진정보를 이용하여 상단정보.
- if(!(instance1.selectSingleNode("/root/hidden/paminfolist/pampatinfo"))){
- delPatientInfos();
- }else{
- var pat_info = "";
- if(model.getValue("/root/hidden/paminfolist/pampatinfo[1]/ioflag") == "O"){
- pat_info = model.getValue("/root/hidden/paminfolist/pampatinfo[1]/ioflag")+"▦"+ model.getValue("/root/hidden/paminfolist/pampatinfo[1]/pid") +"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/orddd")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/cretno")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/instcd")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/dschdd");
- }else {
- pat_info = model.getValue("/root/hidden/paminfolist/pampatinfo[1]/ioflag")+"▦"+ model.getValue("/root/hidden/paminfolist/pampatinfo[1]/pid") +"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/orddd")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/cretno")+"▦"+model.getValue("/root/hidden/paminfolist/pampatinfo[1]/instcd")+"▦"+ model.getValue("/root/hidden/paminfolist/pampatinfo[1]/dschdd");
- }
-
- setParameter("condparam", pat_info);
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- }
-
- fGetPatInfo();
-
- pharmacyGetCodeList( new Array("P030"), new Array("/root/temp/srchgrupid/initgrupid") );
- if(submit("TRADB00001")) {
- btn_cnst.disabled = false;
- }
-
- fComboSet();
- model.refresh();
-
- }
-
- }
- ]]>
- </script>
- </input>
- <output id="output4" ref="/root/main/patinfo/pid" class="output_search" appearance="output" style="left:95px; top:10px; width:100px; height:19px; "/>
- </case>
- <case id="case2">
- <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:640px; height:68px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption23" class="search_name" style="left:5px; top:35px; width:86px; height:17px; ">의뢰자 :</caption>
- <caption id="caption24" class="search_name" style="left:5px; top:10px; width:86px; height:17px; ">의뢰부서 :</caption>
- <output id="output11" ref="/root/temp/cnstinfo/recvdeptnm" class="output_search" appearance="output" style="left:95px; top:10px; width:100px; height:19px; "/>
- <caption id="caption25" class="search_name" style="left:210px; top:10px; width:90px; height:17px; ">수신부서:</caption>
- <caption id="caption26" class="search_name" style="left:210px; top:35px; width:90px; height:17px; ">수신자 :</caption>
- <caption id="caption27" class="search_name" style="left:445px; top:35px; width:90px; height:17px; ">이름 :</caption>
- <caption id="caption28" class="search_name" style="left:445px; top:10px; width:95px; height:17px; ">등록번호 :</caption>
- <output id="output12" ref="/root/temp/cnstinfo/requsernm" class="output_search" appearance="output" style="left:95px; top:35px; width:100px; height:19px; "/>
- <output id="output9" ref="/root/temp/cnstinfo/recvdeptnm" class="output_search" appearance="output" style="left:295px; top:10px; width:100px; height:19px; "/>
- <output id="output10" ref="/root/temp/cnstinfo/recvusernm" class="output_search" appearance="output" style="left:295px; top:35px; width:100px; height:19px; "/>
- <output id="output13" ref="/root/temp/cnstinfo/pidnm" class="output_search" appearance="output" style="left:530px; top:35px; width:100px; height:19px; "/>
- <output id="output14" ref="/root/temp/cnstinfo/pid" class="output_search" appearance="output" style="left:530px; top:10px; width:100px; height:19px; "/>
- </case>
- </switch>
- <button id="button1" class="btn2_letter5" style="left:363px; top:110px; width:75px; height:19px; ">
- <caption>unKnown</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cnstinfo/cnstcnts1", "unKnown");
- model.setValue("/root/main/cnstinfo/reqdrugnm", "unKnown");
- ipt_cnstcnts1.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_reqcncl" class="btn4_letter4" style="left:441px; top:525px; width:80px; height:22px; ">
- <caption>의뢰취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(submit("TRADC62202")){
- var cnststat = model.getValue("/root/hidden/cnststatinfo/cnststat");
- if(cnststat == "22"){
- messageBox("[회신] 의뢰를 취소할 수","I004");
- }else if(cnststat == "21"){
- messageBox("[임시회신] 의뢰를 취소할 수","I004");
- }else if(cnststat == "20"){
- messageBox("[의뢰확정] 의뢰를 취소할 수","I004");
- }else if(messageBox("의뢰를","Q007") == 6){
- model.setValue("/root/send/srchinfo/cnststat", "04");
- if(submit("TXADC61702")){
- messageBox("요청하신 작업이","I001");
- window.close();
- }
- }
- }
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|