123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPPIZ00600" position="absolute 0 0 733 783" titletext="상병별, 처방별 치식 입력" onload="SPPIZ00600_onload">
- <Layouts>
- <Layout>
- <Button id="btn_confirm" taborder="1" text="확인" class="btn4" position="absolute 606 752 662 772" positiontype="position" onclick="btn_confirm_onclick"/>
- <Button id="btn_cancel" taborder="2" text="취소" class="btn4" position="absolute 665 752 721 772" positiontype="position" onclick="btn_cancel_onclick"/>
- <Button id="buttonA24" taborder="99" class="btnt_left_bottom_1" position="absolute 326 290 361 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA23" taborder="100" class="btnt_left_bottom_2" position="absolute 288 290 323 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA22" taborder="101" class="btnt_left_bottom_3" position="absolute 250 290 285 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA21" taborder="102" class="btnt_left_bottom_4" position="absolute 212 290 247 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA20" taborder="103" class="btnt_left_bottom_5" position="absolute 174 290 209 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA19" taborder="104" class="btnt_left_bottom_6" position="absolute 136 290 171 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA18" taborder="105" class="btnt_left_bottom_7" position="absolute 98 290 133 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA17" taborder="106" class="btnt_left_bottom_8" position="absolute 60 290 95 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA25" taborder="107" class="btnt_right_bottom_1" position="absolute 372 290 407 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA26" taborder="108" class="btnt_right_bottom_2" position="absolute 410 290 445 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA27" taborder="109" class="btnt_right_bottom_3" position="absolute 448 290 483 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA28" taborder="110" class="btnt_right_bottom_4" position="absolute 486 290 521 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA29" taborder="111" class="btnt_right_bottom_5" position="absolute 524 290 559 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA30" taborder="112" class="btnt_right_bottom_6" position="absolute 562 290 597 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA31" taborder="113" class="btnt_right_bottom_7" position="absolute 600 290 635 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonA32" taborder="114" class="btnt_right_bottom_8" position="absolute 638 290 673 330" onclick="lf_tootbtnclick"/>
- <Button id="buttonC24" taborder="115" class="btnt_left_bottom_A" position="absolute 326 247 361 287" onclick="lf_tootbtnclick"/>
- <Button id="buttonC23" taborder="116" class="btnt_left_bottom_B" position="absolute 288 247 323 287" onclick="lf_tootbtnclick"/>
- <Button id="buttonC22" taborder="117" class="btnt_left_bottom_C" position="absolute 250 247 285 287" onclick="lf_tootbtnclick"/>
- <Button id="buttonC21" taborder="118" class="btnt_left_bottom_D" position="absolute 212 247 247 287" onclick="lf_tootbtnclick"/>
- <Button id="buttonC20" taborder="119" class="ttom_E" position="absolute 174 247 209 287" onclick="lf_tootbtnclick"/>
- <Button id="buttonC25" taborder="120" class="btnt_right_bottom_A" position="absolute 372 247 407 287" onclick="lf_tootbtnclick"/>
- <Button id="buttonC26" taborder="121" class="btnt_right_bottom_B" position="absolute 410 247 445 287" onclick="lf_tootbtnclick"/>
- <Button id="buttonC27" taborder="122" class="btnt_right_bottom_C" position="absolute 448 247 483 287" onclick="lf_tootbtnclick"/>
- <Button id="buttonC28" taborder="123" class="btnt_right_bottom_D" position="absolute 486 247 521 287" onclick="lf_tootbtnclick"/>
- <Button id="buttonC29" taborder="124" class="btnt_right_bottom_E" position="absolute 524 247 559 287" onclick="lf_tootbtnclick"/>
- <Static id="caption1" text="치식 이력" class="tit_2" position="absolute 12 393 101 413"/>
- <Shape id="line6" class="line_1" position="absolute 2 424 726 424"/>
- <Grid id="grd_toothapplist" taborder="125" binddataset="ds_main_list2_toothapplist" useinputpanel="false" position="absolute 12 413 721 564" oncellclick="grd_toothapplist_oncellclick" autosizingtype="none" autofittype="none" extendsizetype="row" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="30"/>
- <Column size="49"/>
- <Column size="102"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="70"/>
- <Column size="203"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="코드"/>
- <Cell col="3" text="코드명"/>
- <Cell col="4" text="우상(1)"/>
- <Cell col="5" text="좌상(2)"/>
- <Cell col="6" text="우하(4)"/>
- <Cell col="7" text="좌하(3)"/>
- <Cell col="8" text="진료일"/>
- <Cell col="9" text="전체치식"/>
- <Cell col="10" text="row"/>
- <Cell col="11" text="환자 등록번호"/>
- <Cell col="12" text="입원일자"/>
- <Cell col="13" text="환자 일련번호"/>
- <Cell col="14" text="기관코드"/>
- <Cell col="15" text="실시일자"/>
- <Cell col="16" text="계산 일련번호"/>
- <Cell col="17" text="수가별 일련번호"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chos" expr="chos == 'true' || chos == '1' ? 1 : 0"/>
- <Cell col="1" text="bind:flag"/>
- <Cell col="2" style="align:left middle;" text="bind:cd"/>
- <Cell col="3" style="align:left;" text="bind:cdnm" tooltiptype="right,mouse" tooltiptext="bind:cdnm"/>
- <Cell col="4" text="bind:rightupper"/>
- <Cell col="5" text="bind:leftupper"/>
- <Cell col="6" text="bind:rightlower"/>
- <Cell col="7" text="bind:leftlower"/>
- <Cell col="8" text="bind:orddd" mask="####-##-##"/>
- <Cell col="9" text="bind:toot" tooltiptype="right,mouse" tooltiptext="bind:toot"/>
- <Cell col="10" text="bind:row"/>
- <Cell col="11" text="bind:pid"/>
- <Cell col="12" text="bind:indd"/>
- <Cell col="13" text="bind:cretno"/>
- <Cell col="14" text="bind:instcd"/>
- <Cell col="15" text="bind:execdd" mask="####-##-##"/>
- <Cell col="16" text="bind:calcseqno"/>
- <Cell col="17" text="bind:calcscorseqno"/>
- <Cell col="18"/>
- <Cell col="19"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="rightlowerA" taborder="126" text="우하" onclick="lf_btnclick" class="btn2_letter2" position="absolute 12 299 50 319"/>
- <Button id="leftlowerA" taborder="127" text="좌하" onclick="lf_btnclick" class="btn2_letter2" position="absolute 683 299 721 319"/>
- <Button id="rightlowerC" taborder="128" text="우하유치" onclick="lf_btnclick" class="btn2" position="absolute 12 255 80 275"/>
- <Button id="leftlowerC" taborder="129" text="좌하유치" onclick="lf_btnclick" class="btn2" position="absolute 653 255 721 275"/>
- <Button id="trisectionA4" taborder="130" text="1/3 (영구치)" onclick="lf_btnclick" class="btn2" position="absolute 60 363 152 383"/>
- <Button id="trisectionA5" taborder="131" text="1/3 (영구치)" onclick="lf_btnclick" class="btn2" position="absolute 321 363 413 383"/>
- <Button id="trisectionA6" taborder="132" text="1/3 (영구치)" onclick="lf_btnclick" class="btn2" position="absolute 580 363 672 383"/>
- <Button id="trisectionC4" taborder="133" text="1/3 (유치)" onclick="lf_btnclick" class="btn2" position="absolute 60 340 152 360"/>
- <Button id="trisectionC6" taborder="135" text="1/3 (유치)" onclick="lf_btnclick" class="btn2" position="absolute 580 340 672 360"/>
- <Static id="caption3" text="치식 종합조회" class="tit_2" position="absolute 12 574 148 594"/>
- <Grid id="grd_toothlist" taborder="136" binddataset="ds_main_list1_toothlist" useinputpanel="false" position="absolute 12 594 721 749" oncellclick="grd_toothlist_oncellclick" cellsizingtype="col" autosizingtype="row">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="50"/>
- <Column size="165"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="79"/>
- <Column size="205"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="구분"/>
- <Cell col="1" text="코드"/>
- <Cell col="2" text="코드명"/>
- <Cell col="3" text="우상(1)"/>
- <Cell col="4" text="좌상(2)"/>
- <Cell col="5" text="우하(4)"/>
- <Cell col="6" text="좌하(3)"/>
- <Cell col="7" text="진료일"/>
- <Cell col="8" text="전체치식"/>
- </Band>
- <Band id="body">
- <Cell text="bind:flag"/>
- <Cell col="1" text="bind:cd"/>
- <Cell col="2" style="align:left middle;" text="bind:cdnm" calendardisplaynulltype="default"/>
- <Cell col="3" text="bind:rightupper"/>
- <Cell col="4" text="bind:leftupper"/>
- <Cell col="5" text="bind:rightlower"/>
- <Cell col="6" text="bind:leftlower"/>
- <Cell col="7" displaytype="date" text="bind:orddd" calendardisplaynulltype="none"/>
- <Cell col="8" style="align:left middle;" text="bind:toot"/>
- <Cell col="9"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line7" class="line_1" position="absolute 2 604 726 604"/>
- <Button id="btn_trans" taborder="137" text="전달" onclick="btn_trans_onclick" class="btn2" position="absolute 677 390 721 410"/>
- <Button id="btn_delete" taborder="138" text="삭제" onclick="btn_delete_onclick" class="btn5" position="absolute 630 390 674 410"/>
- <Radio id="rdo_refterm" taborder="139" columncount="6" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 151 574 411 594" onitemchanged="rdo_refterm_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn" size="256"/>
- <Column id="datacolumn" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">3개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">6개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">12</Col>
- <Col id="datacolumn">1년</Col>
- </Row>
- <Row>
- <Col id="codecolumn">24</Col>
- <Col id="datacolumn">2년</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape id="line3" class="line_1" position="absolute 2 64 726 64"/>
- <Shape id="line45" class="line_2" position="absolute 2 91 576 91"/>
- <Button id="btn_unselect" taborder="140" text="전체취소" onclick="btn_unselect_onclick" class="btn2" position="absolute 475 43 543 63"/>
- <Button id="btn_allscndtooth" taborder="141" text="전악 (영구치)" onclick="btn_allscndtooth_onclick" class="btn2" position="absolute 546 43 638 63"/>
- <Button id="btn_allmilktooth" taborder="142" text="전악 (유치)" onclick="btn_allmilktooth_onclick" class="btn2" position="absolute 641 43 721 63"/>
- <Button id="buttonA8" taborder="143" class="btnt_left_top_1" position="absolute 326 154 361 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA7" taborder="144" class="btnt_left_top_2" position="absolute 288 154 323 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA6" taborder="145" class="btnt_left_top_3" position="absolute 250 154 285 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA5" taborder="146" class="btnt_left_top_4" position="absolute 212 154 247 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA4" taborder="147" class="btnt_left_top_5" position="absolute 174 154 209 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA3" taborder="148" class="btnt_left_top_6" position="absolute 136 154 171 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA2" taborder="149" class="btnt_left_top_7" position="absolute 98 154 133 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA1" taborder="150" position="absolute 60 154 95 194" onclick="lf_tootbtnclick" enable="true" class="btnt_left_top_8"/>
- <Button id="buttonA9" taborder="151" class="btnt_right_top_1" position="absolute 372 154 407 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA10" taborder="152" class="btnt_right_top_2" position="absolute 410 154 445 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA11" taborder="153" class="btnt_right_top_3" position="absolute 448 154 483 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA12" taborder="154" class="btnt_right_top_4" position="absolute 486 154 521 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA13" taborder="155" class="btnt_right_top_5" position="absolute 524 154 559 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA14" taborder="156" class="btnt_right_top_6" position="absolute 562 154 597 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA15" taborder="157" class="btnt_right_top_7" position="absolute 600 154 635 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonA16" taborder="158" class="btnt_right_top_8" position="absolute 638 154 673 194" onclick="lf_tootbtnclick"/>
- <Button id="buttonC8" taborder="159" class="btnt_left_top_A" position="absolute 326 197 361 237" onclick="lf_tootbtnclick"/>
- <Button id="buttonC7" taborder="160" class="btnt_left_top_B" position="absolute 288 197 323 237" onclick="lf_tootbtnclick"/>
- <Button id="buttonC6" taborder="161" class="btnt_left_top_C" position="absolute 250 197 285 237" onclick="lf_tootbtnclick"/>
- <Button id="buttonC5" taborder="162" class="btnt_left_top_D" position="absolute 212 197 247 237" onclick="lf_tootbtnclick"/>
- <Button id="buttonC4" taborder="163" class="btnt_left_top_E" position="absolute 174 197 209 237" onclick="lf_tootbtnclick"/>
- <Button id="buttonC9" taborder="164" class="btnt_right_top_A" position="absolute 372 197 407 237" onclick="lf_tootbtnclick"/>
- <Button id="buttonC10" taborder="165" class="btnt_right_top_B" position="absolute 410 197 445 237" onclick="lf_tootbtnclick"/>
- <Button id="buttonC11" taborder="166" class="btnt_right_top_C" position="absolute 448 197 483 237" onclick="lf_tootbtnclick"/>
- <Button id="buttonC12" taborder="167" class="btnt_right_top_D" position="absolute 486 197 521 237" onclick="lf_tootbtnclick"/>
- <Button id="buttonC13" taborder="168" class="btnt_right_top_E" position="absolute 524 197 559 237" onclick="lf_tootbtnclick"/>
- <Button id="rightupperA" taborder="169" text="우상" onclick="lf_btnclick" class="btn2_letter2" position="absolute 12 162 50 182"/>
- <Button id="leftupperA" taborder="170" text="좌상" onclick="lf_btnclick" class="btn2_letter2" position="absolute 683 162 721 182"/>
- <Button id="rightupperC" taborder="171" text="우상유치" onclick="lf_btnclick" class="btn2" position="absolute 12 205 80 225"/>
- <Button id="leftupperC" taborder="172" text="좌상유치" onclick="lf_btnclick" class="btn2" position="absolute 653 205 721 225"/>
- <Button id="trisectionA1" taborder="173" text="1/3 (영구치)" class="btn2" position="absolute 60 101 152 121" onclick="lf_btnclick"/>
- <Button id="trisectionA2" taborder="174" text="1/3 (영구치)" onclick="lf_btnclick" class="btn2" position="absolute 321 101 413 121"/>
- <Button id="trisectionA3" taborder="175" text="1/3 (영구치)" onclick="lf_btnclick" class="btn2" position="absolute 580 100 672 120"/>
- <Button id="trisectionC1" taborder="176" text="1/3 (유치)" onclick="lf_btnclick" class="btn2" position="absolute 60 124 152 144"/>
- <Button id="trisectionC2" taborder="177" text="1/3 (유치)" onclick="lf_btnclick" class="btn2" position="absolute 321 124 413 144"/>
- <Button id="trisectionC3" taborder="178" text="1/3 (유치)" onclick="lf_btnclick" class="btn2" position="absolute 580 123 672 143"/>
- <TextArea id="txt_isol" taborder="179" position="absolute 12 65 325 91"/>
- <TextArea id="txt_isol00" taborder="180" position="absolute 372 66 721 92"/>
- <Edit id="opt_rightlower" taborder="181" readonly="true" position="absolute 654 69 717 89"/>
- <Edit id="opt_leftlower" taborder="182" readonly="true" position="absolute 587 69 652 89"/>
- <Edit id="opt_leftupper" taborder="183" readonly="true" position="absolute 519 69 584 89"/>
- <Edit id="opt_rightupper" taborder="184" readonly="true" position="absolute 451 69 516 89"/>
- <Static id="caption00" text="선택된 번호" class="cell_1" position="absolute 373 67 448 91"/>
- <Static id="caption4" text="EDI 치식" class="cell_1" position="absolute 13 66 78 90"/>
- <Edit id="opt_toot4" taborder="185" readonly="true" position="absolute 264 68 321 88"/>
- <Edit id="opt_toot3" taborder="186" readonly="true" position="absolute 203 68 261 88"/>
- <Edit id="opt_toot2" taborder="187" readonly="true" position="absolute 142 68 200 88"/>
- <Edit id="opt_toot1" taborder="188" readonly="true" position="absolute 81 68 139 88"/>
- <Button id="trisectionC5" taborder="189" text="1/3 (유치)" onclick="lf_btnclick" class="btn2" position="absolute 321 340 413 360"/>
- <Static id="caption02" class="tit_1" position="absolute 0 0 177 26" text="치식 입력"/>
- <CheckBox id="CheckBox00" taborder="190" text="임플란트치식적용" position="absolute 496 391 623 411" truevalue="Y" falsevalue="N" onclick="CheckBox00_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_toothapplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chos" type="STRING"/>
- <Column id="flag" type="STRING"/>
- <Column id="cd" type="STRING"/>
- <Column id="cdnm" type="STRING"/>
- <Column id="rightupper" type="STRING"/>
- <Column id="leftupper" type="STRING"/>
- <Column id="rightlower" type="STRING"/>
- <Column id="leftlower" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="toot" type="STRING"/>
- <Column id="row" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="calcseqno" type="STRING"/>
- <Column id="calcscorseqno" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grid_grd_toothlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flag" type="STRING"/>
- <Column id="cd" type="STRING"/>
- <Column id="cdnm" type="STRING"/>
- <Column id="rightupper" type="STRING"/>
- <Column id="leftupper" type="STRING"/>
- <Column id="rightlower" type="STRING"/>
- <Column id="leftlower" type="STRING"/>
- <Column id="orddd" type="STRING"/>
- <Column id="toot" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list2_toothapplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_list2_toothapplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chos" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="rightupper" type="STRING" size="256"/>
- <Column id="leftupper" type="STRING" size="256"/>
- <Column id="rightlower" type="STRING" size="256"/>
- <Column id="leftlower" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="toot" type="STRING" size="256"/>
- <Column id="row" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="calcseqno" type="STRING" size="256"/>
- <Column id="calcscorseqno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_list1_toothlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="rightupper" type="STRING" size="256"/>
- <Column id="leftupper" type="STRING" size="256"/>
- <Column id="rightlower" type="STRING" size="256"/>
- <Column id="leftlower" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="toot" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="toot" type="STRING" size="256"/>
- <Column id="clamym" type="STRING" size="256"/>
- <Column id="clamdg" type="STRING" size="256"/>
- <Column id="pidsn" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="refterm" type="STRING" size="256"/>
- <Column id="popyn" type="STRING" size="256"/>
- <Column id="scrnid" type="STRING" size="256"/>
- <Column id="snglcalcscorcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_termlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="refterm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="refterm">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_selectedtooth_editoothnum" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rightupper" type="STRING" size="256"/>
- <Column id="leftupper" type="STRING" size="256"/>
- <Column id="rightlower" type="STRING" size="256"/>
- <Column id="leftlower" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_selectedtooth_selectednum" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rightupper" type="STRING" size="256"/>
- <Column id="leftupper" type="STRING" size="256"/>
- <Column id="rightlower" type="STRING" size="256"/>
- <Column id="leftlower" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_chkflag_scndtooth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rightupperA" type="STRING" size="256"/>
- <Column id="leftupperA" type="STRING" size="256"/>
- <Column id="rightlowerA" type="STRING" size="256"/>
- <Column id="leftlowerA" type="STRING" size="256"/>
- <Column id="trisectionA1" type="STRING" size="256"/>
- <Column id="trisectionA2" type="STRING" size="256"/>
- <Column id="trisectionA3" type="STRING" size="256"/>
- <Column id="trisectionA4" type="STRING" size="256"/>
- <Column id="trisectionA5" type="STRING" size="256"/>
- <Column id="trisectionA6" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_chkflag_milktooth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rightupperC" type="STRING" size="256"/>
- <Column id="leftupperC" type="STRING" size="256"/>
- <Column id="rightlowerC" type="STRING" size="256"/>
- <Column id="leftlowerC" type="STRING" size="256"/>
- <Column id="trisectionC1" type="STRING" size="256"/>
- <Column id="trisectionC2" type="STRING" size="256"/>
- <Column id="trisectionC3" type="STRING" size="256"/>
- <Column id="trisectionC4" type="STRING" size="256"/>
- <Column id="trisectionC5" type="STRING" size="256"/>
- <Column id="trisectionC6" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_btn_img" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="btnnm" type="STRING" size="256"/>
- <Column id="btnon" type="STRING" size="256"/>
- <Column id="btnoff" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="btnnm">buttonA1</Col>
- <Col id="btnon">left_top_8</Col>
- <Col id="btnoff">left_top_8_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA2</Col>
- <Col id="btnon">left_top_7</Col>
- <Col id="btnoff">left_top_7_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA3</Col>
- <Col id="btnon">left_top_6</Col>
- <Col id="btnoff">left_top_6_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA4</Col>
- <Col id="btnon">left_top_5</Col>
- <Col id="btnoff">left_top_5_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA5</Col>
- <Col id="btnon">left_top_4</Col>
- <Col id="btnoff">left_top_4_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA6</Col>
- <Col id="btnon">left_top_3</Col>
- <Col id="btnoff">left_top_3_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA7</Col>
- <Col id="btnon">left_top_2</Col>
- <Col id="btnoff">left_top_2_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA8</Col>
- <Col id="btnon">left_top_1</Col>
- <Col id="btnoff">left_top_1_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA9</Col>
- <Col id="btnon">right_top_1</Col>
- <Col id="btnoff">right_top_1_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA10</Col>
- <Col id="btnon">right_top_2</Col>
- <Col id="btnoff">right_top_2_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA11</Col>
- <Col id="btnon">right_top_3</Col>
- <Col id="btnoff">right_top_3_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA12</Col>
- <Col id="btnon">right_top_4</Col>
- <Col id="btnoff">right_top_4_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA13</Col>
- <Col id="btnon">right_top_5</Col>
- <Col id="btnoff">right_top_5_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA14</Col>
- <Col id="btnon">right_top_6</Col>
- <Col id="btnoff">right_top_6_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA15</Col>
- <Col id="btnon">right_top_7</Col>
- <Col id="btnoff">right_top_7_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA16</Col>
- <Col id="btnon">right_top_8</Col>
- <Col id="btnoff">right_top_8_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC4</Col>
- <Col id="btnon">left_top_E</Col>
- <Col id="btnoff">left_top_E_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC5</Col>
- <Col id="btnon">left_top_D</Col>
- <Col id="btnoff">left_top_D_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC6</Col>
- <Col id="btnon">left_top_C</Col>
- <Col id="btnoff">left_top_C_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC7</Col>
- <Col id="btnon">left_top_B</Col>
- <Col id="btnoff">left_top_B_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC8</Col>
- <Col id="btnon">left_top_A</Col>
- <Col id="btnoff">left_top_A_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC9</Col>
- <Col id="btnon">right_top_A</Col>
- <Col id="btnoff">right_top_A_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC10</Col>
- <Col id="btnon">right_top_B</Col>
- <Col id="btnoff">right_top_B_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC11</Col>
- <Col id="btnon">right_top_C</Col>
- <Col id="btnoff">right_top_C_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC12</Col>
- <Col id="btnon">right_top_D</Col>
- <Col id="btnoff">right_top_D_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC13</Col>
- <Col id="btnon">right_top_E</Col>
- <Col id="btnoff">right_top_E_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC20</Col>
- <Col id="btnon">left_bottom_E</Col>
- <Col id="btnoff">left_bottom_E_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC21</Col>
- <Col id="btnon">left_bottom_D</Col>
- <Col id="btnoff">left_bottom_D_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC22</Col>
- <Col id="btnon">left_bottom_C</Col>
- <Col id="btnoff">left_bottom_C_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC23</Col>
- <Col id="btnon">left_bottom_B</Col>
- <Col id="btnoff">left_bottom_B_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC24</Col>
- <Col id="btnon">left_bottom_A</Col>
- <Col id="btnoff">left_bottom_A_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC25</Col>
- <Col id="btnon">right_bottom_A</Col>
- <Col id="btnoff">right_bottom_A_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC26</Col>
- <Col id="btnon">right_bottom_B</Col>
- <Col id="btnoff">right_bottom_B_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC27</Col>
- <Col id="btnon">right_bottom_C</Col>
- <Col id="btnoff">right_bottom_C_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC28</Col>
- <Col id="btnon">right_bottom_D</Col>
- <Col id="btnoff">right_bottom_D_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonC29</Col>
- <Col id="btnon">right_bottom_E</Col>
- <Col id="btnoff">right_bottom_E_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA17</Col>
- <Col id="btnon">left_bottom_8</Col>
- <Col id="btnoff">left_bottom_8_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA18</Col>
- <Col id="btnon">left_bottom_7</Col>
- <Col id="btnoff">left_bottom_7_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA19</Col>
- <Col id="btnon">left_bottom_6</Col>
- <Col id="btnoff">left_bottom_6_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA20</Col>
- <Col id="btnon">left_bottom_5</Col>
- <Col id="btnoff">left_bottom_5_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA21</Col>
- <Col id="btnon">left_bottom_4</Col>
- <Col id="btnoff">left_bottom_4_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA22</Col>
- <Col id="btnon">left_bottom_3</Col>
- <Col id="btnoff">left_bottom_3_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA23</Col>
- <Col id="btnon">left_bottom_2</Col>
- <Col id="btnoff">left_bottom_2_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA24</Col>
- <Col id="btnon">left_bottom_1</Col>
- <Col id="btnoff">left_bottom_1_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA25</Col>
- <Col id="btnon">right_bottom_1</Col>
- <Col id="btnoff">right_bottom_1_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA26</Col>
- <Col id="btnon">right_bottom_2</Col>
- <Col id="btnoff">right_bottom_2_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA27</Col>
- <Col id="btnon">right_bottom_3</Col>
- <Col id="btnoff">right_bottom_3_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA28</Col>
- <Col id="btnon">right_bottom_4</Col>
- <Col id="btnoff">right_bottom_4_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA29</Col>
- <Col id="btnon">right_bottom_5</Col>
- <Col id="btnoff">right_bottom_5_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA30</Col>
- <Col id="btnon">right_bottom_6</Col>
- <Col id="btnoff">right_bottom_6_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA31</Col>
- <Col id="btnon">right_bottom_7</Col>
- <Col id="btnoff">right_bottom_7_off</Col>
- </Row>
- <Row>
- <Col id="btnnm">buttonA32</Col>
- <Col id="btnon">right_bottom_8</Col>
- <Col id="btnoff">right_bottom_8_off</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_rslt_list" 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="toot" type="STRING" size="256"/>
- <Column id="toot1" type="STRING" size="256"/>
- <Column id="row" type="STRING" size="256"/>
- <Column id="toothYN" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_cond_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chos" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="calcscorseqno" type="STRING" size="256"/>
- <Column id="leftupper" type="STRING" size="256"/>
- <Column id="rightlower" type="STRING" size="256"/>
- <Column id="leftlower" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="toot" type="STRING" size="256"/>
- <Column id="row" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="calcseqno" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_list1_toothlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="rightupper" type="STRING" size="256"/>
- <Column id="leftupper" type="STRING" size="256"/>
- <Column id="rightlower" type="STRING" size="256"/>
- <Column id="leftlower" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="toot" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_list2_toothapplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chos" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="rightupper" type="STRING" size="256"/>
- <Column id="leftupper" type="STRING" size="256"/>
- <Column id="rightlower" type="STRING" size="256"/>
- <Column id="leftlower" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="toot" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_toot" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="t11" type="STRING" size="256"/>
- <Column id="t12" type="STRING" size="256"/>
- <Column id="t13" type="STRING" size="256"/>
- <Column id="t14" type="STRING" size="256"/>
- <Column id="t15" type="STRING" size="256"/>
- <Column id="t16" type="STRING" size="256"/>
- <Column id="t17" type="STRING" size="256"/>
- <Column id="t18" type="STRING" size="256"/>
- <Column id="t21" type="STRING" size="256"/>
- <Column id="t22" type="STRING" size="256"/>
- <Column id="t23" type="STRING" size="256"/>
- <Column id="t24" type="STRING" size="256"/>
- <Column id="t25" type="STRING" size="256"/>
- <Column id="t26" type="STRING" size="256"/>
- <Column id="t27" type="STRING" size="256"/>
- <Column id="t28" type="STRING" size="256"/>
- <Column id="t31" type="STRING" size="256"/>
- <Column id="t32" type="STRING" size="256"/>
- <Column id="t33" type="STRING" size="256"/>
- <Column id="t34" type="STRING" size="256"/>
- <Column id="t35" type="STRING" size="256"/>
- <Column id="t36" type="STRING" size="256"/>
- <Column id="t37" type="STRING" size="256"/>
- <Column id="t38" type="STRING" size="256"/>
- <Column id="t41" type="STRING" size="256"/>
- <Column id="t42" type="STRING" size="256"/>
- <Column id="t43" type="STRING" size="256"/>
- <Column id="t44" type="STRING" size="256"/>
- <Column id="t45" type="STRING" size="256"/>
- <Column id="t46" type="STRING" size="256"/>
- <Column id="t47" type="STRING" size="256"/>
- <Column id="t48" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="rdo_refterm" propid="value" datasetid="ds_init_termlist" columnid="refterm"/>
- <BindItem id="item1" compid="opt_toot1" propid="value" datasetid="ds_hidden_selectedtooth_editoothnum" columnid="rightupper"/>
- <BindItem id="item2" compid="opt_toot2" propid="value" datasetid="ds_hidden_selectedtooth_editoothnum" columnid="leftupper"/>
- <BindItem id="item3" compid="opt_toot3" propid="value" datasetid="ds_hidden_selectedtooth_editoothnum" columnid="rightlower"/>
- <BindItem id="item4" compid="opt_toot4" propid="value" datasetid="ds_hidden_selectedtooth_editoothnum" columnid="leftlower"/>
- <BindItem id="item5" compid="opt_rightupper" propid="value" datasetid="ds_hidden_selectedtooth_selectednum" columnid="rightupper"/>
- <BindItem id="item6" compid="opt_leftupper" propid="value" datasetid="ds_hidden_selectedtooth_selectednum" columnid="leftupper"/>
- <BindItem id="item7" compid="opt_leftlower" propid="value" datasetid="ds_hidden_selectedtooth_selectednum" columnid="rightlower"/>
- <BindItem id="item8" compid="opt_rightlower" propid="value" datasetid="ds_hidden_selectedtooth_selectednum" columnid="leftlower"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-05-01
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-05-01 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
-
- include "com_commonxp::comm_main.xjs";
- var teethArray = new Array(32);
- var imgpath = "../../../IMAGES/pam/PM/tooth/";
- // 화면 권한을 설정한다.
- function fCheckAuth()
- {
- var xAuth = !checkAuth("X");
- btn_confirm.enable = xAuth; // 확인
- btn_unselect.enable = xAuth;
- btn_allscndtooth.enable = xAuth;
- btn_allmilktooth.enable = xAuth;
- trisectionA1.enable = xAuth;
- trisectionA2.enable = xAuth;
- trisectionA3.enable = xAuth;
- trisectionA4.enable = xAuth;
- trisectionA5.enable = xAuth;
- trisectionA6.enable = xAuth;
- trisectionC1.enable = xAuth;
- trisectionC2.enable = xAuth;
- trisectionC3.enable = xAuth;
- trisectionC4.enable = xAuth;
- trisectionC5.enable = xAuth;
- trisectionC6.enable = xAuth;
- rightupperA.enable = xAuth;
- rightupperC.enable = xAuth;
- rightlowerC.enable = xAuth;
- rightlowerA.enable = xAuth;
- leftupperA.enable = xAuth;
- leftupperC.enable = xAuth;
- leftlowerC.enable = xAuth;
- leftlowerA.enable = xAuth;
- }
- // 화면을 초기화한다.
- function fInitialize()
- {
- ds_main_list1_toothlist.clearData();
- var pid = ds_hidden_cond.getColumn(0, "pid"); // 받아온 pid
- var sel_toot = "";
- if (!utlf_isNull(pid)) {
- // 조회기간 추가
- ds_hidden_cond.setColumn(0, "refterm", ds_init_termlist.getColumn(0, "refterm"));
- ds_hidden_cond.setColumn(0, "popyn", "Y");
- var oParam = {};
- oParam.id = "TRPIZ00601";
- oParam.service = "insucomapp.DiagOrderTooth";
- oParam.method = "reqGetDiagOrderTooth";
- oParam.inds = "req=ds_hidden_cond";
- oParam.outds = "ds_hidden_list1_toothlist=toothlist ds_hidden_list2_toothapplist=toothapplist";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_main_list1_toothlist.updatecontrol = false;
- ds_main_list2_toothapplist.updatecontrol = false;
- for (var i=0; i<ds_hidden_list1_toothlist.rowcount; i++) {
- if (!utlf_isNull(ds_hidden_list1_toothlist.getColumn(i, "indd"))){
- ds_hidden_list1_toothlist.setColumn(i,"orddd", ds_hidden_list1_toothlist.getColumn(i, "indd"));
- }
- }
- ds_hidden_list2_toothapplist.addColumn("orddd","string")
- for (var i=0; i<ds_hidden_list2_toothapplist.rowcount; i++) {
- ds_hidden_list2_toothapplist.setColumn(i,"orddd", ds_hidden_list2_toothapplist.getColumn(i, "indd"));
- }
-
- ds_main_list1_toothlist.appendData(ds_hidden_list1_toothlist, true, true);
- ds_main_list2_toothapplist.appendData(ds_hidden_list2_toothapplist, true, true);
-
- if (ds_main_list1_toothlist.rowcount > 0) {
- var frow = ds_main_list1_toothlist.findRowExpr("cd=='"+ds_hidden_cond.getColumn(0,"snglcalcscorcd")+"'");
- ds_main_list1_toothlist.rowposition = frow;
- ds_main_list1_toothlist.setColumn(frow, "chos", "true");
- }
- if (ds_main_list2_toothapplist.rowcount > 0) {
- var frow = ds_main_list2_toothapplist.findRowExpr("cd=='"+ds_hidden_cond.getColumn(0,"snglcalcscorcd")+"'");
- ds_main_list2_toothapplist.setColumn(frow, "chos", "true");
- ds_main_list2_toothapplist.rowposition = frow;
- // ds_main_list2_toothapplist.clearSelect();
- // ds_main_list2_toothapplist.selectRow(frow);
-
- }
- var toothlistcnt = ds_main_list1_toothlist.rowcount;
- if (toothlistcnt > 0 ) {
- var milktoothstr = "ABCDE000";
- for (var i=0; i<ds_main_list1_toothlist.rowcount; i++) {
- var toot = ds_main_list1_toothlist.getColumn(i, "toot");
-
- // if( toot.substring(0, 1) == "#" && toot.substring(1, 2) != "0") {
- // toot = lf_setToothFormat(toot);
- // }
-
- var subTootStr = "";
- for (var inx=0; inx<toot.length; inx++) {
- var tootnum = toot.substr(inx,1);
- if (tootnum == "*"||tootnum == "!") { // 선택된 영구치의 경우 1~8 사이 숫자로 표시한다.
- if (inx < 8) {
- subTootStr += (8 - inx);
- }
- else if (inx > 7 && inx < 16) {
- subTootStr += (inx - 7);
- }
- else if (inx > 15 && inx < 24) {
- subTootStr += (24 - inx);
- } else {
- subTootStr += (inx - 23);
- }
- } else if (tootnum == "#") { // 선택된 유치의 경우 A~E 사이 알파벳으로 표시한다.
- if (inx < 8) {
- subTootStr += milktoothstr.charAt(7 - inx);
- }
- else if (inx > 7 && inx < 16) {
- subTootStr += milktoothstr.charAt(inx - 8);
- }
- else if (inx > 15 && inx < 24) {
- subTootStr += milktoothstr.charAt(23 - inx);
- } else {
- subTootStr += milktoothstr.charAt(inx - 24);
- }
- } else { // if (tootnum == "0") 선택되지 않은 경우 공백으로 처리한다.
- subTootStr += " ";
- }
- }
- ds_main_list1_toothlist.setColumn(i, "rightupper", subTootStr.substr(0, 8));
- ds_main_list1_toothlist.setColumn(i, "leftupper", subTootStr.substr(8, 8));
- ds_main_list1_toothlist.setColumn(i, "rightlower", subTootStr.substr(16, 8));
- ds_main_list1_toothlist.setColumn(i, "leftlower", subTootStr.substr(24, 8));
- }
- }
- var toothapplistcnt = ds_main_list2_toothapplist.rowcount;
- if (toothapplistcnt > 0 ) {
- var milktoothstr = "ABCDE000";
- for (var i=0; i<ds_main_list2_toothapplist.rowcount; i++) {
- var toot = ds_main_list2_toothapplist.getColumn(i, "toot");
- // if( toot.substring(1, 2) != "0") {
- // toot = lf_setToothFormat(toot);
- // }
- var subTootStr = "";
- for (var inx=0; inx<toot.length; inx++) {
- var tootnum = toot.substr(inx,1);
- if (tootnum == "*"||tootnum == "!") { // 선택된 영구치의 경우 1~8 사이 숫자로 표시한다.
- if (inx < 8) {
- subTootStr += (8 - inx);
- }
- else if (inx > 7 && inx < 16) {
- subTootStr += (inx - 7);
- }
- else if (inx > 15 && inx < 24) {
- subTootStr += (24 - inx);
- } else {
- subTootStr += (inx - 23);
- }
- } else if (tootnum == "#") { // 선택된 유치의 경우 A~E 사이 알파벳으로 표시한다.
- if (inx < 8) {
- subTootStr += milktoothstr.charAt(7 - inx);
- }
- else if (inx > 7 && inx < 16) {
- subTootStr += milktoothstr.charAt(inx - 8);
- }
- else if (inx > 15 && inx < 24) {
- subTootStr += milktoothstr.charAt(23 - inx);
- } else {
- subTootStr += milktoothstr.charAt(inx - 24);
- }
- } else { // if (tootnum == "0") 선택되지 않은 경우 공백으로 처리한다.
- subTootStr += " ";
- }
- }
- ds_main_list2_toothapplist.setColumn(i, "rightupper", subTootStr.substr(0, 8));
- ds_main_list2_toothapplist.setColumn(i, "leftupper", subTootStr.substr(8, 8));
- ds_main_list2_toothapplist.setColumn(i, "rightlower", subTootStr.substr(16, 8));
- ds_main_list2_toothapplist.setColumn(i, "leftlower", subTootStr.substr(24, 8));
- }
- } else {
- }
- }
- var findrow = ds_main_list2_toothapplist.findRowExpr("chos=='true'");
- if (findrow > -1) {
- var sel_toot = ds_main_list2_toothapplist.getColumn(findrow, "toot");
- fSetToothInput(sel_toot); // 입력된 치식 번호를 img에 맞춰 표시한다.
- }
-
- ds_main_list1_toothlist.updatecontrol = true;
- ds_main_list2_toothapplist.updatecontrol = true;
- }
- // 입력된 치식 번호를 img에 맞춰 표시한다.
- function fSetToothInput(openerteeth)
- {
- if (!utlf_isNull(openerteeth)) {
- // 치식 해당사항 없음의 경우임
- if (openerteeth == "-" || openerteeth.length != 32) {
- for (var i = 0; i < 32; i++) {
- teethArray[i] = "0";
- var btnInx = i + 1;
- var btnObj = "buttonC"+btnInx;
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- btnObj = "buttonA"+btnInx;
- rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- }
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "rightupper", "00000000");
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "leftupper", "00000000");
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "rightlower", "00000000");
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "leftlower", "00000000");
- return;
- }
- // 치식이 있는 경우
- for (var i = 0; i < openerteeth.length; i++) {
- var subStr = openerteeth.substr(i, 1);
- teethArray[i] = subStr;
- var btnInx = i + 1;
- if (subStr == "#") { // 유치에 대한 선택을 초기 설정한다.
- var btnObj = "buttonC"+btnInx;
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "on");
- }
- btnObj = "buttonA"+btnInx;
- rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- } else if (subStr == "*"||subStr == "!") { // 영구치에 대한 선택을 초기 설정한다.
- var btnObj = "buttonC"+btnInx;
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- btnObj = "buttonA"+btnInx;
- rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "on");
- }
- } else {
- var btnObj = "buttonC"+btnInx;
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- btnObj = "buttonA"+btnInx;
- rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- }
- }
- fSetTootCd(); // 선택된 결과를 치식번호 Output 컨트롤에 표시한다.
- } else { // opener에서 전달받은 치식 값이 null 인 경우
- for (var i = 0; i < 32; i++) {
- teethArray[i] = "0";
- var btnInx = i + 1;
- var btnObj = "buttonC"+btnInx;
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- btnObj = "buttonA"+btnInx;
- rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- }
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "rightupper", "00000000");
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "leftupper", "00000000");
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "rightlower", "00000000");
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "leftlower", "00000000");
- }
- }
-
- // 치아 버튼
- function fSelectTooth(selchar, delchar, objnm)
- {
- var btnObject = eval(objnm);
-
- var btnInx = parseInt(btnObject.name.substr(7));
- btnInx--;
-
- var teethVal = teethArray[btnInx];
- teethVal = teethVal.replace("!","*");
- if (teethVal == "0") { // 선택되지 않은 상태였음
- lf_imgchange(objnm, "on"); //btnObj.enable = true;
- teethArray[btnInx] = selchar;
-
- } else if (teethVal == selchar) { // 기존에 동일한 치아가 선택되어 있어, 선택을 취소하는 경우임
- lf_imgchange(objnm, "off"); //btnObj.enable = false;
- teethArray[btnInx] = "0";
-
- } else if (teethVal == delchar) { // 치식번호가 동일한 영구치(유치)가 선택된 경우, 기존 선택을 취소하고 설정한다.
- lf_imgchange(objnm, "on"); //btnObj.enable = true;
- teethArray[btnInx++] = selchar;
- if (delchar == "*") {
- var btnObj = eval("buttonA" + btnInx);
- lf_imgchange(btnObj.name, "off"); //btnObj.enable = false;
- } else if (delchar == "#") {
- var btnObj = eval("buttonC" + btnInx);
- lf_imgchange(btnObj.name, "off"); //btnObj.enable = false;
- }
- }
- ds_hidden_chkflag_scndtooth.setColumn(0, "rightupperA", "");
- ds_hidden_chkflag_scndtooth.setColumn(0, "leftupperA", "");
- ds_hidden_chkflag_scndtooth.setColumn(0, "rightlowerA", "");
- ds_hidden_chkflag_scndtooth.setColumn(0, "leftlowerA", "");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA1", "");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA2", "");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA3", "");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA4", "");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA5", "");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA6", "");
-
- fSetTootCd(); // 선택된 결과를 치식번호 Output 컨트롤에 표시한다.
- }
- // 선택된 결과를 치식번호 Output 컨트롤에 표시한다.
- function fSetTootCd()
- {
- var milktoothstr = "ABCDE000";
- var subTootStr = "";
- var tmpStr = "";
- for (var i = 0; i < 32; i++) {
- tmpStr += teethArray[i];
- if (teethArray[i] == "*"||teethArray[i] == "!") {
- if (i < 8) {
- subTootStr += (8 - i);
- }
- else if (i > 7 && i < 16) {
- subTootStr += (i - 7);
- }
- else if (i > 15 && i < 24) {
- subTootStr += (24 - i);
- } else {
- subTootStr += (i - 23);
- }
- } else if (teethArray[i] == "#") {
- if (i < 8) {
- subTootStr += milktoothstr.charAt(7 - i);
- }
- else if (i > 7 && i < 16) {
- subTootStr += milktoothstr.charAt(i - 8);
- }
- else if (i > 15 && i < 24) {
- subTootStr += milktoothstr.charAt(23 - i);
- } else {
- subTootStr += milktoothstr.charAt(i - 24);
- }
- } else {
- subTootStr += " ";
- }
- }
- // 명세서에 표시되는 EDI청구용 치식 표기를 설정한다.
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "rightupper", tmpStr.substr(0, 8));
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "leftupper", tmpStr.substr(8, 8));
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "rightlower", tmpStr.substr(16, 8));
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "leftlower", tmpStr.substr(24, 8));
- // 현재 치식 입력화면에서 보여지는 번호를 표시한다.
- ds_hidden_selectedtooth_selectednum.setColumn(0, "rightupper", subTootStr.substr(0, 8));
- ds_hidden_selectedtooth_selectednum.setColumn(0, "leftupper", subTootStr.substr(8, 8));
- ds_hidden_selectedtooth_selectednum.setColumn(0, "rightlower", subTootStr.substr(16, 8));
- ds_hidden_selectedtooth_selectednum.setColumn(0, "leftlower", subTootStr.substr(24, 8));
- }
- // "전체취소" Btn
- function fUnSelectAllTooth()
- {
- ds_hidden_chkflag_scndtooth.clearData();
- ds_hidden_chkflag_scndtooth.addRow();
-
- ds_hidden_chkflag_milktooth.clearData();
- ds_hidden_chkflag_milktooth.addRow();
-
- ds_hidden_selectedtooth_editoothnum.clearData();
- ds_hidden_selectedtooth_editoothnum.addRow();
-
- ds_hidden_selectedtooth_selectednum.clearData();
- ds_hidden_selectedtooth_selectednum.addRow();
-
- for (var i = 0; i < 32; i++) {
- var btnInx = i + 1;
- var btnObj = "buttonC"+btnInx; // 유치에 대한 선택을 초기화 한다.
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- btnObj = "buttonA"+btnInx; // 영구치에 대한 선택을 초기화 한다.
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- teethArray[i] = "0";
- }
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "rightupper", "00000000");
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "leftupper", "00000000");
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "rightlower", "00000000");
- ds_hidden_selectedtooth_editoothnum.setColumn(0, "leftlower", "00000000");
- }
- // "전악 (영구치)" Btn
- function fSelectAllScndTooth()
- {
- ds_hidden_chkflag_milktooth.clearData();
- ds_hidden_chkflag_milktooth.addRow();
-
- ds_hidden_chkflag_scndtooth.clearData();
- ds_hidden_chkflag_scndtooth.addRow();
- ds_hidden_chkflag_scndtooth.setColumn(0, "rightupperA", "Y");
- ds_hidden_chkflag_scndtooth.setColumn(0, "leftupperA", "Y");
- ds_hidden_chkflag_scndtooth.setColumn(0, "rightlowerA", "Y");
- ds_hidden_chkflag_scndtooth.setColumn(0, "leftlowerA", "Y");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA1", "Y");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA2", "Y");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA3", "Y");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA4", "Y");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA5", "Y");
- ds_hidden_chkflag_scndtooth.setColumn(0, "trisectionA6", "Y");
- for (var i = 0; i < 32; i++) {
- var btnInx = i + 1;
- // 유치에 대한 선택을 초기화 한다.
- var btnObj = "buttonC"+btnInx;
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- // 영구치에 대한 선택을 설정한다.
- btnObj = "buttonA"+btnInx;
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "on");
- }
- teethArray[i] = "*";
- }
-
- fSetTootCd(); // 선택된 결과를 치식번호 Output 컨트롤에 표시한다.
- }
-
- // "전악 (유치)" Btn
- function fSelectAllMilkTooth()
- {
- ds_hidden_chkflag_scndtooth.clearData();
- ds_hidden_chkflag_scndtooth.addRow();
-
- ds_hidden_chkflag_milktooth.clearData();
- ds_hidden_chkflag_milktooth.addRow();
-
- ds_hidden_chkflag_milktooth.setColumn(0, "rightupperC", "Y");
- ds_hidden_chkflag_milktooth.setColumn(0, "leftupperC", "Y");
- ds_hidden_chkflag_milktooth.setColumn(0, "rightlowerC", "Y");
- ds_hidden_chkflag_milktooth.setColumn(0, "leftlowerC", "Y");
- ds_hidden_chkflag_milktooth.setColumn(0, "trisectionC1", "Y");
- ds_hidden_chkflag_milktooth.setColumn(0, "trisectionC2", "Y");
- ds_hidden_chkflag_milktooth.setColumn(0, "trisectionC3", "Y");
- ds_hidden_chkflag_milktooth.setColumn(0, "trisectionC4", "Y");
- ds_hidden_chkflag_milktooth.setColumn(0, "trisectionC5", "Y");
- ds_hidden_chkflag_milktooth.setColumn(0, "trisectionC6", "Y");
- for (var i = 0; i < 32; i++) {
- var btnInx = i + 1;
- // 영구치에 대한 선택을 초기화 한다.
- var btnObj = "buttonA"+btnInx;
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- // 유치에 대한 선택을 설정한다.
- btnObj = "buttonC"+btnInx;
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "on");
- teethArray[i] = "#";
- } else {
- teethArray[i] = "0";
- }
- }
-
- fSetTootCd(); // 선택된 결과를 치식번호 Output 컨트롤에 표시한다.
- }
-
- // 지정된 영역의 영구치를 선택한다.
- function fSelectToothGroupA(objnm, from, to)
- {
- var isSelected = ds_hidden_chkflag_scndtooth.getColumn(0, objnm);
-
- if (isSelected != "Y") {
- ds_hidden_chkflag_scndtooth.setColumn(0, objnm, "Y");
- } else {
- ds_hidden_chkflag_scndtooth.setColumn(0, objnm, "");
- }
- for (var i = from; i < to; i++) {
- var btnInx = i + 1;
- // 유치에 대한 선택을 초기화 한다.
- var btnObj = "buttonC"+btnInx;
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- // 영구치에 대한 선택을 설정한다.
- btnObj = "buttonA"+btnInx;
- rtn = isValidObject(btnObj);
- if (rtn) {
- if (isSelected != "Y") {
- var onoff = lf_imgchange(btnObj, "on");
- } else {
- var onoff = lf_imgchange(btnObj, "off");
- }
- if (onoff == "on") {
- teethArray[i] = "*";
- } else {
- teethArray[i] = "0";
- }
- }
- }
-
- fSetTootCd(); // 선택된 결과를 치식번호 Output 컨트롤에 표시한다.
- }
-
- // 지정된 영역의 유치를 선택한다.
- function fSelectToothGroupC(objnm, from, to)
- {
- var isSelected = ds_hidden_chkflag_milktooth.getColumn(0, objnm);
-
- if (isSelected != "Y") {
- ds_hidden_chkflag_milktooth.setColumn(0, objnm, "Y");
- } else {
- ds_hidden_chkflag_milktooth.setColumn(0, objnm, "");
- }
- for (var i = from; i < to; i++) {
- var btnInx = i + 1;
- // 영구치에 대한 선택을 초기화 한다.
- var btnObj = "buttonA"+btnInx;
- var rtn = isValidObject(btnObj);
- if (rtn) {
- lf_imgchange(btnObj, "off");
- }
- // 유치에 대한 선택을 설정한다.
- btnObj = "buttonC"+btnInx;
- rtn = isValidObject(btnObj);
- if (rtn) {
- if (isSelected != "Y") {
- var onoff = lf_imgchange(btnObj, "on");
- } else {
- var onoff = lf_imgchange(btnObj, "off");
- }
- if (onoff == "on") {
- teethArray[i] = "#";
- } else {
- teethArray[i] = "0";
- }
- }
- }
-
- fSetTootCd(); // 선택된 결과를 치식번호 Output 컨트롤에 표시한다.
- }
- function SPPIZ00600_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화 함수
- try {
- ds_hidden_cond.clearData();
- ds_hidden_cond.appendData(objDs, true, true);
- ds_hidden_cond_list.clearData();
- ds_hidden_cond_list.appendData(objDs2, true, true);
-
- ds_main_list2_toothapplist.appendData(ds_hidden_cond_list, true, true);
-
- } catch(e) {
- }
-
- lf_init_img(); // 버튼 이미지 초기화
-
- btn_unselect.click();
-
- fInitialize(); // 화면을 초기화한다.
- }
- function grd_toothapplist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if (ds_main_list2_toothapplist.rowcount > 0) {
- if (e.col != grd_toothapplist.getBindCellIndex("body", "chos")) { // 선택이 아닐때
- var openerteeth = ds_main_list2_toothapplist.getColumn(ds_main_list2_toothapplist.rowposition, "toot");
- fSetToothInput(openerteeth); // 입력된 치식 번호를 img에 맞춰 표시한다.
- }
- }
- }
- function grd_toothlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var openerteeth = ds_main_list1_toothlist.getColumn(ds_main_list1_toothlist.rowposition, "toot");
- if (ds_main_list1_toothlist.rowposition > -1) {
- fSetToothInput(openerteeth); // 입력된 치식 번호를 img에 맞춰 표시한다.
- }
- }
- function btn_trans_onclick(obj:Button, e:ClickEventInfo)
- {
- var rows = ds_main_list2_toothapplist.rowcount;
- // EDI표기
-
- var tooth = ds_hidden_selectedtooth_editoothnum.getColumn(0, "rightupper")
- + ds_hidden_selectedtooth_editoothnum.getColumn(0, "leftupper")
- + ds_hidden_selectedtooth_editoothnum.getColumn(0, "rightlower")
- + ds_hidden_selectedtooth_editoothnum.getColumn(0, "leftlower");
- var rightupper = ds_hidden_selectedtooth_selectednum.getColumn(0, "rightupper");
- var leftupper = ds_hidden_selectedtooth_selectednum.getColumn(0, "leftupper");
- var rightlower = ds_hidden_selectedtooth_selectednum.getColumn(0, "rightlower");
- var leftlower = ds_hidden_selectedtooth_selectednum.getColumn(0, "leftlower");
- var chos ="";
- if (CheckBox00.value == "Y"){
- tooth = tooth.replace("*","!")
- } else {
- tooth = tooth.replace("!","*")
- }
- for (var i=0; i<rows; i++) {
- chos = ds_main_list2_toothapplist.getColumn(i, "chos");
- if (chos == "true" || chos=="1") {
- ds_main_list2_toothapplist.setColumn(i, "rightupper", rightupper);
- ds_main_list2_toothapplist.setColumn(i, "leftupper", leftupper);
- ds_main_list2_toothapplist.setColumn(i, "rightlower", rightlower);
- ds_main_list2_toothapplist.setColumn(i, "leftlower", leftlower);
- ds_main_list2_toothapplist.setColumn(i, "toot", tooth);
- }
- }
- }
- function btn_delete_onclick(obj:Button, e:ClickEventInfo)
- {
- var rows = ds_main_list2_toothapplist.rowcount;
- for (var i=0; i<rows; i++) {
- chos = ds_main_list2_toothapplist.getColumn(i, "chos");
- if (chos == "true" || chos == "1") {
- ds_main_list2_toothapplist.setColumn(i, "rightupper", "");
- ds_main_list2_toothapplist.setColumn(i, "leftupper", "");
- ds_main_list2_toothapplist.setColumn(i, "rightlower", "");
- ds_main_list2_toothapplist.setColumn(i, "leftlower", "");
- ds_main_list2_toothapplist.setColumn(i, "toot", "");
- }
- }
- }
- function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
- {
- if (frmf_checkOpener()) {
- var rows = ds_main_list2_toothapplist.rowcount;
- var chos = "";
- var flag = "";
- var chos = "";
- var row = "";
- var toot = "";
- var toot1 = "";
- var cd = "";
- var prcflag = ds_hidden_cond.getColumn(0, "flag");
- if (prcflag == "AID") {
- dsf_setDefaultVal(ds_main_list2_toothapplist, "toot:-");
- var oParam = {};
- oParam.id = "TXPIZ00601";
- oParam.service = "insucomapp.DiagOrderTooth";
- oParam.method = "reqSetIsclTootFact";
- oParam.inds = "req=ds_main_list2_toothapplist:U";
- oParam.async = false;
- //oParam.callback = "cf_TXPIZ00601";
- tranf_submit(oParam);
- }
- for (var i=0; i < rows; i++) {
- chos = ds_main_list2_toothapplist.getColumn(i, "chos");
- row = ds_main_list2_toothapplist.getColumn(i, "row");
- flag = ds_main_list2_toothapplist.getColumn(i, "flag");
- toot = ds_main_list2_toothapplist.getColumn(i, "toot");
- cd = ds_main_list2_toothapplist.getColumn(i, "cd");
- // 의사입력방식으로 교체(우상-좌상-좌하-우하)
- if (toot.length == 32 && toot != "00000000000000000000000000000000") {
- var str1 = toot.substr(0,8);
- var str2 = toot.substr(8,8);
- var str4 = toot.substr(16,8);
- var str3 = toot.substr(24,8);
- var subTootStr = "";
- // 우상(1)
- for (var idx1 = 0; idx1 < 8; idx1++) {
- var tootnum = str1.substr(idx1,1);
- var point = 0;
- if (tootnum == "*") {
- point = 8 - idx1;
- if (subTootStr != "") subTootStr += ",1" + point;
- else subTootStr = "1" + point;
- } else if (tootnum == "#") {
- point = 5 - idx1 + 3;
- if (subTootStr != "") subTootStr += ",5" + point;
- else subTootStr = "5" + point;
- } else if (tootnum == "!") {
- point = 8 - idx1;
- if (subTootStr != "") subTootStr += ",1" + point + "!";
- else subTootStr = "1" + point + "!";
- }
- }
- // 좌상(2)
- for (var idx2 = 0; idx2 < 8; idx2++) {
- var tootnum = str2.substr(idx2,1);
- var point = 0;
- if (tootnum == "*") {
- point = idx2 + 1;
- if (subTootStr != "") subTootStr += ",2" + point;
- else subTootStr = "2" + point;
- } else if (tootnum == "#") {
- point = idx2 + 1;
- if (subTootStr != "") subTootStr += ",6" + point;
- else subTootStr = "6" + point;
- } else if (tootnum == "!") {
- point = idx2 + 1;
- if (subTootStr != "") subTootStr += ",2" + point + "!";
- else subTootStr = "2" + point + "!";
- }
- }
- // 우하(4)
- for (var idx4 = 0; idx4 < 8; idx4++) {
- var tootnum = str4.substr(idx4,1);
- var point = 0;
- if (tootnum == "*") {
- point = 8 - idx4;
- if (subTootStr != "") subTootStr += ",4" + point;
- else subTootStr = "4" + point;
- } else if (tootnum == "#") {
- point = 5 - idx4 + 3;
- if (subTootStr != "") subTootStr += ",8" + point;
- else subTootStr = "8" + point;
- } else if (tootnum == "!") {
- point = 8 - idx4;
- if (subTootStr != "") subTootStr += ",4" + point + "!";
- else subTootStr = "4" + point + "!";
- }
- }
- // 좌하(3)
- for (var idx3 = 0; idx3 < 8; idx3++) {
- var tootnum = str3.substr(idx3,1);
- var point = 0;
- if (tootnum == "*") {
- point = idx3 + 1;
- if (subTootStr != "") subTootStr += ",3" + point;
- else subTootStr = "3" + point;
- } else if (tootnum == "#") {
- point = idx3 + 1;
- if (subTootStr != "") subTootStr += ",7" + point;
- else subTootStr = "7" + point;
- } else if (tootnum == "!") {
- point = idx3 + 1;
- if (subTootStr != "") subTootStr += ",3" + point + "!";
- else subTootStr = "3" + point + "!";
- }
- }
- if (subTootStr == "") toot1 = "-";
- else toot1 = subTootStr;
- } else {
- toot1 = "-";
- }
-
- // 사전 재원심사 상병
- if (prcflag == "AID") {
- if (flag == "상병") {
- ds_hidden_rslt_list.setColumn(i, "flag", "1");
- } else if (flag == "처방") {
- ds_hidden_rslt_list.setColumn(i, "flag", "2");
- }
-
- if (toot == "" || toot == "00000000000000000000000000000000") {
- toot = "-";
- }
- ds_hidden_rslt_list.setColumn(i, "toot", toot);
- ds_hidden_rslt_list.setColumn(i, "toot1", toot1);
- ds_hidden_rslt_list.setColumn(i, "row", row);
- ds_hidden_rslt_list.setColumn(i, "cd", cd);
- ds_hidden_rslt_list.setColumn(i, "toothYN", "Y");
- ds_hidden_rslt_list.addRow();
- } else {
- if (flag == "상병") {
- ds_hidden_rslt_list.setColumn(i, "flag", "1");
- } else if (flag == "처방") {
- ds_hidden_rslt_list.setColumn(i, "flag", "2");
- }
- if (utlf_isNull(toot) || toot == "00000000000000000000000000000000") {
- toot = "-";
- }
- ds_hidden_rslt_list.setColumn(i, "toot", toot);
- ds_hidden_rslt_list.setColumn(i, "toot1", toot1);
- ds_hidden_rslt_list.setColumn(i, "row", row);
- ds_hidden_rslt_list.setColumn(i, "cd", cd);
- ds_hidden_rslt_list.setColumn(i, "toothYN", "Y");
- ds_hidden_rslt_list.addRow();
- }
- }
- opener.ds_rslt_sppiz00600.copyData(ds_hidden_rslt_list);
- } else {
- sysf_messageBox("상위화면이 변경되어 데이터를 전달할 수", "I004");
- }
-
- this.close();
- }
- // 닫기
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- // 버튼 클릭
- function lf_btnclick(obj, e)
- {
- // 1/3 (영구치)
- if (obj.name == "trisectionA1") {
- fSelectToothGroupA("trisectionA1", 0, 5); // 지정된 영역의 영구치를 선택한다.
-
- } else if (obj.name == "trisectionA2") {
- fSelectToothGroupA("trisectionA2", 5, 11); // 지정된 영역의 영구치를 선택한다.
-
- } else if (obj.name == "trisectionA3") {
- fSelectToothGroupA("trisectionA3", 11, 16); // 지정된 영역의 영구치를 선택한다.
-
- } else if (obj.name == "trisectionA4") {
- fSelectToothGroupA("trisectionA4", 16, 21); // 지정된 영역의 영구치를 선택한다.
-
- } else if (obj.name == "trisectionA5") {
- fSelectToothGroupA("trisectionA5", 21, 27); // 지정된 영역의 영구치를 선택한다.
-
- } else if (obj.name == "trisectionA6") {
- fSelectToothGroupA("trisectionA6", 27, 32); // 지정된 영역의 영구치를 선택한다.
-
- // 1/3 (유치)
- } else if (obj.name == "trisectionC1") {
- fSelectToothGroupC("trisectionC1", 0, 5); // 지정된 영역의 유치를 선택한다.
-
- } else if (obj.name == "trisectionC2") {
- fSelectToothGroupC("trisectionC2", 5, 11); // 지정된 영역의 유치를 선택한다.
-
- } else if (obj.name == "trisectionC3") {
- fSelectToothGroupC("trisectionC3", 11, 16); // 지정된 영역의 유치를 선택한다.
-
- } else if (obj.name == "trisectionC4") {
- fSelectToothGroupC("trisectionC4", 16, 21); // 지정된 영역의 유치를 선택한다.
-
- } else if (obj.name == "trisectionC5") {
- fSelectToothGroupC("trisectionC5", 21, 27); // 지정된 영역의 유치를 선택한다.
-
- } else if (obj.name == "trisectionC6") {
- fSelectToothGroupC("trisectionC6", 27, 32); // 지정된 영역의 유치를 선택한다.
-
- // 우상유치
- } else if (obj.name == "rightupperC") {
- fSelectToothGroupC("rightupperC", 0, 8); // 지정된 영역의 유치를 선택한다.
- // 우하유치
- } else if (obj.name == "rightlowerC") {
- fSelectToothGroupC("rightlowerC", 16, 24); // 지정된 영역의 유치를 선택한다.
- // 좌상유치
- } else if (obj.name == "leftupperC") {
- fSelectToothGroupC("leftupperC", 8, 16); // 지정된 영역의 유치를 선택한다.
- // 좌하유치
- } else if (obj.name == "leftlowerC") {
- fSelectToothGroupC("leftlowerC", 24, 32); // 지정된 영역의 유치를 선택한다.
- // 우상
- } else if (obj.name == "rightupperA") {
- fSelectToothGroupA("rightupperA", 0, 8); // 지정된 영역의 유치를 선택한다.
- // 우하
- } else if (obj.name == "rightlowerA") {
- fSelectToothGroupA("rightlowerA", 16, 24); // 지정된 영역의 유치를 선택한다.
- // 좌상
- } else if (obj.name == "leftupperA") {
- fSelectToothGroupA("leftupperA", 8, 16); // 지정된 영역의 유치를 선택한다.
- // 좌하
- } else if (obj.name == "leftlowerA") {
- fSelectToothGroupA("leftlowerA", 24, 32); // 지정된 영역의 유치를 선택한다.
- }
- }
- // 치아 버튼 클릭
- function lf_tootbtnclick(obj, e)
- {
- // 영구치
- if (obj.name.substr(0, 7) == "buttonA") {
- fSelectTooth("*", "#", obj.name );
- }
-
- // 유치
- if (obj.name.substr(0, 7) == "buttonC") {
- fSelectTooth("#", "*", obj.name );
- }
- }
- // 클릭시 이미지 변경
- function lf_imgchange(objnm, flag)
- {
- var rtn = "";
- var obj = eval(objnm);
- var fRow = ds_btn_img.findRow("btnnm", objnm); // 버튼명으로 이미지 ds 의 row 찾기
- // 버튼의 이미지 경로에서 현재 적용된 이미지파일명 읽어서 스위칭(on/off)
- var imgnm = String(obj.style.image).substr(34).split(".", 1);
- var idxoff = String(imgnm).indexOf("off");
-
- if (utlf_isNull(flag)) {
- if (idxoff == -1) { // on 일 경우(파일명이 off 가 아닐때) off 파일로 변경
- obj.style.image = "URL('" + imgpath + ds_btn_img.getColumn(fRow, "btnoff") + ".gif" + "')";
- rtn = "off";
- } else {
- obj.style.image = "URL('" + imgpath + ds_btn_img.getColumn(fRow, "btnon") + ".gif" + "')";
- rtn = "on";
- }
-
- } else {
- if (flag == "on") {
- obj.style.image = "URL('" + imgpath + ds_btn_img.getColumn(fRow, "btnon") + ".gif" + "')";
- rtn = "on";
- } else if (flag == "off") {
- obj.style.image = "URL('" + imgpath + ds_btn_img.getColumn(fRow, "btnoff") + ".gif" + "')";
- rtn = "off";
- }
- }
- return rtn;
- }
- // 버튼 이미지 초기화
- function lf_init_img()
- {
- for (var i=0; i<ds_btn_img.rowcount; i++) {
- var obj = eval(ds_btn_img.getColumn(i, "btnnm"));
- obj.style.image = "URL('" + imgpath + ds_btn_img.getColumn(i, "btnon") + ".gif" + "')";
- }
- }
- // 취소
- function btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- // 기간
- function rdo_refterm_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- fInitialize();
- }
- // 전체취소
- function btn_unselect_onclick(obj:Button, e:ClickEventInfo)
- {
- fUnSelectAllTooth();
- }
- // 전악(영구치)
- function btn_allscndtooth_onclick(obj:Button, e:ClickEventInfo)
- {
- fSelectAllScndTooth();
- }
- // 전악(유치)
- function btn_allmilktooth_onclick(obj:Button, e:ClickEventInfo)
- {
- fSelectAllMilkTooth();
- }
- // 2015.07.06
- // 사전심사 상병 EDI방식 아닌 진료치식 #21,#22 그대로 넘어오기 때문에 변환필요
- // 사전심사 처방은 21,22 형태로 넘어옴
- function lf_setToothFormat(toot) {
- if( toot.substring(1, 2) != "0" ) {
-
- var toot_arr = new Array(33); // 0번 삭제하기 때문
- if( toot.substring(0, 1) == "#" ) {
- toot_arr = toot.split("#");
-
- var rtn_toot = "";
-
- ds_temp_toot.clearData();
- ds_temp_toot.addRow();
-
- for(var i = 1 ; i < toot_arr.length ; i++) {
- switch(toot_arr[i]) {
-
- case "18": ds_temp_toot.setColumn(0, "t18", "1"); break;
- case "17": ds_temp_toot.setColumn(0, "t17", "1"); break;
- case "16": ds_temp_toot.setColumn(0, "t16", "1"); break;
- case "15": ds_temp_toot.setColumn(0, "t15", "1"); break;
- case "14": ds_temp_toot.setColumn(0, "t14", "1"); break;
- case "13": ds_temp_toot.setColumn(0, "t13", "1"); break;
- case "12": ds_temp_toot.setColumn(0, "t12", "1"); break;
- case "11": ds_temp_toot.setColumn(0, "t11", "1"); break;
-
- case "21": ds_temp_toot.setColumn(0, "t21", "1"); break;
- case "22": ds_temp_toot.setColumn(0, "t22", "1"); break;
- case "23": ds_temp_toot.setColumn(0, "t23", "1"); break;
- case "24": ds_temp_toot.setColumn(0, "t24", "1"); break;
- case "25": ds_temp_toot.setColumn(0, "t25", "1"); break;
- case "26": ds_temp_toot.setColumn(0, "t26", "1"); break;
- case "27": ds_temp_toot.setColumn(0, "t27", "1"); break;
- case "28": ds_temp_toot.setColumn(0, "t28", "1"); break;
-
- case "48": ds_temp_toot.setColumn(0, "t48", "1"); break;
- case "47": ds_temp_toot.setColumn(0, "t47", "1"); break;
- case "46": ds_temp_toot.setColumn(0, "t46", "1"); break;
- case "45": ds_temp_toot.setColumn(0, "t45", "1"); break;
- case "44": ds_temp_toot.setColumn(0, "t44", "1"); break;
- case "43": ds_temp_toot.setColumn(0, "t43", "1"); break;
- case "42": ds_temp_toot.setColumn(0, "t42", "1"); break;
- case "41": ds_temp_toot.setColumn(0, "t41", "1"); break;
-
- case "31": ds_temp_toot.setColumn(0, "t31", "1"); break;
- case "32": ds_temp_toot.setColumn(0, "t32", "1"); break;
- case "33": ds_temp_toot.setColumn(0, "t33", "1"); break;
- case "34": ds_temp_toot.setColumn(0, "t34", "1"); break;
- case "35": ds_temp_toot.setColumn(0, "t35", "1"); break;
- case "36": ds_temp_toot.setColumn(0, "t36", "1"); break;
- case "37": ds_temp_toot.setColumn(0, "t37", "1"); break;
- case "38": ds_temp_toot.setColumn(0, "t38", "1"); break;
-
- }
-
- }
-
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t18") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t17") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t16") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t15") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t14") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t13") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t12") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t11") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
-
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t21") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t22") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t23") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t24") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t25") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t26") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t27") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t28") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
-
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t48") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t47") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t46") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t45") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t44") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t43") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t42") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t41") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
-
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t31") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t32") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t33") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t34") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t35") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t36") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t37") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t38") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
-
- return rtn_toot;
- }
-
- else {
- toot_arr = toot.split(",");
-
- var rtn_toot = "";
-
- ds_temp_toot.clearData();
- ds_temp_toot.addRow();
-
- for(var i = 0 ; i < toot_arr.length ; i++) {
- switch(toot_arr[i]) {
-
- case "18": ds_temp_toot.setColumn(0, "t18", "1"); break;
- case "17": ds_temp_toot.setColumn(0, "t17", "1"); break;
- case "16": ds_temp_toot.setColumn(0, "t16", "1"); break;
- case "15": ds_temp_toot.setColumn(0, "t15", "1"); break;
- case "14": ds_temp_toot.setColumn(0, "t14", "1"); break;
- case "13": ds_temp_toot.setColumn(0, "t13", "1"); break;
- case "12": ds_temp_toot.setColumn(0, "t12", "1"); break;
- case "11": ds_temp_toot.setColumn(0, "t11", "1"); break;
-
- case "21": ds_temp_toot.setColumn(0, "t21", "1"); break;
- case "22": ds_temp_toot.setColumn(0, "t22", "1"); break;
- case "23": ds_temp_toot.setColumn(0, "t23", "1"); break;
- case "24": ds_temp_toot.setColumn(0, "t24", "1"); break;
- case "25": ds_temp_toot.setColumn(0, "t25", "1"); break;
- case "26": ds_temp_toot.setColumn(0, "t26", "1"); break;
- case "27": ds_temp_toot.setColumn(0, "t27", "1"); break;
- case "28": ds_temp_toot.setColumn(0, "t28", "1"); break;
-
- case "48": ds_temp_toot.setColumn(0, "t48", "1"); break;
- case "47": ds_temp_toot.setColumn(0, "t47", "1"); break;
- case "46": ds_temp_toot.setColumn(0, "t46", "1"); break;
- case "45": ds_temp_toot.setColumn(0, "t45", "1"); break;
- case "44": ds_temp_toot.setColumn(0, "t44", "1"); break;
- case "43": ds_temp_toot.setColumn(0, "t43", "1"); break;
- case "42": ds_temp_toot.setColumn(0, "t42", "1"); break;
- case "41": ds_temp_toot.setColumn(0, "t41", "1"); break;
-
- case "31": ds_temp_toot.setColumn(0, "t31", "1"); break;
- case "32": ds_temp_toot.setColumn(0, "t32", "1"); break;
- case "33": ds_temp_toot.setColumn(0, "t33", "1"); break;
- case "34": ds_temp_toot.setColumn(0, "t34", "1"); break;
- case "35": ds_temp_toot.setColumn(0, "t35", "1"); break;
- case "36": ds_temp_toot.setColumn(0, "t36", "1"); break;
- case "37": ds_temp_toot.setColumn(0, "t37", "1"); break;
- case "38": ds_temp_toot.setColumn(0, "t38", "1"); break;
-
- }
-
- }
-
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t18") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t17") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t16") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t15") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t14") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t13") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t12") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t11") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
-
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t21") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t22") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t23") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t24") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t25") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t26") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t27") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t28") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
-
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t48") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t47") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t46") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t45") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t44") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t43") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t42") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t41") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
-
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t31") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t32") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t33") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t34") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t35") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t36") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t37") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
- if( utlf_isNull(ds_temp_toot.getColumn(0, "t38") ) ) { rtn_toot += "0"; } else { rtn_toot += "*"; }
-
- return rtn_toot;
- }
- }
- else {
- return toot;
- }
-
- }
- function ds_main_list2_toothapplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if( e.columnid == "chos" ){
- obj.setColumn(e.row, "chos", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|