123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398 |
- <?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="">
- <item>
- <chargenurse>
- <nurselist>
- <userid/>
- <usernm/>
- </nurselist>
- </chargenurse>
- <church>
- <churchlist>
- </churchlist>
- </church>
- <reqcancelreason/>
- <dctype>
- <qualflaglist/>
- </dctype>
- <endreason/>
- <kind/>
- <chrrgstkind/>
- <reqpath/>
- </item>
- <main>
- <grd_visitlist>
- <visitlist>
- <fstvisitdd/>
- <pid/>
- <pathngnm/>
- <sex/>
- <rrgstno/>
- <position/>
- <churchnm/>
- <chrrgstkind/>
- <diaghngnm/>
- <reqdeptnm/>
- <reqdrnm/>
- <chrgnursnm/>
- <reqdd/>
- <reqpath/>
- <result/>
- <gradeflag/>
- <qualflag/>
- <churchcd/>
- <diagcd/>
- <reqdeptcd/>
- <reqdrid/>
- <chrgnursid/>
- <enddd/>
- <canceltime/>
- <careflag/>
- </visitlist>
- </grd_visitlist>
- <grd_proclist>
- <proclist>
- <fstvisitdd/>
- <pid/>
- <pathngnm/>
- <sex/>
- <rrgstno/>
- <position/>
- <churchnm/>
- <chrrgstkind/>
- <diaghngnm/>
- <reqdeptnm/>
- <reqdrnm/>
- <chrgnursnm/>
- <visitdd/>
- <visitcount/>
- <visitterm/>
- <reqdd/>
- <gradeflag/>
- <qualflag/>
- <addr/>
- <tel/>
- <reqpath/>
- <result/>
- <reqcnfmdd/>
- <churchcd/>
- <diagcd/>
- <reqdeptcd/>
- <reqdrid/>
- <chrgnursid/>
- <careflag/>
- </proclist>
- </grd_proclist>
- <grd_endlist>
- <endlist>
- <enddd/>
- <fstvisitdd/>
- <pid/>
- <pathngnm/>
- <sex/>
- <rrgstno/>
- <position/>
- <churchnm/>
- <chrrgstkind/>
- <diaghngnm/>
- <reqdeptnm/>
- <reqdrnm/>
- <visitcount/>
- <visitterm/>
- <endreason/>
- <endnursnm/>
- <gradeflag/>
- <reqdd/>
- <reqcnfmdd/>
- <churchcd/>
- <diagcd/>
- <reqdeptcd/>
- <reqdrid/>
- <chrgnursid/>
- <careflag/>
- </endlist>
- </grd_endlist>
- <grd_cancellist>
- <cancellist>
- <reqcanceldd/>
- <pid/>
- <pathngnm/>
- <sex/>
- <rrgstno/>
- <position/>
- <churchnm/>
- <chrrgstkind/>
- <diaghngnm/>
- <reqdeptnm/>
- <reqdrnm/>
- <cancelreason/>
- <reqdd/>
- <gradeflag/>
- <qualflag/>
- <reqpath/>
- <churchcd/>
- <diagcd/>
- <reqdeptcd/>
- <reqdrid/>
- <chrgnursid/>
- <careflag/>
- </cancellist>
- </grd_cancellist>
- <grd_cnfmlist>
- <cnfmlist>
- <reqcnfmdd/>
- <pid/>
- <pathngnm/>
- <sex/>
- <rrgstno/>
- <position/>
- <churchnm/>
- <chrrgstkind/>
- <diaghngnm/>
- <reqdeptnm/>
- <reqdrnm/>
- <reqdd/>
- <gradeflag/>
- <qualflag/>
- <visittimekind/>
- <reqpath/>
- <gradeflag/>
- <qualflag/>
- <fstvisitdd/>
- <result/>
- <churchcd/>
- <diagcd/>
- <reqdeptcd/>
- <reqdrid/>
- <chrgnursid/>
- <careflag/>
- </cnfmlist>
- </grd_cnfmlist>
- <grd_visitspeclist>
- <visitspeclist>
- <visitdd/>
- <pid/>
- <pathngnm/>
- <sex/>
- <rrgstno/>
- <position/>
- <churchnm/>
- <chrrgstkind/>
- <diaghngnm/>
- <reqdeptnm/>
- <reqdrnm/>
- <visitnursnm/>
- <reqdd/>
- <gradeflag/>
- <qualflag/>
- <visittimeking/>
- <reqcnfmdd/>
- <reqpath/>
- <fstvisitdd/>
- <result/>
- <churchcd/>
- <diagcd/>
- <reqdeptcd/>
- <reqdrid/>
- <chrgnursid/>
- <visitcount/>
- <careflag/>
- </visitspeclist>
- </grd_visitspeclist>
- </main>
- <send>
- <fromdd/>
- <todd/>
- <procstatus/>
- <kind>1</kind>
- <chrgnursid>%</chrgnursid>
- <churchcd>-</churchcd>
- <chrrgstkind/>
- <rgstkind1/>
- <rgstkind23/>
- <rgstkind23arr/>
- <careflag>H</careflag>
- <patcareflag>H</patcareflag>
- </send>
- <temp/>
- <init>
- <listset1>
- <list>
- <cdid>1</cdid>
- <cdnm>병원</cdnm>
- </list>
- <list>
- <cdid>2</cdid>
- <cdnm>본당</cdnm>
- </list>
- <list>
- <cdid>3</cdid>
- <cdnm>재택</cdnm>
- </list>
- </listset1>
- <listset>
- <list>
- <cdid>1</cdid>
- <cdnm>병원</cdnm>
- </list>
- </listset>
- </init>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" src="../../../emr/homecareweb/js/SMMNF00100.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript">
- <![CDATA[
- var searchListFlag;
-
- function fMakeChrRgstKind(){
- model.setValue("/root/send/rgstkind23arr","");
- model.setValue("/root/send/rgstkind1","");
- model.setValue("/root/send/rgstkind23","");
-
- var getChrRgstKind = model.getValue("/root/send/chrrgstkind");
- if ( isNull(getChrRgstKind)
- || ( isSearchString(getChrRgstKind, "1")
- && isSearchString(getChrRgstKind, "2")
- && isSearchString(getChrRgstKind, "3") ) ){//선택되어진게 없으면 전체조회
-
- model.setValue("/root/send/rgstkind23arr","'2','3'");
- model.setValue("/root/send/rgstkind1","Y");
- model.setValue("/root/send/rgstkind23","Y");
-
- } else{
- if ( getChrRgstKind == "1" ){
-
- model.setValue("/root/send/rgstkind1","Y");
- }
- if ( getChrRgstKind == "2" ){
-
- model.setValue("/root/send/rgstkind23","Y");
- model.setValue("/root/send/rgstkind23arr", "'2'" );
- }
- if ( getChrRgstKind == "3" ){
-
- model.setValue("/root/send/rgstkind23","Y");
- model.setValue("/root/send/rgstkind23arr", "'3'" );
- }
-
- if ( isSearchString(getChrRgstKind, "1")
- && isSearchString(getChrRgstKind, "2") ){
-
- model.setValue("/root/send/rgstkind1","Y");
- model.setValue("/root/send/rgstkind23","Y");
- model.setValue("/root/send/rgstkind23arr", "'2'" );
- }
- if ( isSearchString(getChrRgstKind, "1")
- && isSearchString(getChrRgstKind, "3") ){
-
- model.setValue("/root/send/rgstkind1","Y");
- model.setValue("/root/send/rgstkind23","Y");
- model.setValue("/root/send/rgstkind23arr", "'3'" );
- }
- if ( isSearchString(getChrRgstKind, "2")
- && isSearchString(getChrRgstKind, "3") ){
-
- //model.setValue("/root/send/rgstkind1","Y");
- model.setValue("/root/send/rgstkind23","Y");
- model.setValue("/root/send/rgstkind23arr", "'2','3'" );
- }
-
- }
-
-
- model.removenode("/root/send/chrrgstkindarr");
- var getChrRgstKind = model.getValue("/root/send/chrrgstkind");
-
- if(getChrRgstKind == '1'){
- sAttConcat = '1'; //등록
- }else if(getChrRgstKind == '2'){
- sAttConcat = '2'; //무료
- }else if(getChrRgstKind == '3'){
- sAttConcat = '3'; //기타
- }else if(getChrRgstKind == '1,2'){
- sAttConcat = '4'; //등록 + 무료
- }else if(getChrRgstKind == '1,3'){
- sAttConcat = '5'; //등록 + 기타
- }else if(getChrRgstKind == '2,3'){
- sAttConcat = '6'; //기타 + 무료
- }else{
- sAttConcat = '7'; //등록 + 기타 + 무료
- }
-
- model.makeValue("/root/send/chrrgstkindarr", sAttConcat);
- }
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- fInitHomeCareRdo("rdo_kind");
- // Default 첫방문 선택
- rdo_procstatus.value = 1;
-
- // Default 전체 선택
- rdo_kind.value = 1;
-
- // 공통코드 가져오기( M0387-의뢰취소사유, M0348- 본당구분(등록,무료, 기타), M0347-구분(병원, 본당, 재택) A0001-의뢰경로(외래, 입원, 응급)
- zbcfGetCodeList(new Array("M0387", "M0348", "M0347", "A0001"), new Array("/root/item/reqcancelreason", "/root/item/chrrgstkind", "/root/item/kind", "/root/item/reqpath"));
-
- // 환자 본인부담률을 가져온다.
- submit("TRMNF00110");
-
- grd_visitlist.visible = true;
- grd_proclist.visible = false;
- grd_endlist.visible = false;
- grd_cnfmlist.visible = false;
- grd_cancellist.visible = false;
- grd_visitspeclist.visible = false;
-
- var currDate;
-
- currDate = getCurrentDate();
-
- // model.setValue("/root/send/fromdd", getDateCalc(currDate, 13));
- model.setValue("/root/send/fromdd", currDate.substr(0, 6) + '01'); // 현재 월의 1일로 기본값 설정
- model.setValue("/root/send/todd", currDate);
- model.setValue("/root/send/procstatus", rdo_procstatus.value);
- model.setValue("/root/send/kind", rdo_kind.value);
- model.refresh();
-
- // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
- submit("TRMNF00106");
- // Default 담당간호사 선택
- combo6.value = "%" ; // 전체
-
- // var updtdata;
-
- // grd_visitlist.visible = false;
- // grd_proclist.visible = false;
- // grd_endlist.visible = false;
- // grd_cnfmlist.visible = false;
- // grd_cancellist.visible = false;
- // grd_visitspeclist.visible = false;
-
- // model.removeNodeset("/root/main/grd_visitlist");
- // model.removeNodeset("/root/main/grd_proclist");
- // model.removeNodeset("/root/main/grd_endlist");
- // model.removeNodeset("/root/main/grd_cnfmlist");
- // model.removeNodeset("/root/main/grd_cancellist");
- // model.removeNodeset("/root/main/grd_visitspeclist");
- // model.refresh();
-
- // 조회
- btn_search.dispatch("DOMActivate");
-
- // grd_visitlist.rebuild();
- // grd_proclist.rebuild();
- // grd_endlist.rebuild();
- // grd_cnfmlist.rebuild();
- // grd_cancellist.rebuild();
- // grd_visitspeclist.rebuild();
- //
-
-
- // if(rdo_procstatus.value == 1)
- // {
- // updtdata = getGridUpdateData(grd_visitlist);
- //
- // grd_visitlist.attribute("left") = 0;
- // grd_visitlist.attribute("top") = 117;
- // grd_visitlist.attribute("width") = 1194;
- // grd_visitlist.attribute("height") = 568;
- // }
- // else if(rdo_procstatus.value == 2)
- // {
- // updtdata = getGridUpdateData(grd_proclist);
- //
- // grd_proclist.attribute("left") = 0;
- // grd_proclist.attribute("top") = 117;
- // grd_proclist.attribute("width") = 1194;
- // grd_proclist.attribute("height") = 568;
- // }
- // else if(rdo_procstatus.value == 3)
- // {
- // updtdata = getGridUpdateData(grd_endlist);
- //
- // grd_endlist.attribute("left") = 0;
- // grd_endlist.attribute("top") = 117;
- // grd_endlist.attribute("width") = 1194;
- // grd_endlist.attribute("height") = 568;
- // }
- // else if(rdo_procstatus.value == 4)
- // {
- // updtdata = getGridUpdateData(grd_cnfmlist);
- //
- // grd_cnfmlist.attribute("left") = 0;
- // grd_cnfmlist.attribute("top") = 117;
- // grd_cnfmlist.attribute("width") = 1194;
- // grd_cnfmlist.attribute("height") = 568;
- // }
- // else if(rdo_procstatus.value == 5)
- // {
- // updtdata = getGridUpdateData(grd_cancellist);
- //
- // caption1.value = "취소일자 :" ;
- // //cap_listtitle.value = "취소 리스트";
- //
- // grd_cancellist.attribute("left") = 0;
- // grd_cancellist.attribute("top") = 117;
- // grd_cancellist.attribute("width") = 1194;
- // grd_cancellist.attribute("height") = 568;
- // }
- // else if(rdo_procstatus.value == 6)
- // {
- // updtdata = getGridUpdateData(grd_visitspeclist);
- //
- // caption1.value = "취소일자 :" ;
- // //cap_listtitle.value = "취소 리스트";
- //
- // grd_visitspeclist.attribute("left") = 0;
- // grd_visitspeclist.attribute("top") = 117;
- // grd_visitspeclist.attribute("width") = 1194;
- // grd_visitspeclist.attribute("height") = 568;
- // }
- //
- // if ( updtdata != "" ) {
- // var ret = messageBox("그리드에 작업 중인 내용이 있습니다. 조회 작업을","Q003");
- // if (ret != 6) { // not OK
- // return;
- // }
- // }
- //
- // if(rdo_procstatus.value == 1)
- // {
- // // 1.첫방문 리스트 조회
- // submit("TRMNF04600");
- // grd_visitlist.visible = true;
- // }
- // else if(rdo_procstatus.value == 2)
- // {
- // // 3.진행 리스트 조회
- // submit("TRMNF04601");
- // grd_proclist.visible = true;
- // }
- // else if(rdo_procstatus.value == 3)
- // {
- // // 4.종결 리스트 조회
- // submit("TRMNF04602");
- // grd_endlist.visible = true;
- // }
- // else if(rdo_procstatus.value == 4)
- // {
- // // 5.의뢰확정 리스트 조회
- // submit("TRMNF04603");
- // grd_cnfmlist.visible = true;
- // }
- // else if(rdo_procstatus.value == 5)
- // {
- // // 5.취소 리스트 조회
- // submit("TRMNF04604");
- // grd_cancellist.visible = true;
- // }
- // else if(rdo_procstatus.value ==6)
- // {
- // // 5.방문내역 리스트 조회
- // submit("TRMNF04605");
- // grd_visitspeclist.visible = true;
- // }
- //
- //*******************************************************************
- // 기준정보 로드
- //*******************************************************************
- // 1.본당을 조회, 콤보박스에 세팅한다.
- // submit("TRMNF00130");
- // Default 본당 선택
- // combo5.value = "-" ; // 전체
-
- ]]>
- </script>
- <submission id="TRMNF00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/item/chargenurse"/>
- <submission id="TRMNF04600" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grd_visitlist"/>
- <submission id="TRMNF04601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grd_proclist"/>
- <submission id="TRMNF04602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grd_endlist"/>
- <submission id="TRMNF04603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grd_cnfmlist"/>
- <submission id="TRMNF04604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grd_cancellist"/>
- <submission id="TRMNF00130" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/item/church"/>
- <submission id="TRMNF04605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/grd_visitspeclist"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMNF00110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/item/dctype"/>
- <submission id="TRMNW00001" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/code/codelist"/>
- </model>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">진행상태별 조회</caption>
- </group>
- <group id="grp_btn" scroll="auto" style="left:0px; top:740px; width:1195px; height:44px; "/>
- <group id="group5" class="datagrid2" scroll="auto" style="left:0px; top:13px; width:1195px; height:737px; ">
- <!--(20101206) 경북대
- <datagrid id="grd_visitlist" nodeset="/root/main/grd_visitlist/visitlist" visibility="hidden" autoresize="true" caption="첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^담당간호사^의뢰일^의뢰경로^중증도^등급^본인부담률" colsep="^" colwidth="76, 70, 75, 50, 100, 54, 100, 38, 192, 88, 70, 70, 75, 55, 45, 41, 156, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1193px; height:568px; vertical-align:bottom; ">
- -->
- <datagrid id="grd_visitlist" nodeset="/root/main/grd_visitlist/visitlist" visibility="hidden" autoresize="true" caption="첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^담당간호사^의뢰일^의뢰경로^중증도^등급^본인부담률" colsep="^" colwidth="76, 70, 75, 50, 100, 54, 100, 38, 192, 88, 70, 70, 75, 55, 45, 41, 156, 100, 100, 100, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1193px; height:568px; vertical-align:bottom; ">
- <!--(20101206) 경북대 -->
- <col ref="fstvisitdd" format="yyyy-mm-dd" style="left:20px; top:23px; width:91px; height:23px; text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="pathngnm" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col disabled="true" ref="position" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/kind/M0347">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="churchnm" style="text-align:center; "/>
- <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/chrrgstkind/M0348">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="diaghngnm" style="text-align:left; "/>
- <col ref="reqdeptnm" style="text-align:center; "/>
- <col ref="reqdrnm" style="text-align:center; "/>
- <col ref="chrgnursnm" style="text-align:center; "/>
- <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="reqpath" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/reqpath/A0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="result" style="text-align:center; "/>
- <col ref="gradeflag" style="text-align:center; "/>
- <col disabled="true" ref="qualflag" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/item/dctype/qualflaglist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="churchcd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="diagcd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="reqdeptcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
- <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
- <col ref="chrgnursid" visibility="hidden" style="text-align:center; "/>
- <col ref="enddd" visibility="hidden" style="text-align:center; "/>
- <col ref="canceltime" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <!--(20101206)경북대
- <datagrid id="grd_proclist" nodeset="/root/main/grd_proclist/proclist" visibility="hidden" autoresize="true" caption="첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^최근방문간호사^최근방문일^방문횟수^방문기간^최초의뢰일^등급^본인부담률^주소^전화번호^의뢰경로^중증도^최초의뢰확정일" colsep="^" colwidth="80, 70, 64, 40, 100, 46, 82, 46, 100, 92, 59, 92, 83, 54, 55, 76, 31, 143, 292, 100, 54, 48, 91, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115; width:1194; height:568px; vertical-align:bottom; ">
- -->
- <datagrid id="grd_proclist" nodeset="/root/main/grd_proclist/proclist" visibility="hidden" autoresize="true" caption="첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^최근방문간호사^최근방문일^방문횟수^방문기간^최초의뢰일^등급^본인부담률^주소^전화번호^의뢰경로^중증도^최초의뢰확정일" colsep="^" colwidth="80, 70, 64, 40, 100, 46, 82, 46, 100, 92, 59, 92, 83, 54, 55, 76, 31, 143, 292, 100, 54, 48, 91, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115; width:1194; height:568px; vertical-align:bottom; ">
- <!--(20101206)경북대 -->
- <col ref="fstvisitdd" format="yyyy-mm-dd" style="left:20px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="pathngnm" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col disabled="true" ref="position" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/kind/M0347">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="churchnm" style="text-align:center; "/>
- <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/chrrgstkind/M0348">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="diaghngnm" style="text-align:left; "/>
- <col ref="reqdeptnm" style="text-align:center; "/>
- <col ref="reqdrnm" style="text-align:center; "/>
- <col ref="chrgnursnm" style="text-align:center; "/>
- <col ref="visitdd" format="yyyy-mm-dd" style="left:985px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="visitcount" style="text-align:center; "/>
- <col ref="visitterm" style="text-align:center; "/>
- <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="gradeflag" style="text-align:center; "/>
- <col disabled="true" ref="qualflag" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/item/dctype/qualflaglist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="addr" style="text-align:left; "/>
- <col ref="tel" style="text-align:center; "/>
- <col disabled="true" ref="reqpath" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/reqpath/A0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="result" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="reqcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="churchcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
- <col ref="diagcd" visibility="hidden" style="text-align:center; "/>
- <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <!--(20101206) 경북대
- <datagrid id="grd_endlist" nodeset="/root/main/grd_endlist/endlist" visibility="hidden" autoresize="true" caption="종결일^첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^총방문횟수^방문기간^종결사유^종결간호사^등급^최초의뢰일^최초의뢰확정일" colsep="^" colwidth="73, 72, 65, 62, 42, 100, 40, 85, 36, 100, 90, 57, 66, 56, 89, 66, 42, 79, 93, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
- -->
- <datagrid id="grd_endlist" nodeset="/root/main/grd_endlist/endlist" visibility="hidden" autoresize="true" caption="종결일^첫방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^총방문횟수^방문기간^종결사유^종결간호사^등급^최초의뢰일^최초의뢰확정일" colsep="^" colwidth="73, 72, 65, 62, 42, 100, 40, 85, 36, 100, 90, 57, 66, 56, 89, 66, 42, 79, 93, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
- <!--(20101206) 경북대 -->
- <col ref="enddd" format="yyyy-mm-dd" style="left:20px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="fstvisitdd" format="yyyy-mm-dd" style="left:120px; top:23px; width:100px; height:23px; text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="pathngnm" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col disabled="true" ref="position" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/kind/M0347">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="churchnm" style="text-align:center; "/>
- <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/chrrgstkind/M0348">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="diaghngnm" style="text-align:left; "/>
- <col ref="reqdeptnm" style="text-align:center; "/>
- <col ref="reqdrnm" style="text-align:center; "/>
- <col ref="visitcount" style="text-align:center; "/>
- <col ref="visitterm" style="text-align:center; "/>
- <col disabled="true" ref="endreason" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/item/endreason/M0349">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="endnursnm" style="text-align:center; "/>
- <col ref="gradeflag" style="text-align:center; "/>
- <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="reqcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="churchcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
- <col ref="diagcd" visibility="hidden" style="text-align:center; "/>
- <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <!--(20101206) 경북대
- <datagrid id="grd_cnfmlist" nodeset="/root/main/grd_cnfmlist/cnfmlist" visibility="hidden" autoresize="true" caption="의뢰확정일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^의뢰일^의뢰경로^등급^본인부담률^첫방문일^중증도" colsep="^" colwidth="83, 70, 69, 40, 100, 68, 100, 63, 181, 100, 78, 100, 59, 71, 100, 0, 60, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
- -->
- <datagrid id="grd_cnfmlist" nodeset="/root/main/grd_cnfmlist/cnfmlist" visibility="hidden" autoresize="true" caption="의뢰확정일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^의뢰일^의뢰경로^등급^본인부담률^첫방문일^중증도" colsep="^" colwidth="83, 70, 69, 40, 100, 68, 100, 63, 181, 100, 78, 100, 59, 71, 100, 0, 60, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
- <!--(20101206) 경북대 -->
- <col ref="reqcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="pathngnm" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col disabled="true" ref="position" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/kind/M0347">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="churchnm" style="text-align:center; "/>
- <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/chrrgstkind/M0348">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="diaghngnm" style="text-align:left; "/>
- <col ref="reqdeptnm" style="text-align:center; "/>
- <col ref="reqdrnm" style="text-align:center; "/>
- <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="reqpath" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/reqpath/A0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="gradeflag" style="text-align:center; "/>
- <col disabled="true" ref="qualflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/dctype/qualflaglist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="fstvisitdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="result" style="text-align:center; "/>
- <col ref="churchcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
- <col ref="diagcd" visibility="hidden" style="text-align:center; "/>
- <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <!--(20101206) 경북대
- <datagrid id="grd_cancellist" nodeset="/root/main/grd_cancellist/cancellist" visibility="hidden" autoresize="true" caption="의뢰취소일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^취소사유^의뢰일^등급^본인부담률^의뢰경로" colsep="^" colwidth="90, 70, 60, 43, 100, 50, 83, 41, 234, 100, 70, 151, 80, 41, 132, 58, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
- -->
- <datagrid id="grd_cancellist" nodeset="/root/main/grd_cancellist/cancellist" visibility="hidden" autoresize="true" caption="의뢰취소일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^취소사유^의뢰일^등급^본인부담률^의뢰경로" colsep="^" colwidth="90, 70, 60, 43, 100, 50, 83, 41, 234, 100, 70, 151, 80, 41, 132, 58, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
- <!--(20101206) 경북대 -->
- <col ref="reqcanceldd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="pathngnm" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col disabled="true" ref="position" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/kind/M0347">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="churchnm" style="text-align:center; "/>
- <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/chrrgstkind/M0348">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="diaghngnm" style="text-align:left; "/>
- <col ref="reqdeptnm" style="text-align:center; "/>
- <col ref="reqdrnm" style="text-align:center; "/>
- <col disabled="true" ref="cancelreason" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/item/reqcancelreason/M0387">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="gradeflag" style="text-align:center; "/>
- <col disabled="true" ref="qualflag" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/dctype/qualflaglist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="reqpath" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/reqpath/A0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="churchcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
- <col ref="diagcd" visibility="hidden" style="text-align:center; "/>
- <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <!--(20101206) 경북대
- <datagrid id="grd_visitspeclist" nodeset="/root/main/grd_visitspeclist/visitspeclist" visibility="hidden" autoresize="true" caption="방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^주치의^방문간호사^의뢰일^등급^본인부담률^방문시간구분^의뢰확정일^의뢰경로^첫방문일^중증도" colsep="^" colwidth="73, 70, 61, 42, 100, 44, 86, 40, 140, 80, 59, 72, 85, 41, 143, 248, 90, 58, 80, 54, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
- -->
- <datagrid id="grd_visitspeclist" nodeset="/root/main/grd_visitspeclist/visitspeclist" visibility="hidden" autoresize="true" caption="방문일^등록번호^환자명^S/A^주민등록번호^소속^본당명^분류^진단명^진료과^진료의^방문간호사^의뢰일^등급^본인부담률^방문시간구분^의뢰확정일^의뢰경로^첫방문일^중증도" colsep="^" colwidth="73, 70, 61, 42, 100, 44, 86, 40, 140, 80, 59, 72, 85, 41, 143, 248, 90, 58, 80, 54, 100, 100, 100, 100" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:115px; width:1194px; height:568px; vertical-align:bottom; ">
- <!--(20101206) 경북대 -->
- <col ref="visitdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="pathngnm" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="rrgstno" style="text-align:center; "/>
- <col disabled="true" ref="position" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/kind/M0347">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="churchnm" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="chrrgstkind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/chrrgstkind/M0348">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="diaghngnm" style="text-align:left; "/>
- <col ref="reqdeptnm" style="text-align:center; "/>
- <col ref="reqdrnm" style="text-align:center; "/>
- <col ref="chrgnursnm" style="text-align:center; "/>
- <col ref="reqdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="gradeflag" style="text-align:center; "/>
- <col disabled="true" ref="qualflag" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/item/dctype/qualflaglist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="visittimeking" style="text-align:left; "/>
- <col ref="reqcnfmdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="reqpath" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/item/reqpath/A0001">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="fstvisitdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="result" style="text-align:center; "/>
- <col ref="churchcd" visibility="hidden" style="left:170px; top:23px; width:30px; height:23px; text-align:center; "/>
- <col ref="diagcd" visibility="hidden" style="text-align:center; "/>
- <col ref="reqdeptcd" visibility="hidden" style="text-align:center; "/>
- <col ref="reqdrid" visibility="hidden" style="text-align:center; "/>
- </datagrid>
- <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:80px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:5px; width:1195px; height:70px; "/>
- <line id="line13" class="line_4" style="x1:1107px; y1:12px; x2:1107px; y2:68px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1126px; top:28px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/fromdd", ipt_fromdd.value);
- model.setValue("/root/send/todd", ipt_todd.value);
- model.setValue("/root/send/procstatus", rdo_procstatus.value);
- model.setValue("/root/send/kind", rdo_kind.value);
- fMakeChrRgstKind();
- model.refresh();
-
- var fromdd = model.getValue("/root/send/fromdd");
- var todd = model.getValue("/root/send/todd");
-
- // 2010.02.16 HHM 추가
- if(getDateInterval(fromdd, todd)>31){
- messageBox("조회기간은 한달이상을 넘을 수", "I004");
- model.setFocus("ipt_todd");
- return;
- }
-
- grd_visitlist.visible = false;
- grd_proclist.visible = false;
- grd_endlist.visible = false;
- grd_cnfmlist.visible = false;
- grd_cancellist.visible = false;
- grd_visitspeclist.visible = false;
-
- model.removeNodeset("/root/grd_visitlist");
- model.removeNodeset("/root/grd_proclist");
- model.removeNodeset("/root/grd_endlist");
- model.removeNodeset("/root/grd_cancellist");
- model.removeNodeset("/root/grd_cnfmlist");
- model.removeNodeset("/root/grd_visitspeclist");
- model.refresh();
-
- grd_visitlist.rebuild();
- grd_proclist.rebuild();
- grd_endlist.rebuild();
- grd_cnfmlist.rebuild();
- grd_cancellist.rebuild();
- grd_visitspeclist.rebuild();
-
- // 첫방문
- if((rdo_procstatus.value == 1) || (rdo_procstatus.value == 0))
-
- {
- updtdata = getGridUpdateData(grd_visitlist);
- grd_visitlist.attribute("left") = 0;
- grd_visitlist.attribute("top") = 117;
- grd_visitlist.attribute("width") = 1194;
- grd_visitlist.attribute("height") = 568;
- }
- // 진행
- else if(rdo_procstatus.value == 2)
- {
- updtdata = getGridUpdateData(grd_proclist);
- grd_proclist.attribute("left") = 0;
- grd_proclist.attribute("top") = 117;
- grd_proclist.attribute("width") = 1194;
- grd_proclist.attribute("height") = 568;
- }
- // 종결
- else if(rdo_procstatus.value == 3)
- {
- updtdata = getGridUpdateData(grd_endlist);
- grd_endlist.attribute("left") = 0;
- grd_endlist.attribute("top") = 117;
- grd_endlist.attribute("width") = 1194;
- grd_endlist.attribute("height") = 568;
- }
- // 의뢰확정
- else if(rdo_procstatus.value == 4)
- {
- updtdata = getGridUpdateData(grd_cnfmlist);
- grd_cnfmlist.attribute("left") = 0;
- grd_cnfmlist.attribute("top") = 117;
- grd_cnfmlist.attribute("width") = 1194;
- grd_cnfmlist.attribute("height") = 568;
- }
- // 의뢰취소
- else if(rdo_procstatus.value == 5)
- {
- updtdata = getGridUpdateData(grd_cancellist);
- grd_cancellist.attribute("left") = 0;
- grd_cancellist.attribute("top") = 117;
- grd_cancellist.attribute("width") = 1194;
- grd_cancellist.attribute("height") = 568;
- }
- // 방문내역
- else if(rdo_procstatus.value == 6)
- {
- updtdata = getGridUpdateData(grd_visitspeclist);
- grd_visitspeclist.attribute("left") = 0;
- grd_visitspeclist.attribute("top") = 117;
- grd_visitspeclist.attribute("width") = 1194;
- grd_visitspeclist.attribute("height") = 568;
- }
-
-
- if((rdo_procstatus.value == 1) || (rdo_procstatus.value == 0))
- {
- // 1.첫방문 리스트 조회
- submit("TRMNF04600");
- grd_visitlist.visible = true;
-
- if(rdo_careflag.value == 'H'){
- grd_visitlist.colHidden(5) = true; // 주민번호
- grd_visitlist.colHidden(14) = false; // 의뢰경로
- // grd_visitlist.colHidden(15) = false; //중증도
- grd_visitlist.colHidden(16) = true; // 등급
- grd_visitlist.colHidden(17) = true; // 본인부담률
- }else if(rdo_careflag.value == 'V'){
- grd_visitlist.colHidden(5) = false; // 주민번호
- grd_visitlist.colHidden(14) = true; // 의뢰경로
- // grd_visitlist.colHidden(15) = true; //중증도
- grd_visitlist.colHidden(16) = false; // 등급
- grd_visitlist.colHidden(17) = false; // 본인부담률
- }
- }
- else if(rdo_procstatus.value == 2)
- {
- // 3.진행 리스트 조회
- submit("TRMNF04601");
- grd_proclist.visible = true;
-
- if(rdo_careflag.value == 'H'){
- grd_proclist.colHidden(5) = true; // 주민번호
- grd_proclist.colHidden(17) = true; // 등급
- grd_proclist.colHidden(18) = true; // 본인부담률
- grd_proclist.colHidden(19) = true; // 주소
- grd_proclist.colHidden(20) = true; // 전화번호
- grd_proclist.colHidden(21) = false; // 의뢰경로
-
- }else if(rdo_careflag.value == 'V'){
- grd_proclist.colHidden(5) = false; // 주민번호
- grd_proclist.colHidden(17) = false; // 등급
- grd_proclist.colHidden(18) = false; // 본인부담률
- grd_proclist.colHidden(19) = false; // 주소
- grd_proclist.colHidden(20) = false; // 전화번호
- grd_proclist.colHidden(21) = true; // 의뢰경로
- }
- }
- else if(rdo_procstatus.value == 3)
- {
- // 4.종결 리스트 조회
- submit("TRMNF04602");
- grd_endlist.visible = true;
-
- if(rdo_careflag.value == 'H'){
- grd_endlist.colHidden(6) = true; // 주민번호
- grd_endlist.colHidden(17) = true; // 등급
- }else if(rdo_careflag.value == 'V'){
- grd_endlist.colHidden(6) = false; // 주민번호
- grd_endlist.colHidden(17) = false; // 등급
- }
- }
- else if(rdo_procstatus.value == 4)
- {
- // 5.의뢰확정 리스트 조회
- submit("TRMNF04603");
- grd_cnfmlist.visible = true;
-
- if(rdo_careflag.value == 'H'){
- grd_cnfmlist.colHidden(5) = true; // 주민번호
- grd_cnfmlist.colHidden(14) = true; // 등급
- grd_cnfmlist.colHidden(15) = true; // 본인부담률
- }else if(rdo_careflag.value == 'V'){
- grd_cnfmlist.colHidden(5) = false; // 주민번호
- grd_cnfmlist.colHidden(14) = false; // 등급
- grd_cnfmlist.colHidden(15) = false; // 본인부담률
- }
-
- }
- else if(rdo_procstatus.value == 5)
- {
- // 5.의뢰취소 리스트 조회
- submit("TRMNF04604");
- grd_cancellist.visible = true;
-
- if(rdo_careflag.value == 'H'){
- grd_cancellist.colHidden(5) = true; // 주민번호
- grd_cancellist.colHidden(14) = true; // 등급
- grd_cancellist.colHidden(15) = true; // 본인부담률
- grd_cancellist.colHidden(16) = false; // 의뢰경로
- }else if(rdo_careflag.value == 'V'){
- grd_cancellist.colHidden(5) = false; // 주민번호
- grd_cancellist.colHidden(14) = false; // 등급
- grd_cancellist.colHidden(15) = false; // 본인부담률
- grd_cancellist.colHidden(16) = true; // 의뢰경로
- }
- }
- else if(rdo_procstatus.value == 6)
- {
- // 5.방문내역 리스트 조회
- submit("TRMNF04605");
- grd_visitspeclist.visible = true;
-
- if(rdo_careflag.value == 'H'){
- grd_visitspeclist.colHidden(5) = true; // 주민번호
- grd_visitspeclist.colHidden(14) = true; // 등급
- grd_visitspeclist.colHidden(15) = true; // 본인부담률
- grd_visitspeclist.colHidden(16) = true; // 방문시간 구분
- grd_visitspeclist.colHidden(18) = false; // 의뢰경로
- // grd_visitspeclist.colHidden(19) = true; // 첫방문일
- // grd_visitspeclist.colHidden(20) = true; // 중증도
- }else if(rdo_careflag.value == 'V'){
- grd_visitspeclist.colHidden(5) = false; // 주민번호
- grd_visitspeclist.colHidden(14) = false; // 등급
- grd_visitspeclist.colHidden(15) = false; // 본인부담률
- grd_visitspeclist.colHidden(16) = false; // 방문시간 구분
- grd_visitspeclist.colHidden(18) = true; // 의뢰경로
- // grd_visitspeclist.colHidden(19) = false; // 첫방문일
- // grd_visitspeclist.colHidden(20) = false; // 중증도
- }
- }
-
-
- ]]>
- </script>
- </button>
- <select1 id="rdo_kind" ref="/root/send/kind" class="radio_search" appearance="full" cols="4" rows="1" overflow="visible" style="left:350px; top:16px; width:60px; height:20px; border-style:none; ">
- <choices>
- <itemset>
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- checkbox1.deselect(0);
- checkbox1.deselect(1);
- checkbox1.deselect(2);
-
- if (rdo_kind.value == 0) // 전체
- {
- grp_kindchurch.visible = false;
- grp_kindhosp.visible = true;
-
- grd_visitlist.colhidden(grd_visitlist.colRef("churchnm")) = false;
- grd_visitlist.colhidden(grd_visitlist.colRef("chrrgstkind")) = false;
- }
- else if (rdo_kind.value == 1) // 병원
- {
- grp_kindchurch.visible = false;
- grp_kindhosp.visible = true;
- grd_visitlist.colhidden(grd_visitlist.colRef("churchnm")) = true;
- grd_visitlist.colhidden(grd_visitlist.colRef("chrrgstkind")) = true;
- }
- else if (rdo_kind.value == 2) // 본당
- {
- grp_kindhosp.visible = false;
- grp_kindchurch.visible = true;
-
- grd_visitlist.colhidden(grd_visitlist.colRef("churchnm")) = false;
- grd_visitlist.colhidden(grd_visitlist.colRef("chrrgstkind")) = false;
- // 본당 리스트 조회
- submit("TRMNF00130");
- }
- else // 재택
- {
- messageBox("재택은 현재 강남에서 진행하지","E007"); //않았습니다.
- rdo_kind.value = '1';
- return;
- // grp_kindchurch.visible = false;
- // grp_kindhosp.visible = true;
- //
- // grd_visitlist.colhidden(grd_visitlist.colRef("churchnm")) = false;
- // grd_visitlist.colhidden(grd_visitlist.colRef("chrrgstkind")) = false;
- }
- // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
- submit("TRMNF00106");
-
- btn_search.dispatch("DOMActivate");
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- if (rdo_kind.value == 1) // 병원
- {
- grp_kindchurch.visible = false;
- grp_kindhosp.visible = true;
- }
- else if (rdo_kind.value == 2) // 본당
- {
- grp_kindhosp.visible = false;
- grp_kindchurch.visible = true;
- }
- else // 재택
- {
- grp_kindchurch.visible = false;
- grp_kindhosp.visible = true;
- }
-
- model.setValue("/root/send/kind", rdo_kind.value);
- model.refresh();
- ]]>
- </script>
- </select1>
- <group id="grp_kindchurch" visibility="hidden" style="left:480px; top:15px; width:560px; height:20px; background-color:transparent; ">
- <select1 id="combo5" ref="/root/send/churchcd" class="combo_search" appearance="minimal" style="left:75px; top:0px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/item/church/churchlist">
- <label ref="churchnm"/>
- <value ref="churchcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // SEND DATA 변경
- model.setValue("/root/send/churchcd", combo5.value);
- // 조회조건의 가정간호 담당간호사 리스트를 조회, 콤보박스에 세팅한다.
- submit("TRMNF00106");
- ]]>
- </script>
- </select1>
- <select1 id="combo7" ref="/root/send/chrgnursid" class="combo_search" appearance="minimal" style="left:450px; top:0px; width:90px; height:19px; ">
- <choices>
- <itemset nodeset="/root/item/chargenurse/nurselist">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // SEND DATA 변경
- // model.setValue("/root/send/chrgnursid", combo7.value);
- model.refresh();
-
- //btn_search.dispatch("DOMActivate") ;
- ]]>
- </script>
- </select1>
- <caption id="caption28" class="search_name" style="left:0px; top:0px; width:80px; height:17px; ">본당명 :</caption>
- <caption id="caption29" class="search_name" style="left:345px; top:1px; width:99px; height:17px; ">방문간호사 :</caption>
- <select id="checkbox1" ref="/root/send/chrrgstkind" class="checkbox_search" overflow="visible" appearance="full" cols="3" rows="1" sep="," style="left:205px; top:0px; width:140px; height:17px; text-align:center; 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>
- </select>
- </group>
- <caption id="caption1" class="search_name" style="left:15px; top:17px; width:98px; height:17px; ">조회구간 :</caption>
- <group id="grp_kindhosp" visibility="visible" style="left:480px; top:15px; width:225px; height:23px; background-color:transparent; ">
- <select1 id="combo6" ref="/root/send/chrgnursid" class="combo_search" appearance="minimal" style="left:100px; top:0px; width:100px; height:19px; ">
- <choices>
- <itemset nodeset="/root/item/chargenurse/nurselist">
- <label ref="usernm"/>
- <value ref="userid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- //btn_search.dispatch("DOMActivate") ;
- // SEND DATA 변경
- // model.setValue("/root/send/chrgnursid", combo6.value);
- // model.refresh();
- ]]>
- </script>
- </select1>
- <caption id="caption27" class="search_name" style="left:0px; top:1px; width:99px; height:17px; ">방문간호사 :</caption>
- </group>
- <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:107px; top:16px; width:100px; height:19px; "/>
- <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:235px; top:16px; width:100px; height:19px; "/>
- <caption id="caption3" class="search_name" style="left:15px; top:47px; width:115px; height:17px; ">진행상태 :</caption>
- <select1 id="rdo_procstatus" ref="/root/send/procstatus" class="radio_search" appearance="full" cols="6" rows="1" overflow="visible" style="left:110px; top:48px; width:355px; height:20px; border-style:none; ">
- <choices>
- <!--item>
- <label>전체</label>
- <value>0</value>
- </item-->
- <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>방문내역</label>
- <value>6</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- model.setValue("/root/send/procstatus", rdo_procstatus.value);
- model.refresh();
- if(model.getValue("/root/send/procstatus") == "3"){
- zbcfGetCodeList(new Array("M0349"), new Array("/root/item/endreason"));
- }
- btn_search.dispatch("DOMActivate");
-
-
- ]]>
- </script>
- </select1>
- <caption id="caption10" style="left:215px; top:19px; width:12px; height:13px; ">~</caption>
- <caption id="caption60" class="search_name" style="left:480px; top:50px; width:111px; height:17px; ">간호구분 :</caption>
- <select1 id="rdo_careflag" ref="/root/send/careflag" class="radio_search" appearance="full" cellspacing="0" cols="3" rows="1" overflow="visible" style="left:585px; top:50px; width:140px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>가정간호</label>
- <value>H</value>
- </item>
- <item>
- <label>방문간호</label>
- <value>V</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/careflag", rdo_careflag.value);
- // 조회
- btn_search.dispatch("DOMActivate");
- // model.refresh();
-
-
- ]]>
- </script>
- </select1>
- </group>
- <caption id="cap_listtitle" class="tit_2" style="left:5px; top:97px; width:124px; height:13px; ">환자 리스트</caption>
- <line id="line2" class="line_1" style="x1:0px; y1:112px; x2:1194px; y2:112px; "/>
- <button id="btn_excel" class="btn2_letter3" style="left:1140px; top:92px; width:53px; height:19px; ">
- <caption>Excel</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- if(rdo_procstatus.value == 1)
- {
- // 1.첫방문 리스트 엑셀 저장
- grd_visitlist.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- else if(rdo_procstatus.value == 2)
- {
- // 3.진행 리스트 엑셀 저장
- grd_proclist.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- else if(rdo_procstatus.value == 3)
- {
- // 4.종결 리스트 엑셀 저장
- grd_endlist.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- else if(rdo_procstatus.value == 4)
- {
- // 5.의뢰확정 리스트 엑셀 저장
- grd_cnfmlist.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- else if(rdo_procstatus.value == 5)
- {
- // 5.의뢰취소 리스트 엑셀 저장
- grd_cancellist.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- else if(rdo_procstatus.value == 6)
- {
- // 5.방문내역 리스트 엑셀 저장
- grd_visitspeclist.saveExcel(fileName, "SheetName", true, true, "", "", "");
- }
- }
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn2_letter2" style="left:1095px; top:92px; width:42px; height:19px; ">
- <caption>출력</caption>
- </button>
- <caption id="caption8" visibility="hidden" style="left:400px; top:705px; width:100px; height:25px; ">평균 방문수</caption>
- <caption id="caption9" visibility="hidden" style="left:645px; top:705px; width:102px; height:25px; ">평균 방문기간</caption>
- <input id="input1" visibility="hidden" style="left:480px; top:707px; width:105px; height:19px; "/>
- <input id="input2" visibility="hidden" style="left:730px; top:707px; width:105px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|