123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMR08100" position="absolute 0 0 1210 1409" titletext="간질환 환자관리" onload="SPMMR08100_onload" oninit="SPMMR08100_oninit" scrollbars="fixedboth">
- <Layouts>
- <Layout>
- <Tab position="absolute 0 45 1185 1328" id="switch1">
- <Tabpages>
- <Tabpage id="case1" text="환자목록">
- <Layouts>
- <Layout>
- <Grid id="grd_liver" taborder="2" binddataset="ds_grd_liver" useinputpanel="false" oncelldblclick="switch1_case1_grd_liver_oncelldblclick" position="absolute 0 35 1180 1235">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="65"/>
- <Column size="60"/>
- <Column size="34"/>
- <Column size="70"/>
- <Column size="241"/>
- <Column size="190"/>
- <Column size="181"/>
- <Column size="303"/>
- </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="부진단명"/>
- <Cell col="6" text="Study Name"/>
- <Cell col="7" text="COMMENT"/>
- </Band>
- <Band id="body" style="cellalign:left middle;">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" text="bind:sex"/>
- <Cell col="3" text="bind:brthdd" mask="####/##/##"/>
- <Cell col="4" text="bind:maindiagnm"/>
- <Cell col="5" text="bind:subdiagnm"/>
- <Cell col="6" text="bind:subnm"/>
- <Cell col="7" text="bind:comments"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="ㅏ" text="구분 :" class="search_name" position="absolute 165 8 225 25"/>
- <Static id="caption15" text="주진단명 :" class="search_name" position="absolute 420 8 506 25"/>
- <Static id="caption16" text="부진단명 :" class="search_name" position="absolute 615 8 701 25"/>
- <Static id="caption17" text="등록일자 :" class="search_name" position="absolute 815 8 901 25"/>
- <Edit id="ipt_pid" taborder="3" position="absolute 90 10 160 29"/>
- <Radio id="radio2" taborder="4" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 225 6 420 26">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">A</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- <Row>
- <Col id="codecolumn">E</Col>
- <Col id="datacolumn">응급</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Edit id="input1" taborder="5" position="absolute 505 10 610 29"/>
- <Edit id="input2" taborder="6" position="absolute 700 10 810 29"/>
- <Calendar id="ipt_formrecdtfr" taborder="7" position="absolute 907 10 997 29"/>
- <Calendar id="ipt_formrecdtto" taborder="8" position="absolute 1015 10 1105 29"/>
- <Static id="caption18" text="환자번호 :" class="search_name" position="absolute 5 8 91 25"/>
- <Static id="caption21" text="~" position="absolute 1000 10 1015 30"/>
- <Button id="button3" taborder="9" text="조회" onclick="switch1_case1_button3_onclick" class="btn1" position="absolute 1115 8 1171 30"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="상세보기">
- <Layouts>
- <Layout>
- <Div id="group1" taborder="1" position="absolute 30 250 1165 385">
- <Layouts>
- <Layout>
- <Grid id="grd_testresult1" taborder="1" binddataset="ds_grd_testresult1" useinputpanel="false" position="absolute 0 0 1135 45" onrbuttondown="switch1_case2_group1_grd_testresult1_onrbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="96"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="항 목"/>
- <Cell col="1" text="WBC"/>
- <Cell col="2" text="RBC"/>
- <Cell col="3" text="Hb"/>
- <Cell col="4" text="Plt"/>
- <Cell col="5" text="ANC"/>
- <Cell col="6" text="AST(GOT)"/>
- <Cell col="7" text="ALT(GPT)"/>
- <Cell col="8" text="Alb"/>
- <Cell col="9" text="T. bil"/>
- <Cell col="10" text="ALP"/>
- <Cell col="11" text="GGT"/>
- <Cell col="12" text="PT(INR)"/>
- </Band>
- <Band id="body">
- <Cell style="align:left middle;" text="bind:bcolldt" mask="####-##-##"/>
- <Cell col="1" style="align:left middle;" text="bind:wbc"/>
- <Cell col="2" style="align:left middle;" text="bind:rbc"/>
- <Cell col="3" style="align:left middle;" text="bind:hb"/>
- <Cell col="4" style="align:left middle;" text="bind:plt"/>
- <Cell col="5" style="align:left middle;" text="bind:anc"/>
- <Cell col="6" style="align:left middle;" text="bind:ast"/>
- <Cell col="7" style="align:left middle;" text="bind:alt"/>
- <Cell col="8" style="align:left middle;" text="bind:alb"/>
- <Cell col="9" style="align:left middle;" text="bind:tbil"/>
- <Cell col="10" style="align:left middle;" text="bind:alp"/>
- <Cell col="11" style="align:left middle;" text="bind:ggt"/>
- <Cell col="12" style="align:left middle;" text="bind:pt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_testresult2" taborder="2" binddataset="ds_grd_testresult2" useinputpanel="false" position="absolute 0 45 1135 90">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="73"/>
- <Column size="70"/>
- <Column size="75"/>
- <Column size="69"/>
- <Column size="73"/>
- <Column size="101"/>
- <Column size="102"/>
- <Column size="116"/>
- <Column size="97"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="항 목"/>
- <Cell col="1" text="HBV -cop/ml"/>
- <Cell col="2" text="HBV -pg/ml"/>
- <Cell col="3" text="HBV -IU/ml"/>
- <Cell col="4" text="HBe Ag"/>
- <Cell col="5" text="HBe Ab"/>
- <Cell col="6" text="HBs Ag"/>
- <Cell col="7" text="HBs Ab"/>
- <Cell col="8" text="YMDD"/>
- <Cell col="9" text="HCV RNA 정량"/>
- <Cell col="10" text="HCV RNA 정성"/>
- <Cell col="11" text="HCV-genotyping"/>
- <Cell col="12" text="HCV Ab"/>
- </Band>
- <Band id="body" style="cellalign:left middle;">
- <Cell text="bind:bcolldt" mask="####-##-##"/>
- <Cell col="1" text="bind:hcop"/>
- <Cell col="2" text="bind:hpg"/>
- <Cell col="3" text="bind:hiu"/>
- <Cell col="4" text="bind:hbeag"/>
- <Cell col="5" text="bind:hbeab"/>
- <Cell col="6" text="bind:hbsag"/>
- <Cell col="7" text="bind:hbsab"/>
- <Cell col="8" text="bind:ymdd"/>
- <Cell col="9" text="bind:hcv1"/>
- <Cell col="10" text="bind:hcv2"/>
- <Cell col="11" text="bind:hcvg"/>
- <Cell col="12" text="bind:hcvab"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_testresult3" taborder="3" binddataset="ds_grd_testresult3" useinputpanel="false" position="absolute 0 90 1135 135">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="83"/>
- <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="항 목"/>
- <Cell col="1" text="AFP"/>
- <Cell col="2" text="PIVKA"/>
- <Cell col="3" text="CEA"/>
- <Cell col="4" text="CA 19-9"/>
- </Band>
- <Band id="body" style="cellalign:left middle;">
- <Cell text="bind:bcolldt" mask="####-##-##"/>
- <Cell col="1" text="bind:afp"/>
- <Cell col="2" text="bind:pivka"/>
- <Cell col="3" text="bind:cea"/>
- <Cell col="4" text="bind:ca"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption9" text="환 자 명 :" class="search_name" position="absolute 15 10 105 27"/>
- <Edit id="output1" taborder="2" readonly="true" position="absolute 100 9 170 28"/>
- <Edit id="output2" taborder="3" readonly="true" position="absolute 280 9 350 28"/>
- <Static id="caption1" text="환자번호 :" class="search_name" position="absolute 190 10 280 27"/>
- <Static id="caption3" text="주민등록 번호 :" class="search_name" position="absolute 370 10 487 27"/>
- <Edit id="output3" taborder="4" readonly="true" position="absolute 490 9 640 28"/>
- <Static id="caption4" text="성별/나이 :" class="search_name" position="absolute 665 10 782 27"/>
- <Edit id="output4" taborder="5" readonly="true" position="absolute 760 9 810 28"/>
- <Static id="caption5" text="연구 제목" class="search_name" position="absolute 15 115 132 132"/>
- <Grid id="datagrid1" taborder="6" binddataset="ds_datagrid1" useinputpanel="false" position="absolute 30 135 1165 225">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="1096"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="진행 중인 연구 제목 및 히스토리"/>
- </Band>
- <Band id="body">
- <Cell text="bind:subnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption6" text="혈액학적 검사" class="search_name" position="absolute 15 230 132 247"/>
- <Static id="caption7" text="투약관리" class="search_name" position="absolute 15 395 132 412"/>
- <Grid id="grd_prcpinfo" taborder="7" binddataset="ds_grd_prcpinfo" useinputpanel="false" position="absolute 30 415 1165 615">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="156"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="757"/>
- </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="LMC 추가기록"/>
- </Band>
- <Band id="body" style="cellalign:left middle;">
- <Cell text="bind:prcpcd"/>
- <Cell col="1" style="align:left middle;" text="bind:engnm"/>
- <Cell col="2" text="bind:startdd" mask="####/##/##"/>
- <Cell col="3" text="bind:enddd" mask="####/##/##"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:lmc"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_sisul" taborder="8" binddataset="ds_grd_sisul" useinputpanel="false" position="absolute 30 920 1165 1045">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="913"/>
- </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" style="cellalign:left middle;">
- <Cell text="bind:cdseqno"/>
- <Cell col="1" text="bind:name"/>
- <Cell col="2" text="bind:excuexectodd" mask="####/##/##"/>
- <Cell col="3" text="bind:conclusion"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_film" taborder="9" binddataset="ds_grd_film" useinputpanel="false" position="absolute 30 1080 1165 1230" oncelldblclick="switch1_case2_grd_film_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="913"/>
- </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" style="cellalign:left middle;">
- <Cell text="bind:cdseqno"/>
- <Cell col="1" text="bind:name"/>
- <Cell col="2" text="bind:excuexectodd" mask="####/##/##"/>
- <Cell col="3" text="bind:conclusion"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_prcp" taborder="10" text="저장" onclick="switch1_case2_btn_prcp_onclick" class="btn2_letter2" position="absolute 1122 388 1164 407"/>
- <Static id="caption8" text="항암제관리" class="search_name" position="absolute 15 625 132 642"/>
- <Grid id="grd_anticancer" taborder="11" binddataset="ds_grd_anticancer" useinputpanel="false" position="absolute 30 645 1165 895">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="156"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="757"/>
- </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="LMC 추가기록"/>
- </Band>
- <Band id="body" style="cellalign:left middle;">
- <Cell text="bind:prcpcd"/>
- <Cell col="1" style="align:left middle;" text="bind:engnm"/>
- <Cell col="2" text="bind:startdd" mask="####/##/##"/>
- <Cell col="3" text="bind:enddd" mask="####/##/##"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:lmc"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption10" text="시술관리" class="search_name" position="absolute 15 900 132 917"/>
- <Static id="caption11" text="영상관리" class="search_name" position="absolute 15 1055 132 1072"/>
- <Button id="btn_anticancer" taborder="12" text="저장" onclick="switch1_case2_btn_anticancer_onclick" class="btn2_letter2" position="absolute 1122 623 1164 642"/>
- <Static id="caption12" text="환자 Comment" class="search_name" position="absolute 15 35 160 52"/>
- <TextArea id="comment" taborder="13" position="absolute 32 55 1165 115" oneditclick="switch1_case2_comment_oneditclick"/>
- <Button id="btn_comment" taborder="14" text="저장" onclick="switch1_case2_btn_comment_onclick" class="btn2_letter2" position="absolute 1120 30 1162 49"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Static text="간질환 환자관리" position="absolute 0 0 204 14" id="caption2" class="tit_1"/>
- <PopupMenu id="pmn_menu" innerdataset="@ds_gridsize" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="switch1_case2_group1_pmn_menu_onmenuclick" position="absolute 1216 3 1271 46"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_liver" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
- <Column id="sex" type="STRING" size="256" sumtext="성별"/>
- <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
- <Column id="maindiagnm" type="STRING" size="256" sumtext="주진단"/>
- <Column id="subdiagnm" type="STRING" size="256" sumtext="부진단"/>
- <Column id="subnm" type="STRING" size="256" sumtext="스터디명"/>
- <Column id="comments" type="STRING" size="256" sumtext="커멘트"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_testresult1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcolldt" type="STRING" size="256" sumtext="bcolldt"/>
- <Column id="wbc" type="STRING" size="256" sumtext="wbc"/>
- <Column id="rbc" type="STRING" size="256" sumtext="rbc"/>
- <Column id="hb" type="STRING" size="256" sumtext="hb"/>
- <Column id="plt" type="STRING" size="256" sumtext="plt"/>
- <Column id="anc" type="STRING" size="256" sumtext="anc"/>
- <Column id="ast" type="STRING" size="256" sumtext="ast(GOT)"/>
- <Column id="alt" type="STRING" size="256" sumtext="alt(GPT)"/>
- <Column id="alb" type="STRING" size="256" sumtext="alb"/>
- <Column id="tbil" type="STRING" size="256" sumtext="T.bil"/>
- <Column id="alp" type="STRING" size="256" sumtext="alp"/>
- <Column id="ggt" type="STRING" size="256" sumtext="ggt"/>
- <Column id="pt" type="STRING" size="256" sumtext="pt(INR)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_testresult2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcolldt" type="STRING" size="256" sumtext="bcolldt"/>
- <Column id="hcop" type="STRING" size="256" sumtext="hcop"/>
- <Column id="hpg" type="STRING" size="256" sumtext="hpg"/>
- <Column id="hiu" type="STRING" size="256" sumtext="hiu"/>
- <Column id="hbeag" type="STRING" size="256" sumtext="hbeag"/>
- <Column id="hbeab" type="STRING" size="256" sumtext="hbeab"/>
- <Column id="hbsag" type="STRING" size="256" sumtext="hbsag"/>
- <Column id="hbsab" type="STRING" size="256" sumtext="hbsab"/>
- <Column id="ymdd" type="STRING" size="256" sumtext="ymdd"/>
- <Column id="hcv1" type="STRING" size="256" sumtext="hcv1"/>
- <Column id="hcv2" type="STRING" size="256" sumtext="hcv2"/>
- <Column id="hcvg" type="STRING" size="256" sumtext="hcvg"/>
- <Column id="hcvab" type="STRING" size="256" sumtext="hcvab"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_testresult3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bcolldt" type="STRING" size="256" sumtext="bcolldt"/>
- <Column id="afp" type="STRING" size="256" sumtext="afp"/>
- <Column id="pivka" type="STRING" size="256" sumtext="pivka"/>
- <Column id="cea" type="STRING" size="256" sumtext="cea"/>
- <Column id="ca" type="STRING" size="256" sumtext="ca"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="subnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_prcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpcd" type="STRING" size="256" sumtext="prcpcd"/>
- <Column id="engnm" type="STRING" size="256" sumtext="engnm"/>
- <Column id="startdd" type="STRING" size="256" sumtext="startdd"/>
- <Column id="enddd" type="STRING" size="256" sumtext="enddd"/>
- <Column id="lmc" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_sisul" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdseqno" type="STRING" size="256" sumtext="cdseqno"/>
- <Column id="name" type="STRING" size="256" sumtext="name"/>
- <Column id="excuexectodd" type="STRING" size="256" sumtext="excuexectodd"/>
- <Column id="conclusion" type="STRING" size="256" sumtext="conclusion"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_film" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdseqno" type="STRING" size="256" sumtext="cdseqno"/>
- <Column id="name" type="STRING" size="256" sumtext="name"/>
- <Column id="excuexectodd" type="STRING" size="256" sumtext="excuexectodd"/>
- <Column id="conclusion" type="STRING" size="256" sumtext="conclusion"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_anticancer" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpcd" type="STRING" size="256" sumtext="prcpcd"/>
- <Column id="engnm" type="STRING" size="256" sumtext="engnm"/>
- <Column id="startdd" type="STRING" size="256" sumtext="startdd"/>
- <Column id="enddd" type="STRING" size="256" sumtext="enddd"/>
- <Column id="lmc" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="수진구분"/>
- <Column id="mdiag" type="STRING" size="256" sumtext="주진단명"/>
- <Column id="sdiag" type="STRING" size="256" sumtext="부진단명"/>
- <Column id="sdate" type="STRING" size="256" sumtext="등록일 시작"/>
- <Column id="tdate" type="STRING" size="256" sumtext="등록일 종료"/>
- <Column id="recflag" type="STRING" size="256" sumtext="간질환환자관리 플래그"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="ioflag">[Undefined]</Col>
- <Col id="recflag">[Undefined]</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patdetail_pat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자name"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="jumin" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="sa" type="STRING" size="256" sumtext="성별/나이"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="orddd" type="STRING" size="256" sumtext="수진일"/>
- <Column id="cretno" type="STRING" size="256" sumtext="원무생성키"/>
- <Column id="chosflag" type="STRING" size="256" sumtext="수진구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patdetail_subject" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="subnm" type="STRING" size="256" sumtext="연구제목"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_pid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" 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="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="수진일"/>
- <Column id="cretno" type="STRING" size="256" sumtext="원무생성번호"/>
- <Column id="chosflag" type="STRING" size="256" sumtext="수진형태"/>
- <Column id="recflag" type="STRING" size="256" sumtext="기록구분"/>
- <Column id="itemcd" type="STRING" size="256" sumtext="아이템코드"/>
- <Column id="itemval1" type="CLOB" size="256" sumtext="아이템벨류"/>
- <Column id="fstrgstrid" type="STRING" size="256" sumtext=""/>
- <Column id="lastupdtrid" type="STRING" size="256" sumtext=""/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patdetail_comments" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="comments" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_gridsize" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">확장</Col>
- <Col id="func">fExpandGrid</Col>
- <Col id="level">0</Col>
- </Row>
- <Row>
- <Col id="label">축소</Col>
- <Col id="func">fShortenGrid</Col>
- <Col id="level">0</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="switch1.case1.ipt_formrecdtfr" propid="value" datasetid="ds_main_cond" columnid="sdate"/>
- <BindItem id="item1" compid="switch1.case1.ipt_formrecdtto" propid="value" datasetid="ds_main_cond" columnid="tdate"/>
- <BindItem id="item2" compid="switch1.case1.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
- <BindItem id="item3" compid="switch1.case1.radio2" propid="value" datasetid="ds_main_cond" columnid="ioflag"/>
- <BindItem id="item4" compid="switch1.case1.input1" propid="value" datasetid="ds_main_cond" columnid="mdiag"/>
- <BindItem id="item5" compid="switch1.case1.input2" propid="value" datasetid="ds_main_cond" columnid="sdiag"/>
- <BindItem id="item6" compid="switch1.case2.output1" propid="value" datasetid="ds_patdetail_pat" columnid="hngnm"/>
- <BindItem id="item7" compid="switch1.case2.output2" propid="value" datasetid="ds_patdetail_pat" columnid="pid"/>
- <BindItem id="item8" compid="switch1.case2.output3" propid="value" datasetid="ds_patdetail_pat" columnid="jumin"/>
- <BindItem id="item9" compid="switch1.case2.output4" propid="value" datasetid="ds_patdetail_pat" columnid="sa"/>
- <BindItem id="item10" compid="switch1.case2.datagrid1" propid="binddataset" datasetid="ds_patdetail_subject" columnid="subnm"/>
- <BindItem id="item11" compid="switch1.case2.group1.grd_testresult1" propid="binddataset" datasetid="ds_grd_testresult1" columnid=""/>
- <BindItem id="item12" compid="switch1.case2.comment" propid="value" datasetid="ds_patdetail_comments" columnid="comments"/>
- <BindItem id="item13" compid="switch1.case2.comment" propid="bindgestureset" datasetid="ds_patdetail_comments" columnid="comments"/>
- </Bind>
- <InitValue/>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-12-10
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-12-10 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs"
- function SPMMR08100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- function SPMMR08100_onload(obj:Form, e:LoadEventInfo)
- {
- finitialize();
- }
- function finitialize()
- {
- var vNowDD = utlf_getCurrentDate();
-
- ds_main_cond.setColumn(0,"sdate",vNowDD);
- ds_main_cond.setColumn(0,"tdate",vNowDD);
- ds_main_cond.setColumn(0,"ioflag","O");
- ds_main_cond.setColumn(0,"recflag","3");
-
- fsearch();
- }
- function fsearch()
- {
- /*
- var sdate = ds_main_cond.getColumn(0,"sdate");
- var tdate = ds_main_cond.getColumn(0,"tdate");
- if(sdate !="" && tdate =="" || sdate =="" && tdate !=""){
- alert("등록일자를 정확히 입력해주세요.");
- }else{
- alert("검색 조건을 한가지라도 입력하세요.");
- }
- */
- var oParam = {};
- oParam.id = "TRMMR08100";
- oParam.service = "medirecapp.ComnMediRec";
- oParam.method = "reqGetLiver";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_grd_liver=item";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function switch1_case1_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- fsearch();
- }
- function switch1_case1_grd_liver_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var rowpos = ds_grd_liver.rowposition;
- var pid = ds_grd_liver.getColumn(rowpos,"pid");
- var comments = ds_grd_liver.getColumn(rowpos,"comments");
-
-
- if(!utlf_isNull(pid)){
- ds_send_pid.setColumn(0,"pid",pid);
-
- var oParam = {};
- oParam.id = "TRMMR08103";
- oParam.service = "medirecapp.ComnMediRec";
- oParam.method = "reqGetLiverPat";
- oParam.inds = "req=ds_send_pid";
- oParam.outds = "ds_patdetail_pat=pat ds_patdetail_subject=sub ds_grd_testresult1=test1 ds_grd_testresult2=test2 ds_grd_testresult3=test3 ds_grd_prcpinfo=prcpinfo ds_grd_anticancer=anticancerinfo ds_grd_film=filminfo ds_grd_sisul=sisulinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- ds_patdetail_comments.setColumn(0,"comments",comments);
- switch1.tabindex = 1;
- }
- }
- function switch1_case2_btn_comment_onclick(obj:Button, e:ClickEventInfo)
- {
- fSave("btn_comment");
- }
- function switch1_case2_btn_prcp_onclick(obj:Button, e:ClickEventInfo)
- {
- fSave("btn_prcp");
- }
- function switch1_case2_btn_anticancer_onclick(obj:Button, e:ClickEventInfo)
- {
- fSave("btn_anticancer");
- }
- function fSave(btn_nm){
- var instcd = "";
- var pid = "";
- var orddd = "";
- var cretno = "";
- var chosflag = "";
- var recflag = "";
- var itemcd = "";
- var itemval1 = "";
- var userid = "";
-
- if(btn_nm=="btn_prcp"){
-
- var rowcount = ds_grd_prcpinfo.rowcount;
- ds_send_savedata.clearData();
- for(i=0; i<rowcount; i++){
-
- instcd = ds_patdetail_pat.getColumn(0,"instcd");
- pid = ds_patdetail_pat.getColumn(0,"pid");
- orddd = ds_patdetail_pat.getColumn(0,"orddd");
- cretno = ds_patdetail_pat.getColumn(0,"cretno");
- chosflag = ds_patdetail_pat.getColumn(0,"chosflag");
- recflag = "3";
- itemcd = ds_grd_prcpinfo.getColumn(i,"prcpcd");
- itemval1 = ds_grd_prcpinfo.getColumn(i,"lmc");
- userid = sysf_getUserInfo("userid");
-
- ds_send_savedata.addRow();
- ds_send_savedata.setColumn(i,"instcd",instcd);
- ds_send_savedata.setColumn(i,"pid",pid);
- ds_send_savedata.setColumn(i,"orddd",orddd);
- ds_send_savedata.setColumn(i,"cretno",cretno);
- ds_send_savedata.setColumn(i,"chosflag",chosflag);
- ds_send_savedata.setColumn(i,"recflag",recflag);
- ds_send_savedata.setColumn(i,"itemcd",itemcd);
- ds_send_savedata.setColumn(i,"itemval1",itemval1);
- ds_send_savedata.setColumn(i,"fstrgstrid",userid);
- ds_send_savedata.setColumn(i,"lastupdtrid",userid);
- }
- }else if(btn_nm=="btn_anticancer"){
- var rowcount = ds_grd_anticancer.rowcount;
- ds_send_savedata.clearData();
-
- for(i=0; i<rowcount; i++){
-
- instcd = ds_patdetail_pat.getColumn(0,"instcd");
- pid = ds_patdetail_pat.getColumn(0,"pid");
- orddd = ds_patdetail_pat.getColumn(0,"orddd");
- cretno = ds_patdetail_pat.getColumn(0,"cretno");
- chosflag = ds_patdetail_pat.getColumn(0,"chosflag");
- recflag = "3";
- itemcd = ds_grd_anticancer.getColumn(i,"prcpcd");
- itemval1 = ds_grd_anticancer.getColumn(i,"lmc");
- userid = sysf_getUserInfo("userid");
- ds_send_savedata.addRow();
- ds_send_savedata.setColumn(i,"instcd",instcd);
- ds_send_savedata.setColumn(i,"pid",pid);
- ds_send_savedata.setColumn(i,"orddd",orddd);
- ds_send_savedata.setColumn(i,"cretno",cretno);
- ds_send_savedata.setColumn(i,"chosflag",chosflag);
- ds_send_savedata.setColumn(i,"recflag",recflag);
- ds_send_savedata.setColumn(i,"itemcd",itemcd);
- ds_send_savedata.setColumn(i,"itemval1",itemval1);
- ds_send_savedata.setColumn(i,"fstrgstrid",userid);
- ds_send_savedata.setColumn(i,"lastupdtrid",userid);
- }
-
- }else if(btn_nm=="btn_comment"){
- var instcd = ds_patdetail_pat.getColumn(0,"instcd");
- var pid = ds_patdetail_pat.getColumn(0,"pid");
- var orddd = ds_patdetail_pat.getColumn(0,"orddd");
- var cretno = ds_patdetail_pat.getColumn(0,"cretno");
- var chosflag = ds_patdetail_pat.getColumn(0,"chosflag");
- var recflag = "3";
- var itemcd = "comments";
- var itemval1 = ds_patdetail_comments.getColumn(0,"comments");
- var userid = sysf_getUserInfo("userid");
- ds_send_savedata.setColumn(0,"instcd",instcd);
- ds_send_savedata.setColumn(0,"pid",pid);
- ds_send_savedata.setColumn(0,"orddd",orddd);
- ds_send_savedata.setColumn(0,"cretno",cretno);
- ds_send_savedata.setColumn(0,"chosflag",chosflag);
- ds_send_savedata.setColumn(0,"recflag",recflag);
- ds_send_savedata.setColumn(0,"itemcd",itemcd);
- ds_send_savedata.setColumn(0,"itemval1",itemval1);
- ds_send_savedata.setColumn(0,"fstrgstrid",userid);
- ds_send_savedata.setColumn(0,"lastupdtrid",userid);
- }
-
- var oParam = {};
- oParam.id = "TXMMO08102";
- oParam.service = "medirecapp.ComnMediRec";
- oParam.method = "reqSaveLmc";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "null";
- oParam.async = false;
- //oParam.callback = "cf_TXMMO08102";
- tranf_submit(oParam);
- }
- function switch1_case2_grd_film_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var rowpos = ds_grd_film.rowposition;
- var pid = ds_patdetail_pat.getColumn(0,"pid");
- var cdseqno = ds_grd_film.getColumn(rowpos,"cdseqno");
- frmf_setParameter("sisul_cdseqno", "");
- frmf_setParameter("film_cdseqno", cdseqno);
- frmf_setParameter("film_pid", pid);
-
- frmf_open("SPMMR08200", "SPMMR08200", null, null, null, null, null, null, null, null, null, null, "M");
- }
- //검색조건 체크
- function fCheck(){
- var pid = ds_main_cond.getColumn(0,"pid");
- var ioflag = ds_main_cond.getColumn(0,"ioflag");
- var mdiag = ds_main_cond.getColumn(0,"mdiag");
- var sdiag = ds_main_cond.getColumn(0,"sdiag");
- var sdate = ds_main_cond.getColumn(0,"sdate");
- var tdate = ds_main_cond.getColumn(0,"tdate");
- if(pid=="" && ioflag=="" && mdiag=="" && sdiag=="" && sdate=="" && tdate==""){
- return true;
- }else if(sdate !="" && tdate =="" || sdate =="" && tdate !=""){
- return true;
- }else{
- return false;
- }
- }
- function switch1_case2_group1_grd_testresult1_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- if(e.row < 0 || e.col < 0) return;
-
- grdf_setSelectedCell(obj, e);
-
- pmn_menu.trackPopup(e.screenX,e.screenY);
- }
- function switch1_case2_group1_pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id + "()");
- }
- ]]></Script>
- </Form>
- </FDL>
|