12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046 |
- <?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>
- <condition>
- <srchpid/>
- <patname/>
- <fromdd/>
- <todd/>
- <patsex/>
- <patage/>
- <status/>
- </condition>
- <petinfo>
- <petinfolist>
- <execdd/>
- <zerotm/>
- <dialglu/>
- <dialurea/>
- <dialcret/>
- <dialglu2/>
- <dialurea2/>
- <dialcret2/>
- <dialglu4/>
- <dialurea4/>
- <dialcret4/>
- <bldglu/>
- <bldurea/>
- <bldcret/>
- <resurea/>
- <rescret/>
- <resglu2/>
- <resurea2/>
- <rescret2/>
- <resglu4/>
- <resurea4/>
- <rescret4/>
- <petvol/>
- <drainvol/>
- <drainconc/>
- <infvol/>
- <dwelltim/>
- <goodcd/>
- <pid/>
- <testseq/>
- <remcnts/>
- </petinfolist>
- </petinfo>
- <hpdetlist>
- <petinfolist/>
- </hpdetlist>
- <patinfo>
- <patinfolist/>
- </patinfo>
- <paminfo/>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- <cond1/>
- <cond2/>
- <cond3/>
- <cond99/>
- </send>
- <init>
- <srchcond1/>
- <chkfastpet/>
- </init>
- </root>
- </instance>
- <submission id="TRMMO08402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hpdetlist"/>
- <submission id="TRMMO02501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/patinfo"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- //createTChart8("TChart1", 87, 376, 220, 265);
- TChart1.visible = false;
- TChart2.visible = false;
- /*
- var localfile1 = "C:/Program Files/himed/components/TrustForm/TFViewer/hpdet1.gif";
- model.download(getDomain()+"/himed/webapps/emr/emrdialexamweb/images/hpdet1.gif", localfile1, false);
- var localfile2 = "C:/Program Files/himed/components/TrustForm/TFViewer/hpdet2.gif";
- model.download(getDomain()+"/himed/webapps/emr/emrdialexamweb/images/hpdet2.gif", localfile2, false);
- */
- fInitialize();
-
- model.makeValue(ipt_execdd.attribute("ref"), getCurrentDate());
- ipt_execdd.refresh();
-
- var pamInfoCvs = getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
- //alert("pamInfoCvs = " + pamInfoCvs);
- var pid = "";
- if(pamInfoCvs != "" ){ //cvs가 ""이 아닌 경우에만 처리함.
- model.removeNodeSet("/root/main/paminfo/list");
- setCSVToNode("/root/main/paminfo", pamInfoCvs);
- var ioflag = model.getValue("/root/main/paminfo/list/ioflag");
-
- model.setValue("/root/main/condition/patname", model.getValue("/root/main/paminfo/list/hngnm") );
- model.setValue("/root/main/condition/srchpid", model.getValue("/root/main/paminfo/list/pid") );
- model.setValue("/root/main/condition/patsex", model.getValue("/root/main/paminfo/list/sex") );
- model.setValue("/root/main/condition/patage", model.getValue("/root/main/paminfo/list/age") );
-
- model.refresh();
-
-
-
- //doSearch("F");
- }
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
-
- function fSearchPatList() {
- model.setValue ( "/root/send/cond1", "1");
- model.setValue ( "/root/send/cond2", model.getValue ("/root/main/condition/srchpid" ));
- model.setValue ( "/root/send/cond3", getUserInfo("dutplceinstcd"));
- model.setValue ( "/root/send/cond99", "patchosinfo");
-
- if (!submit ( "TRMMO02501",false )) { //검색 시작 값이 없으면 clear 한다.
- model.resetInstanceNode ("/root/main/condition" );
- model.refresh();
- return;
- }
-
- var srcNodeList = model.instances(0).selectNodes("/root/patinfo/patinfolist");
- if ( srcNodeList.length == 1 ) { //값이 한개면 바로 화면에 보여준1다.
- ipt_srchpid.text = model.getValue ("/root/patinfo/patinfolist/pid");
- ipt_patname.text = model.getValue ("/root/patinfo/patinfolist/hngnm");
-
- model.setValue("/root/main/condition/patrrgstno2", patrrgstno2);
- model.setValue("/root/main/condition/patsex", model.getValue("/root/patinfo/patinfolist/sex"));
- model.setValue("/root/main/condition/patage", model.getValue("/root/patinfo/patinfolist/age"));
-
- model.refresh();
- doSearch();
-
- } else if ( srcNodeList.length > 1 ) { //값이 한개이상이면 팝업을 띄운다.
- searchPatinfoPop();
- }
- }
-
- function fInitialize() {
- var idate=new Date();
- var frDate=idate.getAddDate(-1, "M");
-
- model.setValue("/root/main/condition/fromdd", frDate.getDateFormat());
- model.setValue("/root/main/condition/todd", getCurrentDate());
-
- ipt_fromdd.refresh();
- ipt_todd.refresh();
- }
-
- function fInitialize_detail() {
-
- model.setValue(ipt_dialglu.attribute("ref"), "");
- model.setValue(ipt_dialurea.attribute("ref"), "");
- model.setValue(ipt_dialcret.attribute("ref"), "");
- model.setValue(ipt_dialglu2.attribute("ref"), "");
- model.setValue(ipt_dialurea2.attribute("ref"), "");
- model.setValue(ipt_dialcret2.attribute("ref"), "");
- model.setValue(ipt_dialglu4.attribute("ref"), "");
- model.setValue(ipt_dialurea4.attribute("ref"), "");
- model.setValue(ipt_dialcret4.attribute("ref"), "");
- model.setValue(ipt_bldglu.attribute("ref"), "");
- model.setValue(ipt_bldurea.attribute("ref"), "");
- model.setValue(ipt_bldcret.attribute("ref"), "");
- model.setValue(ipt_remcnts.attribute("ref"), "");
- model.setValue(ipt_zerotm.attribute("ref"), "");
-
- model.setValue(ipt_rescret.attribute("ref"), ""); // D/P Crea = Zero Time Creatinine ÷ Blood Creatinine의 결과 값.
- model.setValue(ipt_resurea.attribute("ref"), ""); // D/P Urea = Zero Time Urea ÷ Blood Urea의 결과 값.
- model.setValue(ipt_resglu2.attribute("ref"), ""); // D/Do : 2시간 Glucose ÷ Zero Time Glucose
- model.setValue(ipt_rescret2.attribute("ref"), ""); // D/P Crea : 2시간 Creatinine ÷ Blood Creatinine
- model.setValue(ipt_resurea2.attribute("ref"), ""); // D/P Urea : 2시간 Urea ÷ Blood Urea
- model.setValue(ipt_resglu4.attribute("ref"), ""); // D/Do : 4시간 Clucose ÷ Zero Time Glucose
- model.setValue(ipt_rescret4.attribute("ref"), ""); // D/P Crea : 4시간 Creatinine ÷ Blood Creatinine
- model.setValue(ipt_resurea4.attribute("ref"), ""); // D/P Urea : 4시간 Urea ÷ Blood Urea
- model.setValue(cmb_goodcd.attribute("ref"), "");
-
- model.setValue(ipt_drainvol.attribute("ref"), "");
- model.setValue(ipt_drainconc.attribute("ref"), "");
- model.setValue(ipt_infvol.attribute("ref"), "");
- model.setValue(ipt_dwelltim.attribute("ref"), "");
-
- }
-
- function doSearch() {
-
- model.setValue(ipt_status.attribute("ref"), "");
-
- model.copyNode("/root/send/reqdata", "/root/main/condition");
-
-
- submit("TRMMO08202");
- }
-
- function viewDetInfo() {
-
- model.setValue("/root/main/condition/srchpid", grd_hpdetlist.valueMatrix(grd_hpdetlist.row, grd_hpdetlist.colRef("pid")));
- model.copyNode("/root/main/petinfo/petinfolist", "/root/main/hpdetlist/petinfolist[" + grd_hpdetlist.row + "]");
-
- model.setValue(ipt_status.attribute("ref"), "u");
-
- model.refresh();
-
- var dialglu = model.getValue("/root/main/petinfo/petinfolist/dialglu");
-
- if(dialglu == "0" || dialglu == "" || dialglu == null) {
- model.setValue("/root/init/chkfastpet",'Y' );
- chk_fastpet.refresh();
- chk_fastpet.dispatch("xforms-value-changed");
- calCcr4();
- }else
- {
- model.setValue("/root/init/chkfastpet",'N' );
- chk_fastpet.refresh();
- chk_fastpet.dispatch("xforms-value-changed");
- calCcr();
- setChartInitLeft();
- setChartInitRight();
- fMakeChart();
- }
-
-
- }
-
- function calCcr() {
-
- TChart1.visible = true;
- TChart2.visible = true;
-
- var dialglu;
- var dialurea;
- var dialcret;
- var dialglu2;
- var dialurea2;
- var dialcret2;
- var dialglu4;
- var dialurea4;
- var dialcret4;
- var bldglu;
- var bldurea;
- var bldcret;
-
- dialglu = model.getValue("/root/main/petinfo/petinfolist/dialglu");
- dialurea = model.getValue("/root/main/petinfo/petinfolist/dialurea");
- dialcret = model.getValue("/root/main/petinfo/petinfolist/dialcret");
- dialglu2 = model.getValue("/root/main/petinfo/petinfolist/dialglu2");
- dialurea2 = model.getValue("/root/main/petinfo/petinfolist/dialurea2");
- dialcret2 = model.getValue("/root/main/petinfo/petinfolist/dialcret2");
- dialglu4 = model.getValue("/root/main/petinfo/petinfolist/dialglu4");
- dialurea4 = model.getValue("/root/main/petinfo/petinfolist/dialurea4");
- dialcret4 = model.getValue("/root/main/petinfo/petinfolist/dialcret4");
- bldglu = model.getValue("/root/main/petinfo/petinfolist/bldglu");
- bldurea = model.getValue("/root/main/petinfo/petinfolist/bldurea");
- bldcret = model.getValue("/root/main/petinfo/petinfolist/bldcret");
-
-
- if(bldcret == "0" || bldcret == "" || bldcret == null) {
- messageBox("Blood Creatinine 값을 입력하여주십시오.", "E");
- return;
- }
-
- if(bldurea == "0" || bldurea == "" || bldurea == null) {
- messageBox("Blood Urea 값을 입력하여주십시오.", "E");
- return;
- }
- if(dialglu == "0" || dialglu == "" || dialglu == null) {
- messageBox("Zero Time Glucose 값을 입력하여주십시오.", "E");
- return;
- }
- //}
-
- model.setValue(ipt_rescret.attribute("ref"), getCcr(dialcret, bldcret)); // D/P Crea = Zero Time Creatinine ÷ Blood Creatinine의 결과 값.
- model.setValue(ipt_resurea.attribute("ref"), getCcr(dialurea, bldurea)); // D/P Urea = Zero Time Urea ÷ Blood Urea의 결과 값.
- model.setValue(ipt_resglu2.attribute("ref"), getCcr(dialglu2, dialglu)); // D/Do : 2시간 Glucose ÷ Zero Time Glucose
- model.setValue(ipt_rescret2.attribute("ref"), getCcr(dialcret2, bldcret)); // D/P Crea : 2시간 Creatinine ÷ Blood Creatinine
- model.setValue(ipt_resurea2.attribute("ref"), getCcr(dialurea2, bldurea)); // D/P Urea : 2시간 Urea ÷ Blood Urea
- model.setValue(ipt_resglu4.attribute("ref"), getCcr(dialglu4, dialglu)); // D/Do : 4시간 Clucose ÷ Zero Time Glucose
- model.setValue(ipt_rescret4.attribute("ref"), getCcr(dialcret4, bldcret)); // D/P Crea : 4시간 Creatinine ÷ Blood Creatinine
- model.setValue(ipt_resurea4.attribute("ref"), getCcr(dialurea4, bldurea)); // D/P Urea : 4시간 Urea ÷ Blood Urea
-
- ipt_rescret.refresh();
- ipt_resurea.refresh();
- ipt_resglu2.refresh();
- ipt_rescret2.refresh();
- ipt_resurea2.refresh();
- ipt_resglu4.refresh();
- ipt_rescret4.refresh();
- ipt_resurea4.refresh();
-
- }
-
- //Fast PET 2011.06.08
- function calCcr4() {
-
- TChart1.visible = true;
- TChart2.visible = true;
-
- var dialglu;
- var dialurea;
- var dialcret;
- var dialglu2;
- var dialurea2;
- var dialcret2;
- var dialglu4;
- var dialurea4;
- var dialcret4;
- var bldglu;
- var bldurea;
- var bldcret;
-
- //dialglu = 1;
- //dialurea = 0;
- //dialcret = 0;
- //dialglu2 = 1;
- //dialurea2 = 0;
- //dialcret2 = 0;
- //dialglu4 = 0;
- //dialurea4 = 0;
- dialcret4 = model.getValue("/root/main/petinfo/petinfolist/dialcret4");
- //bldglu = 1;
- //bldurea = 1;
- bldcret = model.getValue("/root/main/petinfo/petinfolist/bldcret");
-
- //2011.06.02 by kya Fast PET 추가 요청
- // 김행옥샘, 전체와 4시간 짜리만 하도록 가능하게
- //단축이 아닐때만 입력받음
-
- //model.setValue(ipt_rescret.attribute("ref"), getCcr(dialcret, bldcret)); // D/P Crea = Zero Time Creatinine ÷ Blood Creatinine의 결과 값.
- //model.setValue(ipt_resurea.attribute("ref"), getCcr(dialurea, bldurea)); // D/P Urea = Zero Time Urea ÷ Blood Urea의 결과 값.
-
- //model.setValue(ipt_resglu2.attribute("ref"), getCcr(dialglu2, dialglu)); // D/Do : 2시간 Glucose ÷ Zero Time Glucose
- //model.setValue(ipt_rescret2.attribute("ref"), getCcr(dialcret2, bldcret)); // D/P Crea : 2시간 Creatinine ÷ Blood Creatinine
- //model.setValue(ipt_resurea2.attribute("ref"), getCcr(dialurea2, bldurea)); // D/P Urea : 2시간 Urea ÷ Blood Urea
-
- //model.setValue(ipt_resglu4.attribute("ref"), getCcr(dialglu4, dialglu)); // D/Do : 4시간 Clucose ÷ Zero Time Glucose
- model.setValue(ipt_rescret4.attribute("ref"), getCcr(dialcret4, bldcret)); // D/P Crea : 4시간 Creatinine ÷ Blood Creatinine
- //model.setValue(ipt_resurea4.attribute("ref"), getCcr(dialurea4, bldurea)); // D/P Urea : 4시간 Urea ÷ Blood Urea
-
- ipt_rescret.refresh();
- ipt_resurea.refresh();
- ipt_resglu2.refresh();
- ipt_rescret2.refresh();
- ipt_resurea2.refresh();
- ipt_resglu4.refresh();
- ipt_rescret4.refresh();
- ipt_resurea4.refresh();
-
- }
- // a / b의 결과값을 리턴함.
- function getCcr(a, b) {
- //var returnCcr = Math.round( a / b , 4);
- var returnCcr = a / b;
- returnCcr = Math.round(returnCcr *10000)/10000;
- //alert(returnCcr);
- return returnCcr;
- }
-
- function fMakeChart(){
- setChartInitLeft();
- setChartInitRight();
- var chart1y2 = model.getValue(ipt_resglu2.attribute("ref"));
- var chart1y4 = model.getValue(ipt_resglu4.attribute("ref"));
-
- var chart2y0 = model.getValue(ipt_rescret.attribute("ref"));
- var chart2y2 = model.getValue(ipt_rescret2.attribute("ref"));
- var chart2y4 = model.getValue(ipt_rescret4.attribute("ref"));
-
- if(chart1y2 < 0 || chart1y2 >1.1) {
- messageBox("GLUCOSE 2시간 값이 범위를", "E003");
- return;
- }
- if(chart1y4 < 0 || chart1y4 >1.1) {
- messageBox("GLUCOSE 4시간 값이 범위를", "E003");
- return;
- }
-
- if(chart2y0 < 0 || chart2y0 >1.1) {
- messageBox("CORRECTED CREATININE Zero Time 값이 범위를", "E003");
- return;
- }
-
- if(chart2y2 < 0 || chart2y2 >1.1) {
- messageBox("CORRECTED CREATININE 2시간 값이 범위를", "E003");
- return;
- }
- if(chart2y4 < 0 || chart2y4 >1.1) {
- messageBox("CORRECTED CREATININE 4시간 값이 범위를", "E003");
- return;
- }
- TChart1.Series(0).AddXY (0, 1, "", TChart1.Series(0).Color);
- TChart1.Series(0).AddXY (2, chart1y2, "", TChart1.Series(0).Color);
- TChart1.Series(0).AddXY (4, chart1y4, "", TChart1.Series(0).Color);
-
- TChart2.Series(0).AddXY (0, chart2y0, "", TChart2.Series(0).Color);
- TChart2.Series(0).AddXY (2, chart2y2, "", TChart2.Series(0).Color);
- TChart2.Series(0).AddXY (4, chart2y4, "", TChart2.Series(0).Color);
- }
-
- function setChartInitLeft() {
- TChart1.RemoveAllSeries();
- TChart1.Axis.RemoveAllCustom();
- //margin 값 정하기
- TChart1.Panel.MarginTop = 23;
- TChart1.Panel.MarginLeft = 24.5;
- TChart1.Panel.MarginRight = 2.4;
- //TChart1.Panel.MarginBottom = 7.5; // 가로 X축 보일때
- TChart1.Panel.MarginBottom = 13.5; // 가로 X축 보이지 않을때
- //TChart1.Axis.Bottom.TickLength = 1010;
-
- //백그라운드 이미지
- // TChart1.Panel.BackImageLoad("../../../Program Files/himed/components/TrustForm/TFViewer/hpdet1.gif");
- setBackImageLoad(TChart1,"hpdet1");
-
-
- //하단축 칸 수 정하기와 눈금 없애기
- //TChart1.Axis.Bottom.SetMinMax (0, MinTimeConst * 60 * 24 * 7 - 1);
- TChart1.Axis.Bottom.SetMinMax (0, 4); // 가로좌표 표현
- TChart1.Axis.Bottom.Increment = 2;
- TChart1.Axis.Bottom.MinorTickCount = 0.5;
- TChart1.Axis.Bottom.AxisPen.Color = 0xffffff; // 가로축 아래 색 설정
- TChart1.Axis.Bottom.GridPen.Color = 0xffffff; // 세로 축 점선의 색 설정
- TChart1.Axis.Bottom.Labels.Font.Color = 0xffffff; //하단 축 눈금 명칭 색을 하얀색으로 하여 보이지 않게 처리 (하얀색 0xffffff)
- TChart1.Axis.Bottom.Labels.Visible = false; // 세로선 Visible
- TChart1.Header.Visible = false;
- TChart1.Header.Text(0)="혈액투석 적절도"; //헤더제목넣기
- TChart1.Header.Font.Bold = true; //헤더 굵게
- TChart1.Header.Font.Size = 10; //헤더 사이즈
- TChart1.Aspect.View3D = 0; //2d 로 표현하기
-
- TChart1.Zoom.enable = false; // zoom 사용하지 않기
- TChart1.Scroll.Enable = false; // scroll 사용하지 않기
- TChart1.Legend.Visible = false; // 그래프 참조 박스 띄우지 않기
- TChart1.Environment.MouseWheelScroll = false;
- //TChart1.Panel.Gradient.Visible = true; // 페널에 그라디언트 적용
-
- var cus_axis1 = TChart1.Axis.AddCustom(false);
- TChart1.Axis.Custom(0).AxisPen.Color = 0x0000ff; // 좌측 Y 축색 설정
- TChart1.Axis.Custom(0).Title.Font.Size = 8;
- TChart1.Axis.Custom(0).Title.Angle = 90;
- TChart1.Axis.Custom(0).PositionPercent = -8;
- TChart1.Axis.Custom(0).Automatic = false;
- TChart1.Axis.Custom(0).Maximum = 1.1;
- TChart1.Axis.Custom(0).Minimum = 0.0;
- TChart1.Axis.Custom(0).Increment = 0.1;
- TChart1.Axis.Custom(0).Visible= false; // 가로선 Visible
- TChart1.AddSeries (0);
- TChart1.Series(0).VerticalAxisCustom = cus_axis1; // Y축 기준
- TChart1.Series(0).asLine.LinePen.Width = 2;
- TChart1.Series(0).Color = 0x0000ff; // red
- TChart1.Series(0).asLine.Pointer.Visible = true;
- TChart1.Series(0).asLine.Pointer.Style = 1;
- TChart1.Series(0).asLine.Pointer.VerticalSize = 2; // 포인터 크기
- TChart1.Series(0).asLine.Pointer.HorizontalSize = 2;
- TChart1.Series(0).Depth = 1;
- }
-
- function setChartInitRight() {
- TChart2.RemoveAllSeries();
- TChart2.Axis.RemoveAllCustom();
- //margin 값 정하기
- TChart2.Panel.MarginTop = 23;
- TChart2.Panel.MarginLeft = 32;
- TChart2.Panel.MarginRight = 15.5;
- //TChart2.Panel.MarginBottom = 7.5; // 가로 X축 보일때
- TChart2.Panel.MarginBottom = 13.5; // 가로 X축 보이지 않을때
- //TChart2.Axis.Bottom.TickLength = 1010;
-
- //백그라운드 이미지
- setBackImageLoad(TChart2,"hpdet2");
-
- //하단축 칸 수 정하기와 눈금 없애기
- //TChart1.Axis.Bottom.SetMinMax (0, MinTimeConst * 60 * 24 * 7 - 1);
- TChart2.Axis.Bottom.SetMinMax (0, 4); // 가로좌표 표현
- TChart2.Axis.Bottom.Increment = 2;
- TChart2.Axis.Bottom.MinorTickCount = 0.5;
- TChart2.Axis.Bottom.AxisPen.Color = 0xffffff; // 가로축 아래 색 설정
- TChart2.Axis.Bottom.GridPen.Color = 0xffffff; // 세로 축 점선의 색 설정
- TChart2.Axis.Bottom.Labels.Font.Color = 0xffffff; //하단 축 눈금 명칭 색을 하얀색으로 하여 보이지 않게 처리 (하얀색 0xffffff)
- TChart2.Axis.Bottom.Labels.Visible = false; // 세로선 Visible
- TChart2.Header.Visible = false;
- TChart2.Header.Text(0)="혈액투석 적절도"; //헤더제목넣기
- TChart2.Header.Font.Bold = true; //헤더 굵게
- TChart2.Header.Font.Size = 10; //헤더 사이즈
- TChart2.Aspect.View3D = 0; //2d 로 표현하기
-
- TChart2.Zoom.enable = false; // zoom 사용하지 않기
- TChart2.Scroll.Enable = false; // scroll 사용하지 않기
- TChart2.Legend.Visible = false; // 그래프 참조 박스 띄우지 않기
- TChart2.Environment.MouseWheelScroll = false;
- //TChart2.Panel.Gradient.Visible = true; // 페널에 그라디언트 적용
-
- var cus_axis1 = TChart2.Axis.AddCustom(false);
- TChart2.Axis.Custom(0).AxisPen.Color = 0x0000ff; // 좌측 Y 축색 설정
- TChart2.Axis.Custom(0).Title.Font.Size = 8;
- TChart2.Axis.Custom(0).Title.Angle = 90;
- TChart2.Axis.Custom(0).PositionPercent = -8;
- TChart2.Axis.Custom(0).Automatic = false;
- TChart2.Axis.Custom(0).Maximum = 1.1;
- TChart2.Axis.Custom(0).Minimum = 0.0;
- TChart2.Axis.Custom(0).Increment = 0.1;
- TChart2.Axis.Custom(0).Visible= false; // 가로선 Visible
- TChart2.AddSeries (0);
- TChart2.Series(0).VerticalAxisCustom = cus_axis1; // Y축 기준
- TChart2.Series(0).asLine.LinePen.Width = 2;
- TChart2.Series(0).Color = 0x0000ff; // red
- TChart2.Series(0).asLine.Pointer.Visible = true;
- TChart2.Series(0).asLine.Pointer.Style = 1;
- TChart2.Series(0).asLine.Pointer.VerticalSize = 2; // 포인터 크기
- TChart2.Series(0).asLine.Pointer.HorizontalSize = 2;
- TChart2.Series(0).Depth = 1;
- }
-
- function searchPatinfoPop() {
- if ( model.getValue ( "/root/init/srchcond1") == "1" ) { // 등록번호 검색
- model.makeValue("/root/temp/send/pid", model.getValue("/root/main/condition/srchpid"));
- model.makeValue("/root/temp/send/srchcond", "1");
- }
-
- if ( model.getValue ( "/root/init/srchcond1") == "2" ) { // 환자이름 검색
- model.makeValue("/root/temp/send/hngnm", model.getValue("/root/main/condition/patname"));
- model.makeValue("/root/temp/send/srchcond", "2");
- }
- var xpt = window.screenleft + 100;
- var ypt = window.screenTop + 100;
-
- modal("SPPMC02500", 1,150, 150, "SPPMC02500", "/root/temp/send", "/root/send");
-
- if(model.getValue("/root/main/popupendflag") != "ok") {
- return;
- }
-
- model.setValue("/root/main/condition/srchpid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.setValue("/root/main/condition/patname", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
-
- model.setValue("/root/main/condition/patsex", model.getValue("/root/main/patinfo/patinfolist/sex"));
- model.setValue("/root/main/condition/patage", model.getValue("/root/main/patinfo/patinfolist/age"));
-
-
- model.refresh();
-
- doSearch();
- }
-
- function fMoveFocus(vCtrlID){
- if( event.keyCode == 13 ) {
- if( vCtrlID != "" ) model.setFocus(vCtrlID);
- }
- }
- ]]>
- </script>
- <submission id="TXMMO08202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savedata" replace="instance" resultref="/root/hidden/ret"/>
- <submission id="TRMMO08202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/hpdetlist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tchartHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="1126" pageheight="768" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
- <group id="group1" style="left:0px; top:0px; width:1095px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:160px; height:14px; ">복막평형검사</caption>
- </group>
- <group id="group3" scroll="auto" style="left:0px; top:73px; width:1110px; height:667px; ">
- <caption id="caption31" class="tit_2" style="left:5px; top:10px; width:144px; height:13px; vertical-align:middle; ">복막평형검사</caption>
- <datagrid id="grd_hpdetlist" nodeset="/root/main/hpdetlist/petinfolist" caption="기관코드^시행일자^환자번호^환자명^testseq^zerotm^dialglu^dialurea^dialcret^dialglu2^dialurea2^dialcret2^dialglu4^dialurea4^dialcret4^bldglu^bldurea^bldcret^resurea^rescret^resglu2^resurea2^rescret2^resglu4^resurea4^rescret4^petvol^drainvol^drainconc^infvol^dwelltim^fstrgstrid^fstrgstdt^lastupdtrid^lastupdtdt^goodcd" colsep="^" colwidth="0, 100, 76, 80, 100, 86, 79, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" dataheight="25" explorerbar="sort" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:30px; width:465px; height:632px; ">
- <col ref="instcd"/>
- <col ref="execdd" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="pid" style="text-align:center; "/>
- <col ref="hngnm" style="text-align:center; "/>
- <col ref="testseq"/>
- <col ref="zerotm" format="hh:nn"/>
- <col ref="dialglu"/>
- <col ref="dialurea"/>
- <col ref="dialcret"/>
- <col ref="dialglu2"/>
- <col ref="dialurea2"/>
- <col ref="dialcret2"/>
- <col ref="dialglu4"/>
- <col ref="dialurea4"/>
- <col ref="dialcret4"/>
- <col ref="bldglu"/>
- <col ref="bldurea"/>
- <col ref="bldcret"/>
- <col ref="resurea"/>
- <col ref="rescret"/>
- <col ref="resglu2"/>
- <col ref="resurea2"/>
- <col ref="rescret2"/>
- <col ref="resglu4"/>
- <col ref="resurea4"/>
- <col ref="rescret4"/>
- <col ref="petvol"/>
- <col ref="drainvol"/>
- <col ref="drainconc"/>
- <col ref="infvol"/>
- <col ref="dwelltim"/>
- <col ref="fstrgstrid"/>
- <col ref="fstrgstdt"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt"/>
- <col ref="goodcd"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(grd_hpdetlist.isCell(event.target) && grd_hpdetlist.mouseRow >= grd_hpdetlist.fixedrows){
- viewDetInfo();
- }
- ]]>
- </script>
- </datagrid>
- <line id="line3" class="line_1" style="x1:5px; y1:25px; x2:470px; y2:25px; "/>
- <caption id="caption32" class="tit_2" style="left:480px; top:10px; width:170px; height:13px; vertical-align:middle; ">복막평형검사 상세정보</caption>
- <line id="line2" class="line_1" style="x1:475px; y1:25px; x2:1105px; y2:25px; "/>
- <input id="ipt_execdd" ref="/root/main/petinfo/petinfolist/execdd" class="input_essential" inputtype="date" style="left:558px; top:31px; width:102px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("cmb_goodcd");
- ]]>
- </script>
- </input>
- <caption id="caption7" class="cell_1" style="left:475px; top:78px; width:80px; height:71px; text-align:center; vertical-align:middle; ">
- <![CDATA[Zero
- Time]]>
- </caption>
- <caption id="caption12" class="cell_1" style="left:475px; top:150px; width:80px; height:71px; text-align:center; vertical-align:middle; ">2시간</caption>
- <shape id="rectangle1" appearance="rectangle" style="left:475px; top:319px; width:630px; height:286px; "/>
- <button id="btn_graph" class="btn2_letter3" style="left:994px; top:299px; width:53px; height:19px; ">
- <caption>그래프</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue("/root/init/chkfastpet")=="Y"){ //Fast PET
- calCcr4();
- }
- else {
- calCcr();
- fMakeChart();
- }
-
- ]]>
- </script>
- </button>
- <object id="TChart1" clsid="{fab9b41c-87d6-474d-ab7e-f07d78f2422e}" Top="315" Width="220" Height="266" Left="110" style="left:530px; top:330px; width:220px; height:265px; margin-left:1; margin-top:1; ">
- <!--object id="TChart1" clsid="{BDEB0088-66F9-4A55-ABD2-0BF8DEEC1196}" Top="315" Width="220" Left="110" Height="266" style="left:80px; top:315px; width:220px; height:265px; margin-left:1; margin-top:1; "-->
- <script ev:event="OnClick">
- <![CDATA[
- ]]>
- </script>
- </object>
- <object id="TChart2" clsid="{fab9b41c-87d6-474d-ab7e-f07d78f2422e}" Top="315" Width="289" Left="413" Height="266" style="left:755px; top:330px; width:290px; height:265px; margin-left:2; margin-top:2; ">
- <!--object id="TChart2" clsid="{BDEB0088-66F9-4A55-ABD2-0BF8DEEC1196}" Top="315" Width="289" Height="266" Left="413" style="left:305px; top:315px; width:290px; height:265px; margin-left:2; margin-top:2; "-->
- <script ev:event="OnClick">
- <![CDATA[
- ]]>
- </script>
- </object>
- <button id="button1" class="btn2_letter3" style="left:1049px; top:299px; width:53px; height:19px; ">
- <caption>출 력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- TChart1.Export.SaveToBitmapFile(getTChartBackgroundImage("dialexamprint2"));
- TChart2.Export.SaveToBitmapFile(getTChartBackgroundImage("dialexamprint3"));
- model.setValue("/root/main/petinfo/petinfolist/goodcd", cmb_goodcd.label);
- exeReportPreview("RPMMO08200", "XMLSTR", "", "", "false", "", "", "", "", "false");
- ]]>
- </script>
- </button>
- <select1 id="cmb_goodcd" ref="/root/main/petinfo/petinfolist/goodcd" appearance="minimal" editmode="input" style="left:746px; top:31px; width:174px; height:19px; ">
- <choices>
- <item>
- <label>physioneal 2.5%</label>
- <value>1</value>
- </item>
- <item>
- <label>physioneal 4.25%</label>
- <value>2</value>
- </item>
- <item>
- <label>balance 2.5%</label>
- <value>3</value>
- </item>
- <item>
- <label>balance 4.25%</label>
- <value>4</value>
- </item>
- <item>
- <label>periplus 2.5%</label>
- <value>5</value>
- </item>
- <item>
- <label>periplus 4.25%</label>
- <value>6</value>
- </item>
- </choices>
- </select1>
- <line id="line1" class="line_2" style="x1:475px; y1:52px; x2:1105px; y2:52px; "/>
- <caption id="caption8" class="cell_1" style="left:475px; top:30px; width:80px; height:23px; text-align:center; vertical-align:middle; ">시행일자</caption>
- <caption id="caption9" class="cell_1" style="left:665px; top:30px; width:78px; height:23px; vertical-align:middle; ">제품명</caption>
- <caption id="caption10" class="cell_1" style="left:922px; top:30px; width:78px; height:23px; vertical-align:middle; ">Zero time</caption>
- <input id="ipt_zerotm" ref="/root/main/petinfo/petinfolist/zerotm" navindex="7" visibility="visible" format="hh:nn" style="left:1003px; top:31px; width:100px; height:19px; "/>
- <input id="ipt_dialglu" ref="/root/main/petinfo/petinfolist/dialglu" style="left:637px; top:79px; width:100px; height:19px; text-align:right; "/>
- <line id="line4" class="line_2" style="x1:558px; y1:100px; x2:740px; y2:100px; "/>
- <caption id="caption17" class="cell_1" style="left:556px; top:78px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Glucose</caption>
- <line id="line5" class="line_2" style="x1:557px; y1:124px; x2:739px; y2:124px; "/>
- <caption id="caption18" class="cell_1" style="left:556px; top:102px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Urea</caption>
- <line id="line7" class="line_2" style="x1:558px; y1:148px; x2:1106px; y2:148px; "/>
- <caption id="caption19" class="cell_1" style="left:556px; top:126px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Creatinine</caption>
- <line id="line8" class="line_2" style="x1:476px; y1:76px; x2:999px; y2:76px; "/>
- <caption id="caption11" class="cell_1" style="left:556px; top:54px; width:182px; height:23px; text-align:center; vertical-align:middle; ">Dialysate</caption>
- <caption id="caption13" class="cell_1" style="left:475px; top:54px; width:80px; height:23px; text-align:center; vertical-align:middle; ">시간</caption>
- <input id="ipt_dialurea" ref="/root/main/petinfo/petinfolist/dialurea" style="left:637px; top:103px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_dialcret" ref="/root/main/petinfo/petinfolist/dialcret" style="left:637px; top:127px; width:100px; height:19px; text-align:right; "/>
- <caption id="caption20" class="cell_1" style="left:739px; top:54px; width:182px; height:23px; text-align:center; vertical-align:middle; ">Blood</caption>
- <input id="ipt_rescret" ref="/root/main/petinfo/petinfolist/rescret" disabled="true" style="left:1003px; top:103px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_resurea" ref="/root/main/petinfo/petinfolist/resurea" disabled="true" style="left:1003px; top:127px; width:100px; height:19px; text-align:right; "/>
- <caption id="caption24" class="cell_1" style="left:922px; top:54px; width:182px; height:23px; text-align:center; vertical-align:middle; ">Result</caption>
- <caption id="caption27" class="cell_1" style="left:922px; top:126px; width:78px; height:23px; text-align:center; vertical-align:middle; ">D/P Urea</caption>
- <caption id="caption2" class="cell_1" style="left:475px; top:222px; width:80px; height:71px; text-align:center; vertical-align:middle; ">4시간</caption>
- <input id="ipt_bldglu" ref="/root/main/petinfo/petinfolist/bldglu" style="left:819px; top:151px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_bldurea" ref="/root/main/petinfo/petinfolist/bldurea" style="left:819px; top:175px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_bldcret" ref="/root/main/petinfo/petinfolist/bldcret" style="left:819px; top:199px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_resglu2" ref="/root/main/petinfo/petinfolist/resglu2" disabled="true" style="left:1003px; top:151px; width:100px; height:19px; text-align:right; "/>
- <caption id="caption3" class="cell_1" style="left:739px; top:150px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Glucose</caption>
- <input id="ipt_rescret2" ref="/root/main/petinfo/petinfolist/rescret2" disabled="true" style="left:1003px; top:175px; width:100px; height:19px; text-align:right; "/>
- <caption id="caption5" class="cell_1" style="left:739px; top:174px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Urea</caption>
- <input id="ipt_resurea2" ref="/root/main/petinfo/petinfolist/resurea2" disabled="true" style="left:1003px; top:199px; width:100px; height:19px; text-align:right; "/>
- <caption id="caption14" class="cell_1" style="left:739px; top:198px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Creatinine</caption>
- <caption id="caption28" class="cell_1" style="left:922px; top:150px; width:78px; height:23px; text-align:center; vertical-align:middle; ">D/Do</caption>
- <caption id="caption29" class="cell_1" style="left:922px; top:174px; width:78px; height:23px; text-align:center; vertical-align:middle; ">D/P crea</caption>
- <caption id="caption33" class="cell_1" style="left:556px; top:150px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Glucose</caption>
- <line id="line9" class="line_2" style="x1:557px; y1:172px; x2:1105px; y2:172px; "/>
- <caption id="caption34" class="cell_1" style="left:556px; top:174px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Urea</caption>
- <line id="line10" class="line_2" style="x1:556px; y1:196px; x2:1104px; y2:196px; "/>
- <input id="ipt_dialglu2" ref="/root/main/petinfo/petinfolist/dialglu2" style="left:637px; top:151px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_dialurea2" ref="/root/main/petinfo/petinfolist/dialurea2" style="left:637px; top:175px; width:100px; height:19px; text-align:right; "/>
- <caption id="caption35" class="cell_1" style="left:556px; top:198px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Creatinine</caption>
- <input id="ipt_dialcret2" ref="/root/main/petinfo/petinfolist/dialcret2" style="left:637px; top:199px; width:100px; height:19px; text-align:right; "/>
- <line id="line11" class="line_2" style="x1:557px; y1:220px; x2:1105px; y2:220px; "/>
- <line id="line12" class="line_2" style="x1:557px; y1:244px; x2:739px; y2:244px; "/>
- <line id="line13" class="line_2" style="x1:556px; y1:268px; x2:738px; y2:268px; "/>
- <input id="ipt_dialglu4" ref="/root/main/petinfo/petinfolist/dialglu4" style="left:637px; top:223px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_dialurea4" ref="/root/main/petinfo/petinfolist/dialurea4" style="left:637px; top:247px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_dialcret4" ref="/root/main/petinfo/petinfolist/dialcret4" style="left:637px; top:271px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_petvol" ref="/root/main/petinfo/petinfolist/petvol" format="9999" style="left:558px; top:296px; width:78px; height:19px; text-align:right; "/>
- <caption id="caption38" class="cell_1" style="left:556px; top:222px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Glucose</caption>
- <caption id="caption39" class="cell_1" style="left:556px; top:246px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Urea</caption>
- <caption id="caption41" class="cell_1" style="left:556px; top:270px; width:78px; height:23px; text-align:center; vertical-align:middle; ">Creatinine</caption>
- <input id="ipt_resglu4" ref="/root/main/petinfo/petinfolist/resglu4" disabled="true" style="left:1003px; top:223px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_rescret4" ref="/root/main/petinfo/petinfolist/rescret4" disabled="true" style="left:1003px; top:247px; width:100px; height:19px; text-align:right; "/>
- <input id="ipt_resurea4" ref="/root/main/petinfo/petinfolist/resurea4" disabled="true" style="left:1003px; top:271px; width:100px; height:19px; text-align:right; "/>
- <caption id="caption21" class="cell_1" style="left:922px; top:270px; width:78px; height:23px; text-align:center; vertical-align:middle; ">D/P urea</caption>
- <caption id="caption30" class="cell_1" style="left:922px; top:198px; width:78px; height:23px; text-align:center; vertical-align:middle; ">D/P urea</caption>
- <line id="line15" class="line_2" style="x1:923px; y1:244px; x2:1105px; y2:244px; "/>
- <line id="line16" class="line_2" style="x1:923px; y1:268px; x2:1105px; y2:268px; "/>
- <caption id="caption22" class="cell_1" style="left:922px; top:222px; width:78px; height:23px; text-align:center; vertical-align:middle; ">D/Do</caption>
- <caption id="caption23" class="cell_1" style="left:922px; top:246px; width:78px; height:23px; text-align:center; vertical-align:middle; ">D/P crea</caption>
- <line id="line17" class="line_2" style="x1:923px; y1:124px; x2:1105px; y2:124px; "/>
- <caption id="caption26" class="cell_1" style="left:922px; top:102px; width:78px; height:23px; text-align:center; vertical-align:middle; ">D/P Crea</caption>
- <line id="line14" class="line_3" style="x1:477px; y1:292px; x2:1105px; y2:292px; "/>
- <caption id="caption25" class="cell_1" style="left:922px; top:78px; width:78px; height:23px; text-align:center; vertical-align:middle; ">D/Do</caption>
- <button id="button16" class="btn2_letter2" style="left:975px; top:5px; width:42px; height:19px; ">
- <caption>신규</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.resetInstanceNode("/root/main/petinfo/petinfolist");
- model.setValue(ipt_execdd.attribute("ref"), getCurrentDate());
- model.setValue(ipt_pid.attribute("ref"), model.getValue(ipt_srchpid.attribute("ref")));
- chk_fastpet.dispatch("xforms-value-changed");
- model.setValue(ipt_status.attribute("ref"), "i");
-
- fInitialize_detail();
- model.refresh();
-
- setChartInitLeft();
- setChartInitRight();
- ]]>
- </script>
- </button>
- <button id="btn_save" class="btn2_letter2" style="left:1019px; top:5px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- btn_graph.dispatch("DOMActivate");
-
- if ( messageBox("데이터를", "Q002") == 6 ) {
- if (model.getValue("/root/main/condition/srchpid") == "") {
- messageBox("등록번호 항목은", "I003");
- model.setFocus("ipt_srchpid");
- return;
- }
- if (model.getValue("/root/main/petinfo/petinfolist/execdd") == "") {
- messageBox("시행일자 항목은", "I003");
- model.setFocus("ipt_execdd");
- return;
- }
-
- model.copyNode("/root/send/savedata", "/root/main/petinfo/petinfolist");
- model.makeValue("/root/send/savedata/pid", model.getValue(ipt_srchpid.attribute("ref")));
-
- if ( model.getValue(ipt_status.attribute("ref")) == "" ) {
- model.setValue(ipt_status.attribute("ref"), "i");
- }
- model.makeValue("/root/send/savedata/status", model.getValue(ipt_status.attribute("ref")));
-
- //20131114 권영애 복막평형검사 결과값 추가
- //start
- var ccrRslt = model.getValue("/root/main/petinfo/petinfolist/rescret4");
- var rsltcnts2;
- if(ccrRslt > 0.81) { rsltcnts2 = "1" }
- else if(ccrRslt > 0.6501 && ccrRslt < 0.81) { rsltcnts2 = "2" }
- else if(ccrRslt >0.501 && ccrRslt < 0.65) { rsltcnts2 = "3" }
- else { rsltcnts2 = "4" }
- model.makeValue("/root/send/savedata/rsltcnts2", rsltcnts2);
- //end
-
- submit("TXMMO08202"); // 저장/수정
-
- //doSearch("S");
-
- btn_search.dispatch("DOMActivate");
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn2_letter2" style="left:1063px; top:5px; width:42px; height:19px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if(model.getValue(ipt_status.attribute("ref")) == "u") {
-
- var rtn = messageBox("삭제하시겠습니까? ", "Q");
-
- if(rtn == "6") {
- model.setValue(ipt_status.attribute("ref"), "d");
- ipt_status.refresh();
-
- model.copyNode("/root/send/savedata", "/root/main/petinfo/petinfolist");
- model.makeValue("/root/send/savedata/pid", model.getValue(ipt_srchpid.attribute("ref")));
- model.makeValue("/root/send/savedata/status", model.getValue(ipt_status.attribute("ref")));
-
-
- submit("TXMMO08202"); // 삭제
-
- btn_search.dispatch("DOMActivate");
- }
- } else {
- messageBox("삭제할 검사를 선택해 주세요.", "E");
- return;
- }
- ]]>
- </script>
- </button>
- <input id="ipt_pid" ref="/root/main/petinfo/petinfolist/pid" visibility="hidden" style="left:820px; top:81px; width:100px; height:19px; "/>
- <input id="ipt_testseq" ref="/root/main/petinfo/petinfolist/testseq" visibility="hidden" style="left:820px; top:103px; width:100px; height:19px; "/>
- <caption id="caption42" style="left:677px; top:612px; width:20px; height:20px; ">ml</caption>
- <caption id="caption36" class="cell_1" style="left:700px; top:610px; width:80px; height:23px; text-align:center; vertical-align:middle; ">농 도(%)</caption>
- <input id="ipt_drainconc" ref="/root/main/petinfo/petinfolist/drainconc" style="left:783px; top:612px; width:78px; height:19px; text-align:right; "/>
- <caption id="caption40" style="left:865px; top:612px; width:20px; height:20px; ">%</caption>
- <caption id="caption43" class="cell_1" style="left:475px; top:610px; width:118px; height:23px; text-align:center; vertical-align:middle; ">Overnight drain Vol</caption>
- <input id="ipt_drainvol" ref="/root/main/petinfo/petinfolist/drainvol" style="left:595px; top:612px; width:78px; height:19px; text-align:right; "/>
- <caption id="caption44" style="left:677px; top:636px; width:20px; height:20px; ">cc</caption>
- <caption id="caption45" class="cell_1" style="left:475px; top:634px; width:118px; height:23px; text-align:center; vertical-align:middle; ">Infusion vol</caption>
- <input id="ipt_infvol" ref="/root/main/petinfo/petinfolist/infvol" format="9999" style="left:595px; top:636px; width:78px; height:19px; text-align:right; "/>
- <input id="input1" ref="/root/main/petinfo/petinfolist/drainconc" style="left:783px; top:612px; width:78px; height:19px; text-align:right; "/>
- <caption id="caption48" class="cell_1" style="left:700px; top:634px; width:80px; height:23px; text-align:center; vertical-align:middle; ">Dwell time</caption>
- <input id="ipt_dwelltim" ref="/root/main/petinfo/petinfolist/dwelltim" style="left:783px; top:636px; width:137px; height:19px; text-align:right; "/>
- <caption id="caption47" style="left:640px; top:296px; width:20px; height:20px; ">ml</caption>
- <caption id="caption49" class="cell_1" style="left:475px; top:294px; width:80px; height:23px; text-align:center; vertical-align:middle; ">PET volume</caption>
- <input id="input2" ref="/root/main/petinfo/petinfolist/petvol" format="9999" style="left:558px; top:296px; width:78px; height:19px; text-align:right; "/>
- <input id="ipt_status" ref="/root/main/condition/status" visibility="hidden" style="left:780px; top:5px; width:80px; height:19px; "/>
- <caption id="caption50" visibility="hidden" style="left:195px; top:5px; width:100px; height:20px; ">2231812</caption>
- <caption id="caption51" class="cell_1" visibility="hidden" style="left:740px; top:78px; width:78px; height:23px; text-align:center; vertical-align:middle; ">pid</caption>
- <caption id="caption52" class="cell_1" visibility="hidden" style="left:740px; top:102px; width:78px; height:23px; text-align:center; vertical-align:middle; ">testseq</caption>
- <button id="btn_bfprcpsrch" class="btn1_letter2" visibility="hidden" style="left:655px; top:3px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue ( "/root/send/cond1", model.getValue ( "/root/init/srchcond1" ));
- if ( model.getValue ( "/root/send/cond1") == "1" ) {
- model.setValue ( "/root/send/cond2", model.getValue ("/root/main/condition/srchpid" ));
- } else {
- model.setValue ( "/root/send/cond2", model.getValue ("/root/main/condition/patname" ));
- }
- model.setValue ( "/root/send/cond3", getUserInfo("dutplceinstcd"));
- model.setValue ( "/root/send/cond99", "patchosinfo");
-
- if (!submit ( "TRMMO02501",false )) { //검색 시작 값이 없으면 clear 한다.
- model.resetInstanceNode ("/root/main/condition" );
- model.refresh();
- return;
- }
-
- var srcNodeList = model.instances(0).selectNodes("/root/patinfo/patinfolist");
- if ( srcNodeList.length == 1 ) { //값이 한개면 바로 화면에 보여준1다.
- model.setValue(ipt_srchpid.attribute("ref"), model.getValue ("/root/patinfo/patinfolist/pid"));
-
- model.setValue(ipt_patname.attribute("ref"), model.getValue ("/root/patinfo/patinfolist/hngnm"));
-
- model.setValue(ipt_patsex.attribute("ref"), model.getValue("/root/patinfo/patinfolist/sex"));
- model.setValue(ipt_patage.attribute("ref"), model.getValue("/root/patinfo/patinfolist/age"));
-
- doSearch();
-
- } else if ( srcNodeList.length > 1 ) { //값이 한개이상이면 팝업을 띄운다.
- searchPatinfoPop();
- }
- ipt_srchpid.refresh();
- ipt_patname.refresh();
- ipt_patsex.refresh();
- ipt_patage.refresh();
-
-
- ]]>
- </script>
- </button>
- <select id="chk_fastpet" ref="/root/init/chkfastpet" visibility="visible" overflow="hidden" appearance="full" style="left:875px; top:5px; width:85px; height:15px; border-style:none; ">
- <choices>
- <item>
- <label>Fast PET</label>
- <value>Y</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(model.getValue("/root/init/chkfastpet")=="Y"){ //Fast PET인 경우
- ipt_dialglu.disabled = true;
- ipt_dialurea.disabled = true;
- ipt_dialcret.disabled = true;
- ipt_dialglu2.disabled = true;
- ipt_dialurea2.disabled = true;
- ipt_dialcret2.disabled = true;
- ipt_dialglu4.disabled = true;
- ipt_dialurea4.disabled = true;
- ipt_bldglu.disabled = true;
- ipt_bldurea.disabled = true;
-
- }else {
- ipt_dialglu.disabled = false;
- ipt_dialurea.disabled = false;
- ipt_dialcret.disabled = false;
- ipt_dialglu2.disabled = false;
- ipt_dialurea2.disabled = false;
- ipt_dialcret2.disabled = false;
- ipt_dialglu4.disabled = false;
- ipt_dialurea4.disabled = false;
- ipt_bldglu.disabled = false;
- ipt_bldurea.disabled = false;
- }
- setChartInitLeft();
- setChartInitRight();
- model.refresh();
- ]]>
- </script>
- </select>
- <caption id="caption53" class="cell_1" style="left:740px; top:295px; width:80px; height:23px; text-align:center; vertical-align:middle; ">비고</caption>
- <input id="ipt_remcnts" ref="/root/main/petinfo/petinfolist/remcnts" style="left:820px; top:296px; width:160px; height:19px; text-align:center; "/>
- </group>
- <group id="group2" style="left:0px; top:25px; width:1105px; height:35px; vertical-align:top; ">
- <shape id="roundrect1" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1105px; height:35px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1040px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if(model.getValue("/root/main/condition/srchpid") ==""){
- messageBox("등록번호를 ", "C001");
- model.setFocus("ipt_fromdd");
- }
-
- if(model.getValue("/root/main/condition/fromdd") ==""){
- messageBox("시행일자를 ", "C001");
- model.setFocus("ipt_fromdd");
- return;
- }
- if(model.getValue("/root/main/condition/todd") ==""){
- messageBox("시행일자를 ", "C001");
- model.setFocus("ipt_todd");
- return;
- }
-
- fInitialize_detail();
- doSearch();
-
- setChartInitLeft();
- setChartInitRight();
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line6" class="line_4" style="x1:1030px; y1:7px; x2:1030px; y2:29px; "/>
- <caption id="caption15" class="search_name" style="left:484px; top:9px; width:86px; height:17px; ">환자명 :</caption>
- <input id="ipt_patname" ref="/root/main/condition/patname" navindex="2" autonext="false" imemode="hangul" style="left:563px; top:9px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- model.setValue ( "/root/init/srchcond1", "2");
- inputEnterKey ( "btn_bfprcpsrch", "DOMActivate" )
- ]]>
- </script>
- </input>
- <input id="ipt_srchpid" ref="/root/main/condition/srchpid" class="input_s_essential" navindex="1" autonext="false" imemode="disabled" style="left:373px; top:9px; width:73px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- model.setValue ( "/root/init/srchcond1", "1");
- inputEnterKey ( "btn_bfprcpsrch", "DOMActivate" )
- ]]>
- </script>
- </input>
- <caption id="caption16" class="search_name" style="left:287px; top:9px; width:99px; height:17px; ">등록번호 :</caption>
- <button id="btn_srchpid" class="icon_search" style="left:456px; top:10px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- searchPatinfoPop();
- ]]>
- </script>
- </button>
- <caption id="caption46" class="search_no_b" style="left:177px; top:9px; width:12px; height:17px; ">~</caption>
- <input id="ipt_todd" ref="/root/main/condition/todd" class="input_s_essential" inputtype="date" style="left:191px; top:9px; width:86px; height:19px; "/>
- <caption id="caption37" class="search_name" style="left:2px; top:9px; width:116px; height:17px; ">시행일자 :</caption>
- <input id="ipt_fromdd" ref="/root/main/condition/fromdd" class="input_s_essential" inputtype="date" style="left:89px; top:9px; width:86px; height:19px; "/>
- <caption id="caption1" class="search_name" style="left:661px; top:9px; width:61px; height:17px; ">성별 :</caption>
- <input id="ipt_patsex" ref="/root/main/condition/patsex" disabled="true" navindex="2" autonext="false" imemode="hangul" style="left:725px; top:9px; width:70px; height:19px; "/>
- <caption id="caption4" class="search_name" style="left:811px; top:9px; width:61px; height:17px; ">나이 :</caption>
- <input id="ipt_patage" ref="/root/main/condition/patage" disabled="true" navindex="2" autonext="false" imemode="hangul" style="left:875px; top:9px; width:85px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|