123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389 |
- <?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>
- <hospice>
- <hospicelist>
- <nsgbn/>
- <cltgbn/>
- <pid/>
- <hngnm/>
- <sexage/>
- <termengnm/>
- <intvdd/>
- <waitdd/>
- <distributedd/>
- <reqtypeflag/>
- <reqtypehtfa/>
- <reqresnflag/>
- <mngtprescd/>
- <enddd/>
- <exptresn/>
- <waitenddd/>
- <waitendresn/>
- <dschdd/>
- <dschtype/>
- <dschresn/>
- <dschlnk/>
- <indd/>
- <cretno/>
- <instcd/>
- <cretdd/>
- <crettm/>
- <waitstat/>
- <status/>
- <rrgstno/>
- <dethyn/>
- <dethdt/>
- <reqdeptcd/>
- <reqdd/>
- <atdoctid/>
- <atdoctnm/>
- <reqtypeflags/>
- <wardcd/>
- <diagi/>
- <diagii/>
- <inrmflag/>
- </hospicelist>
- <reqcncllist>
- <pid/>
- <hngnm/>
- <cncldd/>
- </reqcncllist>
- </hospice>
- <cond>
- <fbrthdd/>
- <lbrthdd/>
- </cond>
- <hospiceinfo>
- <hospicedetl>
- <pid/>
- <hngnm/>
- <sexage/>
- <religncd/>
- <patcntctel/>
- <procercntctel/>
- <rrgstno/>
- <baptnm/>
- <zipcd1/>
- <zipcd2/>
- <zipcdseq/>
- <detladdr/>
- <zipcode/>
- <supaddr/>
- <termengnm/>
- <diagcd1/>
- <diagcd2/>
- <reqdd/>
- <reqindd/>
- <reqtypeflag/>
- <reqhospnm/>
- <reqhospnm_bak/>
- <reqtypespec/>
- <reqtypespec_bak/>
- <icdrroomcd/>
- <icdrindd/>
- <reqresnflag/>
- <reqresnetc/>
- <mngtprescd/>
- <roomgrdecd/>
- <calcscoryn_tmp/>
- <calcscoryn>N</calcscoryn>
- <remark/>
- <intvdd/>
- <inrmdd/>
- <inrmtm/>
- <waitdd/>
- <waitdd2/>
- <roomcd/>
- <enddd/>
- <exptresn/>
- <exptresnetc/>
- <waitenddd/>
- <waitendresn/>
- <waitendresnetc/>
- <dschdd/>
- <dschtype/>
- <dschresn/>
- <dschresnetc/>
- <dschlnk/>
- <dschlnketc/>
- <cncrawaryn/>
- <procncrawaryn/>
- <endawaryn/>
- <proendawaryn/>
- <indd/>
- <cretno/>
- <cretdd/>
- <crettm/>
- <instcd/>
- <waitstat/>
- <agonaldd/>
- <agonalplcecd/>
- <reqdeptcd/>
- <atdoctid/>
- <atdoctnm/>
- <status/>
- <wardcd/>
- <atdoctid/>
- </hospicedetl>
- </hospiceinfo>
- <newpatientinfo>
- <newpatinfo>
- <pid/>
- <indd/>
- <cretno/>
- <orddrid/>
- <orddrnm/>
- <orddeptcd/>
- <dschdd/>
- <enddd/>
- <waitenddd/>
- <hngnm/>
- <sexage/>
- <orddeptnm/>
- <reqdd/>
- <waitdd/>
- <inrmdd/>
- <status/>
- <indschacptstat/>
- </newpatinfo>
- </newpatientinfo>
- </main>
- <send>
- </send>
- <temp>
- <hospice_popmenu>
- <menu>
- <name>호스피스 기록지</name>
- <func>fhospice_popmenu</func>
- </menu>
- <menu>
- <name>Hospice follow up sheet</name>
- <func>fhospice_follow</func>
- </menu>
- <menu>
- <name>환자가족 등록</name>
- <func>fhospice_famy</func>
- </menu>
- <menu>
- <name>사별가족 조회</name>
- <func>fhospice_agonal</func>
- </menu>
- <menu>
- <name>의뢰서 조회</name>
- <func>fhospice_rec</func>
- </menu>
- <menu>
- <name>사별가족기록</name>
- <func>fhospice_agonalrec</func>
- </menu>
- <menu>
- <name>가족 상담</name>
- <func>fhospice_famyconsult</func>
- </menu>
- </hospice_popmenu>
- <hospice_popmenu2>
- <menu2>
- <name>환자가족 등록</name>
- <func>fhospice_famy</func>
- </menu2>
- <menu2>
- <name>사별가족 조회</name>
- <func>fhospice_agonal</func>
- </menu2>
- <menu2>
- <name>의뢰서 조회</name>
- <func>fhospice_rec</func>
- </menu2>
- <menu2>
- <name>사별가족기록</name>
- <func>fhospice_agonalrec</func>
- </menu2>
- <menu2>
- <name>가족 상담</name>
- <func>fhospice_famyconsult</func>
- </menu2>
- </hospice_popmenu2>
- <hospice_popmenu3>
- <menu3>
- <name>호스피스 기록지</name>
- <func>fhospice_popmenu</func>
- </menu3>
- <menu3>
- <name>환자가족 등록</name>
- <func>fhospice_famy</func>
- </menu3>
- <menu3>
- <name>사별가족 조회</name>
- <func>fhospice_agonal</func>
- </menu3>
- <menu3>
- <name>의뢰서 조회</name>
- <func>fhospice_rec</func>
- </menu3>
- <menu3>
- <name>사별가족기록</name>
- <func>fhospice_agonalrec</func>
- </menu3>
- <menu3>
- <name>가족 상담</name>
- <func>fhospice_famyconsult</func>
- </menu3>
- </hospice_popmenu3>
- <hospicegubun>1 2</hospicegubun>
- <hospicestsgb/>
- <pamcgubun>W</pamcgubun>
- <htfa>
- <htfacnt>
- <waitstat/>
- <pid/>
- <cretdd/>
- <crettm/>
- <reqdd/>
- <waitdd/>
- <cretno/>
- <indd/>
- <inwaitcnt/>
- </htfacnt>
- <cnt/>
- </htfa>
- <refnm/>
- <refflag>1</refflag>
- <resncd/>
- </temp>
- <init>
- <P0157list>
- <cdid/>
- <cdnm/>
- </P0157list>
- <M0477detl>
- <cdid/>
- <cdnm/>
- </M0477detl>
- <M0203detl>
- <cdid/>
- <cdnm/>
- </M0203detl>
- <M0202detl>
- <cdid/>
- <cdnm/>
- </M0202detl>
- <M0468detl>
- <cdid/>
- <cdnm/>
- </M0468detl>
- <P0025list>
- <cdid/>
- <cdnm/>
- </P0025list>
- <M0294detl>
- <cdid/>
- <cdnm/>
- </M0294detl>
- <M0297detl>
- <cdid/>
- <cdnm/>
- </M0297detl>
- <M0298detl>
- <cdid/>
- <cdnm/>
- </M0298detl>
- <M0299detl>
- <cdid/>
- <cdnm/>
- </M0299detl>
- <M0300detl>
- <cdid/>
- <cdnm/>
- </M0300detl>
- <M0301detl>
- <cdid/>
- <cdnm/>
- </M0301detl>
- <M0302detl>
- <cdid/>
- <cdnm/>
- </M0302detl>
- <M0303detl>
- <cdid/>
- <cdnm/>
- </M0303detl>
- <M0304detl>
- <cdid/>
- <cdnm/>
- </M0304detl>
- <M0305detl>
- <cdid/>
- <cdnm/>
- </M0305detl>
- <M0306detl>
- <cdid/>
- <cdnm/>
- </M0306detl>
- <M0307detl>
- <cdid/>
- <cdnm/>
- </M0307detl>
- <M0308detl>
- <cdid/>
- <cdnm/>
- </M0308detl>
- <M0469detl>
- <cdid/>
- <cdnm/>
- </M0469detl>
- <M0470detl>
- <cdid/>
- <cdnm/>
- </M0470detl>
- <M0471detl>
- <cdid/>
- <cdnm/>
- </M0471detl>
- <M0472detl>
- <cdid/>
- <cdnm/>
- </M0472detl>
- <M0476detl>
- <cdid/>
- <cdnm/>
- </M0476detl>
- <cdid/>
- <cdnm/>
- <diagsuplist>
- <cdnm/>
- <cdid/>
- </diagsuplist>
- <diaglowlist>
- <cdnm/>
- <cdid/>
- </diaglowlist>
- </init>
- <hidden>
- <cnt/>
- <orddeptlist>
- <dept>
- <depthngnm/>
- <deptcd/>
- <ordclsdeptflag/>
- </dept>
- </orddeptlist>
- <drlist>
- <drid/>
- <drnm/>
- </drlist>
- </hidden>
- </root>
- </instance>
- <submission id="TRMNH02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/hospicelist"/>
- <submission id="TRMNH02902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/hospiceinfo"/>
- <submission id="TXMNH02903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <submission id="TRMNH02904" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/htfa"/>
- <submission id="TXMNH02905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <submission id="TXMNH02906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <submission id="TRZSD00206" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <!--20090825 dhkim 신환등록가능여부조회-->
- <submission id="TRMNH02907" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/newpatientinfo/newpatinfo"/>
- <!--20090825 dhkim 신환등록-->
- <submission id="TXMNH02907" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../emr/agonalcareweb/js/SMMNH02900.js"/>
- <script type="javascript" src="../../../emr/agonalcareweb/js/SMMNH00001.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
- <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- grd_hospicelist.explorerbar = "sort";
- fPamcChange();//구분에 따른 그리드 컬럼 정의
- //상단 컨트롤 세팅
- lb_resncd.visible = false; //제외사유
- cmb_resncd.visible =false;
- cmb_waitstat.visible = false;
-
- ipt_lbrthdd.value = getCurrentDate();
- ipt_fbrthdd.value = getAddDay(15);
-
- //하단 컨트롤 세팅
- ipt_baptnm.disabled = true;
- cmb_mngtprescd.disabled = true;
-
- ipt_waitenddd.disabled = true;
- cmb_waitendresn.disabled = true;
- ipt_waitendresnetc.disabled = true;
- ipt_enddd.disabled = true;
- cmb_exptresn.disabled = true;
- ipt_exptresnetc.disabled = true;
- ipt_dschdd.disabled = true;
- cmb_dschresn.disabled = true;
- ipt_dschresnetc.disabled = true;
- cmb_dschtype.disabled = true;
- cmb_dschlnk.disabled = true;
- ipt_dschlnketc.disabled = true;
- ipt_inrmdd.disabled = true;//입실일
-
- zbcfGetCodeList(new Array("P0157","M0477","M0203","M0202",
- "M0468","P0025","M0294","M0297",
- "M0298","M0299","M0300","M0301",
- "M0302","M0303","M0304","M0305",
- "M0306","M0307","M0308","M0469",
- "M0470","M0471","M0472","M0476"),
- new Array("/root/init/P0157list","/root/init/M0477detl","/root/init/M0203detl","/root/init/M0202detl"
- ,"/root/init/M0468detl","/root/init/P0025list","/root/init/M0294detl","/root/init/M0297detl"
- ,"/root/init/M0298detl","/root/init/M0299detl","/root/init/M0300detl","/root/init/M0301detl"
- ,"/root/init/M0302detl","/root/init/M0303detl","/root/init/M0304detl","/root/init/M0305detl"
- ,"/root/init/M0306detl","/root/init/M0307detl","/root/init/M0308detl","/root/init/M0469detl"
- ,"/root/init/M0470detl","/root/init/M0471detl","/root/init/M0472detl","/root/init/M0476detl"));
-
- var dt = getCurrentDate();
- var instcd = getUserInfo("dutplceinstcd");
- var standard_yn = "rcptuseyn";
- var ord_deptflag = 'X';
- var rslt_ref = "/root/hidden/orddeptlist";
- var sort_field = "depthngnm";
- var sort_method = "asc";
-
- if ( getUserInfo("dutplceinstcd") == "012" ) {
- cap_calcscoryn.visible = true;
- cmb_calcscoryn.visible = true;
- cmb_calcscoryn.disabled = true;
- } else {
- cap_calcscoryn.visible = false;
- cmb_calcscoryn.visible = false;
- }
-
- /////zbcfGetDeptCodeList(instcd, standard_yn, ord_deptflag, rslt_ref, sort_field, sort_method); //부서코드 콤보조회
- /////zsdfGetOutOrdDeptList( instcd, rslt_ref, sort_field, sort_method, dt );
- // 간호외래진료부서콤보 (특정하위부서를 포함- 분만실, 육아상담실, 인공신장실)
- zsdfGetCareOutOrderDepartmentList(instcd, rslt_ref, dt);
-
- model.removeNodeset("/root/main/hospice/hospicelist");
- fSearch();
- ]]>
- </script>
- <submission id="TRMNH02905" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/diagsuplist"/>
- <submission id="TRMNH02906" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/diaglowlist"/>
- <submission id="TRMNH02903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/drlist"/>
- <submission id="TXMNH02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata"/>
- </model>
- <script type="javascript">
- <![CDATA[
- var fromdd;
- var todd;
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,-2;1,1220;2,-2;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:754px; background-color:transparent; ">
- <!--(20101206) 경북대
- <datagrid id="grd_hospicelist" nodeset="/root/main/hospice/hospicelist" class="datagrid2" scroll="auto" autoresize="true" caption="의뢰
경로^등록번호^환자명^S/A^진단명^의뢰일^의뢰
형태^의뢰과/의뢰병원^의사명^면담일^의뢰사유^관리현황^대기전환일^분산전환일^현병실^입실일^서비스
종료일^서비스
종료사유^대기
종료일^대기
종료사유^퇴실일^퇴실
형태^퇴실사유^퇴실후연계^입원일자^생성번호^기관코드^생성일자^생성시간^환자구분^입실경로^컨설트
입원예약키^주민번호^사망
여부^사망일시^의뢰과^주치의ID^의뢰형태^병동코드^상위진단코드^하위진단코드^입실여부" colsep="^" colwidth="40, 70, 70, 50, 155, 75, 40, 130, 65, 75, 110, 110, 75, 75, 60, 75, 75, 115, 75, 70, 75, 60, 115, 115, 65, 100, 100, 100, 100, 100, 100, 100, 100, 45, 100, 100, 100, 100, 100, 100, 100, 100" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" navindex="6" style="left:0px; top:73px; width:1194px; height:425px; ">
- -->
- <datagrid id="grd_hospicelist" nodeset="/root/main/hospice/hospicelist" class="datagrid2" scroll="auto" autoresize="true" caption="의뢰
경로^의뢰
종류^등록번호^환자명^S/A^진단명^의뢰일^의뢰
형태^의뢰과/의뢰병원^의사명^면담일^의뢰사유^관리현황^대기전환일^분산전환일^현병실^입실일^서비스
종료일^서비스
종료사유^대기
종료일^대기
종료사유^퇴실일^퇴실
형태^퇴실사유^퇴실후연계^입원일자^생성번호^기관코드^생성일자^생성시간^환자구분^입실경로^컨설트
입원예약키^주민번호^사망
여부^사망일시^의뢰과^주치의ID^의뢰형태^병동코드^상위진단코드^하위진단코드^입실여부" colsep="^" colwidth="40, 40, 70, 70, 50, 155, 75, 40, 130, 65, 75, 110, 110, 75, 75, 60, 75, 75, 115, 75, 70, 75, 60, 115, 115, 65, 100, 100, 100, 100, 100, 100, 100, 100, 45, 100, 100, 100, 100, 100, 100, 100, 100" defaultrows="1" ellipsis="true" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" tooltip="true" navindex="6" style="left:0px; top:75px; width:1194px; height:425px; ">
- <!--(20101206) 경북대 -->
- <col ref="nsgbn" style="left:20px; top:32px; width:45px; height:23px; text-align:center; "/>
- <col ref="cltgbn" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sexage" style="text-align:center; "/>
- <col ref="termengnm"/>
- <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="reqtypeflag" style="text-align:center; "/>
- <col ref="reqtypehtfa"/>
- <col ref="atdoctnm" style="text-align:center; "/>
- <col ref="intvdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="reqresnflag"/>
- <col ref="mngtprescd"/>
- <col ref="waitdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="waitdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="roomcd" style="text-align:center; "/>
- <col ref="inrmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="enddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="exptresn"/>
- <col ref="waitenddd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="waitendresn"/>
- <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="dschtype"/>
- <col ref="dschresn"/>
- <col ref="dschlnk"/>
- <col ref="indd"/>
- <col ref="cretno"/>
- <col ref="instcd"/>
- <col ref="cretdd"/>
- <col ref="crettm"/>
- <col ref="waitstat"/>
- <col ref="status"/>
- <col ref="reqformrecseq"/>
- <col ref="rrgstno"/>
- <col ref="dethyn" style="text-align:center; "/>
- <col ref="dethdt"/>
- <col ref="reqdeptcd"/>
- <col ref="atdoctid"/>
- <col ref="reqtypeflags"/>
- <col ref="wardcd"/>
- <col ref="diagi"/>
- <col ref="diagii"/>
- <col ref="inrmflag"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if(isDataCell()){
- fClicedGrid();
- /*var RowCnt = grd_hospicelist.row;
- if(RowCnt == 0 ){
- return;/root/main/hospice/hospicelist
- }
- if(model.getValue("/root/main/hospice/hospicelist["+ grd_hospicelist.row + "]/status") =="I"){
- messageBox("재원환자가 아니면 상단정보를 올릴 수","I004");
- return;
- }
- var param = "I" + "▦"
- + model.getValue("/root/main/hospice/hospicelist["+ grd_hospicelist.row + "]/pid") + "▦"
- + model.getValue("/root/main/hospice/hospicelist["+ grd_hospicelist.row + "]/indd") + "▦"
- + model.getValue("/root/main/hospice/hospicelist["+ grd_hospicelist.row + "]/cretno") + "▦"
- + model.getValue("/root/main/hospice/hospicelist["+ grd_hospicelist.row + "]/instcd") + "▦"
- + getCurrentDate() ;
- setParameter("condparam", param);
-
- modal("SPMMO08900", 1, "", "", "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
- */
- }
- //20091013 dhkim 더블클릭시 종료버튼들 disabled
- //fInitEndBtn("DC");
- fInitEndBtn();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == 3){
- if( model.getValue("/root/temp/pamcgubun") == "R" ) {//의뢰
- if(grd_hospicelist.isCell(event.target) && grd_hospicelist.mouseRow >= grd_hospicelist.fixedrows){
- window.setPopupMenu(true, "/root/temp/hospice_popmenu2/menu2", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }else if( (model.getValue("/root/temp/pamcgubun") == "W")||(model.getValue("/root/temp/pamcgubun") == "D") ) {//대기, 분산
- if(grd_hospicelist.isCell(event.target) && grd_hospicelist.mouseRow >= grd_hospicelist.fixedrows){
- window.setPopupMenu(true, "/root/temp/hospice_popmenu3/menu3", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }else {
- if(grd_hospicelist.isCell(event.target) && grd_hospicelist.mouseRow >= grd_hospicelist.fixedrows){
- window.setPopupMenu(true, "/root/temp/hospice_popmenu/menu", "name", "func", false);
- }else{
- window.setPopupMenu(false);
- }
- }
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_hospicelist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <line id="line8" class="line_1" style="x1:0px; y1:68px; x2:1194px; y2:68px; "/>
- <group id="grp_sea" style="left:0px; top:9px; width:1194px; height:56px; vertical-align:top; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:55px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption5" class="search_name" visibility="hidden" style="left:630px; top:10px; width:86px; height:17px; ">조회기간 :</caption>
- <button id="btn_search" class="btn1_letter2" navindex="5" style="left:1125px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var refCond = model.getValue("/root/temp/refnm");
- if( refCond != "" ) {
- if( refCond.isNumber() ) {//숫자이면 등록번호, 아니면 환자명 체크
- model.setValue("/root/temp/refflag", "1");
- }else {
- model.setValue("/root/temp/refflag", "2");
- }
- }
-
- fSearch();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1105px; y1:7px; x2:1105px; y2:29px; "/>
- <input id="ipt_fbrthdd" ref="/root/main/cond/fbrthdd" class="input_default" navindex="1" visibility="hidden" inputtype="date" style="left:717px; top:10px; width:85px; height:19px; "/>
- <caption id="caption2" class="search_no_b" visibility="hidden" style="left:805px; top:10px; width:12px; height:17px; ">~</caption>
- <input id="ipt_lbrthdd" ref="/root/main/cond/lbrthdd" class="input_default" navindex="2" visibility="hidden" inputtype="date" style="left:820px; top:10px; width:85px; height:19px; "/>
- <select1 id="rdo_pamcgubun" ref="/root/temp/pamcgubun" class="radio_search" navindex="4" appearance="full" cols="7" overflow="visible" style="left:254px; top:10px; width:371px; height:20px; background-color:transparent; border-style:none; ">
- <choices>
- <item>
- <label>의뢰</label>
- <value>R</value>
- </item>
- <item>
- <label>대기</label>
- <value>W</value>
- </item>
- <item>
- <label>자문</label>
- <value>D</value>
- </item>
- <item>
- <label>입실</label>
- <value>I</value>
- </item>
- <item>
- <label>퇴실</label>
- <value>L</value>
- </item>
- <item>
- <label>대기종료</label>
- <value>O</value>
- </item>
- <item>
- <label>자문종료</label>
- <value>P</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fPamcChange();
- fSearch();
- //20091009 dhkim 종료버튼 상태값 초기화
- fInitEndBtn();
- ]]>
- </script>
- </select1>
- <caption id="caption24" class="search_name" style="left:3px; top:10px; width:120px; height:17px; ">
- <![CDATA[의뢰경로 :]]>
- </caption>
- <caption id="caption25" class="search_name" style="left:188px; top:10px; width:67px; height:17px; ">구분 :</caption>
- <select1 id="cmb_resncd" ref="/root/temp/resncd" class="combo_search" appearance="minimal" style="left:1005px; top:10px; width:90px; height:19px; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="lb_resncd" class="search_name" style="left:915px; top:10px; width:90px; height:17px; ">제외사유 :</caption>
- <select id="chk_hospicegubun" ref="/root/temp/hospicegubun" class="checkbox_search" navindex="3" overflow="visible" appearance="full" cols="2" style="left:90px; top:10px; width:87px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>외래</label>
- <value>1</value>
- </item>
- <item>
- <label>입원</label>
- <value>2</value>
- </item>
- </choices>
- </select>
- <input id="ipt_refnm" ref="/root/temp/refnm" overflow="visible" style="left:410px; top:33px; width:120px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption26" class="search_name" style="left:188px; top:33px; width:120px; height:17px; ">조회구분 :</caption>
- <select1 id="rdo_refflag" ref="/root/temp/refflag" appearance="full" cols="2" overflow="visible" style="left:275px; top:33px; width:130px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>등록번호</label>
- <value>1</value>
- </item>
- <item>
- <label>환자명</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <caption id="caption41" class="search_name" style="left:3px; top:30px; width:90px; height:17px; ">의뢰종류 :</caption>
- <select id="checkbox1" ref="/root/temp/hospicestsgb" class="checkbox_search" navindex="3" overflow="visible" appearance="full" cols="2" style="left:90px; top:33px; width:87px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>병동</label>
- <value>1</value>
- </item>
- <item>
- <label>자문</label>
- <value>2</value>
- </item>
- </choices>
- </select>
- </group>
- <button id="button2" class="btn5_letter2" navindex="22" style="left:782px; top:502px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave("S");
- ]]>
- </script>
- </button>
- <select1 id="cmb_waitstat" ref="/root/main/hospiceinfo/hospicedetl/waitstat" class="combo_default" appearance="minimal" style="left:345px; top:502px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>면담</label>
- <value>R</value>
- </item>
- <item>
- <label>대기</label>
- <value>W</value>
- </item>
- <item>
- <label>입실</label>
- <value>I</value>
- </item>
- <item>
- <label>퇴실</label>
- <value>L</value>
- </item>
- <item>
- <label>제외</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <button id="btn_waitchg" class="btn5_letter6" navindex="23" style="left:830px; top:502px; width:86px; height:19px; ">
- <caption>대기자로전환</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave("W");
- ]]>
- </script>
- </button>
- <caption id="caption22" class="cell_1" style="left:450px; top:500px; width:94px; height:23px; text-align:center; vertical-align:middle; ">입실대기자수</caption>
- <output id="opt_cnt" ref="/root/hidden/cnt" class="output_fix" style="left:547px; top:502px; width:58px; height:19px; "/>
- <button id="btn_ipt" class="btn5_letter4" style="left:608px; top:502px; width:64px; height:19px; ">
- <caption>입실등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //입실대기자 상태(waitstat:R)에서만 버튼을 활성화 시킨다.
- //입실대기자수는 따로 조회를 해 와서 입실등록 버튼을 누르면 해당 대기환자들 정보를 가지고 있다가
- //입실상태 waitstat : I, 입실일을 등록일자로 바꿔준다.
- fWaitPsnInRoom();
- //입실등록후 재조회
- fSearch();
- ]]>
- </script>
- </button>
- <button id="btn_districhg" class="btn5_letter4" navindex="23" style="left:922px; top:502px; width:64px; height:19px; ">
- <caption>자문등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave("D");
- ]]>
- </script>
- </button>
- <button id="btn_recvr" class="btn5_letter2" disabled="true" navindex="22" style="left:735px; top:502px; width:42px; height:19px; ">
- <caption>복원</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fStatRecvr();
- ]]>
- </script>
- </button>
- <button id="btn_newpat" class="btn5_letter4" style="left:5px; top:502px; width:64px; height:19px; ">
- <caption>신환등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fShowNewPatient(true);
- ]]>
- </script>
- </button>
- <group id="grp_newpatientinput" visibility="hidden" showeffect="blend 300" style="left:75px; top:330px; width:300px; height:180px; background-color:#f8f8f8; border-color:#99ccff; border-style:solid; ">
- <caption id="caption30" class="tit_2" style="left:1px; top:5px; width:131px; height:14px; ">신규환자 등록</caption>
- <line id="line42" class="line_1" style="x1:0px; y1:22px; x2:298px; y2:22px; "/>
- <caption id="caption32" class="cell_1" style="left:-1px; top:27px; width:84px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">등록번호</caption>
- <line id="line43" class="line_2" style="x1:-1px; y1:49px; x2:297px; y2:49px; "/>
- <caption id="caption34" class="cell_1" style="left:-1px; top:51px; width:84px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">환자성명</caption>
- <input id="ipt_newpid" ref="/root/main/newpatientinfo/newpatinfo/pid" class="input_default" maxlength="10" format="9999999999" style="left:86px; top:29px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- // 환자번호 입력시 기본정보조회
- var keycode = event.keyCode;
- if(keycode == 13){
- var pid = ipt_newpid.currentText;
- fPopPat(pid);
- }
-
- ]]>
- </script>
- </input>
- <input id="ipt_hngnm" ref="/root/main/newpatientinfo/newpatinfo/hngnm" class="output_fix" disabled="true" style="left:86px; top:53px; width:95px; height:19px; "/>
- <caption id="caption52" class="cell_1" style="left:189px; top:50px; width:44px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">S/A</caption>
- <caption id="caption53" class="cell_1" style="left:-1px; top:75px; width:84px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">진료과</caption>
- <line id="line44" class="line_2" style="x1:-1px; y1:73px; x2:297px; y2:73px; "/>
- <line id="line45" class="line_2" style="x1:-1px; y1:97px; x2:297px; y2:97px; "/>
- <caption id="caption54" class="cell_1" style="left:-1px; top:99px; width:84px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">진료의</caption>
- <line id="line46" class="line_2" style="x1:-1px; y1:121px; x2:297px; y2:121px; "/>
- <input id="ipt_hometel" ref="/root/main/newpatientinfo/newpatinfo/orddrnm" class="output_fix" disabled="true" maxlength="13" style="left:86px; top:101px; width:211px; height:19px; "/>
- <line id="line47" class="line_3" style="x1:-1px; y1:121px; x2:297px; y2:121px; "/>
- <button id="btn_savenewpat" class="btn5_letter2" style="left:106px; top:126px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fRgstNewPat();//신환등록
- ]]>
- </script>
- </button>
- <button id="btn_closenewpat" class="btn2_letter2" style="left:151px; top:126px; width:42px; height:19px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fShowNewPatient(false);
- ]]>
- </script>
- </button>
- <button id="btn_newpatsrch" class="icon_search" style="left:184px; top:31px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPopPat();//환자조회팝업
- ]]>
- </script>
- </button>
- <shape id="roundrect2" appearance="roundrect" style="left:3px; top:151px; width:286px; height:25px; "/>
- <caption id="caption40" style="left:13px; top:157px; width:266px; height:16px; font-weight:bold; ">* 신규등록시 의뢰환자로 등록됩니다.</caption>
- <input id="input1" ref="/root/main/newpatientinfo/newpatinfo/sexage" class="output_fix" disabled="true" style="left:237px; top:53px; width:60px; height:19px; "/>
- <input id="input2" ref="/root/main/newpatientinfo/newpatinfo/orddeptnm" class="output_fix" disabled="true" maxlength="13" style="left:86px; top:76px; width:211px; height:19px; "/>
- </group>
- <button id="btn_waitend" class="btn5_letter4" disabled="true" navindex="23" style="left:991px; top:502px; width:64px; height:19px; ">
- <caption>자문종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fEndSave('W');//20091009 dhkim
- ]]>
- </script>
- </button>
- <button id="btn_svcend" class="btn5_letter4" disabled="true" navindex="23" style="left:1060px; top:502px; width:64px; height:19px; ">
- <caption>대기종료</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fEndSave('S');//20091009 dhkim
- ]]>
- </script>
- </button>
- <button id="btn_dschend" class="btn5_letter4" disabled="true" navindex="23" visibility="visible" style="left:1130px; top:502px; width:64px; height:19px; ">
- <caption>퇴실등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fEndSave('D');//20091009 dhkim
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">호스피스 환자관리</caption>
- <group id="grp_buttom" scroll="auto" style="left:0px; top:537px; width:1194px; height:228px; ">
- <output id="opt_reqtypespec" ref="/root/main/hospiceinfo/hospicedetl/reqtypespec" class="output_fix" style="left:585px; top:56px; width:177px; height:19px; "/>
- <select1 id="cmb_reqhospnm" ref="/root/main/hospiceinfo/hospicedetl/reqhospnm" class="combo_default" navindex="13" appearance="minimal" style="left:585px; top:56px; width:177px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0203detl/M0203">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_reqdeptnm" ref="/root/main/hospiceinfo/hospicedetl/reqtypespec" class="combo_default" navindex="12" appearance="minimal" style="left:585px; top:56px; width:88px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/orddeptlist/dept">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (cmb_reqtypeflag.value=='01' || cmb_reqtypeflag.value=='04' || cmb_reqtypeflag.value=='05' || cmb_reqtypeflag.value=='06'){//본원
- cmb_reqhospnm.visible = false;//타 병원 리스트
- cmb_reqdeptnm.visible = true;//본원 진료과 리스트
- model.removenode("/root/send");
- model.makeValue("/root/send/orddeptcd", model.getValue("/root/main/hospiceinfo/hospicedetl/reqtypespec"));
- submit("TRMNH02903");
- cmb_drlist.visible = true;//의사리스트
- opt_reqtypespec.visible = false;
- }else if (cmb_reqtypeflag.value=='02'){
- cmb_reqhospnm.visible = true;
- cmb_reqdeptnm.visible = false;//본원 진료과 리스트
- cmb_drlist.visible = false;//의사리스트
- opt_reqtypespec.visible = false;
- }else if (cmb_reqtypeflag.value=='03'){//재입실
- cmb_reqhospnm.visible = false;//타 병원 리스트
- cmb_reqdeptnm.visible = true;//본원 진료과 리스트
- model.removenode("/root/send");
- model.makeValue("/root/send/orddeptcd", model.getValue("/root/main/hospiceinfo/hospicedetl/reqtypespec"));
- submit("TRMNH02903");
- cmb_drlist.visible = true;//의사리스트
- opt_reqtypespec.visible = false;
- }
- ]]>
- </script>
- </select1>
- <output id="ipt_icdrroomcd" ref="/root/main/hospiceinfo/hospicedetl/icdrroomcd" class="output_fix" style="left:585px; top:80px; width:88px; height:19px; "/>
- <output id="opt_reqdd" ref="/root/main/hospiceinfo/hospicedetl/reqdd" class="output_fix" format="yyyy-mm-dd" style="left:585px; top:8px; width:88px; height:19px; "/>
- <output id="ipt_roomcd" ref="/root/main/hospiceinfo/hospicedetl/roomcd" class="output_fix" style="left:1085px; top:32px; width:106px; height:19px; "/>
- <select1 id="cmb_religncd" ref="/root/main/hospiceinfo/hospicedetl/religncd" class="combo_default" navindex="7" appearance="minimal" style="left:92px; top:80px; width:128px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0157list/P0157">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (cmb_religncd.value=='1' ){
- ipt_baptnm.disabled = false;
- }else{
- ipt_baptnm.value = "";
- ipt_baptnm.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_exptresn" ref="/root/main/hospiceinfo/hospicedetl/exptresn" class="combo_default" appearance="minimal" style="left:862px; top:80px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0469detl/M0469">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_enddd.value == ""){
- ipt_enddd.value = getCurrentDate();
- //20091013 dhkim 서비스종료버튼활성화
- fChangeDisabledEndBtn("S");
- }
-
- if(cmb_exptresn.value == "99"){
- ipt_exptresnetc.disabled = false;
- }else{
- ipt_exptresnetc.value = "";
- ipt_exptresnetc.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_reqresnflag" ref="/root/main/hospiceinfo/hospicedetl/reqresnflag" class="combo_default" navindex="16" appearance="minimal" style="left:585px; top:104px; width:177px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0202detl/M0202">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //의뢰사유 기타선택시 기타사유명입력칸활성화
- if (cmb_reqresnflag.value == "99"){
- ipt_reqresnetc.disabled = false;
- }else{
- ipt_reqresnetc.value = "";
- ipt_reqresnetc.disabled = true;
- }
- var wardcd = model.getValue("/root/main/hospice/hospicelist"+"["+grd_hospicelist.row+"]/wardcd");
- if(wardcd == "3050136000" ){
- if (cmb_reqresnflag.value == "01"){
- messageBox('분산환자가 아니므로 증상완화를 선택', 'E001');
- cmb_reqresnflag.value = "";
- }
- }
-
-
-
- ]]>
- </script>
- </select1>
- <output id="opt_rrgstno" ref="/root/main/hospiceinfo/hospicedetl/rrgstno" class="output_fix" style="left:318px; top:56px; width:135px; height:19px; "/>
- <caption id="caption20" class="cell_1" style="left:985px; top:55px; width:97px; height:23px; text-align:center; vertical-align:middle; ">자문종료일</caption>
- <select1 id="cmb_patawaryn" ref="/root/main/hospiceinfo/hospicedetl/endawaryn" class="combo_default" navindex="14" appearance="minimal" style="left:897px; top:201px; width:41px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <output id="opt_hngnm" ref="/root/main/hospiceinfo/hospicedetl/hngnm" class="output_fix" style="left:92px; top:32px; width:128px; height:19px; "/>
- <caption id="caption21" class="cell_1" style="left:985px; top:7px; width:97px; height:23px; text-align:center; vertical-align:middle; ">대기/분산전환일</caption>
- <select1 id="cmb_procerawaryn" ref="/root/main/hospiceinfo/hospicedetl/proendawaryn" class="combo_default" navindex="18" appearance="minimal" style="left:941px; top:201px; width:41px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption3" class="cell_1" style="left:0px; top:31px; width:89px; height:23px; text-align:center; vertical-align:middle; ">환자명</caption>
- <input id="ipt_detladdr" ref="/root/main/hospiceinfo/hospicedetl/detladdr" class="input_default" navindex="8" maxlength="100" style="left:92px; top:128px; width:361px; height:19px; "/>
- <select1 id="cmb_reqtypeflag" ref="/root/main/hospiceinfo/hospicedetl/reqtypeflag" class="combo_default" navindex="12" appearance="minimal" style="left:585px; top:32px; width:177px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0477detl/M0477">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if (cmb_reqtypeflag.value=='01' || cmb_reqtypeflag.value=='04' || cmb_reqtypeflag.value=='05' || cmb_reqtypeflag.value=='06'){//본원
- cmb_reqhospnm.visible = false;//타 병원 리스트
- cmb_reqdeptnm.visible = true;//본원 진료과 리스트
- model.removenode("/root/send");
- model.makeValue("/root/send/orddeptcd", model.getValue("/root/main/hospiceinfo/hospicedetl/reqhospnm"));
- submit("TRMNH02903");
- cmb_drlist.visible = true;//의사리스트
- opt_reqtypespec.visible = false;
- }else if (cmb_reqtypeflag.value=='02'){
- cmb_reqhospnm.visible = true;
- cmb_reqdeptnm.visible = false;//본원 진료과 리스트
- cmb_drlist.visible = false;//의사리스트
- opt_reqtypespec.visible = false;
- }else if (cmb_reqtypeflag.value=='03'){
- cmb_reqhospnm.visible = false;//타 병원 리스트
- cmb_reqdeptnm.visible = true;//본원 진료과 리스트
- model.removenode("/root/send");
- model.makeValue("/root/send/orddeptcd", model.getValue("/root/main/hospiceinfo/hospicedetl/reqhospnm"));
- submit("TRMNH02903");
- cmb_drlist.visible = true;//의사리스트
- opt_reqtypespec.visible = false;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_baptnm" ref="/root/main/hospiceinfo/hospicedetl/baptnm" class="input_default" navindex="11" maxlength="30" style="left:318px; top:80px; width:135px; height:19px; "/>
- <output id="opt_pid" ref="/root/main/hospiceinfo/hospicedetl/pid" class="output_fix" style="left:92px; top:8px; width:128px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:0px; top:55px; width:89px; height:23px; text-align:center; vertical-align:middle; ">S/A</caption>
- <caption id="caption35" class="cell_1" style="left:223px; top:55px; width:92px; height:23px; text-align:center; vertical-align:middle; ">주민번호</caption>
- <caption id="caption7" class="cell_1" style="left:0px; top:79px; width:89px; height:23px; text-align:center; vertical-align:middle; ">종교</caption>
- <caption id="caption13" class="cell_1" style="left:765px; top:7px; width:94px; height:23px; text-align:center; vertical-align:middle; ">면담일</caption>
- <caption id="caption36" class="cell_1" style="left:223px; top:79px; width:92px; height:23px; text-align:center; vertical-align:middle; ">세례명</caption>
- <input id="ipt_patcntctel" ref="/root/main/hospiceinfo/hospicedetl/patcntctel" class="input_default" navindex="9" maxlength="13" style="left:318px; top:8px; width:135px; height:19px; "/>
- <caption id="caption14" class="cell_1" style="left:0px; top:7px; width:89px; height:23px; text-align:center; vertical-align:middle; ">등록번호</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- <input id="ipt_waitdd" ref="/root/main/hospiceinfo/hospicedetl/waitdd" class="input_default" navindex="19" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:1085px; top:8px; width:106px; height:19px; "/>
- <caption id="caption37" class="cell_1" style="left:765px; top:199px; width:130px; height:23px; text-align:center; vertical-align:middle; ">말기인식 환자/보호자</caption>
- <line id="line2" class="line_2" style="x1:0px; y1:53px; x2:1194px; y2:53px; "/>
- <caption id="caption27" class="cell_1" style="left:456px; top:77px; width:126px; height:23px; text-align:center; vertical-align:middle; ">입실전병실/입원일</caption>
- <caption id="caption16" class="cell_1" style="left:765px; top:55px; width:94px; height:23px; text-align:center; vertical-align:middle; ">대기종료일</caption>
- <caption id="caption8" class="cell_1" style="left:223px; top:7px; width:92px; height:23px; text-align:center; vertical-align:middle; ">연락처(환자)</caption>
- <line id="line3" class="line_2" style="x1:0px; y1:29px; x2:1194px; y2:29px; "/>
- <input id="ipt_intvdd" ref="/root/main/hospiceinfo/hospicedetl/intvdd" class="input_default" navindex="15" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:862px; top:8px; width:120px; height:19px; "/>
- <input id="ipt_procercntctel" ref="/root/main/hospiceinfo/hospicedetl/procercntctel" class="input_default" navindex="10" maxlength="13" style="left:318px; top:32px; width:135px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:223px; top:31px; width:92px; height:23px; text-align:center; vertical-align:middle; ">연락처(보호자)</caption>
- <caption id="caption18" class="cell_1" style="left:985px; top:31px; width:97px; height:23px; text-align:center; vertical-align:middle; ">현병실</caption>
- <line id="line5" class="line_2" style="x1:0px; y1:101px; x2:1194px; y2:101px; "/>
- <output id="opt_sexage" ref="/root/main/hospiceinfo/hospicedetl/sexage" class="output_fix" style="left:92px; top:56px; width:128px; height:19px; "/>
- <caption id="caption19" class="cell_1" style="left:456px; top:7px; width:126px; height:23px; text-align:center; vertical-align:middle; ">의뢰접수일/희망일</caption>
- <line id="line6" class="line_3" style="x1:0px; y1:224px; x2:1194px; y2:224px; "/>
- <line id="line7" class="line_2" style="x1:0px; y1:125px; x2:1194px; y2:125px; "/>
- <select1 id="cmb_diagcd1" ref="/root/main/hospiceinfo/hospicedetl/diagcd1" class="combo_default" navindex="7" appearance="minimal" style="left:92px; top:176px; width:179px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/diagsuplist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*if(cmb_diagcd1.value == '01')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0297detl/M0297";
- else if(cmb_diagcd1.value == '02')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0298detl/M0298";
- else if(cmb_diagcd1.value == '03')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0299detl/M0299";
- else if(cmb_diagcd1.value == '04')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0300detl/M0300";
- else if(cmb_diagcd1.value == '05')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0301detl/M0301";
- else if(cmb_diagcd1.value == '06')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0302detl/M0302";
- else if(cmb_diagcd1.value == '07')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0303detl/M0303";
- else if(cmb_diagcd1.value == '08')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0304detl/M0304";
- else if(cmb_diagcd1.value == '09')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0305detl/M0305";
- else if(cmb_diagcd1.value == '10')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0306detl/M0306";
- else if(cmb_diagcd1.value == '11')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0307detl/M0307";
- else if(cmb_diagcd1.value == '12')
- cmb_diagcd2.choices.itemset.attribute("nodeset") = "/root/init/M0308detl/M0308";
-
- //cmb_diagcd2.value = ""; */
- var diagcd1 = model.getValue("/root/main/hospiceinfo/hospicedetl/diagcd1");
-
- model.removenode("/root/send");
- model.makeValue("/root/send/diagcd1", diagcd1);
- model.makeValue("/root/send/refflag", "2");//하위 진단 조회
- submit("TRMNH02906", false);
- cmb_diagcd2.refresh();
-
- ]]>
- </script>
- </select1>
- <select1 id="cmb_diagcd2" ref="/root/main/hospiceinfo/hospicedetl/diagcd2" class="combo_default" navindex="7" appearance="minimal" style="left:273px; top:176px; width:180px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/diaglowlist">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <output id="opt_termengnm" ref="/root/main/hospiceinfo/hospicedetl/termengnm" class="output_fix" style="left:92px; top:153px; width:361px; height:19px; "/>
- <line id="line9" class="line_2" style="x1:0px; y1:174px; x2:1194px; y2:174px; "/>
- <output id="opt_icdrindd" ref="/root/main/hospiceinfo/hospicedetl/icdrindd" class="output_fix" format="yyyy-mm-dd" style="left:674px; top:80px; width:88px; height:19px; "/>
- <output id="opt_reqindd" ref="/root/main/hospiceinfo/hospicedetl/reqindd" class="output_fix" format="yyyy-mm-dd" style="left:674px; top:8px; width:88px; height:19px; "/>
- <caption id="caption38" class="cell_1" style="left:985px; top:127px; width:97px; height:23px; text-align:center; vertical-align:middle; ">퇴실형태</caption>
- <input id="ipt_exptresnetc" ref="/root/main/hospiceinfo/hospicedetl/exptresnetc" class="input_default" navindex="11" maxlength="30" style="left:862px; top:104px; width:120px; height:19px; "/>
- <caption id="caption43" class="cell_1" style="left:765px; top:127px; width:94px; height:23px; text-align:center; vertical-align:middle; ">퇴실일</caption>
- <line id="line10" class="line_2" style="x1:0px; y1:149px; x2:1194px; y2:149px; "/>
- <caption id="caption33" class="cell_1" style="left:0px; top:150px; width:89px; height:48px; text-align:center; vertical-align:middle; ">진단명</caption>
- <select1 id="cmb_mngtprescd" ref="/root/main/hospiceinfo/hospicedetl/mngtprescd" class="combo_default" navindex="16" appearance="minimal" style="left:585px; top:153px; width:177px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0468detl/M0468">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption44" class="cell_1" style="left:456px; top:150px; width:126px; height:23px; text-align:center; vertical-align:middle; ">관리현황</caption>
- <caption id="caption45" class="cell_1" style="left:765px; top:31px; width:94px; height:23px; text-align:center; vertical-align:middle; ">입실일</caption>
- <input id="ipt_inrmdd" ref="/root/main/hospiceinfo/hospicedetl/inrmdd" class="input_default" navindex="15" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:862px; top:32px; width:120px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //실제 입원 환자중 호스피스 병동이 아니면서 입실일을 입력하려고 하면 경고메세지 뿌려줄껏
- var status = model.getValue('/root/main/hospiceinfo/hospicedetl/status');
- var wardcd = model.getValue('/root/main/hospiceinfo/hospicedetl/wardcd');
- if(wardcd != '3050136000' && (status == 'O' || status == 'S')){
- messageBox('호스피스병동에 입원한 환자가 아니므로 입실일을 입력', 'E001');
- ipt_inrmdd.value = "";
- return;
- }
- ]]>
- </script>
- </input>
- <input id="ipt_enddd" ref="/root/main/hospiceinfo/hospicedetl/enddd" class="input_default" navindex="15" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:862px; top:56px; width:120px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- fChangeDisabledEndBtn("S");
- ]]>
- </script>
- </input>
- <caption id="caption17" class="cell_1" style="left:765px; top:79px; width:94px; height:46px; text-align:center; vertical-align:middle; ">대기종료사유</caption>
- <caption id="caption23" class="cell_1" style="left:985px; top:79px; width:97px; height:46px; text-align:center; vertical-align:middle; ">자문종료사유</caption>
- <input id="ipt_waitenddd" ref="/root/main/hospiceinfo/hospicedetl/waitenddd" class="input_default" navindex="19" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:1085px; top:56px; width:106px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //20091013 dhkim 대기종료버튼활성화
- fChangeDisabledEndBtn("W");
- ]]>
- </script>
- </input>
- <input id="ipt_waitendresnetc" ref="/root/main/hospiceinfo/hospicedetl/waitendresnetc" class="input_default" navindex="11" maxlength="30" style="left:1085px; top:104px; width:106px; height:19px; "/>
- <input id="ipt_dschdd" ref="/root/main/hospiceinfo/hospicedetl/dschdd" class="input_default" navindex="15" inputtype="date" maxlength="10" format="yyyy-mm-dd" style="left:862px; top:128px; width:120px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- //20091013 dhkim 퇴실등록버튼활성화
- fChangeDisabledEndBtn("D");
- ]]>
- </script>
- </input>
- <caption id="caption31" class="cell_1" style="left:765px; top:151px; width:94px; height:46px; text-align:center; vertical-align:middle; ">퇴실사유</caption>
- <caption id="caption1" class="cell_1" style="left:985px; top:151px; width:97px; height:46px; text-align:center; vertical-align:middle; ">퇴실 후 연계</caption>
- <caption id="caption10" class="cell_1" style="left:456px; top:31px; width:126px; height:45px; text-align:center; vertical-align:middle; ">의뢰형태</caption>
- <select1 id="cmb_roomgrdecd" ref="/root/main/hospiceinfo/hospicedetl/roomgrdecd" class="combo_default" navindex="7" appearance="minimal" style="left:585px; top:177px; width:177px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0025list/P0025">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption11" class="cell_1" style="left:456px; top:174px; width:126px; height:23px; text-align:center; vertical-align:middle; ">병실등급</caption>
- <select1 id="cmb_dschresn" ref="/root/main/hospiceinfo/hospicedetl/dschresn" class="combo_default" appearance="minimal" style="left:862px; top:153px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0471detl/M0471">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_dschdd.value == ""){
- ipt_dschdd.value = getCurrentDate();
- //20091013 dhkim 퇴실등록버튼활성화
- fChangeDisabledEndBtn("D");
- }
- if(cmb_dschresn.value == "99"){
- ipt_dschresnetc.disabled = false;
- }else{
- ipt_dschresnetc.value = "";
- ipt_dschresnetc.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_dschresnetc" ref="/root/main/hospiceinfo/hospicedetl/dschresnetc" class="input_default" navindex="11" maxlength="30" style="left:862px; top:177px; width:120px; height:19px; "/>
- <input id="ipt_dschlnketc" ref="/root/main/hospiceinfo/hospicedetl/dschlnketc" class="input_default" navindex="11" maxlength="30" style="left:1085px; top:177px; width:106px; height:19px; "/>
- <select1 id="cmb_waitendresn" ref="/root/main/hospiceinfo/hospicedetl/waitendresn" class="combo_default" disabled="true" appearance="minimal" style="left:1085px; top:80px; width:106px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0470detl/M0470">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(ipt_waitenddd.value == ""){
- ipt_waitenddd.value = getCurrentDate();
- //20091013 dhkim 대기종료버튼활성화
- fChangeDisabledEndBtn("W");
- }
-
- if(cmb_waitendresn.value == "99"){
- ipt_waitendresnetc.disabled = false;
- }else{
- ipt_waitendresnetc.value = "";
- ipt_waitendresnetc.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_dschlnk" ref="/root/main/hospiceinfo/hospicedetl/dschlnk" class="combo_default" appearance="minimal" style="left:1085px; top:153px; width:106px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0472detl/M0472">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(cmb_dschlnk.value == "99"){
- ipt_dschlnketc.disabled = false;
- }else{
- ipt_dschlnketc.value = "";
- ipt_dschlnketc.disabled = true;
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_remark" ref="/root/main/hospiceinfo/hospicedetl/remark" class="input_default" navindex="8" maxlength="100" style="left:92px; top:202px; width:361px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:0px; top:200px; width:89px; height:23px; text-align:center; vertical-align:middle; ">비고</caption>
- <select1 id="combo8" ref="/root/main/hospiceinfo/hospicedetl/cncrawaryn" class="combo_default" navindex="14" appearance="minimal" style="left:1114px; top:201px; width:38px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo9" ref="/root/main/hospiceinfo/hospicedetl/procncrawaryn" class="combo_default" navindex="18" appearance="minimal" style="left:1153px; top:201px; width:38px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption29" class="cell_1" style="left:985px; top:199px; width:127px; height:23px; text-align:center; vertical-align:middle; ">암인식 환자/보호자</caption>
- <line id="line11" class="line_2" style="x1:0px; y1:198px; x2:1194px; y2:198px; "/>
- <caption id="caption15" class="cell_1" style="left:456px; top:101px; width:126px; height:47px; text-align:center; vertical-align:middle; ">의뢰사유</caption>
- <input id="ipt_reqresnetc" ref="/root/main/hospiceinfo/hospicedetl/reqresnetc" class="input_default" navindex="11" maxlength="30" style="left:585px; top:128px; width:177px; height:19px; "/>
- <caption id="caption28" class="cell_1" style="left:0px; top:103px; width:89px; height:45px; text-align:center; vertical-align:middle; ">주소</caption>
- <output id="opt_address" ref="/root/main/hospiceinfo/hospicedetl/supaddr" class="output_fix" navindex="11" style="left:222px; top:105px; width:231px; height:19px; "/>
- <button id="button16" class="icon_search" navindex="6" style="left:203px; top:106px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var rcv_zipcdhead_path = '/root/main/hospiceinfo/hospicedetl/zipcd1';
- var rcv_zipcdfoot_path = '/root/main/hospiceinfo/hospicedetl/zipcd2';
- var rcv_seqno_path = '/root/main/hospiceinfo/hospicedetl/zipcdseq';
- var rcv_address_path = "/root/main/hospiceinfo/hospicedetl/supaddr";
- var term = model.getValue("recv_zipcdhead_path");
-
- zbcfOpenZipCodeList("combination", "", rcv_zipcdhead_path, rcv_zipcdfoot_path, rcv_seqno_path, rcv_address_path);
-
- if(model.getValue(rcv_zipcdhead_path) !='')
- opt_zipcode.value = model.getValue(rcv_zipcdhead_path)+"-"+ model.getValue(rcv_zipcdfoot_path);
-
-
- ]]>
- </script>
- </button>
- <output id="opt_zipcode" ref="/root/main/hospiceinfo/hospicedetl/zipcode" class="output_fix" style="left:92px; top:105px; width:108px; height:19px; "/>
- <select1 id="cmb_dschtype" ref="/root/main/hospiceinfo/hospicedetl/dschtype" class="combo_default" navindex="12" appearance="minimal" style="left:1085px; top:129px; width:106px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/M0476detl/M0476">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line4" class="line_2" style="x1:0px; y1:77px; x2:1194px; y2:77px; "/>
- <select1 id="cmb_drlist" ref="/root/main/hospiceinfo/hospicedetl/atdoctid" class="combo_default" navindex="12" appearance="minimal" style="left:675px; top:56px; width:88px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/drlist">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="cap_calcscoryn" class="cell_1" style="left:456px; top:199px; width:126px; height:23px; text-align:center; vertical-align:middle; ">수가대상</caption>
- <select1 id="cmb_calcscoryn" ref="/root/main/hospiceinfo/hospicedetl/calcscoryn" class="combo_default" navindex="7" appearance="minimal" style="left:585px; top:202px; width:177px; height:19px; ">
- <choices>
- <item>
- <label>Y</label>
- <value>Y</value>
- </item>
- <item>
- <label>N</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </group>
- <datagrid id="grd_htfawaitInfo" nodeset="/root/temp/htfa/htfacnt" visibility="hidden" caption="waitstat^pid^CRETDD^^^" colsep="^" colwidth="84, 88, 100, 100, 100, 100, 87, 70, 100, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:250px; top:350px; width:940px; height:150px; ">
- <col ref="waitstat"/>
- <col ref="pid"/>
- <col ref="cretdd"/>
- <col ref="crettm"/>
- <col ref="reqdd"/>
- <col ref="waitdd"/>
- <col ref="cretno"/>
- <col ref="indd"/>
- <col ref="inwaitcnt"/>
- </datagrid>
- <caption id="caption39" visibility="hidden" style="left:955px; top:235px; width:184px; height:20px; ">
- <![CDATA[<- 대기자로 저장하는 그리드]]>
- </caption>
- </xhtml:body>
- </xhtml:html>
|