123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO03200" classname="SPMMO03200" inheritanceid="" position="absolute 0 0 952 589" titletext="진단팝업" onload="SPMMO03200_onload">
- <Layouts>
- <Layout>
- <Tab id="tab_indexlist" taborder="0" position2="absolute l:0 w:315 t:18 h:548" positiontype="position2" tabindex="0" scrollbars="autoboth" onchanged="tab_indexlist_onchanged" tabjustify="false" tabposition="top">
- <Tabpages>
- <Tabpage id="tab_icd10" text="ICD10색인">
- <Layouts>
- <Layout>
- <Grid id="trv_icd10indxcdlist" taborder="0" useinputpanel="false" position2="absolute l:0 w:315 t:0 h:521" positiontype="position2" binddataset="ds_indxcdlist" treeusecheckbox="false" autosizingtype="col" useselcolor="true" fillareatype="none" userdata="0" selecttype="treecell" cantreestatuschange="tab_indexlist_tab_icd10_trv_icd10indxcdlist_cantreestatuschange" oncellclick="tab_indexlist_tab_icd10_trv_icd10indxcdlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="316"/>
- </Columns>
- <Rows>
- <Row size="22"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:hngnm" treelevel="bind:levl"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_deptindx" text="과색인" style="anchor:default;margin:5 0 0 0;">
- <Layouts>
- <Layout>
- <Grid id="Grid00" taborder="0" useinputpanel="false" position2="absolute l:0 w:315 t:0 h:521" positiontype="position2">
- <Formats/>
- </Grid>
- <Grid id="trv_deptindxcdlist" taborder="1" binddataset="ds_deptindxcdlist" useinputpanel="false" treeusecheckbox="false" position2="absolute l:0 w:315 t:0 h:521" positiontype="position2" treeinitstatus="expand,null" userdata="0" selecttype="treecell" cantreestatuschange="tab_indexlist_tab_deptindx_trv_deptindxcdlist_cantreestatuschange" oncellclick="tab_indexlist_tab_deptindx_trv_deptindxcdlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="316"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:deptindxnm" treelevel="bind:levl"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_prms" text="개인SET">
- <Layouts>
- <Layout>
- <Grid id="trv_prmsprcpsetlist" taborder="0" binddataset="ds_prmsprcpsetlist" useinputpanel="false" treeusecheckbox="false" treeinitstatus="expand,null" position2="absolute l:0 w:315 t:0 h:521" positiontype="position2" selecttype="treecell" cantreestatuschange="tab_indexlist_tab_prms_trv_prmsprcpsetlist_cantreestatuschange" oncellclick="tab_indexlist_tab_prms_trv_prmsprcpsetlist_oncellclick" userdata="0">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="316"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:setnm" treelevel="bind:levl"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_snwhist" text="상병력">
- <Layouts>
- <Layout>
- <Grid id="grd_snwhistinfo" taborder="0" useinputpanel="false" position="absolute 1 2 314 521" binddataset="ds_main_snwhistlist" oncelldblclick="tab_indexlist_tab_snwhist_grd_snwhistinfo_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="85"/>
- <Column size="55"/>
- <Column size="80"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진료과"/>
- <Cell col="1" text="진료의"/>
- <Cell col="2" text="진단코드"/>
- <Cell col="3" text="영문명"/>
- <Cell col="4" text="한글명"/>
- <Cell col="5" text="dispdiagcd"/>
- <Cell col="6" text="orgdiagcd"/>
- <Cell col="7" text="최초진단일"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:deptnm"/>
- <Cell col="1" text="bind:orddrnm"/>
- <Cell col="2" text="bind:dispdiagcd"/>
- <Cell col="3" style="align:left middle;" text="bind:diagengnm"/>
- <Cell col="4" style="align:left middle;" text="bind:diaghngnm"/>
- <Cell col="5" text="bind:dispdiagcd"/>
- <Cell col="6" text="bind:orgdiagcd"/>
- <Cell col="7" text="bind:fstrgstdd" mask="####-##-##"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tab_multifreq" text="다빈도">
- <Layouts>
- <Layout>
- <Grid id="grd_multifreq" taborder="0" useinputpanel="false" position="absolute 1 2 314 519" binddataset="ds_main_multifreqlist" oncelldblclick="tab_indexlist_tab_multifreq_grd_multifreq_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="91"/>
- <Column size="178"/>
- <Column size="200"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진단코드"/>
- <Cell col="1" text="영문명"/>
- <Cell col="2" text="한글명"/>
- <Cell col="3"/>
- <Cell col="4"/>
- <Cell col="5"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:diagcd"/>
- <Cell col="1" style="align:left middle;" text="bind:diagengnm"/>
- <Cell col="2" style="align:left middle;" text="bind:diaghngnm"/>
- <Cell col="3" text="bind:spclinfo"/>
- <Cell col="4" text="bind:icd10cd"/>
- <Cell col="5" text="bind:dispdiagcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Shape id="Shape06" type="rectangle" class="shp_search" position="absolute 319 8 951 38" anchor="default"/>
- <Grid id="grd_diaglist" taborder="1" useinputpanel="false" position2="absolute l:319 w:633 t:46 h:324" positiontype="position2" binddataset="ds_diagcdlist" oncelldblclick="grd_diaglist_oncelldblclick" autosizingtype="row" areaselecttype="limitband" autofitminheight="100" cellsizingtype="col" autosizemergetype="nomerge" extendsizetype="none" enableevent="true" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="120"/>
- <Column size="215"/>
- <Column size="215"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="진단코드"/>
- <Cell col="2" text="영문명"/>
- <Cell col="3" text="한글명"/>
- <Cell col="4" text="경증"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk"/>
- <Cell col="1" style="align:left;padding:0 0 0 10;" text="bind:diagcd"/>
- <Cell col="2" style="align:left;padding:0 0 0 10;" text="bind:diagengnm" wordwrap="none" autosizerow="limitmin"/>
- <Cell col="3" style="align:left;padding:0 0 0 10;" text="bind:diaghngnm"/>
- <Cell col="4" text="bind:lightcase"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_savediag" taborder="3" text="등록" onclick="btn_savediag_onclick" class="btn4" position="absolute 845 569 898 589"/>
- <Button id="btn_diagcncl" taborder="4" text="취소" onclick="btn_diagcncl_onclick" class="btn4" position="absolute 899 569 952 589"/>
- <Button id="button2" taborder="5" text="진단추가" class="btn2" position="absolute 883 373 952 393" onclick="button2_onclick"/>
- <Button id="btn_req" taborder="6" text="조회" position="absolute 882 13 935 33" onclick="btn_req_onclick" class="btn1"/>
- <Static id="stt_search1" text="검색어 :" class="tit_3" position="absolute 334 14 406 34"/>
- <Edit id="input1" taborder="7" class="edt_n" position2="absolute l:411 w:284 t:13 h:20" positiontype="position2" onkeydown="input1_onkeydown" autoselect="true"/>
- <CheckBox id="bool1" taborder="8" text="전체" position2="absolute l:700 w:46 t:13 h:20" positiontype="position2"/>
- <Button id="btn_expand" taborder="9" class="btn_MonthP" position="absolute 324 49 344 69" onclick="btn_expand_onclick"/>
- <Grid id="grd_selectdiag" taborder="10" binddataset="ds_selectdiaglist" useinputpanel="false" position2="absolute l:320 w:632 t:407 h:159" positiontype="position2" onrbuttondown="grd_selectdiag_onrbuttondown" selecttype="row" cellsizingtype="col" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120"/>
- <Column size="230"/>
- <Column size="230"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진단코드"/>
- <Cell col="1" text="영문명"/>
- <Cell col="2" text="한글명"/>
- <Cell col="3" text="경증"/>
- </Band>
- <Band id="body">
- <Cell style="align:left;padding:0 0 0 10;" text="bind:diagcd"/>
- <Cell col="1" style="align:left;padding:0 0 0 10;" text="bind:diagengnm"/>
- <Cell col="2" style="align:left;padding:0 0 0 10;" text="bind:diaghngnm"/>
- <Cell col="3" text="bind:lightcase"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Splitter id="spt_div0" max="318" type="horizontal" position="absolute 316 8 318 566" style="background:lightslategray;" min="1" enable="true" visible="true">
- <Formats>
- <Format id="default">
- <SplitterItems id="items">
- <SplitterItem id="item01" componentid="tab_indexlist" bindtype="resize" position="leftortop" offset="1"/>
- <SplitterItem id="item00" bindtype="resize" position="rightorbottom" offset="1" componentid="grd_diaglist"/>
- <SplitterItem id="item02" bindtype="resize" position="rightorbottom" offset="1" componentid="grd_selectdiag"/>
- <SplitterItem id="item03" bindtype="resize" position="rightorbottom" offset="1" componentid="spt_div1"/>
- <SplitterItem id="item04" bindtype="resize" position="rightorbottom" offset="1" componentid="spt_div2"/>
- <SplitterItem id="item05" bindtype="move" position="rightorbottom" offset="7" componentid="btn_expand"/>
- <SplitterItem id="item06" bindtype="resize" position="rightorbottom" offset="1" componentid="Shape06"/>
- <SplitterItem id="item07" bindtype="move" position="rightorbottom" offset="15" componentid="stt_search1"/>
- <SplitterItem id="item08" bindtype="resize" position="rightorbottom" offset="92" componentid="input1"/>
- <SplitterItem id="item09" bindtype="move" position="rightorbottom" offset="3" componentid="stt_title1"/>
- </SplitterItems>
- </Format>
- </Formats>
- </Splitter>
- <Static id="stt_title1" text="선택진단" class="tit_2" position="absolute 319 388 519 408"/>
- </Layout>
- </Layouts>
- <Bind/>
- <Objects>
- <Dataset id="ds_indxcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="levl" type="STRING" size="256" sumtext="레벨"/>
- <Column id="indxcd" type="STRING" size="256" sumtext="index코드"/>
- <Column id="upindxcd" type="STRING" size="256" sumtext="상위index코드"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="index한글명"/>
- <Column id="engnm" type="STRING" size="256" sumtext="index영문명"/>
- </ColumnInfo>
- <Rows/>
- </Dataset>
- <Dataset id="ds_deptindxcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="levl" type="STRING" size="256" sumtext="level값"/>
- <Column id="deptcd" type="STRING" size="256" sumtext="부서코드"/>
- <Column id="deptindxcd" type="STRING" size="256" sumtext="부서index코드"/>
- <Column id="deptupindxcd" type="STRING" size="256" sumtext="부서상위index코드"/>
- <Column id="deptindxnm" type="STRING" size="256" sumtext="부서index명"/>
- </ColumnInfo>
- <Rows/>
- </Dataset>
- <Dataset id="ds_prmsprcpsetlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="levl" type="INT" size="256" sumtext="level값"/>
- <Column id="setno" type="STRING" size="256" sumtext="set번호"/>
- <Column id="settypecd" type="STRING" size="256" sumtext="set종류코드"/>
- <Column id="supsetno" type="STRING" size="256" sumtext="상위set번호"/>
- <Column id="setkindcd" type="STRING" size="256" sumtext="set종류코드"/>
- <Column id="setclscd" type="STRING" size="256" sumtext="set분류코드"/>
- <Column id="settrgtcd" type="STRING" size="256" sumtext="대상코드(과,개인)"/>
- <Column id="prtlno" type="STRING" size="256" sumtext="프로토콜번호"/>
- <Column id="setnm" type="STRING" size="256" sumtext="set명"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="외래입원구분"/>
- <Column id="setrefseq" type="STRING" size="256" sumtext="순서"/>
- </ColumnInfo>
- <Rows/>
- </Dataset>
- <Dataset id="ds_diagcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="diagdd" type="STRING" size="256" sumtext="진단일자"/>
- <Column id="diagno" type="STRING" size="256" sumtext="진단번호"/>
- <Column id="diaghistno" type="STRING" size="256" sumtext="진단이력번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
- <Column id="genrflagcd" type="STRING" size="256" sumtext="발생구분코드"/>
- <Column id="diaghistcd" type="STRING" size="256" sumtext="진단이력코드"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
- <Column id="diagtypecd" type="STRING" size="256" sumtext="진단형태코드"/>
- <Column id="diagkindcd" type="STRING" size="256" sumtext="진단종류코드"/>
- <Column id="diagkindcdflag" type="STRING" size="256" sumtext="진단종류코드구분"/>
- <Column id="anamneflag" type="STRING" size="256" sumtext="기왕증구분"/>
- <Column id="tootflagcd" type="STRING" size="256" sumtext="치식구분코드"/>
- <Column id="diagsignflag" type="STRING" size="256" sumtext="진단서명구분"/>
- <Column id="tootfact" type="STRING" size="256" sumtext="치식사항"/>
- <Column id="diagengnm" type="STRING" size="256" sumtext="진단영문명"/>
- <Column id="diaghngnm" type="STRING" size="256" sumtext="진단한글명"/>
- <Column id="icd10cd" type="STRING" size="256" sumtext="ICD10코드"/>
- <Column id="spclinfo" type="STRING" size="256" sumtext="특례정보"/>
- <Column id="dispdiagcd" type="STRING" size="256" sumtext="전시진단코드"/>
- <Column id="orgdiagengnm" type="STRING" size="256" sumtext="원진단영문명"/>
- <Column id="orgdiaghngnm" type="STRING" size="256" sumtext="원진단한글명"/>
- <Column id="status" type="STRING" size="256" sumtext="처리구분"/>
- <Column id="lightcase" type="STRING" size="256" sumtext="경증정보"/>
- </ColumnInfo>
- <Rows/>
- </Dataset>
- <Dataset id="ds_selectdiaglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="diagdd" type="STRING" size="256" sumtext="진단일자"/>
- <Column id="diagno" type="STRING" size="256" sumtext="진단번호"/>
- <Column id="diaghistno" type="STRING" size="256" sumtext="진단이력번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의ID"/>
- <Column id="genrflagcd" type="STRING" size="256" sumtext="발생구분코드"/>
- <Column id="diaghistcd" type="STRING" size="256" sumtext="진단이력코드"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
- <Column id="diagtypecd" type="STRING" size="256" sumtext="진단형태코드"/>
- <Column id="diagkindcd" type="STRING" size="256" sumtext="진단종류코드"/>
- <Column id="diagkindcdflag" type="STRING" size="256" sumtext="진단종류코드구분"/>
- <Column id="anamneflag" type="STRING" size="256" sumtext="기왕증구분"/>
- <Column id="tootflagcd" type="STRING" size="256" sumtext="치식구분코드"/>
- <Column id="diagsignflag" type="STRING" size="256" sumtext="진단서명구분"/>
- <Column id="tootfact" type="STRING" size="256" sumtext="치식사항"/>
- <Column id="diagengnm" type="STRING" size="256" sumtext="진단영문명"/>
- <Column id="diaghngnm" type="STRING" size="256" sumtext="진단한글명"/>
- <Column id="icd10cd" type="STRING" size="256" sumtext="ICD10코드"/>
- <Column id="spclinfo" type="STRING" size="256" sumtext="특례정보"/>
- <Column id="dispdiagcd" type="STRING" size="256" sumtext="전시진단코드"/>
- <Column id="orgdiagengnm" type="STRING" size="256" sumtext="원진단영문명"/>
- <Column id="orgdiaghngnm" type="STRING" size="256" sumtext="원진단한글명"/>
- <Column id="status" type="STRING" size="256" sumtext="처리구분"/>
- <Column id="lightcase" type="STRING" size="256" sumtext="경증정보"/>
- </ColumnInfo>
- <Rows/>
- </Dataset>
- <PropertyAnimation id="pani00" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
- <CompositeAnimation id="cani" duration="0" starttime="0"/>
- <PropertyAnimation id="pani01" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indxflag" type="STRING" size="256" sumtext="indx구분"/>
- <Column id="deptindxflag" type="STRING" size="256"/>
- <Column id="setkindcd" type="STRING" size="256"/>
- <Column id="setclscd" type="STRING" size="256"/>
- <Column id="settypecd" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="icd10indxcd" type="STRING" size="256"/>
- <Column id="deptindxcd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="setno" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="srchdata" type="STRING" size="256"/>
- <Column id="cond1" type="STRING" size="256"/>
- <Column id="cond2" type="STRING" size="256"/>
- <Column id="cond3" type="STRING" size="256"/>
- <Column id="cond4" type="STRING" size="256"/>
- <Column id="cond5" type="STRING" size="256"/>
- <Column id="settrgtcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_multifreqlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
- <Column id="diagengnm" type="STRING" size="256" sumtext="진단영문명"/>
- <Column id="diaghngnm" type="STRING" size="256" sumtext="진단한글명"/>
- <Column id="spclinfo" type="STRING" size="256" sumtext="특례정보"/>
- <Column id="icd10cd" type="STRING" size="256" sumtext="특례정보"/>
- <Column id="dispdiagcd" type="STRING" size="256" sumtext="특례정보"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_snwhistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptnm" type="STRING" size="256" sumtext="부서명"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의명"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
- <Column id="diagengnm" type="STRING" size="256" sumtext="진단영문명"/>
- <Column id="diaghngnm" type="STRING" size="256" sumtext="진단한글명"/>
- <Column id="fstrgstdd" type="STRING" size="256" sumtext="최초등록일"/>
- <Column id="orgdiagcd" type="STRING" size="256" sumtext="원진단코드"/>
- <Column id="dispdiagcd" type="STRING" size="256" sumtext="display진단코드"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KNUH2.0
- * Job Name : EMR
- * File Name : SPMMO03200_진단팝업.xfdl
- * Creator : 노회식
- * Make Date : 2014-08-05
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-08-05 DBS Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
-
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "emr_prcpmngtxp::SPMMO03200.xjs"
- //include "emr_prcpmngtxp::MMO001.xjs"
- //include "emr_prcpmngtxp::MMOCommon.xjs"
- //include "com_commodulexp::SSZFM00401.xjs"
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Components ID : SPMMO03200
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 로드시 초기화 함수 실행
- ****************************************************************************************/
- function SPMMO03200_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
- fInitialize_SPMMO03200();
- //lf_commoduleDataSetShow(); //DataSet 조회
- // sysf_trace(opener.frmf_getScreenID());
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_diaglist
- * Event : oncelldblclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 진단 더블클릭으로 선택한 진단 항목으로 이동
- ****************************************************************************************/
- function grd_diaglist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row > -1) {
- fAddDiag();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 체크박스 선택으로 선택한 진단 항목으로 일괄 이동
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fAppendDiagCD();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_expand
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 그리드 확장/이동 버튼 애니메이션
- ****************************************************************************************/
- function btn_expand_onclick(obj:Button, e:ClickEventInfo)
- {
- fCtrlSizeDiagList();
- }
- /****************************************************************************************
- * Components : Tab
- * Components ID : tab_indexlist
- * Event : onchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 탭선택 했을때 조회 동작
- ****************************************************************************************/
- function tab_indexlist_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex==0) {
- // ICD10 Index조회
- fReqGetIndxList();
- } else if(e.postindex==1) {
- // 과색인조회
- fReqGetDeptIndxList();
- } else if(e.postindex==2) {
- // 개인SET조회
- fReqGetPrmsDiagSETList();
- } else if (e.postindex==3) {
- // 상병력
- fReqGetSnwhistlist();
- } else if (e.postindex==4) {
- // 다빈도
- fReqGetMultifreqlist();
- }
-
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_indxcdlist
- * Event : onrowposchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : ICD10색인 을 누질러 처방 검색
- ****************************************************************************************/
- function ds_indxcdlist_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
- {
- if(obj.getColumn(e.newrow, "levl") > 1){
- fReqGetICD10CDList();
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_deptindxcdlist
- * Event : onrowposchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 과색인 선택시 진단 조회
- ****************************************************************************************/
- function ds_deptindxcdlist_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
- {
- if(!utlf_isNull(obj.getColumn(e.newrow, "deptindxcd"))){
- fReqGetDeptIndxCDList();
- }
- }
- /****************************************************************************************
- * Components : Dataset
- * Components ID : ds_prmsprcpsetlist
- * Event : onrowposchanged
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 개인 처방 선택지 진단 조회
- ****************************************************************************************/
- function ds_prmsprcpsetlist_onrowposchanged(obj:Dataset, e:DSRowPosChangeEventInfo)
- {
- if(!utlf_isNull(obj.getColumn(e.newrow, "setno"))){
- fReqGetPrmsDiagList();
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_req
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 조회버튼 클릭
- ****************************************************************************************/
- function btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- var chkValue = bool1.value;
- if(chkValue == "1"){
- fReqGetTermDiagSrch()
- }else{
- if(tab_indexlist.tabindex == 0){//진단용어 전체검색
- fReqGetTermDiagSrch();
- }else if(tab_indexlist.tabindex == 1){//과색인에서만 조회
- fReqGetDeptIndxSrch();
- }else if(tab_indexlist.tabindex == 2){//개인SET에서만 조회
- fReqGetPrmsDiagSETSrch();
- }
- }
- }
- /****************************************************************************************
- * Components : Edit
- * Components ID : input1
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : Enter키로 조건검색
- ****************************************************************************************/
- function input1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == "13"){
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("btn_req", "onclick", ev );
- }
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_diagcncl
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 화면 닫기
- ****************************************************************************************/
- function btn_diagcncl_onclick(obj:Button, e:ClickEventInfo)
- {
- if(frmf_checkOpener()){
- opener.frmf_setParameter("SPMMO03200_rtn_useyn", "N");
- }else{
- sysf_messageBox("상위화면이 변경되어 데이터를 전달","E001");
- }
- //frmf_setParameter("SPMMO03200_rtn_useyn", "N");
- this.close();
- }
- /****************************************************************************************
- * Components : Button
- * Components ID : btn_savediag
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 검색 정보 전송후 화면 닫기
- ****************************************************************************************/
- function btn_savediag_onclick(obj:Button, e:ClickEventInfo)
- {
- fSendDiagCDList();
- }
- /****************************************************************************************
- * Components : Grid
- * Components ID : grd_selectdiag
- * Event : onrbuttondown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description : 마우스 우클릭으로 팝업메뉴 뛰움
- ****************************************************************************************/
- function grd_selectdiag_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row > -1) {
- ds_selectdiaglist.rowposition = e.row;
- grd_selectdiag.setCellPos(e.cell);
- pmn_selectdiaglist.trackPopup(e.screenX,e.screenY);
- }
- }
- function tab_indexlist_tab_prms_trv_prmsprcpsetlist_cantreestatuschange(obj:Grid, e:GridTreeStatusEventInfo)
- {
- obj.userdata = 1;
- }
- function tab_indexlist_tab_prms_trv_prmsprcpsetlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // icon으로 tree를 컨트롤 하는 경우는 여기를 태우지 않는다.
- if(obj.userdata == 1) {
- obj.userdata = 0;
- return;
- }
-
- var row = obj.getTreeRow(e.row);
- if(obj.getTreeStatus(row) == 0)
- obj.setTreeStatus(row, true);
- else if(obj.getTreeStatus(row) == 1)
- obj.setTreeStatus(row, false);
-
- obj.userdata = 0;
-
- fReqGetPrmsDiagList(); //약속SET 선택시 진단 조회
- }
- function tab_indexlist_tab_deptindx_trv_deptindxcdlist_cantreestatuschange(obj:Grid, e:GridTreeStatusEventInfo)
- {
- obj.userdata = 1;
- }
- function tab_indexlist_tab_deptindx_trv_deptindxcdlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // icon으로 tree를 컨트롤 하는 경우는 여기를 태우지 않는다.
- if(obj.userdata == 1) {
- obj.userdata = 0;
- return;
- }
-
- var row = obj.getTreeRow(e.row);
- if(obj.getTreeStatus(row) == 0)
- obj.setTreeStatus(row, true);
- else if(obj.getTreeStatus(row) == 1)
- obj.setTreeStatus(row, false);
-
- obj.userdata = 0;
-
- fReqGetDeptIndxCDList(); //과색인 선택시 진단 조회
- }
- function tab_indexlist_tab_icd10_trv_icd10indxcdlist_cantreestatuschange(obj:Grid, e:GridTreeStatusEventInfo)
- {
- obj.userdata = 1;
- }
- function tab_indexlist_tab_icd10_trv_icd10indxcdlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- // icon으로 tree를 컨트롤 하는 경우는 여기를 태우지 않는다.
- if(obj.userdata == 1) {
- obj.userdata = 0;
- return;
- }
-
- var row = obj.getTreeRow(e.row);
- if(obj.getTreeStatus(row) == 0)
- obj.setTreeStatus(row, true);
- else if(obj.getTreeStatus(row) == 1)
- obj.setTreeStatus(row, false);
-
- obj.userdata = 0;
-
- fReqGetICD10CDList(); //ICD10색인 선택시 진단 조회
- }
- function tab_indexlist_tab_snwhist_grd_snwhistinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- var currow = e.row;
- var diagcd = ds_main_snwhistlist.getColumn(currow, "orgdiagcd");
-
- dsf_createDsRow("ds_send_reqdata", [{col:"cond1", type:"string", size:256, val:1} //코드로 조회
- ,{col:"cond2", type:"string", size:256, val:1} //코드로 조회
- ,{col:"cond3", type:"string", size:256, val:"E"}
- ,{col:"cond4", type:"string", size:256, val:utlf_getCurrentDate()}
- ,{col:"cond5", type:"string", size:256, val:diagcd}]);
-
- var oParam = {};
- oParam.id = "TRMMO03103";
- oParam.service = "prcpmngtapp.PatDiagMngt";
- oParam.method = "reqGetDiagTermSrch";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_diagcdlist=diagcdlist";
- oParam.async = true;
- oParam.callback = "cf_TRMMO03103";
- tranf_submit(oParam); // 코드로 검색 하여 결과가 있으면 바로 진단 내역으로 추가 한다.
- }
- function tab_indexlist_tab_multifreq_grd_multifreq_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- var currow = e.row;
- var diagcd = ds_main_multifreqlist.getColumn(currow, "diagcd");
-
- dsf_createDsRow("ds_send_reqdata", [{col:"cond1", type:"string", size:256, val:1} //코드로 조회
- ,{col:"cond2", type:"string", size:256, val:1} //코드로 조회
- ,{col:"cond3", type:"string", size:256, val:"E"}
- ,{col:"cond4", type:"string", size:256, val:utlf_getCurrentDate()}
- ,{col:"cond5", type:"string", size:256, val:diagcd}]);
-
- var oParam = {};
- oParam.id = "TRMMO03103";
- oParam.service = "prcpmngtapp.PatDiagMngt";
- oParam.method = "reqGetDiagTermSrch";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_diagcdlist=diagcdlist";
- oParam.async = true;
- oParam.callback = "cf_TRMMO03103";
- tranf_submit(oParam); // 코드로 검색 하여 결과가 있으면 바로 진단 내역으로 추가 한다.
- }
- function cf_TRMMO03103(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- cf_diagcdlist();
- fAddDiag();
- }
- ]]></Script>
- </Form>
- </FDL>
|