123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>입원/퇴원/재원조회</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <indschacptstat/>
- <srchcond/>
- <fromdd/>
- <todd/>
- <data1/>
- <sess_posinstcd/>
- <ioflag/>
- <eryn/>
- <vipyn/>
- <tdayinexptyn/>
- <srchdateyn/>
- <srchdate/>
- <gubunexpt/>
- <hngnm/>
- </send>
- <main>
- <inptlist>
- <inddschspec/>
- </inptlist>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- </patinfolist>
- </patinfo>
- </main>
- <init>
- <P0149list>
- <P0149>
- <cdid/>
- <cdnm/>
- </P0149>
- </P0149list>
- <P0160list>
- <P0160>
- <cdid/>
- <cdnm/>
- </P0160>
- </P0160list>
- <P0002list>
- <P0002>
- <cdid/>
- <cdnm/>
- </P0002>
- </P0002list>
- <P0008list>
- <P0008>
- <cdid/>
- <cdnm/>
- </P0008>
- </P0008list>
- <P0010list>
- <P0010>
- <cdid/>
- <cdnm/>
- </P0010>
- </P0010list>
- <P0070ist>
- <P0070>
- <cdid/>
- <cdnm/>
- </P0070>
- </P0070ist>
- <P0025list>
- <P0025>
- <cdid/>
- <cdnm/>
- </P0025>
- </P0025list>
- <P0006list>
- <P0006>
- <cdid/>
- <cdnm/>
- </P0006>
- </P0006list>
- <P0032list>
- <P0032>
- <cdid/>
- <cdnm/>
- </P0032>
- </P0032list>
- <P0016list>
- <P0016>
- <cdid/>
- <cdnm/>
- </P0016>
- </P0016list>
- <P0026list>
- <P0026>
- <cdid/>
- <cdnm/>
- </P0026>
- </P0026list>
- </init>
- <hidden>
- <init>
- <disccd>
- <cd/>
- <nm/>
- </disccd>
- <insukind>
- <cd/>
- <nm/>
- </insukind>
- <suppkind>
- <cd/>
- <nm/>
- <up/>
- <io/>
- </suppkind>
- <orddeptcd>
- <cd/>
- <nm/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- </orddrid>
- <flag>
- <prestdd/>
- <mskindflag/>
- </flag>
- <roomgrdecd>
- <nm/>
- <cd/>
- </roomgrdecd>
- </init>
- <printtype>
- <printkind/>
- <printfromdd/>
- <printtodd/>
- </printtype>
- </hidden>
- <source>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <autoflag/>
- </source>
- </root>
- </instance>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRPMI00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/inptlist"/>
- <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/hidden/init"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //-----------------------------------------------------------------------------------------------------------------------------------------------------------
- // 2009.06.10 조진희 변경개발요청 수정추가 박재형
- // 기존에 SMPMI00700_입원재원퇴원조회를 사용하고 있었는데 다른곳에서 임으로 다 사용하는 바람에 따로 화면을 원무 전용으로 해서 만들어달라고 요청들어옴.
- // 하여 SMPMI00700_입원재원퇴원조회를 복사하여 SMPMI03900_원무입원재원퇴원조회를 만들어서 적용할꺼고. 나머지 map, app, mgr, rex쪽은 모두 똑같이 사용한다.
- //-----------------------------------------------------------------------------------------------------------------------------------------------------------
- zbcfGetCodeList(new Array("P0149","P0160","P0002","P0008","P0010", "P0070", "P0025", "P0026","P0006", "P0032","P0016"), new Array("/root/init/P0149list", "/root/init/P0160list", "/root/init/P0002list", "/root/init/P0008list","/root/init/P0010list","/root/init/P0070list","/root/init/P0025list","/root/init/P0026list","/root/init/P0006list","/root/init/P0032list","/root/init/P0016list"));
- //model.setValue("/root/send/sess_posinstcd","012");
-
- model.setValue("/root/send/ioflag", "I");
- submit("TRPMI00106");
-
- /*
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
-
- model.setValue("/root/send/indschacptstat","1");
- model.refresh();
- */
-
- fInitialize();
- makeReportPreview(0, 0, 0, 0, "grp_report");
-
-
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <script type="javascript">
- <![CDATA[
- function fSelectRefItem(refitem)
- {
- // 1. 전체 2. 환자성명 3. 진료과 4. 병동 5. 보험유형 6.유형보조
- // 7. 할인계정 8. 입원경로 9. 보호자 10.주소별 11.성별 12. 선택진료 13. VIP
- model.setValue("/root/send/data1", "");
- model.refresh();
-
- if (refitem == '1') {
- ipt_text.visible = false;
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = false;
- cmb_inpath.visible= false;
- cmb_sex.visible = false;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = false;
-
-
- } else if (refitem == '2' || refitem == '9' || refitem == '10' || refitem == '14') {
- ipt_text.attribute("top") = "8xp";
- ipt_text.attribute("left") = "545px";
- ipt_text.visible = true;
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = false;
- cmb_inpath.visible= false;
- cmb_sex.visible = false;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = false;
- model.setFocus("ipt_text");
-
- } else if (refitem == '3') {
- cmb_orddeptcd.attribute("top") = "8xp";
- cmb_orddeptcd.attribute("left") = "545px";
- ipt_text.visible = false;
- cmb_orddeptcd.visible = true;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = false;
- cmb_inpath.visible= false;
- cmb_sex.visible = false;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = false;
- } else if (refitem == '4') {
- cmb_wardcd.attribute("top") = "8xp";
- cmb_wardcd.attribute("left") = "545px";
- ipt_text.visible = false;
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = true;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = false;
- cmb_inpath.visible= false;
- cmb_sex.visible = false;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = false;
-
- } else if (refitem == '5') {
- cmb_insukind.attribute("top") = "8xp";
- cmb_insukind.attribute("left") = "545px";
- ipt_text.visible = false;
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = true;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = false;
- cmb_inpath.visible= false;
- cmb_sex.visible = false;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = false;
- } else if (refitem == '6') {
- cmb_suppkind.attribute("top") = "8xp";
- cmb_suppkind.attribute("left") = "545px";
- ipt_text.visible = false;
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = true;
- cmb_disccd.visible = false;
- cmb_inpath.visible= false;
- cmb_sex.visible = false;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = false;
- } else if (refitem == '7') {
- cmb_disccd.attribute("top") = "8xp";
- cmb_disccd.attribute("left") = "545px";
- ipt_text.visible = false;
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = true;
- cmb_inpath.visible= false;
- cmb_sex.visible = false;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = false;
- } else if (refitem == '8') {
- cmb_inpath.attribute("top") = "8xp";
- cmb_inpath.attribute("left") = "545px";
- ipt_text.visible = false;
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = false;
- cmb_inpath.visible= true;
- cmb_sex.visible = false;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = false;
- } else if (refitem == '11') {
- cmb_sex.attribute("top") = "8xp";
- cmb_sex.attribute("left") = "545px";
- ipt_text.visible = false;
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = false;
- cmb_inpath.visible= false;
- cmb_sex.visible= true;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = false;
- } else if (refitem == '12') {
- cmb_specordyn.attribute("top") = "8xp";
- cmb_specordyn.attribute("left") = "545px";
- ipt_text.visible = false;
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = false;
- cmb_inpath.visible= false;
- cmb_sex.visible = false;
- cmb_specordyn.visible = true;
- cmb_vipyn.visible = false;
- } else if (refitem == '13') {
- cmb_vipyn.attribute("top") = "8xp";
- cmb_vipyn.attribute("left") = "545px";
- ipt_text.visible = false;
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = false;
- cmb_inpath.visible= false;
- cmb_sex.visible = false;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = true;
-
- }
- }
-
- function fInitialize() {
- model.resetInstanceNode("/root/main/inptlist/inddschspec");
- model.resetInstanceNode("/root/send");
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
- model.setValue("/root/send/indschacptstat","1");
- model.setValue("/root/send/srchcond","2");
- fSelectRefItem("2")
- model.refresh();
- }
-
- function fPrint(pCond) {
- var sPrintYN = "false";
- var sAutoCloseYN = "false";
- var sViewYN = "";
-
- if (pCond == "PREVIEW") {
- sPrintYN = "false";
- sAutoCloseYN = "false";
- sViewYN = "";
- }
-
- if (pCond == "PRINT") {
- sPrintYN = "true";
- sAutoCloseYN = "false";
- sViewYN = "grp_report";
- }
-
- var iCount = getNodesetCount("/root/main/inptlist/inddschspec");
- if (iCount > 0) {
- var sInDschKind = model.getValue("/root/send/indschacptstat");
- var sPrintFromdd = model.getValue("/root/send/fromdd");
- var sPrinttodd = model.getValue("/root/send/todd");
- var sPrintKind = "입원일자 :";
-
- if (sInDschKind == "1") sPrintKind = "입원일자 :";
- else if (sInDschKind == "3") {
- sPrintKind = "재원일자 :";
- sPrintFromdd = getCurrentDate();
- sPrinttodd = getCurrentDate();
- }
- else if (sInDschKind == "2") sPrintKind = "퇴원일자 :";
- else if (sInDschKind == "4") sPrintKind = "가퇴원일자 :";
- else if (sInDschKind == "5") sPrintKind = "퇴원예고일자 :";
- else sPrintKind = "출력일자 :";
-
- sPrintFromdd = sPrintFromdd.substr(0, 4) + "-" + sPrintFromdd.substr(4, 2) + "-" + sPrintFromdd.substr(6, 2);
- sPrinttodd = sPrinttodd.substr(0, 4) + "-" + sPrinttodd.substr(4, 2) + "-" + sPrinttodd.substr(6, 2);
-
- model.makeValue("/root/hidden/printtype/printkind", sPrintKind);
- model.makeValue("/root/hidden/printtype/printfromdd", sPrintFromdd);
- model.makeValue("/root/hidden/printtype/printtodd", sPrinttodd);
-
- exeReportPreview("RPPMI00701", "XMLSTR" , "" , "" , sPrintYN , "", "", "", "", sAutoCloseYN, "", sViewYN);
- } else {
- messageBox("출력할 내용이 없습니다!!", "I");
- }
- }
- ]]>
- </script>
- <xhtml:body guideline="1,1193;1,1195;" 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:200px; height:13px; ">입원/퇴원/재원조회</caption>
- </group>
- <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <input id="ipt_text" ref="/root/send/data1" class="input_search" visibility="hidden" imemode="hangul" style="left:543px; top:8px; width:115px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if(model.getValue("/root/send/srchcond") == "2" && event.keyCode == "13") {
- model.setValue("/root/source/srchcond", "2");
- model.setValue("/root/source/hngnm", ipt_text.currentText);
- //JHP 20081110
- if(model.getValue("/root/send/indschacptstat") == "3"){
- ;
- }else{
- model.setValue("/root/source/autoflag" , "Y");
- modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
- model.setValue("/root/send/data1" , model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/send/srchcond", "14");
- cmb_srchcond.refresh();
- ipt_text.refresh();
- }
- }
- inputEnterKey("button1", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption1" class="search_name" style="left:4px; top:9px; width:60px; height:17px; ">구분 :</caption>
- <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/send/gubunexpt") == "Y" ){
- var chkcond = model.getValue("/root/send/srchcond");
- if(chkcond == "2" || chkcond == "14" ){
- }else{
- messageBox("구분제외는 환자를 지정 하여야 합니다.", "I");
- return;
- }
-
- }
- var sSrchDateYN = model.getValue("/root/send/srchdateyn");
- var sCond = model.getValue("/root/send/srchcond");
- // 2009.01.06 - 특정인 조회 시 환자번호, 환자명 선택이 아니면
- if (sSrchDateYN == "Y" && (sCond != "2" && sCond != "14")) {
- messageBox("특정인 조회 시 환자명이나 환자번호를 선택해야 합니다.", "I");
- return;
- }
-
- if (sCond == "14" || sCond == "2" || sCond == "9") {
- var sText = model.getValue("/root/send/data1");
- if (!isNull(sText)) {
- submit("TRPMI00701");
-
- var iCount = getNodesetCount("/root/main/inptlist/inddschspec");
- if (iCount == 0) {
- messageBox("조회 결과가 없습니다.", "I");
- }
- } else {
- messageBox("검색할 단어를 입력하십시오!", "I");
- model.setFocus("ipt_text");
-
- model.refresh();
- }
- } else {
- submit("TRPMI00701");
-
- var iCount = getNodesetCount("/root/main/inptlist/inddschspec");
- if (iCount == 0) {
- messageBox("조회 결과가 없습니다.", "I");
- }
- }
- ]]>
- </script>
- </button>
- <line id="line2" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption17" class="search_name" style="left:793px; top:9px; width:86px; height:17px; ">입원일자 :</caption>
- <caption id="caption20" class="search_no_b" style="left:985px; top:9px; width:12px; height:17px; ">~</caption>
- <caption id="caption3" class="search_name" style="left:335px; top:9px; width:86px; height:17px; ">조회항목 :</caption>
- <select1 id="cmb_srchcond" ref="/root/send/srchcond" class="combo_search" appearance="minimal" style="left:424px; top:8px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>전체</label>
- <value>1</value>
- </item>
- <item>
- <label>환자번호</label>
- <value>14</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>
- <item>
- <label>할인계정</label>
- <value>7</value>
- </item>
- <item>
- <label>입원경로</label>
- <value>8</value>
- </item>
- <item>
- <label>보호자(피보험자)</label>
- <value>9</value>
- </item>
- <item>
- <label>성별</label>
- <value>11</value>
- </item>
- <item>
- <label>선택진료</label>
- <value>12</value>
- </item>
- <item>
- <label>VIP</label>
- <value>13</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var refitem = model.getValue("/root/send/srchcond");
- model.refresh();
- fSelectRefItem(refitem);
- ]]>
- </script>
- </select1>
- <input id="ipt_infromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" style="left:882px; top:8px; width:100px; height:19px; "/>
- <input id="ipt_intodd" ref="/root/send/todd" class="input_search" inputtype="date" style="left:1000px; top:8px; width:100px; height:19px; "/>
- <select1 id="rdo_indschacptstat" ref="/root/send/indschacptstat" class="radio_search" appearance="full" cols="4" overflow="visible" style="left:65px; top:10px; width:194px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>입원</label>
- <value>1</value>
- </item>
- <item>
- <label>재원</label>
- <value>3</value>
- </item>
- <item>
- <label>퇴원</label>
- <value>2</value>
- </item>
- <item>
- <label>가퇴원</label>
- <value>4</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var indschacptstat = rdo_indschacptstat.value;
- if (indschacptstat == "1") {
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd", getCurrentDate());
- }
-
- if (indschacptstat == "2") {
- model.setValue("/root/send/fromdd", getCurrentDate().toDate().getAddDate(-1,"M").getDateFormat("YYYYMMDD"));
- model.setValue("/root/send/todd",getCurrentDate());
- }
-
- if (indschacptstat == "3") {
- model.setValue("/root/send/fromdd",'19000101');
- model.setValue("/root/send/todd",getCurrentDate());
- model.setValue("/root/send/srchcond" , "2");
- cmb_srchcond.dispatch("xforms-select");
- model.setValue("/root/send/srchdate",getCurrentDate());
- }
-
- if (indschacptstat == "4") {
- model.setValue("/root/send/fromdd", getCurrentDate());
- model.setValue("/root/send/todd",getCurrentDate());
- }
-
- if (indschacptstat == "2" || indschacptstat == "4" ) {
- caption17.value = "퇴원일자 :";
- } else {
- caption17.value = "입원일자 :";
- }
- if (indschacptstat == "3") {
- caption17.visible = false;
- caption20.visible = false;
- ipt_infromdd.visible = false;
- ipt_intodd.visible = false;
- chk_tdayinexptyn.visible = true;
- //model.setValue("/root/send/tdayinexptyn" , "Y");
- model.setValue("/root/send/srchcond" , "2");
- chk_tdayinexptyn.attribute("left") = "713px";
- chk_tdayinexptyn.attribute("top") = "10px";
- chk_srchdateyn.attribute("left") = "805px";
- if(model.getValue("/root/send/srchdateyn") == "Y"){
- var left1 = chk_srchdateyn.attribute("left");
- var left2 = parseInt(left1.substring(0,3)) + 85;
- var left3 = left2 + "px";
- ipt_indd.attribute("left") = left3;
- ipt_indd.visible = true;
- caption17.visible = false;
- ipt_infromdd.visible = false;
- caption20.visible = false;
- ipt_intodd.visible = false;
- }else{
- ipt_indd.visible = false;
- if(model.getValue("/root/send/indschacptstat") != "3"){
- caption17.visible = true;
- ipt_infromdd.visible = true;
- caption20.visible = true;
- ipt_intodd.visible = true;
- }
- }
- } else {
- ipt_text.visible = false;
- caption17.visible = true;
- caption20.visible = true;
- ipt_infromdd.visible = true;
- ipt_intodd.visible = true;
- chk_tdayinexptyn.visible = false;
- model.setValue("/root/send/srchcond" , "1");
- model.setValue("/root/send/tdayinexptyn" , "N");
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = false;
- cmb_inpath.visible= false;
- cmb_sex.visible = false;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = false;
- chk_srchdateyn.attribute("left") = "713px";
- if(model.getValue("/root/send/srchdateyn") == "Y"){
- var left1 = chk_srchdateyn.attribute("left");
- var left2 = parseInt(left1.substring(0,3)) + 85;
- var left3 = left2 + "px";
- ipt_indd.attribute("left") = left3;
- ipt_indd.visible = true;
- caption17.visible = false;
- ipt_infromdd.visible = false;
- caption20.visible = false;
- ipt_intodd.visible = false;
- }else{
- ipt_indd.visible = false;
- if(model.getValue("/root/send/indschacptstat") != "3"){
- caption17.visible = true;
- ipt_infromdd.visible = true;
- caption20.visible = true;
- ipt_intodd.visible = true;
- }
- }
- }
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_sex" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:570px; top:3px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>남</label>
- <value>M</value>
- </item>
- <item>
- <label>여</label>
- <value>F</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_orddeptcd" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:560px; top:13px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_wardcd" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:570px; top:13px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_specordyn" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:580px; top:3px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>선택진료</label>
- <value>Y</value>
- </item>
- <item>
- <label>비선택진료</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_insukind" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:580px; top:13px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_vipyn" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:590px; top:3px; width:115px; height:19px; ">
- <choices>
- <item>
- <label>VIP</label>
- <value>Y</value>
- </item>
- <item>
- <label>일반</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <select1 id="cmb_suppkind" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:590px; top:13px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/suppkind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_disccd" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:600px; top:13px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/init/disccd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_inpath" ref="/root/send/data1" class="combo_search" visibility="hidden" appearance="minimal" style="left:610px; top:13px; width:115px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0002list/P0002">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="radio1" ref="/root/send/indschacptstat" appearance="full" overflow="visible" style="left:255px; top:10px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>퇴원예고</label>
- <value>5</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var indschacptstat = rdo_indschacptstat.value;
-
- if (indschacptstat == "5") {
- //caption17.visible = true;
- //caption20.visible = true;
- caption17.value = "퇴원예고 :";
- model.setValue("/root/send/fromdd", getCurrentDate());
- ipt_infromdd.visible = true;
- ipt_intodd.visible = true;
- chk_tdayinexptyn.visible = false;
- model.setValue("/root/send/srchcond" , "1");
- model.setValue("/root/send/tdayinexptyn" , "N");
- cmb_orddeptcd.visible = false;
- cmb_wardcd.visible = false;
- cmb_insukind.visible = false;
- cmb_suppkind.visible = false;
- cmb_disccd.visible = false;
- cmb_inpath.visible= false;
- cmb_sex.visible = false;
- cmb_specordyn.visible = false;
- cmb_vipyn.visible = false;
- ipt_text.visible = false;
- if(model.getValue("/root/send/srchdateyn") == "Y"){
- var left1 = chk_srchdateyn.attribute("left");
- var left2 = parseInt(left1.substring(0,3)) + 85;
- var left3 = left2 + "px";
- ipt_indd.attribute("left") = left3;
- ipt_indd.visible = true;
- caption17.visible = false;
- ipt_infromdd.visible = false;
- caption20.visible = false;
- ipt_intodd.visible = false;
- }else{
- ipt_indd.visible = false;
- if(model.getValue("/root/send/indschacptstat") != "3"){
- caption17.visible = true;
- ipt_infromdd.visible = true;
- caption20.visible = true;
- ipt_intodd.visible = true;
- }
- }
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <select id="checkbox1" ref="/root/send/vipyn" overflow="visible" appearance="full" style="left:674px; top:10px; width:40px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>VIP</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="chk_tdayinexptyn" ref="/root/send/tdayinexptyn" visibility="hidden" appearance="full" style="left:790px; top:0px; width:105px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>당일입원제외</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.setValue("/root/send/tdayinexptyn", "Y");
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- model.setValue("/root/send/tdayinexptyn", "N");
- ]]>
- </script>
- </select>
- <input id="ipt_indd" ref="/root/send/srchdate" class="input_search" visibility="hidden" inputtype="date" style="left:1005px; top:8px; width:100px; height:19px; "/>
- <select id="chk_srchdateyn" ref="/root/send/srchdateyn" visibility="visible" appearance="full" style="left:713px; top:10px; width:85px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>특정인조회</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // 날짜가 없으면 전체를 조회
- //model.setValue("/root/send/srchdate", getCurrentDate());
-
- if(model.getValue("/root/send/srchdateyn") == "Y"){
- var left1 = chk_srchdateyn.attribute("left");
- var left2 = parseInt(left1.substring(0,3)) + 85;
- var left3 = left2 + "px";
- ipt_indd.attribute("left") = left3;
- ipt_indd.visible = true;
- caption17.visible = false;
- ipt_infromdd.visible = false;
- caption20.visible = false;
- ipt_intodd.visible = false;
- rdo_indschacptstat.disabled = true;
- radio1.disabled = true;
- }else{
- ipt_indd.visible = false;
- if(model.getValue("/root/send/indschacptstat") != "3"){
- caption17.visible = true;
- ipt_infromdd.visible = true;
- caption20.visible = true;
- ipt_intodd.visible = true;
- }
- rdo_indschacptstat.disabled = false;
- radio1.disabled = false;
- }
- model.refresh();
- ]]>
- </script>
- </select>
- </group>
- <caption id="caption2" class="tit_2" style="left:5px; top:55px; width:300px; height:13px; font-family:돋움; vertical-align:middle; ">입원/퇴원/재원내역</caption>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
- <button id="button3" class="btn2_letter4" style="left:1130px; top:50px; width:64px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var fileName = window.fileDialog("save", ",", false, getCurrentDate(), "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
- if (fileName != "")
- {
- grd_inddschspec.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- ]]>
- </script>
- </button>
- <datagrid id="grd_inddschspec" nodeset="/root/main/inptlist/inddschspec" class="datagrid2" caption="격^환자번호^환자성명^환자성명(표)^생년월일^성별^나이^진료과^전문의^병동^병실^병상^입실
확인^선택
여부^선택진료서명^입원경로^입원일자^응급실내원일^입원시간^퇴원일자^퇴원시간^퇴원예고일^재원일수^현진료과
재원일수^예상
재원기간^퇴원
예정일^약정
구분^약정
잔여일수^사망여부^사망일자^진료의뢰서유무^주소^외국인^주/부^보험유형^보험회사명^보조유형^보조유형사유^승인기간^병실등급^상급
서명^병실형태^할인^전화(자택)^전화(휴대폰)^진료과약어^입원경로1^종교^담당의^진료과약어^진단명" colsep="^" colwidth="25, 77, 51, 80, 110, 35, 35, 100, 66, 84, 86, 50, 35, 35, 60, 60, 80, 85, 60, 80, 60, 70, 35, 58, 63, 82, 40, 60, 35, 100, 55, 242, 81, 63, 80, 90, 80, 85, 130, 105, 35, 100, 139, 110, 110, 100, 100, 100, 60, 100, 300" dataheight="23" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="32" rowsep="|" style="left:0px; top:75px; width:1194px; height:669px; ">
- <col ref="isolateinfo" style="text-align:center; "/>
- <col editable="false" ref="pid" type="input" style="text-align:center; "/>
- <col disabled="true" ref="hngnm" visibility="hidden" style="text-align:center; "/>
- <col disabled="true" ref="hngnm2" style="text-align:center; "/>
- <!-- col disabled="true" ref="rrgstno" format="999999-9999999" style="text-align:center; "/ -->
- <col disabled="true" ref="rrgstno" format="99/99/99" style="text-align:center; "/>
- <col disabled="true" ref="sex" style="text-align:center; "/>
- <col disabled="true" ref="age" style="text-align:center; "/>
- <col disabled="true" ref="orddeptnm" type="output" style="text-align:left; "/>
- <col disabled="true" ref="medispclnm" type="output" style="text-align:center; "/>
- <col disabled="true" ref="wardcd" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/hidden/init/wardcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="roomcd" style="text-align:center; "/>
- <col disabled="true" ref="bednm" style="text-align:center; "/>
- <col ref="inrmchk" style="text-align:center; "/>
- <col ref="specordyn" type="output" style="text-align:center; "/>
- <col ref="sasmyn" style="text-align:center; "/>
- <col disabled="true" ref="inpath" type="combo" style="text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/P0002list/P0002">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="erindd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="intm" format="hh:nn" style="text-align:center; "/>
- <col disabled="true" ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col disabled="true" ref="dschtm" format="hh:nn" style="text-align:center; "/>
- <col disabled="true" ref="dschdclrdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="inhospdays" style="text-align:center; "/>
- <col ref="inhospdeptdays" style="text-align:center; "/>
- <col ref="fcstinterm" style="text-align:center; "/>
- <col ref="dschfcstdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="agmttype" style="text-align:center; "/>
- <col ref="agmtdd" style="text-align:center; "/>
- <col ref="dethyn" style="text-align:center; "/>
- <col ref="dethdt" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="cnstyn" style="text-align:center; "/>
- <col disabled="true" ref="detladdr"/>
- <col ref="forgeryn"/>
- <col ref="mskind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0006list/P0006">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/insukind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="insucdnm" visibility="hidden"/>
- <col disabled="true" ref="suppkind" type="combo" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/hidden/init/suppkind">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="suppkindresn" type="combo" visibility="hidden" style="text-align:center; ">
- <choices>
- <itemset nodeset="/root/init/P0032list/P0032">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="aprvfromto" style="text-align:center; "/>
- <col disabled="true" ref="roomgrdecd" type="combo">
- <choices>
- <itemset nodeset="/root/hidden/init/roomgrdecd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="roomsignyn" style="text-align:center; "/>
- <col disabled="true" ref="roomtypecd" type="combo">
- <choices>
- <itemset nodeset="/root/init/P0026list/P0026">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col disabled="true" ref="disccd" type="output"/>
- <col disabled="true" ref="hometel"/>
- <col disabled="true" ref="mpphontel"/>
- <col visibility="hidden"/>
- <col ref="inpath1" visibility="hidden"/>
- <col disabled="true" ref="religncd" type="output" visibility="visible"/>
- <col ref="orddrnm"/>
- <col ref="deptengabbr" visibility="hidden"/>
- <col ref="diagnm" type="output" style="text-align:left; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- //sorting 시 인스턴스 구조를 재구성
- grd_inddschspec.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <button id="button4" class="btn2_letter2" style="left:1085px; top:50px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrint("PRINT");
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter4" style="left:1018px; top:50px; width:64px; height:19px; ">
- <caption>미리보기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fPrint("PREVIEW");
- ]]>
- </script>
- </button>
- <group id="grp_report" visibility="hidden" style="left:865px; top:50px; width:65px; height:15px; "/>
- </group>
- <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="button2" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|