123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>복약상담회신서(일반)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <baseinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- <sna/>
- <orddeptcd/>
- <cnstdeptcd/>
- <roomcd/>
- <orddd/>
- <cnstdd/>
- <cnstdrid/>
- <cnstdeptcd/>
- <cnstcnts4/>
- <repldd/>
- <repluserid/>
- <fstrgstrid/>
- <cnstcnts1/>
- <lowtitle/>
- <medispclnm/>
- <cnstcnts17/>
- <cnstcnts18/>
- </patinfolist>
- <diaginfolist>
- <diagcd/>
- <diagengnm/>
- <diaghngnm/>
- </diaginfolist>
- <curdoubtlist>
- <drugcd/>
- <drugnm/>
- <dayvol/>
- <daytims/>
- <days/>
- <firstyn/>
- <pid/>
- <rgstseqno/>
- <deptcd/>
- <tmedflag/>
- </curdoubtlist>
- <curtmedlist>
- <deptcd/>
- <drugcd/>
- <drugnm/>
- <comnm/>
- <dayvol/>
- <daytims/>
- <days/>
- <awargrde/>
- <cmt/>
- <pid/>
- <rgstseqno/>
- <tmedflag/>
- <ordertype/>
- <prcpdd/>
- <prcpgenrflagnm/>
- <drugno/>
- <prcpdelivefact/>
- <prcpno/>
- </curtmedlist>
- <cnsttmedlist>
- <pasttmedadapt/>
- <nonadaptresn/>
- <nonadaptresn1/>
- <nonadaptresn2/>
- <nonadaptresn3/>
- <nonadaptresn4/>
- <nonadaptresn5/>
- <seffcyn/>
- <seffckind/>
- <seffccasdrug/>
- <seffcsymp/>
- <tmedcnst/>
- <tmedcnst1/>
- <tmedcnst2/>
- <tmedcnst3/>
- <tmedcnst4/>
- <tmedcnst5/>
- <tmedcnst6/>
- <tmedcnst7/>
- <majrcnstcnts/>
- <majrcnstcnts1/>
- <majrcnstcnts2/>
- <majrcnstcnts3/>
- <majrcnstcnts4/>
- <majrcnstcnts5/>
- <majrcnstcnts6/>
- <majrcnstcnts7/>
- <cnstcomment/>
- <cmt/>
- <statflag/>
- <rgstseqno/>
- <pid/>
- <repltrgt/>
- <repltrgt1/>
- <repltrgt2/>
- <repltrgtnm/>
- <replusetm/>
- <nonadaptetc/>
- <tmedcnstetc/>
- <cnstreyn/>
- <cnstyn/>
- <cnstpat/>
- <cnstprocer/>
- <cnsttmedwill/>
- <formrecseq/>
- <replid/>
- <lnprepcd/>
- <eductrgtmancd/>
- <eductrgtmanetc/>
- <educmthdcd/>
- <educmthdetc/>
- <educrsltcd/>
- <educrsltetc/>
- <drunk/>
- <blooding/>
- <healthfood/>
- <majrcnstcnts8/>
- <majrcnstcnts9/>
- </cnsttmedlist>
- </baseinfo>
- <srchinfo>
- <item>
- <drugcd/>
- <olddrugcd/>
- <drugnm/>
- </item>
- </srchinfo>
- <copydeptlist>
- <item>
- <orddeptcd/>
- <orddeptnm/>
- </item>
- </copydeptlist>
- </main>
- <send>
- <pid/>
- <req>
- <curdoubtlist/>
- <curtmedlist/>
- <cnsttmedlist/>
- <edudata/>
- </req>
- <srchinfo>
- <srchcd/>
- <srchdrugnm/>
- </srchinfo>
- <rgstseqno/>
- <formrecseq/>
- <prcpgenrflag/>
- <orddd/>
- <cretno/>
- <tmedflag/>
- <cnstdd/>
- </send>
- <init>
- <cmb_info>
- <suppdeptlist>
- <suppdept>
- <suppdeptcd/>
- <depthngnm/>
- </suppdept>
- </suppdeptlist>
- </cmb_info>
- <cmblist>
- <jciyn/>
- </cmblist>
- </init>
- <hidden>
- <item/>
- <pasttmedadaptcls/>
- <prntinfo>
- <patinfolist/>
- <prntinfolist/>
- </prntinfo>
- </hidden>
- <stext/>
- <temp>
- <cnstinfo>
- <formrecseq/>
- <pid/>
- <rgstseqno/>
- <cnstdd/>
- <prcpgenrflag/>
- <orddd/>
- <cretno/>
- </cnstinfo>
- <replform>
- <replcnts/>
- <sel/>
- </replform>
- <popupdata>
- <repltype/>
- <receivedata>/root/main/baseinfo/cnsttmedlist/replid</receivedata>
- </popupdata>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- model.setValue("/root/send/pid",model.getValue("/root/main/baseinfo/patinfolist/pid"));
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'D';
- var rslt_ref = "/root/init/cmb_info/suppdeptlist";
- zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref);
-
- //다학제 연동 여부 조회.
- pharmacyGetCodeList( new Array("JCI1"), new Array("/root/init/cmblist/jciyn") );
- if(model.getValue("/root/init/cmblist/jciyn/JCI1[2]/cdid") == "Y") {
- button7.visible = true;
- } else {
- button7.visible = false;
- }
- button7.refresh();
-
- if (model.getValue("/root/main/cnst/cnstinfo/statflag") == "Z"){
- messageBox("회신처리된 의뢰 건","I009");
- }
-
-
- //submit("TRADC02801");
- model.setValue("/root/send/tmedflag", "1");
- btn_sea.dispatch("DOMActivate");
-
- if(model.getValue("/root/temp/cnstinfo/btnreplflag") == "Y") {
- // 20100118_laboru_회신확정 상태일때 회신버튼 비활성화 위해서
- btn_req.disabled = true;
- }
-
- if(model.getValue("/root/temp/cnstinfo/pidchkflag") == "Y") {
- // 20100119_laboru_약사 이외의 사용자인 경우
- btn_save.disabled = true;
- btn_req.disabled = true;
- btn_del.disabled = true;
- }
-
- //---------------(20091024)
- // var sjobkindcd = getUserInfo("jobkindcd");
- // //직종이 약사인경우만
- // //alert( sjobkindcd.substr(0,2) ) ;
- //
- // if ( sjobkindcd.substr(0,2) != "12" ) {
- // btn_save.disabled = true ; //저장
- // btn_req.disabled = true ; //회신
- // btn_del.disabled = true ; //삭제
- // }
- //---------------(20091024)
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- function fMakeDisState(objCnts1, pEtcStat, objCnts2) {
-
- if(model.getValue(objCnts1.attribute("ref")) == pEtcStat) {
- objCnts2.disabled = false;
- } else {
- model.setValue(objCnts2.attribute("ref"), "");
- objCnts2.disabled = true;
- }
-
- objCnts2.refresh();
-
- }
-
- function datacheck(){
- for (var i = 1; i < datagrid3.rows; i ++){
- var sdrugcd = model.getValue("/root/main/baseinfo/curdoubtlist[" + i + "]/drugcd");
- if (sdrugcd == ""){
- messageBox(i + "번째 약물코드는 필수 선택항목입니다.", "E999", "");
- return false;
- }
- for (var j = 1; j < datagrid3.rows; j ++){
- var sdrugcd1 = model.getValue("/root/main/baseinfo/curdoubtlist[" + j + "]/drugcd");
- if (i != j){
- if (sdrugcd == sdrugcd1){
- messageBox(j + "번째에서 의뢰약물 중복된 자료가 존재합니다", "E999", "");
- return false;
- }
- }
- }
- }
-
- for (var i = 1; i < grd_curtmed.rows; i ++){
- var sdrugcd = model.getValue("/root/main/baseinfo/curtmedlist[" + i + "]/drugcd");
- var sdeptcd = model.getValue("/root/main/baseinfo/curtmedlist[" + i + "]/deptcd");
- if (sdeptcd == ""){
- messageBox(i + "번째 진료과는 필수 선택항목입니다.", "E999", "");
- return false;
- }
- if (sdrugcd == ""){
- messageBox(i + "번째 약물코드는 필수 선택항목입니다.", "E999", "");
- return false;
- }
-
- // 2011.03.17 pymi
- //현재 복용약물 최초 저장시 동일한 진료과와 약품코드일 경우 경고창을 띄우도록 되어 있는 부분 삭제 요청
- /*for (var j = 1; j < grd_curtmed.rows; j ++){
- var sdrugcd1 = model.getValue("/root/main/baseinfo/curtmedlist[" + j + "]/drugcd");
- var sdeptcd1 = model.getValue("/root/main/baseinfo/curtmedlist[" + j + "]/deptcd");
- if (i != j){
- if (sdrugcd == sdrugcd1 && sdeptcd == sdeptcd1){
- messageBox(j + "번째에서 현재 복용약물 및 환자상태에 중복된 자료가 존재합니다", "E999", "");
- return false;
- }
- }
- }*/
- }
- var non1 = model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn1");
- if (non1 == ""){ non1 = "0"};
- var non2 = model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn2");
- if (non2 == ""){ non2 = "0"};
- var non3 = model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn3");
- if (non3 == ""){ non3 = "0"};
- var non4 = model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn4");
- if (non4 == ""){ non4 = "0"};
- var non5 = model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn5");
- if (non5 == ""){ non5 = "0"};
- var nonall = non1 + non2 + non3 + non4 + non5;
- model.setValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn", nonall);
-
- var cnst1 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst1");
- if (cnst1 == ""){ cnst1 = "0"};
- var cnst2 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst2");
- if (cnst2 == ""){ cnst2 = "0"};
- var cnst3 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst3");
- if (cnst3 == ""){ cnst3 = "0"};
- var cnst4 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst4");
- if (cnst4 == ""){ cnst4 = "0"};
- var cnst5 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst5");
- if (cnst5 == ""){ cnst5 = "0"};
- var cnst6 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst6");
- if (cnst6 == ""){ cnst6 = "0"};
- var cnst7 = model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst7");
- if (cnst7 == ""){ cnst7 = "0"};
- var cnstall = cnst1 + cnst2 + cnst3 + cnst4 + cnst5 + cnst6 + cnst7;
- model.setValue("/root/main/baseinfo/cnsttmedlist/tmedcnst", cnstall);
-
- var majr1 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts1");
- if (majr1 == ""){ majr1 = "0"};
- var majr2 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts2");
- if (majr2 == ""){ majr2 = "0"};
- var majr3 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts3");
- if (majr3 == ""){ majr3 = "0"};
- var majr4 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts4");
- if (majr4 == ""){ majr4 = "0"};
- var majr5 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts5");
- if (majr5 == ""){ majr5 = "0"};
- var majr6 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts6");
- if (majr6 == ""){ majr6 = "0"};
- var majr7 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts7");
- if (majr7 == ""){ majr7 = "0"};
- var majr8 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts7");
- if (majr8 == ""){ majr8 = "0"};
- var majr9 = model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts7");
- if (majr9 == ""){ majr9 = "0"};
- var majrall = majr1 + majr2 + majr3 + majr4 + majr5 + majr6 + majr7 + majr8 + majr9 ;
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts", majrall);
-
- var trgt1 = model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt1");
- if (trgt1 == ""){ trgt1 = "0"};
- var trgt2 = model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt2");
- if (trgt2 == ""){ trgt2 = "0"};
- var trgtall = trgt1 + trgt2;
- model.setValue("/root/main/baseinfo/cnsttmedlist/repltrgt", trgtall);
-
- model.refresh();
- }
- ]]>
- </script>
- <submission id="TRADB00001"/>
- <submission id="TRADC02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/baseinfo"/>
- <submission id="TXADC02801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
- <submission id="TXADC02802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/baseinfo/cnsttmedlist" replace="instance" resultref="/root/hidden"/>
- <submission id="TRADB00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo" replace="instance" resultref="/root/main/srchinfo"/>
- <submission id="TRADB00808" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchdata" replace="instance" resultref="/root/main/copydeptlist"/>
- <submission id="TXADC02803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req" replace="instance" resultref="/root/hidden"/>
- <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSU10117" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRADC00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/srchgrupid" replace="instance" resultref="/root/temp/drugcdlist"/>
- <submission id="TRADC62202" mediatype="application/x-www-form-urlencoded" method="post"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
- <script type="javascript" src="../../../ast/pharmacyconsultweb/js/SPADC62200.js"/>
- <script type="javascript" src="../../../ast/pharmacybaseweb/js/pharmacycombolist.js"/>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,784;">
- <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
- <caption id="caption19" class="tit_1" style="left:0px; top:0px; width:180px; height:14px; ">복약상담 회신서(일반)</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:771px; ">
- <group id="group2" style="left:0px; top:40px; width:1195px; height:95px; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:95px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="output5" ref="/root/main/baseinfo/patinfolist/pid" class="inputt_search" style="left:116px; top:9px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- inputEnterKey("btn_sea","DOMActivate");
- ]]>
- </script>
- </input>
- <output id="output6" ref="/root/main/baseinfo/patinfolist/hngnm" class="output_search" style="left:324px; top:9px; width:110px; height:19px; "/>
- <output id="output7" ref="/root/main/baseinfo/patinfolist/orddeptcd" class="output_search" style="left:324px; top:34px; width:110px; height:19px; "/>
- <output id="output9" ref="/root/main/baseinfo/patinfolist/sna" class="output_search" style="left:116px; top:34px; width:110px; height:19px; "/>
- <caption id="caption2" class="search_name" style="left:20px; top:9px; width:86px; height:17px; ">등록번호 :</caption>
- <caption id="caption25" class="search_name" style="left:247px; top:9px; width:86px; height:17px; ">성명 :</caption>
- <caption id="caption1" class="search_name" style="left:20px; top:34px; width:93px; height:17px; ">성별/나이 :</caption>
- <caption id="caption3" class="search_name" style="left:247px; top:34px; width:86px; height:17px; ">진료과 :</caption>
- <caption id="caption4" class="search_name" style="left:20px; top:58px; width:86px; height:17px; ">병실 :</caption>
- <caption id="caption6" class="search_name" style="left:458px; top:10px; width:86px; height:17px; ">상병정보 :</caption>
- <line id="line15" class="line_1" style="x1:549px; y1:7px; x2:1180px; y2:7px; "/>
- <datagrid id="datagrid1" nodeset="/root/main/baseinfo/diaginfolist" autoresize="true" backcoloralternate="#f0f0f0" caption="싱병코드^영문상병명^한글상병명" colsep="^" colwidth="114, 287, 188" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:549px; top:12px; width:631px; height:73px; ">
- <col ref="diagcd"/>
- <col ref="diagengnm"/>
- <col ref="diaghngnm"/>
- </datagrid>
- <output id="output1" ref="/root/main/baseinfo/patinfolist/orddd" class="output_search" format="yyyy-mm-dd" style="left:324px; top:59px; width:110px; height:19px; text-align:center; "/>
- <output id="output2" ref="/root/main/baseinfo/patinfolist/roomcd" class="output_search" style="left:116px; top:59px; width:110px; height:19px; "/>
- <caption id="caption7" class="search_name" style="left:247px; top:58px; width:86px; height:17px; ">입원일 :</caption>
- <line id="line2" class="line_2" style="x1:25px; y1:30px; x2:435px; y2:30px; "/>
- <line id="line11" class="line_2" style="x1:25px; y1:55px; x2:435px; y2:55px; "/>
- <line id="line24" class="line_2" style="x1:25px; y1:80px; x2:435px; y2:80px; "/>
- <line id="line25" class="line_3" style="x1:549px; y1:86px; x2:1180px; y2:86px; "/>
- <button id="btn_sea" class="btn1_letter2" visibility="hidden" style="left:235px; top:5px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.setValue("/root/send/pid",model.getValue("/root/main/baseinfo/patinfolist/pid"));
- model.removeNodeset("/root/main/baseinfo/curdoubtlist");
- model.removeNodeset("/root/main/baseinfo/curtmedlist");
- model.setValue("/root/main/baseinfo/patinfolist/pid",model.getValue("/root/temp/cnstinfo/pid"));
- model.setValue("/root/send/pid",model.getValue("/root/temp/cnstinfo/pid"));
- model.setValue("/root/send/rgstseqno",model.getValue("/root/temp/cnstinfo/rgstseqno"));
- model.setValue("/root/send/formrecseq", model.getValue("/root/temp/cnstinfo/formrecseq"));
- model.setValue("/root/send/prcpgenrflag", model.getValue("/root/temp/cnstinfo/prcpgenrflag"));
- model.setValue("/root/send/orddd", model.getValue("/root/temp/cnstinfo/orddd"));
- model.setValue("/root/send/cretno", model.getValue("/root/temp/cnstinfo/cretno"));
-
- model.setValue("/root/send/cnstdd", model.getValue("/root/temp/cnstinfo/cnstdd"));
- if (submit("TRADC02801")){
- if (model.getValue("/root/main/baseinfo/cnsttmedlist/formrecseq") == ""){
- model.setValue("/root/main/baseinfo/cnsttmedlist/formrecseq", model.getValue("/root/temp/cnstinfo/formrecseq"));
- model.setValue("/root/main/baseinfo/cnsttmedlist/pid",model.getValue("/root/temp/cnstinfo/pid"));
- }
- model.makeValue("/root/main/baseinfo/cnsttmedlist/cnstseqno",model.getValue("/root/temp/cnstinfo/cnstseqno"));
- if (model.getValue("/root/main/baseinfo/cnsttmedlist/statflag") == "Z"){
- btn_req.disabled = true;
- btn_save.disabled = true;
- btn_del.disabled = true;
- group5.disabled = true;
- }else if (model.getValue("/root/main/baseinfo/cnsttmedlist/statflag") == "D"){
- btn_req.disabled = false;
- btn_save.disabled = false;
- btn_del.disabled = false;
- group5.disabled = false;
- }else{
- btn_req.disabled = true;
- btn_save.disabled = false;
- btn_del.disabled = true;
- group5.disabled = false;
- }
-
- for (var i=1 ; i< grd_curtmed.rows ; i++) {
- if (model.getValue("/root/main/baseinfo/curtmedlist["+ i +"]/ordertype") == "O"){
- grd_curtmed.addStatus(i,"insert");
- }
- }
- // alert("데이타 : " + model.getValue("/root/main/baseinfo/patinfolist/cnstcnts1);
- radio2.dispatch("xforms-value-changed");
- bool7.dispatch("xforms-value-changed");
- bool14.dispatch("xforms-value-changed");
-
- fMakeDisState(cmb_eductrgtman, "99", ipt_eductrgtmanetc);
- fMakeDisState(cmb_educmthd, "99", ipt_educmthdetc);
- fMakeDisState(cmb_educrslt, "99", ipt_educrsltetc);
-
- model.refresh();
- }
- ]]>
- </script>
- </button>
- </group>
- <group id="group5" style="left:0px; top:135px; width:1195px; height:635px; ">
- <line id="line8" class="line_2" style="x1:0px; y1:433px; x2:1194px; y2:433px; "/>
- <output id="output4" ref="/root/main/baseinfo/patinfolist/cnstdrid" class="output_fix" style="left:865px; top:54px; width:125px; height:19px; "/>
- <input id="input7" ref="/root/main/baseinfo/cnsttmedlist/seffcsymp" class="input_default" disabled="true" style="left:636px; top:462px; width:544px; height:19px; "/>
- <datagrid id="grd_curtmed" nodeset="/root/main/baseinfo/curtmedlist" caption="약품코드^약품명^성분명^1일용량^1일횟수^일수^처방일^진료과^처방상태^처방번호^의사전달사항^인지도^특이사항^pid^rgstseqno^caption1^prcpno" colsep="^" colwidth="112, 229, 190, 61, 55, 45, 80, 110, 66, 80, 172, 130, 206, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:0px; top:180px; width:1195px; height:175px; ">
- <col disabled="true" ref="drugcd" type="inputbutton" maxlength="15" _chartype="upper" _key="true"/>
- <col ref="drugnm" style="text-align:left; "/>
- <col ref="comnm" style="text-align:left; "/>
- <col ref="dayvol" type="input" style="text-align:center; "/>
- <col ref="daytims" type="input" style="text-align:center; "/>
- <col ref="days" type="input" visibility="hidden" style="text-align:center; "/>
- <col ref="prcpdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col editmode="inputsearch" ref="deptcd" type="combo" _key="true">
- <choices>
- <itemset nodeset="/root/init/cmb_info/suppdeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </col>
- <col ref="prcpgenrflagnm" style="text-align:center; "/>
- <col ref="drugno"/>
- <col ref="prcpdelivefact"/>
- <col ref="awargrde" type="input"/>
- <col ref="cmt" type="input"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="rgstseqno" visibility="hidden"/>
- <col ref="tmedflag" visibility="hidden"/>
- <col ref="prcpno" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if ( grd_curtmed.col== grd_curtmed.colRef("drugcd") ){
- /*
- model.setValue("/root/send/srchinfo/srchdrugnm", model.getValue("/root/main/tmedinfo/curtmedlist["+grd_curtmed.row+"]/drugcd"));
- submit("TRADB00106");
- grd_druglist.visible=true;
- */
- model.makeValue("/root/temp/receivedata/receiveref", model.getValue("/root/hidden/receivedrugcd"));
- model.makeValue("/root/temp/receivedata/srchflag", "");
- model.makeValue("/root/temp/receivedata/srchcnts", "");
- model.makeValue("/root/temp/receivedata/drugkind","");
- model.makeValue("/root/temp/receivedata/receiveref", "/root/hidden/drugcd");
- model.makeNode("/root/hidden/drugcd");
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- if (model.getValue("/root/hidden/drugcd") !=""){
- model.setValue("/root/main/baseinfo/curtmedlist["+grd_curtmed.row+"]/drugcd", model.getValue("/root/hidden/drugcd"));
- model.makeValue("/root/temp/srchgrupid/drugcd", model.getValue("/root/hidden/drugcd"));
- //alert (model.getValue("/root/temp/srchgrupid/drugcd"));
- submit("TRADC00604");
- //alert (model.getValue("/root/temp/drugcdlist/drugcdlist/drugnm"));
- model.setValue("/root/main/baseinfo/curtmedlist["+ grd_curtmed.row +"]/drugnm" , model.getValue("/root/temp/drugcdlist/drugcdlist/drugnm"));
- model.setValue("/root/main/baseinfo/curtmedlist["+ grd_curtmed.row +"]/comnm" , model.getValue("/root/temp/drugcdlist/drugcdlist/comdesc"));
- }
- model.refresh();
- }
- /*
- if ( grd_curtmed.col== grd_curtmed.colRef("drugnm") ){
- model.setValue("/root/send/srchinfo/srchcd", model.getValue("/root/main/tmedinfo/curtmedlist["+grd_curtmed.row+"]/drugnm"));
- submit("TRADB00106");
- grd_druglist.visible=true;
- }
- */
- ]]>
- </script>
- </datagrid>
- <bool id="bool18" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts4" style="left:403px; top:487px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( bool18.value != 1) {
- bool15.value = 0 ;
- }
- ]]>
- </script>
- </bool>
- <datagrid id="datagrid3" nodeset="/root/main/baseinfo/curdoubtlist" caption="약품코드^약품명^1일용량^1일횟수^일수^초회여부^caption1^caption2^caption3^caption4" colsep="^" colwidth="112, 165, 53, 54, 38, 57, 15, 17, 20, 26" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowsep="|" style="left:43px; top:28px; width:494px; height:72px; ">
- <col disabled="true" ref="drugcd" type="inputbutton"/>
- <col ref="drugnm"/>
- <col ref="dayvol" type="input" style="text-align:center; "/>
- <col ref="daytims" type="input" style="text-align:center; "/>
- <col ref="days" type="input" style="text-align:center; "/>
- <col checkvalue="Y,N" ref="firstyn" type="checkbox"/>
- <col ref="pid" visibility="hidden"/>
- <col ref="rgstseqno" visibility="hidden"/>
- <col ref="deptcd" visibility="hidden"/>
- <col ref="tmedflag" visibility="hidden"/>
- <script type="javascript" ev:event="onbuttonclick">
- <![CDATA[
- if ( datagrid3.col== datagrid3.colRef("drugcd") ){
- model.makeValue("/root/temp/receivedata/receiveref", model.getValue("/root/hidden/receivedrugcd"));
- model.makeValue("/root/temp/receivedata/srchflag", "");
- model.makeValue("/root/temp/receivedata/srchcnts", "");
- model.makeValue("/root/temp/receivedata/drugkind","");
- model.makeValue("/root/temp/receivedata/receiveref", "/root/hidden/drugcd");
- model.makeNode("/root/hidden/drugcd");
- modal("SPADB60100",0,100,150,"SPADB60100","/root/temp/receivedata","/root/temp/receivedata");
- if (model.getValue("/root/hidden/drugcd") !=""){
- model.setValue("/root/main/baseinfo/curdoubtlist["+ datagrid3.row+"]/drugcd", model.getValue("/root/hidden/drugcd"));
- model.makeValue("/root/temp/srchgrupid/drugcd", model.getValue("/root/hidden/drugcd"));
- //alert (model.getValue("/root/temp/srchgrupid/drugcd"));
- submit("TRADC00604");
- model.setValue("/root/main/baseinfo/curdoubtlist["+ datagrid3.row +"]/drugnm" , model.getValue("/root/temp/drugcdlist/drugcdlist/drugnm"));
- //model.setValue("/root/main/baseinfo/curdoubtlist["+ datagrid3.row +"]/comnm" , model.getValue("/root/temp/drugcdlist/drugcdlist/comdesc"));
- }
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line9" class="line_2" style="x1:0px; y1:458px; x2:1194px; y2:458px; "/>
- <input id="input8" ref="/root/main/baseinfo/cnsttmedlist/statflag" class="input_search" visibility="hidden" style="left:865px; top:410px; width:85px; height:19px; "/>
- <bool id="bool19" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts5" style="left:488px; top:487px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( bool19.value != 1) {
- bool15.value = 0 ;
- }
- ]]>
- </script>
- </bool>
- <caption id="caption60" style="left:618px; top:487px; width:106px; height:20px; ">부작용 및 주의사항</caption>
- <button id="button1" class="btn2_letter3" style="left:482px; top:3px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- datagrid3.deleteRow(datagrid3.row);
- ]]>
- </script>
- </button>
- <line id="line20" class="line_2" style="x1:791px; y1:76px; x2:990px; y2:76px; "/>
- <output id="output10" ref="/root/main/baseinfo/patinfolist/repluserid" class="output_fix" style="left:1069px; top:79px; width:125px; height:19px; "/>
- <input id="input9" ref="/root/main/baseinfo/cnsttmedlist/rgstseqno" class="input_search" visibility="hidden" style="left:960px; top:410px; width:85px; height:19px; "/>
- <caption id="caption61" style="left:750px; top:487px; width:106px; height:20px; ">상호작용</caption>
- <line id="line10" class="line_2" style="x1:0px; y1:483px; x2:1194px; y2:483px; "/>
- <line id="line21" class="line_2" style="x1:995px; y1:76px; x2:1194px; y2:76px; "/>
- <output id="output11" ref="/root/main/baseinfo/patinfolist/fstrgstrid" class="output_fix" style="left:1069px; top:54px; width:125px; height:19px; "/>
- <caption id="caption40" class="cell_1" visibility="hidden" style="left:835px; top:528px; width:115px; height:23px; vertical-align:middle; ">재상담 여부</caption>
- <caption id="caption51" visibility="hidden" style="left:734px; top:243px; width:120px; height:20px; ">부작용이 발생한 경우</caption>
- <caption id="caption62" visibility="hidden" style="left:1025px; top:530px; width:90px; height:20px; ">재상담 필요함</caption>
- <caption id="caption30" class="cell_1" style="left:995px; top:78px; width:70px; height:23px; vertical-align:middle; ">회신자</caption>
- <line id="line22" class="line_2" style="x1:995px; y1:51px; x2:1194px; y2:51px; "/>
- <output id="output8" ref="/root/main/baseinfo/patinfolist/cnstdeptcd" class="output_fix" style="left:865px; top:79px; width:125px; height:19px; "/>
- <output id="output12" ref="/root/main/baseinfo/patinfolist/repldd" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:1069px; top:29px; width:125px; height:19px; text-align:center; "/>
- <caption id="caption41" visibility="hidden" style="left:585px; top:411px; width:30px; height:20px; ">환자</caption>
- <caption id="caption52" visibility="hidden" style="left:878px; top:243px; width:134px; height:20px; ">환자가 알고자 하는 경우</caption>
- <caption id="caption63" style="left:260px; top:541px; width:90px; height:20px; ">상담거부</caption>
- <line id="line12" class="line_2" style="x1:791px; y1:51px; x2:990px; y2:51px; "/>
- <caption id="caption31" class="cell_1" style="left:995px; top:28px; width:70px; height:23px; vertical-align:middle; ">회신일시</caption>
- <caption id="caption20" class="cell_1" visibility="hidden" style="left:115px; top:239px; width:115px; height:48px; vertical-align:middle; ">복약상담 필요부분</caption>
- <input id="input10" ref="/root/main/baseinfo/cnsttmedlist/pid" class="input_search" visibility="hidden" style="left:1055px; top:410px; width:85px; height:19px; "/>
- <bool id="bool1" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/repltrgt1" style="left:565px; top:410px; width:20px; height:20px; "/>
- <caption id="caption42" visibility="hidden" style="left:635px; top:411px; width:38px; height:20px; ">보호자</caption>
- <caption id="caption53" visibility="hidden" style="left:1038px; top:243px; width:145px; height:20px; ">Critical Pathway 대상환자</caption>
- <caption id="caption10" class="tit_2" style="left:5px; top:8px; width:144px; height:13px; ">의뢰정보</caption>
- <line id="line13" class="line_2" style="x1:0px; y1:512px; x2:1194px; y2:512px; "/>
- <caption id="caption21" class="cell_1" style="left:0px; top:485px; width:115px; height:27px; vertical-align:middle; ">주요 상담내용</caption>
- <caption id="caption32" class="cell_1" style="left:575px; top:514px; width:115px; height:23px; vertical-align:middle; ">복약 의지</caption>
- <bool id="bool2" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/repltrgt2" style="left:615px; top:410px; width:20px; height:20px; "/>
- <caption id="caption43" style="left:137px; top:438px; width:30px; height:20px; ">잊음</caption>
- <caption id="caption54" visibility="hidden" style="left:255px; top:264px; width:30px; height:20px; ">기타</caption>
- <button id="button6" class="btn2_letter3" style="left:425px; top:3px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- datagrid3.addRow();
- var irow = datagrid3.row;
- model.setValue("/root/main/baseinfo/curdoubtlist["+ irow +"]/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
- model.setValue("/root/main/baseinfo/curdoubtlist["+ irow +"]/deptcd", "0000000000");
- model.setValue("/root/main/baseinfo/curdoubtlist["+ irow +"]/firstyn", "N");
- model.setValue("/root/main/baseinfo/curdoubtlist["+ irow +"]/tmedflag", "1");
- //datagrid3.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption11" class="tit_2" style="left:5px; top:160px; width:115px; height:13px; ">현재 복용약물</caption>
- <button id="btn_grddel" class="btn2_letter3" style="left:1141px; top:154px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_curtmed.deleteRow(grd_curtmed.row);
- ]]>
- </script>
- </button>
- <caption id="caption22" class="cell_1" style="left:0px; top:514px; width:115px; height:48px; vertical-align:middle; ">상담소견</caption>
- <caption id="caption33" class="cell_1" style="left:117px; top:539px; width:115px; height:23px; vertical-align:middle; ">상담 여부</caption>
- <bool id="bool3" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nonadaptresn1" style="left:118px; top:438px; width:20px; height:20px; "/>
- <caption id="caption44" style="left:187px; top:438px; width:62px; height:20px; ">생활패턴</caption>
- <caption id="caption55" style="left:138px; top:487px; width:78px; height:20px; ">다음 사항모두</caption>
- <caption id="caption12" class="tit_2" style="left:5px; top:365px; width:78px; height:13px; ">회신내용</caption>
- <caption id="caption23" style="left:239px; top:515px; width:45px; height:20px; vertical-align:middle; ">(환자)</caption>
- <caption id="caption34" style="left:1167px; top:388px; width:23px; height:20px; vertical-align:middle; ">분</caption>
- <bool id="bool4" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nonadaptresn2" style="left:168px; top:438px; width:20px; height:20px; "/>
- <caption id="caption45" style="left:262px; top:438px; width:62px; height:20px; ">부작용</caption>
- <caption id="caption56" style="left:238px; top:487px; width:112px; height:20px; ">복용(사용)의 중요성</caption>
- <bool id="bool20" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts6" style="left:598px; top:487px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( bool20.value != 1) {
- bool15.value = 0 ;
- }
- ]]>
- </script>
- </bool>
- <line id="line16" class="line_2" style="x1:117px; y1:537px; x2:1194px; y2:537px; "/>
- <caption id="caption24" style="left:395px; top:516px; width:55px; height:20px; vertical-align:middle; ">(보호자)</caption>
- <caption id="caption13" class="cell_1" style="left:1030px; top:385px; width:90px; height:23px; vertical-align:middle; ">상담 소요시간</caption>
- <caption id="caption35" style="left:230px; top:462px; width:40px; height:20px; vertical-align:middle; ">( 종류</caption>
- <bool id="bool5" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nonadaptresn3" style="left:243px; top:438px; width:20px; height:20px; "/>
- <caption id="caption46" style="left:322px; top:438px; width:94px; height:20px; ">중요성 인식 부족</caption>
- <caption id="caption57" style="left:373px; top:487px; width:32px; height:20px; ">약명</caption>
- <bool id="bool21" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts7" style="left:728px; top:487px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( bool21.value != 1) {
- bool15.value = 0 ;
- }
- ]]>
- </script>
- </bool>
- <line id="line1" class="line_1" style="x1:0px; y1:175px; x2:1194px; y2:175px; "/>
- <caption id="caption5" class="cell_1" style="left:0px; top:28px; width:40px; height:74px; vertical-align:middle; ">
- <![CDATA[의뢰
- 약물]]>
- </caption>
- <caption id="caption36" style="left:416px; top:461px; width:55px; height:20px; vertical-align:middle; ">원인약물</caption>
- <caption id="caption14" class="cell_1" style="left:0px; top:385px; width:115px; height:24px; vertical-align:middle; ">학습준비도</caption>
- <datagrid id="grd_druglist" nodeset="/root/main/srchinfo/item" visibility="hidden" caption="약품코드^구코드^약품명" colsep="^" colwidth="117, 100, 324" mergecellsfixedrows="bycolrec" rowsep="|" selectionmode="byrow" style="left:290px; top:240px; width:270px; height:85px; border-width:3px; border-style:solid; ">
- <col ref="drugcd"/>
- <col ref="olddrugcd"/>
- <col ref="drugnm"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- grd_druglist.visible=false;
- model.setValue( "/root/main/tmedinfo/curtmedlist["+grd_curtmed.row+"]/drugcd", model.getValue("/root/main/srchinfo/item["+grd_druglist.row+"]/drugcd") );
- model.setValue( "/root/main/tmedinfo/curtmedlist["+grd_curtmed.row+"]/drugnm", model.getValue("/root/main/srchinfo/item["+grd_druglist.row+"]/drugnm") );
- model.refresh();
- //fSetPrcpCd();
- ]]>
- </script>
- </datagrid>
- <select1 id="radio1" ref="/root/main/baseinfo/cnsttmedlist/pasttmedadapt" appearance="full" cols="4" overflow="visible" style="left:120px; top:413px; width:140px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>상</label>
- <value>1</value>
- </item>
- <item>
- <label>중</label>
- <value>2</value>
- </item>
- <item>
- <label>하</label>
- <value>3</value>
- </item>
- <item>
- <label>신환</label>
- <value>4</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (radio1.value > '0' ) {
- bool24.value = '0';
- bool24.visible = true;
- caption64.visible = true;
- }else {
- bool24.value = '1';
- bool24.visible = false ;
- caption64.visible = false;
- }
- ]]>
- </script>
- </select1>
- <bool id="bool6" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nonadaptresn4" style="left:303px; top:438px; width:20px; height:20px; "/>
- <caption id="caption47" style="left:445px; top:437px; width:42px; height:20px; ">기타</caption>
- <bool id="bool11" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst4" style="left:713px; top:243px; width:20px; height:20px; "/>
- <caption id="caption58" style="left:423px; top:487px; width:62px; height:20px; ">효능 , 효과</caption>
- <bool id="bool22" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/cnstreyn" style="left:1002px; top:530px; width:20px; height:20px; "/>
- <caption id="caption26" class="tit_2" style="left:995px; top:8px; width:144px; height:13px; ">회신정보</caption>
- <line id="line18" class="line_3" style="x1:0px; y1:628px; x2:1194px; y2:628px; "/>
- <input id="input1" ref="/root/main/baseinfo/cnsttmedlist/replusetm" class="input_default" style="left:1125px; top:387px; width:40px; height:19px; text-align:center; "/>
- <caption id="caption37" style="left:605px; top:462px; width:35px; height:20px; vertical-align:middle; ">증상</caption>
- <caption id="caption15" class="cell_1" style="left:0px; top:410px; width:115px; height:23px; vertical-align:middle; ">과거 복약순응도</caption>
- <bool id="bool7" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/nonadaptresn5" style="left:423px; top:438px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn5") == "1"){
- input4.disabled = false;
- }else{
- model.setValue("/root/main/baseinfo/cnsttmedlist/nonadaptetc", "");
- input4.disabled = true;
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <select1 id="radio2" ref="/root/main/baseinfo/cnsttmedlist/seffcyn" appearance="full" cols="2" overflow="visible" style="left:120px; top:463px; width:100px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>아니오</label>
- <value>1</value>
- </item>
- <item>
- <label>예</label>
- <value>2</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/main/baseinfo/cnsttmedlist/seffcyn") == "2"){
- input5.disabled = false;
- input6.disabled = false;
- input7.disabled = false;
- }else{
- input5.disabled = true;
- input6.disabled = true;
- input7.disabled = true;
- model.setValue("/root/main/baseinfo/cnsttmedlist/seffckind", "");
- model.setValue("/root/main/baseinfo/cnsttmedlist/seffccasdrug", "");
- model.setValue("/root/main/baseinfo/cnsttmedlist/seffcsymp", "");
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption48" visibility="hidden" style="left:255px; top:243px; width:140px; height:20px; ">처음 복용(사용)하는 경우</caption>
- <bool id="bool12" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst5" style="left:858px; top:243px; width:20px; height:20px; "/>
- <caption id="caption59" style="left:508px; top:487px; width:84px; height:20px; ">복용법(사용법)</caption>
- <bool id="bool23" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/cnstyn" style="left:237px; top:541px; width:20px; height:20px; "/>
- <line id="line3" class="line_1" style="x1:0px; y1:23px; x2:990px; y2:23px; "/>
- <textarea id="textarea1" ref="/root/main/baseinfo/patinfolist/cnstcnts4" disabled="true" style="left:583px; top:28px; width:205px; height:72px; "/>
- <input id="input2" ref="/root/main/baseinfo/cnsttmedlist/repltrgtnm" class="input_search" visibility="hidden" style="left:680px; top:410px; width:110px; height:19px; "/>
- <caption id="caption27" class="cell_1" style="left:791px; top:53px; width:70px; height:23px; vertical-align:middle; ">의뢰자</caption>
- <caption id="caption38" visibility="hidden" style="left:1184px; top:412px; width:10px; height:20px; vertical-align:middle; ">)</caption>
- <caption id="caption16" class="cell_1" style="left:0px; top:435px; width:115px; height:23px; vertical-align:middle; ">불순응 요인</caption>
- <bool id="bool8" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst1" style="left:233px; top:243px; width:20px; height:20px; "/>
- <caption id="caption49" visibility="hidden" style="left:420px; top:243px; width:140px; height:20px; ">변경된 약물이 있는 경우</caption>
- <bool id="bool13" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst6" style="left:1018px; top:243px; width:20px; height:20px; "/>
- <select1 id="radio3" ref="/root/main/baseinfo/cnsttmedlist/cnstpat" appearance="full" cols="3" overflow="visible" style="left:286px; top:516px; width:100px; 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>
- <line id="line4" class="line_1" style="x1:995px; y1:23px; x2:1194px; y2:23px; "/>
- <caption id="caption8" class="cell_1" style="left:540px; top:28px; width:41px; height:74px; vertical-align:middle; ">
- <![CDATA[전달
- 사항]]>
- </caption>
- <caption id="caption28" class="cell_1" style="left:791px; top:78px; width:70px; height:23px; vertical-align:middle; ">의뢰과</caption>
- <textarea id="textarea2" ref="/root/main/baseinfo/cnsttmedlist/cmt" style="left:118px; top:565px; width:1075px; height:62px; "/>
- <caption id="caption17" class="cell_1" style="left:0px; top:460px; width:115px; height:23px; vertical-align:middle; ">부작용 유무</caption>
- <caption id="caption39" class="cell_1" style="left:117px; top:514px; width:115px; height:23px; vertical-align:middle; ">상담 이해도</caption>
- <input id="input3" ref="/root/main/baseinfo/cnsttmedlist/tmedcnstetc" class="input_search" disabled="true" visibility="hidden" style="left:290px; top:265px; width:850px; height:19px; "/>
- <bool id="bool9" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst2" style="left:398px; top:243px; width:20px; height:20px; "/>
- <bool id="bool14" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst7" style="left:233px; top:264px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst7") == "1"){
- input3.disabled = false;
- }else{
- input3.disabled = true;
- model.setValue("/root/main/baseinfo/cnsttmedlist/tmedcnstetc", "");
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <select1 id="radio4" ref="/root/main/baseinfo/cnsttmedlist/cnstprocer" appearance="full" cols="3" overflow="visible" style="left:451px; top:516px; width:100px; 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>
- <line id="line5" class="line_3" style="x1:995px; y1:101px; x2:1194px; y2:101px; "/>
- <caption id="caption18" class="cell_1" style="left:0px; top:565px; width:115px; height:63px; vertical-align:middle; ">
- <![CDATA[약사
- Comment]]>
- </caption>
- <button id="btn_grdadd" class="btn2_letter3" style="left:1084px; top:154px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grd_curtmed.addRow();
- var irow = grd_curtmed.row;
- model.setValue("/root/main/baseinfo/curtmedlist["+ irow +"]/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
- model.setValue("/root/main/baseinfo/curtmedlist["+ irow +"]/tmedflag", "1");
- //grd_curtmed.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption9" class="cell_1" style="left:791px; top:28px; width:70px; height:23px; vertical-align:middle; ">의뢰일시</caption>
- <caption id="caption29" class="cell_1" style="left:995px; top:53px; width:70px; height:23px; vertical-align:middle; ">작성자</caption>
- <input id="input4" ref="/root/main/baseinfo/cnsttmedlist/nonadaptetc" class="input_default" disabled="true" style="left:494px; top:438px; width:685px; height:19px; "/>
- <bool id="bool15" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts1" style="left:118px; top:487px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (bool15.value== 1) {
- /*
- bool16.value = 1;
- bool17.value = 1;
- bool18.value = 1;
- bool19.value = 1;
- bool20.value = 1;
- bool21.value = 1;
- */
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts2", "1");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts3", "1");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts4", "1");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts5", "1");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts6", "1");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts7", "1");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts8", "1"); // 20110131 wify 경북대병원 식생활 추가
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts9", "1"); // 20110131 wify 경북대병원 혈액검사 추가
- }else{
- /*
- bool16.value = 0;
- bool17.value = 0;
- bool18.value = 0;
- bool19.value = 0;
- bool20.value = 0;
- bool21.value = 0;
- */
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts2", "0");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts3", "0");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts4", "0");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts5", "0");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts6", "0");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts7", "0");
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts8", "0"); // 20110131 wify 경북대병원 식생활 추가
- model.setValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts9", "0"); // 20110131 wify 경북대병원 혈액검사 추가
- }
- model.refresh();
- ]]>
- </script>
- </bool>
- <select1 id="radio5" ref="/root/main/baseinfo/cnsttmedlist/cnsttmedwill" appearance="full" cols="3" overflow="visible" style="left:695px; top:516px; width:100px; 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>
- <line id="line6" class="line_1" style="x1:0px; y1:380px; x2:1194px; y2:380px; "/>
- <input id="input5" ref="/root/main/baseinfo/cnsttmedlist/seffckind" class="input_default" disabled="true" style="left:270px; top:462px; width:135px; height:19px; "/>
- <bool id="bool16" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts2" style="left:218px; top:487px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( bool16.value != 1) {
- bool15.value = 0 ;
- }
- ]]>
- </script>
- </bool>
- <line id="line7" class="line_2" style="x1:0px; y1:408px; x2:1194px; y2:408px; "/>
- <output id="output3" ref="/root/main/baseinfo/patinfolist/cnstdd" class="output_fix" format="yyyy-mm-dd hh:nn" style="left:865px; top:29px; width:125px; height:19px; text-align:center; "/>
- <input id="input6" ref="/root/main/baseinfo/cnsttmedlist/seffccasdrug" class="input_default" disabled="true" style="left:470px; top:461px; width:135px; height:19px; "/>
- <bool id="bool17" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts3" style="left:353px; top:487px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( bool17.value != 1) {
- bool15.value = 0 ;
- }
- ]]>
- </script>
- </bool>
- <bool id="bool24" visibility="hidden" checkvalue="1,0" ref="/root/hidden/pasttmedadaptcls" style="left:275px; top:411px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( bool24.value == '1' ) {
- radio1.value = '0';
- bool24.visible = false;
- caption64.visible = false;
- }else{
- bool24.visible = true;
- caption64.visible = true;
- }
- ]]>
- </script>
- </bool>
- <caption id="caption64" visibility="hidden" style="left:297px; top:412px; width:45px; height:20px; ">Clear</caption>
- <line id="line17" class="line_2" style="x1:0px; y1:562px; x2:1194px; y2:562px; "/>
- <caption id="caption50" visibility="hidden" style="left:580px; top:243px; width:140px; height:20px; ">복약순응도가 낮은 경우</caption>
- <bool id="bool10" visibility="hidden" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/tmedcnst3" style="left:558px; top:243px; width:20px; height:20px; "/>
- <line id="line14" class="line_3" style="x1:0px; y1:149px; x2:990px; y2:149px; "/>
- <line id="line19" class="line_2" style="x1:0px; y1:101px; x2:990px; y2:101px; "/>
- <select id="chk_cnstcnts17" ref="/root/main/baseinfo/patinfolist/cnstcnts17" navindex="4" overflow="visible" appearance="full" cols="5" vcellspacing="3" style="left:135px; top:109px; width:860px; height:38px; border-style:none; ">
- <choices>
- <item>
- <label>처음복용(사용)하는 경우</label>
- <value>1</value>
- </item>
- <item>
- <label>변경된 약물이 있는 경우</label>
- <value>2</value>
- </item>
- <item>
- <label>복약순응도가 낮은 경우</label>
- <value>3</value>
- </item>
- <item>
- <label>부작용이 발생한 경우</label>
- <value>4</value>
- </item>
- <item>
- <label>환자가 알고자 하는 경우</label>
- <value>5</value>
- </item>
- <item>
- <label>Critical Pathway 대상환자</label>
- <value>6</value>
- </item>
- <item>
- <label>기타</label>
- <value>7</value>
- </item>
- </choices>
- </select>
- <input id="ipt_cnstcnts18" ref="/root/main/baseinfo/patinfolist/cnstcnts18" style="left:345px; top:128px; width:645px; height:19px; "/>
- <caption id="caption65" class="cell_1" style="left:0px; top:104px; width:130px; height:45px; ">복약상담필요부분</caption>
- <caption id="caption82" class="cell_1" style="left:202px; top:385px; width:80px; height:23px; vertical-align:middle; ">교육대상자</caption>
- <input id="ipt_eductrgtmanetc" ref="/root/main/baseinfo/cnsttmedlist/eductrgtmanetc" class="input_default" disabled="true" maxlength="15" style="left:367px; top:387px; width:78px; height:19px; "/>
- <caption id="caption84" class="cell_1" style="left:450px; top:385px; width:80px; height:23px; vertical-align:middle; ">교육방법</caption>
- <caption id="caption85" class="cell_1" style="left:740px; top:385px; width:80px; height:23px; vertical-align:middle; ">교육결과</caption>
- <select1 id="cmb_educmthd" ref="/root/main/baseinfo/cnsttmedlist/educmthdcd" appearance="minimal" style="left:533px; top:387px; width:102px; height:19px; ">
- <choices>
- <item>
- <label>구두설명</label>
- <value>1</value>
- </item>
- <item>
- <label>유인물 제공</label>
- <value>2</value>
- </item>
- <item>
- <label>시범 보이기</label>
- <value>3</value>
- </item>
- <item>
- <label>시청각 예제</label>
- <value>4</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- <item>
- <label/>
- <value>-</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fMakeDisState(cmb_educmthd, "99", ipt_educmthdetc);
- ]]>
- </script>
- </select1>
- <input id="ipt_educmthdetc" ref="/root/main/baseinfo/cnsttmedlist/educmthdetc" class="input_default" disabled="true" maxlength="30" style="left:637px; top:387px; width:98px; height:19px; "/>
- <select1 id="cmb_lnprep" ref="/root/main/baseinfo/cnsttmedlist/lnprepcd" appearance="minimal" style="left:120px; top:387px; width:76px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>1</value>
- </item>
- <item>
- <label>N</label>
- <value>2</value>
- </item>
- <item>
- <label/>
- <value>-</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_educrslt" ref="/root/main/baseinfo/cnsttmedlist/educrsltcd" appearance="minimal" style="left:823px; top:387px; width:107px; height:19px; ">
- <choices>
- <item>
- <label>재교육필요</label>
- <value>1</value>
- </item>
- <item>
- <label>보통</label>
- <value>2</value>
- </item>
- <item>
- <label>배운 것을 말로 표현할 수 있음</label>
- <value>3</value>
- </item>
- <item>
- <label>배운 것을 시범 보일 수 있음</label>
- <value>4</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- <item>
- <label/>
- <value>-</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fMakeDisState(cmb_educrslt, "99", ipt_educrsltetc);
- ]]>
- </script>
- </select1>
- <select1 id="cmb_eductrgtman" ref="/root/main/baseinfo/cnsttmedlist/eductrgtmancd" appearance="minimal" style="left:285px; top:387px; width:80px; height:19px; ">
- <choices>
- <item>
- <label>환자</label>
- <value>1</value>
- </item>
- <item>
- <label>보호자</label>
- <value>2</value>
- </item>
- <item>
- <label>환자+보호자</label>
- <value>3</value>
- </item>
- <item>
- <label>기타</label>
- <value>99</value>
- </item>
- <item>
- <label/>
- <value>-</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fMakeDisState(cmb_eductrgtman, "99", ipt_eductrgtmanetc);
- ]]>
- </script>
- </select1>
- <input id="ipt_educrsltetc" ref="/root/main/baseinfo/cnsttmedlist/educrsltetc" class="input_default" disabled="true" maxlength="30" style="left:932px; top:387px; width:93px; height:19px; "/>
- <caption id="caption66" class="cell_1" style="left:410px; top:410px; width:80px; height:23px; vertical-align:middle; ">음 주</caption>
- <caption id="caption67" class="cell_1" style="left:695px; top:410px; width:80px; height:23px; vertical-align:middle; ">출 혈</caption>
- <caption id="caption68" class="cell_1" style="left:960px; top:410px; width:80px; height:23px; vertical-align:middle; ">건강기능식품</caption>
- <select1 id="radio6" ref="/root/main/baseinfo/cnsttmedlist/drunk" visibility="visible" appearance="full" cols="3" overflow="visible" style="left:495px; top:413px; width:190px; 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>
- <select1 id="radio7" ref="/root/main/baseinfo/cnsttmedlist/blooding" visibility="visible" appearance="full" cols="3" overflow="visible" style="left:780px; top:413px; width:130px; 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>
- <select1 id="radio8" ref="/root/main/baseinfo/cnsttmedlist/healthfood" visibility="visible" appearance="full" cols="3" overflow="visible" style="left:1050px; top:413px; width:130px; 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>
- <caption id="caption69" style="left:830px; top:487px; width:106px; height:20px; ">식생활</caption>
- <bool id="bool25" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts8" style="left:808px; top:487px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( bool25.value != 1) {
- bool15.value = 0 ;
- }
- ]]>
- </script>
- </bool>
- <caption id="caption70" style="left:905px; top:487px; width:106px; height:20px; ">혈액검사</caption>
- <bool id="bool26" checkvalue="1,0" ref="/root/main/baseinfo/cnsttmedlist/majrcnstcnts9" style="left:883px; top:487px; width:20px; height:20px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if ( bool26.value != 1) {
- bool15.value = 0 ;
- }
- ]]>
- </script>
- </bool>
- </group>
- </group>
- <group id="group4" scroll="auto" style="left:0px; top:18px; width:1195px; height:27px; ">
- <button id="button2" class="btn3_letter4" style="left:1px; top:5px; width:80px; height:22px; ">
- <caption>약력조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMADB10100",0,0,0,"SMADB10100","/root/main/baseinfo/patinfolist/pid","/root/temp/patinfo/pid");
- ]]>
- </script>
- </button>
- <button id="button3" class="btn3_letter6" style="left:83px; top:5px; width:104px; height:22px; ">
- <caption>통합결과조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- modal("SMAER00800 ","","","","","/root/main/baseinfo/patinfolist/pid","/root/send/data/singdata/srchpid");
- ]]>
- </script>
- </button>
- <button id="button4" class="btn3_letter6" style="left:189px; top:5px; width:104px; height:22px; ">
- <caption>통합기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter("SMMRI00400_param_pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
- open("SMMRI00400");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn3_letter4" style="left:295px; top:5px; width:80px; height:22px; ">
- <caption>약품편람</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMADB01900");
- ]]>
- </script>
- </button>
- <button id="btn_prt" class="btn6_letter2" style="left:564px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 출력정보 인스턴스 생성 - 2009-05-18 김귀남 === 안성심 약사 요청사항
- model.makeNode("/root/hidden/prntinfo/patinfolist");
- model.copyNode("/root/hidden/prntinfo/patinfolist", "/root/main/baseinfo/patinfolist");
-
- // ===============================================================================
- // 상담대상 체크
- // ===============================================================================
- var repltrgt = "";
- var repltrgtnm = model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgtnm")
- //alert("복약상담 필요부분 : " + repltrgtnm);
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt1") == 1 ) { //상담대상 - 환자
- repltrgt += caption41.text;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt2") == 1 ) { //상담대상 - 보호자
- if(repltrgt != "") repltrgt += ", ";
- repltrgt += caption42.text
- if(repltrgtnm != "" ) repltrgt += " - " + repltrgtnm ;
- }
- // *******************************************************************************
-
- // alert("상담대상 : " + repltrgt);
-
- // ===============================================================================
- // 부작용유무 체크
- // ===============================================================================
- var seffcyn = "";
- if(radio2.label != ""){
- var seffcyn = radio2.label;
- if (radio2.value == 2 ) { // 부작용 유무 - 예
- var seffckind = model.getValue("/root/main/baseinfo/cnsttmedlist/seffckind");
- var seffccasdrug = model.getValue("/root/main/baseinfo/cnsttmedlist/seffccasdrug");
- var seffcsymp = model.getValue("/root/main/baseinfo/cnsttmedlist/seffcsymp");
-
- if(seffckind != "" || seffccasdrug != "" || seffcsymp != "")
- seffcyn += "(";
- seffcyn += "종류 : "+ model.getValue("/root/main/baseinfo/cnsttmedlist/seffckind");
- if(seffcyn != "") seffcyn += "\n";
- seffcyn += "원인약물 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/seffccasdrug");
- if(seffcyn != "") seffcyn += "\n";
- seffcyn += "증상 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/seffcsymp");
-
- seffcyn += ")";
- }
- }
- // *******************************************************************************
- //alert("부작용 유무 : " + seffcyn);
-
- // ===============================================================================
- // 복약상담 필요부분 체크
- // ===============================================================================
- var tmedcnst = "" ;
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst1") == 1 ) { //복약상담 필요부분 - 처음 복용(사용하는경우)
- tmedcnst += caption48.text + " ";
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst2") == 1 ) { //복약상담 필요부분 - 변경된 약물이 있는 경우
- if(tmedcnst != "") tmedcnst += "\n";
- tmedcnst += caption49.text + " ";
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst3") == 1 ) { //복약상담 필요부분 - 복약순응도가 낮은 경우
- if(tmedcnst != "") tmedcnst += "\n";
- tmedcnst += caption50.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst4") == 1 ) { //복약상담 필요부분 - 부작용이 발생한 경우
- if(tmedcnst != "") tmedcnst += "\n";
- tmedcnst += caption51.text + " ";
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst5") == 1 ) { //복약상담 필요부분 - 환자가 알고자 하는 경우
- if(tmedcnst != "") tmedcnst += "\n";
- tmedcnst +=caption52.text + " ";
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst6") == 1 ) { //복약상담 필요부분 - Critical Pathway 대상환자
- if(tmedcnst != "") tmedcnst += "\n";
- tmedcnst += caption53.text + " ";
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst7") == 1 ) { //복약상담 필요부분 - 기타
- if(tmedcnst != "") tmedcnst += "\n";
- tmedcnst += caption54.text ;
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnstetc") != "")
- tmedcnst += " - " + model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnstetc") ;
- }
- // *******************************************************************************
- /*alert("복약상담 필요부분 : " + tmedcnst);*/
-
- // ===============================================================================
- // 주요 상담 내용
- // ===============================================================================
- var majrcnstcnts = "" ;
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts1") == 1 ) { //주요 상담내용 - 다음 사항모두
- majrcnstcnts += caption56.text + "\n" +
- caption57.text + "\n" +
- caption58.text + "\n" +
- caption59.text + "\n" +
- caption60.text + "\n" +
- caption61.text;
- }else{
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts2") == 1 ) { //주요 상담내용 - 복용(사용)의 중요성
- majrcnstcnts += caption56.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts3") == 1 ) { //주요 상담내용 - 약명
- if(majrcnstcnts != "" ) majrcnstcnts += "\n";
- majrcnstcnts += caption57.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts4") == 1 ) { //주요 상담내용 - 효능 , 효과
- if(majrcnstcnts != "" ) majrcnstcnts += "\n";
- majrcnstcnts += caption58.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts5") == 1 ) { //주요 상담내용 - 복용법(사용법)
- if(majrcnstcnts != "" ) majrcnstcnts += "\n";
- majrcnstcnts += caption59.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts6") == 1 ) { //주요 상담내용 - 부작용 및 주의사항
- if(majrcnstcnts != "" ) majrcnstcnts += "\n";
- majrcnstcnts += caption60.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts7") == 1 ) { //주요 상담내용 - 상호작용
- if(majrcnstcnts != "" ) majrcnstcnts += "\n";
- majrcnstcnts += caption61.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts8") == 1 ) { //주요 상담내용 - 식생활
- if(majrcnstcnts != "" ) majrcnstcnts += "\n";
- majrcnstcnts += caption69.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts9") == 1 ) { //주요 상담내용 - 혈액검사
- if(majrcnstcnts != "" ) majrcnstcnts += "\n";
- majrcnstcnts += caption70.text + " " ;
- }
- }
- // *******************************************************************************
- //alert("주요상담 내용 : " + majrcnstcnts);
-
-
- // ===============================================================================
- // 상담이해도
- // ===============================================================================
- var cnstintelligibility = "";
- if(radio3.label != ""){
- cnstintelligibility += caption23.value + " : " + radio3.label;
- }
- if(radio4.label != ""){
- if (cnstintelligibility != "") cnstintelligibility += ",";
- cnstintelligibility += caption24.value + " : " + radio4.label;
- }
-
- //alert("상담이해도 : " + cnstintelligibility);
-
- // ===============================================================================
- // 복약의지
- // ===============================================================================
- var cnsttmedwill = "" ; // 복약의지
- if(radio5.label != ""){
- cnsttmedwill = radio5.label;
- }
- // *******************************************************************************
-
- //alert("복약의지 : " + cnsttmedwill);
-
- // ===============================================================================
- // 약사의견
- // ===============================================================================
- var cmt="";
- if (model.getValue("/root/main/baseinfo/cnsttmedlist/cmt") !="" ){
- var cmt = "" ;
- cmt += model.getValue("/root/main/baseinfo/cnsttmedlist/cmt").replace(/\n/gi,"\n");
- }
- // *******************************************************************************
- //alert("약사의견 : " + cmt);
-
- var repldd = model.getValue("/root/main/baseinfo/patinfolist/repldd").substr(0,8); // 회신일시
- var repluserid = model.getValue("/root/main/baseinfo/patinfolist/repluserid") // 회신약사
-
- //alert(repldd + repluserid);
-
- model.makeValue("/root/hidden/prntinfo/prntinfolist/repltrgt",repltrgt); // 상담대상
- model.makeValue("/root/hidden/prntinfo/prntinfolist/seffcyn",seffcyn); // 부작용 유무
- model.makeValue("/root/hidden/prntinfo/prntinfolist/tmedcnst",tmedcnst); // 복약상담 필요부분
- model.makeValue("/root/hidden/prntinfo/prntinfolist/majrcnstcnts",majrcnstcnts); // 주요상담내용
- model.makeValue("/root/hidden/prntinfo/prntinfolist/cnstintelligibility",cnstintelligibility); // 상담이해도
- model.makeValue("/root/hidden/prntinfo/prntinfolist/cnsttmedwill",cnsttmedwill); // 복약의지
- model.makeValue("/root/hidden/prntinfo/prntinfolist/cmt",cmt); // 약사의견
- model.makeValue("/root/hidden/prntinfo/prntinfolist/repldd",repldd); // 회신일자
- model.makeValue("/root/hidden/prntinfo/prntinfolist/repluserid",repluserid); // 회신약사
- // alert("1 : " + repltrgt);
- // alert("1 : " + seffcyn);
- // alert("1 : " + tmedcnst);
- // alert("1 : " + majrcnstcnts);
- // alert("1 : " + cnstintelligibility);
- // alert("1 : " + cnsttmedwill);
- // alert("1 : " + tmedcnst);
- exeReportPreview("RPADC02801", "XMLSTR", "", "", "true","","","","","true"); // 복약상담회신서 (임시) 안성심 약사 요청. 2009-05-19 - 김귀남
-
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn4_letter2" style="left:1022px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( messageBox("","Q002")==6 ) {
- if (datacheck() == false){
- return;
- }
- var update = getGridUpdateData(grd_curtmed);
- model.setValue("/root/send/req/curtmedlist", update);
- var update = getGridUpdateData(datagrid3);
- model.setValue("/root/send/req/curdoubtlist", update);
- model.copyNode("/root/send/req/cnsttmedlist", "/root/main/baseinfo/cnsttmedlist");
- model.makeValue("/root/send/req/cnsttmedlist/statflag", "D"); //저장
- model.makeValue("/root/send/req/cnsttmedlist/cnststat", "21"); //회신임시
- if (submit("TXADC02801")){
- if ( model.getValue("/root/send/rgstseqno") == "" ) {
- model.setValue("/root/send/rgstseqno", model.getValue("/root/hidden/ret/rgstseqno"));
- }
- model.setValue("/root/main/baseinfo/cnsttmedlist/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
- model.setValue("/root/main/baseinfo/cnsttmedlist/statflag", "D");
- //submit("TXADC02802");
- btn_sea.dispatch("DOMActivate");
- model.refresh();
- }
- //submit("TRADC02802",false);
- /*
- model.setValue("/root/main/baseinfo/cnsttmedlist/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
- model.setValue("/root/main/baseinfo/cnsttmedlist/statflag", "D");
- submit("TXADC02802");
- submit("TRADC02803", false);
- */
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- checkKeyColumn("grd_curtmed");
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" style="left:1138px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/baseinfo/cnsttmedlist/pid", model.getValue("/root/send/pid"));
- model.copyNode("/root/send/req/cnsttmedlist", "/root/main/baseinfo/cnsttmedlist");
- model.makeValue("/root/send/req/cnsttmedlist/statflag", ""); //삭제
- if (submit("TXADC02801")){
- btn_sea.dispatch("DOMActivate");
- }
- //submit("TRADC02802",false);
- //submit("TRADC02803");
- ]]>
- </script>
- </button>
- <button id="btn_req" class="btn4_letter2" style="left:1080px; top:5px; width:56px; height:22px; ">
- <caption>회신</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var sTemp = "";
-
- var sEduPrepYN = "";
- var sEduWho = "";
- var sEduWay = "";
- var sEduRslt = "";
-
- if (datacheck() == false){
- return;
- }
-
- if(submit("TRADC62202")){
- var cnststat = model.getValue("/root/hidden/cnststatinfo/cnststat");
- if(cnststat == "04"){
- messageBox("[취소] 더이상 수정하실 수","I004");
- return ;
- }else if (cnststat == "30"){
- messageBox("[회신확정] 더이상 수정하실 수","I004");
- return;
- }
- }
- //회신내역
- var title = "\n\t\t\t\t\t [ 복약상담(일반) 회신서 ]\n" ;
- sTemp = " ";
- if(sTemp != "") sTemp += "\n";
- title += sTemp;
-
- sTemp = "";
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/lnprepcd") != "" && model.getValue("/root/main/baseinfo/cnsttmedlist/lnprepcd") != "-") {
- sTemp += "\n* 학습준비도 : " + cmb_lnprep.label;
- sEduPrepYN = cmb_lnprep.label;
- }
- // if(sTemp != "") sTemp += "\n";
- // title += sTemp;
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/eductrgtmancd") != "" && model.getValue("/root/main/baseinfo/cnsttmedlist/eductrgtmancd") != "-") {
- sTemp += "\n* 교육대상자 : " + cmb_eductrgtman.label;
- sEduWho = cmb_eductrgtman.label;
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/eductrgtmancd") == "99") {
- sTemp += "(" + ipt_eductrgtmanetc.label + ")";
- sEduWho += "(" + ipt_eductrgtmanetc.label + ")";
- }
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/educmthdcd") != "" && model.getValue("/root/main/baseinfo/cnsttmedlist/educmthdcd") != "-") {
- sTemp += "\n* 교육방법 : " + cmb_educmthd.label;
- sEduWay = cmb_educmthd.label;
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/educmthdcd") == "99") {
- sTemp += "(" + ipt_educmthdetc.label + ")";
- sEduWay += "(" + ipt_educmthdetc.label + ")";
- }
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/educrsltcd") != "" && model.getValue("/root/main/baseinfo/cnsttmedlist/educrsltcd") != "-") {
- sTemp += "\n* 교육결과 : " + cmb_educrslt.label;
- sEduRslt = cmb_educrslt.label;
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/educrsltcd") == "99") {
- sTemp += "(" + ipt_educrsltetc.label + ")";
- sEduRslt += "(" + ipt_educrsltetc.label + ")";
- }
- }
-
- if (model.getValue("/root/main/baseinfo/cnsttmedlist/replusetm") != "" ) {
- sTemp += "\n* 상담소요시간 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/replusetm") + caption34.text ;
- }
- title += sTemp;
- sTemp = "";
- sTemp = "\n\n* 과거복약순응도 : " + radio1.label ;
- title += sTemp;
- sTemp = "\n* 음주 : " + radio6.label ;
- title += sTemp;
- sTemp = "\n* 출혈 : " + radio7.label ;
- title += sTemp;
- sTemp = "\n* 건강기능식품 : " + radio8.label ;
- title += sTemp;
- sTemp = " ";
- sTemp = "\n\n* 불순응 요인 : "
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn1") == 1 ) { //불순응 요인 - 잊음
- sTemp += caption43.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn2") == 1 ) { //불순응 요인 - 생활패턴
- sTemp += caption44.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn3") == 1 ) { //불순응 요인 - 부작용
- sTemp += caption45.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn4") == 1 ) { //불순응 요인 - 중요성 인식 부족
- sTemp += caption46.text + " " ;
- }
- if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn5") == 1 ) { //불순응 요인 - 기타
- sTemp += caption47.text + "-" + model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptetc") ;
- }
- title += sTemp;
- sTemp = " ";
- sTemp = "\n\n* 부작용 유무 : " + radio2.label;
- if (radio2.value == 2 ) { // 부작용 유무 - 예
- sTemp += "\n ( 종류 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/seffckind") + " "
- + "\n 원인약물 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/seffccasdrug") + " "
- + "\n 증상 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/seffcsymp") + " )" ;
- }
- title += sTemp;
- // if(isSearchString(chk_cnstcnts17.value, 1)) {
- // sTemp = "\n* 상담의뢰 사유";
- // sTemp += "\n\t- 처음복용(사용)하는 경우"
- // }
- //
- // if(isSearchString(chk_cnstcnts17.value, 2)) {
- // if(sTemp != "") {
- // sTemp += "\n\t- 변경된 약물이 있는 경우"
- // } else {
- // sTemp = "\n* 상담의뢰 사유";
- // sTemp += "\n\t- 변경된 약물이 있는 경우"
- // }
- // }
- //
- // if(isSearchString(chk_cnstcnts17.value, 3)) {
- // if(sTemp != "") {
- // sTemp += "\n\t- 복약순응도가 낮은 경우"
- // } else {
- // sTemp = "\n* 상담의뢰 사유";
- // sTemp += "\n\t- 복약순응도가 낮은 경우"
- // }
- // }
- //
- // if(isSearchString(chk_cnstcnts17.value, 4)) {
- // if(sTemp != "") {
- // sTemp += "\n\t- 부작용이 발생한 경우"
- // } else {
- // sTemp = "\n* 상담의뢰 사유";
- // sTemp += "\n\t- 부작용이 발생한 경우"
- // }
- // }
- //
- // if(isSearchString(chk_cnstcnts17.value, 5)) {
- // if(sTemp != "") {
- // sTemp += "\n\t- 환자가 알고자 하는 경우"
- // } else {
- // sTemp = "\n* 상담의뢰 사유";
- // sTemp += "\n\t- 환자가 알고자 하는 경우"
- // }
- // }
- //
- // if(isSearchString(chk_cnstcnts17.value, 6)) {
- // if(sTemp != "") {
- // sTemp += "\n\t- Critical Pathway 대상환자"
- // } else {
- // sTemp = "\n* 상담의뢰 사유";
- // sTemp += "\n\t- Critical Pathway 대상환자"
- // }
- // }
- //
- // if(isSearchString(chk_cnstcnts17.value, 7)) {
- // if(sTemp != "") {
- // sTemp += "\n\t- 기타(" + model.getValue("/root/main/baseinfo/patinfolist/cnstcnts18") + ")";
- // } else {
- // sTemp = "\n* 상담의뢰 사유";
- // sTemp += "\n\t- 기타(" + model.getValue("/root/main/baseinfo/patinfolist/cnstcnts18") + ")";
- // }
- // }
-
- /*
- sTemp = "";
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt1") == "1" ) {
- sTemp = "\n* 상담대상 : " + caption41.text ;
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt2") == "1" ) {
- if(sTemp != "") {
- sTemp += "/" + caption42.text ;
- } else {
- sTemp = "\n* 상담대상 : " + caption42.text ;
- }
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgtnm") != "" ) {
- if(sTemp != "") {
- sTemp += "/" + model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgtnm");
- } else {
- sTemp = "\n* 상담대상 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgtnm") ;
- }
- }
-
- title += sTemp;
- */
- sTemp = "";
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts1") == 1) {
- sTemp = "\n\n* 주요 상담 내용";
- sTemp += "\n\t- " + caption55.text;
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts2") == "1" ) {
- if(sTemp != "") {
- sTemp += "\n\t- " + caption56.text;
- } else {
- sTemp = "\n* 주요 상담 내용";
- sTemp += "\n\t- " + caption56.text;
- }
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts3") == "1" ) {
- if(sTemp != "") {
- sTemp += "\n\t- " + caption57.text;
- } else {
- sTemp = "\n* 주요 상담 내용";
- sTemp += "\n\t- " + caption57.text;
- }
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts4") == "1" ) {
- if(sTemp != "") {
- sTemp += "\n\t- " + caption58.text;
- } else {
- sTemp = "\n* 주요 상담 내용";
- sTemp += "\n\t- " + caption58.text;
- }
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts5") == "1" ) {
- if(sTemp != "") {
- sTemp += "\n\t- " + caption59.text;
- } else {
- sTemp = "\n* 주요 상담 내용";
- sTemp += "\n\t- " + caption59.text;
- }
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts6") == "1" ) {
- if(sTemp != "") {
- sTemp += "\n\t- " + caption60.text;
- } else {
- sTemp = "\n* 주요 상담 내용";
- sTemp += "\n\t- " + caption60.text;
- }
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts7") == "1" ) {
- if(sTemp != "") {
- sTemp += "\n\t- " + caption61.text;
- } else {
- sTemp = "\n* 주요 상담 내용";
- sTemp += "\n\t- " + caption61.text;
- }
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts8") == "1" ) {
- if(sTemp != "") {
- sTemp += "\n\t- " + caption69.text;
- } else {
- sTemp = "\n* 주요 상담 내용";
- sTemp += "\n\t- " + caption69.text;
- }
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts9") == "1" ) {
- if(sTemp != "") {
- sTemp += "\n\t- " + caption70.text;
- } else {
- sTemp = "\n* 주요 상담 내용";
- sTemp += "\n\t- " + caption70.text;
- }
- }
-
- title += sTemp;
-
- sTemp = "";
- if(radio3.label != "" ) {
- sTemp = "\n\n* 상담 소견";
- sTemp += "\n\t 상담이해도 : 환자(" + radio3.label + ") ";
- }
-
- if(radio4.label != "") {
- if(sTemp != "") {
- sTemp += " 보호자(" + radio4.label + ")";
- } else {
- sTemp = "\n\t 상담이해도 : 보호자(" + radio4.label + ")";
- }
- }
- if(radio5.label != "" ) {
- sTemp += "\n\t 복약의지 : " + radio3.label ;
- }
-
- if(model.getValue("/root/main/baseinfo/cnsttmedlist/cnstyn") == "1" ) {
- sTemp += "\n\t 재상담 여부 : " + caption63.text;
- }
- title += sTemp;
-
- // if (model.getValue("/root/main/baseinfo/cnsttmedlist/cnstreyn" ) == 1) title += "\n* 재상담여부 : 재상담 필요함";
-
- var replcnts = title;
-
-
- // var Ritem1 = "\n\n* 상담대상 : ";
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt1") == 1 ) { //상담대상 - 환자
- // Ritem1 += caption41.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgt2") == 1 ) { //상담대상 - 보호자
- // Ritem1 += caption42.text+ "-" + model.getValue("/root/main/baseinfo/cnsttmedlist/repltrgtnm") ;
- // }
- // if (model.getValue("/root/main/baseinfo/cnsttmedlist/replusetm") != "" ) {
- // Ritem1 += "\n\n 상담소요시간 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/replusetm") + caption34.text ;
- // }
- //
- // var Ritem2 = "\n\n* 과거복약순응도 : " + radio1.label ;
- // var Ritem3 = "\n\n* 불순응 요인 : "
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn1") == 1 ) { //불순응 요인 - 잊음
- // Ritem3 += caption43.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn2") == 1 ) { //불순응 요인 - 생활패턴
- // Ritem3 += caption44.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn3") == 1 ) { //불순응 요인 - 부작용
- // Ritem3 += caption45.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn4") == 1 ) { //불순응 요인 - 중요성 인식 부족
- // Ritem3 += caption46.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn5") == 1 ) { //불순응 요인 - 기타
- // Ritem3 += caption47.text + "-" + model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptetc") ;
- // }
- //
- // var Ritem4 = "\n\n* 부작용 유무 : " + radio2.label;
- // if (radio2.value == 2 ) { // 부작용 유무 - 예
- // Ritem4 += "\n\n ( 종류 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/seffckind") + " "
- // + "\n\n 원인약물 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/seffccasdrug") + " "
- // + "\n\n 증상 : " + model.getValue("/root/main/baseinfo/cnsttmedlist/seffcsymp") + " )" ;
- // }
- //
- // var Ritem5 = "\n\n* 복약상담 필요부분 : " ;
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst1") == 1 ) { //복약상담 필요부분 - 처음 복용(사용하는경우)
- // Ritem5 += caption48.text + " ";
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst2") == 1 ) { //복약상담 필요부분 - 변경된 약물이 있는 경우
- // Ritem5 += caption49.text + " ";
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst3") == 1 ) { //복약상담 필요부분 - 복약순응도가 낮은 경우
- // Ritem5 += caption50.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst4") == 1 ) { //복약상담 필요부분 - 부작용이 발생한 경우
- // Ritem5 += caption51.text + " ";
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst5") == 1 ) { //복약상담 필요부분 - 환자가 알고자 하는 경우
- // Ritem5 +=caption52.text + " ";
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst6") == 1 ) { //복약상담 필요부분 - Critical Pathway 대상환자
- // Ritem5 += caption53.text + " ";
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst7") == 1 ) { //복약상담 필요부분 - 기타
- // Ritem5 += caption54.text + " - " + model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnstetc") ;
- // }
- //
- // var Ritem6 = "\n\n* 주요 상담내용 : " ;
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts1") == 1 ) { //주요 상담내용 - 다음 사항모두
- // Ritem6 += caption55.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts2") == 1 ) { //주요 상담내용 - 복용(사용)의 중요성
- // Ritem6 += caption56.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts3") == 1 ) { //주요 상담내용 - 약명
- // Ritem6 += caption57.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts4") == 1 ) { //주요 상담내용 - 효능 , 효과
- // Ritem6 += caption58.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts5") == 1 ) { //주요 상담내용 - 복용법(사용법)
- // Ritem6 += caption59.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts6") == 1 ) { //주요 상담내용 - 부작용 및 주의사항
- // Ritem6 += caption60.text + " " ;
- // }
- // if ( model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts7") == 1 ) { //주요 상담내용 - 상호작용
- // Ritem6 += caption61.text + " " ;
- // }
- //
- // var Ritem7 = "\n\n* 상담소견 : 상담이해도 : ( 환자 - " + radio3.label + ") (보호자 - " + radio4.label + ") ";
- // Ritem7 += "\n 복 약 의 지 : " + radio5.label ;
- // if (model.getValue("/root/main/baseinfo/cnsttmedlist/cnstreyn" ) == 1) {
- // Ritem7 += "\n 재상담여부 : " + "재상담 필요함 ";
- // }
- // if (model.getValue("/root/main/baseinfo/cnsttmedlist/cnstyn" ) == 1) {
- // Ritem7 += "\n 상 담 여 부 : " + "상담거부 ";
- // }
- //
- // var Ritem8="";
- // if (model.getValue("/root/main/baseinfo/cnsttmedlist/cmt") !="" ){
- // var Ritem8 = "\n\n* 기타약사의견 : " ;
- // Ritem8 += "\n\t" + model.getValue("/root/main/baseinfo/cnsttmedlist/cmt").replace(/\n/gi,"\n\t");
- //
- // }
- // var Ritem = Ritem1 + Ritem2 + Ritem3 + Ritem4 + Ritem5 + Ritem6 + Ritem7 + Ritem8 ;
- var last_str
- last_str += "\n\n* 약사 Comment : " + model.getValue("/root/main/baseinfo/cnsttmedlist/cmt").replace(/\n/gi,"\n\t\t\t ");
- last_str += "\n\n-------------------------------------------------------------------------------\n"
- var replcnts = title + last_str ;
-
-
-
- // 회신내역 서식 팝업 - SPADC62200 - 2008/09/04 김귀남
- var sel = fSendReplForm(replcnts);
- if(sel == "cfm"){
- //저장
- model.makeNode("/root/main/baseinfo/cnsttmedlist/replid");
- model.setValue("/root/temp/popupdata/repltype","med");
- modal("SPADC62300",0,400,300,"SPADC62300","/root/temp/popupdata","/root/temp/popupdata");
- var replid = model.getValue("/root/main/baseinfo/cnsttmedlist/replid");
- if(replid != ""){
- var update = getGridUpdateData(grd_curtmed);
- model.setValue("/root/send/req/curtmedlist", update);
- var update = getGridUpdateData(datagrid3);
- model.setValue("/root/send/req/curdoubtlist", update);
- model.copyNode("/root/send/req/cnsttmedlist", "/root/main/baseinfo/cnsttmedlist");
- model.makeValue("/root/send/req/cnsttmedlist/statflag", "Z"); //회신
- model.makeValue("/root/send/req/cnsttmedlist/cnststat", "22"); //회신
-
- model.makeValue("/root/send/req/cnsttmedlist/repluserid", replid); //adchcnstinfo / mmrhcnstinfo 회신자 처리
- model.makeValue("/root/send/req/cnsttmedlist/replcnts", replcnts);
-
- model.makeValue("/root/send/req/cnsttmedlist/emreduyn", model.getValue("/root/init/cmblist/jciyn/JCI1[2]/cdid")); //다학제연동여부
-
- if(sEduPrepYN == "" ) {
- messageBox("학습준비도는", "I003");
- return;
- }
-
- //다학제 저장 정보 set
- model.makeValue("/root/send/req/edudata/pid", model.getValue("/root/temp/cnstinfo/pid"));
- model.makeValue("/root/send/req/edudata/orddd", model.getValue("/root/temp/cnstinfo/orddd"));
- model.makeValue("/root/send/req/edudata/cretno", model.getValue("/root/temp/cnstinfo/cretno"));
- model.makeValue("/root/send/req/edudata/scrnid", "SMADC02800");
- model.makeValue("/root/send/req/edudata/eduprepyn", sEduPrepYN);
- model.makeValue("/root/send/req/edudata/eduwho", sEduWho);
- model.makeValue("/root/send/req/edudata/eduway", sEduWay);
- model.makeValue("/root/send/req/edudata/edurslt", sEduRslt);
-
- if (submit("TXADC02801")){
- if ( model.getValue("/root/send/rgstseqno") == "" ) {
- model.setValue("/root/send/rgstseqno", model.getValue("/root/hidden/ret/rgstseqno"));
- }
- model.setValue("/root/main/baseinfo/cnsttmedlist/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
- model.setValue("/root/main/baseinfo/cnsttmedlist/statflag", "Z");
- //submit("TXADC02802");
- btn_sea.dispatch("DOMActivate");
- model.refresh();
- }
- }
- model.refresh();
- }
- // var v_ptext ="[회신내용]"
- // +"상담대상 : "+"NG!!넣어야함"
- // +"상담 소요시간 : "+"NG!!넣어야함"
- // +"과거 복약순응도 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/pasttmedadapt")
- // +"불순응 요인 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/nonadaptresn")
- // +"부작용 유무 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/seffcyn")
- // +"복약상담 필요부분 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/pasttmedadapt")
- // +"과거 복약순응도 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/tmedcnst")
- // +"주요 상담내용 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/majrcnstcnts")
- // +"상담소견 : "
- // +"1)상담 이해도 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/cnstcomment")
- // +"2)재상담 여부 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/cnstcomment")
- // +"3)복약 의지 : "+"NG!!넣어야함"
- // +"4)상담 여부 : "+"NG!!넣어야함"
- // +"기타 약사의견 : "+model.getValue("/root/main/baseinfo/cnsttmedlist/cmt");
- //
- // var v_stext = zesfSignData( v_ptext , getUserId(), true );
- // model.setValue( "/root/stext", v_stext );
- //
- //
- // //인증저장 성공시 statflag 업데이트
- // if( model.getValue("/root/stext") !="") {
- // model.copyNode("/root/send/req/cnsttmedlist", "/root/main/baseinfo/cnsttmedlist");
- // model.makeValue("/root/send/req/cnsttmedlist/statflag", "Z"); //회신
- // model.makeValue("/root/send/req/cnsttmedlist/cnststat", "22"); //회신임시
- //
- // if (submit("TXADC02803")){
- // btn_sea.dispatch("DOMActivate");
- // }
- // /*
- // var update = getGridUpdateData(grd_curtmed);
- // // var update = model.getValue("/root/send/req/data");
- // if(update == ""){
- // // messageBox("업데이트 정보가 없습니다.", "I");
- // // return 0;
- //
- // } else {
- // model.setValue("/root/send/req/data", update);
- // alert(update);
- // submit("TXADC02801");
- // //submit("TRADC02802",false);
- // }
- // model.setValue("/root/main/baseinfo/cnsttmedlist/pid", model.getValue("/root/main/baseinfo/patinfolist/pid"));
- // model.setValue("/root/main/baseinfo/cnsttmedlist/statflag", "Z");
- //
- // submit("TXADC02802");
- // //submit("TRADC02803", false);
- //
- // btn_save.disabled = true;
- // btn_req.disabled = true;
- // btn_del.disabled = true;
- // btn_sea.dispatch("DOMActivate");
- // model.refresh();
- // */
- // }
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusIn">
- <![CDATA[
- checkKeyColumn("grd_curtmed");
- ]]>
- </script>
- </button>
- <button id="button7" class="btn3_letter10" visibility="hidden" style="left:622px; top:5px; width:152px; height:22px; ">
- <caption>환자교육통합기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //pat_info = "I"+"▦"+ model.getValue("/root/temp/cnstinfo/pid") +"▦"+ model.getValue("/root/temp/cnstinfo/orddd") +"▦"+model.getValue("/root/temp/cnstinfo/cretno")+"▦"+ getUserInfo("dutplceinstcd")+"▦"+ "";
- //setParameter("condparam", pat_info);
- //modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
-
- setParameter("SMMRJ00200_pid", model.getValue("/root/temp/cnstinfo/pid"));
- modal("SMMRJ00200");
- ]]>
- </script>
- </button>
- <button id="button8" class="btn3_letter4" style="left:376px; top:5px; width:80px; height:22px; ">
- <caption>처방조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter ("SPMMO14900_pid" , model.getValue("/root/main/baseinfo/patinfolist/pid")); //등록번호
- setParameter ("SPMMO14900_hngnm" , model.getValue("/root/main/baseinfo/patinfolist/hngnm")); //성명
- open("SPMMO14900");
- ]]>
- </script>
- </button>
- <button id="button9" class="btn3_letter6" style="left:458px; top:5px; width:104px; height:22px; ">
- <caption>투약기록조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- open("SMMNR04500");
- ]]>
- </script>
- </button>
- </group>
- </xhtml:body>
- </xhtml:html>
|