123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMP03000" position="absolute 0 0 802 665" titletext="Pre/Post OP" oninit="SPMMP03000_oninit" onload="SPMMP03000_onload">
- <Layouts>
- <Layout>
- <Button position="absolute 742 640 798 660" id="button2" class="btn4" text="닫기" onclick="button2_onclick"/>
- <Grid position="absolute 419 415 799 525" id="grd_form2" binddataset="ds_main_form2">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="267"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="STEP명"/>
- <Cell col="1" text="caption1"/>
- <Cell col="2" text="formprogflag"/>
- <Cell col="3" text="prtlstat"/>
- </Band>
- <Band id="body">
- <Cell text="bind:stepnm"/>
- <Cell col="1" text="bind:prcpnm"/>
- <Cell col="2" text="bind:formprogflag"/>
- <Cell col="3" text="bind:prtlstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="Post OP" position="absolute 419 4 799 24" align="align:center middle;" id="cap_day2" style="align:center;"/>
- <Grid position="absolute 39 173 419 303" id="grd_test1" binddataset="ds_main_testlist1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="150"/>
- <Column size="67"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="46"/>
- <Column size="45"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="prcpclscd"/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="예약일"/>
- <Cell col="5" text="검체"/>
- <Cell col="6" text="전달"/>
- <Cell col="7" colspan="2" text="검사결과" taborder="undefined"/>
- <Cell col="9" text="prtlstat"/>
- </Band>
- <Band id="body">
- <Cell text="bind:prcpclscd"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:prcpstatcd" combodataset="ds_M0011" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:prcpkindcd" combodataset="ds_M0003" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" text="bind:prcpnm"/>
- <Cell col="4" displaytype="date" text="bind:rsrvdd"/>
- <Cell col="5" text="bind:drugmthdspccdnm"/>
- <Cell col="6" text="bind:prcpdelivefact"/>
- <Cell col="7" text="bind:testrsltcnts"/>
- <Cell col="8" text="bind:testrsltunit"/>
- <Cell col="9" text="bind:prtlstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 419 173 799 303" id="grd_test2" binddataset="ds_main_testlist2">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="150"/>
- <Column size="77"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="45"/>
- <Column size="43"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="prcpclscd"/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="예약일"/>
- <Cell col="5" text="검체"/>
- <Cell col="6" text="전달"/>
- <Cell col="7" colspan="2" text="검사결과" taborder="undefined"/>
- <Cell col="9" text="prtlstat"/>
- </Band>
- <Band id="body">
- <Cell text="bind:prcpclscd"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:prcpstatcd"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:prcpkindcd"/>
- <Cell col="3" text="bind:prcpnm"/>
- <Cell col="4" displaytype="date" text="bind:rsrvdd"/>
- <Cell col="5" text="bind:drugmthdspccdnm"/>
- <Cell col="6" text="bind:prcpdelivefact"/>
- <Cell col="7" text="bind:testrsltcnts"/>
- <Cell col="8" text="bind:testrsltunit"/>
- <Cell col="9" text="bind:prtlstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 39 526 419 631" id="grd_etc1" binddataset="ds_main_etclist1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="286"/>
- <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="caption1"/>
- <Cell col="3" text="prtlstat"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="combo" text="bind:prcpkindcd" combodataset="ds_M0003" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:prcpclscd" combodataset="ds_M0005" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" text="bind:prcpnm"/>
- <Cell col="3" text="bind:prtlstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 39 27 419 172" id="grd_drug1" binddataset="ds_main_druglist1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="70"/>
- <Column size="150"/>
- <Column size="40"/>
- <Column size="45"/>
- <Column size="30"/>
- <Column size="40"/>
- <Column size="45"/>
- <Column size="30"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="38"/>
- <Column size="86"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="prcpclscd"/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="처방코드"/>
- <Cell col="4" text="처방명"/>
- <Cell col="5" colspan="3" text="총용량" taborder="undefined"/>
- <Cell col="8" colspan="3" text="수량" taborder="undefined"/>
- <Cell col="11" text="횟수"/>
- <Cell col="12" text="일수"/>
- <Cell col="13" text="MIX"/>
- <Cell col="14" text="용법"/>
- <Cell col="15" text="prtlstat"/>
- </Band>
- <Band id="body">
- <Cell text="bind:prcpclscd"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:prcpstatcd" combodataset="ds_M0011" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:prcpkindcd" combodataset="ds_M0003" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" text="bind:prcpcd"/>
- <Cell col="4" text="bind:prcpnm"/>
- <Cell col="5" text="bind:prcpvol"/>
- <Cell col="6" text="bind:drprcpetc7"/>
- <Cell col="7" text="bind:prcpvolunitnm"/>
- <Cell col="8" text="bind:prcpqty"/>
- <Cell col="9" text="bind:drprcpetc8"/>
- <Cell col="10" text="bind:prcpqtyunitnm"/>
- <Cell col="11" text="bind:prcptims"/>
- <Cell col="12" text="bind:prcpdayno"/>
- <Cell col="13" text="bind:prcpmixno"/>
- <Cell col="14" text="bind:drugmthdspccdnm"/>
- <Cell col="15" text="bind:prtlstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 419 526 799 631" id="grd_etc2" binddataset="ds_main_etclist2">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="279"/>
- <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="caption1"/>
- <Cell col="3" text="prtlstat"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="combo" text="bind:prcpkindcd" combodataset="ds_M0003" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:prcpclscd" combodataset="ds_M0005" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" text="bind:prcpnm"/>
- <Cell col="3" text="bind:prtlstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 419 27 799 172" id="grd_drug2" binddataset="ds_main_druglist2">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="74"/>
- <Column size="150"/>
- <Column size="40"/>
- <Column size="45"/>
- <Column size="38"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="38"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="40"/>
- <Column size="96"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="prcpclscd"/>
- <Cell col="1" text="상태"/>
- <Cell col="2" text="종류"/>
- <Cell col="3" text="처방코드"/>
- <Cell col="4" text="처방명"/>
- <Cell col="5" colspan="3" text="총용량" taborder="undefined"/>
- <Cell col="8" colspan="3" text="수량" taborder="undefined"/>
- <Cell col="11" text="횟수"/>
- <Cell col="12" text="일수"/>
- <Cell col="13" text="MIX"/>
- <Cell col="14" text="용법"/>
- <Cell col="15" text="prtlstat"/>
- </Band>
- <Band id="body">
- <Cell text="bind:prcpclscd"/>
- <Cell col="1" displaytype="combo" edittype="combo" text="bind:prcpstatcd" combodataset="ds_M0011" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="2" displaytype="combo" edittype="combo" text="bind:prcpkindcd" combodataset="ds_M0003" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="3" text="bind:prcpcd"/>
- <Cell col="4" text="bind:prcpnm"/>
- <Cell col="5" text="bind:prcpvol"/>
- <Cell col="6" text="bind:drprcpetc7"/>
- <Cell col="7" text="bind:prcpvolunitnm"/>
- <Cell col="8" text="bind:prcpqty"/>
- <Cell col="9" text="bind:drprcpetc8"/>
- <Cell col="10" text="bind:prcpqtyunitnm"/>
- <Cell col="11" text="bind:prcptims"/>
- <Cell col="12" text="bind:prcpdayno"/>
- <Cell col="13" text="bind:prcpmixno"/>
- <Cell col="14" text="bind:drugmthdspccdnm"/>
- <Cell col="15" text="bind:prtlstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="기 타" position="absolute 5 526 32 631" align="align:left middle;" id="cap_etc"/>
- <Static text="투 약" position="absolute 5 27 32 172" align="align:left middle;" id="cap_drug"/>
- <Static text="검 사" position="absolute 5 173 32 303" align="align:left middle;" id="cap_test"/>
- <Static text="서 식" position="absolute 5 415 32 525" align="align:left middle;" id="cap_form"/>
- <Grid position="absolute 39 304 419 414" id="grd_caredelive1" binddataset="ds_main_caredelivelist1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="285"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="종류"/>
- <Cell col="1" text="caption1"/>
- <Cell col="2" text="prtlstat"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="combo" text="bind:prcpkindcd" combodataset="ds_M0003" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="1" text="bind:prcpnm"/>
- <Cell col="2" text="bind:prtlstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 419 304 799 414" id="grd_caredelive2" binddataset="ds_main_caredelivelist2">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="40"/>
- <Column size="288"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="종류"/>
- <Cell col="1" text="caption1"/>
- <Cell col="2" text="prtlstat"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="combo" text="bind:prcpkindcd" combodataset="ds_M0003" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="1" text="bind:prcpnm"/>
- <Cell col="2" text="bind:prtlstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="간 호 전 달" position="absolute 5 304 32 414" align="align:left middle;" id="cap_caredelive"/>
- <Grid position="absolute 39 415 419 525" id="grd_form1" binddataset="ds_main_form1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="80"/>
- <Column size="263"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="STEP명"/>
- <Cell col="1" text="catpion1"/>
- <Cell col="2" text="formprogflag"/>
- <Cell col="3" text="prtlstat"/>
- </Band>
- <Band id="body">
- <Cell text="bind:stepnm"/>
- <Cell col="1" text="bind:prcpnm"/>
- <Cell col="2" text="bind:formprogflag"/>
- <Cell col="3" text="bind:prtlstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="Pre OP" position="absolute 39 4 419 24" align="align:center middle;" id="cap_day1" style="align:center;"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_temp_getdatalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_formlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cond1" type="STRING" size="256"/>
- <Column id="cond2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cond1"/>
- <Col id="cond2"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_getdatalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_formlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stepscond" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_druglist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpvol" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="prcpvolunitnm" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcpqtyunitnm" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="prcpdayno" type="STRING"/>
- <Column id="prcpmixno" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_druglist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpvol" type="STRING"/>
- <Column id="drprcpetc7" type="STRING"/>
- <Column id="prcpvolunitnm" type="STRING"/>
- <Column id="prcpqty" type="STRING"/>
- <Column id="drprcpetc8" type="STRING"/>
- <Column id="prcpqtyunitnm" type="STRING"/>
- <Column id="prcptims" type="STRING"/>
- <Column id="prcpdayno" type="STRING"/>
- <Column id="prcpmixno" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_testlist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="testrsltcnts" type="STRING"/>
- <Column id="testrsltunit" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_testlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpstatcd" type="STRING"/>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="rsrvdd" type="STRING"/>
- <Column id="drugmthdspccdnm" type="STRING"/>
- <Column id="prcpdelivefact" type="STRING"/>
- <Column id="testrsltcnts" type="STRING"/>
- <Column id="testrsltunit" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_caredelivelist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_caredelivelist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_etclist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_etclist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpkindcd" type="STRING"/>
- <Column id="prcpclscd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_M0011" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_M0005" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_M0003" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_M0029" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_form1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stepnm" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="formprogflag" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_form2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stepnm" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="formprogflag" type="STRING"/>
- <Column id="prtlstat" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2014-09-19
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-09-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs"
- var arErrorCode = new HashArray();
- function SPMMP03000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- var colHidnValue = lf_grdBaseColHidn("D");
- lf_grdBaseColHidn(colHidnValue, "grd_drug1", 50, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8");
- lf_grdBaseColHidn(colHidnValue, "grd_drug2", 50, "prcpvol", "prcpqty", "drprcpetc7", "drprcpetc8");
-
- fInitialize();
- }
- /**
- * @group :
- * @ver : 2008.07
- * @by : 박유미
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 초기화,
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fInitialize(){
- // zbcfGetCodeList(new Array("M0011", "M0005", "M0003", "M0029"),
- // new Array("/root/init/prcpstatcd", "/root/init/prcpclscd",
- // "/root/init/prcpkindcd", "/root/init/payflagcd"));
- appf_getCodeList([{dsNm: "ds_M0011", cdGrpId: "M0011"}
- , {dsNm: "ds_M0005", cdGrpId: "M0005"}
- , {dsNm: "ds_M0003", cdGrpId: "M0003"}
- , {dsNm: "ds_M0029", cdGrpId: "M0029"}], true);
- // model.removeNodeset("/root/main/druglist1/list");
- // model.removeNodeset("/root/main/druglist2/list");
- // model.removeNodeset("/root/main/testlist1/list");
- // model.removeNodeset("/root/main/testlist2/list");
- // model.removeNodeset("/root/main/caredelivelist1/list");
- // model.removeNodeset("/root/main/caredelivelist2/list");
- // model.removeNodeset("/root/main/etclist1/list");
- // model.removeNodeset("/root/main/etclist2/list");
- // model.removeNodeset("/root/main/formlist1/list");
- // model.removeNodeset("/root/main/formlist2/list");
-
- dsf_copyDs(ds_temp_getdatalist, ds_send_getdatalist); // setCSVToNode("/root/temp/getdatalist", model.getValue("/root/send/reqdata/getdatalist"));
- dsf_copyDs(ds_temp_formlist, ds_send_formlist); // setCSVToNode("/root/temp/formlist", model.getValue("/root/send/reqdata/formlist"));
-
- //var srcref = "/root/temp/getdatalist/list";
- if( ds_temp_getdatalist.rowcount > 0 ) { // instance1.selectSingleNode(srcref) != null
-
- var drugcls = "(prcpclscd = 'A2' or prcpclscd = 'A4' or prcpclscd = 'A6')";
- var testcls = "(prcpclscd = 'B2' or prcpclscd = 'B4' or prcpclscd = 'B6' or prcpclscd = 'C2' or prcpclscd = 'C4' or prcpclscd = 'C6' or prcpclscd = 'D2' or prcpclscd = 'E2')";
- var carecls = "(prcpclscd = '00' or prcpclscd = '01' or prcpclscd = '02' or prcpclscd = '03' or prcpclscd = '04' or prcpclscd = '09')";
- var etc = "(prcpclscd = 'F2' or prcpclscd = 'G2' or prcpclscd = 'H2' or prcpclscd = 'H4' or prcpclscd = 'H6' or prcpclscd = 'I2' or prcpclscd = 'I4' or prcpclscd = 'J2' or prcpclscd = 'K2' or prcpclscd = 'M2' or prcpclscd = 'N2' or prcpclscd = 'O2' or prcpclscd = 'Z0')";
- var form = "(prcpclscd = 'FM')";
-
- var stepscond = ds_send_reqdata.getColumn(0, "stepscond").split(","); //model.getValue("/root/send/reqdata/stepscond").split(",");
- for(var i = 0; i < stepscond.length-1 ; i++) {
- var opNd = ds_temp_getdatalist.getCaseCount("stepno == '" + stepscond[i] + "'"); //instance1.selectNodes(srcref +"[stepno = '" + stepscond[i] +"']");
-
- if( opNd > 0 ) { // opNd.length > 0
- if( i == 0 ) {
- ds_main_druglist1.copyData(ds_temp_getdatalist.filter("stepno == '" + stepscond[i] + "'"), "replace"); // 테스트 필요 다시 함 봐야할듯...
- } else if( i == 1 ) {
- ds_main_druglist2.copyData(ds_temp_getdatalist.filter("stepno == '" + stepscond[i] + "'"), "replace");
- }
- // copyNodeListType("/root/main/druglist" + (i+1), srcref + "[stepno = '" + stepscond[i] + "' and " +drugcls+ "]", "replace");
- // copyNodeListType("/root/main/testlist" + (i+1), srcref + "[stepno = '" + stepscond[i] + "' and " + testcls + "]", "replace");
- // copyNodeListType("/root/main/etclist" + (i+1), srcref + "[stepno = '" + stepscond[i] + "' and " + etc + "]", "replace");
- // copyNodeListType("/root/main/caredelivelist" + (i+1), srcref + "[stepno = '" + stepscond[i] +"' and " + carecls + "]", "replace");
- // copyNodeListType("/root/main/formlist" + (i+1), "/root/temp/formlist/list[ stepno = '" + stepscond[i] +"' and " + form + "]", "replace");
- }
- opNd = "";
- }
-
- ds_send_reqdata.clearData(); //model.removeNodeset("/root/send/reqdata");
- //model.refresh();
- fSettingGrid();
- }
- }
- /**
- * @group :
- * @ver : 2007.08
- * @by : 전지은
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 그리드 상태를 초기화한다.
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fSettingGrid(){
-
- // grd_drug1.clearStatus();
- // grd_drug2.clearStatus();
- // grd_test1.clearStatus();
- // grd_test2.clearStatus();
- // grd_caredelive1.clearStatus();
- // grd_caredelive2.clearStatus();
- // grd_form1.clearStatus();
- // grd_form2.clearStatus();
- // grd_etc1.clearStatus();
- // grd_etc2.clearStatus();
-
- for( var no = 1; no <= 2; no++ ){
-
- //처방 저장상태에 따라 테이블의 컬럼 색상을 달리 한다.
- /*if(no == 1) {
- var drugGrdNm = grd_drug1;
- var drugGrdDs = ds_main_druglist1;
- var testGrdNm = grd_test1;
- var testGrdDs = ds_main_testlist1;
- var caredeliveGrdNm = grd_caredelive1;
- var caredeliveGrdDs = ds_main_caredelivelist1;
- } else {
- var drugGrdNm = grd_drug2;
- var drugGrdDs = ds_main_druglist2;
- var testGrdNm = grd_test2;
- var testGrdDs = ds_main_testlist2;
- var caredeliveGrdNm = grd_caredelive2;
- var caredeliveGrdDs = ds_main_caredelivelist2;
- }*/
- var grdNm = "";
- var grdDs = "";
-
- if(no == 1) {
- grdNm = grd_drug1;
- grdDs = ds_main_druglist1;
- } else {
- grdNm = grd_drug2;
- grdDs = ds_main_druglist2;
- }
-
- for( var i = 0; i < grdDs.rowcount; i++ ) {
- var histcd = grdDs.getColumn(i, "prcphistcd"); //model.getValue("/root/main/druglist" + no + "/list[" + i + "]/prcphistcd");
- if( grdDs.getColumn(i, "prtlprcpno") == "0" || grdDs.getColumn(i, "prtlstat") == "21" ) {
- grdNm.setCellProperty("body", i, "color", "#0000ff");
- } else if( grdDs.getColumn(i, "prtlstat") == "30" && histcd == "E" ) { // 반납
- grdNm.setCellProperty("body", i, "color", "#c0c0c0");
- } else if( grdDs.getColumn(i, "prtlstat") == "30" && histcd == "C" ) { //DC전
- grdNm.setCellProperty("body", i, "color", "#ff0000");
- } else if( grdDs.getColumn(i, "prtlstat") == "11" || grdDs.getColumn(i, "prtlstat") == "12" ) {
- grdNm.setCellProperty("body", i, "color", "#ff0000");
- } else {
- grdNm.setCellProperty("body", i, "color", "#000000");
- }
- }
-
- fGridSetRow(grdNm);
-
- if(no == 1) {
- grdNm = grd_test1;
- grdDs = ds_main_testlist1;
- } else {
- grdNm = grd_test2;
- grdDs = ds_main_testlist2;
- }
-
- for( var i = 0; i < grdDs.rowcount; i++ ) {
- if( grdDs.getColumn(i, "prtlprcpno") == "0" || grdDs.getColumn(i, "prtlstat") == "21" ) {
- grdNm.setCellProperty("body", i, "color", "#0000ff");
- } else if( grdDs.getColumn(i, "prtlstat") == "11" || grdDs.getColumn(i, "prtlstat") == "12" ) {
- grdNm.setCellProperty("body", i, "color", "#ff0000");
- } else {
- grdNm.setCellProperty("body", i, "color", "#000000");
- }
- }
-
- fGridSetRow(grdNm);
-
- if(no == 1) {
- grdNm = grd_caredelive1;
- grdDs = ds_main_caredelivelist1;
- } else {
- grdNm = grd_caredelive2;
- grdDs = ds_main_caredelivelist2;
- }
-
- for( var i = 0; i < grdDs.rowcount; i++ ) {
- if(grdDs.getColumn(i, "prtlprcpno") == "0" || grdDs.getColumn(i, "prtlstat") == "21") {
- grdNm.setCellProperty("body", i, "color", "#0000ff");
- } else if(grdDs.getColumn(i, "prtlstat") == "11" || grdDs.getColumn(i, "prtlstat") == "12") {
- grdNm.setCellProperty("body", i, "color", "#ff0000");
- } else {
- grdNm.setCellProperty("body", i, "color", "#000000");
- }
- }
-
- fGridSetRow(grdNm);
-
- if(no == 1) {
- grdNm = grd_etc1;
- grdDs = ds_main_etclist1;
- } else {
- grdNm = grd_etc2;
- grdDs = ds_main_etclist2;
- }
-
- for(var i = 0; i < grdDs.rowcount; i++) {
- if(grdDs.getColumn(i, "prtlprcpno") == "0" || grdDs.getColumn(i, "prtlstat") == "21") {
- grdNm.setCellProperty("body", i, "color", "#0000ff");
- } else if(grdDs.getColumn(i, "prtlstat") == "11" || grdDs.getColumn(i, "prtlstat") == "12") {
- grdNm.setCellProperty("body", i, "color", "#ff0000");
- } else {
- grdNm.setCellProperty("body", i, "color", "#000000");
- }
- }
-
- fGridSetRow(grdNm);
-
- // var statNode = instance1.selectNodes("/root/temp/getdatalist/list"); 왜 필요한건지...
- //처방일이 오늘날짜 이상이면, 색상을 달리한다
- /*fcsCaptionCtrl = document.controls( "grd_drug" + no );
- for(var i=1; i<fcsCaptionCtrl.rows; i++){
- var histcd = model.getValue("/root/main/druglist" + no + "/list[" + i + "]/prcphistcd");
- // stepno='' -> cpno='0' 으로 변경함. (2008.01.23)
- if( model.getValue("/root/main/druglist" + no + "/list[" + i + "]/prtlprcpno") == "0" || model.getValue("/root/main/druglist" + no + "/list[" + i + "]/prtlstat") == "21"){
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#0000ff";
- }else if(model.getValue("/root/main/druglist" + no + "/list[" + i + "]/prtlstat") == "30" && histcd == "E"){ //반납
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#c0c0c0";
-
- }else if( model.getValue("/root/main/druglist" + no + "/list[" + i + "]/prtlstat") == "30" && histcd == "C" ){ //DC전
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#ff0000";
-
- }
- else if( model.getValue("/root/main/druglist" + no + "/list[" + i + "]/prtlstat") == "11" || model.getValue("/root/main/druglist" + no + "/list[" + i + "]/prtlstat") == "12" ){
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#ff0000";
-
- }else{
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#000000";
- }
- }
-
- fcsCaptionCtrl = document.controls( "grd_test" + no );
- for(var i=1; i<fcsCaptionCtrl.rows; i++){
- if( model.getValue("/root/main/testlist" + no + "/list[" + i + "]/prtlprcpno") == "0" || model.getValue("/root/main/testlist" + no + "/list[" + i + "]/prtlstat") == "21"){
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#0000ff";
- }else if( model.getValue("/root/main/testlist" + no + "/list[" + i + "]/prtlstat") == "11" || model.getValue("/root/main/testlist" + no + "/list[" + i + "]/prtlstat") == "12"){
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#ff0000";
- }else{
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#000000";
- }
- }
-
- fcsCaptionCtrl = document.controls( "grd_caredelive" + no );
- for(var i=1; i<fcsCaptionCtrl.rows; i++){
- if( model.getValue("/root/main/caredelivelist" + no + "/list[" + i + "]/prtlprcpno") == "0" || model.getValue("/root/main/caredelivelist" + no + "/list[" + i + "]/prtlstat") == "21"){
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#0000ff";
- }else if( model.getValue("/root/main/caredelivelist" + no + "/list[" + i + "]/prtlstat") == "11" || model.getValue("/root/main/caredelivelist" + no + "/list[" + i + "]/prtlstat") == "12"){
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#ff0000";
- }else{
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#000000";
- }
- }
-
- fcsCaptionCtrl = document.controls( "grd_etc" + no );
- for(var i=1; i<fcsCaptionCtrl.rows; i++){
- if( model.getValue("/root/main/etclist" + no + "/list[" + i + "]/prtlprcpno") == "0" || model.getValue("/root/main/etclist" + no + "/list[" + i + "]/prtlstat") == "21"){
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#0000ff";
- }else if( model.getValue("/root/main/etclist" + no + "/list[" + i + "]/prtlstat") == "11" || model.getValue("/root/main/etclist" + no + "/list[" + i + "]/prtlstat") == "12"){
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#ff0000";
- }else{
- fcsCaptionCtrl.rowstyle(i, "data", "color") = "#000000";
- }
- } */
- //프로토콜 처방 내역 (8, 3)
- /*gridID = "grd_drug" + no;
- setRowStyle(gridID, "11", "10", "prtlstat", "biggerThen");
- setRowStyle(gridID, "8", "30", "prtlstat", "equal");
-
- gridID = "grd_test" + no;
- setRowStyle(gridID, "11", "10", "prtlstat", "biggerThen");
- setRowStyle(gridID, "8", "30", "prtlstat", "equal");
-
- gridID = "grd_caredelive" + no;
- setRowStyle(gridID, "11", "10", "prtlstat", "biggerThen");
- setRowStyle(gridID, "8", "30", "prtlstat", "equal");
-
- gridID = "grd_form" + no;
- setRowStyle(gridID, "11", "10", "prtlstat", "biggerThen");
- setRowStyle(gridID, "8", "30", "prtlstat", "equal");
-
- gridID = "grd_etc" + no;
- setRowStyle(gridID, "11", "10", "prtlstat", "biggerThen");
- setRowStyle(gridID, "8", "30", "prtlstat", "equal");*/
- }
- //model.refresh();
-
-
- grd_caredelive1.setFormatRowProperty(0, "size", 0);// grd_caredelive1.rowHidden(0) = true;
- grd_caredelive2.setFormatRowProperty(0, "size", 0); // grd_caredelive2.rowHidden(0) = true;
- grd_form1.setFormatRowProperty(0, "size", 0); // grd_form1.rowHidden(0) = true;
- grd_form2.setFormatRowProperty(0, "size", 0); // grd_form2.rowHidden(0) = true;
- grd_etc1.setFormatRowProperty(0, "size", 0); // grd_etc1.rowHidden(0) = true;
- grd_etc2.setFormatRowProperty(0, "size", 0); // grd_etc2.rowHidden(0) = true;
- }
- function fGridSetRow(grdNm) {
- grdf_setRowStyle(grdNm, "11", "10", "prtlstat", "biggerThen" );
- grdf_setRowStyle(grdNm, "8", "30", "prtlstat", "equal" );
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- close();
- }
- ]]></Script>
- </Form>
- </FDL>
|