123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNN00800" position="absolute 0 0 1214 794" titletext="분만장부" onload="SMMNN00800_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="분만장부" class="tit_1" position="absolute 0 0 100 25"/>
- <Static id="caption8" text="* 단태아 이상 조회조건을 체크하면 분만간호기록에서 신생아 출생정보를 입력한 환자만 조회되고 체크하지 않으면 신생아 출생정보를 입력하지 않은 산모만 조회됩니다." position="absolute 5 767 1006 787" style="font:Dotum,9,bold;"/>
- <Shape id="line1" class="line_1" position="absolute 0 126 1195 132" style="strokepen:3 solid #33bbbbff;"/>
- <Div id="grp" taborder="1" class="div_SA" position="absolute 0 25 1194 105">
- <Layouts>
- <Layout width="1194" height="80">
- <Static id="caption2" text="산모명:" class="search_name" position="absolute 300 10 385 27"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1051 10 1057 52"/>
- <Static id="caption4" text="~" position="absolute 176 12 191 26"/>
- <Static id="caption3" text="조회일자:" class="search_name" position="absolute 5 10 99 27"/>
- <Static id="caption5" text="등록번호:" class="search_name" position="absolute 590 10 676 27"/>
- <Button id="btn_select" taborder="1" text="조회" class="btn1" position="absolute 1125 8 1181 30" onclick="grp_btn_select_onclick"/>
- <Edit id="ipt_patnm" taborder="2" class="input_search" position="absolute 376 9 441 28" onkeydown="grp_sea_ipt_patnm_onkeydown" autoselect="true"/>
- <Edit id="ipt_pid" taborder="3" class="input_search" position="absolute 668 9 738 28" onkeydown="grp_ipt_pid_onkeydown" autoselect="true"/>
- <Calendar id="ipt_bthddfromdd" taborder="4" dateformat="yyyy-MM-dd" class="input_essential" position="absolute 84 9 174 28" autoselect="true" autoskip="true"/>
- <Calendar id="ipt_bthddtodd" taborder="5" dateformat="yyyy-MM-dd" class="input_essential" position="absolute 191 9 281 28" autoselect="true" autoskip="true"/>
- <CheckBox id="bool1" taborder="6" position="absolute 820 9 845 29" onclick="grp_bool1_onclick" truevalue="true" falsevalue="false"/>
- <Static id="caption1" text="임상질지표" position="absolute 752 9 822 29" style="font:Dotum,9,bold;"/>
- <Static id="caption7" text="재원환자만" position="absolute 847 9 914 29" style="font:Dotum,9,bold;"/>
- <CheckBox id="bool2" taborder="7" position="absolute 917 9 942 29" truevalue="true" falsevalue="false" onclick="grp_bool2_onclick"/>
- <CheckBox id="bool3" taborder="8" position="absolute 1017 9 1042 29" truevalue="true" falsevalue="false" onclick="grp_bool3_onclick"/>
- <Static id="caption9" text="단태아 이상" position="absolute 943 9 1018 29" style="font:Dotum,9,bold;"/>
- <Static id="caption11" text="분만형태:" class="search_name" position="absolute 5 32 99 49"/>
- <Radio id="rdo_dlivkindcd" taborder="9" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 85 32 277 50" index="-1" columncount="-1" rowcount="-1" style="textpadding:0 3 0 3;">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">01</Col>
- <Col id="datacolumn">자연분만</Col>
- </Row>
- <Row>
- <Col id="codecolumn">02</Col>
- <Col id="datacolumn">수술분만</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption12" text="임신주수:" class="search_name" position="absolute 300 32 385 49"/>
- <Radio id="radio2" taborder="10" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 376 32 576 50" direction="horizontal" style="textpadding:0 3 0 3;" columncount="-1" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">37주미만</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">37주이상</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption13" text="태아체중:" class="search_name" position="absolute 590 54 690 71"/>
- <Radio id="radio3" taborder="11" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 668 54 1152 72" direction="horizontal" style="textpadding:0 3 0 3;" columncount="-1" rowcount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">1000g미만</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">1000g이상~1500g미만</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">1500g이상~2500g미만</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">2500g이상</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption14" text="신생아중환자실입원:" class="search_name" position="absolute 300 54 448 71"/>
- <Radio id="radio4" taborder="12" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 443 54 565 72" direction="horizontal" style="textpadding:0 3 0 3;" rowcount="-1" columncount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">유</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">무</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption15" text="태아성별:" class="search_name" position="absolute 5 54 95 71"/>
- <Static id="caption16" text="산모유형:" class="search_name" position="absolute 591 32 681 49"/>
- <Radio id="radio5" taborder="14" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 668 31 837 49" rowcount="-1" direction="horizontal" style="textpadding:0 3 0 3;" columncount="-1">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <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>
- </Rows>
- </Dataset>
- </Radio>
- <Button id="btn_print" taborder="15" text="출력" onclick="btn_print_onclick" class="btn6" position="absolute 1128 34 1180 53"/>
- <Button id="btn_saveexcel" taborder="16" text="엑셀저장" onclick="btn_saveexcel_onclick" class="btn2" position="absolute 1060 34 1124 53"/>
- <Radio id="radio1" taborder="17" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 85 54 220 72" style="textpadding:0 3 0 3;" direction="vertical">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn"/>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">M</Col>
- <Col id="datacolumn">남</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">여</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption10" text="분만환자내역" class="tit_2" position="absolute 0 109 108 125"/>
- <Grid id="grd_wardpatlist" class="datagrid3" taborder="2" binddataset="ds_main_womanlist" scrollpixel="all" useinputpanel="false" cellsizingtype="both" cellsizebandtype="allband" oncelldblclick="grd_wardpatlist_oncelldblclick" position="absolute 0 131 1195 760" tooltiptype="hover" onheadclick="grd_wardpatlist_onheaddblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="70"/>
- <Column size="56"/>
- <Column size="40"/>
- <Column size="75"/>
- <Column size="75"/>
- <Column size="35"/>
- <Column size="94"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="57"/>
- <Column size="45"/>
- <Column size="57"/>
- <Column size="71"/>
- <Column size="59"/>
- <Column size="89"/>
- <Column size="90"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="67"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="58"/>
- <Column size="24"/>
- <Column size="50"/>
- <Column size="125"/>
- <Column size="40"/>
- <Column size="93"/>
- <Column size="110"/>
- <Column size="56"/>
- <Column size="81"/>
- <Column size="60"/>
- <Column size="56"/>
- <Column size="56"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="48" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell taborder="undefined"/>
- <Cell col="1" colspan="17" text="산모정보" taborder="undefined"/>
- <Cell col="18" colspan="14" text="신생아정보" taborder="undefined"/>
- <Cell col="32" colspan="2" text="태반정보" taborder="undefined"/>
- <Cell col="34" colspan="3" text="기타사항" taborder="undefined"/>
- <Cell col="37" text="cretno"/>
- <Cell col="38" text="wardcd"/>
- <Cell col="39" text="roomcd"/>
- <Cell col="40" text="indschacptstat"/>
- <Cell row="1" taborder="undefined"/>
- <Cell row="1" col="1" text="등록번호" taborder="undefined"/>
- <Cell row="1" col="2" text="산모명" taborder="undefined"/>
- <Cell row="1" col="3" text="S/A" taborder="undefined"/>
- <Cell row="1" col="4" text="입원일자" taborder="undefined"/>
- <Cell row="1" col="5" text="분만일자" taborder="undefined"/>
- <Cell row="1" col="6" text="분만일시" wordwrap="char" taborder="undefined"/>
- <Cell row="1" col="7" text="산과력" taborder="undefined"/>
- <Cell row="1" col="8" text="산모유형" taborder="undefined"/>
- <Cell row="1" col="9" text="임신주수" taborder="undefined"/>
- <Cell row="1" col="10" text="임신주수구분" wordwrap="char" taborder="undefined"/>
- <Cell row="1" col="11" text="단태아" taborder="undefined"/>
- <Cell row="1" col="12" text="보조 생식술" taborder="undefined"/>
- <Cell row="1" col="13" text="산전진찰" taborder="undefined"/>
- <Cell row="1" col="14" text="남편명" taborder="undefined"/>
- <Cell row="1" col="15" text="특이사항" taborder="undefined"/>
- <Cell row="1" col="16" text="퇴원시 수유형태" taborder="undefined"/>
- <Cell row="1" col="17" text="퇴원일" taborder="undefined"/>
- <Cell row="1" col="18" text="등록번호" taborder="undefined"/>
- <Cell row="1" col="19" colspan="2" text="분만형태" taborder="undefined"/>
- <Cell row="1" col="21" text="분만장소" taborder="undefined"/>
- <Cell row="1" col="22" text="생사여부" taborder="undefined"/>
- <Cell row="1" col="23" text="성 별" taborder="undefined"/>
- <Cell row="1" col="24" text="몸무게 (g)" taborder="undefined"/>
- <Cell row="1" col="25" text=" 몸무게 구분(g)" taborder="undefined"/>
- <Cell row="1" col="26" text="A/S" taborder="undefined"/>
- <Cell row="1" col="27" text="특이사항" taborder="undefined"/>
- <Cell row="1" col="28" text="모유수유힘든이유" taborder="undefined"/>
- <Cell row="1" col="29" text="모유수유시도여부" wordwrap="char" taborder="undefined"/>
- <Cell row="1" col="30" text="모유수유최초시도일시" wordwrap="char" taborder="undefined"/>
- <Cell row="1" col="31" text="진행상태" taborder="undefined"/>
- <Cell row="1" col="32" text="중량(g)" taborder="undefined"/>
- <Cell row="1" col="33" text="길이(cm)" taborder="undefined"/>
- <Cell row="1" col="34" text="담당의" taborder="undefined"/>
- <Cell row="1" col="35" text="분만의" taborder="undefined"/>
- <Cell row="1" col="36" text="간호사" taborder="undefined"/>
- <Cell row="1" col="37" text="cretno"/>
- <Cell row="1" col="38" text="wardcd"/>
- <Cell row="1" col="39" text="roomcd"/>
- <Cell row="1" col="40" text="indschacptstat"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:left middle;" text="bind:pid" suppress="1" suppressalign="middle,over" tooltiptext="bind:pid"/>
- <Cell col="2" style="align:center middle;" text="bind:patnm" suppress="1" suppressalign="middle,over" tooltiptext="bind:patnm"/>
- <Cell col="3" style="align:center middle;" text="bind:sexage" tooltiptext="bind:sexage"/>
- <Cell col="4" displaytype="date" style="align:center middle;" text="bind:indd" calendardisplaynulltype="none" tooltiptext="bind:indd"/>
- <Cell col="5" displaytype="date" style="align:center middle;" text="bind:bthdd" calendardisplaynulltype="none" tooltiptext="bind:bthdd"/>
- <Cell col="6" displaytype="expr:utlf_isNull(bthtm) ? 'none' : 'text'" style="align:center middle;padding:4 2 4 2;" text="bind:bthtm" mask="##:##" maskchar=" " tooltiptext="bind:bthtm"/>
- <Cell col="7" style="align:left middle;" text="bind:partrtnhis" tooltiptext="bind:partrtnhis"/>
- <Cell col="8" text="bind:mothertype" tooltiptext="bind:mothertype"/>
- <Cell col="9" text="bind:prgweekday" tooltiptext="bind:prgweekday"/>
- <Cell col="10" style="background:EXPR(prgweekday2== '37주미만' ? '#FFFF00' : '');background2:EXPR(prgweekday2== '37주미만' ? '#FFFF00' : '');" text="bind:prgweekday2" tooltiptext="bind:prgweekday2"/>
- <Cell col="11" text="bind:onebabyyn" tooltiptext="bind:onebabyyn"/>
- <Cell col="12" style="align:left top;padding:4 2 2 2;" text="bind:artinfo" wordwrap="char" tooltiptext="bind:artinfo"/>
- <Cell col="13" style="align:left;" text="bind:befchildbrthmed"/>
- <Cell col="14" style="align:center middle;" text="bind:ptnernm" tooltiptext="bind:ptnernm"/>
- <Cell col="15" style="align:left top;padding:2 2 0 2;" text="bind:womanremk" wordwrap="char" tooltiptext="bind:womanremk"/>
- <Cell col="16" style="align:left middle;" text="bind:dschlactype" tooltiptext="bind:dschlactype"/>
- <Cell col="17" style="align:center middle;" text="bind:dschnotirgstdt" tooltiptext="bind:dschnotirgstdt"/>
- <Cell col="18" style="align:left middle;" text="bind:babyno" tooltiptext="bind:babyno"/>
- <Cell col="19" style="align:center middle;padding:4 2 4 2;" text="bind:dlivkindnm" tooltiptext="bind:dlivkindnm" enable="false"/>
- <Cell col="20" style="align:center top;padding:2 2 0 2;" text="bind:dlivflagnm" wordwrap="char" tooltiptext="bind:dlivflagnm"/>
- <Cell col="21" style="align:left middle;" text="bind:dlivplcenm" tooltiptext="bind:dlivplcenm"/>
- <Cell col="22" displaytype="combo" style="align:center middle;" text="bind:deathyn" combodataset="ds_deathyn" combocodecol="value" combodatacol="label" tooltiptext="bind:deathyn" enable="false"/>
- <Cell col="23" text="bind:gndr" tooltiptext="bind:gndr"/>
- <Cell col="24" style="align:left middle;" text="bind:weig" tooltiptext="bind:weig"/>
- <Cell col="25" style="align:left top;padding:2 2 0 2;" text="bind:weig2" wordwrap="char" tooltiptext="bind:weig2"/>
- <Cell col="26" displaytype="text" style="align:center middle;" text="bind:apgarscore" tooltiptext="bind:apgarscore"/>
- <Cell col="27" style="align:left top;padding:2 2 0 2;" text="bind:babyremk" wordwrap="char" tooltiptext="bind:babyremk"/>
- <Cell col="28" style="align:left top;padding:4 2 2 2;" text="bind:fstnrea" wordwrap="char" tooltiptext="bind:fstnrea"/>
- <Cell col="29" style="align:center middle;" text="bind:fstlctyn" tooltiptext="bind:fstlctyn"/>
- <Cell col="30" style="align:center middle;" text="bind:fsttm" tooltiptext="bind:fsttm"/>
- <Cell col="31" style="align:center middle;" text="bind:dschstat" tooltiptext="bind:dschstat"/>
- <Cell col="32" style="align:right middle;" text="bind:avulsionweig" tooltiptext="bind:avulsionweig"/>
- <Cell col="33" style="align:right middle;" text="bind:avulsionheig" tooltiptext="bind:avulsionheig"/>
- <Cell col="34" style="align:center middle;" text="bind:atdoctnm" tooltiptext="bind:atdoctnm"/>
- <Cell col="35" style="align:center middle;" text="bind:medispclnm" tooltiptext="bind:medispclnm"/>
- <Cell col="36" style="align:center middle;" text="bind:nurseid" tooltiptext="bind:nurseid"/>
- <Cell col="37" text="bind:cretno"/>
- <Cell col="38" text="bind:wardcd"/>
- <Cell col="39" text="bind:roomcd"/>
- <Cell col="40" text="bind:indschacptstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_womanlist" 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="patnm" type="STRING" size="256" sumtext="산모명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="산모 성별/나이"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="bthdd" type="STRING" size="256" sumtext="분만일자"/>
- <Column id="bthtm" type="STRING" size="256" sumtext="분만시간"/>
- <Column id="prgweekday" type="STRING" size="256" sumtext="임신주수"/>
- <Column id="prgweekday2" type="STRING" size="256" sumtext="임신주수구분"/>
- <Column id="ptnernm" type="STRING" size="256" sumtext="남편명"/>
- <Column id="womanremk" type="STRING" size="256" sumtext="산모정보 비고"/>
- <Column id="dlivkindnm" type="STRING" size="256" sumtext="분만형태"/>
- <Column id="dlivplcenm" type="STRING" size="256" sumtext="분만장소"/>
- <Column id="dlivflagnm" type="STRING" size="256" sumtext="분만구분"/>
- <Column id="deathyn" type="STRING" size="256" sumtext="생사여부"/>
- <Column id="weig" type="STRING" size="256" sumtext="몸무게"/>
- <Column id="weig2" type="STRING" size="256" sumtext="몸무게구분"/>
- <Column id="gndr" type="STRING" size="256" sumtext="성별"/>
- <Column id="apgarscore" type="STRING" size="256" sumtext="A/S"/>
- <Column id="babyremk" type="STRING" size="256" sumtext="신생아정보 비고"/>
- <Column id="avulsionweig" type="STRING" size="256" sumtext="태반무게"/>
- <Column id="avulsionheig" type="STRING" size="256" sumtext="태반길이"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="주치의"/>
- <Column id="atdoctnm" type="STRING" size="256" sumtext="분만의"/>
- <Column id="nurseid" type="STRING" size="256" sumtext="간호사"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="onebabyyn" type="STRING" size="256" sumtext="단태아여부"/>
- <Column id="babyno" type="STRING" size="256" sumtext="신생아등록번호"/>
- <Column id="partrtnhis" type="STRING" size="256" sumtext="출산력"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="dschnotirgstdt" type="STRING" size="256" sumtext="퇴원일"/>
- <Column id="fstnrea" type="STRING" size="256" sumtext="모유수유힘든이유"/>
- <Column id="fstlctyn" type="STRING" size="256" sumtext="모유수유시도여부"/>
- <Column id="fsttm" type="STRING" size="256" sumtext="모유수유최초시도일시"/>
- <Column id="dschstat" type="STRING" size="256" sumtext="진행상태"/>
- <Column id="dschlactype" type="STRING" size="256" sumtext="퇴원시수유형태"/>
- <Column id="mothertype" type="STRING" size="256" sumtext="산모유형"/>
- <Column id="artinfo" type="STRING" size="256" sumtext="보조생식술"/>
- <Column id="befchildbrthmed" 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="bthddfromdd" type="STRING" size="256" sumtext="조회 시작일자"/>
- <Column id="bthddtodd" type="STRING" size="256" sumtext="조회 종료일자"/>
- <Column id="pid" type="STRING" size="256" sumtext="산모 등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="산모명"/>
- <Column id="clinicyn" type="STRING" size="256" sumtext="임상질지표조건"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="재원여부"/>
- <Column id="babyyn" type="STRING" size="256" sumtext="신생아존재유무"/>
- <Column id="innbabyyn" type="STRING" size="256" sumtext="신생아입원"/>
- <Column id="dlivkindcd" type="STRING" size="256" sumtext="분만형태"/>
- <Column id="prgweekcntflag" type="STRING" size="256" sumtext="임신주수"/>
- <Column id="weigflag" type="STRING" size="256" sumtext="출생시체중"/>
- <Column id="sexflag" type="STRING" size="256" sumtext="성별"/>
- <Column id="mothertypeflag" type="STRING" size="256" sumtext="산모유형"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="indschacptstat">true</Col>
- <Col id="babyyn">true</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_deathyn" 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="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">live</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="value">N</Col>
- <Col id="label">dead</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_womanlist" 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="patnm" type="STRING" size="256" sumtext="산모명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="산모 성별/나이"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
- <Column id="bthdd" type="STRING" size="256" sumtext="분만일자"/>
- <Column id="bthtm" type="STRING" size="256" sumtext="분만시간"/>
- <Column id="prgweekday" type="STRING" size="256" sumtext="임신주수"/>
- <Column id="prgweekday2" type="STRING" size="256" sumtext="임신주수구분"/>
- <Column id="ptnernm" type="STRING" size="256" sumtext="남편명"/>
- <Column id="womanremk" type="STRING" size="256" sumtext="산모정보 비고"/>
- <Column id="dlivkindnm" type="STRING" size="256" sumtext="분만형태"/>
- <Column id="dlivplcenm" type="STRING" size="256" sumtext="분만장소"/>
- <Column id="dlivflagnm" type="STRING" size="256" sumtext="분만구분"/>
- <Column id="deathyn" type="STRING" size="256" sumtext="생사여부"/>
- <Column id="weig" type="STRING" size="256" sumtext="몸무게"/>
- <Column id="weig2" type="STRING" size="256" sumtext="몸무게구분"/>
- <Column id="gndr" type="STRING" size="256" sumtext="성별"/>
- <Column id="apgarscore" type="STRING" size="256" sumtext="A/S"/>
- <Column id="babyremk" type="STRING" size="256" sumtext="신생아정보 비고"/>
- <Column id="avulsionweig" type="STRING" size="256" sumtext="태반무게"/>
- <Column id="avulsionheig" type="STRING" size="256" sumtext="태반길이"/>
- <Column id="medispclnm" type="STRING" size="256" sumtext="주치의"/>
- <Column id="atdoctnm" type="STRING" size="256" sumtext="분만의"/>
- <Column id="nurseid" type="STRING" size="256" sumtext="간호사"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="onebabyyn" type="STRING" size="256" sumtext="단태아여부"/>
- <Column id="babyno" type="STRING" size="256" sumtext="신생아등록번호"/>
- <Column id="partrtnhis" type="STRING" size="256" sumtext="출산력"/>
- <Column id="wardcd" type="STRING" size="256" sumtext="병동코드"/>
- <Column id="roomcd" type="STRING" size="256" sumtext="병실코드"/>
- <Column id="indschacptstat" type="STRING" size="256" sumtext="입퇴원접수상태"/>
- <Column id="dschnotirgstdt" type="STRING" size="256" sumtext="퇴원일"/>
- <Column id="fstnrea" type="STRING" size="256" sumtext="모유수유힘든이유"/>
- <Column id="fstlctyn" type="STRING" size="256" sumtext="모유수유시도여부"/>
- <Column id="fsttm" type="STRING" size="256" sumtext="모유수유최초시도일시"/>
- <Column id="attrnm" type="STRING" size="256" sumtext="입원신생아제공음식물"/>
- <Column id="dschstat" type="STRING" size="256" sumtext="진행상태"/>
- <Column id="dschlactype" type="STRING" size="256" sumtext="퇴원시수유형태"/>
- <Column id="mothertype" type="STRING" size="256" sumtext="산모유형"/>
- <Column id="artinfo" type="STRING" size="256" sumtext="보조생식술"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item10" compid="grp.radio1" propid="value" datasetid="ds_main_cond" columnid="sexflag"/>
- <BindItem id="item0" compid="grp.ipt_bthddfromdd" propid="value" datasetid="ds_main_cond" columnid="bthddfromdd"/>
- <BindItem id="item1" compid="grp.ipt_bthddtodd" propid="value" datasetid="ds_main_cond" columnid="bthddtodd"/>
- <BindItem id="item2" compid="grp.ipt_patnm" propid="value" datasetid="ds_main_cond" columnid="patnm"/>
- <BindItem id="item3" compid="grp.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
- <BindItem id="item4" compid="grp.bool1" propid="value" datasetid="ds_main_cond" columnid="clinicyn"/>
- <BindItem id="item5" compid="grp.bool2" propid="value" datasetid="ds_main_cond" columnid="indschacptstat"/>
- <BindItem id="item6" compid="grp.bool3" propid="value" datasetid="ds_main_cond" columnid="babyyn"/>
- <BindItem id="item7" compid="grp.rdo_dlivkindcd" propid="value" datasetid="ds_main_cond" columnid="dlivkindcd"/>
- <BindItem id="item8" compid="grp.radio2" propid="value" datasetid="ds_main_cond" columnid="prgweekcntflag"/>
- <BindItem id="item9" compid="grp.radio5" propid="value" datasetid="ds_main_cond" columnid="mothertypeflag"/>
- <BindItem id="item11" compid="grp.radio4" propid="value" datasetid="ds_main_cond" columnid="innbabyyn"/>
- <BindItem id="item12" compid="grp.radio3" propid="value" datasetid="ds_main_cond" columnid="weigflag"/>
- </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
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include 'com_commonxp::comm_main.xjs';
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Local methods
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : 초기화 작업을 합니다.
- ****************************************************************************************/
- function fInitialize(){
- var today = utlf_getCurrentDate();
- ds_main_cond.setColumn(0, 'bthddfromdd', today.substr(0, 6) + '01');
- ds_main_cond.setColumn(0, 'bthddtodd', today);
-
- //fSearchClick();
- }
- /****************************************************************************************
- * Argument :
- * Description : 분만장부 리스트 조회
- ****************************************************************************************/
- function fSearchClick(){
- ds_main_womanlist.clearData();
- ds_main_womanlist.addRow();
-
- var oParam = {};
- oParam.id = "TRMNN00801";
- oParam.service = "partrtnnbabyapp.PartrtnPatMngt";
- oParam.method = "reqGetWomanStatisticsList";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_main_womanlist=womanlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMNN00801";
- tranf_submit(oParam);
- dsf_setTypeFormat(ds_main_womanlist, "avulsionweig:STRING");
-
- ds_main_womanlist.rowposition = -1;
- }
- /****************************************************************************************
- * Argument :
- * Description : Excel파일로 저장
- ****************************************************************************************/
- function fSaveExcel(){
- grdf_exportExcel(grd_wardpatlist, '', 'Sheet1', true, '', 'user', true);
- }
- /****************************************************************************************
- * Argument :
- * Description : 분만장부 출력
- ****************************************************************************************/
- function fClickPrint(){
- ds_temp_womanlist.copyData(ds_main_womanlist);
-
- for( var i=0 ; i<ds_temp_womanlist.rowcount ; i++ ){
- ds_temp_womanlist.setColumn(i, "deathyn", (ds_temp_womanlist.getColumn(i, "deathyn") == "Y" ? "live" : "dead"));
- }
-
- // DOM 객체 설정
- var objDOM = rptf_createDOM();
-
- rptf_setNodeListToDOM(objDOM, 'root/send/printdata/womanlist/womanlist', ds_temp_womanlist);
- rptf_setNodeListToDOM(objDOM, 'root/send/printdata/cond', ds_main_cond);
-
- rptf_exeReportPreview30(["RPMNN00801"],
- [{ xml_data_XML1: objDOM.documentElement.source }],
- 'open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0');
- }
- //=======================================================================================
- // callback
- //---------------------------------------------------------------------------------------
- function callback(sSvcId, nErrorCode, sErrorMsg){
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //=======================================================================================
- // Events
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Argument :
- * Description : onload
- ****************************************************************************************/
- function SMMNN00800_onload(obj:Form, e:LoadEventInfo){
- // 폼 초기화
- frmf_initForm(obj);
- trace("in");
- ds_main_cond.setColumn(0, "dlivkindcd", "");
- ds_main_cond.setColumn(0, "sexflag", "");
- ds_main_cond.setColumn(0, "prgweekcntflag", "");
- ds_main_cond.setColumn(0, "innbabyyn", "");
- ds_main_cond.setColumn(0, "mothertypeflag", "");
- ds_main_cond.setColumn(0, "weigflag", "");
-
- //grdf_initGrid(grd_wardpatlist);
-
- fInitialize();
- }
- /****************************************************************************************
- * Argument :
- * Description : 산모명 키보드 입력 이벤트
- ****************************************************************************************/
- function grp_sea_ipt_patnm_onkeydown(obj:Edit, e:KeyEventInfo){
- if(e.keycode == 13){
- obj.updateToDataset();
-
- grp.btn_select.setFocus();
- fSearchClick();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 산모명 키보드 입력 이벤트
- ****************************************************************************************/
- function grp_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo){
- if(e.keycode == 13){
- obj.updateToDataset();
-
- grp.btn_select.setFocus();
- fSearchClick();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 임상질지표 체크박스 클릭 이벤트
- ****************************************************************************************/
- function grp_bool1_onclick(obj:CheckBox, e:ClickEventInfo){
- //fSearchClick();
- }
- /****************************************************************************************
- * Argument :
- * Description : 임상질지표 체크박스 클릭 이벤트
- ****************************************************************************************/
- function grp_bool2_onclick(obj:CheckBox, e:ClickEventInfo){
- //fSearchClick();
- }
- /****************************************************************************************
- * Argument :
- * Description : 임상질지표 체크박스 클릭 이벤트
- ****************************************************************************************/
- function grp_bool3_onclick(obj:CheckBox, e:ClickEventInfo){
- //fSearchClick();
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function grp_btn_select_onclick(obj:Button, e:ClickEventInfo){
- var pos = grd_wardpatlist.hscrollbar.pos;
- fSearchClick();
- grd_wardpatlist.hscrollbar.pos = pos;
- }
- /****************************************************************************************
- * Argument :
- * Description : 엑셀저장 버튼 클릭 이벤트
- ****************************************************************************************/
- function btn_saveexcel_onclick(obj:Button, e:ClickEventInfo){
- fSaveExcel();
- }
- /****************************************************************************************
- * Argument :
- * Description : 출력 버튼 클릭 이벤트
- ****************************************************************************************/
- function btn_print_onclick(obj:Button, e:ClickEventInfo){
- fClickPrint();
- }
- function grd_wardpatlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fGridDbClick(ds_main_womanlist.rowposition);
- }
- /**
- * @group :
- * @ver : 2007.07.09
- * @by : 최경용
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 분만실 환자 정보 더블클릭시
- * @param :
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fGridDbClick(row){
- var pid = ds_main_womanlist.getColumn(row, "pid") ;
- var indd = ds_main_womanlist.getColumn(row, "indd") ;
- var cretno = ds_main_womanlist.getColumn(row, "cretno");
- var instcd = ds_main_womanlist.getColumn(row, "instcd");
- var bthdd = ds_main_womanlist.getColumn(row, "bthdd") ;
- var patnm = ds_main_womanlist.getColumn(row, "patnm") ;
- //파라미터 추가_2009-02-17_SMY
- var wardcd = ds_main_womanlist.getColumn(row, "wardcd");
- var roomcd = ds_main_womanlist.getColumn(row, "roomcd");
- //파라미터 추가_2009-02-24_SMY
- var indschacptstat = ds_main_womanlist.getColumn(row, "indschacptstat");
- frmf_setParameter("pid" , pid );
- frmf_setParameter("patnm" , patnm);
- frmf_setParameter("indd" , indd);
- frmf_setParameter("cretno", cretno);
- frmf_setParameter("wardcd", wardcd);
- frmf_setParameter("roomcd", roomcd);
- frmf_setParameter("indschacptstat", indschacptstat);
-
- frmf_modal("SMMNN00700", "SMMNN00700", "", null, "", "", "", null, null, null, null, null, "M");
- }
- function grd_wardpatlist_onheaddblclick(obj:Grid, e:GridClickEventInfo)
- {
- grid_sort_modi(grd_wardpatlist,e);
- }
- //191014_AYS_Head Row 2개 존재 시 Grid Sort 기능 추가
- var CONST_ASC_MARK = "▲";
- var CONST_DESC_MARK = "▼";
- function grid_sort_modi(obj:Grid, e:GridClickEventInfo)
- {
- var bindDs = eval(obj.binddataset);
- if (bindDs.rowcount == 0) return false;
-
- var CONST_SORT_MARK = "";
-
- // 클릭한 위치 그 앞에까지 존재하는 서브셀의 갯수 만큼 e.cell 에 더 해주면 body 영역의 col 위치 값이 나올듯?
- var colspanHeadCnt = 0;
- var colspanBodyCnt = 0;
- var headCnt = 0;
- var bodyCnt = 0;
-
- var head0 = 0;
- var head1 = 0;
-
-
- var headcellcnt = obj.getCellCount("Body");
- // trace("Cell Cnt : " + obj.getCellCount("Head"));
- // trace("cell : " + e.cell);
- for(var i = 0; i <= e.cell; i++) {
- headCnt = obj.getCellProperty("Head", i, "colspan");
- bodyCnt = obj.getCellProperty("body", i, "colspan");
-
- colspanHeadCnt += headCnt;
- colspanBodyCnt += bodyCnt;
-
- // trace(i + " : " + headCnt + " / " + bodyCnt);
- // trace("cnt : " + colspanHeadCnt + " / " + colspanBodyCnt);
- // trace(obj.getCellProperty("Head", i, "text"));
- // trace(obj.getCellProperty("Head", i, "row"));
-
- }
-
- //191002_AYS_test
- for(var i = 0; i <= headcellcnt; i++){
- if( obj.getCellProperty("Head", i, "row") == "0" ){
- head0++;
- } else if( obj.getCellProperty("Head", i, "row") == "1" ) {
- head1++;
- }
- }
-
- // trace("head0 : " + head0);
- // trace("head1 : " + head1);
-
- var colspanCnt = colspanHeadCnt - colspanBodyCnt;
- // trace("colspanCnt B : " + colspanCnt + " / headcng : " + headCnt);
- // 선택한 컬럼의 head가 합쳐져 있고 body는 안합쳐져 있을 때는 body의 제일 앞 컬럼 기준으로 sort 하도록 수정
- if(headCnt > 1 && bodyCnt == 1) {
-
- colspanCnt = colspanCnt - headCnt + 1;
- // trace("colspanCnt A : " + colspanCnt);
- }
- // trace("sText : " + obj.getCellProperty("body", e.cell, "text"));
- //var sText = obj.getCellProperty("body", e.cell + colspanCnt, "text");
- var sText = obj.getCellProperty("body", e.cell - head0, "text");
-
- if(utlf_isNull(sText)) return false;
-
- var BodyColId = sText.split(":"); // e.col : 바인드된 컬럼.
- if (BodyColId[0] != "bind") {
- return false;
- }
-
- //for (var i = 0; i < obj.getCellCount("head"); i++) {
- if(obj.getCellText(-1, e.cell) == "undefined")
- return;
- //continue;
-
- var strHeadText = obj.getCellText(-1, e.cell);
- // trace("strHeadText : " + strHeadText);
- // tfmode 일때는 TF와 동일하게 두 개 컬럼까지만 연속 정렬되고 세개째부터는 다시 한개만 정렬되도록 함
- if(obj.tfmode == "Y") {
- var sameCnt = 0;
-
- for (var i = 0; i < obj.getCellCount("head"); i++) {
- if(i == e.cell) continue;
-
- var tempStrHeadText = obj.getCellText(-1, i);
- var status = tempStrHeadText.substr(tempStrHeadText.length - 1);
-
- if(status == CONST_DESC_MARK || status == CONST_ASC_MARK)
- {
- if(++sameCnt > 1) { // 기존에 2개가 있다면 초기화 하고 다시 한개만
- //초기화
- grdf_clearSort(obj);
- }
- }
- }
- }
-
-
- //if(i == e.cell) {
- var keystring = bindDs.keystring;
- var sortcolumns = "";
-
- // trace("keystring : " + keystring);
-
- if(!utlf_isNull(keystring)) {
- // trace("IN!!");
- keystring = keystring.toString();
- var isGroup = keystring.indexOf("G:");
- if(isGroup > -1) return;
-
- keystring = keystring.replace(/undefined/g, "");
-
- if(keystring != "S:") {
- var nStart = keystring.indexOf("S:");
- sortcolumns = keystring.substring(nStart + 2, keystring.length);
-
- var nS = sortcolumns.indexOf(BodyColId[1]); // keystring에 이미 들어가 있는 컬럼이면 먼저 제거 해준다.
- if( nS > -1) {
- //sysf_trace("1 : " + sortcolumns + ", " + sortcolumns.substring(0, nS) + ", " + sortcolumns.substring(nS, sortcolumns.length));
- sortcolumns = sortcolumns.substring(0, nS - 1) + sortcolumns.substring(nS, sortcolumns.length); // '+', '-' 제거
- sortcolumns = sortcolumns.replace(BodyColId[1], ""); // 기존에 있는 컬럼명 제거
- }
- }
- }
-
- if (strHeadText.substr(strHeadText.length - 1) == CONST_ASC_MARK) {
- obj.setCellProperty( "head", e.cell, "text", strHeadText.substr(0, strHeadText.length - 2) + " " + CONST_DESC_MARK);
- bindDs.keystring = "S:" + "-" + BodyColId[1] + sortcolumns;
- } else if (strHeadText.substr(strHeadText.length - 1) == CONST_DESC_MARK) {
- obj.setCellProperty( "head", e.cell, "text", strHeadText.substr(0, strHeadText.length - 2));
- bindDs.keystring = "S:" + sortcolumns;
- } else {
- obj.setCellProperty( "head", e.cell, "text", strHeadText + " " + CONST_ASC_MARK);
- bindDs.keystring = "S:" + "+" + BodyColId[1] + sortcolumns;
- }
- //}
- //}
- }]]></Script>
- </Form>
- </FDL>
|