12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SSMMR01100" position="absolute 0 0 597 739" titletext="SSMMR01100" oninit="SSMMR01100_oninit" onload="SSMMR01100_onload" ontimer="SSMMR01100_ontimer" onclose="lf_getEspiseq">
- <Layouts>
- <Layout>
- <Div id="grup_btn" style="border:0 none #c8c8c8ff ;" positionstep="0" anchor="left right bottom" position="absolute 0 711 596 737" positiontype="position" visible="true">
- <Layouts>
- <Layout>
- <Button id="btn_app" taborder="2" text="신청" class="btn4" position="absolute 535 5 591 25" anchor="top right" onclick="grup_btn_btn_app_onclick" visible="false" btnInfo="정정기록관리(신청)" orgPosition="absolute 535 5 591 25" tempPosition="absolute 417 5 533 25"/>
- <Button position="absolute 417 5 533 25" id="btn_signsave" class="btn4" text="인증[확정]저장" onclick="grup_btn_btn_signsave_onclick" anchor="top right"/>
- <Button position="absolute 335 5 415 25" id="btn_tmpsave" class="btn4" text="임시저장" onclick="grup_btn_btn_tmpsave_onclick" anchor="top right" enable="false"/>
- <Button position="absolute 535 5 591 25" id="btn_del" class="btn4" text="삭제" onclick="grup_btn_btn_del_onclick" anchor="top right"/>
- <Button position="absolute 174 5 230 25" id="btn_cncl" class="btn4" visible="false" text="취소" onclick="grup_btn_btn_cncl_onclick" anchor="top right"/>
- <Button position="absolute 114 5 170 25" id="btn_cnfm" class="btn4" visible="false" text="확인" onclick="grup_btn_btn_cnfm_onclick" anchor="top right"/>
- <Button text="조회시간 " class="caption" position="absolute 2 3 77 20" id="cap_loadtime" visible="false" ondblclick="grup_btn_cap_loadtime_ondblclick" anchor="top right"/>
- <Button text="1" class="caption" position="absolute 68 5 80 23" id="caption1" visible="false" style="background:#ffcc99ff;" ondblclick="grup_btn_caption1_ondblclick" anchor="top right"/>
- <Button text="2" class="caption" position="absolute 79 5 91 23" id="caption2" visible="false" style="background:#99ccffff;" ondblclick="grup_btn_caption2_ondblclick" anchor="top right"/>
- <CheckBox position="absolute 94 7 120 20" id="checkbox1" visible="false" text="_" truevalue="Y" falsevalue="N" anchor="top right"/>
- <Shape position="absolute 0 0 595 6" linetype="horizontal" id="line1" class="line_3" anchor="left top right" visible="false"/>
- <Button position="absolute 0 5 80 25" id="button2" class="btn4" visible="false" text="미리보기2" onclick="grup_btn_button2_onclick" anchor="top right"/>
- <Button position="absolute 65 5 133 25" id="btn_init" class="btn4" text="초기화" onclick="grup_btn_btn_init_onclick" anchor="top right"/>
- <Button position="absolute 135 5 215 25" id="btn_preview" class="btn4" text="미리보기" onclick="grup_btn_btn_preview_onclick" anchor="top right"/>
- <Button position="absolute 0 5 56 25" id="btn_print" class="btn4" visible="false" text="출력" onclick="grup_btn_btn_print_onclick" anchor="left top"/>
- <Button position="absolute 217 5 333 25" id="btn_signsaveasnew" class="btn4" text="새이름으로저장" onclick="grup_btn_btn_signsaveasnew_onclick" anchor="top right"/>
- <Button position="absolute 375 5 491 25" id="btn_cosign" class="btn4" visible="false" text="STAFF SIGN" onclick="grup_btn_btn_cosign_onclick" anchor="top right"/>
- <Button position="absolute 255 5 335 25" id="btn_resend" class="btn4" visible="false" text="반려/수정" onclick="grup_btn_btn_resend_onclick" anchor="top right" tooltiptext="인증된 Staff sign을 되돌릴 수 있습니다."/>
- <Button id="btn_reload" taborder="1" text="Reload" class="btn4" position="absolute 0 5 63 25" anchor="left top" onclick="grup_btn_btn_reload_onclick" style="font:arial,8,bold;" visible="false"/>
- <Static id="stt_notice_3" wordwrap="none" onclick="stt_notice_1_onclick" class="sta_LoginNoticetit_bg" visible="false" position="absolute 0 5 362 25" anchor="left top right" style="color:white;padding:1 6 0 6;font:Dotum,8,bold;"/>
- <Static id="stt_notice_1" wordwrap="none" onclick="stt_notice_1_onclick" position="absolute 0 5 362 25" anchor="left top right" style="color:white;padding:1 6 0 6;font:Dotum,8,bold;" visible="false"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 0 596 25" id="grup_titl" anchor="left top right" visible="true">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 23 595 25" linetype="horizontal" id="line2" class="line_3" anchor="left top right"/>
- <Calendar position="absolute 310 2 396 21" id="ipt_formrecdd" class="input_default" mask="yyyy-mm-dd" onchanged="grup_titl_ipt_formrecdd_onchanged" oneditclick="grup_titl_ipt_formrecdd_oneditclick" anchor="top right"/>
- <MaskEdit position="absolute 395 2 432 21" id="ipt_formrectm" class="input_default" mask="##:##" type="string" displaynulltext=" " anchor="top right" onkillfocus="grup_titl_ipt_formrectm_onkillfocus"/>
- <Combo position="absolute 487 2 593 21" id="cbo_formrecextnnm" class="combo_search" innerdataset="@ds_init_formsubtitle_formsubtitlelist" datacolumn="formsubtitle" codecolumn="formsubtitle" anchor="top right" onitemchanged="grup_titl_cbo_formrecextnnm_onitemchanged" type="filter" ontextchange="grup_titl_cbo_formrecextnnm_ontextchange" onkillfocus="grup_titl_cbo_formrecextnnm_onkillfocus" onkeydown="grup_titl_cbo_formrecextnnm_onkeydown" oncloseup="grup_titl_cbo_formrecextnnm_oncloseup" usertext="" canitemchange="grup_titl_cbo_formrecextnnm_canitemchange"/>
- <Button position="absolute 433 2 486 21" id="button10" class="btn2" text="부제목" onclick="grup_titl_button10_onclick" anchor="top right"/>
- <Static text="서식명칭" position="absolute 1 3 231 19" id="cap_formnm" class="tit_2" anchor="left top right"/>
- <Button id="Button00" taborder="1" text="기준일자" position="absolute 238 1 308 21" style="background:lightcyan;border:1 solid lightskyblue #effcfbff;color:black;font:dotum,9;" ondblclick="grup_titl_Button00_ondblclick" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 601 55 1196 690" id="ivw_fst" style="background:cadetblue;border:0 solid #c0c0c0ff ;" anchor="all" visible="false">
- <Layouts>
- <Layout width="595" height="635"/>
- </Layouts>
- </Div>
- <Static id="Static01" class="sta_DATD_box" position="absolute 0 25 596 710" anchor="all"/>
- <Div id="ivw_base" taborder="1" position="absolute 0 25 596 710" anchor="all" positionstep="0" scrollbars="autovert"/>
- <Grid id="grd_recitem" taborder="2" binddataset="ds_data_recitem" useinputpanel="false" position="absolute 604 528 1174 693" visible="false" anchor="bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="caption1"/>
- <Cell col="1" text="caption2"/>
- <Cell col="2" text="caption3"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- <Cell col="6"/>
- <Cell col="7"/>
- <Cell col="8"/>
- <Cell col="9"/>
- <Cell col="10"/>
- <Cell col="11"/>
- <Cell col="12"/>
- <Cell col="13"/>
- <Cell col="14"/>
- <Cell col="15"/>
- <Cell col="16"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:rechistseq"/>
- <Cell col="2" text="bind:recitemno"/>
- <Cell col="3" text="bind:fstlevlitemcd"/>
- <Cell col="4" text="bind:formcd"/>
- <Cell col="5" text="bind:formdegnseq"/>
- <Cell col="6" text="bind:degnitemno"/>
- <Cell col="7" text="bind:degnitemcd"/>
- <Cell col="8" text="bind:degnitemlevlcd"/>
- <Cell col="9" text="bind:rectermcd"/>
- <Cell col="10" text="bind:rectermnm"/>
- <Cell col="11" text="bind:recrefcd"/>
- <Cell col="12" text="bind:recitemnm"/>
- <Cell col="13" text="bind:reccnts"/>
- <Cell col="14" text="bind:srcimge"/>
- <Cell col="15" text="bind:recimge"/>
- <Cell col="16" text="bind:rowno"/>
- <Cell col="17" text="bind:colno"/>
- <Cell col="18" text="bind:degnunitcd"/>
- <Cell col="19" text="bind:rectermflag"/>
- <Cell col="20" text="bind:extdegnitemlevlcd"/>
- <Cell col="21" text="bind:degnitemkind"/>
- <Cell col="22" text="bind:degnitemnm"/>
- <Cell col="23" text="bind:degnitemlevlno"/>
- <Cell col="24" text="bind:supdegnitemno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_formsubtitle_formsubtitlelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formsubtitle" type="STRING"/>
- <Column id="formsubtitle" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_emrtemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sysformxrwyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="sysformxrwyn">Y</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_formrec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="formrecseq" type="BIGDECIMAL" size="256" sumtext="서식기록순번"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
- <Column id="chosflag" type="STRING" size="256" sumtext="내원구분"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="접수과"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="접수의사"/>
- <Column id="formrecdeptcd" type="STRING" size="256" sumtext="서식기록부서코드"/>
- <Column id="formrecdrid" type="STRING" size="256" sumtext="서식기록의사ID"/>
- <Column id="formrecuserid" type="STRING" size="256" sumtext="서식기록사용자ID"/>
- <Column id="lastrechistseq" type="BIGDECIMAL" size="256" sumtext="최종기록이력순번"/>
- <Column id="refsaveyn" type="STRING" size="256" sumtext="참조저장여부"/>
- <Column id="recreflockyn" type="STRING" size="256" sumtext="기록조회잠김여부"/>
- <Column id="delyn" type="STRING" size="256" sumtext="삭제여부"/>
- <Column id="valiyn" type="STRING" size="256" sumtext="유효여부"/>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="formfromdt" type="STRING" size="256" sumtext="서식시작일시"/>
- <Column id="formdegnseq" type="BIGDECIMAL" size="256" sumtext="서식디자인순번"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종등록자ID"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종등록일시"/>
- <Column id="rechistseq" type="BIGDECIMAL" size="256" sumtext="기록이력순번"/>
- <Column id="formrecdt" type="STRING" size="256" sumtext="서식기록일시"/>
- <Column id="formrecdd" type="STRING" size="256" sumtext="서식기록일"/>
- <Column id="formrechm" type="STRING" size="256" sumtext="서식기록시간"/>
- <Column id="formrecextnnm" type="STRING" size="256" sumtext="서식부제목"/>
- <Column id="espiyn" type="STRING" size="256" sumtext="인증저장여부"/>
- <Column id="espiseq" type="BIGDECIMAL" size="256" sumtext="전자서명순번"/>
- <Column id="srcformcd" type="STRING" size="256" sumtext="서식기록일시"/>
- <Column id="formprogflag" type="STRING" size="256" sumtext="서식프로그램구분"/>
- <Column id="formprognm" type="STRING" size="256" sumtext="프로그램서식명"/>
- <Column id="sysformrecdt" type="STRING" size="256" sumtext="시스템서식기록일시"/>
- <Column id="foctsnwyn" type="STRING" size="256" sumtext="예진기록지여부"/>
- <Column id="cnststat" type="STRING" size="256" sumtext="컨설트상태"/>
- <Column id="oprsrvno" type="BIGDECIMAL" size="256" sumtext="수술예약번호"/>
- <Column id="profcertseq" type="INT" size="256" sumtext="증명순번"/>
- <Column id="cosign" type="STRING" size="256" sumtext="코사인여부"/>
- <Column id="cosignid" type="STRING" size="256" sumtext="코사인사용자"/>
- <Column id="cosigndt" type="STRING" size="256" sumtext="코사인일시"/>
- <Column id="recvdeptcd" type="STRING" size="256" sumtext="회신부서"/>
- <Column id="recvuserid" type="STRING" size="256" sumtext="회신의사"/>
- <Column id="fstktas" type="STRING" size="256" sumtext="첫번째ktas전송여부"/>
- <Column id="wardcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="formrecextnnm"/>
- <Col id="formrecdd"/>
- <Col id="formrechm"/>
- <Col id="pid"/>
- <Col id="formrecseq"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_recitem" 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="rechistseq" type="BIGDECIMAL" size="256" sumtext="기록이력순번"/>
- <Column id="recitemno" type="INT" size="256" sumtext="기록항목번호"/>
- <Column id="fstlevlitemcd" type="STRING" size="256" sumtext="1레벨항목코드"/>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="formdegnseq" type="BIGDECIMAL" size="256" sumtext="서식디자인순번"/>
- <Column id="degnitemno" type="INT" size="256" sumtext="디자인항목번호"/>
- <Column id="degnitemcd" type="STRING" size="256" sumtext="디자인항목코드"/>
- <Column id="degnitemkind" type="STRING" size="256" sumtext="디자인항목유형"/>
- <Column id="degnitemlevlno" type="STRING" size="256" sumtext="디자인항목레벨번호"/>
- <Column id="degnitemnm" type="STRING" size="256" sumtext="디자인항목명"/>
- <Column id="degnitemlevlcd" type="STRING" size="256" sumtext="디자인항목레벨코드"/>
- <Column id="rectermcd" type="STRING" size="256" sumtext="기록용어코드"/>
- <Column id="rectermnm" type="STRING" size="256" sumtext="기록용어이름"/>
- <Column id="recitemcd" type="STRING" size="256" sumtext="기록항목코드"/>
- <Column id="recrefcd" type="STRING" size="256" sumtext="수술, 진단, 주호소 코드"/>
- <Column id="recitemnm" type="STRING" size="256" sumtext="수술, 진단, 주호소 명"/>
- <Column id="reccnts" type="STRING" size="256" sumtext="기록내용"/>
- <Column id="unitnm" type="STRING" size="256" sumtext="단위명"/>
- <Column id="recimge" type="BLOB" size="256" sumtext="기록이미지"/>
- <Column id="srcimge" type="BLOB" size="256" sumtext="원본이미지"/>
- <Column id="rowno" type="STRING" size="256" sumtext="그리드데이타 행번호"/>
- <Column id="colno" type="STRING" size="256" sumtext="그리드데이타 열번호"/>
- <Column id="supdegnitemno" type="INT" size="256" sumtext="상위디자인항목번호"/>
- <Column id="extdegnitemlevlcd" type="STRING" size="256" sumtext="확장디자인항목레벨코드"/>
- <Column id="rectermflag" type="STRING" size="256" sumtext="기록용어코드구분"/>
- <Column id="degnunitcd" type="STRING" size="256" sumtext="단위코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_vpaminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_validinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formrecseq" type="BIGDECIMAL" size="256" sumtext="서식기록코드"/>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="resultCode" type="STRING" size="256" sumtext=""/>
- <Column id="resultMsg" type="STRING" size="256" sumtext=""/>
- <Column id="valiflag" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_formmast" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="formdegnseq" type="INT" size="256" sumtext="서식디자인순번"/>
- <Column id="formfromdt" type="STRING" size="256" sumtext="서식시작일시"/>
- <Column id="formtodt" type="STRING" size="256" sumtext="서식종료일시"/>
- <Column id="formclsseq" type="INT" size="256" sumtext="서식분류일련번호"/>
- <Column id="formnm" type="STRING" size="256" sumtext="서식명칭"/>
- <Column id="formchosflag" type="STRING" size="256" sumtext="서식내원구분"/>
- <Column id="formprogflag" type="STRING" size="256" sumtext="서식프로그램구분"/>
- <Column id="formprognm" type="STRING" size="256" sumtext="서식프로그램명"/>
- <Column id="formkind" type="STRING" size="256" sumtext="서식유형"/>
- <Column id="formuseflag" type="STRING" size="256" sumtext="서식사용구분"/>
- <Column id="formdeptcd" type="STRING" size="256" sumtext="서식부서코드"/>
- <Column id="formdeptnm" type="STRING" size="256" sumtext="서식부서"/>
- <Column id="formuserid" type="STRING" size="256" sumtext="서식사용자ID"/>
- <Column id="formusernm" type="STRING" size="256" sumtext="서식사용자"/>
- <Column id="degnappyn" type="STRING" size="256" sumtext=""/>
- <Column id="formextnnm" type="STRING" size="256" sumtext="서식확장명칭"/>
- <Column id="userdegnflag" type="STRING" size="256" sumtext=""/>
- <Column id="srcformcd" type="STRING" size="256" sumtext="소스서식코드"/>
- <Column id="recreflockappyn" type="STRING" size="256" sumtext=""/>
- <Column id="sortno" type="INT" size="256" sumtext="조회번호"/>
- <Column id="formcnts" type="STRING" size="256" sumtext="서식내용"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종등록자"/>
- <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종등록자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종등록일시"/>
- <Column id="formdegnseq" type="INT" size="256" sumtext=""/>
- <Column id="formdegnfromdt" type="STRING" size="256" sumtext="서식디자인시작일시"/>
- <Column id="formdegntodt" type="STRING" size="256" sumtext="서식디자인종료일시"/>
- <Column id="formnminfo" type="STRING" size="256" sumtext="서식명칭정보"/>
- <Column id="formxrwyn" type="STRING" size="256" sumtext=""/>
- <Column id="reclistviewyn" type="STRING" size="256" sumtext="기록목록조회여부"/>
- <Column id="formprntnm" type="STRING" size="256" sumtext="서식출력명"/>
- <Column id="langflag" type="STRING" size="256" sumtext="서식언어구분"/>
- <Column id="foctsnwyn" type="STRING" size="256" sumtext="예진서식구분"/>
- <Column id="mainyn" type="STRING" size="256" sumtext="메인서식여부"/>
- <Column id="degncmpltyn" type="STRING" size="256" sumtext="디자인완료여부"/>
- <Column id="updtfreeyn" type="STRING" size="256" sumtext="기록권한해제여부"/>
- <Column id="cnstformyn" type="STRING" size="256" sumtext="컨설트 부분서식여부"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="formnminfo">서식명칭</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_formdegn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formdegnseq" type="INT" size="256" sumtext="서식디자인순번"/>
- <Column id="degnitemno" type="INT" size="256" sumtext="디자인항목번호"/>
- <Column id="degnitemkind" type="STRING" size="256" sumtext="디자인항목유형"/>
- <Column id="degnitemcd" type="STRING" size="256" sumtext="디자인항목코드"/>
- <Column id="termcd" type="STRING" size="256" sumtext="용어코드"/>
- <Column id="itemnm" type="STRING" size="256" sumtext="디자인항목명"/>
- <Column id="degnitemnm" type="STRING" size="256" sumtext="디자인항목명"/>
- <Column id="supdegnitemno" type="INT" size="256" sumtext="상위항목번호"/>
- <Column id="supdegnitemcd" type="STRING" size="256" sumtext="상위항목코드"/>
- <Column id="degnitemlevlno" type="INT" size="256" sumtext="디자인항목계층번호"/>
- <Column id="degnitemlevlcd" type="STRING" size="256" sumtext="디자인항목계층코드"/>
- <Column id="valgrupcd" type="STRING" size="256" sumtext="밸류리스트코드"/>
- <Column id="valgrupnm" type="STRING" size="256" sumtext="밸류리스트명"/>
- <Column id="unitcd" type="STRING" size="256" sumtext="단위코드"/>
- <Column id="unitnm" type="STRING" size="256" sumtext="단위명칭"/>
- <Column id="degnitemdefltval" type="STRING" size="256" sumtext="디자인항목기본값"/>
- <Column id="degnitempnts" type="STRING" size="256" sumtext="디자인항목점수"/>
- <Column id="degncntrviewflag" type="STRING" size="256" sumtext="디자인컨트롤보기구분"/>
- <Column id="userdegnyn" type="STRING" size="256" sumtext="사용자디자인여부"/>
- <Column id="itemuseflag" type="STRING" size="256" sumtext="항목사용구분"/>
- <Column id="degnxval" type="INT" size="256" sumtext="디자인항목X좌표값"/>
- <Column id="degnyval" type="INT" size="256" sumtext="디자인항목Y좌표값"/>
- <Column id="degnrowno" type="INT" size="256" sumtext="디자인행번호"/>
- <Column id="essndegnyn" type="STRING" size="256" sumtext="필수디자인여부"/>
- <Column id="essnrecyn" type="STRING" size="256" sumtext="필수기록여부"/>
- <Column id="degnattrval" type="STRING" size="256" sumtext="디자인속성값"/>
- <Column id="itemattrval" type="STRING" size="256" sumtext="항목속성값"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="comuseyn" type="STRING" size="256" sumtext="상용구사용여부"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종등록자"/>
- <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종등록자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종등록일시"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_unitformmast" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orgdegnitemno" type="INT" size="256" sumtext="상위디자인항목번호"/>
- <Column id="orgdegnitemcd" type="STRING" size="256" sumtext="상위디자인항목코드"/>
- <Column id="orgsupdegnitemno" type="INT" size="256" sumtext="상위항목번호"/>
- <Column id="orgsupdegnitemcd" type="STRING" size="256" sumtext="상위항목코드"/>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="formdegnseq" type="STRING" size="256" sumtext="서식디자인순번"/>
- <Column id="formfromdt" type="STRING" size="256" sumtext="서식시작일시"/>
- <Column id="formtodt" type="STRING" size="256" sumtext="서식종료일시"/>
- <Column id="formclsseq" type="INT" size="256" sumtext="서식분류일련번호"/>
- <Column id="formnm" type="STRING" size="256" sumtext="서식명칭"/>
- <Column id="formchosflag" type="STRING" size="256" sumtext="서식내원구분"/>
- <Column id="formprogflag" type="STRING" size="256" sumtext="서식프로그램구분"/>
- <Column id="formprognm" type="STRING" size="256" sumtext="서식프로그램명"/>
- <Column id="formkind" type="STRING" size="256" sumtext="서식유형"/>
- <Column id="formuseflag" type="STRING" size="256" sumtext="서식사용구분"/>
- <Column id="formdeptcd" type="STRING" size="256" sumtext="서식부서코드"/>
- <Column id="formdeptnm" type="STRING" size="256" sumtext="서식부서"/>
- <Column id="formuserid" type="STRING" size="256" sumtext="서식사용자ID"/>
- <Column id="formusernm" type="STRING" size="256" sumtext="서식사용자"/>
- <Column id="degnappyn" type="STRING" size="256" sumtext="디자인적용여부"/>
- <Column id="formextnnm" type="STRING" size="256" sumtext="서식확장명칭"/>
- <Column id="userdegnflag" type="STRING" size="256" sumtext="사용자디자인구분"/>
- <Column id="srcformcd" type="STRING" size="256" sumtext="소스서식코드"/>
- <Column id="recreflockappyn" type="STRING" size="256" sumtext="기록참조잠김적용여부"/>
- <Column id="sortno" type="INT" size="256" sumtext="조회번호"/>
- <Column id="formcnts" type="STRING" size="256" sumtext="서식내용"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종등록자"/>
- <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종등록자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종등록일시"/>
- <Column id="formdegnseq" type="INT" size="256" sumtext="서식디자인순번"/>
- <Column id="formdegnfromdt" type="STRING" size="256" sumtext="서식디자인시작일시"/>
- <Column id="formdegntodt" type="STRING" size="256" sumtext="서식디자인종료일시"/>
- <Column id="formxfdluseyn" type="STRING" size="256" sumtext="서식디자인사용유무"/>
- <Column id="formxrwyn" type="STRING" size="256" sumtext=""/>
- <Column id="loaded" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_unitformdegn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orgdegnitemno" type="INT" size="256" sumtext="상위디자인항목번호"/>
- <Column id="orgdegnitemcd" type="STRING" size="256" sumtext="상위디자인항목코드"/>
- <Column id="orgsupdegnitemno" type="INT" size="256" sumtext="상위항목번호"/>
- <Column id="orgsupdegnitemcd" type="STRING" size="256" sumtext="상위항목코드"/>
- <Column id="formdegnseq" type="INT" size="256" sumtext="서식디자인순번"/>
- <Column id="degnitemno" type="INT" size="256" sumtext="디자인항목번호"/>
- <Column id="degnitemkind" type="STRING" size="256" sumtext="디자인항목유형"/>
- <Column id="degnitemcd" type="STRING" size="256" sumtext="디자인항목코드"/>
- <Column id="termcd" type="STRING" size="256" sumtext="용어코드"/>
- <Column id="degnitemnm" type="STRING" size="256" sumtext="디자인항목명"/>
- <Column id="supdegnitemno" type="INT" size="256" sumtext="상위항목번호"/>
- <Column id="supdegnitemcd" type="STRING" size="256" sumtext="상위항목코드"/>
- <Column id="degnitemlevlno" type="INT" size="256" sumtext="디자인항목계층번호"/>
- <Column id="degnitemlevlcd" type="STRING" size="256" sumtext="디자인항목계층코드"/>
- <Column id="valgrupcd" type="STRING" size="256" sumtext="밸류리스트코드"/>
- <Column id="valgrupnm" type="STRING" size="256" sumtext="밸류리스트명"/>
- <Column id="unitcd" type="STRING" size="256" sumtext="단위코드"/>
- <Column id="unitnm" type="STRING" size="256" sumtext="단위명칭"/>
- <Column id="degnitemdefltval" type="STRING" size="256" sumtext="디자인항목기본값"/>
- <Column id="degncntrviewflag" type="STRING" size="256" sumtext="디자인컨트롤보기구분"/>
- <Column id="userdegnyn" type="STRING" size="256" sumtext="사용자디자인여부"/>
- <Column id="itemuseflag" type="STRING" size="256" sumtext="항목사용구분"/>
- <Column id="degnxval" type="INT" size="256" sumtext="디자인항목X좌표값"/>
- <Column id="degnyval" type="INT" size="256" sumtext="디자인항목Y좌표값"/>
- <Column id="degnrowno" type="INT" size="256" sumtext="디자인행번호"/>
- <Column id="essndegnyn" type="STRING" size="256" sumtext="필수디자인여부"/>
- <Column id="essnrecyn" type="STRING" size="256" sumtext="필수기록여부"/>
- <Column id="degnattrval" type="STRING" size="256" sumtext="디자인속성값"/>
- <Column id="itemattrval" type="STRING" size="256" sumtext="항목속성값"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="comuseyn" type="STRING" size="256" sumtext="상용구사용여부"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstrnm" type="STRING" size="256" sumtext="최초등록자"/>
- <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종등록자"/>
- <Column id="lastupdtrnm" type="STRING" size="256" sumtext="최종등록자"/>
- <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종등록일시"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_vallist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="grupcd" type="STRING" size="256" sumtext="그룹코드"/>
- <Column id="valcd" type="STRING" size="256" sumtext="밸류리스트코드"/>
- <Column id="valitemnm" type="STRING" size="256" sumtext="밸류리스트항목확장이름"/>
- <Column id="valitempnt" type="DECIMAL" size="256" sumtext="밸류리스트항목점수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_imgelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="imgecd" type="STRING" size="256" sumtext="이미지코드"/>
- <Column id="imgenm" type="STRING" size="256" sumtext="이미지명"/>
- <Column id="imgedata" type="BLOB" size="256" sumtext="이미지데이터"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_extnformlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="supdegnitemcd" type="STRING" size="256" sumtext="상위항목코드"/>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="srcformcd" type="STRING" size="256" sumtext="소스서식코드"/>
- <Column id="formdegnseq" type="INT" size="256" sumtext="서식디자인순번"/>
- <Column id="formnm" type="STRING" size="256" sumtext="서식명칭"/>
- <Column id="formextnnm" type="STRING" size="256" sumtext="서식확장명칭"/>
- <Column id="formnminfo" type="STRING" size="256" sumtext="서식확장명칭"/>
- <Column id="choiformdegnseq" type="INT" size="256" sumtext="선택서식디자인순번"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_readonlylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="readonlyyn" type="STRING" size="256" sumtext="공유해제여부"/>
- <Column id="readonlystatdt" type="STRING" size="256" sumtext="읽기전용등록일시"/>
- <Column id="readonlyuserid" type="STRING" size="256" sumtext="읽기전용등록사용자ID"/>
- <Column id="readonlyusernm" type="STRING" size="256" sumtext="읽기전용등록사용자명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_programdesignformlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formcd" type="STRING" size="256" sumtext="작업중인서식코드"/>
- <Column id="formnm" type="STRING" size="256" sumtext="작업중인서식이름"/>
- <Column id="message" type="STRING" size="256" sumtext="작업중인서식에관한 Message"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_acmlsend" 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="formcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="formcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_acmltmp_recinfo_recitem" 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="rechistseq" type="BIGDECIMAL" size="256" sumtext="기록이력순번"/>
- <Column id="recitemno" type="INT" size="256" sumtext="기록항목번호"/>
- <Column id="fstlevlitemcd" type="STRING" size="256" sumtext="1레벨항목코드"/>
- <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
- <Column id="formdegnseq" type="BIGDECIMAL" size="256" sumtext="서식디자인순번"/>
- <Column id="degnitemno" type="INT" size="256" sumtext="디자인항목번호"/>
- <Column id="degnitemcd" type="STRING" size="256" sumtext="디자인항목코드"/>
- <Column id="degnitemlevlcd" type="STRING" size="256" sumtext="디자인항목레벨코드"/>
- <Column id="rectermcd" type="STRING" size="256" sumtext="기록용어코드"/>
- <Column id="rectermnm" type="STRING" size="256" sumtext="기록용어이름"/>
- <Column id="recrefcd" type="STRING" size="256" sumtext="수술, 진단, 주호소 코드"/>
- <Column id="recitemnm" type="STRING" size="256" sumtext="수술, 진단, 주호소 명"/>
- <Column id="reccnts" type="STRING" size="256" sumtext="기록내용"/>
- <Column id="recimge" type="BLOB" size="256" sumtext="기록이미지"/>
- <Column id="degnitemkind" type="STRING" size="256" sumtext="디자인항목유형"/>
- <Column id="degnitemnm" type="STRING" size="256" sumtext="디자인항목명"/>
- <Column id="degnitemlevlno" type="INT" size="256" sumtext="디자인항목계층번호"/>
- <Column id="rectermflag" type="STRING" size="256" sumtext="기록용어코드구분"/>
- <Column id="rowno" type="STRING" size="256" sumtext="그리드데이타 행번호"/>
- <Column id="colno" type="STRING" size="256" sumtext="그리드데이타 열번호"/>
- </ColumnInfo>
- </Dataset>
- <!--
- <Dataset id="ds_pamtmp_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- -->
- <Dataset id="ds_profdgn_formhardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_srcformcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_loader_ini" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_itemvalue" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_cnstmsgyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_savecross" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_formdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cond_syncreq" 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="orddd" type="STRING" size="255"/>
- <Column id="orddrid" type="STRING" size="255"/>
- <Column id="orddeptcd" type="STRING" size="255"/>
- <Column id="chosflag" type="STRING" size="255"/>
- <Column id="ioflag" type="STRING" size="255"/>
- <Column id="cretno" type="STRING" size="255"/>
- <Column id="formcd" type="STRING" size="255"/>
- <Column id="formdegnseq" type="STRING" size="255"/>
- <Column id="merecyn" type="STRING" size="255"/>
- <Column id="status" type="STRING" size="255"/>
- <Column id="srcformcd" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_acmldata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="rechistseq" type="STRING" size="256"/>
- <Column id="recitemno" type="STRING" size="256"/>
- <Column id="fstlevlitemcd" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="formdegnseq" type="STRING" size="256"/>
- <Column id="degnitemno" type="STRING" size="256"/>
- <Column id="degnitemcd" type="STRING" size="256"/>
- <Column id="degnitemkind" type="STRING" size="256"/>
- <Column id="degnitemlevlno" type="STRING" size="256"/>
- <Column id="degnitemnm" type="STRING" size="256"/>
- <Column id="degnitemlevlcd" type="STRING" size="256"/>
- <Column id="rectermcd" type="STRING" size="256"/>
- <Column id="rectermnm" type="STRING" size="256"/>
- <Column id="recrefcd" type="STRING" size="256"/>
- <Column id="recitemnm" type="STRING" size="256"/>
- <Column id="reccnts" type="STRING" size="256"/>
- <Column id="unitnm" type="STRING" size="256"/>
- <Column id="recimge" type="BLOB"/>
- <Column id="srcimge" type="BLOB"/>
- <Column id="rowno" type="STRING" size="256"/>
- <Column id="colno" type="STRING" size="256"/>
- <Column id="supdegnitemno" type="STRING" size="256"/>
- <Column id="extdegnitemlevlcd" type="STRING" size="256"/>
- <Column id="rectermflag" type="STRING" size="256"/>
- <Column id="degnunitcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_scrollbars" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_recsaveyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_pamIn" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="mskind" type="STRING" size="256" sumtext="주부유형"/>
- <Column id="histstat" type="STRING" size="256" sumtext="이력상태"/>
- <Column id="hospbrthyn" type="STRING" size="256" sumtext="본원출생여부"/>
- <Column id="rsrvinyn" type="STRING" size="256" sumtext="예약입원여부"/>
- <Column id="intm" type="STRING" size="256" sumtext="입원일시"/>
- <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
- <Column id="dschtm" type="STRING" size="256" sumtext="퇴원시간"/>
- <Column id="dschtype" type="STRING" size="256" sumtext="퇴원형태"/>
- <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진구분"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="centcd" type="STRING" size="256" sumtext="센터코드"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="medispclid" type="STRING" size="256" sumtext="전문의ID"/>
- <Column id="atdoctid" type="STRING" size="256" sumtext="주치의ID"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="roomgrdecd" type="STRING" size="256" sumtext="병실등급코드"/>
- <Column id="roomtypecd" type="STRING" size="256" sumtext="병실형태코드"/>
- <Column id="rqsthospcd" type="STRING" size="256" sumtext="협력의뢰병원코드"/>
- <Column id="rqstdrid" type="STRING" size="256" sumtext="협력의뢰의사"/>
- <Column id="drgyn" type="STRING" size="256" sumtext="DRG여부"/>
- <Column id="bmtyn" type="STRING" size="256" sumtext="BMT여부"/>
- <Column id="clincstdyyn" type="STRING" size="256" sumtext="임상연구여부"/>
- <Column id="clincstdycd" type="STRING" size="256" sumtext="임상연구코드"/>
- <Column id="batlockid" type="STRING" size="256" sumtext="BATCH잠김ID"/>
- <Column id="batlockyn" type="STRING" size="256" sumtext="BATCH잠김여부"/>
- <Column id="ordcostretcdd" type="STRING" size="256" sumtext="진료비소급일자"/>
- <Column id="ordcostcalcdd" type="STRING" size="256" sumtext="진료비계산일자"/>
- <Column id="dschdclrtyn" type="STRING" size="256" sumtext="퇴원예고여부"/>
- <Column id="dschdclrdt" type="STRING" size="256" sumtext="퇴원예고일시"/>
- <Column id="dschdclrtrgstid" type="STRING" size="256" sumtext="퇴원예고등록자ID"/>
- <Column id="dschdclrtrgstnm" type="STRING" size="256" sumtext="퇴원예고등록자명"/>
- <Column id="dschdclrtrgstdt" type="STRING" size="256" sumtext="퇴원예고등록일시"/>
- <Column id="dschrgstacptdt" type="STRING" size="256" sumtext="퇴원등록접수일시"/>
- <Column id="dschrgstacptchar" type="STRING" size="256" sumtext="퇴원등록접수담당자ID"/>
- <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보여부"/>
- <Column id="dschnotidt" type="STRING" size="256" sumtext="퇴원통보일시"/>
- <Column id="dschnotirgstid" type="STRING" size="256" sumtext="퇴원통보등록자ID"/>
- <Column id="dschnotirgstdt" type="STRING" size="256" sumtext="퇴원통보등록일시"/>
- <Column id="calclastdd" type="STRING" size="256" sumtext="정산최종일자"/>
- <Column id="dschjudgprcsstat" type="STRING" size="256" sumtext="퇴원심사진행상태"/>
- <Column id="lastjudgdd" type="STRING" size="256" sumtext="최종심사일자"/>
- <Column id="lastmdlclamdd" type="STRING" size="256" sumtext="최종중간청구일자"/>
- <Column id="lastjudgendid" type="STRING" size="256" sumtext="최종심사완료자ID"/>
- <Column id="spcljudgflag" type="STRING" size="256" sumtext="선별심사여부"/>
- <Column id="mainjudgid" type="STRING" size="256" sumtext="주심사자ID"/>
- <Column id="iphs_fromdd" type="STRING" size="256" sumtext="재원이력시작일자"/>
- <Column id="iphs_insukind" type="STRING" size="256" sumtext="전실이력병실형태코드"/>
- <Column id="iphs_suppkind" type="STRING" size="256" sumtext="재원이력보조유형"/>
- <Column id="icdr_roomgrdecd" type="STRING" size="256" sumtext="전실이력병실등급코드"/>
- <Column id="icdr_roomtypecd" type="STRING" size="256" sumtext="전실이력병실형태코드"/>
- <Column id="icdr_wardcd2" type="STRING" size="256" sumtext="전실이력병동코드2"/>
- <Column id="icdr_roomcd2" type="STRING" size="256" sumtext="전실이력병실코드2"/>
- <Column id="icdr_roomgrdecd2" type="STRING" size="256" sumtext="전실이력병실등급코드2"/>
- <Column id="icdr_roomtypecd2" type="STRING" size="256" sumtext="전실이력병실형태코드2"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
- <Column id="hngnm2" type="STRING" size="256" sumtext="환자이름2"/>
- <Column id="dispnm1" type="STRING" size="256" sumtext="환자표시명1"/>
- <Column id="dispnm2" type="STRING" size="256" sumtext="환자표시명2"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="age" type="STRING" size="256" sumtext="나이"/>
- <Column id="arvpath" type="STRING" size="256" sumtext="도착경로"/>
- <Column id="ordrslt" type="STRING" size="256" sumtext="진료결과"/>
- <Column id="hospiceyn" type="STRING" size="256" sumtext="호스피스여부"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
- <Column id="orgordtype" type="STRING" size="256" sumtext="최초외래입원구분"/>
- <Column id="specordyn" type="STRING" size="256" sumtext="선택진료여부"/>
- <Column id="brateflag" type="STRING" size="256" sumtext="부담률구분"/>
- <Column id="ermngtamtcalcyn" type="STRING" size="256" sumtext="응급의학관리료산정여부"/>
- <Column id="erbrthflag" type="STRING" size="256" sumtext="응급분만구분"/>
- <Column id="erchospath" type="STRING" size="256" sumtext="응급내원경로"/>
- <Column id="erorddeptcd" type="STRING" size="256" sumtext="응급진료과코드"/>
- <Column id="eroutdt" type="STRING" size="256" sumtext="응급퇴실일자"/>
- <Column id="careinrmdd" type="STRING" size="256" sumtext="간호입실일자"/>
- <Column id="careinrmtm" type="STRING" size="256" sumtext="간호입실시간"/>
- <Column id="careinrmrgstrid" type="STRING" size="256" sumtext="간호입실등록자ID"/>
- <Column id="prcplockid" type="STRING" size="256" sumtext="처방LOCKID"/>
- <Column id="iprcaddyn" type="STRING" size="256" sumtext="추가처방가능여부(심사실가퇴원)"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민등록번호1"/>
- <Column id="hosoutexptresncd" type="STRING" size="256" sumtext="원외사유코드"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="원외사유코드"/>
- <Column id="calcdd" type="STRING" size="256" sumtext="계산일자"/>
- <Column id="calctm" type="STRING" size="256" sumtext="계산시간"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="replyn" type="STRING" size="256" sumtext="회신여부"/>
- <Column id="repltypenm" type="STRING" size="256" sumtext="회신유형내용"/>
- <Column id="resnyn" type="STRING" size="256" sumtext="항생제평가관련"/>
- <Column id="npresnyn" type="STRING" size="256" sumtext="정신과차등수가관련"/>
- <Column id="autoformcd" type="STRING" size="256" sumtext="자동서식코드"/>
- <Column id="subcretno" type="STRING" size="256" sumtext="서브원무키"/>
- <Column id="prcpsaveyn" type="STRING" size="256" sumtext="처방저장여부"/>
- <Column id="emrsaveyn" type="STRING" size="256" sumtext="진료기록저장여부"/>
- <Column id="ertransyn" type="STRING" size="256" sumtext="응급실에서병동으로전실여부"/>
- <Column id="ercareinrmdd" type="STRING" size="256" sumtext="응급실에서병동으로입실일자"/>
- <Column id="ercareinrmtm" type="STRING" size="256" sumtext="응급실에서병동입실시간"/>
- <Column id="coopteamcd" type="STRING" size="256" sumtext="협력팀코드"/>
- <Column id="coopteamnm" type="STRING" size="256" sumtext="협력팀코드"/>
- <Column id="nonprgresncd" type="STRING" size="256" sumtext="임신불가사유"/>
- <Column id="nonprgresncnts" type="STRING" size="256" sumtext="임신불가사유"/>
- <Column id="scndyn" type="STRING" size="256" sumtext="차상위대상여부"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민등록앞자리"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민등록뒷자리"/>
- <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
- <Column id="etcordflag" type="STRING" size="256" sumtext="기타구분"/>
- <Column id="callvisityn" type="STRING" size="256" sumtext="응급실콜비짓여부"/>
- <Column id="specordtype" type="STRING" size="256" sumtext="선택진료위임"/>
- <Column id="specordtypenm" type="STRING" size="256" sumtext="선택진료위임명"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰번호"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
- <Column id="bedposcntscd" type="STRING" size="256" sumtext="응급실Bed정보"/>
- <Column id="bedposcnts" type="STRING" size="256" sumtext="응급실Bed정보"/>
- <Column id="basetypecd" type="STRING" size="256" sumtext="구역정보"/>
- <Column id="typenm" type="STRING" size="256" sumtext="구역정보"/>
- <Column id="opfeechkyn" type="STRING" size="256" sumtext="수술료입력여부"/>
- <Column id="erissdeptcd" type="STRING" size="256" sumtext="응급발행부서"/>
- <Column id="warnmsg" type="STRING" size="256" sumtext="주의요망메세지"/>
- <Column id="errwarnmsg" type="STRING" size="256"/>
- <Column id="durdiagyn" type="STRING" size="256"/>
- <Column id="hospitalday" type="STRING" size="256" sumtext="재원일수"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_notchkessn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <PropertyAnimation id="pAnim_notice_1" endingmode="to" repeat="0" repeattype="normal" duration="15000" starttime="0" targetcomp="grup_btn.stt_notice_1" interpolation="Interpolation.linear" targetprop="position.left" onend="pAnim_notice_1_onend"/>
- <PropertyAnimation id="pAnim_notice_2" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0" targetcomp="grup_btn.stt_notice_2" interpolation="Interpolation.linear" targetprop="position.left"/>
- <ExtCommon id="ex_extCommon"/>
- <Dataset id="ds_preview_formrec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_preview_recitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_script" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formdegnseq" type="STRING" size="256"/>
- <Column id="funcnm" type="STRING" size="256"/>
- <Column id="degnitemlevlcd" type="STRING" size="256"/>
- <Column id="eventnm" type="STRING" size="256"/>
- <Column id="funcusernm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_script_map" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formdegnseq" type="STRING" size="256"/>
- <Column id="degnitemlevlcd" type="STRING" size="256"/>
- <Column id="eventnm" type="STRING" size="256"/>
- <Column id="argnm" type="STRING" size="256"/>
- <Column id="argtypecd" type="STRING" size="256"/>
- <Column id="argval" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grup_btn.checkbox1" propid="value" datasetid="ds_emrtemp" columnid="sysformxrwyn"/>
- <BindItem id="item1" compid="grup_titl.ipt_formrectm" propid="value" datasetid="ds_data_formrec" columnid="formrechm"/>
- <BindItem id="item3" compid="grup_titl.ipt_formrecdd" propid="value" datasetid="ds_data_formrec" columnid="formrecdd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-12-17
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-12-17 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "emr_commonxp::EMRCommon.xjs"
- include "emr_medirecxp::MMRCommon.xjs"
- include "emr_medirecxp::MMR01100.xjs"
- // include "emr_medirecxp::MMRDegnForm.xjs"
- include "emr_prcpmngtxp::MMO001.xjs"
- include "emr_carecomxp::CareCom.xjs" // fOppartchk()
- // SSMRF02000_서식조회저장 import
- // include "emr_formmngtxp::MRF01200.xjs"
- // include "emr_formmngtxp::MRF02000.xjs"
- // SSMMR01300_서식저장 import
- include "emr_medirecxp::MMR01300.xjs"
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- var oOpener;
- var loadcomplete = "";
- var GSUBMIT = true;
- var gSMS_Async = true;// fSendSMS 로직 동기/비동기 설정
- var gProfCal = false; // 제증명 발행일알림 제한
- var gTopYn = true;
- // 2016.12.21 SMMNW30001_간병간호KPCS formrecddenable, formrecdd 설정
- var lgv_formrecdd = "";
- var lgv_formrecddenable = true;
- var lgv_SaveAfterClose = false; // [미비] StaffSign 미비 간편확인 기능 사용시 화면닫기
- var lgv_MdfRecNo = null;//[기록정정관리 No]
- var lgv_MdfRecApptype = null;//[기록정정관리 Apptype]
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : N/A
- * Description : 자식화면 완료시 호출
- ****************************************************************************************/
- function lf_onloadcomplete(){
- utlf_addLog("***** SSMMR01100_서식로더 lf_onloadcomplete() *****");
-
- fOnLoadComplete();
-
- var scrnwnd = frmf_findPopup("SPMMB08400");
-
- if(!utlf_isNull(scrnwnd)){
- scrnwnd.fCloseOpenEmrWnd();
- }
- /*
- if( !utlf_isNull(ivw_base.url) ){
- ivw_base.recalculate();
- }
- */
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 자식화면 완료시 호출
- ****************************************************************************************/
- function lf_oncomnformloadcomplete(){
- parent.lf_oncomnformloadcomplete;
- }
- //=======================================================================================
- // Transaction Callback
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : cf_의 콜백함수
- ****************************************************************************************/
- function cf_(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- if(nErrorCode < 0) return;
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SSMMR01100
- * Event : oninit
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 초기화
- ****************************************************************************************/
- function SSMMR01100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SSMMR01100
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 초기화
- ****************************************************************************************/
- function SSMMR01100_onload(obj:Form, e:LoadEventInfo)
- {
-
-
- fGetFormSubTitle(); // 서식 부제목 가져오기
- //MMR01300 import xforms-ready
- zesf_InitSign();
-
-
- ivw_base.visible = true;
- ivw_fst.visible = false;
- // 서식 로드 시 Scrollbars 속성변경 서식리스트
- lf_getHardCDList("N", 9959, 0 , ds_init_scrollbars);
- // [요청번호:20161121013] 기록수정 제한
- lf_getHardCDList("N", 9972, 0 , ds_init_recsaveyn);
- // [요청번호:20180709005] 서식의 필수항목 제어해제
- lf_getHardCDList("N", 9999, 0 , ds_init_notchkessn);
-
- lf_resetForm();
-
- /*
-
- fFormReady();
-
- if (!utlf_isNull(parent)) {
- utlf_addLog("SPMMR07300_서식자동저장 body onloadLoader");
- try{
- parent.lf_onloadLoader();
- }catch(e){
- sysf_catchTrace(e);
- }
- }
- */
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 서식로더 화면 초기화
- ****************************************************************************************/
- function lf_resetForm()
- {
-
- // 2018.05.18 TF 결과관리화면 서식로더 초기화로 저장 노드 초기화 로직 추가
- if( this.objects["ds_send_saverecinfo_formrec"] != null ) ds_send_saverecinfo_formrec.clearData();
- if( this.objects["ds_send_saverecinfo_recitem"] != null ) ds_send_saverecinfo_recitem.clearData();
-
- if(fGetFormMast("formprogflag") == "PROG")
- this.ComnFormObj = ivw_base.grup_base;
-
- oOpener = frmf_getoOpener();
-
- // 제증명 발행일 알림 초기화
- gProfCal = false;
-
- var formcd = "";
- var formkind = "";
- var btnvisible = true;
- var btnenable = true;
- var oTrgtObj = this;
- var objForm = "";
- var parentDS = "";
- var unpreprecYn = "";
- var formdegnseq = "";
-
- utlf_addLog("************************* frmf_isPopup() : "+ frmf_isPopup() +" sysf_getObjType(this) : " + sysf_getObjType(this) + " ************************");
- utlf_addLog("************************* this.name : "+ this.name +" ************************");
- if( frmf_isPopupRec() )// SPMMR01000 및 popup화면에서 실행 시 필요
- { // 팝업화면에서 로더 오픈 시
- objForm = this.getOwnerFrame().form;
- parentDS = objForm.objects["ds_cond_formdata"];
- if(utlf_isNull(parentDS))
- {
- if( !utlf_isNull(opener) )
- parentDS = opener.objects["ds_cond_formdata"];
-
- // 의사별 미비리스트 간편저장 로직
- if( utlf_isNull(parentDS) && !utlf_isNull(opener) && opener.name == "SMMRI01800"){
- try{
- parentDS = ds_cond_formdata;
- lgv_SaveAfterClose = true;
- }catch(e){}
- }
-
- }
- }
- else
- { // 메인화면에서 로더 오픈 시
- objForm = this.getOwnerFrame().form.components["div_work"];
- if(!utlf_isNull(objForm))
- parentDS = objForm.objects["ds_cond_formdata"];
- }
- if(!utlf_isNull(parentDS))
- {
- ds_temp_formdata.assign(parentDS);
- formcd = ds_temp_formdata.getColumn(0, "formcd") ;
-
- if(!utlf_isNull(formcd))
- { // lf_loadSMMMR00100() 를 사용하여 로더 오픈 시
- formcd = ds_temp_formdata.getColumn(0, "formcd");
- formkind = ds_temp_formdata.getColumn(0, "formkind");
- btnvisible = ds_temp_formdata.getColumn(0, "btnvisible");
- if(!utlf_isNull(ds_cond_formdata.getColumnInfo("btnenable")))
- {
- btnenable = ds_temp_formdata.getColumn(0, "btnenable");
- }
- if(!utlf_isNull(ds_cond_formdata.getColumnInfo("unpreprec")))
- {
- unpreprecYn = ds_temp_formdata.getColumn(0, "unpreprec");
- }
- if(!utlf_isNull(ds_cond_formdata.getColumnInfo("topyn")))
- {
- gTopYn = ds_temp_formdata.getColumn(0, "topyn") == "N" ? false : true;
- }
- // 2016.12.21 SMMNW30001_간병간호KPCS formrecddenable, formrecdd 설정
- if(!utlf_isNull(ds_cond_formdata.getColumnInfo("formrecddenable")))
- {
- lgv_formrecddenable = ds_temp_formdata.getColumn(0, "formrecddenable") == "N" ? false : true;
- }
- if(!utlf_isNull(ds_cond_formdata.getColumnInfo("formrecdd")))
- {
- lgv_formrecdd = ds_temp_formdata.getColumn(0, "formrecdd");
- }
- if(!utlf_isNull(ds_cond_formdata.getColumnInfo("mdfrecno")))
- {
- lgv_MdfRecNo = ds_temp_formdata.getColumn(0, "mdfrecno");
- }
- if(!utlf_isNull(ds_cond_formdata.getColumnInfo("mdfrecapptype")))
- {
- lgv_MdfRecApptype = utlf_transNullToEmpty(ds_temp_formdata.getColumn(0, "mdfrecapptype"));
- }
- if(!utlf_isNull(ds_cond_formdata.getColumnInfo("formdegnseq")))
- {
- formdegnseq = utlf_transNullToEmpty(ds_temp_formdata.getColumn(0, "formdegnseq"));
- }
- /*
- if( gTopYn == false ){
- fSetPamInfo( ds_temp_formdata.getColumn(0, "pid")
- , ds_temp_formdata.getColumn(0, "orddd")
- , ds_temp_formdata.getColumn(0, "cretno")
- , ds_temp_formdata.getColumn(0, "ioflag")
- , ds_temp_formdata.getColumn(0, "orddeptcd")
- , ds_temp_formdata.getColumn(0, "orddrid")
- , ds_temp_formdata.getColumn(0, "wardcd"));
- }
- */
- // 상단정보 조회용 데이터
- if(!utlf_isNull(ds_temp_formdata.getColumnInfo("paminfo")))
- {
- var sParam = ds_temp_formdata.getColumn(0, "paminfo");
- if( !utlf_isNull(sParam) ){
- lf_SetPamInfo(sParam);
- }
- }
- }
- }
- else if(!utlf_isNull(frmf_getMenuParam()))
- {
- formcd = frmf_getMenuParam();
- formkind = "new";
- // if(lf_isDoctor())
- // {
- // btnvisible = "true";
- // }
- }
- else
- {
- // get, set 파라미터 사용 시
- formcd = objForm.frmf_getParameter("formcd");
- formkind = objForm.frmf_getParameter("formkind");
- btnvisible = objForm.frmf_getParameter(0, "btnvisible");
- btnenable = objForm.frmf_getParameter(0, "btnenable");
- }
-
-
- // sysf_trace("***** formcd : " + formcd + " || formkind : " + formkind + " *****");
- // 서식코드나 유형이 없으면 return
- if(utlf_isNull(formcd) || utlf_isNull(formkind))
- {
- lf_btnVisible("false");
- // sysf_trace("***** utlf_isNull(formcd) || utlf_isNull(formkind) *****");
- return;
- }
-
- if(unpreprecYn == "Y") // 미비기록이면 인증저장버튼 visible
- {
- btnvisible = "true";
- frmf_setParameter("unpreprec", unpreprecYn);
- }
-
- if(formkind == "new")
- lf_srchNewFormInfo(formcd); // 신규 서식 로딩
- else if(formkind == "rec")
- lf_loadRecForm(formcd); // 기록 서식 로딩
- else if(formkind == "preview")
- lf_loadPreviewForm(formcd, formdegnseq);
-
- lf_btnVisible(btnvisible); // 버튼 visible/hidden
- lf_btnEnable(btnenable);
- // 서식 오픈 파라미터 초기화
- frmf_clearParameter("formcd");
- frmf_clearParameter("formkind");
-
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_signsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 인증저장
- ****************************************************************************************/
- function grup_btn_btn_signsave_onclick(obj:Button, e:ClickEventInfo)
- {
- gSaveYN = false;
- // 치과관련 과에서 Consult등록시 미수납 상태면 접수 불가하도록 2013.07.03 cyw
- var histstat = ds_data_paminfo.getColumn(0, "histstat");
- var rsrvflag = ds_data_paminfo.getColumn(0, "rsrvflag");
- var medamtpostyn = ds_data_paminfo.getColumn(0, "medamtpostyn");
-
- var reqdeptno = utlf_transNullToEmpty(frmf_getParameter("SMMMR04900_reqdeptno"));
- var dutplcecd = sysf_getUserInfo("dutplcecd");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var scrnid = oOpener.frmf_getScreenID();
- sysf_trace("@@@@@ scrnid : " + scrnid + " MMR01100 grup_btn_btn_signsave_onclick @@@@@");
-
- dsf_createDsRow("ds_send_srch", [{col: "instcd", type:"string", size:256, val:instcd}
- , {col: "userdeptcd", type:"string", size:256, val:dutplcecd}]);
-
- dsf_createDs("ds_main_deptinfo", [{col: "instcd", type:"string", size:256}
- , {col: "deptcd", type:"string", size:256}
- , {col: "reqdeptno", type:"string", size:256}]);
-
- var oParam = {};
- oParam.id = "TRMMR04906";
- oParam.service = "medirecapp.ExtnMediRec";
- oParam.method = "reqGetCnstReqDeptNo";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_main_deptinfo=deptinfo";
- oParam.async = false;
- oParam.progress = false;
- oParam.callback = "cf_TRMMR04906";
- tranf_submit(oParam);
-
- var user_reqdeptno = utlf_transNullToEmpty(ds_main_deptinfo.getColumn(0, "reqdeptno"));
-
- // 컨설트화면에서 수납완료가 아니거나
- // 청구구분코드가 치과관련(55)고 로그인한 사용자부서가 치과관련일 경우 2013.07.03
- // 후불Y, 이지패스V가 아닌경우 2014.02.04
- if( scrnid == "SMMMR05000" && rsrvflag != "C" && histstat == "T" && reqdeptno.substring(0,1) == "5" && user_reqdeptno.substring(0,1) == "5" && medamtpostyn != "V" && medamtpostyn != "Y" ){
- sysf_messageBox("접수비가 미납되어 Consult가 불가합니다.", "I999");
- return;
- }else{
- /*
- * 진료메인기록 또는 컨설트 창에서 퇴원 환자에 대한 컨설트 회신시 메시지 창으로 선택하게한 후 진행 20130826 이정택
- */
- if(lf_ContainsHardCD("6200", "Y")){
- var formcd=ds_data_formrec.getColumn(0, "formcd");
- var cnststat=ds_data_formrec.getColumn(0, "cnststat");
- sysf_trace(" btn_signsave formcd : " + formcd + " || cnststat : " + cnststat);
- if(formcd=="0000000677" && (cnststat =="12"||cnststat =="20")){
- var indschacptstat = "";
- if(scrnid=="SMMMR00100"){//진료메인기록에서 컨설트 회신시
- indschacptstat=ds_data_paminfo.getColumn(0, "indschacptstat");
- }else if(scrnid=="SMMMR05000"){//컨설트 화면에서 컨설트 회신시
- indschacptstat=oOpener.ds_result_paminfo.getColumn(0, "indschacptstat");
- }
- sysf_trace(" Consult >>>>> indschacptstat : " + indschacptstat );
- if(indschacptstat=="T" || indschacptstat=="D"){
- var rtn=sysf_messageBox("퇴원 처리된 환자로 컨설트 회신료가 발생되지 않습니다.\n계속 진행", "S001");
- if(rtn=="6"){
- fClickSave("Y");
- }else{
- return;
- }
- }else{
- fClickSave("Y");
- }
- }else{
- sysf_trace("저장로직 시작!!! fClickSave >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
- fClickSave("Y");
- }
- }else{
- fClickSave("Y");
- }
- }
-
- fSendRecInfoSMMMR05000ToSMMMO00100(scrnid);
-
- if (gSaveYN == false) {
- return;
- }
-
- // 20151008 (#139) 진료의뢰(Consult) 인증저장시 화면 바로 닫도록 개인화(채의수교수님 요청사항)
- gSMS_Async = true;
- var bSMMMR05000_Close = false;
- if( scrnid == "SMMMR05000" && lf_mmbfGetUserEnvQuestValue("069") == "001" ){
- bSMMMR05000_Close = true;
- }
-
- lf_getHardCDList("N", 5993, 0 , ds_init_cnstmsgyn);
- //mmbfGetHardCodeInfo("/root/send/reqdata", "/root/init/cnstmsgyn", 5993);
- var msgCnt = ds_init_cnstmsgyn.getCaseCount("hardcd == 'Y'");//컨설트 작성시 메시지 보낼지 여부
- if (msgCnt > 0) {
- //컨설트 SMS 관련 처리
- var cnstflag = fGetFormRec("cnstflag");
- if ( cnstflag == "1") {
- if( bSMMMR05000_Close == true ){
- gSMS_Async = false;
- }
- fSendSMS();
- }
- }
-
- if( bSMMMR05000_Close == true ){
- oOpener.close();
- }
-
- }
- /****************************************************************************************
- * Argument : 01.sSvcId : 서비스 ID
- * : 02.nErrorCode : 에러코드
- * : 03.sErrorMsg : 에러메시지
- * Description : cf_TRMMR04906의 콜백함수
- ****************************************************************************************/
- function cf_TRMMR04906(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- utlf_addLog("***** cf_TRMMR04906 *****");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_tmpsave
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 임시저장
- ****************************************************************************************/
- function grup_btn_btn_tmpsave_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickSave("N");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_del
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 삭제
- ****************************************************************************************/
- function grup_btn_btn_del_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickDelete();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_cncl
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 취소
- ****************************************************************************************/
- function grup_btn_btn_cncl_onclick(obj:Button, e:ClickEventInfo)
- {
- fClose();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_cnfm
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 확인(사용안함)
- ****************************************************************************************/
- function grup_btn_btn_cnfm_onclick(obj:Button, e:ClickEventInfo)
- {
- fConfirm();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.cap_loadtiem
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회시간(사용안함)
- ****************************************************************************************/
- function grup_btn_cap_loadtime_ondblclick(obj:Button, e:MouseEventInfo)
- {
- if (body.attribute("height") != "750")
- {
- fInitPage(true, true, 750);
- }
- var frtime = new Date();
-
- fLoadNewForm("../../../emr/medirecweb/xrw/SMMMR01500_CONSULT관리.xrw");
- //fLoadNewForm("0000000004");
- //fLoadNewForm("0000000615");
-
-
- var totime = new Date();
- cap_loadtime.text = ((totime.getTime() - frtime.getTime()) / 1000);
-
- setTimeLog(model, "newopen", cap_loadtime.text);
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.caption1
- * Event : ondblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : - (사용안함)
- ****************************************************************************************/
- function grup_btn_caption1_ondblclick(obj:Button, e:MouseEventInfo)
- {
- window.clipBoardData = model.instance1.selectSingleNode("/root/timelog").xml;
- opener.model.removeNodeset("/root/timelog");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.caption2
- * Event : ondblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : - (사용안함)
- ****************************************************************************************/
- function grup_btn_caption2_ondblclick(obj:Button, e:MouseEventInfo)
- {
- window.clipBoardData = gPrestIvw.model.instance1.selectSingleNode("/root/timelog").xml;
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 미리보기2 (사용안함)
- ****************************************************************************************/
- function grup_btn_button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetPreviewData("copy", "/root/test/medirec", model, "all");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_init
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 초기화
- ****************************************************************************************/
- function grup_btn_btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- fInitClearForm();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_preview
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 미리보기
- ****************************************************************************************/
- function grup_btn_btn_preview_onclick(obj:Button, e:ClickEventInfo)
- {
- //fGetPreviewData("view");
- fPreviewRec();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_print
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 출력
- ****************************************************************************************/
- function grup_btn_btn_print_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickPrint();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_signsaveasnew
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 새이름으로저장
- ****************************************************************************************/
- function grup_btn_btn_signsaveasnew_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickSaveAsNew();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_cosign
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : STAFF SIGN
- ****************************************************************************************/
- function grup_btn_btn_cosign_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickSaveCosign();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_resend
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 기록반려
- ****************************************************************************************/
- function grup_btn_btn_resend_onclick(obj:Button, e:ClickEventInfo)
- {
- fClickReSend();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_titl.ipt_fromrecdd
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 기준일자
- ****************************************************************************************/
- function grup_titl_ipt_formrecdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- fChkRecdd();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_titl.ipt_fromrecdd
- * Event : oneditclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 기준일자
- ****************************************************************************************/
- function grup_titl_ipt_formrecdd_oneditclick(obj:Calendar, e:EditClickEventInfo)
- {
- gRecdd = ds_data_formrec.getColumn(0, "formrecdd");
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_titl.button10
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 서식부제목관리 화면 호출
- ****************************************************************************************/
- function grup_titl_button10_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPMMR04400", "SPMMR04400", null, null, 1, 0, 0, null, null, null, null, null, "M");
- sysf_setGlobalVariable("emr_gsv_formsubtitlelist", "");
- fGetFormSubTitle();
- lf_checkFormrecextnnm();
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : grup_titl.cbo_formrecextnnm
- * Event : canitemchange
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 부제목 변경에 따른 userproperty 설정
- ****************************************************************************************/
- function grup_titl_cbo_formrecextnnm_canitemchange(obj:Combo, e:ItemChangeEventInfo)
- {
- if(!e.postvalue)
- {
- return false;
- }else{
- grup_titl.cbo_formrecextnnm.usertext = e.postvalue;
- return true;
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : grup_titl.cbo_formrecextnnm
- * Event : onitemchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 부제목 변경에 따른 바인딩 처리
- ****************************************************************************************/
- function grup_titl_cbo_formrecextnnm_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- ds_data_formrec.setColumn(0, "formrecextnnm", grup_titl.cbo_formrecextnnm.text);
- //grup_titl.cbo_formrecextnnm.usertext = e.postvalue;
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : grup_titl.cbo_formrecextnnm
- * Event : ontextchange
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 부제목 변경에 따른 userproperty 설정
- ****************************************************************************************/
- function grup_titl_cbo_formrecextnnm_ontextchange(obj:Combo, e:TextChangeEventInfo)
- {
- grup_titl.cbo_formrecextnnm.usertext = e.posttext;
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : grup_titl.cbo_formrecextnnm
- * Event : onkillfocus
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 부제목 입력값 설정
- ****************************************************************************************/
- function grup_titl_cbo_formrecextnnm_onkillfocus(obj:Combo, e:KillFocusEventInfo)
- {
- var userText = grup_titl.cbo_formrecextnnm.usertext;
- //if( !utlf_isNull(userText) ){
- lf_checkFormrecextnnm();
- grup_titl.cbo_formrecextnnm.text = userText;
- ds_data_formrec.setColumn(0, "formrecextnnm", userText);
- //}
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : grup_titl.cbo_formrecextnnm
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 부제목 입력값 설정
- ****************************************************************************************/
- function grup_titl_cbo_formrecextnnm_onkeydown(obj:Combo, e:KeyEventInfo)
- {
- if( e.keycode == 13 ){
- var userText = grup_titl.cbo_formrecextnnm.usertext;
- //if( !utlf_isNull(userText) ){
- lf_checkFormrecextnnm();
- grup_titl.cbo_formrecextnnm.text = userText;
- ds_data_formrec.setColumn(0, "formrecextnnm", userText);
- //}
- }
- }
- /****************************************************************************************
- * Components : Combo
- * Components ID : grup_titl.cbo_formrecextnnm
- * Event : oncloseup
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 부제목 입력값 설정
- ****************************************************************************************/
- function grup_titl_cbo_formrecextnnm_oncloseup(obj:Combo, e:ComboCloseUpEventInfo)
- {
- var userText = grup_titl.cbo_formrecextnnm.usertext;
- //if( !utlf_isNull(userText) ){
- lf_checkFormrecextnnm();
- grup_titl.cbo_formrecextnnm.text = userText;
- grup_titl.cbo_formrecextnnm.setCaretPos(-1);
- ds_data_formrec.setColumn(0, "formrecextnnm", userText);
- //}
- }
- /****************************************************************************************
- * Components : Form
- * Components ID : SSMMR01100
- * Event : ontimer
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 신규서식 오픈시 기록정보 취합
- ****************************************************************************************/
- function SSMMR01100_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 1100 ){
- this.killTimer(e.timerid);
-
- try{
-
- if(isProgForm()) // 공통서식 기록데이터 취합
- {
- ivw_base.lf_getUnitFormRecData("init", "1"); //lf_getRecDS
- g_recitem_oldrec = ivw_base.fGetCSV("ds_hidden_recitem"); // 다른 서식 로드시점의 기록 데이터
-
- var objDs = ivw_base.removeChild("ds_hidden_recitem");
- delete objDs;
- objDs = null;
-
- }
- else // 공통 이외서식 기록데이터 취합
- {
- lf_getGenFormData("init", "1");
- g_recitem_oldrec = fGetCSV("ds_hidden_recitem"); // 다른 서식 로드시점의 기록 데이터
-
- var objDs = this.removeChild("ds_hidden_recitem");
- delete objDs;
- objDs = null;
- }
-
- // g_formrec_newimge_cosign = fGetCSV("formrec");
- // g_recitem_newimge_cosign = g_recitem_oldrec;
- utlf_addLog(" g_recitem_oldrec : " + g_recitem_oldrec );
- }catch(e){
- g_recitem_oldrec = "";
- sysf_catchTrace(e);
- }
- }
- }
- /****************************************************************************************
- * Components : MaskEdit
- * Components ID : grup_titl.ipt_formrectm
- * Event : onkillfocus
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 기준일자 시간 유효성 체크
- ****************************************************************************************/
- function grup_titl_ipt_formrectm_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
- {
- if( utlf_isNull(obj.value)
- // || (!utlf_isNull(obj.value) && obj.value.replace(/[: ]/g, "").length != 4 )
- || (!utlf_isNull(obj.value) && !utlf_isValidDateTime(obj.value.replace(/[: ]/g, ""), "hhmm") )
- ){
- sysf_messageBox("올바른 시간 형식으로 입력해주십시오.");
- obj.setFocus();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_reload
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 서식로더 Reload
- ****************************************************************************************/
- function grup_btn_btn_reload_onclick(obj:Button, e:ClickEventInfo)
- {
- if( frmf_isPopup() && sysf_getObjType(this) == "Form"){
- this.reload();
- }
- }
- function lf_SetPamInfo(condparam){
- condarray = condparam.split("▦");
-
-
- if(condarray[0] == "O"){ // 외래
- var objColInfo = new Array();
- objColInfo.push({col: "pid", val: condarray[1]});
- objColInfo.push({col: "orddd", val: condarray[2]});
- objColInfo.push({col: "cretno", val: condarray[3]});
- objColInfo.push({col: "instcd", val: condarray[4]});
- objColInfo.push({col: "ioflag", val: "O"});
-
- dsf_createDsRow("ds_cond_pamOut", objColInfo);
- dsf_createDs("ds_data_pamOut");
-
- var oParam = {};
- oParam.id = "TRMMO04202";
- oParam.service = "prcpmngtapp.EtcPrcpMngt";
- oParam.method = "reqGetPatTopInfo";
- oParam.inds = "req=ds_cond_pamOut";
- oParam.outds = "ds_data_pamOut=outpatpaminfo";
- oParam.async = false;
- oParam.error = false;
- oParam.progress = false;
- tranf_submit(oParam);
-
- if( ds_data_pamOut.rowcount > 0 ){
- ds_data_paminfo.copyData(ds_data_pamOut);
- }
-
- dsf_deleteDs("ds_cond_pamOut");
- dsf_deleteDs("ds_data_pamOut");
-
-
- }else if(condarray[0] == "I" || condarray[0] == "E"){ //입원
- var objColInfo = new Array();
- objColInfo.push({col: "pid", val: condarray[1]});
- objColInfo.push({col: "orddd", val: condarray[2]});
- objColInfo.push({col: "cretno", val: condarray[3]});
- objColInfo.push({col: "instcd", val: condarray[4]});
- if(condarray.length > 5){
- objColInfo.push({col: "srchdd", val: condarray[5]});
- }
- if( condarray[0] != "E" ){
- objColInfo.push({col: "ioflag", val: "I"});
- }else{
- objColInfo.push({col: "ioflag", val: "E"});
- }
- dsf_createDsRow("ds_cond_pamIn", objColInfo);
- ds_data_pamIn.clearData();
-
- var oParam = {};
- oParam.id = "TRMMO04302";
- oParam.service = "prcpmngtapp.EtcPrcpMngt";
- oParam.method = "reqGetPatTopInfo";
- oParam.inds = "req=ds_cond_pamIn";
- oParam.outds = "ds_data_pamIn=inpatpaminfo";
- oParam.async = false;
- oParam.error = false;
- oParam.progress = false;
- tranf_submit(oParam);
-
- if( ds_data_pamIn.rowcount > 0 ){
- ds_data_paminfo.copyData(ds_data_pamIn);
- }
-
- dsf_deleteDs("ds_cond_pamIn");
- }else if(condarray[0] == "T"){ //수술
-
- var objColInfo = new Array();
- objColInfo.push({col: "pid" , val: condarray[1]}); //등록번호
- objColInfo.push({col: "orddd" , val: condarray[2]}); //수술일자
- objColInfo.push({col: "cretno" , val: condarray[3]}); //생성번호
- objColInfo.push({col: "instcd" , val: condarray[4]}); //기관코드
- objColInfo.push({col: "ioflag" , val: condarray[0]}); //외래입원구분
- objColInfo.push({col: "orddeptcd", val: condarray[5]}); //집도과
- objColInfo.push({col: "orddrid" , val: condarray[6]}); //집도의
- objColInfo.push({col: "patflag" , val: condarray[7]}); //환자구분 - dao sql에서 query구분자 설정
- objColInfo.push({col: "procflag" , val: condarray[8]}); //처리구분(F:최초 조회, R:재조회)
- objColInfo.push({col: "oprsrvno" , val: condarray[9]}); //수술예약번호
- objColInfo.push({col: "ophistno" , val: condarray[10]});//수술이력번호
- objColInfo.push({col: "srchdd" , val: condarray[11]});//조회일자
- dsf_createDsRow("ds_cond_pamIn", objColInfo);
-
- dsf_createDs("ds_data_etcpamOut");
- dsf_createDs("ds_data_etcpamIn");
- dsf_createDs("ds_data_etcpam");
- dsf_createDs("ds_data_pamOp");
-
- var oParam = {};
- oParam.id = "TRMMO04502";
- oParam.service = "prcpmngtapp.EtcPrcpMngt";
- oParam.method = "reqGetPatTopInfo";
- oParam.inds = "req=ds_cond_pamIn";
- oParam.outds = "ds_data_etcpamOut=outpatpaminfo" +
- " ds_data_etcpamIn=inpatpaminfo" +
- " ds_data_pamOp=oppatopscheinfo";
- oParam.async = false;
- oParam.error = false;
- oParam.progress = false;
- tranf_submit(oParam);
-
- ds_data_etcpam.copyData((ds_data_etcpamOut.rowcount > 0) ? ds_data_etcpamOut : ds_data_etcpamIn);
-
- if( ds_data_etcpam.rowcount > 0 ){
- ds_data_paminfo.copyData(ds_data_etcpam);
- }
-
- if( ds_data_pamOp.rowcount > 0 ){
-
- ds_temp_formdata.addColumn("operation", "string");
- ds_temp_formdata.setColumn(0, "operation", dsf_getDsCSV(ds_data_pamOp));
- }
-
- dsf_deleteDs("ds_cond_pamIn");
- dsf_deleteDs("ds_data_etcpamOut");
- dsf_deleteDs("ds_data_etcpamIn");
- dsf_deleteDs("ds_data_etcpam");
- dsf_deleteDs("ds_data_pamOp");
-
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : grup_btn.btn_app
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 정정기록 신청
- ****************************************************************************************/
- function grup_btn_btn_app_onclick(obj:Button, e:ClickEventInfo)
- {
-
- var status = fGetFormRec("status");
- var formrecseq = fGetFormRec("formrecseq");
- var pid = fGetFormRec("pid");
- var orddd = fGetFormRec("orddd");
- var cretno = fGetFormRec("cretno");
- var ordtype = fGetFormRec("chosioflag");
- if( utlf_isNull(ordtype) ){
- ordtype = fGetFormRec("chosflag");
- }
-
- if( !utlf_isNull(formrecseq) && formrecseq != "0" ){
- dsf_createDsRow("ds_cond_TRMRI06002", [{col:"formcd", type:"STRING", size:"256", val:fGetFormRec("formcd")}
- , {col:"formrecseq", type:"STRING", size:"256", val:formrecseq}
- , {col:"appdd", type:"STRING", size:"256", val:utlf_getCurrentDate()}
- , {col:"pid", type:"STRING", size:"256", val:pid}
- , {col:"orddd", type:"STRING", size:"256", val:orddd}
- , {col:"cretno", type:"STRING", size:"256", val:cretno}
- , {col:"ordtype", type:"STRING", size:"256", val:ordtype}
- , {col:"appdeptcd", type:"STRING", size:"256", val:sysf_getUserInfo("dutplcecd")}
- , {col:"appdrid", type:"STRING", size:"256", val:sysf_getUserInfo("userid")}
- ]);
- dsf_createDs("ds_data_TRMRI06002");
- var oParam = {};
- oParam.id = "TRMRI06002";
- oParam.service = "recmngtapp.MdfRecMngt";
- oParam.method = "reqGetMdfRecCnt";
- oParam.inds = "req=ds_cond_TRMRI06002";
- oParam.outds = "ds_data_TRMRI06002=mdfreccnt";
- oParam.async = false;
- tranf_submit(oParam);
- if( ds_data_TRMRI06002.getColumn(0, "cnt") > 0 ){
- var rtn = sysf_messageBox("신청한 이력이 존재합니다.\n상세 신청내용 확인", "S001");
- if( rtn == 6 ){
- frmf_setParameter("SPMRI06000_param_gubun", "appDup");
- frmf_modal("SPMRI06000", "SPMRI06000", null, null, null, null, null, null, null, null, null, null, "M");
- frmf_clearParameter("SPMRI06000_param_gubun");
- }
- return;
- }
- }
- lf_getChkRecCorrect("Y");
- }
- /****************************************************************************************
- * Argument : N/A
- * Description : 정정대상 하단 알림 표시
- ****************************************************************************************/
- function lf_DisplayBottomNotice() {
-
-
- var gNoticeFlag = ds_data_reccorrent_info.getColumn(0, "activeyn");
- var gNotice = "인증저장(삭제)시 정정사유 입력 후 진행됩니다. 문의:의무기록실";
- var ioflag = fGetFormRec("chosioflag");
- if( utlf_isNull(ioflag) ){
- ioflag = fGetFormRec("chosflag");
- }
-
- // 00. 애니메이션 정지
- pAnim_notice_1.stop();
- grup_btn.btn_app.sendToBack();
-
- // 01. 상태에 따른 애니메이션 시작 종료
- if(gNoticeFlag == "M" || gNoticeFlag == "Y") {
- if( lgv_MdfRecNo == null ){
-
- var nRight = 0;
- if( gNoticeFlag == "M" ){
- gNotice = "[사본발급기록]정정신청 절차가 진행됩니다. 문의:의무기록팀";
-
- if( fGetFormRec("status") == "U" && fGetFormRec("espiyn") == "N" ){
- nRight = grup_btn.btn_tmpsave.position.left -3 ;
- }else{
- nRight = grup_btn.btn_del.position.left - 3; // btn.app
- }
-
- }else{
- if( ioflag == "O" ){
- nRight = grup_btn.btn_signsaveasnew.position.left -3 ;
- }else{
- // [요청번호:20190107033] 입원(응급실)기록 정정화면 내 임시저장 버튼 추가 요청 btn_signsave
- nRight = grup_btn.btn_tmpsave.position.left -3 ;
- }
- }
-
- grup_btn.stt_notice_1.position.left = grup_btn.position.left;
- grup_btn.stt_notice_1.position.right = nRight;
- grup_btn.stt_notice_3.position.right = nRight;
- grup_btn.stt_notice_1.visible = true;
- grup_btn.stt_notice_3.visible = true;
- grup_btn.stt_notice_1.text = gNotice;
-
-
- if( ioflag == "O" && gNoticeFlag != "M"){
- pAnim_notice_1.fromvalue = nRight;
- pAnim_notice_1.tovalue = grup_btn.position.left - (grup_btn.stt_notice_1.position.width * 2);
- pAnim_notice_1.run();
- }
-
- }else{
- grup_btn.stt_notice_1.visible = false;
- grup_btn.stt_notice_3.visible = false;
- }
- } else {
- grup_btn.stt_notice_1.visible = false;
- grup_btn.stt_notice_3.visible = false;
- }
- }
- function lf_getEspiseq()
- {
- if( this.objects["ds_data_formrec"] != null ) {
- var espiseq = ds_data_formrec.getColumn(0,"espiseq");
- var formrecseq = ds_data_formrec.getColumn(0,"formrecseq");
- }
- if( frmf_isPopupRec() )// SPMMR01000 및 popup화면에서 실행 시 필요
- { // 팝업화면에서 로더 오픈 시
- objForm = this.getOwnerFrame().form;
- parentDS = objForm.objects["ds_cond_formdata"];
- if(utlf_isNull(parentDS)) {
- if( !utlf_isNull(opener) ) parentDS = opener.objects["ds_cond_formdata"];
- dsf_makeValue(parentDS, "espiseq", null, utlf_transNullToEmpty(espiseq));
- dsf_makeValue(parentDS, "formrecseq", null, utlf_transNullToEmpty(formrecseq));
- }
-
- }
- }
- function grup_titl_Button00_ondblclick(obj:Button, e:MouseEventInfo)
- {
- var currentTime = utlf_getCurrentTime().substr(0,4);
- ds_data_formrec.setColumn(0,"formrechm",currentTime);
- }
- ]]></Script>
- </Form>
- </FDL>
|