123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698 |
- <?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/>
- <curedg1/>
- <oldcuredg1/>
- <curedgseq1/>
- <curedg2/>
- <oldcuredg2/>
- <curedgseq2/>
- <curedg3/>
- <oldcuredg3/>
- <curedgseq3/>
- <curedg4/>
- <oldcuredg4/>
- <curedgseq4/>
- <curedg5/>
- <oldcuredg5/>
- <curedgseq5/>
- <curedg6/>
- <oldcuredg6/>
- <curedgseq6/>
- <remfact/>
- <startdd/>
- <endcnts/>
- <inschedd/>
- <dutplceinstnm/>
- </maininfo>
- </curescheinfo>
- <cureschelist>
- <mainlist>
- <flag/>
- <genrdd/>
- <genrno/>
- <suppdeptcd/>
- <pid/>
- <hngnm/>
- <sex/>
- <age/>
- <rrgstno1/>
- <rrgstno2/>
- <tel/>
- <addr/>
- <orddrid/>
- <orddeptcd/>
- <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/>
- </main>
- <send>
- <data>
- <srchpid/>
- <hngnm/>
- <fromdd/>
- <todd/>
- </data>
- <savedata/>
- <data2>
- <srchcond/>
- <pid/>
- <hngnm/>
- <rrgstno1/>
- <rrgstno2/>
- <acptdd/>
- </data2>
- <globalinstance>
- <instance1/>
- </globalinstance>
- </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/>
- </temp>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- makeReportPreview(0,50,1194,600, "grp_report");
-
- fInit();
-
- // 부서코드 설정
- aezfSetSuppDeptcd();
-
- // 진료과/진료의 조회
- 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");
-
- var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
-
- if (suppdeptcd != "2180000000" ) {
- btn_hold.disabled = true;
- btn_holdcncl.disabled = true;
- }
-
-
- ]]>
- </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="TRAEB02901" 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="TXAEB02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/curescheinfo/maininfo" resultref="/root/main/cureschelist"/>
- </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");
-
- submit("TRAEB02901");
- 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="940" 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:78px; x2:925px; y2:78px; "/>
- <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:5px; top:0px; width:204px; height:13px; ">방사선요오드 치료스케줄관리</caption>
- <input id="input1" ref="/root/main/curescheinfo/maininfo/curedg1" class="input_default" inputtype="date" style="left:107px; top:347px; width:123px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
-
- var fromdd= model.getValue("/root/main/curescheinfo/maininfo/curedg1");
-
- model.makeValue("/root/main/curescheinfo/maininfo/curedg2",((fromdd).toDate()).getAddDate(7).getDateFormat());
- model.makeValue("/root/main/curescheinfo/maininfo/curedg3",((fromdd).toDate()).getAddDate(14).getDateFormat());
- model.makeValue("/root/main/curescheinfo/maininfo/curedg4",((fromdd).toDate()).getAddDate(21).getDateFormat());
- model.makeValue("/root/main/curescheinfo/maininfo/curedg5",((fromdd).toDate()).getAddDate(28).getDateFormat());
- model.makeValue("/root/main/curescheinfo/maininfo/curedg6",((fromdd).toDate()).getAddDate(35).getDateFormat());
- model.makeValue("/root/main/curescheinfo/maininfo/startdd",((fromdd).toDate()).getAddDate(7).getDateFormat());
- model.makeValue("/root/main/curescheinfo/maininfo/inschedd",((fromdd).toDate()).getAddDate(28).getDateFormat());
- model.refresh();
- ]]>
- </script>
- </input>
- <input id="input7" ref="/root/main/curescheinfo/maininfo/curedg6" class="input_default" inputtype="date" style="left:107px; top:498px; width:123px; height:19px; "/>
- <caption id="caption3" style="left:235px; top:347px; width:695px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">의사의 지시가 있을 때 까지 지금 먹는 갑상선 호르몬 (노란색 씬지로이드) 중지</caption>
- <caption id="caption15" style="left:235px; top:471px; width:673px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">치료를 위한 약물 투여 (입원·외래 시) 입원 혹은 외래 치료 6시간 전 금식하세요</caption>
- <caption id="caption17" style="left:235px; top:498px; width:615px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">치료 후 사진 촬영 (I-131 전신 촬영)</caption>
- <caption id="caption18" style="left:107px; top:525px; width:700px; height:19px; font-family:굴림체; font-size:10pt; font-weight:bold; ">칼슘약, 비타민 D, 혈압약, 당뇨약은 매일 드세요.</caption>
- <caption id="caption19" style="left:107px; top:544px; width:700px; height:19px; font-family:굴림체; font-size:10pt; font-weight:bold; ">갑상선 호르몬을 끊으면 피로, 의욕상실, 소화불량, 몸이 붓는 등의 증상</caption>
- <caption id="caption20" style="left:107px; top:563px; width:700px; height:19px; font-family:굴림체; font-size:10pt; font-weight:bold; ">이 나타날 수도 있습니다. (나타나지 않는 환자도 많습니다.)</caption>
- <caption id="caption21" style="left:107px; top:582px; 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, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 100, 0, 0, 100, 0, 0, 100, 0, 0, 100, 0, 0, 100, 0, 0, 194, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:83px; 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="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/>
- <col/>
- <col/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if ( (grd_cureschelist.row >= grd_cureschelist.fixedRows) && (grd_cureschelist.isCell(event.target))) {
- var row = grd_cureschelist.row;
-
- 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/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:63px; 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:235px; top:390px; width:615px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">갑상선 호르몬 (흰색 테트로닌) 중지 식사 조절 (저요오드식) 시작</caption>
- <line id="line12" class="line_2" style="x1:5px; y1:384px; x2:925px; y2:384px; "/>
- <output id="opt_sex" ref="/root/main/curescheinfo/maininfo/sex" class="output_fix" appearance="output" style="left:571px; top:267px; width:30px; height:19px; "/>
- <output id="opt_hngnm" ref="/root/main/curescheinfo/maininfo/hngnm" class="output_fix" appearance="output" style="left:340px; top:267px; width:120px; height:19px; "/>
- <line id="line13" class="line_1" style="x1:5px; y1:260px; x2:925px; y2:260px; "/>
- <caption id="caption2" class="cell_1" style="left:238px; top:265px; width:100px; height:23px; text-align:center; vertical-align:middle; ">이 름</caption>
- <caption id="caption11" class="cell_1" style="left:5px; top:265px; width:100px; height:23px; text-align:center; vertical-align:middle; ">등 록 번 호</caption>
- <input id="opt_pid" ref="/root/main/curescheinfo/maininfo/pid" class="output_fix" appearance="input" style="left:107px; top:267px; width:123px; 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:469px; top:265px; width:100px; height:23px; text-align:center; vertical-align:middle; ">성별/나이</caption>
- <caption id="caption27" class="tit_2" style="left:5px; top:245px; width:193px; height:13px; ">환자정보</caption>
- <output id="opt_age" ref="/root/main/curescheinfo/maininfo/age" class="output_fix" appearance="output" style="left:603px; top:267px; width:30px; height:19px; "/>
- <line id="line5" class="line_3" style="x1:5px; y1:316px; x2:925px; y2:316px; "/>
- <line id="line18" class="line_2" style="x1:5px; y1:289px; x2:925px; y2:289px; "/>
- <caption id="caption1" class="cell_1" style="left:238px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">의사명</caption>
- <caption id="caption7" class="cell_1" style="left:5px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진료과</caption>
- <caption id="caption9" class="cell_1" style="left:469px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">참고사항</caption>
- <input id="input2" ref="/root/main/curescheinfo/maininfo/remfact" class="input_default" appearance="input" style="left:571px; top:295px; width:354px; height:19px; "/>
- <select1 id="cmb_orddept" ref="/root/main/curescheinfo/maininfo/orddeptcd" disabled="true" appearance="minimal" style="left:107px; top:295px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_orddr" ref="/root/main/curescheinfo/maininfo/orddrid" appearance="minimal" style="left:340px; top:295px; width:120px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddrid">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <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:200px; 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:330px; top:715px; width:100px; 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:107px; top:632px; width:123px; height:19px; "/>
- <select1 id="cmb_endcnts" ref="/root/main/curescheinfo/maininfo/endcnts" appearance="minimal" style="left:340px; top:632px; width:123px; 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:107px; top:688px; width:123px; height:19px; "/>
- <group id="grp_report1" visibility="hidden" style="left:10px; top:140px; width:85px; height:85px; "/>
- <group id="grp_report2" visibility="hidden" style="left:100px; top:140px; width:85px; height:85px; "/>
- <group id="grp_report3" visibility="hidden" style="left:190px; top:140px; width:85px; height:85px; "/>
- <group id="grp_report4" visibility="hidden" style="left:280px; top:140px; width:85px; height:85px; "/>
- <group id="grp_report5" visibility="hidden" style="left:370px; top:140px; width:85px; height:85px; "/>
- <group id="grp_report6" visibility="hidden" style="left:460px; top:140px; width:85px; height:85px; "/>
- <caption id="caption22" style="left:235px; top:417px; width:615px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">오후 2시 점심만 금식 후 핵의학과 혈액검사 검사를 위한 약물 투여</caption>
- <caption id="caption28" style="left:235px; top:443px; width:615px; 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:107px; top:417px; width:123px; height:19px; "/>
- <input id="input11" ref="/root/main/curescheinfo/maininfo/curedg2" class="input_default" inputtype="date" style="left:107px; top:390px; width:123px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/curescheinfo/maininfo/startdd", model.getValue("/root/main/curescheinfo/maininfo/curedg2"));
- ]]>
- </script>
- </input>
- <input id="input12" ref="/root/main/curescheinfo/maininfo/curedg4" class="input_default" inputtype="date" style="left:107px; top:443px; width:123px; height:19px; "/>
- <input id="input13" ref="/root/main/curescheinfo/maininfo/curedg5" class="input_default" inputtype="date" style="left:107px; top:471px; width:123px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/main/curescheinfo/maininfo/inschedd", model.getValue("/root/main/curescheinfo/maininfo/curedg5"));
- ]]>
- </script>
- </input>
- <caption id="caption8" class="cell_1" style="left:5px; top:345px; width:100px; height:23px; text-align:left; vertical-align:middle; ">약품조절</caption>
- <caption id="caption10" class="cell_1" style="left:5px; top:387px; width:100px; height:23px; text-align:left; vertical-align:middle; ">식이요법</caption>
- <caption id="caption30" class="cell_1" style="left:5px; top:414px; width:100px; height:23px; text-align:left; vertical-align:middle; ">검사예약</caption>
- <caption id="caption31" class="cell_1" style="left:5px; top:441px; width:100px; height:23px; text-align:left; vertical-align:middle; ">검사촬영</caption>
- <caption id="caption32" class="cell_1" style="left:5px; top:468px; width:100px; height:23px; text-align:left; vertical-align:middle; ">치료일</caption>
- <caption id="caption33" class="cell_1" style="left:5px; top:495px; width:100px; height:23px; text-align:left; vertical-align:middle; ">치료 후 촬영</caption>
- <line id="line9" class="line_1" style="x1:5px; y1:340px; x2:925px; y2:340px; "/>
- <caption id="caption34" class="tit_2" style="left:5px; top:325px; width:193px; height:13px; ">방사선 요오드 치료 준비 안내</caption>
- <caption id="caption35" style="left:235px; top:367px; width:695px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">새로 처방 받은 호르몬 (흰색 테트로닌) 시작</caption>
- <line id="line2" class="line_2" style="x1:5px; y1:411px; x2:925px; y2:411px; "/>
- <line id="line4" class="line_2" style="x1:5px; y1:438px; x2:925px; y2:438px; "/>
- <line id="line6" class="line_2" style="x1:5px; y1:465px; x2:925px; y2:465px; "/>
- <line id="line7" class="line_2" style="x1:5px; y1:492px; x2:925px; y2:492px; "/>
- <line id="line8" class="line_2" style="x1:5px; y1:520px; x2:925px; y2:520px; "/>
- <caption id="caption12" class="cell_1" style="left:5px; top:522px; width:100px; height:23px; text-align:left; vertical-align:middle; ">안내</caption>
- <line id="line10" class="line_3" style="x1:5px; y1:600px; x2:925px; y2:600px; "/>
- <line id="line11" class="line_1" style="x1:5px; y1:625px; x2:925px; y2:625px; "/>
- <caption id="caption14" class="tit_2" style="left:5px; top:610px; width:240px; height:13px; ">저요오드식(Low lodine Diet) 안내문</caption>
- <caption id="caption29" class="cell_1" style="left:5px; top:630px; width:100px; height:23px; text-align:left; vertical-align:middle; ">시작</caption>
- <caption id="caption24" class="cell_1" style="left:238px; top:630px; width:100px; height:23px; text-align:left; vertical-align:middle; ">아침부터 ~ 끝</caption>
- <line id="line14" class="line_1" style="x1:5px; y1:680px; x2:925px; y2:680px; "/>
- <caption id="caption25" class="tit_2" style="left:5px; top:665px; width:302px; height:14px; ">방사선 요오드 입원치료에 대한 안내와 주의사항</caption>
- <caption id="caption36" class="cell_1" style="left:5px; top:685px; width:100px; height:23px; text-align:left; vertical-align:middle; ">입원 예정일</caption>
- <line id="line15" class="line_3" style="x1:5px; y1:654px; x2:925px; y2:654px; "/>
- <line id="line16" class="line_3" style="x1:5px; y1:709px; x2:925px; y2:709px; "/>
- <group id="group1" style="left:5px; top:735px; width:920px; height:30px; ">
- <button id="btn_holdcncl" class="btn4_letter2" style="left:802px; 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("TXAEB02901");
- }
-
- ]]>
- </script>
- </button>
- <button id="btn_print" class="btn4_letter2" style="left:860px; 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 dutplceinstnm = getUserInfo("dutplceinstnm");
- model.makeValue("/root/main/curescheinfo/maininfo/dutplceinstnm", "가톨릭대학교 " + dutplceinstnm + " 핵의학과");
-
- var printyn1 = model.getValue("/root/temp/printyn1");
- var printyn2 = model.getValue("/root/temp/printyn2");
- var printyn3 = model.getValue("/root/temp/printyn3");
-
- var sPreview = "true";
- if ( printyn1 == "Y" ) {
- //exeReportPreview("RPAEB02901", "XMLSTR", "/root/main/curescheinfo/maininfo");
- 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");
- }
-
- ]]>
- </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("TXAEB02901", false)) {
- model.resetInstanceNode("/root/main/curescheinfo/maininfo");
- model.refresh();
- }
- ]]>
- </script>
- </button>
- </group>
- <caption id="caption13" class="cell_1" style="left:635px; top:265px; width:100px; height:23px; text-align:center; vertical-align:middle; ">연락처</caption>
- <input id="input3" style="left:738px; top:267px; width:187px; height:19px; "/>
- <caption id="caption16" class="cell_1" style="left:238px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">의사명</caption>
- <caption id="caption37" class="cell_1" style="left:5px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진료과</caption>
- <select1 id="combo1" ref="/root/main/curescheinfo/maininfo/orddrid" appearance="minimal" style="left:340px; top:295px; width:120px; 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:469px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">참고사항</caption>
- <select1 id="combo2" ref="/root/main/curescheinfo/maininfo/orddeptcd" disabled="true" appearance="minimal" style="left:107px; top:295px; width:123px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/orddeptcd">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|