12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEA07100" position="absolute 0 0 1196 779" titletext="PACS 인터페이스 정보 조회" oninit="SMAEA07100_oninit" onload="SMAEA07100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 65 1195 737" id="group3" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 315 1194 321" linetype="horizontal" id="line2" class="line_1" anchor="left top right"/>
- <Static text="PAC.PACSRPTH" position="absolute 0 500 144 516" id="caption2" class="tit_2" anchor="default"/>
- <Grid position="absolute 0 521 1194 670" id="grd_pacsrpth" binddataset="ds_main_pacsinfo_pacsrpth" anchor="all" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="85"/>
- <Column size="39"/>
- <Column size="103"/>
- <Column size="91"/>
- <Column size="132"/>
- <Column size="85"/>
- <Column size="913"/>
- <Column size="80"/>
- <Column size="73"/>
- <Column size="63"/>
- <Column size="64"/>
- <Column size="63"/>
- <Column size="61"/>
- <Column size="77"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="QUEUEID"/>
- <Cell col="2" text="FLAG"/>
- <Cell col="3" text="WORKTIME"/>
- <Cell col="4" text="READSTATUS"/>
- <Cell col="5" text="HISORDERID"/>
- <Cell col="6" text="PATID"/>
- <Cell col="7" text="READTEXT"/>
- <Cell col="8" text="CONFDATE"/>
- <Cell col="9" text="CONFTIME"/>
- <Cell col="10" text="CONFDR1"/>
- <Cell col="11" text="CONFDR2"/>
- <Cell col="12" text="EXTEND1"/>
- <Cell col="13" text="EXTEND2"/>
- <Cell col="14" text="OPDEPTID"/>
- <Cell col="15" text="STUDYDTM"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:queueid"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:flag"/>
- <Cell col="3" text="bind:worktime"/>
- <Cell col="4" text="bind:readstatus"/>
- <Cell col="5" style="color:#ff0000ff;color2:#ff0000;" text="bind:hisorderid"/>
- <Cell col="6" displaytype="text" edittype="text" style="color:#000000ff;color2:#000000;" text="bind:patid"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:readtext"/>
- <Cell col="8" text="bind:confdate"/>
- <Cell col="9" text="bind:conftime"/>
- <Cell col="10" text="bind:confdr1"/>
- <Cell col="11" text="bind:confdr2"/>
- <Cell col="12" text="bind:extend1"/>
- <Cell col="13" text="bind:extend2"/>
- <Cell col="14" text="bind:opdeptid"/>
- <Cell col="15" text="bind:studydtm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="PAC.PACSORDH" position="absolute 0 299 152 320" id="caption4" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 516 1194 522" linetype="horizontal" id="line3" class="line_1" anchor="left top right"/>
- <Button position="absolute 933 293 1064 315" id="button2" class="btn4" text="PACSORDH 리셋" anchor="top right" onclick="group3_button2_onclick"/>
- <Button position="absolute 1066 293 1194 315" id="btn_insrpth" class="btn4" text="PACSRPTH 생성" anchor="top right" onclick="group3_btn_insrpth_onclick"/>
- <Grid position="absolute 0 320 1194 485" id="grd_pacsordh" binddataset="ds_main_pacsinfo_pacsordh" anchor="left top right" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="165"/>
- <Column size="25"/>
- <Column size="41"/>
- <Column size="103"/>
- <Column size="69"/>
- <Column size="83"/>
- <Column size="132"/>
- <Column size="102"/>
- <Column size="80"/>
- <Column size="73"/>
- <Column size="76"/>
- <Column size="72"/>
- <Column size="0"/>
- <Column size="354"/>
- <Column size="77"/>
- <Column size="77"/>
- <Column size="78"/>
- <Column size="81"/>
- <Column size="100"/>
- <Column size="68"/>
- <Column size="37"/>
- <Column size="100"/>
- <Column size="341"/>
- <Column size="240"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="QUEUEID"/>
- <Cell col="2"/>
- <Cell col="3" text="FLAG"/>
- <Cell col="4" text="WORKTIME"/>
- <Cell col="5" text="PATID"/>
- <Cell col="6" text="EVENTTYPE"/>
- <Cell col="7" text="HISORDERID"/>
- <Cell col="8" text="ACCESSIONNO"/>
- <Cell col="9" text="EXAMDATE"/>
- <Cell col="10" text="EXAMTIME"/>
- <Cell col="11" text="EXAMROOM"/>
- <Cell col="12" text="EXAMCODE"/>
- <Cell col="13" text="caption1"/>
- <Cell col="14" text="EXAMNAME"/>
- <Cell col="15" text="ORDERDOC"/>
- <Cell col="16" text="OPDOC"/>
- <Cell col="17" text="PATNAME"/>
- <Cell col="18" text="PATNAME2"/>
- <Cell col="19" text="PATPERSONALID"/>
- <Cell col="20" text="PATBIRTHDAY"/>
- <Cell col="21" text="PATSEX"/>
- <Cell col="22" text="patzip"/>
- <Cell col="23" text="address"/>
- <Cell col="24" text="STUDY_INSTANCE_UID"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" text="bind:queueid"/>
- <Cell col="2" class="update_n" text="bind:stu"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="align:center;" text="bind:flag" combodataset="ds_init_flag" combocodecol="cdid" combodatacol="cdnm" combodisplay="edit"/>
- <Cell col="4" text="bind:worktime"/>
- <Cell col="5" displaytype="text" edittype="text" style="color:#000000ff;color2:#000000ff;" text="bind:patid"/>
- <Cell col="6" style="font:bold,9;" text="bind:eventtype"/>
- <Cell col="7" displaytype="text" edittype="text" style="color:#ff0000ff;color2:#ff0000ff;" text="bind:hisorderid"/>
- <Cell col="8" displaytype="text" edittype="text" style="color:#993366ff;color2:#993366ff;" text="bind:accessionno"/>
- <Cell col="9" text="bind:examdate"/>
- <Cell col="10" text="bind:examtime"/>
- <Cell col="11" text="bind:examroom"/>
- <Cell col="12" text="bind:examcode"/>
- <Cell col="13" text="bind:status"/>
- <Cell col="14" text="bind:examname"/>
- <Cell col="15" text="bind:orderdoc"/>
- <Cell col="16" text="bind:opdoc"/>
- <Cell col="17" displaytype="text" edittype="text" text="bind:patname"/>
- <Cell col="18" displaytype="text" edittype="text" text="bind:patname2"/>
- <Cell col="19" displaytype="text" edittype="text" text="bind:patpersonalid"/>
- <Cell col="20" displaytype="text" edittype="text" text="bind:patbirthday"/>
- <Cell col="21" displaytype="text" edittype="text" text="bind:patsex"/>
- <Cell col="22" displaytype="text" edittype="text" text="bind:patzip"/>
- <Cell col="23" displaytype="text" edittype="text" text="bind:pataddress1"/>
- <Cell col="24" text="bind:study_instance_uid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Tab position="absolute 0 6 1194 288" id="switch1" anchor="left top right">
- <Tabpages>
- <Tabpage text="처방이력" id="case1" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1194 255" id="grd_prcphist" binddataset="ds_main_prcphist_prcplist" anchor="all" cellsizingtype="col" onlbuttondown="group3_switch1_case1_grd_prcphist_onlbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="70"/>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="251"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="297"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방일자"/>
- <Cell col="2" text="I/O"/>
- <Cell col="3" text="처방코드"/>
- <Cell col="4" text="처방명"/>
- <Cell col="5" text="처방상태"/>
- <Cell col="6" text="진료의사"/>
- <Cell col="7" text="진료과"/>
- <Cell col="8" text="예약일시"/>
- <Cell col="9" text="수납일자"/>
- <Cell col="10" text="접수일자"/>
- <Cell col="11" text="실시일시"/>
- <Cell col="12" text="판독일자"/>
- <Cell col="13" text="검사실 정보"/>
- <Cell col="14" text="hisorderid"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="date" text="bind:prcpdd"/>
- <Cell col="2" text="bind:prcpgenrflag"/>
- <Cell col="3" text="bind:calcscorcd"/>
- <Cell col="4" style="align:left;padding:0 0 0 2;" text="bind:excucdnm"/>
- <Cell col="5" displaytype="combo" edittype="combo" style="color:#ff0000ff;color2:#ff0000ff;font:bold;" text="bind:execprcpstatcd" combodataset="ds_init_M0011" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="6" text="bind:usernm"/>
- <Cell col="7" text="bind:depthngnm"/>
- <Cell col="8" text="bind:rsrvdd" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell col="9" displaytype="date" text="bind:rcptdd"/>
- <Cell col="10" displaytype="date" text="bind:acptdd"/>
- <Cell col="11" text="bind:excuexectodt" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell col="12" text="bind:cnfmdt" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell col="13" style="align:left;padding:0 0 0 2;" text="bind:acptrem"/>
- <Cell col="14" text="bind:hisorderid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="취소처방" id="case2" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 0 1194 255" id="grd_prcphistcnl" binddataset="ds_main_prcphist_prcpcnllist" anchor="all" cellsizingtype="col" onlbuttondown="group3_switch1_case2_grd_prcphistcnl_onlbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="70"/>
- <Column size="30"/>
- <Column size="80"/>
- <Column size="251"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="120"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="120"/>
- <Column size="120"/>
- <Column size="297"/>
- <Column size="120"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방일자"/>
- <Cell col="2" text="I/O"/>
- <Cell col="3" text="처방코드"/>
- <Cell col="4" text="처방명"/>
- <Cell col="5" text="처방상태"/>
- <Cell col="6" text="진료의사"/>
- <Cell col="7" text="진료과"/>
- <Cell col="8" text="예약일시"/>
- <Cell col="9" text="수납일자"/>
- <Cell col="10" text="접수일자"/>
- <Cell col="11" text="실시일시"/>
- <Cell col="12" text="판독일자"/>
- <Cell col="13" text="검사실 정보"/>
- <Cell col="14" text="hisorderid"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="date" text="bind:prcpdd"/>
- <Cell col="2" text="bind:prcpgenrflag"/>
- <Cell col="3" text="bind:prcpcd"/>
- <Cell col="4" style="align:left;padding:0 0 0 2;" text="bind:excucdnm"/>
- <Cell col="5" text="bind:prcphistcd"/>
- <Cell col="6" text="bind:usernm"/>
- <Cell col="7" text="bind:depthngnm"/>
- <Cell col="8" text="bind:rsrvdd" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell col="9" displaytype="date" text="bind:rcptdd"/>
- <Cell col="10" displaytype="date" text="bind:acptdd"/>
- <Cell col="11" text="bind:excuexectodt" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell col="12" text="bind:cnfmdt" mask="@@@@-@@-@@ @@:@@:@@"/>
- <Cell col="13" style="align:left;padding:0 0 0 2;" text="bind:acptrem"/>
- <Cell col="14" text="bind:hisorderid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage text="합번" id="case3" style="anchor:default;margin:0 0 0 0;">
- <Layouts>
- <Layout>
- <Static text="신규등록번호 :" position="absolute 70 20 182 37" id="caption7" class="search_name" anchor="default"/>
- <Edit position="absolute 190 20 290 39" id="input1" class="input_search" taborder="1" anchor="default"/>
- <Static text="과거등록번호 :" position="absolute 70 45 178 62" id="caption8" class="search_name" anchor="default"/>
- <Edit position="absolute 190 45 290 64" id="input2" class="input_search" taborder="1" anchor="default"/>
- <Button position="absolute 360 20 488 42" id="btn_ok" class="btn4" text="신규번호로 갱신" anchor="default" onclick="group3_switch1_case3_btn_ok_onclick"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Edit position="absolute 150 295 355 314" id="ipt_hisorderid" anchor="default" onkeydown="group3_ipt_hisorderid_onkeydown"/>
- <Button position="absolute 360 293 416 315" id="btn_hisorderid" class="btn1" taborder="4" text="조회" anchor="default" onclick="group3_btn_hisorderid_onclick"/>
- <Button position="absolute 768 293 833 315" id="button1" class="btn2" text="이름변경" anchor="top right" onclick="group3_button1_onclick"/>
- <Button position="absolute 1114 4 1194 26" id="btn_excsave" class="btn7" text="엑셀저장" anchor="default" onclick="group3_btn_excsave_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 742 1195 769" id="grp_btn" anchor="left right bottom">
- <Layouts>
- <Layout>
- <Button position="absolute 0 5 56 27" id="btn_prt" class="btn6" visible="false" text="출력" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="개인별 PACS인터페이스정보 조회" class="tit_1" position="absolute 0 0 240 25"/>
- <Div id="grp_sea" taborder="1" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption1" text="적용일자 :" class="search_name" position="absolute 380 13 466 30" anchor="default"/>
- <Static id="caption3" text="등록번호 :" class="search_name" position="absolute 15 13 106 30" anchor="default"/>
- <Button id="btn_sea" taborder="4" text="조회" class="btn1" position="absolute 1124 10 1180 32" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
- <Edit id="ipt_pid" taborder="5" class="input_search" position="absolute 105 11 205 30" anchor="default" onkeydown="grp_sea_ipt_pid_onkeydown" inputtype="number"/>
- <Calendar id="ipt_endrsrvdd" taborder="6" class="input_default" position="absolute 579 11 679 30" anchor="default" onchanged="grp_sea_ipt_endrsrvdd_onchanged"/>
- <Button id="button61" taborder="7" class="icon_search" position="absolute 210 13 226 29" anchor="default" onclick="grp_sea_button61_onclick"/>
- <Edit id="opt_pathngnm" taborder="8" readonly="true" position="absolute 232 11 332 30" anchor="default"/>
- <Calendar id="ipt_startrsrvdd" taborder="9" class="input_default" position="absolute 474 11 574 30" anchor="default" onchanged="grp_sea_ipt_startrsrvdd_onchanged" onlbuttondown="grp_sea_ipt_startrsrvdd_onlbuttondown"/>
- <Combo id="cmb_deptcd" taborder="10" innerdataset="@ds_init_cmb_info_suppdeptlist" codecolumn="suppdeptcd" datacolumn="depthngnm" class="combo_default" position="absolute 825 11 980 30" anchor="default"/>
- <Static id="caption5" text="지원부서 :" class="search_name" position="absolute 730 13 816 30" anchor="default"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1104 10 1110 32" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_prcphist_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="no" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="calcscorcd" type="STRING" size="256"/>
- <Column id="excucdnm" type="STRING" size="256"/>
- <Column id="execprcpstatcd" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="rcptdd" type="STRING" size="256"/>
- <Column id="acptdd" type="STRING" size="256"/>
- <Column id="excuexectodt" type="STRING" size="256"/>
- <Column id="cnfmdt" type="STRING" size="256"/>
- <Column id="acptrem" type="STRING" size="256"/>
- <Column id="hisorderid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="no"/>
- <Col id="prcpdd"/>
- <Col id="prcpgenrflag"/>
- <Col id="calcscorcd"/>
- <Col id="excucdnm"/>
- <Col id="execprcpstatcd"/>
- <Col id="usernm"/>
- <Col id="depthngnm"/>
- <Col id="rsrvdd"/>
- <Col id="rcptdd"/>
- <Col id="acptdd"/>
- <Col id="excuexectodt"/>
- <Col id="cnfmdt"/>
- <Col id="acptrem"/>
- <Col id="hisorderid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_prcphist_prcpcnllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="no" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="prcpcd" type="STRING" size="256"/>
- <Column id="excucdnm" type="STRING" size="256"/>
- <Column id="prcphistcd" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="rcptdd" type="STRING" size="256"/>
- <Column id="acptdd" type="STRING" size="256"/>
- <Column id="excuexectodt" type="STRING" size="256"/>
- <Column id="cnfmdt" type="STRING" size="256"/>
- <Column id="acptrem" type="STRING" size="256"/>
- <Column id="hisorderid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_pacsinfo_pacsrpth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="queueid" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="worktime" type="STRING" size="256"/>
- <Column id="readstatus" type="STRING" size="256"/>
- <Column id="hisorderid" type="STRING" size="256"/>
- <Column id="patid" type="STRING" size="256"/>
- <Column id="readtext" type="STRING" size="256"/>
- <Column id="confdate" type="STRING" size="256"/>
- <Column id="conftime" type="STRING" size="256"/>
- <Column id="confdr1" type="STRING" size="256"/>
- <Column id="confdr2" type="STRING" size="256"/>
- <Column id="extend1" type="STRING" size="256"/>
- <Column id="extend2" type="STRING" size="256"/>
- <Column id="opdeptid" type="STRING" size="256"/>
- <Column id="studydtm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="queueid"/>
- <Col id="flag"/>
- <Col id="worktime"/>
- <Col id="readstatus"/>
- <Col id="hisorderid"/>
- <Col id="patid"/>
- <Col id="readtext"/>
- <Col id="confdate"/>
- <Col id="conftime"/>
- <Col id="confdr1"/>
- <Col id="confdr2"/>
- <Col id="extend1"/>
- <Col id="extend2"/>
- <Col id="opdeptid"/>
- <Col id="studydtm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_pacsinfo_pacsordh" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_pacsinfo_pacsordh_oncolumnchanged">
- <ColumnInfo>
- <Column id="queueid" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="worktime" type="STRING" size="256"/>
- <Column id="patid" type="STRING" size="256"/>
- <Column id="eventtype" type="STRING" size="256"/>
- <Column id="hisorderid" type="STRING" size="256"/>
- <Column id="accessionno" type="STRING" size="256"/>
- <Column id="examdate" type="STRING" size="256"/>
- <Column id="examtime" type="STRING" size="256"/>
- <Column id="examroom" type="STRING" size="256"/>
- <Column id="examcode" type="STRING" size="256"/>
- <Column id="examname" type="STRING" size="256"/>
- <Column id="orderdoc" type="STRING" size="256"/>
- <Column id="opdoc" type="STRING" size="256"/>
- <Column id="patname" type="STRING" size="256"/>
- <Column id="patname2" type="STRING" size="256"/>
- <Column id="patbirthday" type="STRING" size="256"/>
- <Column id="patsex" type="STRING" size="256"/>
- <Column id="study_instance_uid" type="STRING" size="256"/>
- <Column id="patpersonalid" type="STRING" size="256"/>
- <Column id="patzip" type="STRING" size="256"/>
- <Column id="pataddress1" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- <Column id="stu" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="queueid"/>
- <Col id="flag"/>
- <Col id="worktime"/>
- <Col id="patid"/>
- <Col id="eventtype"/>
- <Col id="hisorderid"/>
- <Col id="accessionno"/>
- <Col id="examdate"/>
- <Col id="examtime"/>
- <Col id="examroom"/>
- <Col id="examcode"/>
- <Col id="examname"/>
- <Col id="orderdoc"/>
- <Col id="opdoc"/>
- <Col id="patname"/>
- <Col id="patname2"/>
- <Col id="patbirthday"/>
- <Col id="patsex"/>
- <Col id="study_instance_uid"/>
- <Col id="patpersonalid"/>
- <Col id="patzip"/>
- <Col id="pataddress1"/>
- <Col id="status"/>
- <Col id="stu"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" 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="prcpfromdd" type="STRING" size="256"/>
- <Column id="prcptodd" type="STRING" size="256"/>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="hisorderid" type="STRING" size="256"/>
- <Column id="patname" type="STRING" size="256"/>
- <Column id="patname2" type="STRING" size="256"/>
- <Column id="patsex" type="STRING" size="256"/>
- <Column id="patbirthday" type="STRING" size="256"/>
- <Column id="patpersonalid" type="STRING" size="256"/>
- <Column id="patzip" type="STRING" size="256"/>
- <Column id="pataddress1" type="STRING" size="256"/>
- <Column id="savedata" type="STRING" size="256"/>
- <Column id="oldpid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="prcpfromdd"/>
- <Col id="prcptodd"/>
- <Col id="suppdeptcd"/>
- <Col id="hisorderid"/>
- <Col id="patname"/>
- <Col id="patname2"/>
- <Col id="patsex"/>
- <Col id="patbirthday"/>
- <Col id="patpersonalid"/>
- <Col id="patzip"/>
- <Col id="pataddress1"/>
- <Col id="savedata"/>
- <Col id="oldpid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_cmb_info_suppdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdept" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_suppdeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="suppdeptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="suppdeptcd"/>
- <Col id="depthngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pathngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init3_baseinfo_emplinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_E0002" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden" 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_init_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid">N</Col>
- <Col id="cdnm">N</Col>
- </Row>
- <Row>
- <Col id="cdid">Y</Col>
- <Col id="cdnm">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item1" compid="grp_sea.opt_pathngnm" propid="value" datasetid="ds_hidden_source" columnid="pathngnm"/>
- <BindItem id="item2" compid="grp_sea.ipt_startrsrvdd" propid="value" datasetid="ds_send" columnid="prcpfromdd"/>
- <BindItem id="item3" compid="grp_sea.ipt_endrsrvdd" propid="value" datasetid="ds_send" columnid="prcptodd"/>
- <BindItem id="item4" compid="grp_sea.cmb_deptcd" propid="value" datasetid="ds_send" columnid="suppdeptcd"/>
- <BindItem id="item5" compid="group3.switch1.case3.input1" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item6" compid="group3.switch1.case3.input2" propid="value" datasetid="ds_send" columnid="oldpid"/>
- <BindItem id="item7" compid="group3.ipt_hisorderid" propid="value" datasetid="ds_send" columnid="hisorderid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_examcurexp::AEZ0001.xjs"
- include "ast_examcurexp::combolist.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- var gSuppdeptcd = "";
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 데이터셋 특정컬럼 카피하여 새컬럼 생성
- ****************************************************************************************/
- function fMakeCopyColumn(objDs,sColSrc,sColTgt) {
- if(utlf_isNull(objDs.getColumnInfo(sColTgt))) objDs.addColumn(sColTgt,"string");
- for(var i = 0 ; i < objDs.rowcount ; i++) {
- objDs.setColumn(i,sColTgt,objDs.getColumn(i,sColSrc));
- }
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : PACS정보 조회
- ****************************************************************************************/
- function call_TRAEA07101() {
- var oParam = {};
- oParam.id = "TRAEA07101";
- oParam.service = "examcureacptexecapp.ExamCurePrcs";
- oParam.method = "reqGetPidPACSInfolist";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_pacsinfo_pacsrpth=pacsrpth ds_main_pacsinfo_pacsordh=pacsordh";
- oParam.async = false;
- oParam.callback = "cf_TRAEA07101";
- tranf_submit(oParam);
- }
- function cf_TRAEA07101(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- // fMakeCopyColumn(ds_main_pacsinfo_pacsordh,"examtime","examroom");
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAEA07100
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAEA07100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SMAEA07100
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMAEA07100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setGridSort(group3.switch1.case1.grd_prcphist); // 그리드 소트만
- grdf_setGridSort(group3.switch1.case2.grd_prcphistcnl); // 그리드 소트만
- grdf_setGridSort(group3.grd_pacsordh); // 그리드 소트만
- grdf_setGridSort(group3.grd_pacsrpth); // 그리드 소트만
- grdf_setRowTypeIcon(group3.grd_pacsordh, 2); // 그리드 상태 표시
-
- // 2010.12.15 c y w 조회조건으로 지원부서 추가
- ds_send.setColumn(0,"hisorderid","");
-
- var suppdeptcd = "";
- suppdeptcd = frmf_getMenuParam();
- if (utlf_isNull(suppdeptcd) || suppdeptcd == "null"){
- lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
- gSuppdeptcd = frmf_getParameter("AST_DEPTCD");
- }else{
- gSuppdeptcd = suppdeptcd;
- }
-
- // var instance = model.getValue("/root/send/globalinstance/instance1");
- //지원부서 조회
- dsf_createDsRow("ds_req", [
- {col:"basesuppdeptcd", type:"STRING", size:256, val:gSuppdeptcd}
- , {col:"deptflag", type:"STRING", size:256, val:ds_send.getColumn(0,"deptflag")} // 20160225 주사실용 지원부서
- ]);
- var oParam = {};
- oParam.id = "TRAEA00904";
- oParam.service = "examcurersrvapp.RsrvRef";
- oParam.method = "reqGetSuppDeptCdList";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_init_cmb_info_suppdeptlist=item";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA00904";
- tranf_submit(oParam);
-
- //지원부서코드에 해당되지않으면 기본 핵의학과로 보여줌(공통으로뺄것임) - 박재영
- if( ds_init_cmb_info_suppdeptlist.findRow("suppdeptcd",gSuppdeptcd) < 0 ){
- ds_send.setColumn(0,"suppdeptcd" , "2180000000");
- gSuppdeptcd = ds_send.getColumn(0,"suppdeptcd");
- }else{
- ds_send.setColumn(0,"suppdeptcd" , gSuppdeptcd);
- }
- //권한자 가져오기
- // astGetComboList( new Array("E0002"), new Array("/root/init3/baseinfo/emplinfo") );
- // zbcfGetCodeList( new Array("M0011"), new Array("/root/init/baseinfo/initexecprcpstatcd") );
- // submit("TRZBC00101", false);
- var arrParam1 = [{dsNm: "ds_init_E0002", cdGrpId: "E0002"}
- ]
- lf_getAstCodeList(arrParam1);
- var arrParam2 = [{dsNm: "ds_init_M0011", cdGrpId: "M0011"}
- ]
- appf_getCodeList(arrParam2);
-
- grp_sea.ipt_startrsrvdd.value = utlf_getCurrentDate().toDate().getAddDate(-90,"D").getDateFormat("YYYYMMDD");
- grp_sea.ipt_endrsrvdd.value = utlf_getCurrentDate();
-
- ds_main_prcphist_prcplist.clearData();
- ds_main_pacsinfo_pacsordh.clearData();
- ds_main_pacsinfo_pacsrpth.clearData();
-
- grp_sea.ipt_pid.setFocus();
- if (!utlf_isNull(ds_send.getColumn(0,"pid"))){
- frmf_inputEnterKey("grp_sea.btn_sea", "onclick", new ClickEventInfo);
- }else{
- // 이부분이 멀까나 ㅠㅠㅠㅠ
- var paminfo = sysf_getGlobalVariable("paminfo"); //프로그램에 따라 원무정보(paminfo), 환자기본정보(patflag) get
- var gv_pid = sysf_getGlobalVariable("gv_pid", "A"); //글로벌변수로 넘겨준 등록번호값
- if(!utlf_isNull(paminfo)) { //원무 정보(기본 정보)가 있는 경우
- dsf_setCSVToDs("ds_paminfo", paminfo);
-
- //상단 정보를 이용하여 프로그램 수행
- var pid = ds_paminfo.getColumn(0,"pid");
- ds_send.setColumn(0,"pid", pid);
- frmf_inputEnterKey("grp_sea.btn_sea", "onclick", new ClickEventInfo);
- }
-
- if(!utlf_isNull(gv_pid)) { //글로벌변수(등록번호)가 있는경우
- ds_send.setColumn(0,"pid", gv_pid);
- frmf_inputEnterKey("grp_sea.btn_sea", "onclick", new ClickEventInfo);
- }
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : grp_sea.ipt_pid
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 등록번호 입력 후 검색
- ****************************************************************************************/
- function grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- var pid = obj.value;
- if(utlf_isNull(pid)){
- sysf_messageBox("환자를 지정하지", "E007")
- return ;
- }
-
- //환자정보 조회
- var oParam = {};
- oParam.id = "TRAEA00204";
- oParam.service = "examcurersrvapp.RsrvRef";
- oParam.method = "reqGetPatInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_patinfolist=patinfolist";
- oParam.async = false;
- oParam.callback = "cf_TRAEA00204";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TRAEA00204") > -1) {
- ds_hidden_source.setColumn(0,"pathngnm", ds_patinfolist.getColumn(0,"hngnm"));
- }
-
- group3.switch1.tabindex = 0;
- frmf_inputEnterKey("grp_sea.btn_sea", "onclick", new ClickEventInfo);
- }
- }
- function cf_TRAEA00204(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_sea.button61
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 환자조회 팝업 오픈
- ****************************************************************************************/
- function grp_sea_button61_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.arg_ds_send = ds_send;
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", 1, 200, 200, "", "", "", "", "", "M");
- ds_send.setColumn(0,"pid", ds_patinfolist.getColumn(0,"pid"));
- ds_hidden_source.setColumn(0,"pathngnm", ds_patinfolist.getColumn(0,"hngnm") );
- }
- /****************************************************************************************
- * Components : Calendar
- * Components ID : grp_sea.ipt_startrsrvdd
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 일자변경시 조회실행
- ****************************************************************************************/
- function grp_sea_ipt_startrsrvdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- // var _str = ipt_pid.currentText;
- //
- // if ( _str.isNumber() == false ) {
- // messageBox("등록번호는 숫자만 입력이 가능합니다.", "I999");
- // ipt_pid.value = "";
- // }
- // 애초에 숫자만 입력되도록 바꾸자
- frmf_inputEnterKey("grp_sea.btn_sea", "onclick", new ClickEventInfo);
- }
- function grp_sea_ipt_startrsrvdd_onlbuttondown(obj:Calendar, e:MouseEventInfo)
- {
- //grp_sea.opt_pathngnm.value = "";
- //왜???? 왜 이름만 클리어하나??? 이해안됨 삭제
- }
- /****************************************************************************************
- * Components : Calendar
- * Components ID : grp_sea.ipt_endrsrvdd
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 일자변경시 조회실행
- ****************************************************************************************/
- function grp_sea_ipt_endrsrvdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- frmf_inputEnterKey("grp_sea.btn_sea", "onclick", new ClickEventInfo);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grp_sea.btn_sea
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회
- ****************************************************************************************/
- function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0,"hisorderid"," "); //??? 왜 공백을 넣는걸까?? 심지어 사용도 안한다..
- group3.switch1.tabindex = 0;
- var _pid = ds_send.getColumn(0,"pid");
- var _frdt = ds_send.getColumn(0,"prcpfromdd");
- var _todt = ds_send.getColumn(0,"prcptodd");
- if ( utlf_isNull(_pid) ) {
- sysf_messageBox("필수입력사항인 등록번호를 입력해 주십시오.", "I999");
- grp_sea.ipt_pid.setFocus();
- } else if ( utlf_isNull(_frdt) && !utlf_isNull(_todt) ) {
- sysf_messageBox("검색하실 날짜 범위의 시작일자를 입력해 주십시오." , "I999");
- grp_sea.ipt_startrsrvdd.setFocus();
- } else if ( !utlf_isNull(_frdt) && utlf_isNull(_todt) ) {
- sysf_messageBox("검색하실 날짜 범위의 마지막 일자를 입력해 주십시오." , "I999");
- grp_sea.ipt_endrsrvdd.setFocus();
- } else if ( utlf_getDateInterval(_frdt, _todt) < 0 ) {
- sysf_messageBox("입력하신 날짜 범위로는 검색할 수 없습니다. 입력하신 날짜를 확인해 주십시오." , "I999");
- grp_sea.ipt_startrsrvdd.setFocus();
- } else {
- var oParam = {};
- oParam.id = "TRAEA07102";
- oParam.service = "examcureacptexecapp.ExamCurePrcs";
- oParam.method = "reqGetPidPrcpHistList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_prcphist_prcplist=prcplist ds_main_prcphist_prcpcnllist=prcpcnllist";
- oParam.async = false;
- //oParam.callback = "cf_TRAEA07102";
- tranf_submit(oParam);
-
- if ( ds_main_prcphist_prcplist.rowcount < 1) {
- sysf_messageBox("입력하신 등록번호/일자에 해당하는 환자의 처방이력이 DB에 존재하지 않습니다.", "I999");
- }
-
- ds_send.setColumn(0,"hisorderid",""); // 정체가 뭘까...
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_excsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 엑셀저장
- ****************************************************************************************/
- function group3_btn_excsave_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_prcphist_prcplist.rowcount > 0 ){
- grdf_exportExcel(group3.switch1.case1.grd_prcphist, "개인별처방이력", "개인별처방이력", false, "", "user", false);
- } else {
- sysf_messageBox("조회된 데이터가 ", "I004");
- }
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch1.case1.grd_prcphist
- * Event : onlbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 처방이력 선택하여 PACS정보 조회
- ****************************************************************************************/
- function group3_switch1_case1_grd_prcphist_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- var hisorderid = ds_main_prcphist_prcplist.getColumn(e.row,"hisorderid");
- ds_send.setColumn(0,"hisorderid",hisorderid);
-
- //pac.pacsordh, pac.pacsrpth 조회
- call_TRAEA07101();
-
-
-
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : group3.switch1.case2.grd_prcphistcnl
- * Event : onlbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 취소처방 선택하여 PACS정보 조회
- ****************************************************************************************/
- function group3_switch1_case2_grd_prcphistcnl_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- var hisorderid = ds_main_prcphist_prcpcnllist.getColumn(e.row,"hisorderid");
- ds_send.setColumn(0,"hisorderid",hisorderid);
- call_TRAEA07101();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.switch1.case3.btn_ok
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 신규번호로 갱신
- ****************************************************************************************/
- function group3_switch1_case3_btn_ok_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TXAEA07103";
- oParam.service = "examcureacptexecapp.ExamCurePrcs";
- oParam.method = "reqExePacsMWL";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_hidden=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA07103";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : group3.ipt_hisorderid
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : PACS정보로 조회
- ****************************************************************************************/
- function group3_ipt_hisorderid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- frmf_inputEnterKey("group3.btn_hisorderid", "onclick", new ClickEventInfo);
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_hisorderid
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : PACS정보로 조회
- ****************************************************************************************/
- function group3_btn_hisorderid_onclick(obj:Button, e:ClickEventInfo)
- {
- call_TRAEA07101();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_hisorderid
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : PACS정보로 조회
- ****************************************************************************************/
- function group3_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( ds_main_pacsinfo_pacsordh.rowcount < 1 ) {
- return "0";
- }
- var pname = ds_hidden_source.getColumn(0,"pathngnm");
- if ( utlf_isNull(pname) ) {
- sysf_messageBox("환자 이름이 없습니다. 확인바랍니다.", "E999", "");
- return "0";
- }
- for ( var i = 0 ; i < ds_main_pacsinfo_pacsordh.rowcount ; i++ ) {
- ds_main_pacsinfo_pacsordh.setColumn(i,"patname" ,pname);
- ds_main_pacsinfo_pacsordh.setColumn(i,"patname2",pname);
- ds_main_pacsinfo_pacsordh.setColumn(i,"status" ,"u");
- // grd_pacsordh.cellStyle("background-image", + i, grd_pacsordh.colRef("stu")) = "../../../com/commonweb/images/icon_u.gif";
- dsf_makeValue(ds_main_pacsinfo_pacsordh,"stu","string","u");
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : PACSORDH 리셋
- ****************************************************************************************/
- function group3_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( ds_main_pacsinfo_pacsrpth.rowcount > 0 ) {
- sysf_messageBox("판독결과가 있어 재생성은 불가합니다.","I999");
- return
- }
-
- dsf_createDs("ds_send_savedata_ordhinfo");
- var dsUpdate = grdf_getGridUpdateData(group3.grd_pacsordh, "u");
- // grdf_setStatusColumn(dsUpdate, "m");
- ds_send_savedata_ordhinfo.copyData(dsUpdate,true);
- ds_send_savedata_ordhinfo.updateColID("patid","pid");
- var oParam = {};
- oParam.id = "TXAEA07101";
- oParam.service = "examcureacptexecapp.ExamCurePrcs";
- oParam.method = "reqExePacsOrdh";
- oParam.inds = "ordhinfo=ds_send_savedata_ordhinfo";
- oParam.outds = "ds_hidden=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA07101";
- tranf_submit(oParam);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : group3.btn_insrpth
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : PACSRPTH 생성
- ****************************************************************************************/
- function group3_btn_insrpth_onclick(obj:Button, e:ClickEventInfo)
- {
- var auth_id = sysf_getUserInfo("userid");
- var dev_id = auth_id.substr(0,3);
- // 2011.06.21 권한 공통코드(E0002)로 관리
- var idx_cncl = 0;
- var cnclidCnt = ds_init_E0002.rowcount;
- for( var i = 0 ; i < cnclidCnt ; i++){
- if( ds_init_E0002.getColumn(i,"cdid") == auth_id ){
- idx_cncl++;
- }
- }
-
- if ( idx_cncl != 0 || dev_id == "DEV" || dev_id == "AST") {
- }else {
- sysf_messageBox("저장/수정/삭제권한은 전산 관리자에게만 부여합니다.","I999");
- return;
- }
-
- if ( ds_main_pacsinfo_pacsrpth.rowcount < 2 ) {
- var oParam = {};
- oParam.id = "TXAEA07102";
- oParam.service = "examcureacptexecapp.ExamCurePrcs";
- oParam.method = "reqExePacsRpth";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_hidden=item";
- oParam.async = false;
- //oParam.callback = "cf_TXAEA07102";
- tranf_submit(oParam);
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_main_pacsinfo_pacsordh
- * Event : oncolumnchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : PACS 정보 업데이트
- ****************************************************************************************/
- function ds_main_pacsinfo_pacsordh_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if ( e.row > -1 ) {
- ds_send.setColumn(0,"hisorderid" , obj.getColumn(e.row,"hisorderid"));
- ds_send.setColumn(0,"pid" , obj.getColumn(e.row,"patid"));
- ds_send.setColumn(0,"patname" , obj.getColumn(e.row,"patname"));
- ds_send.setColumn(0,"patname2" , obj.getColumn(e.row,"patname2"));
- ds_send.setColumn(0,"patsex" , obj.getColumn(e.row,"patsex"));
- ds_send.setColumn(0,"patbirthday" , obj.getColumn(e.row,"patbirthday"));
- ds_send.setColumn(0,"patpersonalid" , obj.getColumn(e.row,"patpersonalid"));
- ds_send.setColumn(0,"patzip" , obj.getColumn(e.row,"patzip"));
- ds_send.setColumn(0,"pataddress1" , obj.getColumn(e.row,"pataddress1"));
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|