123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMANC00200" position="absolute 0 0 1201 794" titletext="영양교육/관리접수" oninit="SMANC00200_oninit" onload="SMANC00200_onload" onclose="SMANC00200_onclose">
- <Layouts>
- <Layout>
- <Div position="absolute 0 16 1194 760" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Div position="absolute 0 10 1194 99" align="align:center top;" id="grp_sea" anchor="default">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 1194 88" id="roundrect1" class="roundrect_search" type="roundrectangle" anchor="default"/>
- <Button position="absolute 1120 15 1176 37" id="btn_search" class="btn1" text="조회" anchor="default" onclick="group3_grp_sea_btn_search_onclick"/>
- <Shape position="absolute 1102 10 1108 75" linetype="vertical" id="line1" anchor="default"/>
- <Calendar position="absolute 201 10 290 29" id="ipt_reqtodd" class="input_essential" anchor="default" autoselect="true"/>
- <Combo position="absolute 742 10 857 29" id="cmb_orddept" class="combo_essential" innerdataset="@ds_init_basecode_orddept_dept" datacolumn="depthngnm" codecolumn="deptcd" anchor="default"/>
- <Static text="~" position="absolute 184 13 199 28" align="align:center middle;" id="caption3" anchor="default"/>
- <Static text="등록번호/환자명 :" position="absolute 345 35 462 52" id="caption6" class="search_name" anchor="default"/>
- <Button position="absolute 635 35 651 51" id="btn_pid" class="icon_search" text="" anchor="default" onclick="group3_grp_sea_btn_pid_onclick"/>
- <Combo position="absolute 935 10 1075 29" id="cmb_ward" class="combo_essential" innerdataset="@ds_init_basecode_ward_dept" datacolumn="depthngnm" codecolumn="deptcd" anchor="default" onitemchanged="group3_grp_sea_cmb_ward_onitemchanged"/>
- <Static text="업무구분 :" position="absolute 345 60 421 77" id="caption5" class="search_name" anchor="default"/>
- <Combo position="absolute 425 60 515 79" id="cmb_bizflag" class="combo_essential" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">
- </Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">교육</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">교육예약</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">면담중</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">관리</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">관리예약</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">관리중</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="교육장소 :" position="absolute 678 60 753 77" id="caption8" class="search_name" anchor="default"/>
- <Combo position="absolute 755 60 887 79" id="cmb_educplce" class="combo_essential" innerdataset="@ds_init_baseinfo_initplace_A160" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <Static text="회신상태 :" position="absolute 10 60 85 77" id="caption1" class="search_name" anchor="default"/>
- <Combo position="absolute 88 60 178 79" id="cmb_cnststat" class="combo_essential" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group3_grp_sea_cmb_cnststat_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">
- </Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">미회신</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">회신</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static position="absolute 535 0 635 20" align="align:left middle;" id="hintcaption" visible="false" anchor="default"/>
- <Static text="의뢰일자 :" position="absolute 10 10 85 27" id="caption2" class="search_name" anchor="default"/>
- <Calendar position="absolute 88 10 177 29" id="ipt_reqfromdd" class="input_essential" anchor="default" autoselect="true"/>
- <Static text="~" position="absolute 522 12 537 27" align="align:center middle;" id="caption9" anchor="default"/>
- <Static text="회신일자 :" position="absolute 345 10 420 27" id="caption10" class="search_name" anchor="default"/>
- <Calendar position="absolute 425 10 520 29" id="ipt_rsrvfromdd" class="input_essential" anchor="default" autoselect="true" enable="false"/>
- <Calendar position="absolute 538 10 633 29" id="ipt_rsrvtodd" class="input_essential" anchor="default" autoselect="true" enable="false"/>
- <Static text="진료과 :" position="absolute 678 10 738 27" id="caption11" class="search_name" anchor="default"/>
- <Static text="병동 :" position="absolute 885 10 935 27" id="caption12" class="search_name" anchor="default"/>
- <Radio position="absolute 88 36 223 56" id="rdo_patflag" class="radio_search" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" onitemchanged="group3_grp_sea_rdo_patflag_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">O</Col>
- <Col id="datacolumn">외래</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">입원</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static text="환자구분 :" position="absolute 10 35 86 52" id="caption4" class="search_name" anchor="default"/>
- <Static text="영양사 :" position="absolute 678 35 738 52" id="caption7" class="search_name" anchor="default"/>
- <Combo position="absolute 742 35 855 54" id="cmb_dieter" class="combo_search" innerdataset="@ds_init_basecode_dieter_dieter" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
- <MaskEdit position="absolute 468 35 548 54" id="ipt_pid" class="input_search" mask="9999999999" anchor="default" autoselect="true" onkeydown="group3_grp_sea_ipt_pid_onkeydown" style="align:left middle;"/>
- <Edit position="absolute 550 35 630 54" id="ipt_hngnm" class="input_search" anchor="default" autoselect="true" onkeydown="group3_grp_sea_ipt_hngnm_onkeydown"/>
- <Static id="caption00" text="의뢰항목 :" class="search_name" position="absolute 885 35 960 52" anchor="default"/>
- <CheckBox id="checkbox1" taborder="2" text="회신" truevalue="Y" position="absolute 295 10 340 30" falsevalue="N" value="N" onclick="group3_grp_sea_checkbox1_onclick"/>
- <Combo id="cmb_formcd" taborder="3" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 959 34 1075 53" innerdataset="@ds_UC00014"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1143 104 1193 123" id="btn_excel" class="btn7" text="엑셀" anchor="default" onclick="group3_btn_excel_onclick"/>
- <Grid position="absolute 0 130 1194 740" id="grd_data" binddataset="ds_main_item_data" anchor="default" oncelldblclick="group3_grd_data_oncelldblclick" autoenter="select" onexpanddown="group3_grd_data_onexpanddown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="75"/>
- <Column size="60"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="180"/>
- <Column size="95"/>
- <Column size="55"/>
- <Column size="120"/>
- <Column size="200"/>
- <Column size="85"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="95"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="110"/>
- <Column size="115"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </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="사유"/>
- <Cell col="5" text="h_처방상태"/>
- <Cell col="6" text="의뢰일자"/>
- <Cell col="7" text="의뢰일시"/>
- <Cell col="8" text="h_실시처방번호"/>
- <Cell col="9" text="퇴원예고일자"/>
- <Cell col="10" text="등록번호"/>
- <Cell col="11" text="환자구분"/>
- <Cell col="12" text="환자명"/>
- <Cell col="13" text="h_생년월일"/>
- <Cell col="14" text="h_성별"/>
- <Cell col="15" text="성별/나이"/>
- <Cell col="16" text="진단명"/>
- <Cell col="17" text="진료과"/>
- <Cell col="18" text="담당교수"/>
- <Cell col="19" text="의뢰항목"/>
- <Cell col="20" text="의뢰내용"/>
- <Cell col="21" text="예약일자"/>
- <Cell col="22" text="예약시간"/>
- <Cell col="23" text="예약 종료일"/>
- <Cell col="24" text="종료시간"/>
- <Cell col="25" text="교육장소"/>
- <Cell col="26" text="영양사"/>
- <Cell col="27" text="수납여부"/>
- <Cell col="28" text="실제회신일"/>
- <Cell col="29" text="영양관리유형"/>
- <Cell col="30" text="질환구분"/>
- <Cell col="31" text="h_수납일자"/>
- <Cell col="32" text="h_생성번호"/>
- <Cell col="33" text="h_진료과"/>
- <Cell col="34" text="h_입원외래"/>
- <Cell col="35" text="h_진료일자"/>
- <Cell col="36" text="h_처방코드"/>
- <Cell col="37" text="h_간호사"/>
- <Cell col="38" text="h_서식기록번호"/>
- <Cell col="39"/>
- <Cell col="40"/>
- <Cell col="41"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="2" text="bind:mngtstat"/>
- <Cell col="3" text="bind:bizflag"/>
- <Cell col="4" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:cancelcmt" combodataset="ds_init_baseinfo_canclecmt_A161" combocodecol="cdnm" combodatacol="cdnm"/>
- <Cell col="5" text="bind:h_prcpstatcd"/>
- <Cell col="6" text="bind:reqdd" mask="yyyy-mm-dd"/>
- <Cell col="7" displaytype="text" style="align:center middle;" text="bind:reqddhm" mask="####-##-## ##:##" maskchar=" "/>
- <Cell col="8" text="bind:execprcpuniqno"/>
- <Cell col="9" displaytype="text" style="align:center middle;" text="bind:dschdclrdt" mask="####-##-##" maskchar=" "/>
- <Cell col="10" text="bind:pid"/>
- <Cell col="11" text="bind:patflag"/>
- <Cell col="12" text="bind:hngnm"/>
- <Cell col="13" text="bind:h_brthdd"/>
- <Cell col="14" text="bind:h_sex"/>
- <Cell col="15" text="bind:sexage"/>
- <Cell col="16" style="align:left top;padding:5 2 1 2;" text="bind:diagnm" wordwrap="word"/>
- <Cell col="17" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:orddept" combodataset="ds_init_basecode_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
- <Cell col="18" text="bind:atdoct"/>
- <Cell col="19" style="align:left top;padding:4 2 2 2;" text="bind:educreqcnts" wordwrap="word"/>
- <Cell col="20" displaytype="text" edittype="text" style="align:left top;padding:5 2 1 2;" text="bind:reccnts" wordwrap="word" expandshow="show"/>
- <Cell col="21" displaytype="date" edittype="date" text="bind:rsrvdd" calendardisplaynulltype="none"/>
- <Cell col="22" displaytype="text" edittype="text" style="align:center middle;" text="bind:eductm" mask="##:##" maskchar=" " edittrimtype="both" editautoselect="true"/>
- <Cell col="23" displaytype="date" edittype="date" text="bind:rsrvtodd" mask="yyyy-mm-dd"/>
- <Cell col="24" displaytype="text" edittype="text" style="align:center middle;" text="bind:eductotm" mask="##:##" maskchar=" "/>
- <Cell col="25" displaytype="combo" edittype="combo" text="bind:educplce" combodataset="ds_init_baseinfo_initplace_A160" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="26" displaytype="combo" edittype="combo" text="bind:dieter" combodataset="ds_init_basecode_dieter_dieter" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="27" text="bind:rcptyn"/>
- <Cell col="28" edittype="none" text="bind:repldd" mask="expr:utlf_isNull(repldd) ? '' : '####-##-## ##:##'"/>
- <Cell col="29" displaytype="combo" edittype="combo" text="bind:nutrmngtkind" combodataset="ds_init_basecode_nutrmngtkind_A0060" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="30" displaytype="combo" edittype="combo" text="bind:sickcd" combodataset="ds_init_basecode_sickcd_A0059" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="31" text="bind:h_rcptdd"/>
- <Cell col="32" text="bind:h_cretno"/>
- <Cell col="33" text="bind:h_orddeptcd"/>
- <Cell col="34" text="bind:h_prcpgenrflag"/>
- <Cell col="35" text="bind:h_orddd"/>
- <Cell col="36" text="bind:h_prcpcd"/>
- <Cell col="37" text="bind:h_nurse"/>
- <Cell col="38" text="bind:h_formrecseq"/>
- <Cell col="39" text="bind:h_cnstseqno"/>
- <Cell col="40" text="bind:h_sau"/>
- <Cell col="41" text="bind:h_cnstcnts9"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 125 1194 131" linetype="horizontal" id="line12" class="line_10" anchor="default"/>
- <Div position="absolute 435 265 880 510" id="grp_reccnts" visible="false" anchor="default">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 445 245" id="rectangle2" type="rectangle" anchor="default"/>
- <TextArea position="absolute 5 30 440 210" id="textarea2" wordwrap="word" anchor="default"/>
- <Button position="absolute 380 215 436 237" id="button4" class="btn4" text="닫기" anchor="default" onclick="group3_grp_reccnts_button4_onclick"/>
- <Static text="의뢰상세내용" position="absolute 6 12 179 28" id="caption13" class="tit_2" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="Static00" text="* 취소사유 수정 시 : 기준정보관리/공통코드관리에 그룹코드 A161로 조회 수정" position="absolute 714 107 1141 121" style="background:#fefeccff;" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 760 1195 786" id="group4" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 1139 4 1195 26" id="btn_save" class="btn4" text="저장" anchor="default" onclick="group4_btn_save_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption19" text="영양교육/관리접수" class="tit_1" position="absolute 0 0 146 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_send_searchitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="reqfromdd" type="STRING" size="256"/>
- <Column id="reqtodd" type="STRING" size="256"/>
- <Column id="rsrvfromdd" type="STRING" size="256"/>
- <Column id="rsrvtodd" type="STRING" size="256"/>
- <Column id="orddept" type="STRING" size="256"/>
- <Column id="patflag" type="STRING" size="256"/>
- <Column id="bizflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="ward" type="STRING" size="256"/>
- <Column id="dieter" type="STRING" size="256"/>
- <Column id="educplce" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- <Column id="cnststat" type="STRING" size="256"/>
- <Column id="educreqcnts" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="reqfromdd"/>
- <Col id="reqtodd"/>
- <Col id="rsrvfromdd"/>
- <Col id="rsrvtodd"/>
- <Col id="orddept"/>
- <Col id="patflag"/>
- <Col id="bizflag"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="ward"/>
- <Col id="dieter"/>
- <Col id="educplce"/>
- <Col id="srchflag"/>
- <Col id="cnststat"/>
- <Col id="educreqcnts"/>
- <Col id="formcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_basecode_orddept_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="acptdd" type="STRING" size="256"/>
- <Column id="inhospyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_basecode_ward_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_basecode_dieter_dieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_baseinfo_initplace_A160" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_item_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256"/>
- <Column id="mngtstat" type="STRING" size="256"/>
- <Column id="bizflag" type="STRING" size="256"/>
- <Column id="h_prcpstatcd" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="reqddhm" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patflag" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="h_brthdd" type="STRING" size="256"/>
- <Column id="h_sex" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="diagnm" type="STRING" size="256"/>
- <Column id="orddept" type="STRING" size="256"/>
- <Column id="atdoct" type="STRING" size="256"/>
- <Column id="educreqcnts" type="STRING" size="256"/>
- <Column id="reccnts" type="STRING" size="256"/>
- <Column id="rsrvdd" type="STRING" size="256"/>
- <Column id="eductm" type="STRING" size="256"/>
- <Column id="rsrvtodd" type="STRING" size="256"/>
- <Column id="eductotm" type="STRING" size="256"/>
- <Column id="educplce" type="STRING" size="256"/>
- <Column id="dieter" type="STRING" size="256"/>
- <Column id="rcptyn" type="STRING" size="256"/>
- <Column id="h_rcptdd" type="STRING" size="256"/>
- <Column id="h_cretno" type="STRING" size="256"/>
- <Column id="h_orddeptcd" type="STRING" size="256"/>
- <Column id="h_prcpgenrflag" type="STRING" size="256"/>
- <Column id="h_orddd" type="STRING" size="256"/>
- <Column id="h_prcpcd" type="STRING" size="256"/>
- <Column id="h_nurse" type="STRING" size="256"/>
- <Column id="h_formrecseq" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="rgstseqno" type="STRING" size="256"/>
- <Column id="repldd" type="STRING" size="256"/>
- <Column id="nutrmngtkind" type="STRING" size="256"/>
- <Column id="sickcd" type="STRING" size="256"/>
- <Column id="cnstseqno" type="STRING" size="256"/>
- <Column id="sau" type="STRING" size="256"/>
- <Column id="cnstcnts9" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="dschdclrdt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="check"/>
- <Col id="mngtstat"/>
- <Col id="bizflag"/>
- <Col id="h_prcpstatcd"/>
- <Col id="reqdd"/>
- <Col id="reqddhm"/>
- <Col id="execprcpuniqno"/>
- <Col id="pid"/>
- <Col id="patflag"/>
- <Col id="hngnm"/>
- <Col id="h_brthdd"/>
- <Col id="h_sex"/>
- <Col id="sexage"/>
- <Col id="diagnm"/>
- <Col id="orddept"/>
- <Col id="atdoct"/>
- <Col id="educreqcnts"/>
- <Col id="reccnts"/>
- <Col id="rsrvdd"/>
- <Col id="eductm"/>
- <Col id="rsrvtodd"/>
- <Col id="eductotm"/>
- <Col id="educplce"/>
- <Col id="dieter"/>
- <Col id="rcptyn"/>
- <Col id="h_rcptdd"/>
- <Col id="h_cretno"/>
- <Col id="h_orddeptcd"/>
- <Col id="h_prcpgenrflag"/>
- <Col id="h_orddd"/>
- <Col id="h_prcpcd"/>
- <Col id="h_nurse"/>
- <Col id="h_formrecseq"/>
- <Col id="execdd"/>
- <Col id="formcd"/>
- <Col id="rgstseqno"/>
- <Col id="repldd"/>
- <Col id="nutrmngtkind"/>
- <Col id="sickcd"/>
- <Col id="cnstseqno"/>
- <Col id="sau"/>
- <Col id="cnstcnts9"/>
- <Col id="dschdd"/>
- <Col id="dschdclrdt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_baseinfo_canclecmt_A161" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_basecode_nutrmngtkind_A0060" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_basecode_sickcd_A0059" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_basecode_dieter_intndieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_basecode_dieter_alldieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_cnstinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="formrecseq" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="rgstseqno" type="STRING" size="256"/>
- <Column id="cnstdd" type="STRING" size="256"/>
- <Column id="prcpgenrflag" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="cnsttype" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="cnstseqno" type="STRING" size="256"/>
- <Column id="sau" type="STRING" size="256"/>
- <Column id="cnstcnts9" type="STRING" size="256"/>
- <Column id="pidchkflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="reqdd" type="STRING" size="256"/>
- <Column id="reqpsn" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="educreqcnts" type="STRING" size="256"/>
- <Column id="reccnts" type="STRING" size="256"/>
- <Column id="h_cretno" type="STRING" size="256"/>
- <Column id="h_orddeptcd" type="STRING" size="256"/>
- <Column id="h_prcpgenrflag" type="STRING" size="256"/>
- <Column id="h_orddd" type="STRING" size="256"/>
- <Column id="h_formrecseq" type="STRING" size="256"/>
- <Column id="execprcpuniqno" type="STRING" size="256"/>
- <Column id="nutrmngtkind" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="flag"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="reqdd"/>
- <Col id="reqpsn"/>
- <Col id="orddrid"/>
- <Col id="educreqcnts"/>
- <Col id="reccnts"/>
- <Col id="h_cretno"/>
- <Col id="h_orddeptcd"/>
- <Col id="h_prcpgenrflag"/>
- <Col id="h_orddd"/>
- <Col id="h_formrecseq"/>
- <Col id="execprcpuniqno"/>
- <Col id="nutrmngtkind"/>
- <Col id="execdd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_req_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_UC00014" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group3.grp_sea.ipt_reqfromdd" propid="value" datasetid="ds_send_searchitem" columnid="reqfromdd"/>
- <BindItem id="item1" compid="group3.grp_sea.ipt_reqtodd" propid="value" datasetid="ds_send_searchitem" columnid="reqtodd"/>
- <BindItem id="item2" compid="group3.grp_sea.ipt_rsrvfromdd" propid="value" datasetid="ds_send_searchitem" columnid="rsrvfromdd"/>
- <BindItem id="item3" compid="group3.grp_sea.ipt_rsrvtodd" propid="value" datasetid="ds_send_searchitem" columnid="rsrvtodd"/>
- <BindItem id="item4" compid="group3.grp_sea.cmb_orddept" propid="value" datasetid="ds_send_searchitem" columnid="orddept"/>
- <BindItem id="item5" compid="group3.grp_sea.cmb_ward" propid="value" datasetid="ds_send_searchitem" columnid="ward"/>
- <BindItem id="item6" compid="group3.grp_sea.rdo_patflag" propid="value" datasetid="ds_send_searchitem" columnid="patflag"/>
- <BindItem id="item7" compid="group3.grp_sea.ipt_pid" propid="value" datasetid="ds_send_searchitem" columnid="pid"/>
- <BindItem id="item8" compid="group3.grp_sea.ipt_hngnm" propid="value" datasetid="ds_send_searchitem" columnid="hngnm"/>
- <BindItem id="item9" compid="group3.grp_sea.cmb_dieter" propid="value" datasetid="ds_send_searchitem" columnid="dieter"/>
- <BindItem id="item11" compid="group3.grp_sea.cmb_cnststat" propid="value" datasetid="ds_send_searchitem" columnid="cnststat"/>
- <BindItem id="item12" compid="group3.grp_sea.cmb_bizflag" propid="value" datasetid="ds_send_searchitem" columnid="bizflag"/>
- <BindItem id="item13" compid="group3.grp_sea.cmb_educplce" propid="value" datasetid="ds_send_searchitem" columnid="educplce"/>
- <BindItem id="item14" compid="group3.grp_reccnts.textarea2" propid="value" datasetid="ds_send_popup" columnid="reccnts"/>
- <BindItem id="item15" compid="group3.grp_sea.cmb_formcd" propid="value" datasetid="ds_send_searchitem" columnid="formcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "emr_prcpmngtxp::SMMMO00100.xjs";
- include "ast_examcurexp::AEZ0001.xjs"
- include "ast_examcurexp::combolist.xjs"
- var arErrorCode = new HashArray();
- function SMANC00200_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); //폼 초기화
- }
- function SMANC00200_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_setGridSort(group3.grd_data);
-
- finit();
- // grd_data.hint = " "; //의뢰기록내용을 말풍선으로 보여주기위함.
- // grd_data.attribute("tooltip") = "false"; //의뢰기록내용을 말풍선으로 보여주기위함.
- // grd_data.attribute("onshowhint") = "showhint()"; //의뢰기록내용을 말풍선으로 보여주기위함.
- //model.setValue("/root/send/searchitem/posdeptcd", getUserInfo("posdeptcd")); //소속부서코드
- group3.grp_sea.btn_search.enable = frmf_checkAuth("R");
- group4.btn_save.enable = frmf_checkAuth("X");
- group3.btn_excel.enable = frmf_checkAuth("P");
-
- var arrParam = [{dsNm: "ds_init_baseinfo_initplace_A160" , cdGrpId: "A160"}
- ,{dsNm: "ds_init_baseinfo_canclecmt_A161", cdGrpId: "A161"}
- ]
- lf_getAstCodeList(arrParam);
-
- // var oParam = {};
- // oParam.id = "TRAAA00001";
- // oParam.service = "examcurebaseapp.ComCode";
- // oParam.method = "reqGetComboList";
- // oParam.inds = "cmd=ds_ req=ds_";
- // oParam.outds = "ds_=${repeat_ref}";
- // oParam.async = false;
- // oParam.callback = "cf_TRAAA00001";
- //
- // tranf_submit(oParam);
-
- //submit("TRANC00202"); //영양사 조회
- var oParam = {};
- oParam.id = "TRANC00202";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqGetDieter";
- oParam.inds = "req=ds_temp";
- oParam.outds = "ds_init_basecode_dieter_dieter=dieter ds_init_basecode_dieter_intndieter=intndieter ds_init_basecode_dieter_alldieter=alldieter";
- oParam.async = false;
- tranf_submit(oParam);
-
- //화면open시 영양관리유형, 질환명에 코드를 setting해준다.
- var arrParam = [{dsNm: "ds_init_basecode_nutrmngtkind_A0060", cdGrpId: "A0060"}, {dsNm: "ds_init_basecode_sickcd_A0059", cdGrpId: "A0059"},
- {dsNm: "ds_init_baseinfo_canclecmt_A161", cdGrpId: "A161"}];
- appf_getCodeList(arrParam, true);
- }
- function zsdfGetWardDeptList(instcd, rslt_ref, sort_field, sort_method, base_dd, mode){
- // zbcfGetDeptCodeList(instcd, "orduseyn", "W", rslt_ref, sort_field, sort_method, base_dd, "", mode);
- appf_getDeptCodeList(instcd, "orduseyn", "W", sort_field, sort_method, base_dd, "", mode, rslt_ref, false, null);
- }
- function finit() {
- // 화면open시 공통코드 settingx
- //zbcfGetCodeList( new Array( "A0058", "P0149", "P0160" ), new Array( "/root/init/basecode/dngr", "/root/init/basecode/orddept", "/root/init/basecode/ward" ) );
- //appf_getDeptCodeList(sysf_getUserInfo("dutplceinstcd"), "orduseyn", "W", "depthngnm", "asc", "", "", "", "ds_main_ward_dept", true, "");
- //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn", "W", "/root/main/ward", "depthngnm", "asc");
- appf_getDeptCodeList(sysf_getUserInfo("dutplceinstcd"), "orduseyn", "D", "depthngnm", "asc", "", "", "", "ds_init_basecode_orddept_dept", false, "");
- ds_init_basecode_orddept_dept.insertRow(0);
-
- zsdfGetWardDeptList(sysf_getUserInfo("dutplceinstcd"), "ds_init_basecode_ward_dept", "depthngnm", "asc",utlf_getCurrentDate().toDate().getDateFormat("YYYYMMDD"), "after");
- ds_init_basecode_ward_dept.insertRow(0);
-
- appf_getUserCodeList([{dsNm: "ds_UC00014", userCd: "00014"}], true);
- ds_UC00014.insertRow(0);
-
- ds_main_item_data.clearData();
- ds_send_searchitem.clearData();
- ds_send_searchitem.addRow();
-
- ds_send_searchitem.setColumn(0, "reqfromdd", utlf_getCurrentDate());
- ds_send_searchitem.setColumn(0, "reqtodd", utlf_getCurrentDate());
- ds_send_searchitem.setColumn(0, "patflag", "-");
- ds_send_searchitem.setColumn(0, "bizflag", "0");
- ds_send_searchitem.setColumn(0, "cnststat", "N");
- }
- function group3_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var reqfromdd = ds_send_searchitem.getColumn(0, "reqfromdd");
- var reqtodd = ds_send_searchitem.getColumn(0, "reqtodd");
- var rsrvfromdd = ds_send_searchitem.getColumn(0, "rsrvfromdd");
- var rsrvtodd = ds_send_searchitem.getColumn(0, "rsrvtodd");
-
- if ((utlf_getDateInterval(reqfromdd, reqtodd) < 0) || (utlf_getDateInterval(rsrvfromdd, rsrvtodd) < 0)) {
- sysf_messageBox("조회 시작일은 종료일보다 클 수", "I004");
- return;
- }
-
- if ( (utlf_isNull(reqfromdd) || utlf_isNull(reqtodd)) && (utlf_isNull(rsrvfromdd) || utlf_isNull(rsrvtodd)) ) {
- sysf_messageBox("의뢰일자 또는 예약일자를", "C002");
- return;
- }
-
- if ( utlf_isNull(reqfromdd) || utlf_isNull(reqtodd)) {
- ds_send_searchitem.setColumn(0, "srchflag", "2"); //의뢰일자 없이 예약일자로 조회
- } else {
- ds_send_searchitem.setColumn(0, "srchflag", "1"); //의뢰일자로 조회
- }
-
- var oParam = {};
- oParam.id = "TRANC00201";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqGetNutrEduc";
- oParam.inds = "req=ds_send_searchitem";
- oParam.outds = "ds_main_item_data=ret";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_main_item_data.addColumn("h_orddeptcd", "string");
-
- ds_main_item_data.enableevent = false;
- ds_main_item_data.updatecontrol = false;
-
- for( var i=0 ; i<ds_main_item_data.rowcount ; i++ ){
- ds_main_item_data.setColumn(i, "h_orddeptcd", ds_main_item_data.getColumn(i, "orddept"));
- }
-
- ds_main_item_data.updatecontrol = true;
- ds_main_item_data.enableevent = true;
-
- if( utlf_isNull(ds_main_item_data.getColumnInfo("prcpstatcd")) ){
- ds_main_item_data.addColumn("h_prcpstatcd", "string");
- }else{
- ds_main_item_data.updateColID("prcpstatcd", "h_prcpstatcd");
- }
- if( utlf_isNull(ds_main_item_data.getColumnInfo("brthdd")) ){
- ds_main_item_data.addColumn("h_brthdd", "string");
- }else{
- ds_main_item_data.updateColID("brthdd", "h_brthdd");
- }
- if( utlf_isNull(ds_main_item_data.getColumnInfo("sex")) ){
- ds_main_item_data.addColumn("h_sex", "string");
- }else{
- ds_main_item_data.updateColID("sex", "h_sex");
- }
- if( utlf_isNull(ds_main_item_data.getColumnInfo("rcptdd")) ){
- ds_main_item_data.addColumn("h_rcptdd", "string");
- }else{
- ds_main_item_data.updateColID("rcptdd", "h_rcptdd");
- }
- if( utlf_isNull(ds_main_item_data.getColumnInfo("prcpcd")) ){
- ds_main_item_data.addColumn("h_prcpcd", "string");
- }else{
- ds_main_item_data.updateColID("prcpcd", "h_prcpcd");
- }
- if( utlf_isNull(ds_main_item_data.getColumnInfo("carecnfmrid")) ){
- ds_main_item_data.addColumn("h_nurse", "string");
- }else{
- ds_main_item_data.updateColID("carecnfmrid", "h_nurse");
- }
- ds_main_item_data.updateColID("cretno", "h_cretno");
- ds_main_item_data.updateColID("ioflag", "h_prcpgenrflag");
- ds_main_item_data.updateColID("orddd", "h_orddd");
- ds_main_item_data.updateColID("formrecseq", "h_formrecseq");
- ds_main_item_data.updateColID("cnstseqno", "h_cnstseqno");
- ds_main_item_data.updateColID("sau", "h_sau");
- ds_main_item_data.updateColID("cnstcnts9", "h_cnstcnts9");
-
- if(ds_main_item_data.rowcount > 0){
- ds_main_item_data.enableevent = false;
- ds_main_item_data.updatecontrol = false;
- for(var i = 0; i < ds_main_item_data.rowcount ;i++){
- ds_main_item_data.setColumn(i, "rsrvdd", utlf_trim(ds_main_item_data.getColumn(i, "rsrvdd")));
- }
- ds_main_item_data.updatecontrol = true;
- ds_main_item_data.enableevent = true;
- }
- }
- function group3_grp_sea_cmb_ward_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- //병동 선택시 환자구분을 입원으로 셋팅
- if ( !utlf_isNull(group3.grp_sea.cmb_ward.value)) {
- group3.grp_sea.rdo_patflag.value = 'I';
- }
- }
- function group3_grp_sea_rdo_patflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- //외래 선택시 병동 콤보 clear
- if ( group3.grp_sea.rdo_patflag.value == 'O') {
- group3.grp_sea.cmb_ward.value = "";
- }
- }
- function group3_grp_sea_ipt_pid_onkeydown(obj:MaskEdit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- group3_grp_sea_btn_search_onclick();
- }
- }
- function group3_grp_sea_ipt_hngnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13){
- group3_grp_sea_btn_search_onclick();
- }
- }
- function group3_grp_sea_btn_pid_onclick(obj:Button, e:ClickEventInfo)
- {
- var objArg = new Object();
- objArg.arg_ds_send = ds_hidden;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, null, null, null, null, null, null, null, null, "M");
-
- ds_send_searchitem.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
- ds_send_searchitem.setColumn(0, "hngnm", ds_patinfolist.getColumn(0, "hngnm"));
- }
- function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(group3.grd_data, "영양교육관리" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function group3_grd_data_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- // 소속 기관이 서울성모인 경우만 JCI용 환자별영양관리 화면(SMANC00350) 호출
- var instcd = sysf_getUserInfo("dutplceinstcd");
-
- if ( e.row >= 0 && e.col >= 0) {
- //경장영양지원의뢰(EN)일 경우 약제팀의 'NST환자관리' 화면 링크
- if ( ds_main_item_data.getColumn(ds_main_item_data.rowposition, "formcd") == '0000003019' ) {
- ds_temp_cnstinfo.setColumn(0, "pid", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "pid"));
- ds_temp_cnstinfo.setColumn(0, "cnstdd", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "reqdd"));
- ds_temp_cnstinfo.setColumn(0, "cretno", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_cretno"));
- ds_temp_cnstinfo.setColumn(0, "prcpgenrflag", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_prcpgenrflag"));
- ds_temp_cnstinfo.setColumn(0, "orddd", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_orddd"));
- ds_temp_cnstinfo.setColumn(0, "formrecseq", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_formrecseq"));
- ds_temp_cnstinfo.setColumn(0, "formcd", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "formcd"));
- ds_temp_cnstinfo.setColumn(0, "rgstseqno", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "rgstseqno"));
- ds_temp_cnstinfo.setColumn(0, "cnstseqno", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_cnstseqno"));
- ds_temp_cnstinfo.setColumn(0, "sau", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_sau"));
- ds_temp_cnstinfo.setColumn(0, "cnstcnts9", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_cnstcnts9"));
-
- // 환자 상단정보 START
- var prcpgenrflag = ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_prcpgenrflag");
- var pid = ds_main_item_data.getColumn(ds_main_item_data.rowposition, "pid");
- var orddd = ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_orddd");
- var cretno = ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_cretno");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var srchdd = ds_main_item_data.getColumn(ds_main_item_data.rowposition, "reqdd");
-
- if(prcpgenrflag == "I") {
- srchdd = utlf_getCurrentDate(); // 입원인 경우 현재 일자로 조회 요청서:20191031013
- }
-
- var param = prcpgenrflag + '▦' + pid + '▦' + orddd + '▦' + cretno + '▦' + instcd + "▦" + srchdd;
- appf_delPatientInfos(); // 상단정보 초기화
- appf_initPatientInfo(param);
-
- // 환자 상단정보 EDN
- var objArg = new Object();
- objArg.arg_ds_temp_cnstinfo = ds_temp_cnstinfo;
-
- frmf_open("SMADC02600", "SMADC02600", objArg, null, null, null, null, null, null, null, null, null, "M");
- } else {
- // 'E'는 영양교육관리 화면임을 뜻하는 구분자임.
- ds_send_popup.setColumn(0, "flag", "E");
- ds_send_popup.setColumn(0, "pid", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "pid"));
- ds_send_popup.setColumn(0, "hngnm", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "hngnm"));
- ds_send_popup.setColumn(0, "reqdd", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "reqdd"));
- ds_send_popup.setColumn(0, "reqpsn", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "atdoct"));
- ds_send_popup.setColumn(0, "educreqcnts", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "educreqcnts"));
- ds_send_popup.setColumn(0, "reccnts", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "reccnts"));
- ds_send_popup.setColumn(0, "h_cretno", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_cretno"));
- ds_send_popup.setColumn(0, "h_orddeptcd", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "orddept"));
- ds_send_popup.setColumn(0, "h_prcpgenrflag",ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_prcpgenrflag"));
- ds_send_popup.setColumn(0, "h_orddd", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_orddd"));
- ds_send_popup.setColumn(0, "h_formrecseq", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_formrecseq"));
- ds_send_popup.setColumn(0, "nutrmngtkind", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "nutrmngtkind"));
- ds_send_popup.setColumn(0, "execdd", ds_main_item_data.getColumn(ds_main_item_data.rowposition, "execdd"));
- // 환자 상단정보 START
- var prcpgenrflag = ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_prcpgenrflag");
- var pid = ds_main_item_data.getColumn(ds_main_item_data.rowposition, "pid");
- var orddd = ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_orddd");
- var cretno = ds_main_item_data.getColumn(ds_main_item_data.rowposition, "h_cretno");
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var srchdd = ds_main_item_data.getColumn(ds_main_item_data.rowposition, "reqdd");
- if(prcpgenrflag == "I") {
- srchdd = utlf_getCurrentDate(); // 입원인 경우 현재 일자로 조회 요청서:20191031013
- }
- var param = prcpgenrflag + '▦' + pid + '▦' + orddd + '▦' + cretno + '▦' + instcd + "▦" + srchdd;
-
- appf_delPatientInfos(); // 상단정보 초기화
- appf_initPatientInfo(param);
- // 환자 상단정보 EDN
- var objArg = new Object();
- objArg.arg_ds_main_receivedata = ds_send_popup;
-
- frmf_modal("SMANC00300", "SMANC00300", objArg, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- }
- function group3_grd_data_onexpanddown(obj:Grid, e:GridMouseEventInfo)
- {
- var colidx = group3.grd_data.currentcol;
- if(group3.grd_data.getBindCellIndex("body", "reccnts") == colidx){
- ds_send_popup.setColumn(0, "reccnts", "");
- group3.grp_reccnts.visible = true;
- var rownum = ds_main_item_data.rowposition;
- var reccnts = ds_main_item_data.getColumn(rownum, "reccnts");
-
- ds_send_popup.setColumn(0, "reccnts",reccnts);
- }
- }
- function group3_grp_reccnts_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- group3.grp_reccnts.visible = false;
- }
- function group4_btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( sysf_messageBox("", "Q002") == 6 ) {
- var temp = grdf_getGridUpdateData(group3.grd_data);
- if(!utlf_isNull(temp) && temp.rowcount > 0){
-
- ds_send_req_list.copyData(temp);
- ds_send_req_list.enableevent = false;
- ds_send_req_list.updatecontrol = false;
- ds_send_req_list.addColumn("formrecseq", "string");
- for(var i = 0; i < ds_send_req_list.rowcount;i++){
- ds_send_req_list.setColumn(i, "formrecseq", ds_send_req_list.getColumn(i, "h_formrecseq"));
- }
- ds_send_req_list.updatecontrol = true;
- ds_send_req_list.enableevent = true;
- //EDUCTM
- var oParam = {};
- oParam.id = "TXANC00201";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqExeNutrEduc";
- oParam.inds = "req=ds_send_req_list";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXANC00201";
- tranf_submit(oParam);
-
- if (arErrorCode.pop("TXANC00201") > -1) {
- var oParam = {};
- oParam.id = "TRANC00201";
- oParam.service = "nutritionconsultapp.PatientNutr";
- oParam.method = "reqGetNutrEduc";
- oParam.inds = "req=ds_send_searchitem";
- oParam.outds = "ds_main_item_data=ret";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_main_item_data.addColumn("h_orddeptcd", "string");
-
- ds_main_item_data.enableevent = false;
- ds_main_item_data.updatecontrol = false;
-
- for( var i=0 ; i<ds_main_item_data.rowcount ; i++ ){
- ds_main_item_data.setColumn(i, "h_orddeptcd", ds_main_item_data.getColumn(i, "orddept"));
- }
-
- ds_main_item_data.updatecontrol = true;
- ds_main_item_data.enableevent = true;
-
- if( utlf_isNull(ds_main_item_data.getColumnInfo("prcpstatcd")) ){
- ds_main_item_data.addColumn("h_prcpstatcd", "string");
- }else{
- ds_main_item_data.updateColID("prcpstatcd", "h_prcpstatcd");
- }
- if( utlf_isNull(ds_main_item_data.getColumnInfo("brthdd")) ){
- ds_main_item_data.addColumn("h_brthdd", "string");
- }else{
- ds_main_item_data.updateColID("brthdd", "h_brthdd");
- }
- if( utlf_isNull(ds_main_item_data.getColumnInfo("sex")) ){
- ds_main_item_data.addColumn("h_sex", "string");
- }else{
- ds_main_item_data.updateColID("sex", "h_sex");
- }
- if( utlf_isNull(ds_main_item_data.getColumnInfo("rcptdd")) ){
- ds_main_item_data.addColumn("h_rcptdd", "string");
- }else{
- ds_main_item_data.updateColID("rcptdd", "h_rcptdd");
- }
- if( utlf_isNull(ds_main_item_data.getColumnInfo("prcpcd")) ){
- ds_main_item_data.addColumn("h_prcpcd", "string");
- }else{
- ds_main_item_data.updateColID("prcpcd", "h_prcpcd");
- }
- if( utlf_isNull(ds_main_item_data.getColumnInfo("carecnfmrid")) ){
- ds_main_item_data.addColumn("h_nurse", "string");
- }else{
- ds_main_item_data.updateColID("carecnfmrid", "h_nurse");
- }
- ds_main_item_data.updateColID("cretno", "h_cretno");
- ds_main_item_data.updateColID("ioflag", "h_prcpgenrflag");
- ds_main_item_data.updateColID("orddd", "h_orddd");
- ds_main_item_data.updateColID("formrecseq", "h_formrecseq");
- ds_main_item_data.updateColID("cnstseqno", "h_cnstseqno");
- ds_main_item_data.updateColID("sau", "h_sau");
- ds_main_item_data.updateColID("cnstcnts9", "h_cnstcnts9");
-
- if(ds_main_item_data.rowcount > 0){
- ds_main_item_data.enableevent = false;
- ds_main_item_data.updatecontrol = false;
- for(var i = 0; i < ds_main_item_data.rowcount ;i++){
- ds_main_item_data.setColumn(i, "rsrvdd", utlf_trim(ds_main_item_data.getColumn(i, "rsrvdd")));
- }
- ds_main_item_data.updatecontrol = true;
- ds_main_item_data.enableevent = true;
- }
- }
- }
- } else { return; }
- }
- function cf_TXANC00201(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function group3_grp_sea_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( obj.value == "Y" ){
- group3.grp_sea.ipt_reqfromdd.enable = false;
- group3.grp_sea.ipt_reqtodd.enable = false;
-
- group3.grp_sea.ipt_reqfromdd.value = "";
- group3.grp_sea.ipt_reqtodd.value = "";
-
- group3.grp_sea.ipt_rsrvfromdd.value = utlf_getCurrentDate();
- group3.grp_sea.ipt_rsrvtodd.value = utlf_getCurrentDate();
-
- group3.grp_sea.ipt_rsrvfromdd.enable = true;
- group3.grp_sea.ipt_rsrvtodd.enable = true;
- group3.grp_sea.cmb_cnststat.index = 2 ;
- }else{
- group3.grp_sea.ipt_reqfromdd.enable = true;
- group3.grp_sea.ipt_reqtodd.enable = true;
-
- group3.grp_sea.ipt_reqfromdd.value = utlf_getCurrentDate();
- group3.grp_sea.ipt_reqtodd.value = utlf_getCurrentDate();
-
- group3.grp_sea.ipt_rsrvfromdd.value = "";
- group3.grp_sea.ipt_rsrvtodd.value = "";
-
- group3.grp_sea.ipt_rsrvfromdd.enable = false;
- group3.grp_sea.ipt_rsrvtodd.enable = false;
- group3.grp_sea.cmb_cnststat.index = 1 ;
- }
- }
- function SMANC00200_onclose(obj:Form, e:CloseEventInfo)
- {
- appf_delPatientInfos(); // 상단정보 clear
- }
- ]]></Script>
- </Form>
- </FDL>
|