12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMASB02100" position="absolute 0 0 1200 790" titletext="격리병실신청현황조회" oninit="SMASB02100_oninit" onload="SMASB02100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1195 784" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1195 784" align="align:center top;" id="group2">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1195 25" id="grp_tle">
- <Layouts>
- <Layout>
- <Static text="격리병실신청현황조회" position="absolute 0 0 165 25" id="caption6" class="tit_1"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 757 1195 784" id="grp_btn">
- <Layouts>
- <Layout>
- <Button position="absolute 5 3 61 25" id="btn_print" class="btn6" visible="false" text="출력" onclick="grp_btn_btn_print_onclick"/>
- <Button position="absolute 1126 3 1194 25" id="btn_init" class="btn4" text="초기화" onclick="grp_btn_btn_init_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 20 1195 758" id="grp_biz" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 0 1194 65" align="align:center top;" id="group6" class="div_SA" anchor="default">
- <Layouts>
- <Layout>
- <Edit position="absolute 585 10 685 29" id="ipt_pid" class="input_search" anchor="default" autoselect="true" onsetfocus="grp_biz_group6_ipt_pid_onsetfocus" onkeyup="grp_biz_group6_ipt_pid_onkeyup"/>
- <Static text="신청과별 :" position="absolute 261 10 347 27" id="cap_orddeptcd" class="search_name" anchor="default"/>
- <Button position="absolute 869 11 885 27" id="btn_prcpclsnm" class="icon_search" text="" anchor="default" onclick="grp_biz_group6_btn_prcpclsnm_onclick"/>
- <Static text="등록번호 :" position="absolute 509 10 595 27" id="cap_pid" class="search_name" anchor="default"/>
- <Edit position="absolute 765 10 865 29" id="ipt_hngnm" class="input_search" anchor="default" autoselect="true" onsetfocus="grp_biz_group6_ipt_hngnm_onsetfocus" onkeyup="grp_biz_group6_ipt_hngnm_onkeyup"/>
- <Calendar position="absolute 298 37 395 56" id="ipt_todd" class="input_s_essential" anchor="default" autoselect="true"/>
- <CheckBox position="absolute 890 10 1040 25" id="chk_wbc" anchor="default" text="백혈구감소증 D3만보기" truevalue="D" onclick="grp_biz_group6_chk_wbc_onclick" enable="false"/>
- <Combo position="absolute 335 10 485 29" id="cmb_orddeptcd" class="combo_default" innerdataset="@ds_init_deptlist_dept" datacolumn="depthngnm" codecolumn="deptcd" anchor="default"/>
- <Static text="~" position="absolute 282 38 297 58" id="caption7" anchor="default"/>
- <Shape position="absolute 1107 10 1113 58" linetype="vertical" id="line3" anchor="default"/>
- <Static text="환자명 :" position="absolute 701 10 784 27" id="cap_hngnm" class="search_name" anchor="default"/>
- <Button position="absolute 1125 24 1181 46" id="btn_search" class="btn1" text="조회" anchor="default" onclick="grp_biz_group6_btn_search_onclick"/>
- <Calendar position="absolute 180 36 277 55" id="ipt_fromdd" class="input_s_essential" anchor="default" autoselect="true"/>
- <Static text="기간조회 :" position="absolute 5 36 81 53" id="cap_todd" class="search_name" anchor="default"/>
- <Static text="병 동 별 :" position="absolute 5 10 78 27" id="cap_wardcd" class="search_name" anchor="default"/>
- <Combo position="absolute 79 10 229 29" id="cmb_wardcd" class="combo_default" innerdataset="@ds_init_warddeptlist_dept" datacolumn="depthngnm" codecolumn="deptcd" anchor="default"/>
- <Static text="격리진단별 :" position="absolute 509 39 613 56" id="cap_cnsttermengnm" class="search_name" anchor="default"/>
- <Combo position="absolute 600 37 860 56" id="ipt_cnsttermengnm" class="combo_default" enable="false" anchor="default"/>
- <CheckBox position="absolute 405 40 475 55" id="chk_incend" anchor="default" text="완료포함" truevalue="Y" onclick="grp_biz_group6_chk_incend_onclick"/>
- <Button position="absolute 864 40 880 56" id="importbutton1" class="icon_search" visible="false" text="" anchor="default" onclick="grp_biz_group6_importbutton1_onclick"/>
- <Combo position="absolute 80 36 175 55" id="cmb_cnstdate" class="combo_default" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="grp_biz_group6_cmb_cnstdate_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">R</Col>
- <Col id="datacolumn">격리신청일</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">격리개시일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button position="absolute 1035 9 1080 29" id="btn_patsrch" enable="false" text="" anchor="default" onclick="grp_biz_group6_btn_patsrch_onclick" style=":disabled {background:transparent;border:2 double transparent transparent;}"/>
- <CheckBox position="absolute 885 40 900 55" id="chk_toendpat" anchor="default" onclick="grp_biz_group6_chk_toendpat_onclick"/>
- <Static text="금일 격리 종료환자 보기(D3포함)" position="absolute 900 38 1082 58" id="importcaption1" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="격리병실 신청현황" position="absolute 1 74 142 90" align="align:center middle;" id="caption3" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 90 1194 96" linetype="horizontal" id="line6" class="line_10" anchor="default"/>
- <Grid position="absolute 0 95 1190 735" id="grd_cnstpatlist" binddataset="ds_main_cnstpatinfo_cnstpatlist" anchor="default" onrbuttondown="grp_biz_grd_cnstpatlist_onrbuttondown" oncellclick="grp_biz_grd_cnstpatlist_oncellclick" oncelldblclick="grp_biz_grd_cnstpatlist_oncelldblclick" cellsizingtype="col" cellsizebandtype="allband" scrollpixel="all" tooltiptype="hover">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="20" band="left"/>
- <Column size="56" band="left"/>
- <Column size="0" band="left"/>
- <Column size="65" band="left"/>
- <Column size="53" band="left"/>
- <Column size="55" band="left"/>
- <Column size="56" band="left"/>
- <Column size="70" band="left"/>
- <Column size="80" band="left"/>
- <Column size="60" band="left"/>
- <Column size="60" band="left"/>
- <Column size="0" band="left"/>
- <Column size="95" band="left"/>
- <Column size="116" band="left"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="91"/>
- <Column size="87"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="52"/>
- <Column size="230"/>
- <Column size="85"/>
- <Column size="70"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="52"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" taborder="undefined"/>
- <Cell col="1" rowspan="2" text="보험팀 확인여부" taborder="undefined"/>
- <Cell col="2" text="서식기록번호"/>
- <Cell col="3" rowspan="2" text="등록 번호" taborder="undefined"/>
- <Cell col="4" rowspan="2" text="성명" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="진행 상태" taborder="undefined"/>
- <Cell col="6" rowspan="2" text="감염내과 승인여부" taborder="undefined"/>
- <Cell col="7" rowspan="2" text="입원일" taborder="undefined"/>
- <Cell col="8" rowspan="2" text="의뢰과" taborder="undefined"/>
- <Cell col="9" rowspan="2" text="전문의" taborder="undefined"/>
- <Cell col="10" rowspan="2" text="의뢰 의사" taborder="undefined"/>
- <Cell col="11" text="격리진단코드"/>
- <Cell col="12" rowspan="2" text="격리진단명" taborder="undefined"/>
- <Cell col="13" rowspan="2" text="기타사유" taborder="undefined"/>
- <Cell col="14" rowspan="2" text="격리 신청일" taborder="undefined"/>
- <Cell col="15" rowspan="2" text="의사격리 승인일" taborder="undefined"/>
- <Cell col="16" rowspan="2" text="원무 승인일" taborder="undefined"/>
- <Cell col="17" rowspan="2" text="격리 종료일" taborder="undefined"/>
- <Cell col="18" rowspan="2" text="인실구분" taborder="undefined"/>
- <Cell col="19" rowspan="2" text="재원병동" taborder="undefined"/>
- <Cell col="20" rowspan="2" text="재원 병실" taborder="undefined"/>
- <Cell col="21" rowspan="2" text="이전 병실" taborder="undefined"/>
- <Cell col="22" rowspan="2" text="격리 병실" taborder="undefined"/>
- <Cell col="23" rowspan="2" text="S/A" taborder="undefined"/>
- <Cell col="24" rowspan="2" text="의뢰내용" taborder="undefined"/>
- <Cell col="25" rowspan="2" text="주진단 코드" taborder="undefined"/>
- <Cell col="26" colspan="3" text="검사정보" taborder="undefined"/>
- <Cell row="1" col="26" text="검사일자" taborder="undefined"/>
- <Cell col="29" rowspan="2" text="퇴원 일자" taborder="undefined"/>
- <Cell col="30" text="cretno"/>
- <Cell col="31" rowspan="2" text="보험팀 확인자" taborder="undefined"/>
- <Cell col="32" rowspan="2" text="보험팀 확인시간" taborder="undefined"/>
- <Cell col="33" text="caption1"/>
- <Cell col="34" text="caption2"/>
- <Cell row="1" col="2" text="서식기록번호"/>
- <Cell row="1" col="11" text="격리진단코드"/>
- <Cell row="1" col="27" text="ANC"/>
- <Cell row="1" col="28" text="500이상"/>
- <Cell row="1" col="30" text="cretno"/>
- <Cell row="1" col="33" text="caption1"/>
- <Cell row="1" col="34" text="caption2"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="checkbox" style="controlbackground:silver;controlborder:1 solid #708090cc ;" text="bind:insucnfmyn" tooltiptext="bind:insucnfmyn" enable="false"/>
- <Cell col="2" text="bind:formrecseq"/>
- <Cell col="3" displaytype="text" style="align:center;" text="bind:pid" tooltiptext="bind:pid"/>
- <Cell col="4" text="bind:hngnm" tooltiptext="bind:hngnm"/>
- <Cell col="5" text="bind:cnststat" tooltiptext="bind:cnststat"/>
- <Cell col="6" text="bind:cnstcnfm" tooltiptext="bind:cnstcnfm"/>
- <Cell col="7" displaytype="date" text="bind:indd" calendardisplaynulltype="none" tooltiptext="bind:indd"/>
- <Cell col="8" style="align:left;" text="bind:reqdeptnm" tooltiptext="bind:reqdeptnm"/>
- <Cell col="9" text="bind:medispclnm" tooltiptext="bind:medispclnm"/>
- <Cell col="10" text="bind:requsernm" tooltiptext="bind:requsernm"/>
- <Cell col="11" text="bind:cnstdiagcd"/>
- <Cell col="12" style="align:left;" text="bind:cnstdiagnm" tooltiptext="bind:cnstdiagnm"/>
- <Cell col="13" text="bind:cnstdiagcnt" tooltiptext="bind:cnstdiagcnt"/>
- <Cell col="14" displaytype="date" text="bind:reqdt" calendardisplaynulltype="none" tooltiptext="bind:reqdt"/>
- <Cell col="15" text="bind:cnstcnfmfromdd" calendardisplaynulltype="none" tooltiptext="bind:cnstcnfmfromdd"/>
- <Cell col="16" displaytype="date" text="bind:cnstfromdd" calendardisplaynulltype="none" tooltiptext="bind:cnstfromdd"/>
- <Cell col="17" displaytype="date" text="bind:cnsttodd" calendardisplaynulltype="none" tooltiptext="bind:cnsttodd"/>
- <Cell col="18" style="align:left;" text="bind:roomgrdecd" tooltiptext="bind:roomgrdecd"/>
- <Cell col="19" style="align:left;" text="bind:wardnm" tooltiptext="bind:wardnm"/>
- <Cell col="20" text="bind:orroomcd" tooltiptext="bind:orroomcd"/>
- <Cell col="21" text="bind:roomcd" tooltiptext="bind:roomcd"/>
- <Cell col="22" text="bind:cnstroomcd" tooltiptext="bind:cnstroomcd"/>
- <Cell col="23" text="bind:sa" tooltiptext="bind:sa"/>
- <Cell col="24" style="align:left top;padding:4 2 2 2;" text="bind:detreccnts" wordwrap="word" tooltiptext="bind:detreccnts"/>
- <Cell col="25" text="bind:diagcd" tooltiptext="bind:diagcd"/>
- <Cell col="26" displaytype="date" text="bind:lstinsdate" calendardisplaynulltype="none" tooltiptext="bind:lstinsdate"/>
- <Cell col="27" text="bind:anc" tooltiptext="bind:anc"/>
- <Cell col="28" text="bind:overfh" tooltiptext="bind:overfh"/>
- <Cell col="29" displaytype="date" text="bind:dschdd" calendardisplaynulltype="none" tooltiptext="bind:dschdd"/>
- <Cell col="30" text="bind:instcd"/>
- <Cell col="31" text="bind:insuchknm" tooltiptext="bind:insuchknm"/>
- <Cell col="32" text="bind:insucnfmtm" mask="expr:utlf_isNull(insucnfmtm) ? '' : '####-##-## ##:##'" tooltiptext="bind:insucnfmtm"/>
- <Cell col="33" text="bind:ioflag"/>
- <Cell col="34" text="bind:cretno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1149 70 1191 89" id="btn_excel" class="btn2" text="엑셀" anchor="default" onclick="grp_biz_btn_excel_onclick"/>
- <Button position="absolute 1021 70 1063 89" id="btn_save" class="btn5" visible="false" text="저장" anchor="default" onclick="grp_biz_btn_save_onclick"/>
- <Button position="absolute 1066 70 1146 89" id="importbutton2" class="btn2" text="컨설트 조회" anchor="default" onclick="grp_biz_importbutton2_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_deptlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_warddeptlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="depthngnm" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_memberlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="userid" type="STRING" size="256" sumtext="사용자아이디"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_insumemberlist_insumemberlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="judgrid" type="STRING" size="256" sumtext="보험심사자아이디"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
- <Column id="cnstdate" type="STRING" size="256" sumtext="격리구분"/>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="cnsttodd" type="STRING" size="256" sumtext="격리종료일"/>
- <Column id="inclend" type="STRING" size="256" sumtext="완료포함"/>
- <Column id="icdr" type="STRING" size="256" sumtext="ICDR테이블 조건 여부 flag"/>
- <Column id="cnstendpat" type="STRING" size="256" sumtext="금일 격리 종료환자 보기"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cnstpatinfo_cnstpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="insucnfmyn" type="STRING" size="256" sumtext="보험팀확인여부"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="ioflag"/>
- <Column id="formrecseq" type="STRING" size="256" sumtext="서식기록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="cnststat" type="STRING" size="256" sumtext="환자명"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
- <Column id="reqdeptnm" type="STRING" size="256" sumtext="의뢰과"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="주치의"/>
- <Column id="cnstcnfm" type="STRING" size="256" sumtext="승인여부"/>
- <Column id="requsernm" type="STRING" size="256" sumtext="의뢰의사"/>
- <Column id="cnstdiagcd" type="STRING" size="256" sumtext="격리진단코드"/>
- <Column id="cnstdiagnm" type="STRING" size="256" sumtext="격리진단명"/>
- <Column id="reqdt" type="STRING" size="256" sumtext="격리신청일"/>
- <Column id="cnsthopefromdd" type="STRING" size="256" sumtext="격리예상시작일"/>
- <Column id="cnsthopetodd" type="STRING" size="256" sumtext="격리예상종료일"/>
- <Column id="cnstcnfmfromdd" type="STRING" size="256" sumtext="격리승인시작일"/>
- <Column id="cnstcnfmtodd" type="STRING" size="256" sumtext="격리승인종료일"/>
- <Column id="cnstfromdd" type="STRING" size="256" sumtext="격리개시일"/>
- <Column id="cnsttodd" type="STRING" size="256" sumtext="격리종료일"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="인실구분"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="현병동"/>
- <Column id="orroomcd" type="STRING" size="256" sumtext="현병실"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="이전병실"/>
- <Column id="cnstroomcd" type="STRING" size="256" sumtext="격리병실"/>
- <Column id="sa" type="STRING" size="256" sumtext="성별/나이"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="주진단코드"/>
- <Column id="lstinsdate" type="STRING" size="256" sumtext="검사일자"/>
- <Column id="anc" type="STRING" size="256" sumtext="ANC"/>
- <Column id="overfh" type="STRING" size="256" sumtext="500이상"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
- <Column id="cnstseq" type="STRING" size="256" sumtext="의뢰순번"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="ioflag"/>
- <Column id="insucnfmtm" type="STRING" size="256" sumtext="보험팀 확인시간"/>
- <Column id="insuchknm" type="STRING" size="256" sumtext="보험팀 확인자"/>
- <Column id="cnstdiagcnt" type="STRING" size="256" sumtext="격리사유"/>
- <Column id="detreccnts" type="STRING" size="256" sumtext="의뢰내용"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="count" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cnstdd" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="reqflag" type="STRING" size="256"/>
- <Column id="replyn" type="STRING" size="256"/>
- <Column id="ordflag" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="cnsttermengnm" type="STRING" size="256"/>
- <Column id="cnstfromdd" type="STRING" size="256"/>
- <Column id="cnsttodd" type="STRING" size="256"/>
- <Column id="chk_wbcd3" type="STRING" size="256"/>
- <Column id="cnstendpat" type="STRING" size="256"/>
- <Column id="inclend" type="STRING" size="256"/>
- <Column id="cnstdate" type="STRING" size="256"/>
- <Column id="icdr" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_initdate" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="today" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="255"/>
- <Column id="bindyn" type="STRING" size="255"/>
- <Column id="instcd" type="STRING" size="255"/>
- <Column id="hngnm" type="STRING" size="255"/>
- <Column id="hngnm2" type="STRING" size="255"/>
- <Column id="engnm" type="STRING" size="255"/>
- <Column id="chinm" type="STRING" size="255"/>
- <Column id="rrgstno1" type="STRING" size="255"/>
- <Column id="rrgstno2" type="STRING" size="255"/>
- <Column id="rrgstno3" type="STRING" size="255"/>
- <Column id="brthdd" type="STRING" size="255"/>
- <Column id="sex" type="STRING" size="255"/>
- <Column id="age" type="STRING" size="255"/>
- <Column id="bindpid" type="STRING" size="255"/>
- <Column id="hometel" type="STRING" size="255"/>
- <Column id="mpphontel" type="STRING" size="255"/>
- <Column id="etctel1" type="STRING" size="255"/>
- <Column id="etctel2" type="STRING" size="255"/>
- <Column id="smsaprvyn" type="STRING" size="255"/>
- <Column id="email" type="STRING" size="255"/>
- <Column id="zipcd1" type="STRING" size="255"/>
- <Column id="zipcd2" type="STRING" size="255"/>
- <Column id="zipcdseq" type="BIGDECIMAL" size="255"/>
- <Column id="addr" type="STRING" size="255"/>
- <Column id="detladdr" type="STRING" size="255"/>
- <Column id="btype" type="STRING" size="255"/>
- <Column id="rh" type="STRING" size="255"/>
- <Column id="forgeryn" type="STRING" size="255"/>
- <Column id="nati" type="STRING" size="255"/>
- <Column id="psptno" type="STRING" size="255"/>
- <Column id="recmyn" type="STRING" size="255"/>
- <Column id="recmerid" type="STRING" size="255"/>
- <Column id="recmernm" type="STRING" size="255"/>
- <Column id="recmerrela" type="STRING" size="255"/>
- <Column id="vipyn" type="STRING" size="255"/>
- <Column id="viprem" type="STRING" size="255"/>
- <Column id="religncd" type="STRING" size="255"/>
- <Column id="baptnm" type="STRING" size="255"/>
- <Column id="chchnm" type="STRING" size="255"/>
- <Column id="dethyn" type="STRING" size="255"/>
- <Column id="dethdt" type="STRING" size="255"/>
- <Column id="dethdd" type="STRING" size="255"/>
- <Column id="dethtm" type="STRING" size="255"/>
- <Column id="chosresn" type="STRING" size="255"/>
- <Column id="animyn" type="STRING" size="255"/>
- <Column id="exptresncd" type="STRING" size="255"/>
- <Column id="inhospyn" type="STRING" size="255"/>
- <Column id="handicapryn" type="STRING" size="255"/>
- <Column id="pidflag" type="STRING" size="255"/>
- <Column id="remfact" type="STRING" size="255"/>
- <Column id="ptunyn" type="STRING" size="255"/>
- <Column id="fstrgstrid" type="STRING" size="255"/>
- <Column id="fstrgstdt" type="STRING" size="255"/>
- <Column id="lastupdtrid" type="STRING" size="255"/>
- <Column id="lastupdtdt" type="STRING" size="255"/>
- <Column id="lastorddd" type="STRING" size="255"/>
- <Column id="lastorddeptcd" type="STRING" size="255"/>
- <Column id="lastinsukind" type="STRING" size="255"/>
- <Column id="patspcfyn" type="STRING" size="255"/>
- <Column id="tdaydsch" type="STRING" size="255"/>
- <Column id="kioskrcptnoyn" type="STRING" size="255"/>
- <Column id="carnum" type="STRING" size="255"/>
- <Column id="mig" type="STRING" size="255"/>
- <Column id="scanyn" type="STRING" size="255"/>
- <Column id="spifscanyn" type="STRING" size="255"/>
- <Column id="isolinfo" type="STRING" size="255"/>
- <Column id="builno" type="STRING" size="255"/>
- <Column id="gugang_ptbs_scanyn" type="STRING" size="255"/>
- <Column id="hieocrtag" type="STRING" size="255"/>
- <Column id="bogjamt" type="STRING" size="255"/>
- <Column id="outuncoamt" type="STRING" size="255"/>
- <Column id="ptbs_pid" type="STRING" size="255"/>
- <Column id="dschuncoamt" type="STRING" size="255"/>
- <Column id="aiduncoamt" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_hardcd_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hardcd" type="STRING" size="255"/>
- <Column id="hardcdnm" type="STRING" size="255"/>
- <Column id="hardnm" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.group6.cmb_wardcd" propid="value" datasetid="ds_main_cond" columnid="wardcd"/>
- <BindItem id="item1" compid="grp_biz.group6.cmb_orddeptcd" propid="value" datasetid="ds_main_cond" columnid="orddeptcd"/>
- <BindItem id="item2" compid="grp_biz.group6.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
- <BindItem id="item3" compid="grp_biz.group6.ipt_hngnm" propid="value" datasetid="ds_main_cond" columnid="hngnm"/>
- <BindItem id="item4" compid="grp_biz.group6.chk_wbc" propid="value" datasetid="ds_main_cond" columnid="chk_wbcd3"/>
- <BindItem id="item5" compid="grp_biz.group6.cmb_cnstdate" propid="value" datasetid="ds_main_cond" columnid="cnstdate"/>
- <BindItem id="item6" compid="grp_biz.group6.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item7" compid="grp_biz.group6.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- <BindItem id="item8" compid="grp_biz.group6.chk_incend" propid="value" datasetid="ds_main_cond" columnid="inclend"/>
- <BindItem id="item9" compid="grp_biz.group6.ipt_cnsttermengnm" propid="value" datasetid="ds_main_cond" columnid="cnsttermengnm"/>
- <BindItem id="item10" compid="grp_biz.group6.chk_toendpat" propid="value" datasetid="ds_main_cond" columnid="cnstendpat"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : 경대 의료정보시스템
- * Job Name : ast_infcmngtxp -> SMASB02100
- * Creator : yjh
- * Make Date : 2016-11-30
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-11-30 yjh TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "ast_infcmngtxp::SMASB00100.xjs"; //yjh
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- function fInitialize() {
- // 공통코드를 조회한다.
- // zbcfGetCodeList( new Array(),
- // new Array("/root/init/A0144list", "/root/init/A0145list", "/root/init/A0124list", "/root/init/A0358list", "/root/init/A0006list") );
-
- // 진료과
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var standard_yn = "orduseyn";
- var ord_deptflag = 'D';
- var rslt_ref = "ds_init_deptlist_dept";
- var sort_field = "depthngnm";
- var sort_method = "asc";
- var dt = utlf_getCurrentDate();
-
- appf_getDeptCodeList(instcd, standard_yn, ord_deptflag, sort_field, sort_method, dt, "", "", rslt_ref);
- frmf_addComboItem("grp_biz.group6.cmb_orddeptcd","- 전 체 -","","above");
- grp_biz.group6.cmb_orddeptcd.value = "";
-
- //병동
- standard_yn = "orduseyn";
- ord_deptflag = "W";
- rslt_ref = "ds_init_warddeptlist_dept";
- sort_field = "deptcd";
- sort_method = "asc";
- appf_getDeptCodeList(instcd, standard_yn, ord_deptflag, sort_field, sort_method, dt, "", "", rslt_ref);
- frmf_addComboItem("grp_biz.group6.cmb_wardcd","- 전 체 -","","above");
- grp_biz.group6.cmb_wardcd.value = "";
-
- // 보험팀일 경우에만 보험팀 확인여부 컬럼과 저장 버튼이 보이도록 설정
- var deptcd = sysf_getUserInfo("dutplcecd");
- var userid = sysf_getUserInfo("userid");
-
- ds_init_memberlist.setColumn(0, "instcd",instcd);
- ds_init_memberlist.setColumn(0, "userid",userid);
-
- var oParam = {};
- oParam.id = "TRASB02102";
- oParam.service = "infcmngtapp.HospInfcMngt";
- oParam.method = "reqGetInsuMemberList";
- oParam.inds = "req=ds_init_memberlist";
- oParam.outds = "ds_main_insumemberlist_insumemberlist=insumemberlist";
- oParam.async = false;
- //oParam.callback = "cf_TRASB02102";
- tranf_submit(oParam);
-
- var insumember = ds_main_insumemberlist_insumemberlist.getColumn(0, "judgrid");
-
- //if (deptcd == "4071300000" || deptcd == "4070300000" ) {
- // 보험팀조직개편으로 인한 보험팀확인여부 보험심사자마스터에서 조회하여 비교
-
- if (userid == insumember) {
- grp_biz.grd_cnstpatlist.setCellProperty("body", 1, "edittype", "checkbox");
- grp_biz.grd_cnstpatlist.setCellProperty("body", 1, "controlbackground", "");
- grp_biz.grd_cnstpatlist.setCellProperty("body", 1, "controlborder", "");
- //grd_cnstpatlist.colHidden(grd_cnstpatlist.colRef("insucnfmyn")) = false;
- grp_biz.btn_save.visible = true;
- }
- }
- function fSetParameter(){
- var today = utlf_getCurrentDate();
- var idate = new Date();
- var peveDate = idate.getAddDate(-1, "M");
- ds_init_initdate.setColumn(0, "today", today);
- ds_send_cond.setColumn(0, "fromdd", peveDate.getDateFormat());
- ds_send_cond.setColumn(0, "todd", today);
- ds_main_cond.setColumn(0, "fromdd", peveDate.getDateFormat());
- ds_main_cond.setColumn(0, "todd", today);
- }
- /**
- * @desc : 환자 등록번호를 통한 환자 이름 가져오기
- * @
- * @param :
- * @return :
- * @author : 김영학
- * @---------------------------------------------------
- */
-
- function fPatSrch(s_val, flag){
- if(flag == "1"){
- ds_tmp.setColumn(0, "pid", s_val);
- } else if(flag == "2"){
- ds_tmp.setColumn(0, "hngnm", s_val);
- }
- ds_tmp.setColumn(0, "srchcond", flag);
- ds_tmp.setColumn(0, "autoflag","Y"); // 1건인경우 자동으로닫힘
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_tmp;
- frmf_modal("SPPMC02500","SPPMC02500",objArg,"",1,10,10,"","","","","","M"); //ds_patinfolist
- }
- function fReqOpPatPamInfo(){
-
- var Currecdd = utlf_getCurrentDate();
- var currow = grp_biz.grd_cnstpatlist.currentrow;
- if(currow < 0){
- return;
- }
- //@@@@ 상단정보 세팅 (감염관리실에서만 사용)
- asbfGetHardCodeInfoNm("C1", "ds_init_hardcd_hardcd");
- var usercdok = ds_init_hardcd_hardcd.getColumn(0, "hardcdnm");
- var userdeptcd = sysf_getUserInfo( "dutplcecd" );
-
- if(usercdok == userdeptcd){ //감염관리실 사용자의 경우에만,
-
- var ordtype=ds_main_cnstpatinfo_cnstpatlist.getColumn(currow, "ioflag");
- var pid=ds_main_cnstpatinfo_cnstpatlist.getColumn(currow, "pid");
- var indd=ds_main_cnstpatinfo_cnstpatlist.getColumn(currow, "indd");
- var cretno=ds_main_cnstpatinfo_cnstpatlist.getColumn(currow, "cretno");
- var recdd=ds_main_cnstpatinfo_cnstpatlist.getColumn(currow, "dschdd");
- if (utlf_isNull(recdd)){
- recdd=Currecdd;
- }
- var instcd=sysf_getUserInfo("dutplceinstcd");
- //var recdd=Currecdd;
-
- var param=ordtype+"▦"+pid+"▦"+indd+"▦"+cretno+"▦"+instcd+"▦"+recdd;
- //setParameter("condparam", param);
- //modal("SPMMO08900", 1, 0, 0, "", "", "", "left:0; right:0; width:0; height:0; sysmenu:hidden; caption:hidden; min:hidden, max:hidden;");
-
- appf_initPatientInfo(param); //상단정보 셋팅
- }
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMASB02100
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시
- ****************************************************************************************/
- function SMASB02100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMASB02100
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로딩 완료시
- ****************************************************************************************/
- function SMASB02100_onload(obj:Form, e:LoadEventInfo)
- {
- ds_main_cond.setColumn(0, "reqflag", "-");
- ds_main_cond.setColumn(0, "replyn", "-");
- ds_main_cond.setColumn(0, "ordflag", "-");
- ds_main_cond.setColumn(0, "orddrid", "-");
- ds_main_cond.setColumn(0, "cnstdate", "R");
-
- grdf_setRowTypeIcon(grp_biz.grd_cnstpatlist, 0);
- grdf_setGridSort(grp_biz.grd_cnstpatlist);
-
- fInitialize();
- fSetParameter();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_print
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 출력버튼 클릭시
- ****************************************************************************************/
- function grp_btn_btn_print_onclick(obj:Button, e:ClickEventInfo)
- {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main/cond", ds_main_cond); // 데이터셋
- rptf_setNodeListToDOM(objDOM, "root/main/cnstpatinfo/cnstpatlist", ds_main_cnstpatinfo_cnstpatlist); // 데이터셋
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
-
- var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
- rptf_exeReportPreview30(["RPASB02100"],[objParam], option);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_init
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 초기화버튼 클릭시
- ****************************************************************************************/
- function grp_btn_btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_cnstpatinfo_cnstpatlist.clearData();
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_pid
- * Event : onsetfocus
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 에디터로 포커스 들어올때
- ****************************************************************************************/
- function grp_biz_group6_ipt_pid_onsetfocus(obj:Edit, e:SetFocusEventInfo)
- {
- ds_main_cond.setColumn(0, "pid", "");
- ds_main_cond.setColumn(0, "hngnm", "");
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_pid
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 키 입력시
- ****************************************************************************************/
- function grp_biz_group6_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- grp_biz.group6.btn_patsrch.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_prcpclsnm
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 돋보기버튼 클릭시
- ****************************************************************************************/
- function grp_biz_group6_btn_prcpclsnm_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPMC02500","SPPMC02500",null,"",1,10,10,"","","","","","M"); //ds_patinfolist
-
- var sPid = ds_patinfolist.getColumn(0, "pid");
- var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
- ds_main_cond.setColumn(0, "pid", sPid);
- ds_main_cond.setColumn(0, "hngnm", sHngnm);
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_hngnm
- * Event : onsetfocus
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 데이터로 포커스 들어올때
- ****************************************************************************************/
- function grp_biz_group6_ipt_hngnm_onsetfocus(obj:Edit, e:SetFocusEventInfo)
- {
- ds_main_cond.setColumn(0, "pid", "");
- ds_main_cond.setColumn(0, "hngnm", "");
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : ipt_hngnm
- * Event : onkeyup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 키 입력시
- ****************************************************************************************/
- function grp_biz_group6_ipt_hngnm_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- grp_biz.group6.btn_patsrch.click();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_search
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭시
- ****************************************************************************************/
- function grp_biz_group6_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_cnstpatinfo_cnstpatlist.clearData();
-
- ds_send_reqdata.copyData(ds_main_cond);
-
- var oParam = {};
- oParam.id = "TRASB02101";
- oParam.service = "infcmngtapp.HospInfcMngt";
- oParam.method = "reqGetCnstPatList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_cnstpatinfo_cnstpatlist=cnstpatlist";
- oParam.async = false;
- //oParam.callback = "cf_TRASB02101";
- tranf_submit(oParam);
-
- ds_main_cnstpatinfo_cnstpatlist.rowposition = -1;
-
- ds_main_cnstpatinfo_cnstpatlist.enableevent = false;
- ds_main_cnstpatinfo_cnstpatlist.updatecontrol = false;
-
- for( var i=0 ; i<ds_main_cnstpatinfo_cnstpatlist.rowcount ; i++ ){
- if( ds_main_cnstpatinfo_cnstpatlist.getColumn(i, "insucnfmyn") == "Y" ){
- ds_main_cnstpatinfo_cnstpatlist.setColumn(i, "insucnfmyn", "1");
- }else{
- ds_main_cnstpatinfo_cnstpatlist.setColumn(i, "insucnfmyn", "0");
- }
- }
-
- ds_main_cnstpatinfo_cnstpatlist.updatecontrol = true;
- ds_main_cnstpatinfo_cnstpatlist.enableevent = true;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : importbutton1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 돋보기버튼 클릭시
- ****************************************************************************************/
- function grp_biz_group6_importbutton1_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPMC02500","SPPMC02500",null,"",1,10,10,"","","","","","M"); //ds_patinfolist
-
- var sPid = ds_patinfolist.getColumn(0, "pid");
- var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
- ds_main_cond.setColumn(0, "pid", sPid);
- ds_main_cond.setColumn(0, "hngnm", sHngnm);
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : cmb_cnstdate
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 콤보 값 변경시
- ****************************************************************************************/
- function grp_biz_group6_cmb_cnstdate_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var icdr = ds_main_cond.getColumn(0, "cnstendpat" );
- var cnstdate = ds_main_cond.getColumn(0, "cnstdate" );
- if (icdr =="Y" ||cnstdate =="F" ) {
- ds_main_cond.setColumn(0, "icdr", "I");
- } else {
- ds_main_cond.setColumn(0, "icdr", "");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_patsrch
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 버튼 클릭시
- ****************************************************************************************/
- function grp_biz_group6_btn_patsrch_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = ds_main_cond.getColumn(0, "pid");
- var hngnm = ds_main_cond.getColumn(0, "hngnm");
- if( utlf_isNull(pid) && !utlf_isNull(hngnm) ){
- fPatSrch(hngnm, "2");
- } else if( !utlf_isNull(pid) && utlf_isNull(hngnm) ){
- fPatSrch(pid, "1");
- } else {
- frmf_modal("SPPMC02500","SPPMC02500",null,"",1,10,10,"","","","","","M"); //ds_patinfolist
- }
-
- ds_main_cond.setColumn(0, "pid",ds_patinfolist.getColumn(0, "pid"));
- ds_main_cond.setColumn(0, "hngnm",ds_patinfolist.getColumn(0, "hngnm"));
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : chk_toendpat
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function grp_biz_group6_chk_toendpat_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var icdr = ds_main_cond.getColumn(0, "cnstendpat" );
- var cnstdate = ds_main_cond.getColumn(0, "cnstdate" );
- if (icdr =="Y" ||cnstdate =="F" ) {
- ds_main_cond.setColumn(0, "icdr", "I");
- } else {
- ds_main_cond.setColumn(0, "icdr", "");
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_cnstpatlist
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 마우스 우클릭시
- ****************************************************************************************/
- function grp_biz_grd_cnstpatlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- //사용 안하는듯..
- //setPopupMenu("grd_cnstpatlist", false, "/root/popupmenu/menu/item", "name", "func");
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_cnstpatlist
- * Event : oncellclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 클릭시
- ****************************************************************************************/
- function grp_biz_grd_cnstpatlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = grp_biz.grd_cnstpatlist.currentrow;
- ds_temp_patinfo.setColumn(0, "pid",ds_main_cnstpatinfo_cnstpatlist.getColumn(row, "pid"));
- ds_temp_patinfo.setColumn(0, "hngnm",ds_main_cnstpatinfo_cnstpatlist.getColumn(row, "hngnm"));
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_cnstpatlist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 셀 더블클릭시
- ****************************************************************************************/
- function grp_biz_grd_cnstpatlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fReqOpPatPamInfo();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_excel
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀버튼 클릭시
- ****************************************************************************************/
- function grp_biz_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- if( grp_biz.grd_cnstpatlist.rowcount > 0 ){
- grdf_exportExcel(grp_biz.grd_cnstpatlist, "격리병실신청현황", "격리병실신청현황", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- return;
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_save
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 저장버튼 클릭시
- ****************************************************************************************/
- function grp_biz_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_main_cnstpatinfo_cnstpatlist.enableevent = false;
- ds_main_cnstpatinfo_cnstpatlist.updatecontrol = false;
-
- grdf_setStatusColumn(ds_main_cnstpatinfo_cnstpatlist, "m");
-
- ds_main_cnstpatinfo_cnstpatlist.updatecontrol = false;
- ds_main_cnstpatinfo_cnstpatlist.enableevent = false;
-
- ds_send_reqdata.copyData(grdf_getGridUpdateData(grp_biz.grd_cnstpatlist, "all"));
-
- for( var i=0 ; i<ds_send_reqdata.rowcount ; i++ ){
- if( ds_send_reqdata.getColumn(i, "insucnfmyn") == "1" ){
- ds_send_reqdata.setColumn(i, "insucnfmyn", "Y");
- }else{
- ds_send_reqdata.setColumn(i, "insucnfmyn", "N");
- }
- }
-
- var oParam = {};
- oParam.id = "TXASB02101";
- oParam.service = "infcmngtapp.HospInfcMngt";
- oParam.method = "reqExeInsuCnfmYN";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_hidden_item=item";
- oParam.async = false;
- //oParam.callback = "cf_TXASB02101";
- tranf_submit(oParam);
-
- grp_biz.group6.btn_search.click();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : importbutton2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 컨설트조회 버튼 클릭시
- ****************************************************************************************/
- function grp_biz_importbutton2_onclick(obj:Button, e:ClickEventInfo)
- {
- var sessionPID = appf_getPatientId();
- var iRow=grp_biz.grd_cnstpatlist.currentrow;
- if(sessionPID != ds_main_cnstpatinfo_cnstpatlist.getColumn(iRow, "pid")){
- fReqOpPatPamInfo();
- }
-
- frmf_modal("SMMMR05000","SMMMR05000","","","","","","","","","","","M");
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : chk_wbc
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function grp_biz_group6_chk_wbc_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value != "D" ){
- ds_main_cond.setColumn(0, "chk_wbcd3", "");
- }
- }
- /****************************************************************************************
- * Components : CheckBox
- * Components ID : chk_incend
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 클릭시
- ****************************************************************************************/
- function grp_biz_group6_chk_incend_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value != "Y" ){
- ds_main_cond.setColumn(0, "inclend", "");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|