123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939 |
- <?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="">
- <main>
- <curescheinfo>
- <maininfo>
- <flag/>
- <genrdd/>
- <genrno/>
- <suppdeptcd/>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <rrgstno1/>
- <rrgstno2/>
- <tel/>
- <addr/>
- <orddrid/>
- <orddeptcd/>
- <statcd/>
- <cntctel/>
- <curedg1/>
- <oldcuredg1/>
- <curedgseq1/>
- <curedg2/>
- <oldcuredg2/>
- <curedgseq2/>
- <curedg3/>
- <oldcuredg3/>
- <curedgseq3/>
- <curedg4/>
- <oldcuredg4/>
- <curedgseq4/>
- <curedg5/>
- <oldcuredg5/>
- <curedgseq5/>
- <curedg6/>
- <oldcuredg6/>
- <curedgseq6/>
- <remfact/>
- <startdd/>
- <endcnts/>
- <inschedd/>
- <dutplceinstnm/>
- <depttel/>
- <depttime1/>
- <depttime2/>
- <depttime3/>
- <curedg7/>
- <curedgseq7/>
- </maininfo>
- </curescheinfo>
- <cureschelist>
- <mainlist>
- <flag/>
- <genrdd/>
- <genrno/>
- <suppdeptcd/>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <rrgstno1/>
- <rrgstno2/>
- <tel/>
- <addr/>
- <orddrid/>
- <orddeptcd/>
- <statcd/>
- <cntctel/>
- <curedg1/>
- <oldcuredg1/>
- <curedgseq1/>
- <curedg2/>
- <oldcuredg2/>
- <curedgseq2/>
- <curedg3/>
- <oldcuredg3/>
- <curedgseq3/>
- <curedg4/>
- <oldcuredg4/>
- <curedgseq4/>
- <curedg5/>
- <oldcuredg5/>
- <curedgseq5/>
- <curedg6/>
- <oldcuredg6/>
- <curedgseq6/>
- <remfact/>
- <startdd/>
- <endcnts/>
- <inschedd/>
- </mainlist>
- </cureschelist>
- <patinfo>
- <patinfolist>
- <pid/>
- <hngnm/>
- </patinfolist>
- </patinfo>
- <iptbox>
- <wardcd/>
- <roomcd/>
- </iptbox>
- <popupendflag/>
- <list>
- <item/>
- </list>
- </main>
- <send>
- <data>
- <srchpid/>
- <hngnm/>
- <fromdd/>
- <todd/>
- </data>
- <savedata/>
- <data2>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <acptdd/>
- </data2>
- <globalinstance>
- <instance1/>
- </globalinstance>
- <useyn/>
- </send>
- <hidden>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <session/>
- </hidden>
- <init>
- <today/>
- <roomlist/>
- <orddeptcd>
- <cd/>
- <nm/>
- <deptengabbr/>
- <reqdeptno/>
- </orddeptcd>
- <orddrid>
- <cd/>
- <nm/>
- <dp/>
- <sp/>
- </orddrid>
- </init>
- <temp>
- <printyn1/>
- <printyn2/>
- <printyn3/>
- <printyn4/>
- <printetcflag/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- makeReportPreview(0,50,1194,600, "grp_report");
-
- fInit();
-
- // 부서코드 설정
- aezfSetSuppDeptcd();
- // 여기
- model.setValue("/root/send/useyn", "Y");
- submit("TRAEA05002");
- // 치료 스케쥴 기준정보 조회 (2개이상일 때만 검사촬영일2 활성화 - 빈센트 요구 사항 2009.09.25 임여원 )
- var NodeCnt=getNodesetCount("/root/main/list/item");
- if(NodeCnt>1) //검사 2개 이상일 때 출력물에도 검사 촬영일자 추가하는 파라미터추가
- {
- caption39.visible=true;
- input6.visible=true;
- caption40.visible=true;
- model.makeValue("/root/temp/printetcflag","Y");
-
- }
- else
- {
- caption39.visible=false;
- input6.visible=false;
- caption40.visible=false;
- model.makeValue("/root/temp/printetcflag","N");
- }
-
- // 진료과/진료의 조회
- submit("TRPMOCOM01", false);
- var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
-
- // cmb_orddept.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd[cd='"+ suppdeptcd + "']";
- // cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp='"+ suppdeptcd + "']";
- // cmb_orddept.value = suppdeptcd;
-
- makeReportPreview(0, 50, 1179, 678, "grp_report1");
- makeReportPreview(0, 50, 1179, 678, "grp_report2");
- makeReportPreview(0, 50, 1179, 678, "grp_report3");
- makeReportPreview(0, 50, 1179, 678, "grp_report4");
- makeReportPreview(0, 50, 1179, 678, "grp_report5");
- makeReportPreview(0, 50, 1179, 678, "grp_report6");
- makeReportPreview(0, 50, 1179, 678, "grp_report7");
-
- var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
-
- // if (suppdeptcd != "2180000000" ) {
- // btn_hold.disabled = true;
- // btn_holdcncl.disabled = true;
- // }
-
- var srchpid = model.getValue("/root/hidden/pid");
- if ( srchpid != "" ) {
- model.setValue("/root/send/data/srchpid", srchpid);
- fGetCureScheList();
- }
-
- model.setValue("/root/temp/printyn1", "Y");
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
- <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
- <submission id="TRAEA04601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cureschelist"/>
- <submission id="TRAEB02902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/patinfo" resultref="/root/main/patinfo"/>
- <submission id="TXAEA04601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/curescheinfo/maininfo"/>
- <submission id="TRAEA05002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
- <script type="javascript">
- <![CDATA[
-
- function fInit() {
-
- model.resetInstanceNode("/root/send/data");
- model.resetInstanceNode("/root/main/curescheinfo/maininfo");
- model.removenode("/root/main/cureschelist");
-
- // //조회기간 시작일자는 7일 전, 종료일자는 7일 후로 설정한다.
- // var fromdd = ((getCurrentDate()).toDate()).getAddDate(-7);
- // model.setValue("/root/send/data/fromdd", fromdd.getDateFormat());
- // var todd = ((getCurrentDate()).toDate()).getAddDate(7);
- // model.setValue("/root/send/data/todd" , todd.getDateFormat());
- //
- // model.makeValue("/root/main/curescheinfo/maininfo/curedg1",getCurrentDate());
- // model.makeValue("/root/main/curescheinfo/maininfo/curedg2",((getCurrentDate()).toDate()).getAddDate(7).getDateFormat());
- // model.makeValue("/root/main/curescheinfo/maininfo/curedg3",((getCurrentDate()).toDate()).getAddDate(14).getDateFormat());
- // model.makeValue("/root/main/curescheinfo/maininfo/curedg4",((getCurrentDate()).toDate()).getAddDate(21).getDateFormat());
- // model.makeValue("/root/main/curescheinfo/maininfo/curedg5",((getCurrentDate()).toDate()).getAddDate(28).getDateFormat());
- // model.makeValue("/root/main/curescheinfo/maininfo/curedg6",((getCurrentDate()).toDate()).getAddDate(35).getDateFormat());
- //
- // model.makeValue("/root/main/curescheinfo/maininfo/startdd",((getCurrentDate()).toDate()).getAddDate(7).getDateFormat());
- // model.makeValue("/root/main/curescheinfo/maininfo/inschedd",((getCurrentDate()).toDate()).getAddDate(28).getDateFormat());
- model.refresh();
- }
-
- // 환자별 치료 스케줄 조회
- function fGetCureScheList() {
-
- model.resetInstanceNode("/root/main/curescheinfo/maininfo");
- model.removenode("/root/main/cureschelist");
-
- if (submit("TRAEA04601")) {
- var rows = grd_cureschelist.rows;
- if ( rows > 1 ) {
- grd_cureschelist.row = 1;
- copyNodesetType("/root/main/curescheinfo/maininfo", "/root/main/cureschelist/mainlist[1]", "replace");
-
- var curedg3 = model.getValue("/root/main/curescheinfo/maininfo/curedg3");
- var curedg5 = model.getValue("/root/main/curescheinfo/maininfo/curedg5");
-
- var fstinjdrugdd = curedg3.toDate().getAddDate(-2);
- var scndinjdrugdd = curedg5.toDate().getAddDate(-2);
-
- model.makeValue("/root/main/curescheinfo/maininfo/fstinjdrugdd", fstinjdrugdd.getDateFormat());
- model.makeValue("/root/main/curescheinfo/maininfo/scndinjdrugdd", scndinjdrugdd.getDateFormat());
- }
- }
- model.refresh();
- }
-
-
- /**
- * @desc : 환자정보 조회
- * @
- * @param :
- * @return :
- * @author :
- * @---------------------------------------------------
- */
- function fGetPatInfo(){
-
- var pid = model.getValue("/root/main/curescheinfo/maininfo/pid");
- model.makeValue("/root/main/patinfo/patinfolist/pid",pid);
-
- if ( submit("TRAEB02902",false) ) {
- var cnt = getNodesetCount("/root/main/patinfo/patinfolist");
-
- if (cnt == 0) {
- model.makeValue("/root/main/curescheinfo/maininfo/suppdeptcd", "");
- model.makeValue("/root/main/curescheinfo/maininfo/hngnm", "");
- model.makeValue("/root/main/curescheinfo/maininfo/sex", "");
- model.makeValue("/root/main/curescheinfo/maininfo/age", "");
- model.makeValue("/root/main/curescheinfo/maininfo/rrgstno1", "");
- model.makeValue("/root/main/curescheinfo/maininfo/rrgstno2", "");
- model.makeValue("/root/main/curescheinfo/maininfo/tel", "");
- model.makeValue("/root/main/curescheinfo/maininfo/addr", "");
- messageBox("등록된 환자 정보가","I004");
-
- } else if (cnt == 1) {
- model.makeValue("/root/main/curescheinfo/maininfo/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.makeValue("/root/main/curescheinfo/maininfo/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- model.makeValue("/root/main/curescheinfo/maininfo/sex", model.getValue("/root/main/patinfo/patinfolist/sex"));
- model.makeValue("/root/main/curescheinfo/maininfo/age", model.getValue("/root/main/patinfo/patinfolist/age"));
- model.makeValue("/root/main/curescheinfo/maininfo/rrgstno1", model.getValue("/root/main/patinfo/patinfolist/rrgstno1"));
- model.makeValue("/root/main/curescheinfo/maininfo/rrgstno2", model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
- model.makeValue("/root/main/curescheinfo/maininfo/tel", model.getValue("/root/main/patinfo/patinfolist/tel"));
- model.makeValue("/root/main/curescheinfo/maininfo/addr", "");
- }
-
- var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
-
- cmb_orddept.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd[cd='"+ suppdeptcd + "']";
- cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp='"+ suppdeptcd + "']";
- cmb_orddept.value = suppdeptcd;
-
- model.refresh();
- }
- }
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="950" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <line id="line1" class="line_1" style="x1:5px; y1:83px; x2:925px; y2:83px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:20px; width:920px; height:39px; background-color:#fffbf2; border-color:#ffd799; "/>
- <button id="btn_req" class="btn1_letter2" style="left:847px; top:30px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetCureScheList();
- ]]>
- </script>
- </button>
- <line id="line3" style="x1:836px; y1:28px; x2:836px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption5" class="search_name" style="left:7px; top:30px; width:91px; height:17px; ">등록번호 :</caption>
- <input id="ipt_pid" ref="/root/send/data/srchpid" style="left:98px; top:30px; width:88px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if (event.keyCode == '13') { // Enter 입력 시에
- setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
- inputEnterKey("btn_req","DOMActivate");
- }
- ]]>
- </script>
- </input>
- <button id="btn_getpatinfo" class="icon_search" style="left:190px; top:30px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/data2/srchcond", "2");
- model.setValue("/root/send/data2/pid", model.getValue("/root/main/cond/pid"));
-
- modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data2","/root/send");
-
- var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
- var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
- model.setValue("/root/send/data/srchpid", sPid);
- model.setValue("/root/send/data/hngnm", sHngnm);
- model.refresh();
- ]]>
- </script>
- </button>
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:204px; height:14px; ">치료예약스케줄 상세정보관리</caption>
- <input id="input1" ref="/root/main/curescheinfo/maininfo/curedg1" class="input_default" inputtype="date" style="left:100px; top:387px; width:130px; height:19px; font-size:11pt; font-weight:bold; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <input id="input7" ref="/root/main/curescheinfo/maininfo/curedg6" class="input_default" inputtype="date" style="left:100px; top:538px; width:130px; height:19px; font-size:11pt; font-weight:bold; "/>
- <caption id="caption3" style="left:240px; top:387px; width:673px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">의사의 지시가 있을 때 까지 지금 먹는 갑상선 호르몬 (노란색 씬지로이드) 중지</caption>
- <caption id="caption15" style="left:240px; top:511px; width:673px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">치료를 위한 약물 투여 (입원·외래 시) 입원 혹은 외래 치료 6시간 전 금식하세요</caption>
- <caption id="caption17" style="left:240px; top:538px; width:673px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">치료 후 사진 촬영 (전신 촬영)</caption>
- <caption id="caption18" style="left:107px; top:565px; width:700px; height:19px; font-family:굴림체; font-size:10pt; font-weight:bold; ">칼슘약, 비타민 D, 혈압약, 당뇨약은 매일 드세요.</caption>
- <caption id="caption19" style="left:107px; top:584px; width:700px; height:19px; font-family:굴림체; font-size:10pt; font-weight:bold; ">갑상선 호르몬을 끊으면 피로, 의욕상실, 소화불량, 몸이 붓는 등의 증상</caption>
- <caption id="caption20" style="left:107px; top:603px; width:700px; height:19px; font-family:굴림체; font-size:10pt; font-weight:bold; ">이 나타날 수도 있습니다. (나타나지 않는 환자도 많습니다.)</caption>
- <caption id="caption21" style="left:107px; top:622px; width:700px; height:19px; font-family:굴림체; font-size:10pt; font-weight:bold; ">치료 약 투여 후 1년 간 환자는(남녀 모두) 반드시 피임하셔야 합니다.</caption>
- <datagrid id="grd_cureschelist" nodeset="/root/main/cureschelist/mainlist" caption="상태^등록일자^발생번호^지원부서^등록번호^이름^성별^나이^주민번호1^주민번호2^연락처^주소^진료과^진료의^상태^연락처^악물조절^변경전 일자^임시예약 순번^식이요법^변경전 일자^임시예약 순번^검사예약^변경전 일자^임시예약 순번^촬영^변경전 일자^임시예약 순번^치료일^변경전 일자^임시예약 순번^치료후 촬영^변경전 일자^임시예약 순번^참고사항^시작일자^종료내용^입원예정일" colsep="^" colwidth="0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90, 0, 90, 0, 0, 90, 0, 0, 90, 0, 0, 90, 0, 0, 90, 0, 0, 90, 0, 0, 252, 0, 0, 0,0,0,0,0,0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:88px; width:920px; height:152px; ">
- <col ref="flag"/>
- <col ref="genrdd" format="yyyy-mm-dd"/>
- <col ref="genrno"/>
- <col ref="suppdeptcd"/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="sex" style="text-align:center; "/>
- <col ref="age" style="text-align:center; "/>
- <col ref="rrgstno1"/>
- <col ref="rrgstno2"/>
- <col ref="tel"/>
- <col ref="addr"/>
- <col ref="orddrid"/>
- <col ref="orddeptcd"/>
- <col ref="statcd" type="combo">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>입원예정</label>
- <value>R</value>
- </item>
- <item>
- <label>대기</label>
- <value>D</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </col>
- <col ref="cntctel"/>
- <col ref="curedg1" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg1"/>
- <col ref="curedgseq1"/>
- <col ref="curedg2" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg2"/>
- <col ref="curedgseq2"/>
- <col ref="curedg3" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg3"/>
- <col ref="curedgseq3"/>
- <col ref="curedg4" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg4"/>
- <col ref="curedgseq4"/>
- <col ref="curedg5" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg5"/>
- <col ref="curedgseq5"/>
- <col ref="curedg6" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="oldcuredg6"/>
- <col ref="curedgseq6"/>
- <col ref="remfact"/>
- <col ref="startdd"/>
- <col ref="endcnts"/>
- <col ref="inschedd"/>
- <col ref="dutplceinstnm"/>
- <col ref="depttel"/>
- <col ref="depttime1"/>
- <col ref="depttime2"/>
- <col ref="depttime3"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
-
- if ( (grd_cureschelist.row >= grd_cureschelist.fixedRows) && (grd_cureschelist.isCell(event.target))) {
-
- var row = grd_cureschelist.row;
-
- copyNodesetType("/root/main/curescheinfo/maininfo", "/root/main/cureschelist/mainlist[" + row + "]", "replace");
-
- var curedg3 = model.getValue("/root/main/curescheinfo/maininfo/curedg3");
- var curedg5 = model.getValue("/root/main/curescheinfo/maininfo/curedg5");
-
- var fstinjdrugdd = curedg3.toDate().getAddDate(-2);
- var scndinjdrugdd = curedg5.toDate().getAddDate(-2);
-
- model.makeValue("/root/main/curescheinfo/maininfo/fstinjdrugdd", fstinjdrugdd.getDateFormat());
- model.makeValue("/root/main/curescheinfo/maininfo/scndinjdrugdd", scndinjdrugdd.getDateFormat());
-
- // model.setValue("/root/main/curescheinfo/maininfo/flag", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/flag"));
- // model.setValue("/root/main/curescheinfo/maininfo/genrdd", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/genrdd"));
- // model.setValue("/root/main/curescheinfo/maininfo/genrno", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/genrno"));
- // model.setValue("/root/main/curescheinfo/maininfo/suppdeptcd", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/suppdeptcd"));
- // model.setValue("/root/main/curescheinfo/maininfo/pid", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/pid"));
- // model.setValue("/root/main/curescheinfo/maininfo/hngnm", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/hngnm"));
- // model.setValue("/root/main/curescheinfo/maininfo/sex", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/sex"));
- // model.setValue("/root/main/curescheinfo/maininfo/age", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/age"));
- // model.setValue("/root/main/curescheinfo/maininfo/rrgstno1", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/rrgstno1"));
- // model.setValue("/root/main/curescheinfo/maininfo/rrgstno2", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/rrgstno2"));
- // model.setValue("/root/main/curescheinfo/maininfo/tel", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/tel"));
- // model.setValue("/root/main/curescheinfo/maininfo/addr", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/addr"));
- // model.setValue("/root/main/curescheinfo/maininfo/orddrid", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/orddrid"));
- // model.setValue("/root/main/curescheinfo/maininfo/orddeptcd", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/orddeptcd"));
- // model.setValue("/root/main/curescheinfo/maininfo/statcd", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/statcd"));
- // model.setValue("/root/main/curescheinfo/maininfo/cntctel", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/cntctel"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedg1", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg1"));
- // model.setValue("/root/main/curescheinfo/maininfo/oldcuredg1", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg1"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedgseq1", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq1"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedg2", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg2"));
- // model.setValue("/root/main/curescheinfo/maininfo/oldcuredg2", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg2"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedgseq2", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq2"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedg3", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg3"));
- // model.setValue("/root/main/curescheinfo/maininfo/oldcuredg3", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg3"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedgseq3", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq3"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedg4", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg4"));
- // model.setValue("/root/main/curescheinfo/maininfo/oldcuredg4", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg4"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedgseq4", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq4"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedg5", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg5"));
- // model.setValue("/root/main/curescheinfo/maininfo/oldcuredg5", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg5"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedgseq5", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedg6", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg6"));
- // model.setValue("/root/main/curescheinfo/maininfo/oldcuredg6", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg6"));
- // model.setValue("/root/main/curescheinfo/maininfo/curedgseq6", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq6"));
- // model.setValue("/root/main/curescheinfo/maininfo/remfact", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/remfact"));
- // model.setValue("/root/main/curescheinfo/maininfo/startdd", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/startdd"));
- // model.setValue("/root/main/curescheinfo/maininfo/endcnts", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/endcnts"));
- // model.setValue("/root/main/curescheinfo/maininfo/inschedd", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/inschedd"));
- //
- model.refresh();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption23" class="tit_2" style="left:5px; top:68px; width:181px; height:13px; ">치료 스케줄</caption>
- <output id="ipt_patnm" ref="/root/send/data/hngnm" class="output_fix" style="left:210px; top:30px; width:72px; height:19px; "/>
- <caption id="caption26" style="left:240px; top:430px; width:673px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">갑상선 호르몬 (흰색 테트로닌) 중지 식사 조절 (저요오드식) 시작</caption>
- <line id="line12" class="line_2" style="x1:5px; y1:424px; x2:925px; y2:424px; "/>
- <output id="opt_sex" ref="/root/main/curescheinfo/maininfo/sex" class="output_fix" appearance="output" style="left:519px; top:272px; width:30px; height:19px; "/>
- <output id="opt_hngnm" ref="/root/main/curescheinfo/maininfo/hngnm" class="output_fix" appearance="output" style="left:310px; top:272px; width:110px; height:19px; "/>
- <line id="line13" class="line_1" style="x1:5px; y1:265px; x2:925px; y2:265px; "/>
- <caption id="caption2" class="cell_1" style="left:215px; top:270px; width:92px; height:23px; text-align:left; vertical-align:middle; ">성명</caption>
- <caption id="caption11" class="cell_1" style="left:5px; top:270px; width:92px; height:23px; text-align:left; vertical-align:middle; ">등 록 번 호</caption>
- <input id="opt_pid" ref="/root/main/curescheinfo/maininfo/pid" class="output_fix" appearance="input" style="left:100px; top:272px; width:110px; height:19px; ">
- <script type="javascript" ev:event="onkeypress">
- <![CDATA[
- if ( event.keyCode == 13 ) {
- setInputNodeCurText();
- fGetPatInfo();
- }
- ]]>
- </script>
- </input>
- <caption id="caption4" class="cell_1" style="left:424px; top:270px; width:92px; height:23px; text-align:left; vertical-align:middle; ">성별/나이</caption>
- <caption id="caption27" class="tit_2" style="left:5px; top:250px; width:193px; height:13px; ">환자정보</caption>
- <output id="opt_age" ref="/root/main/curescheinfo/maininfo/age" class="output_fix" appearance="output" style="left:553px; top:272px; width:30px; height:19px; "/>
- <line id="line5" class="line_2" style="x1:5px; y1:321px; x2:925px; y2:321px; "/>
- <line id="line18" class="line_2" style="x1:5px; y1:294px; x2:925px; y2:294px; "/>
- <input id="input2" ref="/root/main/curescheinfo/maininfo/remfact" class="input_default" appearance="input" style="left:100px; top:327px; width:825px; height:19px; "/>
- <select id="chk_printyn" ref="/root/temp/printyn1" overflow="visible" appearance="full" style="left:5px; top:715px; width:185px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>방사성요오드치료준비안내출력</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox2" ref="/root/temp/printyn2" overflow="visible" appearance="full" style="left:198px; top:715px; width:115px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>저요오드식안내문</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox3" ref="/root/temp/printyn3" overflow="visible" appearance="full" style="left:320px; top:715px; width:100px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>안내와주의사항</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <select id="checkbox1" ref="/root/temp/printyn4" overflow="visible" appearance="full" style="left:425px; top:715px; width:75px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>주사요법</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <input id="input8" ref="/root/main/curescheinfo/maininfo/startdd" class="input_default" inputtype="date" style="left:100px; top:677px; width:110px; height:19px; "/>
- <select1 id="cmb_endcnts" ref="/root/main/curescheinfo/maininfo/endcnts" appearance="minimal" style="left:310px; top:677px; width:145px; height:19px; ">
- <choices>
- <item>
- <label>지시사항 있을때</label>
- <value>1</value>
- </item>
- <item>
- <label>I-131 검사날</label>
- <value>2</value>
- </item>
- <item>
- <label>I-123 검사날</label>
- <value>3</value>
- </item>
- <item>
- <label>입원 하는날</label>
- <value>4</value>
- </item>
- </choices>
- </select1>
- <input id="input9" ref="/root/main/curescheinfo/maininfo/inschedd" class="input_default" inputtype="date" style="left:572px; top:678px; width:123px; height:19px; "/>
- <group id="grp_report1" visibility="hidden" style="left:10px; top:145px; width:85px; height:85px; "/>
- <group id="grp_report2" visibility="hidden" style="left:100px; top:145px; width:85px; height:85px; "/>
- <group id="grp_report3" visibility="hidden" style="left:190px; top:145px; width:85px; height:85px; "/>
- <group id="grp_report4" visibility="hidden" style="left:280px; top:145px; width:85px; height:85px; "/>
- <group id="grp_report5" visibility="hidden" style="left:370px; top:145px; width:85px; height:85px; "/>
- <group id="grp_report6" visibility="hidden" style="left:460px; top:145px; width:85px; height:85px; "/>
- <group id="grp_report7" visibility="hidden" style="left:550px; top:145px; width:85px; height:85px; "/>
- <caption id="caption22" style="left:240px; top:457px; width:673px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">6시간 전 금식 후 핵의학과 혈액검사 검사를 위한 약물 투여</caption>
- <caption id="caption28" style="left:240px; top:483px; width:252px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">검사용사진촬영(전신촬영I-131)</caption>
- <input id="input10" ref="/root/main/curescheinfo/maininfo/curedg3" class="input_default" inputtype="date" style="left:100px; top:457px; width:130px; height:19px; font-size:11pt; font-weight:bold; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var curedg3 = model.getValue("/root/main/curescheinfo/maininfo/curedg3");
- if (curedg3 != "") {
-
- model.setValue("/root/main/curescheinfo/maininfo/curedg2", curedg3.toDate().getAddDate(model.getValue("root/main/list/item/dietregmdd")*1).getDateFormat());
- model.setValue("/root/main/curescheinfo/maininfo/curedg1", curedg3.toDate().getAddDate(model.getValue("root/main/list/item/drugadjtdd")*1).getDateFormat());
- //model.setValue("/root/main/curescheinfo/maininfo/curedg7", curedg3.toDate().getAddDate(model.getValue("root/main/list/item/examrsrvdd")*1).getDateFormat());
- model.setValue("/root/main/curescheinfo/maininfo/curedg7", model.getValue("/root/main/curescheinfo/maininfo/curedg3"));
- model.setValue("/root/main/curescheinfo/maininfo/startdd", model.getValue("/root/main/curescheinfo/maininfo/curedg2"));
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <input id="input11" ref="/root/main/curescheinfo/maininfo/curedg2" class="input_default" inputtype="date" style="left:100px; top:430px; width:130px; height:19px; font-size:11pt; font-weight:bold; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- ]]>
- </script>
- </input>
- <input id="input12" ref="/root/main/curescheinfo/maininfo/curedg4" class="input_default" inputtype="date" style="left:100px; top:483px; width:130px; height:19px; font-size:11pt; font-weight:bold; "/>
- <input id="input13" ref="/root/main/curescheinfo/maininfo/curedg5" class="input_default" inputtype="date" style="left:100px; top:511px; width:130px; height:19px; font-size:11pt; font-weight:bold; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- ]]>
- </script>
- </input>
- <caption id="caption8" class="cell_1" style="left:5px; top:385px; width:92px; height:23px; text-align:left; vertical-align:middle; ">약품조절</caption>
- <caption id="caption10" class="cell_1" style="left:5px; top:427px; width:92px; height:23px; text-align:left; vertical-align:middle; ">식이요법</caption>
- <caption id="caption30" class="cell_1" style="left:5px; top:454px; width:92px; height:23px; text-align:left; vertical-align:middle; ">검사예약</caption>
- <caption id="caption31" class="cell_1" style="left:5px; top:481px; width:92px; height:23px; text-align:left; vertical-align:middle; ">검사촬영1</caption>
- <caption id="caption32" class="cell_1" style="left:5px; top:508px; width:92px; height:23px; text-align:left; vertical-align:middle; ">치료일</caption>
- <caption id="caption33" class="cell_1" style="left:5px; top:535px; width:92px; height:23px; text-align:left; vertical-align:middle; ">치료 후 촬영</caption>
- <line id="line9" class="line_1" style="x1:5px; y1:380px; x2:925px; y2:380px; "/>
- <caption id="caption34" class="tit_2" style="left:5px; top:365px; width:193px; height:13px; ">방사성 요오드 치료 준비 안내</caption>
- <caption id="caption35" style="left:240px; top:407px; width:673px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">새로 처방 받은 호르몬 (흰색 테트로닌) 시작</caption>
- <line id="line2" class="line_2" style="x1:5px; y1:451px; x2:925px; y2:451px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:478px; x2:97px; y2:478px; "/>
- <line id="line6" class="line_2" style="x1:5px; y1:505px; x2:925px; y2:505px; "/>
- <line id="line7" class="line_2" style="x1:5px; y1:532px; x2:925px; y2:532px; "/>
- <line id="line8" class="line_2" style="x1:5px; y1:560px; x2:925px; y2:560px; "/>
- <caption id="caption12" class="cell_1" style="left:5px; top:562px; width:92px; height:23px; text-align:left; vertical-align:middle; ">안내</caption>
- <line id="line10" class="line_3" style="x1:5px; y1:640px; x2:925px; y2:640px; "/>
- <line id="line11" class="line_1" style="x1:5px; y1:670px; x2:455px; y2:670px; "/>
- <caption id="caption14" class="tit_2" style="left:5px; top:655px; width:240px; height:13px; ">저요오드식(Low lodine Diet) 안내문</caption>
- <caption id="caption29" class="cell_1" style="left:5px; top:675px; width:92px; height:23px; text-align:left; vertical-align:middle; ">시작</caption>
- <caption id="caption24" class="cell_1" style="left:215px; top:675px; width:92px; height:23px; text-align:left; vertical-align:middle; ">아침부터 ~ 끝</caption>
- <line id="line14" class="line_1" style="x1:475px; y1:670px; x2:925px; y2:670px; "/>
- <caption id="caption25" class="tit_2" style="left:475px; top:655px; width:302px; height:13px; ">방사성 요오드 입원치료에 대한 안내와 주의사항</caption>
- <caption id="caption36" class="cell_1" style="left:475px; top:675px; width:92px; height:23px; text-align:left; vertical-align:middle; ">입원 예정일</caption>
- <line id="line15" class="line_3" style="x1:5px; y1:699px; x2:455px; y2:699px; "/>
- <line id="line16" class="line_3" style="x1:475px; y1:699px; x2:925px; y2:699px; "/>
- <group id="group1" style="left:5px; top:735px; width:920px; height:30px; ">
- <button id="btn_holdcncl" class="btn4_letter2" visibility="hidden" style="left:520px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var flag = model.getValue("/root/main/curescheinfo/maininfo/flag");
-
- if (flag == "I" ) {
- model.resetInstanceNode("/root/main/curescheinfo/maininfo");
- model.refresh();
- } else {
- model.setValue("/root/main/curescheinfo/maininfo/flag","D");
- submit("TXAEA04601");
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn4_letter2" style="left:803px; top:5px; width:56px; height:22px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- model.makeValue("/root/main/curescheinfo/maininfo/endcontsnm" , cmb_endcnts.label);
-
-
- var dutplcedepthngnm = model.getValue("/root/main/curescheinfo/maininfo/dutplcedepthngnm");
- var dutplceinstnm = getUserInfo("dutplceinstnm");
- model.makeValue("/root/main/curescheinfo/maininfo/dutplceinstnm", dutplceinstnm + " " + dutplcedepthngnm);
-
- var printyn1 = model.getValue("/root/temp/printyn1");
- var printyn2 = model.getValue("/root/temp/printyn2");
- var printyn3 = model.getValue("/root/temp/printyn3");
- var printyn4 = model.getValue("/root/temp/printyn4");
-
- var sPreview = "true";
- if ( printyn1 == "Y" ) {
- exeReportPreview("RPAEB02900", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report1");
- }
- if ( printyn2 == "Y" ) {
- exeReportPreview("RPAEB03000", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report2");
- exeReportPreview("RPAEB03100", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report3");
- }
-
- if ( printyn3 == "Y" ) {
- exeReportPreview("RPAEB03200", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report4");
- exeReportPreview("RPAEB03300", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report5");
- exeReportPreview("RPAEB03400", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report6");
- }
-
- if ( printyn4 == "Y" ) {
-
- model.removenode("/root/print4/temp");
-
- var day ="";
- var baseDate;
-
- var pid = model.getValue("/root/main/curescheinfo/maininfo/pid");
- var hngnm = model.getValue("/root/main/curescheinfo/maininfo/hngnm");
- var curedg2 = model.getValue("/root/main/curescheinfo/maininfo/curedg2");
- var curedg3 = model.getValue("/root/main/curescheinfo/maininfo/curedg3");
- var curedg4 = model.getValue("/root/main/curescheinfo/maininfo/curedg4");
- var curedg5 = model.getValue("/root/main/curescheinfo/maininfo/curedg5");
- var curedg6 = model.getValue("/root/main/curescheinfo/maininfo/curedg6");
- var fstinjdrugdd = model.getValue("/root/main/curescheinfo/maininfo/fstinjdrugdd");
- var scndinjdrugdd = model.getValue("/root/main/curescheinfo/maininfo/scndinjdrugdd");
-
- var fstinjdrugdd1 = fstinjdrugdd.toDate().getAddDate(1).getDateFormat();
- var scndinjdrugdd1 = scndinjdrugdd.toDate().getAddDate(1).getDateFormat();
-
- baseDate = curedg2.toDate("YYYYMMDD");
- day = baseDate.getDayOfWeek("K");
- curedg2 = curedg2.substr(0, 4) + "년 " + curedg2.substr(4, 2) + "월 " + curedg2.substr(6, 2) + "일 " + day + "요일";
-
- baseDate = curedg3.toDate("YYYYMMDD");
- day = baseDate.getDayOfWeek("K");
- curedg3 = curedg3.substr(0, 4) + "년 " + curedg3.substr(4, 2) + "월 " + curedg3.substr(6, 2) + "일 " + day + "요일";
-
- baseDate = curedg4.toDate("YYYYMMDD");
- day = baseDate.getDayOfWeek("K");
- curedg4 = curedg4.substr(0, 4) + "년 " + curedg4.substr(4, 2) + "월 " + curedg4.substr(6, 2) + "일 " + day + "요일";
-
- baseDate = curedg5.toDate("YYYYMMDD");
- day = baseDate.getDayOfWeek("K");
- curedg5 = curedg5.substr(0, 4) + "년 " + curedg5.substr(4, 2) + "월 " + curedg5.substr(6, 2) + "일 " + day + "요일";
-
- baseDate = curedg6.toDate("YYYYMMDD");
- day = baseDate.getDayOfWeek("K");
- curedg6 = curedg6.substr(0, 4) + "년 " + curedg6.substr(4, 2) + "월 " + curedg6.substr(6, 2) + "일 " + day + "요일";
-
- baseDate = fstinjdrugdd.toDate("YYYYMMDD");
- day = baseDate.getDayOfWeek("K");
- fstinjdrugdd = fstinjdrugdd.substr(0, 4) + "년 " + fstinjdrugdd.substr(4, 2) + "월 " + fstinjdrugdd.substr(6, 2) + "일 " + day + "요일";
-
- baseDate = scndinjdrugdd.toDate("YYYYMMDD");
- day = baseDate.getDayOfWeek("K");
- scndinjdrugdd = scndinjdrugdd.substr(0, 4) + "년 " + scndinjdrugdd.substr(4, 2) + "월 " + scndinjdrugdd.substr(6, 2) + "일 " + day + "요일";
-
- baseDate = fstinjdrugdd1.toDate("YYYYMMDD");
- day = baseDate.getDayOfWeek("K");
- fstinjdrugdd1 = fstinjdrugdd1.substr(0, 4) + "년 " + fstinjdrugdd1.substr(4, 2) + "월 " + fstinjdrugdd1.substr(6, 2) + "일 " + day + "요일";
-
- baseDate = scndinjdrugdd1.toDate("YYYYMMDD");
- day = baseDate.getDayOfWeek("K");
- scndinjdrugdd1 = scndinjdrugdd1.substr(0, 4) + "년 " + scndinjdrugdd1.substr(4, 2) + "월 " + scndinjdrugdd1.substr(6, 2) + "일 " + day + "요일";
-
- model.makeValue("/root/print4/temp/pid", pid);
- model.makeValue("/root/print4/temp/hngnm", hngnm);
- model.makeValue("/root/print4/temp/curedg2", curedg2);
- model.makeValue("/root/print4/temp/curedg3", curedg3);
- model.makeValue("/root/print4/temp/curedg4", curedg4);
- model.makeValue("/root/print4/temp/curedg5", curedg5);
- model.makeValue("/root/print4/temp/curedg6", curedg6);
- model.makeValue("/root/print4/temp/fstinjdrugdd", fstinjdrugdd);
- model.makeValue("/root/print4/temp/scndinjdrugdd", scndinjdrugdd);
- model.makeValue("/root/print4/temp/fstinjdrugdd1", fstinjdrugdd1);
- model.makeValue("/root/print4/temp/scndinjdrugdd1", scndinjdrugdd1);
- model.makeValue("/root/print4/temp/dutplceinstnm", dutplceinstnm + " " + dutplcedepthngnm);
- model.makeValue("/root/print4/temp/depttel", model.getValue("/root/main/curescheinfo/maininfo/depttel")); //2009-07-6 문의전화 추가
- model.makeValue("/root/print4/temp/depttime1", model.getValue("/root/main/curescheinfo/maininfo/depttime1")); //2009-07-6 문의시간_1 추가
- model.makeValue("/root/print4/temp/depttime2", model.getValue("/root/main/curescheinfo/maininfo/depttime2")); //2009-07-6 문의시간_2 추가
- model.makeValue("/root/print4/temp/depttime3", model.getValue("/root/main/curescheinfo/maininfo/depttime3")); //2009-07-6 문의시간_3 추가
-
- exeReportPreview("RPAEB03500", "XMLSTR", "/root/print4/temp", "", sPreview, "", "", "", "", "", "", "grp_report7");
- }
-
- ]]>
- </script>
- </button>
- <button id="button3" class="btn4_letter3" style="left:674px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn4_letter2" style="left:744px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var pid = model.getValue("/root/main/curescheinfo/maininfo/pid");
- if ( pid == "" ) {
- messageBox("등록번호를","C001");
- return "0";
- }
-
- var flag = model.getValue("/root/main/curescheinfo/maininfo/flag");
- var age = model.getValue("/root/main/curescheinfo/maininfo/age");
-
- if (flag == "" ) {
- model.setValue("/root/main/curescheinfo/maininfo/flag","I");
- model.setValue("/root/main/curescheinfo/maininfo/genrdd",getCurrentDate());
- }
-
- if (age == "-") {
- model.setValue("/root/main/curescheinfo/maininfo/age","0");
- }
-
- model.setValue("/root/main/curescheinfo/maininfo/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
- model.setValue("/root/send/data/srchpid", model.getValue("/root/main/curescheinfo/maininfo/pid"));
-
- if (submit("TXAEA04601", false)) {
- fGetCureScheList();
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="button1" class="btn4_letter2" style="left:860px; top:5px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (checkOpener()) {
- // opener.javascript.fRefresh();
- opener.model.refresh();
- }
- window.close();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn4_letter2" style="left:5px; top:5px; width:56px; height:22px; ">
- <caption>복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var copyValue = "";
-
- copyValue += "약품조절 : " + model.getValue("/root/main/curescheinfo/maininfo/curedg1") + "\r\n";
- copyValue += "식이요법 : " + model.getValue("/root/main/curescheinfo/maininfo/curedg2") + "\r\n";
- copyValue += "검사예약 : " + model.getValue("/root/main/curescheinfo/maininfo/curedg3") + "\r\n";
- copyValue += "검사촬영 : " + model.getValue("/root/main/curescheinfo/maininfo/curedg4") + "\r\n";
- copyValue += "치료일 : " + model.getValue("/root/main/curescheinfo/maininfo/curedg5") + "\r\n";
- copyValue += "치료 후 촬영 : " + model.getValue("/root/main/curescheinfo/maininfo/curedg6");
- window.clipBoardData = copyValue;
-
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption16" class="cell_1" style="left:215px; top:297px; width:92px; height:23px; text-align:left; vertical-align:middle; ">의사명</caption>
- <caption id="caption37" class="cell_1" style="left:5px; top:297px; width:92px; height:23px; text-align:left; vertical-align:middle; ">진료과</caption>
- <select1 id="cmb_orddr" ref="/root/main/curescheinfo/maininfo/orddrid" appearance="minimal" style="left:310px; top:300px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption38" class="cell_1" style="left:5px; top:324px; width:92px; height:23px; text-align:left; vertical-align:middle; ">참고사항</caption>
- <select1 id="cmb_orddept" ref="/root/main/curescheinfo/maininfo/orddeptcd" appearance="minimal" style="left:100px; top:300px; width:110px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption1" class="cell_1" style="left:425px; top:297px; width:92px; height:23px; text-align:left; vertical-align:middle; ">상태</caption>
- <caption id="caption7" class="cell_1" style="left:635px; top:297px; width:92px; height:23px; text-align:left; vertical-align:middle; ">연락처</caption>
- <input id="input5" ref="/root/main/curescheinfo/maininfo/cntctel" style="left:730px; top:300px; width:195px; height:19px; "/>
- <line id="line17" class="line_3" style="x1:5px; y1:349px; x2:925px; y2:349px; "/>
- <select1 id="combo1" ref="/root/main/curescheinfo/maininfo/statcd" appearance="minimal" style="left:519px; top:300px; width:110px; height:19px; ">
- <choices>
- <item>
- <label>입원</label>
- <value>I</value>
- </item>
- <item>
- <label>입원예정</label>
- <value>R</value>
- </item>
- <item>
- <label>대기</label>
- <value>D</value>
- </item>
- <item>
- <label>외래</label>
- <value>O</value>
- </item>
- </choices>
- </select1>
- <input id="input3" ref="/root/main/curescheinfo/maininfo/fstinjdrugdd" class="input_default" inputtype="date" style="left:600px; top:712px; width:110px; height:19px; "/>
- <caption id="caption9" class="cell_1" style="left:505px; top:710px; width:92px; height:23px; text-align:left; vertical-align:middle; ">1차 주사일</caption>
- <input id="input4" ref="/root/main/curescheinfo/maininfo/scndinjdrugdd" class="input_default" inputtype="date" style="left:812px; top:712px; width:110px; height:19px; "/>
- <caption id="caption13" class="cell_1" style="left:717px; top:710px; width:92px; height:23px; text-align:left; vertical-align:middle; ">2차 주사일</caption>
- <caption id="caption39" class="cell_1" visibility="hidden" style="left:495px; top:481px; width:92px; height:23px; text-align:left; vertical-align:middle; ">검사촬영2</caption>
- <input id="input6" ref="/root/main/curescheinfo/maininfo/curedg7" class="input_default" visibility="hidden" inputtype="date" style="left:590px; top:483px; width:130px; height:19px; font-size:11pt; font-weight:bold; "/>
- <caption id="caption40" visibility="hidden" style="left:728px; top:483px; width:175px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">검사용사진촬영(MIBI)</caption>
- </xhtml:body>
- </xhtml:html>
|