123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLPJ02300" position="absolute 0 0 1000 716" titletext="수탁검사접수" oninit="SPLPJ02300_oninit" onload="SPLPJ02300_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 673 984 700" id="grp_btn" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Button position="absolute 928 5 984 27" id="btn_cls" class="btn4" taborder="31" text="닫기" onclick="grp_btn_btn_cls_onclick"/>
- <Shape position="absolute 0 0 984 6" linetype="vertical" id="line17" class="line_6"/>
- <Button position="absolute 845 5 925 27" id="btn_prcp" class="btn4" taborder="30" visible="false" text="처방등록" onclick="grp_btn_btn_prcp_onclick"/>
- <Button position="absolute 786 5 842 27" id="btn_acpt" class="btn4" taborder="29" text="접수" onclick="grp_btn_btn_acpt_onclick"/>
- <Button position="absolute 0 5 144 27" id="btn_patlistread" class="btn3" taborder="28" visible="false" text="수탁환자 Excel읽기" onclick="grp_btn_btn_patlistread_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Div position="absolute 0 0 984 673" id="grp_biz">
- <Layouts>
- <Layout>
- <Combo position="absolute 892 2 982 21" id="cmb_orddrid" innerdataset="ds_init_cmb_orddrid" datacolumn="usernm" codecolumn="userid" anchor="default"/>
- <Static text="처방의사" position="absolute 825 0 889 23" align="align:center middle;" id="cap_orddrid" class="cell_1" anchor="default"/>
- <Div position="absolute 205 5 490 265" id="grp_prnt" visible="false" anchor="default">
- <Layouts>
- <Layout width="285" height="260"/>
- </Layouts>
- </Div>
- <Tab id="swt_trust" taborder="1" tabindex="0" position="absolute 0 23 984 670" anchor="default">
- <Tabpages>
- <Tabpage id="case_list" text="수탁검사목록" onsetfocus="grp_biz_swt_trust_case_list_onsetfocus">
- <Layouts>
- <Layout>
- <Grid id="grd_trustlist" class="datagrid2" taborder="1" binddataset="ds_grd_trustlist" useinputpanel="false" position="absolute 5 70 979 619" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="45"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="123"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="26" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="instcd"/>
- <Cell col="2" text="요청기관코드"/>
- <Cell col="3" text="요청기관"/>
- <Cell col="4" text="요청일자"/>
- <Cell col="5" text="요청시간"/>
- <Cell col="6" text="바코드번호"/>
- <Cell col="7" text="작업번호"/>
- <Cell col="8" text="요청 등록번호"/>
- <Cell col="9" text="환자명"/>
- <Cell col="10" text="성별/ 나이"/>
- <Cell col="11" text="주민번호"/>
- <Cell col="12" text="rrgstno1"/>
- <Cell col="13" text="rrgstno2"/>
- <Cell col="14" text="여권번호"/>
- <Cell col="15" text="검사코드"/>
- <Cell col="16" text="검사명"/>
- <Cell col="17" text="검체코드"/>
- <Cell col="18" text="검체명"/>
- <Cell col="19" text="의뢰지번호"/>
- <Cell col="20" text="의뢰지구분코드"/>
- <Cell col="21" text="의뢰지내용"/>
- <Cell col="22" text="요청자명"/>
- <Cell col="23" text="확인일자"/>
- <Cell col="24" text="확인시간"/>
- <Cell col="25" text="확인자명"/>
- <Cell col="26" text="acptstatcd"/>
- <Cell col="27" text="bizflagcd"/>
- <Cell col="28" text="orddrid"/>
- <Cell col="29" text="orddeptcd"/>
- <Cell col="30" text="grostestplgyid"/>
- <Cell col="31" text="newreqcnts"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:choi"/>
- <Cell col="1" text="bind:instcd"/>
- <Cell col="2" text="bind:reqinstcd"/>
- <Cell col="3" text="bind:reqinstnm"/>
- <Cell col="4" displaytype="date" edittype="date" text="bind:reqdd" mask="yyyy-MM-dd"/>
- <Cell col="5" class="text_center" text="bind:reqtm"/>
- <Cell col="6" class="text_center" text="bind:bcno"/>
- <Cell col="7" class="text_center" text="bind:workno"/>
- <Cell col="8" class="text_center" text="bind:reqpid"/>
- <Cell col="9" displaytype="date" edittype="date" text="bind:patnm" mask="hh:mm:ss"/>
- <Cell col="10" text="bind:sexage"/>
- <Cell col="11" text="bind:rrgstno"/>
- <Cell col="12" text="bind:rrgstno1"/>
- <Cell col="13" text="bind:rrgstno2"/>
- <Cell col="14" text="bind:psptno"/>
- <Cell col="15" text="bind:testcd"/>
- <Cell col="16" text="bind:testnm"/>
- <Cell col="17" text="bind:spccd"/>
- <Cell col="18" text="bind:spcnm"/>
- <Cell col="19" text="bind:reqfrmno"/>
- <Cell col="20" text="bind:reqfrmflagcd"/>
- <Cell col="21" text="bind:reqcnts"/>
- <Cell col="22" text="bind:reqnm"/>
- <Cell col="23" text="bind:cnfmdd"/>
- <Cell col="24" text="bind:cnfmtm"/>
- <Cell col="25" text="bind:cnfmnm"/>
- <Cell col="26" text="bind:acptstatcd"/>
- <Cell col="27" text="bind:bizflagcd"/>
- <Cell col="28" text="bind:orddrid"/>
- <Cell col="29" text="bind:orddeptcd"/>
- <Cell col="30" text="bind:grostestplgyid"/>
- <Cell col="31" text="bind:newreqcnts"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_sea" taborder="2" position="absolute 5 5 979 40" anchor="default">
- <Layouts>
- <Layout>
- <Shape id="roundrect1" type="roundrectangle" class="roundrect_search" position="absolute 0 0 974 35" anchor="default"/>
- <Static id="caption2" text="요청일자 :" class="search_name" position="absolute 15 8 90 25" anchor="default"/>
- <Button id="btn_search" taborder="5" text="조회" class="btn1" position="absolute 904 7 960 29" anchor="default" onclick="grp_biz_swt_trust_case_list_grp_sea_btn_search_onclick"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 885 7 891 29" anchor="default"/>
- <Static id="caption3" text="~" class="search_no_b" position="absolute 202 10 214 27" anchor="default"/>
- <Calendar id="ipt_prcptodd" taborder="6" class="input_search" position="absolute 215 7 321 26" anchor="default"/>
- <Calendar id="ipt_prcpfromdd" taborder="7" class="input_search" position="absolute 95 7 201 26" anchor="default"/>
- <Static id="caption4" text="등록번호 :" class="search_name" position="absolute 681 8 755 25" anchor="default"/>
- <Static id="caption5" text="요청기관 :" class="search_name" position="absolute 381 10 455 27" anchor="default"/>
- <Combo id="combo1" taborder="8" innerdataset="ds_init_combo1" codecolumn="cdid" datacolumn="cdnm" position="absolute 464 8 619 27" anchor="default"/>
- <Edit id="input1" taborder="9" position="absolute 773 8 873 27" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="수탁검사목록" class="tit_2" position="absolute 8 50 113 66" anchor="default"/>
- <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 5 66 979 72" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_single" text="개별수탁검사" onsetfocus="grp_biz_swt_trust_case_single_onsetfocus">
- <Layouts>
- <Layout>
- <Static id="caption6" text="환자정보" class="tit_2" position="absolute 10 5 171 19" anchor="default"/>
- <Shape id="line2" linetype="horizontal" class="line_1" position="absolute 5 21 979 27" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Combo id="cmb_exlabcd" taborder="26" innerdataset="ds_init_cmb_exlabcd" codecolumn="coophospcd" datacolumn="coophospnm" class="combo_default" position="absolute 74 26 190 45" anchor="default"/>
- <Static id="caption11" text="-" class="text_center" position="absolute 626 26 646 46" anchor="default"/>
- <Static id="caption13" text="비 고" class="cell_1" position="absolute 514 49 574 72" anchor="default"/>
- <Shape id="line4" linetype="horizontal" class="line_1" position="absolute 5 97 210 103" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="caption14" text="처방분류" class="tit_2" position="absolute 10 81 171 95" anchor="default"/>
- <Grid id="trv_prcpkind" taborder="27" useinputpanel="false" treeusecheckbox="false" position="absolute 5 101 210 469" autofit="col" anchor="default" binddataset="ds_prcpkindlist" autofittype="col" oncellclick="grp_biz_swt_trust_case_single_trv_prcpkind_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="143"/>
- </Columns>
- <Rows>
- <Row size="24"/>
- </Rows>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:earnclsnm" treelevel="bind:lvl"/>
- <Cell col="4" displaytype="normal" text="bind:earnclsnm"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Static id="caption15" text="처방명 목록" class="tit_2" position="absolute 218 81 379 94" anchor="default"/>
- <Shape id="line5" linetype="horizontal" class="line_1" position="absolute 213 97 433 103" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="grd_testcdlist" taborder="28" binddataset="ds_grd_testcdlist" useinputpanel="false" position="absolute 213 101 433 469" anchor="default" enable="true" autofittype="col" oncelldblclick="grp_biz_swt_trust_case_single_grd_testcdlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal" text="instcd"/>
- <Cell col="1" displaytype="normal" text="testcd"/>
- <Cell col="2" displaytype="normal" text="testengnm"/>
- <Cell col="3" displaytype="normal" text="testengabbr"/>
- <Cell col="4" displaytype="normal" text="처방명"/>
- <Cell col="5" displaytype="normal" text="testhngabbr"/>
- <Cell col="6" displaytype="normal" text="acptdept"/>
- <Cell col="7" displaytype="normal" text="ptnocd"/>
- <Cell col="8" displaytype="normal" text="stdyptnocd"/>
- <Cell col="9" displaytype="normal" text="trustptnocd"/>
- <Cell col="10" displaytype="normal" text="workflagcd"/>
- <Cell col="11" displaytype="normal" text="slidflagcd"/>
- <Cell col="12" displaytype="normal" text="slidisscnt"/>
- <Cell col="13" displaytype="normal" text="blocflagcd"/>
- <Cell col="14" displaytype="normal" text="initblocno"/>
- <Cell col="15" displaytype="normal" text="autokeepflagcd"/>
- <Cell col="16" displaytype="normal" text="stdy_workflagcd"/>
- <Cell col="17" displaytype="normal" text="stdy_slidflagcd"/>
- <Cell col="18" displaytype="normal" text="stdy_slidisscnt"/>
- <Cell col="19" displaytype="normal" text="stdy_blocflagcd"/>
- <Cell col="20" displaytype="normal" text="stdy_initblocno"/>
- <Cell col="21" displaytype="normal" text="stdy_autokeepflagcd"/>
- </Band>
- <Band id="body">
- <Cell displaytype="normal" text="bind:instcd"/>
- <Cell col="1" displaytype="normal" text="bind:testcd"/>
- <Cell col="2" displaytype="normal" text="bind:testengnm"/>
- <Cell col="3" displaytype="normal" text="bind:testengabbr"/>
- <Cell col="4" displaytype="normal" style="align:left middle;" text="bind:testhngnm"/>
- <Cell col="5" displaytype="normal" text="bind:testhngabbr"/>
- <Cell col="6" displaytype="normal" text="bind:acptdept"/>
- <Cell col="7" displaytype="normal" text="bind:ptnocd"/>
- <Cell col="8" displaytype="normal" text="bind:stdyptnocd"/>
- <Cell col="9" displaytype="normal" text="bind:trustptnocd"/>
- <Cell col="10" displaytype="normal" text="bind:workflagcd"/>
- <Cell col="11" displaytype="normal" text="bind:slidflagcd"/>
- <Cell col="12" displaytype="normal" text="bind:slidisscnt"/>
- <Cell col="13" displaytype="normal" text="bind:blocflagcd"/>
- <Cell col="14" displaytype="normal" text="bind:initblocno"/>
- <Cell col="15" displaytype="normal" text="bind:autokeepflagcd"/>
- <Cell col="16" displaytype="normal" text="bind:stdy_workflagcd"/>
- <Cell col="17" displaytype="normal" text="bind:stdy_slidflagcd"/>
- <Cell col="18" displaytype="normal" text="bind:stdy_slidisscnt"/>
- <Cell col="19" displaytype="normal" text="bind:stdy_blocflagcd"/>
- <Cell col="20" displaytype="normal" text="bind:stdy_initblocno"/>
- <Cell col="21" displaytype="normal" text="bind:stdy_autokeepflagcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption16" text="대표검체 목록" class="tit_2" position="absolute 441 81 602 94" anchor="default"/>
- <Shape id="line7" linetype="horizontal" class="line_1" position="absolute 436 97 656 103" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="grd_spclist" taborder="29" binddataset="ds_grd_spclist" useinputpanel="false" position="absolute 436 101 656 469" anchor="default" oncellclick="grp_biz_swt_trust_case_single_grd_spclist_oncellclick" autofittype="col" oncelldblclick="grp_biz_swt_trust_case_single_grd_spclist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1" text="처방코드"/>
- <Cell col="2" text="처방명"/>
- <Cell col="3" text="검체코드"/>
- <Cell col="4" text="검체명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:testcd"/>
- <Cell col="2" text="bind:testhngnm"/>
- <Cell col="3" text="bind:spccd"/>
- <Cell col="4" style="align:left middle;" text="bind:spcnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_choiprcp" taborder="30" binddataset="ds_grd_choiprcp" useinputpanel="false" position="absolute 659 101 979 469" anchor="default" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="156"/>
- <Column size="0"/>
- <Column size="140"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1" text="처방코드"/>
- <Cell col="2" text="처방명"/>
- <Cell col="3" text="처방명"/>
- <Cell col="4" text="검체코드"/>
- <Cell col="5" text="검체명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:testcd"/>
- <Cell col="2" text="bind:testhngnm"/>
- <Cell col="3" text="bind:testengnm"/>
- <Cell col="4" text="bind:spccd"/>
- <Cell col="5" text="bind:spcnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption17" text="선택 처방 및 검체" class="tit_2" position="absolute 664 81 825 95" anchor="default"/>
- <Shape id="line8" linetype="horizontal" class="line_1" position="absolute 659 97 979 103" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Static id="cap_exlabcd" text="위탁기관" class="cell_1" position="absolute 5 25 71 48" anchor="default"/>
- <Edit id="ipt_patnm" taborder="31" position="absolute 411 26 490 45" anchor="default"/>
- <Static id="cap_patnm" text="환자명" class="cell_1" position="absolute 348 25 408 48" anchor="default"/>
- <MaskEdit id="ipt_rrgstno1" taborder="32" mask="999999" position="absolute 577 26 622 45" anchor="default"/>
- <MaskEdit id="ipt_rrgstno2" taborder="33" mask="9999999" position="absolute 639 26 689 45" anchor="default"/>
- <Edit id="ipt_psptno" taborder="34" position="absolute 778 26 978 45" anchor="default"/>
- <Static id="cap_psptno" text="여권번호" class="cell_1" position="absolute 711 24 775 47" anchor="default"/>
- <MaskEdit id="ipt_age" taborder="35" mask="####" position="absolute 74 50 107 69" anchor="default"/>
- <Static id="cap_sexage" text="나이/성별" class="cell_1" position="absolute 5 49 71 72" anchor="default"/>
- <Combo id="cmb_sex" taborder="36" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 110 50 170 69" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">M</Col>
- <Col id="datacolumn">남성</Col>
- </Row>
- <Row>
- <Col id="codecolumn">F</Col>
- <Col id="datacolumn">여성</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static id="cap_rrgstno1" text="주민번호" class="cell_1" position="absolute 514 25 574 48" anchor="default"/>
- <Static id="caption7" text="등록번호" class="cell_1" position="absolute 193 25 253 48" anchor="default"/>
- <Button id="btn_pidsea" taborder="37" class="icon_search" position="absolute 329 26 345 42" anchor="default" onclick="grp_biz_swt_trust_case_single_btn_pidsea_onclick"/>
- <Button id="btn_patnmsea" taborder="38" class="icon_search" position="absolute 493 26 509 42" anchor="default" onclick="grp_biz_swt_trust_case_single_btn_patnmsea_onclick"/>
- <Button id="btn_rrgstnosea" taborder="39" class="icon_search" position="absolute 692 26 708 42" anchor="default" onclick="grp_biz_swt_trust_case_single_btn_rrgstnosea_onclick"/>
- <Static id="caption8" text="접수대상 환자목록" class="tit_2" position="absolute 10 476 171 490" anchor="default"/>
- <Shape id="line9" linetype="horizontal" class="line_1" position="absolute 5 492 979 498" anchor="default" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="grd_acptpatlist" taborder="40" binddataset="ds_grd_acptpatlist" useinputpanel="false" position="absolute 5 496 979 619" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="21"/>
- <Column size="144"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="110"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="121"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="200"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="기관코드"/>
- <Cell col="1" text="요청기관코드"/>
- <Cell col="2"/>
- <Cell col="3" text="요청기관"/>
- <Cell col="4" text="등록번호"/>
- <Cell col="5" text="환자명"/>
- <Cell col="6" text="sex"/>
- <Cell col="7" text="age"/>
- <Cell col="8" text="성별/나이"/>
- <Cell col="9" text="적용율"/>
- <Cell col="10" text="rrgstno1"/>
- <Cell col="11" text="rrgstno2"/>
- <Cell col="12" text="주민번호"/>
- <Cell col="13" text="여권번호"/>
- <Cell col="14" text="위탁환자번호"/>
- <Cell col="15" text="비 고"/>
- <Cell col="16" text="caption1"/>
- <Cell col="17" text="caption2"/>
- <Cell col="18" text="caption3"/>
- <Cell col="19" text="caption4"/>
- <Cell col="20" text="미수코드"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:exlabcd"/>
- <Cell col="2" expr="expr:currow+1"/>
- <Cell col="3" text="bind:exlabnm"/>
- <Cell col="4" text="bind:pid"/>
- <Cell col="5" text="bind:patnm"/>
- <Cell col="6" text="bind:sex"/>
- <Cell col="7" text="bind:age"/>
- <Cell col="8" text="bind:sexage"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:suppkind" combodataset="ds_suppkind" combocodecol="value" combodatacol="label"/>
- <Cell col="10" text="bind:rrgstno1"/>
- <Cell col="11" text="bind:rrgstno2"/>
- <Cell col="12" text="bind:rrgstno"/>
- <Cell col="13" text="bind:psptno"/>
- <Cell col="14" text="bind:trusthosppid"/>
- <Cell col="15" text="bind:bigo"/>
- <Cell col="16" text="bind:bizflagcd"/>
- <Cell col="17" text="bind:orddrid"/>
- <Cell col="18" text="bind:orddeptcd"/>
- <Cell col="19" text="bind:grostestplgyid"/>
- <Cell col="20" text="bind:uncocd"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Button id="btn_cffm" taborder="41" text="임시저장" class="btn2" position="absolute 915 0 979 19" anchor="default" onclick="grp_biz_swt_trust_case_single_btn_cffm_onclick"/>
- <Grid id="grd_trustpatlist" taborder="42" binddataset="ds_grd_trustpatlist" useinputpanel="false" visible="false" position="absolute 670 435 965 500" anchor="default">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="exlabcd"/>
- <Cell col="1" text="patnm"/>
- <Cell col="2" text="sex"/>
- <Cell col="3" text="age"/>
- <Cell col="4" text="rrgstno1"/>
- <Cell col="5" text="rrgstno2"/>
- <Cell col="6" text="psptno"/>
- <Cell col="7" text="bigo"/>
- <Cell col="8" text="suppkind"/>
- <Cell col="9" text="trusthosppid"/>
- </Band>
- <Band id="body">
- <Cell text="bind:exlabcd"/>
- <Cell col="1" text="bind:patnm"/>
- <Cell col="2" text="bind:sex"/>
- <Cell col="3" text="bind:age"/>
- <Cell col="4" text="bind:rrgstno1"/>
- <Cell col="5" text="bind:rrgstno2"/>
- <Cell col="6" text="bind:psptno"/>
- <Cell col="7" text="bind:bigo"/>
- <Cell col="8" text="bind:suppkind"/>
- <Cell col="9" text="bind:trusthosppid"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit id="ipt_bigo" taborder="43" position="absolute 577 50 979 69" anchor="default"/>
- <Static id="caption9" text="적용율" class="cell_1" position="absolute 173 49 233 72" anchor="default"/>
- <Shape id="line6" linetype="horizontal" class="line_3" position="absolute 5 69 979 75" anchor="default"/>
- <Combo id="cmb_suppkind" taborder="44" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 236 50 345 69" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">12</Col>
- <Col id="datacolumn">수탁</Col>
- </Row>
- <Row>
- <Col id="codecolumn">13</Col>
- <Col id="datacolumn">30%가산안함</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Edit id="ipt_pid" taborder="45" enable="false" position="absolute 256 26 326 45" anchor="default"/>
- <Shape id="line3" linetype="vertical" class="line_2" position="absolute 5 44 979 50" anchor="default"/>
- <Static id="caption10" text="위탁환자번호" class="cell_1" position="absolute 348 49 426 72" anchor="default" style="padding:0 0 0 2;align:left middle;"/>
- <Edit id="ipt_trusthosppid" taborder="46" position="absolute 430 51 509 70" anchor="default"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_cmb_exlabcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="coophospnm" type="STRING"/>
- <Column id="coophospcd" type="STRING"/>
- <Column id="Column0" type="STRING" size="256"/>
- <Column id="Column1" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_testcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testengnm" type="STRING"/>
- <Column id="testengabbr" type="STRING"/>
- <Column id="testhngnm" type="STRING"/>
- <Column id="testhngabbr" type="STRING"/>
- <Column id="acptdept" type="STRING"/>
- <Column id="ptnocd" type="STRING"/>
- <Column id="stdyptnocd" type="STRING"/>
- <Column id="trustptnocd" type="STRING"/>
- <Column id="workflagcd" type="STRING"/>
- <Column id="slidflagcd" type="STRING"/>
- <Column id="slidisscnt" type="STRING"/>
- <Column id="blocflagcd" type="STRING"/>
- <Column id="initblocno" type="STRING"/>
- <Column id="autokeepflagcd" type="STRING"/>
- <Column id="stdy_workflagcd" type="STRING"/>
- <Column id="stdy_slidflagcd" type="STRING"/>
- <Column id="stdy_slidisscnt" type="STRING"/>
- <Column id="stdy_blocflagcd" type="STRING"/>
- <Column id="stdy_initblocno" type="STRING"/>
- <Column id="stdy_autokeepflagcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_spclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testhngnm" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_choiprcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testhngnm" type="STRING"/>
- <Column id="testengnm" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_acptpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING"/>
- <Column id="exlabcd" type="STRING"/>
- <Column id="exlabnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="sexage" type="STRING"/>
- <Column id="suppkind" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="rrgstno" type="STRING"/>
- <Column id="psptno" type="STRING"/>
- <Column id="trusthosppid" type="STRING"/>
- <Column id="bigo" type="STRING"/>
- <Column id="bizflagcd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="uncocd" type="STRING"/>
- <Column id="grotestsplgyid" type="STRING" size="0"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_trustpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="exlabcd" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="psptno" type="STRING"/>
- <Column id="bigo" type="STRING"/>
- <Column id="suppkind" type="STRING"/>
- <Column id="trusthosppid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_trustlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="choi" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="reqinstcd" type="STRING"/>
- <Column id="reqinstnm" type="STRING"/>
- <Column id="reqdd" type="STRING"/>
- <Column id="reqtm" type="STRING"/>
- <Column id="bcno" type="STRING"/>
- <Column id="workno" type="STRING"/>
- <Column id="reqpid" type="STRING"/>
- <Column id="patnm" type="STRING"/>
- <Column id="sexage" type="STRING"/>
- <Column id="rrgstno" type="STRING"/>
- <Column id="rrgstno1" type="STRING"/>
- <Column id="rrgstno2" type="STRING"/>
- <Column id="psptno" type="STRING"/>
- <Column id="testcd" type="STRING"/>
- <Column id="testnm" type="STRING"/>
- <Column id="spccd" type="STRING"/>
- <Column id="spcnm" type="STRING"/>
- <Column id="reqfrmno" type="STRING"/>
- <Column id="reqfrmflagcd" type="STRING"/>
- <Column id="reqcnts" type="STRING"/>
- <Column id="reqnm" type="STRING"/>
- <Column id="cnfmdd" type="STRING"/>
- <Column id="cnfmtm" type="STRING"/>
- <Column id="cnfmnm" type="STRING"/>
- <Column id="acptstatcd" type="STRING"/>
- <Column id="bizflagcd" type="STRING"/>
- <Column id="orddrid" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="grostestplgyid" type="STRING"/>
- <Column id="newreqcnts" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_cmb_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="usernm" type="STRING"/>
- <Column id="userid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hospenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="lendrtnterm" type="STRING" size="256" sumtext="대출반환기간"/>
- <Column id="recvqualmthdcd" type="STRING" size="256" sumtext="수신확인방법"/>
- <Column id="plgydeptcd" type="STRING" size="256" sumtext="병리과"/>
- <Column id="plgyteamcd" type="STRING" size="256" sumtext="병리팀"/>
- <Column id="doctjobgradcd" type="STRING" size="256" sumtext="병리의사직급코드"/>
- <Column id="teamjobgradcd" type="STRING" size="256" sumtext="레지던트직급코드"/>
- <Column id="csteeqmtip" type="STRING" size="256" sumtext="Cassette장비IP"/>
- <Column id="csteeqmtport" type="STRING" size="256" sumtext="Cassette장비Port"/>
- <Column id="slideqmtip" type="STRING" size="256" sumtext="슬라이드장비IP"/>
- <Column id="norcptacptyn" type="STRING" size="256" sumtext="외래미수납접수여부"/>
- <Column id="slidbceqmtip" type="STRING" size="256" sumtext="슬라이드(라벨지)장비IP"/>
- <Column id="acptreaddr" type="STRING" size="256" sumtext="접수시점판독의지정여부"/>
- <Column id="slidbceqmtip2" type="STRING" size="256" sumtext="슬라이드(라벨지)장비IP2"/>
- <Column id="slidbceqmtport2" type="STRING" size="256" sumtext="슬라이드(라벨지)장비Port2"/>
- <Column id="repttitl" type="STRING" size="256" sumtext="보고서제목"/>
- <Column id="repttitl2" type="STRING" size="256" sumtext="자문의뢰제목"/>
- <Column id="plgyrecroom1" type="STRING" size="256" sumtext="병리과기록실1"/>
- <Column id="plgyrecroom2" type="STRING" size="256" sumtext="병리과기록실2"/>
- <Column id="ptnoacptflag" type="STRING" size="256" sumtext="병리번호접수구분"/>
- <Column id="autoacptflagcd" type="STRING" size="256" sumtext="자동접수구분"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="sysdd" type="STRING" size="256"/>
- <Column id="systm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_prcpkindlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="lvl" type="STRING" size="256" sumtext="Level"/>
- <Column id="earncls1" type="STRING" size="256" sumtext="수익분류1"/>
- <Column id="earncls2" type="STRING" size="256" sumtext="수익분류2"/>
- <Column id="earncls3" type="STRING" size="256" sumtext="수익분류3"/>
- <Column id="earnclsnm" type="STRING" size="256" sumtext="수익분류명"/>
- <Column id="earnclskey" type="STRING" size="256" sumtext="수익분류Key"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_coophosplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="coophospcd" type="STRING" size="256" sumtext="요청기관코드"/>
- <Column id="coophospnm" type="STRING" size="256" sumtext="요청기관명"/>
- <Column id="uncocd" type="STRING" size="256" sumtext="요청일자"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="coophospcd">00</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="jobkindcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="choi" type="STRING" size="256" sumtext="선택"/>
- <Column id="dutplceinstcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
- <Column id="usernm" type="STRING" size="256" sumtext="사용자명"/>
- <Column id="jobkindcd" type="STRING" size="256" sumtext="직종구분코드"/>
- <Column id="userabbr" type="STRING" size="256" sumtext="직종구분코드"/>
- <Column id="mpphonno" type="STRING" size="256" sumtext="직종구분코드"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpdrid" type="STRING" size="256"/>
- <Column id="reqfromdd" type="STRING" size="256"/>
- <Column id="reqtodd" type="STRING" size="256"/>
- <Column id="reqpid" type="STRING" size="256"/>
- <Column id="reqinstcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfocnts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="exlabcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="psptno" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="bigo" type="STRING" size="256"/>
- <Column id="suppkind" type="STRING" size="256"/>
- <Column id="uncocd" type="STRING" size="256"/>
- <Column id="trusthosppid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_lastpage" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lastpage" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows/>
- </Dataset>
- <Dataset id="ds_suppkind" 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">수탁</Col>
- <Col id="value">12</Col>
- </Row>
- <Row>
- <Col id="label">30%가산안함</Col>
- <Col id="value">13</Col>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.swt_trust.case_list.grp_sea.ipt_prcpfromdd" propid="value" datasetid="ds_init" columnid="reqfromdd"/>
- <BindItem id="item1" compid="grp_biz.swt_trust.case_list.grp_sea.ipt_prcptodd" propid="value" datasetid="ds_init" columnid="reqtodd"/>
- <BindItem id="item2" compid="grp_biz.swt_trust.case_list.grp_sea.combo1" propid="value" datasetid="ds_init" columnid="reqinstcd"/>
- <BindItem id="item3" compid="grp_biz.swt_trust.case_list.grp_sea.input1" propid="value" datasetid="ds_init" columnid="reqpid"/>
- <BindItem id="item4" compid="grp_biz.cmb_orddrid" propid="value" datasetid="ds_init" columnid="prcpdrid"/>
- <BindItem id="item5" compid="grp_biz.swt_trust.case_single.ipt_psptno" propid="value" datasetid="ds_patinfocnts" columnid="psptno"/>
- <BindItem id="item6" compid="grp_biz.swt_trust.case_single.ipt_bigo" propid="value" datasetid="ds_patinfocnts"/>
- <BindItem id="item7" compid="grp_biz.swt_trust.case_single.ipt_rrgstno2" propid="value" datasetid="ds_patinfocnts" columnid="rrgstno2"/>
- <BindItem id="item8" compid="grp_biz.swt_trust.case_single.ipt_rrgstno1" propid="value" datasetid="ds_patinfocnts" columnid="rrgstno1"/>
- <BindItem id="item9" compid="grp_biz.swt_trust.case_single.ipt_trusthosppid" propid="value" datasetid="ds_patinfocnts" columnid="trusthosppid"/>
- <BindItem id="item10" compid="grp_biz.swt_trust.case_single.ipt_patnm" propid="value" datasetid="ds_patinfocnts" columnid="patnm"/>
- <BindItem id="item11" compid="grp_biz.swt_trust.case_single.ipt_pid" propid="value" datasetid="ds_patinfocnts" columnid="pid"/>
- <BindItem id="item12" compid="grp_biz.swt_trust.case_single.cmb_suppkind" propid="value" datasetid="ds_patinfocnts" columnid="suppkind"/>
- <BindItem id="item13" compid="grp_biz.swt_trust.case_single.cmb_sex" propid="value" datasetid="ds_patinfocnts" columnid="sex"/>
- <BindItem id="item14" compid="grp_biz.swt_trust.case_single.ipt_age" propid="value" datasetid="ds_patinfocnts" columnid="age"/>
- <BindItem id="item15" compid="grp_biz.swt_trust.case_single.cmb_exlabcd" propid="value" datasetid="ds_patinfocnts" columnid="exlabcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LPZ001.xjs";
- function SPLPJ02300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPLPJ02300_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grp_biz.swt_trust.case_list.grd_trustlist);
- grdf_initGrid(grp_biz.swt_trust.case_single.trv_prcpkind);
- grdf_initGrid(grp_biz.swt_trust.case_single.grd_testcdlist);
- grdf_initGrid(grp_biz.swt_trust.case_single.grd_spclist);
- grdf_initGrid(grp_biz.swt_trust.case_single.grd_choiprcp);
- grdf_initGrid(grp_biz.swt_trust.case_single.grd_trustpatlist);
- grdf_initGrid(grp_biz.swt_trust.case_single.grd_acptpatlist);
- fExeInitialize();
- }
- function fExeInitialize()
- {
- //------------------------
- // model.toggle("case_list");
- // btn_trustlist.selected = true;
- // model.removeNodeset("/root/main/trusttest/trusttestlist");
- // model.removeNodeset("/root/init/prcpcd/prcpcdlist");
- // model.removeNodeset("/root/init/testinfo/testinfolist");
- // model.removeNodeset("/root/main/choiprcp/choiprcplist");
- // model.removeNodeset("/root/main/acptpat/acptpatlist");
-
- //----------------
- // 시스템일자 조회
- // model.removeNodeset("/root/send");
- // model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}
- ,{col: "deptflagcd", val: "1"}]);
-
- // model.makeValue("/root/send/deptflagcd", "1"); // 0:진단검사, 1:병리과
- // submit("TRLPZ00101", false);
- var oParam = {};
- oParam.id = "TRLPZ00101";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetHospitalEnvironmentSetInfo";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_hospenvinfo=hospenvinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00101";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRLPZ00102";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetSystemDateTimeInformation";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00102";
- tranf_submit(oParam);
-
- // submit("TRLPZ00102", false);
- // submit("TRLPJ01001", false);
- var oParam = {};
- oParam.id = "TRLPJ01001";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetPrcpKindList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_prcpkindlist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ01001";
- tranf_submit(oParam);
- // submit("TRLPJ02302", false);
- dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}
- ,{col: "deptflagcd", val: "0"}]);
- var oParam = {};
- oParam.id = "TRLPJ02302";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetCoopHospList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_coophosplist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ02302";
- tranf_submit(oParam);
- //lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/init/userinfo");
- lpzfUserDeptCd(ds_hospenvinfo, ds_init_userinfo);
-
- //model.makeValue("/root/send/userdeptcd", model.getValue("/root/init/userinfo/userdeptcd"));
- //model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
- //model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
- var userdeptcd = sysf_getUserInfo("dutplcecd");
- dsf_createDsRow("ds_send", [{col: "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col: "userdeptcd", val : userdeptcd}
- ,{col: "doctjobgradcd", val : ds_hospenvinfo.getColumn(0, "doctjobgradcd")}
- ,{col: "teamjobgradcd", val : ds_hospenvinfo.getColumn(0, "teamjobgradcd")}]);
-
-
- //submit("TRLPZ00105", false);
- var oParam = {};
- oParam.id = "TRLPZ00105";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetUserInfoList";
- oParam.inds = "refdata=ds_send";
- oParam.outds = "ds_userinfolist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00105";
- tranf_submit(oParam);
- fdsf_createDsFilter("ds_doctor", "ds_userinfolist", "jobkindcd=='1'");
-
- grp_biz.cmb_orddrid.innerdataset = ds_doctor;
- grp_biz.cmb_orddrid.codecolumn = "userid";
- grp_biz.cmb_orddrid.datacolumn = "usernm";
- //model.makeValue("/root/send/codeflag", "0110|"); // 0110 외부기관
- //submit("TRLZZ00101");
-
- //-----------------------------------------------------------------------------------------------
- //zbcfGetCodeList(new Array("Z0007"), new Array("/root/init/instcdlist", "/root/init/instcdlist"));
-
- //------------
- // 초기값 설정
- //model.makeValue("/root/init/reqfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 요청일자(From)
- //model.makeValue("/root/init/reqtodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 요청일자(To)
- //model.makeValue("/root/init/reqpid", ""); // 요청등록번호
- //model.makeValue("/root/init/reqinstcd", ""); // 요청기관
- //model.makeValue("/root/init/prcpdrid", ""); // 병리과 처방의사
- ds_init.setColumn(0, "reqfromdd", ds_data_sysdtinfo.getColumn(0, "sysdd"));
- ds_init.setColumn(0, "reqtodd", ds_data_sysdtinfo.getColumn(0, "sysdd"));
- ds_init.setColumn(0, "reqpid", "");
- ds_init.setColumn(0, "reqinstcd", "");
- ds_init.setColumn(0, "prcpdrid", "");
-
- //model.makeValue("/root/main/patinfo/patinfocnts/suppkind", "13"); // 30% 가산안함
- ds_patinfocnts.setColumn(0, "suppkind", "13");
- //model.makeValue("/root/main/patinfo/patinfocnts/uncocd", ""); // 미수코드
- ds_patinfocnts.setColumn(0, "uncocd", "");
-
- //------------------------------------------
- //grd_trustlist.fixedcellcheckbox(0,0) = true;
-
- //--------------------
- //cmb_exlabcd.refresh();
- //model.refresh();
- }
- function fGetTrustTestList()
- {
- // //--------------------------------
- // model.removeNodeset("/root/send");
- // model.removeNodeset("/root/main/trusttest/trusttestlist");
- //
- //-----------------------------------------------------------------
- // model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- // model.makeValue("/root/send/deptflagcd", "P");
- // model.makeValue("/root/send/reqfromdd", model.getValue("/root/init/reqfromdd")); // 요청일자(From)
- // model.makeValue("/root/send/reqtodd", model.getValue("/root/init/reqtodd")); // 요청일자(To)
- // model.makeValue("/root/send/reqpid", model.getValue("/root/init/reqpid")); // 요청등록번호
- // model.makeValue("/root/send/reqinstcd", model.getValue("/root/init/reqinstcd")); // 요청기관
- dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "deptflagcd", val : "P"}
- ,{col : "reqfromdd", val : ds_init.getColumn(0, "reqfromdd")}
- ,{col : "reqtodd", val : ds_init.getColumn(0, "reqtodd")}
- ,{col : "reqpid", val : ds_init.getColumn(0, "reqpid")}
- ,{col : "reqinstcd", val : ds_init.getColumn(0, "reqinstcd")}]);
-
- //-------------------
- //submit("TRLPJ02301");
- var oParam = {};
- oParam.id = "TRLPJ02301";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetTrustTestList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_trustlist=refrslt";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ02301";
- tranf_submit(oParam);
- }
- function fExeTrustChange(pBizFlagCd)
- {
- if (pBizFlagCd == "1")
- {
- grp_btn.btn_acpt.visible = true;
- grp_btn.btn_prcp.visible = false;
- grp_btn.btn_patlistread.visible = false;
- }
- else
- {
- grp_btn.btn_acpt.visible = true;
- grp_btn.btn_prcp.visible = false;
- grp_btn.btn_patlistread.visible = false;
- }
- }
- function fExePrcpKindClick()
- {
- var sEarnCls1 = "";
- var sEarnCls2 = "";
- var sEarnCls3 = "";
-
- //var item = trv_prcpkind.item(trv_prcpkind.selectedIndex);
- var indx = ds_prcpkindlist.rowposition;
- //-------------------------------
- // 최하위 노드를 선택할 경우 처리
- //if (item.depth == 2)
- if (grp_biz.swt_trust.case_single.trv_prcpkind.isTreeLeafRow(indx) == true ) // 최종 노드를 클릭했을때만 적용되도록 함.
- {
- //sEarnCls1 = trv_prcpkind.item(trv_prcpkind.selectedIndex).value;
- //var prcpclscd = ds_prcpclscdlist.getColumn(indx,"prcpclscd");
- sEarnCls1 = ds_prcpkindlist.getColumn(indx, "earnclskey");
- //--------------
- // 처방분류 분리
- sEarnCls3 = sEarnCls1.substr(5,2);
- sEarnCls2 = sEarnCls1.substr(3,2);
- sEarnCls1 = sEarnCls1.substr(1,2);
-
- //--------------------------------
- // model.removeNodeset("/root/send");
- // model.removeNodeset("/root/init/prcpcd/prcpcdlist");
- // model.removeNodeset("/root/init/testinfo/testinfolist");
- ds_send.clear();
- //
- //----------------------------------------------------------------------
- // model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- // model.makeValue("/root/send/earncls1", sEarnCls1);
- // model.makeValue("/root/send/earncls2", sEarnCls2);
- // model.makeValue("/root/send/earncls3", sEarnCls3);
- // model.makeValue("/root/send/trustflagcd", "N");
- dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
- ,{col : "earncls1", val : sEarnCls1}
- ,{col : "earncls2", val : sEarnCls2}
- ,{col : "earncls3", val : sEarnCls3}
- ,{col : "trustflagcd", val : "N"}
- ,{col : "bizflagcd", val : "0"}]);
- //-------------------
- //submit("TRLPJ01003");
- var oParam = {};
- oParam.id = "TRLPJ01003";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetPrcpCdList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_testcdlist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ01003";
- tranf_submit(oParam);
- }
- }
- function fExePrcpChoi()
- {
- var iFindRow = 0;
- var sSpcCd = "";
- //var sPrcpNode = "/root/init/prcpcd/prcpcdlist";
- var sPrcpNode = ds_grd_testcdlist;
- //var sSpcNode = "/root/init/testinfo/testinfolist";
- var sSpcNode = ds_grd_spclist;
-
- //------------------------------------------------------------------------------------------
- //if (grd_testcdlist.isCell(event.target) && grd_testcdlist.row >= grd_testcdlist.fixedRows)
-
- //{
- //---------------------
- // 선택된 검체코드 저장
- //if (getNodesetCount(sSpcNode) > 0)
- if(ds_grd_spclist.rowcount >= 0)
- {
- //if (grd_spclist.row > 0)
- if(ds_grd_spclist.rowposition >= 0)
- {
- //sSpcCd = model.getValue(sSpcNode+"["+grd_spclist.row+"]/spccd");
- sSpCd = ds_grd_spclist.getColumn(ds_grd_spclist.rowposition, "spccd");
- }
- }
- //--------------------------------
- //model.removeNodeset("/root/send");
- //model.resetInstanceNode("/root/init/testinfo/testinfolist");
-
- //-------------------------------------------
- dsf_createDsRow("ds_send", [{col: "delflagcd", val: "0"} // 조회조건 사용여부구분
- ,{col: "refflagcd", val: "1"} // 조회구분
- ,{col: "refval", val: ds_grd_spclist.getColumn(ds_grd_spclist.rowposition, "testcd")}// 조회값
- ,{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}// 기관코드
- ,{col: "itemlimit", val: "5000"} // 최대건수
- ,{col: "page", val: "1"}]); // 페이지번호
- // model.makeValue("/root/send/delflagcd", "0");
- // model.makeValue("/root/send/refflagcd", "1");
- // model.makeValue("/root/send/refval", model.getValue(sPrcpNode+"["+grd_testcdlist.row+"]/testcd"));
- // model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
- // model.makeValue("/root/send/itemlimit", "5000");
- // model.makeValue("/root/send/page", "1");
- //-------------------
- //submit("TRLPC00701");
- var oParam = {};
- oParam.id = "TRLPC00701";
- oParam.service = "plgybaseinfomngtapp.TestInfo";
- oParam.method = "reqGetTestInfoList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_grd_spclist=refrslt ds_lastpage=lastpage";
- oParam.async = false;
- //oParam.callback = "cf_TRLPC00701";
- tranf_submit(oParam);
-
- //--------------------------------------------
- // 저장된 검체와 같은 검체를 검색하여 자동선택
- //if (getNodesetCount(sSpcNode) > 0)
- if(ds_grd_spclist.rowcount >= 0)
- {
- //-----------------
- if ( !utlf_isNull(sSpcCd))
- {
-
- //---------------------------------------------------------
- //var irow = datagrid1.findRow(rgstdd, 1, datagrid1.colRef("rgstdd"), false, false);
- //var irow = ds_datagrid1.findRow(rgstdd, 1, ds_datagrid1.setColumn(0, "rgstdd"), 1, 1);
- //iFindRow = grd_spclist.findRow(sSpcCd, 1, 3, false, false);
- iFindRow = ds_grd_spclist.findRow(sSpcCd, 1, ds_grd_spclist.setColumn(0, "spcnm"), 1,1);
- //-----------------
- if (iFindRow >= 0)
- {
- //grd_spclist.select(iFindRow, 0) = true;
- grd_spclist.row = iFindRow;
-
- //------------
- fExePrcpAdd();
- }
- }
- }
- //}
- }
- //선택된 처방 추가 처리
- function fExePrcpAdd()
- {
- var iMaxRowNo = 0;
- //var sSrcNode = "/root/main/choiprcp/choiprcplist";
- var sSrcNode = ds_grd_choiprcp;
-
- //--------------------
- //grp_biz.swt_trust.case_single.grd_choiprcp
- ds_grd_choiprcp.addRow();
- //iMaxRowNo = getNodesetCount(sSrcNode);
- iMaxRowNo = ds_grd_choiprcp.rowposition;
-
- //----------------------------------------------------------------------------------
- // model.makeValue(sSrcNode+"["+iMaxRowNo+"]/instcd", getUserInfo("dutplceinstcd"));
- // model.makeValue(sSrcNode+"["+iMaxRowNo+"]/testcd", model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/testcd"));
- // model.makeValue(sSrcNode+"["+iMaxRowNo+"]/testhngnm", model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/testhngnm"));
- // model.makeValue(sSrcNode+"["+iMaxRowNo+"]/testengnm", model.getValue("/root/init/prcpcd/prcpcdlist["+grd_testcdlist.row+"]/testengnm"));
- // model.makeValue(sSrcNode+"["+iMaxRowNo+"]/spccd", model.getValue("/root/init/testinfo/testinfolist["+grd_spclist.row+"]/spccd"));
- // model.makeValue(sSrcNode+"["+iMaxRowNo+"]/spcnm", model.getValue("/root/init/testinfo/testinfolist["+grd_spclist.row+"]/spcnm"));
-
- ds_grd_choiprcp.setColumn(iMaxRowNo, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_grd_choiprcp.setColumn(iMaxRowNo, "testcd", ds_grd_testcdlist.getColumn(ds_grd_testcdlist.rowposition, "testcd"));
- ds_grd_choiprcp.setColumn(iMaxRowNo, "testhngnm", ds_grd_testcdlist.getColumn(ds_grd_testcdlist.rowposition, "testhngnm"));
- ds_grd_choiprcp.setColumn(iMaxRowNo, "testengnm", ds_grd_testcdlist.getColumn(ds_grd_testcdlist.rowposition, "testengnm"));
- ds_grd_choiprcp.setColumn(iMaxRowNo, "spccd", ds_grd_spclist.getColumn(ds_grd_spclist.rowposition, "spccd"));
- ds_grd_choiprcp.setColumn(iMaxRowNo, "spcnm", ds_grd_spclist.getColumn(ds_grd_spclist.rowposition, "spcnm"));
- }
- function fExeSpcChoi()
- {
- //---------------------------------------------------------------------------------
- //if (grd_spclist.isCell(event.target) && grd_spclist.row >= grd_spclist.fixedRows)
- //{
- fExePrcpAdd();
- //}
- }
- function fExePatTempSave()
- {
- //var sSrcNode = "/root/main/patinfo/patinfocnts";
- var sSrcNode = ds_patinfocnts;
- //var sDescNode = "/root/main/acptpat/acptpatlist";
- var sDescNode = ds_grd_acptpatlist;
- var iRowNo = 0;
- //------------------------------------------------------------
- //if (!isRequiredControls("cmb_orddrid", "ipt_trusthosppid"))
- //
- if( !frmf_isRequiredControls(new Array("grp_biz.cmb_orddrid","grp_biz.swt_trust.case_single.ipt_trusthosppid")))
- {
- return false;
- }
-
- //-----------------------
- ds_grd_acptpatlist.addRow();
- //iRowNo = Number(getNodesetCount(sDescNode));
- iRowNo = Number(ds_grd_acptpatlist.rowposition);
-
- //-------------------------------------------------------------------------------------
- // model.makeValue(sDescNode+"["+iRowNo+"]/instcd", getUserInfo("dutplceinstcd"));
- ds_grd_acptpatlist.setColumn(iRowNo, "instcd", sysf_getUserInfo("dutplceinstcd"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/exlabcd", model.getValue(sSrcNode+"/exlabcd"));
- ds_grd_acptpatlist.setColumn(iRowNo, "exlabcd", ds_patinfocnts.getColumn(0, "exlabcd"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/exlabnm", model.getValue("/root/init/coophosp/coophosplist[coophospcd='"+model.getValue(sSrcNode+"/exlabcd")+"']/coophospnm"));
- ds_grd_acptpatlist.setColumn(iRowNo, "exlabnm", ds_coophosplist.getColumn(ds_patinfocnts.getColumn(0, "exlabcd", "coophospnm")));
- // model.makeValue(sDescNode+"["+iRowNo+"]/pid", model.getValue(sSrcNode+"/pid"));
- ds_grd_acptpatlist.setColumn(iRowNo, "pid", ds_patinfocnts.getColumn(0, "pid"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/patnm", model.getValue(sSrcNode+"/patnm"));
- ds_grd_acptpatlist.setColumn(iRowNo, "patnm", ds_patinfocnts.getColumn(0, "patnm"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/sex", model.getValue(sSrcNode+"/sex"));
- ds_grd_acptpatlist.setColumn(iRowNo, "sex", ds_patinfocnts.getColumn(0, "sex"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/age", model.getValue(sSrcNode+"/age"));
- ds_grd_acptpatlist.setColumn(iRowNo, "age", ds_patinfocnts.getColumn(0, "age"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/sexage", model.getValue(sSrcNode+"/sex")+"/"+model.getValue(sSrcNode+"/age"));
- ds_grd_acptpatlist.setColumn(iRowNo, "sexage", grp_biz.swt_trust.case_single.cmb_sex.text+"/"+grp_biz.swt_trust.case_single.ipt_age.text);
- // model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno1", model.getValue(sSrcNode+"/rrgstno1"));
- ds_grd_acptpatlist.setColumn(iRowNo, "rrgstno1", ds_patinfocnts.getColumn(0, "rrgstno1"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno2", model.getValue(sSrcNode+"/rrgstno2"));
- ds_grd_acptpatlist.setColumn(iRowNo, "rrgstno2", ds_patinfocnts.getColumn(0, "rrgstno2"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno", model.getValue(sSrcNode+"/rrgstno1")+"-"+model.getValue(sSrcNode+"/rrgstno2"));
- ds_grd_acptpatlist.setColumn(iRowNo, "rrgstno", grp_biz.swt_trust.case_single.ipt_rrgstno1.text + "-" + grp_biz.swt_trust.case_single.ipt_rrgstno2.text);
- // model.makeValue(sDescNode+"["+iRowNo+"]/psptno", model.getValue(sSrcNode+"/psptno"));
- ds_grd_acptpatlist.setColumn(iRowNo, "psptno", ds_patinfocnts.getColumn(0, "psptno"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/bigo", model.getValue(sSrcNode+"/bigo"));
- ds_grd_acptpatlist.setColumn(iRowNo, "bigo", ds_patinfocnts.getColumn(0, "bigo"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/bizflagcd", "2");
- ds_grd_acptpatlist.setColumn(iRowNo, "bizflagcd", "2");
- // model.makeValue(sDescNode+"["+iRowNo+"]/orddrid", model.getValue("/root/init/prcpdrid"));
- ds_grd_acptpatlist.setColumn(iRowNo, "orddrid", ds_init.getColumn(0, "prcpdrid"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
- ds_grd_acptpatlist.setColumn(iRowNo, "orddeptcd", ds_hospenvinfo.getColumn(0, "plgydeptcd"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/grotestsplgyid", getUserInfo("userid"));
- ds_grd_acptpatlist.setColumn(iRowNo, "grotestsplgyid", sysf_getUserInfo("userid"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/suppkind", model.getValue(sSrcNode+"/suppkind"));
- ds_grd_acptpatlist.setColumn(iRowNo, "suppkind", ds_patinfocnts.getColumn(0, "suppkind"));
- //alert(ds_grd_acptpatlist.setColumn(iRowNo, "suppkind", ds_patinfocnts.getColumn(0, "suppkind")));
- // model.makeValue(sDescNode+"["+iRowNo+"]/uncocd", model.getValue(sSrcNode+"/uncocd"));
- ds_grd_acptpatlist.setColumn(iRowNo, "uncocd", ds_patinfocnts.getColumn(0, "uncocd"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/trusthosppid", model.getValue(sSrcNode+"/trusthosppid"));
- ds_grd_acptpatlist.setColumn(iRowNo, "trusthosppid", ds_patinfocnts.getColumn(0, "trusthosppid"));
- //
- //--------------
- }
- function fExePrcpSave(pBizFlagCd)
- {
- var sTemp = "";
- var bState = false;
- var sPtNo = "";
- //var sSrcNode1 = "/root/main/trusttest/trusttestlist";
- var sSrcNode1 = ds_grd_trustlist;
- //--------------------------------
- // 수탁검사목록을 접수할 경우 처리
- if (pBizFlagCd == "1")
- {
- //---------------------------------------
- if(!frmf_isRequiredControls(new Array("grp_biz.cmb_orddrid")))
- {
- return false;
- }
-
- //--------------------------
- //grd_trustlist.clearStatus();
- //model.resetInstanceNode("/root/main/patinfo/patinfocnts");
- //model.removeNodeset("/root/main/choiprcp/choiprcplist");
-
- //---------------------------------------------------------
- //for (var iNo=1; iNo <= getNodesetCount(sSrcNode1); iNo++)
- for(var iNo = 0; iNo <= ds_grd_trustlist.rowcount; iNo++)
- {
- //if (model.getValue(sSrcNode1+"["+iNo+"]/choi") == "true")
- if(ds_grd_trustlist.getColumn(iNo, "choi") == "1")
- {
- //-------------------------------------------------------------------------------
- //var sNode = instance1.selectSingleNode(sSrcNode1+"["+iNo+"]/reqcnts/reqfrminfo");
-
- //var sNode = instance1.selectSingleNode("/root/hidden/reqcntslist/trsttestlist["+ iRowNo +"]/reqcnts/reqfrminfo");
- //var sNode = ds_hidden_reqcntslist.getColumn(ds_hidden_reqcntslist.findRow(iRowNo, "reqfrminfo"));
- var sNode = ds_grd_trustlist.getColumn(iNo, "reqfrminfo");
-
- //---------------------------------------------------------
- //model.makeValue(sSrcNode1+"["+iNo+"]/bizflagcd", "1");
- ds_grd_trustlist.setColumn(iNo, "bizflagcd", "1");
- //model.makeValue(sSrcNode1+"["+iNo+"]/orddrid", model.getValue("/root/init/prcpdrid"));
- ds_grd_trustlist.setColumn(iNo, "orddrid", ds_init.getColumn(0, "prcpdrid"));
- //model.makeValue(sSrcNode1+"["+iNo+"]/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
- ds_grd_trustlist.setColumn(iNo, "orddeptcd", ds_hospenvinfo.getColumn(0, "plgydeptcd"));
- //model.makeValue(sSrcNode1+"["+iNo+"]/grotestsplgyid", getUserInfo("userid"));
- ds_grd_trustlist.setColumn(iNo, "grotestsplgyid", sysf_getUserInfo("userid"));
- //model.makeValue(sSrcNode1+"["+iNo+"]/newreqcnts", sNode.xml);
- ds_grd_trustlist.setColumn(iNo, "newreqcnts", sNode);
-
- //grd_trustlist.addStatus(iNo, "insert");
-
- var addRw = ds_grd_trustlist.rowposition;
- var arrPostion = new Array();
- arrPostion[0] = addRw;
- grdf_setStatus(grp_biz.swt_trust.case_list.grd_trustlist, "I", arrPostion);
- bState = true;
- }
- //-------------
- if (!bState)
- {
- sysf_messageBox("접수할 수탁검사를 ", "C002");
- return false;
- }
- }
- }
- else
- {
-
- //--------------------------------------
- if (!frmf_isRequiredControls("cmb_orddrid"))
- {
- return false;
- }
-
- //if (getNodesetCount("/root/main/acptpat/acptpatlist") <= 0)
- if(ds_grd_acptpatlist.rowcount <= 0)
- {
- sysf_messageBox("접수할 환자를 ", "C001");
- return false;
- }
-
- //--------------------------
- //grd_trustlist.clearStatus();
-
- //-------------------------------------------------------------
- //if (getNodesetCount("/root/main/choiprcp/choiprcplist") <= 0)
- if(ds_grd_choiprcp.rowcount <=0)
- {
- sysf_messageBox("처방등록할 수탁검사를 ", "C002");
- return false;
- }
- }
- //--------------------------------------------------------------------------------------
- // model.makeValue("/root/main/patinfo/patinfocnts/instcd", getUserInfo("dutplceinstcd"));
- // model.makeValue("/root/main/patinfo/patinfocnts/pid", "");
- dsf_createDsRow("ds_patinfocnts", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}
- ,{col: "pid", val: ""}]);
- //--------------------------------
- //model.removeNodeset("/root/send");
- ds_send.clearData();
- //model.makeNode("/root/send/patinfo");
- dsf_createDsRow("ds_send", [{col : "patinfo", val : ds_patinfocnts}
- ,{col : "choiprcplist", val : grdf_getGridUpdateData(grp_biz.swt_trust.case_single.grd_choiprcp, "insert")}
- ,{col : "patlist", val : grdf_getGridUpdateData(grp_biz.swt_trust.case_single.grd_acptpatlist,"insert")}
- ,{col : "trusttestlist", val : grdf_getGridUpdateData(grp_biz.swt_trust.case_list.grd_trustlist,"insert")}
- ,{col : "bizflagcd", val : pBizFlagCd}
- ,{col : "orddrid", val : ds_init.getColumn(0, "prcpdrid")}
- ,{col : "orddeptcd", val : ds_hospenvinfo.getColumn(0, "plgydeptcd")}
- ,{col : "grotestsplgyid", val : sysf_getUserInfo("userid")}]);
-
- //model.makeValue("/root/send/indate",grd_dracptlist.getupdatedataAll("i"));agetGridUpdateData(group3.grd_dracptlist),"replace");
- //copyNodesetType("/root/send/patinfo", "/root/main/patinfo/patinfocnts");
-
- //model.makeValue("/root/send/indate",grd_dracptlist.getupdatedataAll("i"));
- dsf_copyDs(ds_send_dracptlist,grdf_getGridUpdateData(group3.grd_dracptlist),"replace");
-
- //model.makeValue("/root/send/choiprcplist", grd_choiprcp.getUpdateDataAll("i"));
- dsf_copyDs(ds_send_choiprcplist, grdf_getGridUpdateData(grp_biz.swt_trust.case_single.grd_choiprcp),"replace");
- //model.makeValue("/root/send/patlist", grd_acptpatlist.getUpdateDataAll("i"));
- dsf_copyDs(ds_send.patlist, grdf_getGridUpdateData(grp_biz,swt_trust.case_single.grd_acptpatlist), "replace");
- //model.makeValue("/root/send/trusttestlist", grd_trustlist.getUpdateData());
- dsf_copyDs(ds_send.patlist, grdf_getGridUpdateData(grp_biz,swt_trust.case_single.grd_acptpatlist), "replace");
- //model.makeValue("/root/send/bizflagcd", pBizFlagCd);
- //model.makeValue("/root/send/orddrid", model.getValue("/root/init/prcpdrid"));
- //model.makeValue("/root/send/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
- //model.makeValue("/root/send/grotestsplgyid", getUserInfo("userid"));
-
- //----------
- //setAlertOn();
- //if (submit("TXLPJ02301"))
- // var oParam = {};
- // oParam.id = "TXLPJ02301";
- // oParam.service = "plgyacptmngtapp.SpecimenAccept";
- // oParam.method = "reqExeTrustAcpt";
- // oParam.inds = "patinfo=ds_ trusttestlist=ds_ choiprcplist=ds_ patlist=ds_";
- // oParam.outds = "ds_=acptlist ds_=acptrsltlist";
- // oParam.async = false;
- // oParam.callback = "cf_TXLPJ02301";
- //
- // tranf_submit(oParam);
- //
- // //----------------------------------------------------
- // model.removeNodeset("/root/main/acptpat/acptpatlist");
- // model.removeNodeset("/root/main/choiprcp/choiprcplist");
- // model.resetInstanceNode("/root/main/patinfo/patinfocnts");
- //
- // //-----------------------
- // if (pBizFlagCd == "2") {
- // //makeReportPreview(0, 50, 1179, 678);
- // exeReportPreview("RPLPJ02300", "XMLSTR", "", "", "true", "", "", "", "", "false", "", "grp_prnt");
- // }
- //
- // //----------------------
- // if (pBizFlagCd == "1") {
- //
- // //-------------
- // // 의뢰지 출력
- // model.makeNode("/root/init/prntinfo");
- // model.makeValue("/root/init/prntinfo/reptflagcd", "0"); // 의뢰지(0), 보고서(1)
- // model.makeValue("/root/init/prntinfo/prntflagcd", "0"); // 출력(0), 미리보기(1)
- //
- // //-------------------------------------------------------------------------------------------
- // for (var iRowNo=1; iRowNo <= getNodesetCount("/root/main/acptinfo/acptrsltlist"); iRowNo++) {
- //
- // if (sPtNo != model.getValue("/root/main/acptinfo/acptrsltlist["+iRowNo+"]/ptno")) {
- // lpzfExeFrmPrnt("/root/main/acptinfo/acptrsltlist["+iRowNo+"]");
- // sPtNo = model.getValue("/root/main/acptinfo/acptrsltlist["+iRowNo+"]/ptno");
- // }
- // }
- //
- // //------------------------------------------------------------------------------------
- // for (var iNo=getNodesetCount("/root/main/trusttest/trusttestlist"); iNo >= 1; iNo--) {
- // if (model.getValue(sSrcNode1+"["+iNo+"]/choi") == "true") {
- // grd_trustlist.deleteRow(iNo);
- // }
- // }
- // }
-
-
- //--------------
- model.refresh();
- }
- function fExeReadTrustPatList()
- {
- var iRowNo = 1;
- var sExLabNm = "";
- var sSexAge = "";
- var sRRgstNo = "";
- //var sSrcNode = "/root/main/trustpat/trustpatlist";
- var sSrcNode = ds_grd_trustpatlist;
- //var sDescNode = "/root/main/acptpat/acptpatlist";
- var sDescNode = ds_grd_acptpatlist;
- //var sOrgNode = "/root/main/patinfo/patinfocnts";
- var sOrgNode = ds_patinfocnts;
-
-
- //------------------------------------------------------------------------------------------------
- //if (model.getValue("/root/init/prcpdrid") == "" || model.getValue("/root/init/prcpdrid") == "-")
- if( utlf_isNull(ds_init.getColumn(0, "prcpdrid")) || ds_init.getColumn(0, "prcpdrid") == "-")
- {
- sysf_messageBox("처방의사를 ", "C002");
- return false;
- }
-
- //----------------------------
- //model.removeNodeset(sSrcNode);
- //model.removeNodeset(sDescNode);
-
- //---------------------------------------------------------------------------------------------------------------
- var sFileName = window.fileDialog("open", ",", false, "", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
-
-
- //-----------------------------------------
- // if (sFileName == "" || sFileName == null)
- if( utlf_isNull(sFileName))
- {
- sysf_messageBox("입고할 파일을 선택하세요", "E", "");
- return;
- }
-
- //------------------------
- // 파일의 확장자 종류 검사
- //var sStr = sFileName.substring(sFileName.length - 3);
- var sStr = sFileName.substr(sFileName.length - 3);
- //-------------------------------
- if(sStr.toLowerCase() == "xls")
- {
- //grd_trustpatlist.loadExcel(sFileName);
- grp_biz.swt_trust.case_single.grd_trustpatlist.loadExcel(fileName);
- }
- else
- {
- sysf_messageBox("Excel파일을 선택하세요", "E", "");
- return;
- }
-
- //--------------------------------------------------------
- //for (var iNo=2; iNo <= getNodesetCount(sSrcNode); iNo++)
- for(var iNo=2; iNo <= ds_grd_trustpatlist.rowcount; iNo++)
- {
- //--------------------------------------------
- // 위탁기관, 환자명, 주민번호, 여권번호는 필수
- //if (model.getValue(sSrcNode+"["+iNo+"]/exlabcd") == "")
- if( utlf_isNull(ds_grd_trustpatlist.getColumn(iNo, "exlabcd")))
- {
- sysf_messageBox("위탁기관은 ", "I003");
- return false;
- }
- //if (model.getValue(sSrcNode+"["+iNo+"]/patnm") == "")
- if( utlf_isNull(ds_grd_trustlist.getColumn(iNo, "patnm")))
- {
- sysf_messageBox("환자명은 ", "I003");
- return false;
- }
- //if (model.getValue(sSrcNode+"["+iNo+"]/trusthosppid") == "")
- if( utlf_isNull(ds_grd_trustpatlist.getColumn(iNo, "trusthosppid")))
- {
- sysf_messageBox("위탁병원 환자번호는 ", "I003");
- return false;
- }
- //if (model.getValue(sSrcNode+"["+iNo+"]/psptno") == "")
- if( utlf_isNull(ds_grd_trustpatlist.getColumn(iNo, "pstptno")))
- {
- //if (model.getValue(sSrcNode+"["+iNo+"]/rrgstno1") == "" && model.getValue(sSrcNode+"["+iNo+"]/rrgstno2") == "")
- if(utlf_isNullds_grd_trustpatlist.getColumn(iNo, "rrgstno1") && utlf_isNull(ds_grd_trustpatlist.getColumn(iNo, "rrgstno2")))
- {
- sysf_messageBox("주민번호 또는 여권번호(외국인)은 ", "I003");
- return false;
- }
- }
-
- //-------------------------------------------------------------------------------------------------------------
- //sExLabNm = model.getValue("/root/init/coophosp/coophosplist[coophospcd='"+model.getValue(sSrcNode+"["+iNo+"]/exlabcd")+"']/coophospnm");
- // sExLabNm = ds_init_cmb_exlabcd.getColumn(0, "coophospcd", ds_grd_trustpatlist.getColumn(iNo, "exlabcd"));
- //sUnCoCd = model.getValue("/root/init/coophosp/coophosplist[coophospcd='"+model.getValue(sSrcNode+"["+iNo+"]/exlabcd")+"']/uncocd");
- // sUnCoCd = ds_init_cmb_exlabcd.getColumn(0, "coop
- // sSexAge = model.getValue(sSrcNode+"["+iNo+"]/sex")+"/"+model.getValue(sSrcNode+"["+iNo+"]/age");
- // sRRgstNo = model.getValue(sSrcNode+"["+iNo+"]/rrgstno1")+"-"+model.getValue(sSrcNode+"["+iNo+"]/rrgstno2");
-
- //--------------------------------------
- //model.makeNode(sDescNode+"["+iRowNo+"]");
- // model.makeValue(sDescNode+"["+iRowNo+"]/instcd", getUserInfo("dutplceinstcd"));
- ds_grd_acptpatlist.setColumn(iRowNo, "instcd", sysf_getUserInfo("dutplceinstcd"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/exlabcd", model.getValue(sSrcNode+"["+iNo+"]/exlabcd"));
- ds_grd_acptpatlist.setColumn(iRowNo, "exlabcd", ds_grd_trustpatlist.getColumn(iNo, "exlabcd"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/exlabnm", sExLabNm);
- ds_grd_acptpatlist.setColumn(iRowNo, "exlabnm", sExLabNm);
- // model.makeValue(sDescNode+"["+iRowNo+"]/pid", "");
- ds_grd_acptpatlist.setColumn(iRowNo, "pid", "");
- // model.makeValue(sDescNode+"["+iRowNo+"]/patnm", model.getValue(sSrcNode+"["+iNo+"]/patnm"));
- ds_grd_acptpatlist.setColumn(iRowNo, "patnm", ds_grd_trustpatlist.getColumn(iNo, "patnm"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/sex", model.getValue(sSrcNode+"["+iNo+"]/sex"));
- ds_grd_acptpatlist.setColumn(iRowNo, "sex", ds_grd_trustpatlist.getColumn(iNo, "sex"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/age", model.getValue(sSrcNode+"["+iNo+"]/age"));
- ds_grd_acptpatlist.setColumn(iRowNo, "age", ds_grd_trustpatlist.getColumn(iNo, "age"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/sexage", sSexAge);
- ds_grd_acptpatlist.setColumn(iRowNo, "sexage", sSexAge);
- // model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno1", model.getValue(sSrcNode+"["+iNo+"]/rrgstno1"));
- ds_grd_acptpatlist.setColumn(iRowNo, "rrgstno1", ds_grd_trustpatlist.getColumn(iNo, "rrgstno1"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno2", model.getValue(sSrcNode+"["+iNo+"]/rrgstno2"));
- ds_grd_acptpatlist.setColumn(iRowNo, "rrgstno2", ds_grd_trustpatlist.getColumn(iNo, "rrgstno2"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/rrgstno", sRRgstNo);
- ds_grd_acptpatlist.setColumn(iRowNo, "rrgstno", sRRgstNo);
- // model.makeValue(sDescNode+"["+iRowNo+"]/psptno", model.getValue(sSrcNode+"["+iNo+"]/psptno"));
- ds_grd_acptpatlist.setColumn(iRowNo, "psptno", ds_grd_trustpatlist.getColumn(iNo, "psptno"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/bigo", model.getValue(sSrcNode+"["+iNo+"]/bigo"));
- ds_grd_acptpatlist.setColumn(iRowNo, "bigo", ds_grd_trustpatlist.getColumn(iNo, "bigo"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/bizflagcd", "2");
- ds_grd_acptpatlist.setColumn(iRowNo, "bizflagcd", "2");
- // model.makeValue(sDescNode+"["+iRowNo+"]/orddrid", model.getValue("/root/init/prcpdrid"));
- ds_grd_acptpatlist.setColumn(iRowNo, "orddrid", ds_init.getColCount(0, "prcpdrid"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/orddeptcd", model.getValue("/root/init/hospenv/hospenvinfo/plgydeptcd"));
- ds_grd_acptpatlist.setColumn(iRowNo, "orddeptcd", ds_hospenvinfo.getColumn(0, "plgydeptcd"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/grotestsplgyid", getUserInfo("userid"));
- ds_grd_acptpatlist.setColumn(iRowNo, "grotestsplgyid", sysf_getUserInfo("userid"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/suppkind", model.getValue(sSrcNode+"["+iNo+"]/suppkind"));
- ds_grd_acptpatlist.setColumn(iRowNo, "suppkind", ds_grd_trustpatlist.getColumn(iNo, "suppkind"));
- // model.makeValue(sDescNode+"["+iRowNo+"]/uncocd", sUnCoCd);
- ds_grd_acptpatlist.setColumn(iRowNo, "uncocd", sUnCoCd);
- // model.makeValue(sDescNode+"["+iRowNo+"]/trusthosppid", model.getValue(sSrcNode+"["+iNo+"]/trusthosppid"));
- ds_grd_acptpatlist.setColumn(iRowNo, "trusthosppid", ds_grd_trustpatlist.getColumn(iNo, "trusthosppid"));
- //
- //-------
- iRowNo++;
- }
-
- //------------------------
- // grd_acptpatlist.refresh();
- }
-
- function fExePatPopupCall(pBizFlagCd)
- {
- //model.makeNode("/root/source");
- //model.makeValue("/root/source/srchcond", pBizFlagCd);
- //dsf_createDsRow("ds_source", [{col : "srchcond", val : pBizFlagCd}]);
- ds_source.setColumn(0, "srchcond", pBizFlagCd);
-
- if (pBizFlagCd == "1")
- {
- //model.makeValue("/root/source/pid", model.getValue("/root/main/patinfo/patinfocnts/pid"));
- ds_source.setColumn(0, "pid", ds_patinfocnts.getColumn(0, "pid"));
- ds_source.setColumn(0, "hngnm", "");
- ds_source.setColumn(0, "rrgstno1", "");
- ds_source.setColumn(0, "rrgstno2", "");
- //model.makeValue("/root/source/hngnm", "");
- //model.makeValue("/root/source/rrgstno1", "");
- //model.makeValue("/root/source/rrgstno2", "");
- }
- else if (pBizFlagCd == "2")
- {
- // model.makeValue("/root/source/pid", "");
- // model.makeValue("/root/source/hngnm", model.getValue("/root/main/patinfo/patinfocnts/patnm"));
- // model.makeValue("/root/source/rrgstno1", "");
- // model.makeValue("/root/source/rrgstno2", "");
- ds_source.setColumn(0, "pid", "");
- ds_source.setColumn(0, "hngnm", ds_patinfocnts.getColumn(0, "patnm"));
- ds_source.setColumn(0, "rrgstno1", "");
- ds_source.setColumn(0, "rrgstno2", "");
- }
- else
- {
- // model.makeValue("/root/source/pid", "");
- // model.makeValue("/root/source/hngnm", "");
- // model.makeValue("/root/source/rrgstno1", model.getValue("/root/main/patinfo/patinfocnts/rrgstno1"));
- // model.makeValue("/root/source/rrgstno2", model.getValue("/root/main/patinfo/patinfocnts/rrgstno2"));
- ds_source.setColumn(0, "pid", "");
- ds_source.setColumn(0, "hngnm", "");
- ds_source.setColumn(0, "rrgstno1", ds_patinfocnts.getColumn(0, "rrgstno1"));
- ds_source.setColumn(0, "rrgstno2", ds_patinfocnts.getColumn(0, "rrgstno2"));
- }
-
- //--------------------------------------------------------------------------------
- //modal("SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
- var objArg = new Object();
- objArg.arg_ds_send = ds_source;
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", 1, 150, 150, "", "", "", "", "", "M");
- //----------------------------------------------------------
- //if (getNodesetCount("/root/main/patinfo/patinfolist") > 0)
- if(ds_patinfocnts.rowcount > 0)
- {
- //model.makeValue("/root/init/refval", model.getValue("/root/main/patinfo/patinfolist/pid"));
- ds_init.setColumn(0, "refval", ds_patinfocnts.getColumn(0, "pid"));
- }
-
- //--------------
- //model.refresh();
- }
-
- //조회
- function grp_biz_swt_trust_case_list_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetTrustTestList();
- }
- //수탁검사목록
- function grp_biz_swt_trust_case_list_onsetfocus(obj:Tabpage, e:SetFocusEventInfo)
- {
- fExeTrustChange("1");
- }
- //개별수탁검사
- function grp_biz_swt_trust_case_single_onsetfocus(obj:Tabpage, e:SetFocusEventInfo)
- {
- fExeTrustChange("2");
- }
- function grp_btn_btn_cls_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- //처방분류 TreeView 클릭 처리 Function
- function grp_biz_swt_trust_case_single_trv_prcpkind_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fExePrcpKindClick();
- }
- //검체 표시 및 처방 등록 처리 Function
- function grp_biz_swt_trust_case_single_grd_testcdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fExePrcpChoi();
- }
- function grp_biz_swt_trust_case_single_grd_spclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fExeSpcChoi();
- }
- //임시저장
- function grp_biz_swt_trust_case_single_btn_cffm_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePatTempSave();
- }
- //접수
- function grp_btn_btn_acpt_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePrcpSave("1");
- }
- //수탁환자 Excel읽기
- function grp_btn_btn_patlistread_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeReadTrustPatList();
- }
- //등록번호 조회
- function grp_biz_swt_trust_case_single_btn_pidsea_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePatPopupCall("1");
- }
- //환자명 조회
- function grp_biz_swt_trust_case_single_btn_patnmsea_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePatPopupCall("2");
- }
- //주민번호 조회
- function grp_biz_swt_trust_case_single_btn_rrgstnosea_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePatPopupCall("3");
- }]]></Script>
- </Form>
- </FDL>
|