123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPLLJ00600" position="absolute 0 0 989 698" titletext="수탁검사접수" oninit="SPLLJ00600_oninit" onload="SPLLJ00600_onload">
- <Layouts>
- <Layout>
- <Tab id="swt_trust" taborder="1" tabindex="0" position="absolute 0 1 984 664" anchor="all" onchanged="swt_trust_onchanged">
- <Tabpages>
- <Tabpage id="case_single" text="개별수탁검사">
- <Layouts>
- <Layout>
- <Static id="caption6" text="환자정보" class="tit_2" position="absolute 0 3 97 25"/>
- <Shape id="line2" class="line_10" position="absolute -1 19 981 25"/>
- <Combo id="cmb_exlabcd" taborder="47" innerdataset="@ds_init_coophosp_coophosplist" codecolumn="coophospcd" datacolumn="coophospnm" class="combo_default" position="absolute 69 25 185 44" onitemchanged="swt_trust_case_single_cmb_exlabcd_onitemchanged"/>
- <Static id="caption11" text="-" class="text_center" position="absolute 625 25 645 45"/>
- <Static id="caption13" text="비 고" class="cell_1" position="absolute 515 48 575 71"/>
- <Shape id="line4" class="line_10" position="absolute 0 96 205 102"/>
- <Static id="caption14" text="처방분류" class="tit_2" position="absolute 0 80 97 102"/>
- <Static id="caption15" text="처방명 목록" class="tit_2" position="absolute 211 80 372 101"/>
- <Shape id="line5" class="line_10" position="absolute 211 96 378 102"/>
- <Grid id="grd_testcdlist" taborder="49" binddataset="ds_init_prcpcd_prcpcdlist" useinputpanel="false" position="absolute 211 101 378 469" autofittype="col" cellsizingtype="col" oncelldblclick="swt_trust_case_single_grd_testcdlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="160"/>
- <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"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="28"/>
- </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="처방명"/>
- <Cell col="6" text="caption1"/>
- <Cell col="7" text="caption2"/>
- <Cell col="8" text="caption3"/>
- <Cell col="9" text="caption4"/>
- <Cell col="10" text="caption5"/>
- <Cell col="11" text="caption6"/>
- <Cell col="12" text="caption7"/>
- <Cell col="13" text="caption8"/>
- <Cell col="14" text="caption9"/>
- <Cell col="15" text="caption10"/>
- <Cell col="16" text="caption11"/>
- <Cell col="17" text="caption12"/>
- <Cell col="18" text="caption13"/>
- <Cell col="19" text="caption14"/>
- <Cell col="20" text="caption15"/>
- <Cell col="21" text="caption16"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:testcd"/>
- <Cell col="2" style="align:left middle;" text="bind:testengnm" wordwrap="word"/>
- <Cell col="3" text="bind:testengabbr"/>
- <Cell col="4" text="bind:testhngnm"/>
- <Cell col="5" text="bind:testhngabbr"/>
- <Cell col="6" text="bind:acptdept"/>
- <Cell col="7" text="bind:ptnocd"/>
- <Cell col="8" text="bind:stdyptnocd"/>
- <Cell col="9" text="bind:trustptnocd"/>
- <Cell col="10" text="bind:workflagcd"/>
- <Cell col="11" text="bind:slidflagcd"/>
- <Cell col="12" text="bind:slidisscnt"/>
- <Cell col="13" text="bind:blocflagcd"/>
- <Cell col="14" text="bind:initblocno"/>
- <Cell col="15" text="bind:autokeepflagcd"/>
- <Cell col="16" text="bind:stdy_workflagcd"/>
- <Cell col="17" text="bind:stdy_slidflagcd"/>
- <Cell col="18" text="bind:stdy_slidisscnt"/>
- <Cell col="19" text="bind:stdy_blocflagcd"/>
- <Cell col="20" text="bind:stdy_initblocno"/>
- <Cell col="21" text="bind:stdy_autokeepflagcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption16" text="대표검체 목록" class="tit_2" position="absolute 384 80 545 101"/>
- <Shape id="line7" class="line_10" position="absolute 384 96 548 102"/>
- <Grid id="grd_spclist" taborder="50" binddataset="ds_init_testinfo_testinfolist" useinputpanel="false" position="absolute 384 101 548 469" autofittype="col" cellsizingtype="col" oncelldblclick="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="160"/>
- </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="51" binddataset="ds_main_choiprcp_choiprcplist" useinputpanel="false" position="absolute 554 101 979 469" anchor="left top right" onrbuttondown="swt_trust_case_single_grd_choiprcp_onrbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="125"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="87"/>
- <Column size="87"/>
- <Column size="105"/>
- <Column size="160"/>
- </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="검체명"/>
- <Cell col="6" text="연속검사간격"/>
- <Cell col="7" text="연속검사횟수"/>
- <Cell col="8" text="연속검사기본시간"/>
- <Cell col="9" text="비고"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:testcd"/>
- <Cell col="2" text="bind:testhngnm"/>
- <Cell col="3" style="align:left middle;" text="bind:testengnm"/>
- <Cell col="4" style="align:left middle;" text="bind:spccd"/>
- <Cell col="5" style="align:left middle;" text="bind:spcnm"/>
- <Cell col="6" displaytype="combo" edittype="combo" text="bind:conttestintvlflagcd" combodataset="ds_cmb_conttestintvlflagcd" combocodecol="value" combodatacol="label"/>
- <Cell col="7" displaytype="text" edittype="text" text="bind:conttestorgtims"/>
- <Cell col="8" displaytype="text" edittype="text" text="bind:conttestbasetm"/>
- <Cell col="9" displaytype="text" edittype="text" text="bind:prcpdelivefact"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption17" text="선택 처방 및 검체" class="tit_2" position="absolute 554 80 715 101"/>
- <Shape id="line8" class="line_10" position="absolute 554 96 979 102" anchor="left top right"/>
- <Static id="cap_exlabcd" text="위탁기관" class="cell_1" position="absolute 0 24 66 47"/>
- <Edit id="ipt_patnm" taborder="52" position="absolute 406 25 485 44" autoselect="true"/>
- <Static id="cap_patnm" text="환자명" class="cell_1" position="absolute 343 24 403 47"/>
- <MaskEdit id="ipt_rrgstno1" taborder="53" mask="999999" position="absolute 578 25 623 44"/>
- <MaskEdit id="ipt_rrgstno2" taborder="54" mask="9999999" position="absolute 634 25 684 44"/>
- <Edit id="ipt_psptno" taborder="55" position="absolute 779 25 979 44" autoselect="true"/>
- <Static id="cap_psptno" text="여권번호" class="cell_1" position="absolute 712 23 776 46"/>
- <MaskEdit id="ipt_age" taborder="56" mask="####" position="absolute 69 49 102 68"/>
- <Static id="cap_sexage" text="나이/성별" class="cell_1" position="absolute 0 48 66 71"/>
- <Combo id="cmb_sex" taborder="57" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 105 49 165 68">
- <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 515 24 575 47"/>
- <Static id="caption7" text="등록번호" class="cell_1" position="absolute 188 24 248 47"/>
- <Button id="btn_pidsea" taborder="58" class="icon_search" position="absolute 323 26 339 42" onclick="swt_trust_case_single_btn_pidsea_onclick"/>
- <Button id="btn_patnmsea" taborder="59" class="icon_search" position="absolute 488 25 504 41" onclick="swt_trust_case_single_btn_patnmsea_onclick"/>
- <Button id="btn_rrgstnosea" taborder="60" class="icon_search" position="absolute 688 25 704 41" onclick="swt_trust_case_single_btn_rrgstnosea_onclick"/>
- <Static id="caption8" text="접수대상 환자목록" class="tit_2" position="absolute 0 475 161 497" anchor="left top"/>
- <Shape id="line9" class="line_10" position="absolute -1 491 981 497" anchor="left top right"/>
- <Grid id="grd_acptpatlist" taborder="61" binddataset="ds_main_acptpat_acptpatlist" useinputpanel="false" position="absolute 0 496 982 635" onrbuttondown="swt_trust_case_single_grd_acptpatlist_onrbuttondown">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="0"/>
- <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" text="요청기관"/>
- <Cell col="3" text="등록번호"/>
- <Cell col="4" text="환자명"/>
- <Cell col="5" text="sex"/>
- <Cell col="6" text="age"/>
- <Cell col="7" text="성별/나이"/>
- <Cell col="8" text="적용율"/>
- <Cell col="9" text="rrgstno1"/>
- <Cell col="10" text="rrgstno2"/>
- <Cell col="11" text="주민번호"/>
- <Cell col="12" text="여권번호"/>
- <Cell col="13" text="위탁환자번호"/>
- <Cell col="14" text="비 고"/>
- <Cell col="15" text="caption1"/>
- <Cell col="16" text="caption2"/>
- <Cell col="17" text="caption3"/>
- <Cell col="18" text="caption4"/>
- <Cell col="19" text="미수코드"/>
- </Band>
- <Band id="body">
- <Cell text="bind:instcd"/>
- <Cell col="1" text="bind:exlabcd"/>
- <Cell col="2" text="bind:exlabnm"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:patnm"/>
- <Cell col="5" text="bind:sex"/>
- <Cell col="6" text="bind:age"/>
- <Cell col="7" text="bind:sexage"/>
- <Cell col="8" displaytype="combo" edittype="combo" text="bind:suppkind" combodataset="ds_cmb_suppkind" combocodecol="value" combodatacol="label"/>
- <Cell col="9" text="bind:rrgstno1"/>
- <Cell col="10" text="bind:rrgstno2"/>
- <Cell col="11" text="bind:rrgstno"/>
- <Cell col="12" text="bind:psptno"/>
- <Cell col="13" text="bind:trusthosppid"/>
- <Cell col="14" text="bind:bigo"/>
- <Cell col="15" text="bind:bizflagcd"/>
- <Cell col="16" text="bind:orddrid"/>
- <Cell col="17" text="bind:orddeptcd"/>
- <Cell col="18" text="bind:grostestplgyid"/>
- <Cell col="19" text="bind:uncocd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="btn_cffm" taborder="62" text="임시저장" class="btn2" position="absolute 915 0 979 19" anchor="top right" onclick="swt_trust_case_single_btn_cffm_onclick"/>
- <Grid id="grd_trustpatlist" taborder="63" binddataset="ds_main_trustpat_trustpatlist" useinputpanel="false" visible="false" position="absolute 845 435 965 485">
- <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"/>
- </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"/>
- </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"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit id="ipt_bigo" taborder="64" position="absolute 578 49 980 68" autoselect="true"/>
- <Static id="caption9" text="적용율" class="cell_1" position="absolute 168 48 228 71"/>
- <Shape id="line6" class="line_3" position="absolute 0 68 974 74" anchor="left top right"/>
- <Combo id="cmb_suppkind" taborder="65" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 231 49 340 68" onitemchanged="swt_trust_case_single_cmb_suppkind_onitemchanged">
- <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="66" enable="false" position="absolute 251 25 321 44" autoselect="true"/>
- <Shape id="line3" class="line_2" position="absolute 0 44 974 50" anchor="left top right"/>
- <Static id="caption10" text="위탁환자번호" class="cell_1" position="absolute 343 48 430 71"/>
- <Edit id="ipt_trusthosppid" taborder="67" position="absolute 432 50 512 69" autoselect="true"/>
- <Grid id="trv_prcpkind" taborder="68" useinputpanel="false" position="absolute 0 101 205 469" binddataset="ds_init_prcpkind_prcpkindlist" treeusecheckbox="false" cellsizingtype="col" autofittype="col" oncellclick="swt_trust_case_single_trv_prcpkind_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="200"/>
- </Columns>
- <Rows>
- <Row size="0" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal" text="earnclsnm"/>
- </Band>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:earnclsnm" treestartlevel="2" treelevel="bind:lvl"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_list" text="수탁검사목록">
- <Layouts>
- <Layout>
- <Button id="btn_exls" taborder="10" text="엑셀" class="btn7" position="absolute 933 42 983 61" onclick="swt_trust_case_list_btn_exls_onclick"/>
- <Grid id="grd_trustlist" class="datagrid2" taborder="11" binddataset="ds_main_trusttest_trusttestlist" useinputpanel="false" position="absolute 0 66 982 631">
- <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="70"/>
- <Column size="85"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="65"/>
- <Column size="45"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="123"/>
- <Column size="65"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="80"/>
- <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"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="32" 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="주민번호"/>
- <Cell col="13" text="rrgstno1"/>
- <Cell col="14" text="rrgstno2"/>
- <Cell col="15" text="여권번호"/>
- <Cell col="16" text="검사코드"/>
- <Cell col="17" text="검사명"/>
- <Cell col="18" text="결과값"/>
- <Cell col="19" text="결과상태"/>
- <Cell col="20" text="검체코드"/>
- <Cell col="21" text="검체명"/>
- <Cell col="22" text="의뢰지번호"/>
- <Cell col="23" text="의뢰지구분코드"/>
- <Cell col="24" text="의뢰지내용"/>
- <Cell col="25" text="요청자명"/>
- <Cell col="26" text="확인일자"/>
- <Cell col="27" text="확인시간"/>
- <Cell col="28" text="확인자명"/>
- <Cell col="29" text="acptstatcd"/>
- <Cell col="30" text="bizflagcd"/>
- <Cell col="31" text="orddrid"/>
- <Cell col="32" text="orddeptcd"/>
- <Cell col="33" text="grostestplgyid"/>
- <Cell col="34" text="newreqcnts"/>
- <Cell col="35" text="비고"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:choi" expr="expr:choi == 'true' ? 1 : 0"/>
- <Cell col="1" text="bind:instcd"/>
- <Cell col="2" text="bind:reqinstcd"/>
- <Cell col="3" text="bind:reqinstnm"/>
- <Cell col="4" displaytype="date" text="bind:reqdd" calendardisplaynulltype="nulltext"/>
- <Cell col="5" class="text_center" text="bind:reqtm"/>
- <Cell col="6" class="text_center" text="bind:pid"/>
- <Cell col="7" class="text_center" text="bind:bcno"/>
- <Cell col="8" class="text_center" text="bind:workno"/>
- <Cell col="9" class="text_center" text="bind:reqpid"/>
- <Cell col="10" displaytype="date" text="bind:patnm" mask="hh:mm:ss" calendardisplaynulltype="nulltext"/>
- <Cell col="11" text="bind:sexage"/>
- <Cell col="12" text="bind:rrgstno"/>
- <Cell col="13" text="bind:rrgstno1"/>
- <Cell col="14" text="bind:rrgstno2"/>
- <Cell col="15" text="bind:psptno"/>
- <Cell col="16" text="bind:testcd"/>
- <Cell col="17" text="bind:testnm"/>
- <Cell col="18" text="bind:reptrslt"/>
- <Cell col="19" text="bind:reptgbn"/>
- <Cell col="20" text="bind:spccd"/>
- <Cell col="21" text="bind:spcnm"/>
- <Cell col="22" text="bind:reqfrmno"/>
- <Cell col="23" text="bind:reqfrmflagcd"/>
- <Cell col="24" text="bind:reqcnts"/>
- <Cell col="25" text="bind:reqnm"/>
- <Cell col="26" text="bind:cnfmdd"/>
- <Cell col="27" text="bind:cnfmtm"/>
- <Cell col="28" text="bind:cnfmnm"/>
- <Cell col="29" text="bind:acptstatcd"/>
- <Cell col="30" text="bind:bizflagcd"/>
- <Cell col="31" text="bind:orddrid"/>
- <Cell col="32" text="bind:orddeptcd"/>
- <Cell col="33" text="bind:grostestplgyid"/>
- <Cell col="34" text="bind:newreqcnts"/>
- <Cell col="35" text="bind:prcpdelivefact"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_sea" taborder="12" position="absolute 0 2 982 37" class="div_SA">
- <Layouts>
- <Layout>
- <Static id="caption2" text="요청일자 :" class="search_name" position="absolute 15 10 101 27" anchor="default"/>
- <Button id="btn_search" taborder="11" text="조회" class="btn1" position="absolute 904 7 960 29" anchor="default" onclick="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 199 10 211 27" anchor="default"/>
- <Calendar id="ipt_prcptodd" taborder="12" class="input_search" position="absolute 212 8 302 27" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
- <Calendar id="ipt_prcpfromdd" taborder="13" class="input_search" position="absolute 104 8 194 27" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd"/>
- <Static id="caption4" text="등록번호 :" class="search_name" position="absolute 601 9 687 26" anchor="default"/>
- <Static id="caption5" text="요청기관 :" class="search_name" position="absolute 327 9 413 26" anchor="default"/>
- <Combo id="combo1" taborder="14" innerdataset="@ds_init_coophosp_coophosplist" codecolumn="coophospcd" datacolumn="coophospnm" position="absolute 414 8 569 27" anchor="default"/>
- <Edit id="input1" taborder="15" position="absolute 688 8 788 27" anchor="default" autoselect="true" autoskip="false"/>
- <CheckBox id="checkbox1" taborder="16" position="absolute 805 8 875 28" text="완료" truevalue="1" style="font:Dotum,9,bold;" anchor="default" onclick="swt_trust_case_list_grp_sea_checkbox1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption1" text="수탁검사목록" class="tit_2" position="absolute 0 45 161 66"/>
- <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 61 982 67"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Combo id="cmb_orddrid" taborder="0" innerdataset="@ds_init_userinfo_userinfolist" codecolumn="userid" datacolumn="usernm" position="absolute 892 2 982 21" anchor="top right"/>
- <Static id="cap_orddrid" text="처방의사" class="cell_1" position="absolute 825 0 889 23" anchor="top right"/>
- <Div id="grp_prnt" taborder="2" visible="false" position="absolute 610 175 895 435">
- <Layouts>
- <Layout width="285" height="260"/>
- </Layouts>
- </Div>
- <Shape id="line17" class="line_6" position="absolute -1 663 983 669" anchor="left right bottom"/>
- <Button id="btn_patlistread" taborder="3" text="수탁환자 Excel읽기" class="btn3" visible="true" position="absolute -1 668 151 690" anchor="left bottom" onclick="btn_patlistread_onclick"/>
- <Button id="button2" taborder="4" text="취소" class="btn4" position="absolute 667 668 723 690" anchor="right bottom" onclick="button2_onclick"/>
- <Button id="button1" taborder="5" text="출력" class="btn4" position="absolute 726 668 782 690" anchor="right bottom" onclick="button1_onclick"/>
- <Button id="btn_acpt" taborder="6" text="접수" class="btn4" enable="false" position="absolute 785 668 841 690" anchor="right bottom" onclick="btn_acpt_onclick"/>
- <Button id="btn_prcp" taborder="7" text="처방등록" class="btn4" visible="false" position="absolute 844 668 924 690" anchor="right bottom" onclick="btn_prcp_onclick"/>
- <Button id="btn_cls" taborder="8" text="닫기" class="btn4" position="absolute 927 668 983 690" anchor="right bottom" onclick="btn_cls_onclick"/>
- <PopupMenu id="pmn_menu1" position="absolute 999 152 1050 176" innerdataset="@ds_menu" idcolumn="func" levelcolumn="level" captioncolumn="label" onmenuclick="pmn_menu1_onmenuclick"/>
- <PopupMenu id="pmn_menu2" innerdataset="@ds_menu" idcolumn="func" captioncolumn="label" levelcolumn="level" position="absolute 999 184 1050 208" onmenuclick="pmn_menu2_onmenuclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_patinfo_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>
- <Col id="exlabcd"/>
- <Col id="pid"/>
- <Col id="patnm"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- <Col id="rrgstno"/>
- <Col id="psptno"/>
- <Col id="age"/>
- <Col id="sex"/>
- <Col id="bigo"/>
- <Col id="suppkind"/>
- <Col id="uncocd"/>
- <Col id="trusthosppid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_coophosp_coophosplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="coophospcd" type="STRING" size="256"/>
- <Column id="coophospnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_conttestintvlflagcd" 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">N</Col>
- </Row>
- <Row>
- <Col id="label">분</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">시간</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">횟수</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">일수</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">식전/후</Col>
- <Col id="value">5</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_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>
- <Dataset id="ds_init_prcpkind_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_init_prcpcd_prcpcdlist" 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="testcd" type="STRING" size="256" sumtext="검사코드"/>
- <Column id="testengnm" type="STRING" size="256" sumtext="검사영문명"/>
- <Column id="testengabbr" type="STRING" size="256" sumtext="검사영문약어"/>
- <Column id="testhngnm" type="STRING" size="256" sumtext="검사한글명"/>
- <Column id="testhngabbr" type="STRING" size="256" sumtext="검사한글약어"/>
- <Column id="acptdept" type="STRING" size="256" sumtext="접수부서"/>
- <Column id="ptnocd" type="STRING" size="256" sumtext="일반병리번호코"/>
- <Column id="stdyptnocd" type="STRING" size="256" sumtext="연구병리번호코드"/>
- <Column id="trustptnocd" type="STRING" size="256" sumtext="수탁병리번호코드"/>
- <Column id="workflagcd" type="STRING" size="256" sumtext="작업구분코드"/>
- <Column id="slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드"/>
- <Column id="slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수"/>
- <Column id="blocflagcd" type="STRING" size="256" sumtext="블록구분코드"/>
- <Column id="initblocno" type="STRING" size="256" sumtext="초기블록번호"/>
- <Column id="autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드"/>
- <Column id="stdy_workflagcd" type="STRING" size="256" sumtext="작업구분코드(연구)"/>
- <Column id="stdy_slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드(연구)"/>
- <Column id="stdy_slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수(연구)"/>
- <Column id="stdy_blocflagcd" type="STRING" size="256" sumtext="블록구분코드(연구)"/>
- <Column id="stdy_initblocno" type="STRING" size="256" sumtext="초기블록번호(연구)"/>
- <Column id="stdy_autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드(연구)"/>
- <Column id="grupsnglflag" type="STRING" size="256" sumtext="자동보관구분코드(연구)"/>
- <Column id="ptnonewflagcd" type="STRING" size="256" sumtext="추가처방병리번호신규발생구분"/>
- <Column id="spccd" type="STRING" size="256" sumtext="진검검체코드"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_testinfo_testinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_choiprcp_choiprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_acptpat_acptpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_trustpat_trustpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_trusttest_trusttestlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_trusttest_trusttestlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="choi" type="STRING" size="256" sumtext="선택"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="reqinstcd" type="STRING" size="256" sumtext="요청기관코드"/>
- <Column id="reqinstnm" type="STRING" size="256" sumtext="요청기관명"/>
- <Column id="reqdd" type="STRING" size="256" sumtext="요청일자"/>
- <Column id="reqtm" type="STRING" size="256" sumtext="요청시간"/>
- <Column id="bcno" type="STRING" size="256" sumtext="검체바코드번호"/>
- <Column id="workno" type="STRING" size="256" sumtext="작업번호"/>
- <Column id="reqpid" type="STRING" size="256" sumtext="요청기관 환자번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
- <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
- <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
- <Column id="tclscd" type="STRING" size="256" sumtext="검사코드"/>
- <Column id="tclscdnm" type="STRING" size="256" sumtext="검사명"/>
- <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
- <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
- <Column id="reqfrmno" type="STRING" size="256" sumtext="의뢰지번호"/>
- <Column id="reqfrmflagcd" type="STRING" size="256" sumtext="의뢰지구분코드"/>
- <Column id="reqcnts" type="STRING" size="256" sumtext="의뢰지내용"/>
- <Column id="newreqcnts" type="STRING" size="256" sumtext="문자열의뢰지내용"/>
- <Column id="reqnm" type="STRING" size="256" sumtext="요청자명"/>
- <Column id="cnfmdd" type="STRING" size="256" sumtext="수신기관 확인일자"/>
- <Column id="cnfmtm" type="STRING" size="256" sumtext="수신기관 확인시간"/>
- <Column id="cnfmnm" type="STRING" size="256" sumtext="수신기관 확인자명"/>
- <Column id="acptstatcd" type="STRING" size="256" sumtext="접수상태코드(0:요청, 1:접수)"/>
- <Column id="bizflagcd" type="STRING" size="256" sumtext="업무구분코드(1:수탁,2:개별수탁)"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="처방의ID"/>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="처방과코드"/>
- <Column id="grostestplgyid" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="reptrslt" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="pid" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="spcacptdt" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="lastreptdt" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="lastreptid" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="urinextrvol" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="reflh" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="rsltunit" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="reptgbn" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="spcacptid" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="prcpno" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="prcphistno" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- <Column id="prcpdelivefact" type="STRING" size="256" sumtext="육안검사병리사ID"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="con" type="STRING" size="256"/>
- <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"/>
- <Column id="refval" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="con"/>
- <Col id="prcpdrid"/>
- <Col id="reqfromdd"/>
- <Col id="reqtodd"/>
- <Col id="reqpid"/>
- <Col id="reqinstcd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_userinfo_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_hospenv_hospenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="plgydeptcd" type="STRING" size="256" sumtext="병리과"/>
- <Column id="doctjobgradcd" type="STRING" size="256" sumtext="병리의사직급코드"/>
- <Column id="teamjobgradcd" type="STRING" size="256" sumtext="레지던트직급코드"/>
- <Column id="plgyteamcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_sysdt_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" sumtext="시스템일자"/>
- <Column id="systm" type="STRING" size="256" sumtext="시스템시간"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_instcdlist_Z0007" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_menu" 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="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">지우기</Col>
- <Col id="func">fExePrcpDel</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_menu2" 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="func" type="STRING" size="256"/>
- <Column id="level" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">지우기</Col>
- <Col id="func">fExePatDel</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_acptinfo_acptlist" 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="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="검사코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="검사한글명"/>
- <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
- <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="성별/나이)"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
- <Column id="exlabcd" type="STRING" size="256" sumtext="위탁기관코드"/>
- <Column id="exlabnm" type="STRING" size="256" sumtext="위탁기관명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_acptinfo_acptrsltlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ptno" type="STRING" size="256" sumtext="병리번호"/>
- <Column id="dispptno" type="STRING" size="256" sumtext="병리번호"/>
- <Column id="dispptno1" type="STRING" size="256" sumtext="병리번호1"/>
- <Column id="dispptno2" type="STRING" size="256" sumtext="병리번호2"/>
- <Column id="barcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
- <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
- <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
- <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
- <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="swt_trust.case_single.cmb_exlabcd" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="exlabcd"/>
- <BindItem id="item1" compid="swt_trust.case_single.ipt_pid" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="pid"/>
- <BindItem id="item2" compid="swt_trust.case_single.ipt_patnm" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="patnm"/>
- <BindItem id="item3" compid="swt_trust.case_single.ipt_rrgstno1" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="rrgstno1"/>
- <BindItem id="item4" compid="swt_trust.case_single.ipt_rrgstno2" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="rrgstno2"/>
- <BindItem id="item5" compid="swt_trust.case_single.ipt_psptno" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="psptno"/>
- <BindItem id="item6" compid="swt_trust.case_single.ipt_age" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="age"/>
- <BindItem id="item7" compid="swt_trust.case_single.cmb_sex" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="sex"/>
- <BindItem id="item8" compid="swt_trust.case_single.cmb_suppkind" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="suppkind"/>
- <BindItem id="item9" compid="swt_trust.case_single.ipt_trusthosppid" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="trusthosppid"/>
- <BindItem id="item10" compid="swt_trust.case_single.ipt_bigo" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="bigo"/>
- <BindItem id="item11" compid="swt_trust.case_list.grp_sea.ipt_prcpfromdd" propid="value" datasetid="ds_init" columnid="reqfromdd"/>
- <BindItem id="item12" compid="swt_trust.case_list.grp_sea.ipt_prcptodd" propid="value" datasetid="ds_init" columnid="reqtodd"/>
- <BindItem id="item13" compid="swt_trust.case_list.grp_sea.combo1" propid="value" datasetid="ds_init" columnid="reqinstcd"/>
- <BindItem id="item14" compid="swt_trust.case_list.grp_sea.input1" propid="value" datasetid="ds_init" columnid="reqpid"/>
- <BindItem id="item15" compid="swt_trust.case_list.grp_sea.checkbox1" propid="value" datasetid="ds_init" columnid="con"/>
- <BindItem id="item16" compid="cmb_orddrid" propid="value" datasetid="ds_init" columnid="prcpdrid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-09
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-09 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "lis_commonxp::LLZ001.xjs";
- include "lis_commonxp::LPZ001.xjs";
- function SPLLJ00600_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPLLJ00600_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(swt_trust.case_single.grd_acptpatlist);
- grdf_initGrid(swt_trust.case_single.grd_choiprcp);
- grdf_initGrid(swt_trust.case_single.grd_spclist);
- grdf_initGrid(swt_trust.case_single.grd_testcdlist);
- grdf_initGrid(swt_trust.case_list.grd_trustlist);
-
- fExeInitialize();
- }
- function fExeInitialize()
- {
- swt_trust.tabindex = 0;
-
- ds_main_trustpat_trustpatlist.clearData();
- ds_init_prcpcd_prcpcdlist.clearData();
- ds_init_testinfo_testinfolist.clearData();
- ds_main_choiprcp_choiprcplist.clearData();
- ds_main_acptpat_acptpatlist.clearData();
-
- lf_getDbDeptcd("0124|", "")
-
- dsf_createDsRow("ds_send", [{col:"instcd", type:"STRING", size:256 , val : sysf_getUserInfo("dutplceinstcd")}
- , {col:"deptflagcd", type:"STRING", size:256 , val : "0"}]);
- var oParam = {};
- oParam.id = "TRLZZ00107";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqGetLExecprcpuniqno";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_init_hospenv_hospenvinfo=hospenvinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLZZ00107";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRLPZ00102";
- oParam.service = "plgycomnusemngtapp.BaseInfoCode";
- oParam.method = "reqGetSystemDateTimeInformation";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_init_sysdt_sysdtinfo=sysdtinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRLPZ00102";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRLLJ00601";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqGetPrcpKindListDiag";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_init_prcpkind_prcpkindlist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLLJ00601";
- tranf_submit(oParam);
-
- var oParam = {};
- oParam.id = "TRLPJ02302";
- oParam.service = "plgyacptmngtapp.SpecimenAccept";
- oParam.method = "reqGetCoopHospList";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_init_coophosp_coophosplist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ02302";
- tranf_submit(oParam);
-
- lpzfUserDeptCd(ds_init_hospenv_hospenvinfo, ds_init_userinfo_userinfolist);
-
- dsf_makeValue(ds_send, "userdeptcd", "string", ds_init_userinfo_userinfolist.getColumn(0, "userdeptcd"), 0);
- dsf_makeValue(ds_send, "doctjobgradcd", "string", ds_init_hospenv_hospenvinfo.getColumn(0, "doctjobgradcd"), 0);
- dsf_makeValue(ds_send, "teamjobgradcd", "string", ds_init_hospenv_hospenvinfo.getColumn(0, "teamjobgradcd"), 0);
-
- var oParam = {};
- oParam.id = "TRLLJ00605";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqGetUserInfoList";
- oParam.inds = "refdata=ds_send";
- oParam.outds = "ds_init_userinfo_userinfolist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLLJ00605";
- tranf_submit(oParam);
- var arrParam = [{dsNm: "ds_init_instcdlist_Z0007", cdGrpId: "Z0007"}]
- appf_getCodeList(arrParam);
- dsf_makeValue(ds_init, "reqfromdd", "string", ds_init_sysdt_sysdtinfo.getColumn(0, "sysdd"), 0);
- dsf_makeValue(ds_init, "reqtodd", "string", ds_init_sysdt_sysdtinfo.getColumn(0, "sysdd"), 0);
- dsf_makeValue(ds_init, "reqpid", "string", "", 0);
- dsf_makeValue(ds_init, "reqinstcd", "string", "", 0);
- dsf_makeValue(ds_init, "prcpdrid", "string", "", 0);
-
- dsf_makeValue(ds_main_patinfo_patinfocnts, "suppkind", "string", "13", 0);
- dsf_makeValue(ds_main_patinfo_patinfocnts, "uncocd", "string", "", 0);
- }
- function swt_trust_case_single_cmb_exlabcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- fExeTrustChoi();
- }
- function fExeTrustChoi()
- {
- var sTrustCd = ds_main_patinfo_patinfocnts.getColumn(0, "exlabcd");
- dsf_makeValue(ds_main_patinfo_patinfocnts, "uncocd", "string", ds_init_coophosp_coophosplist.lookupExpr("coophospcd == '"+sTrustCd+"'", "uncocd"), 0);
- }
- function fExePatPopupCall(pBizFlagCd)
- {
- dsf_createDsRow("ds_source", [{col:"srchcond", type:"STRING", size:256 , val : pBizFlagCd}]);
-
- if (pBizFlagCd == "1")
- {
- dsf_makeValue(ds_source, "pid", "string", ds_main_patinfo_patinfocnts.getColumn(0, "pid"), 0);
- dsf_makeValue(ds_source, "hngnm", "string", "", 0);
- dsf_makeValue(ds_source, "rrgstno1", "string", "", 0);
- dsf_makeValue(ds_source, "rrgstno2", "string", "", 0);
- }
- else if (pBizFlagCd == "2")
- {
- dsf_makeValue(ds_source, "pid", "string", "", 0);
- dsf_makeValue(ds_source, "hngnm", "string", ds_main_patinfo_patinfocnts.getColumn(0, "patnm"), 0);
- dsf_makeValue(ds_source, "rrgstno1", "string", "", 0);
- dsf_makeValue(ds_source, "rrgstno2", "string", "", 0);
- }
- else
- {
- dsf_makeValue(ds_source, "pid", "string", "", 0);
- dsf_makeValue(ds_source, "hngnm", "string", "", 0);
- dsf_makeValue(ds_source, "rrgstno1", "string", ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno1"), 0);
- dsf_makeValue(ds_source, "rrgstno2", "string", ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno2"), 0);
- }
- var objArg = new Object();
- objArg.arg_ds_send = ds_source;
-
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
-
- if (ds_patinfolist.rowcount > 0)
- {
- ds_init.setColumn(0, "refval", ds_patinfolist.getColumn(0, "pid"))
- }
- }
- function swt_trust_case_single_btn_pidsea_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePatPopupCall("1");
- }
- function swt_trust_case_single_btn_patnmsea_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePatPopupCall("2");
- }
- function swt_trust_case_single_btn_rrgstnosea_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePatPopupCall("3");
- }
- function swt_trust_case_single_cmb_suppkind_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- alert("적용률이 변경되었습니다.");
- }
- function swt_trust_case_single_grd_testcdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fExePrcpChoi();
- }
- function fExePrcpChoi()
- {
- var iFindRow = 0;
- var sSpcCd = "";
- var sPrcpNode = "/root/init/prcpcd/prcpcdlist";
- var sSpcNode = "/root/init/testinfo/testinfolist";
-
- if(ds_init_prcpcd_prcpcdlist.rowposition > -1)
- {
- if(ds_init_testinfo_testinfolist.rowcount > 0)
- {
- if (ds_init_testinfo_testinfolist.rowposition > -1)
- {
- sSpcCd = ds_init_testinfo_testinfolist.getColumn(ds_init_testinfo_testinfolist.rowposition, "spccd");
- }
- }
-
- ds_send.clearData();
-
- dsf_createDsRow("ds_send", [{col:"delflagcd", type:"STRING", size:256 , val : "0"}
- , {col:"refflag", type:"STRING", size:256 , val : "1"}
- , {col:"refval", type:"STRING", size:256 , val : ds_init_prcpcd_prcpcdlist.getColumn(ds_init_prcpcd_prcpcdlist.rowposition, "testcd")}
- , {col:"instcd", type:"STRING", size:256 , val : sysf_getUserInfo("dutplceinstcd")}
- , {col:"itemlimit", type:"STRING", size:256 , val : "5000"}
- , {col:"page", type:"STRING", size:256 , val : "1"}]);
-
- ds_init_testinfo_testinfolist.clearData();
-
- var oParam = {};
- oParam.id = "TRLLJ00603";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqGetTestInfoListDiag";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_init_testinfo_testinfolist=refrslt ds_=lastpage";
- oParam.async = false;
- //oParam.callback = "cf_TRLLJ00603";
- tranf_submit(oParam);
- }
- }
- function swt_trust_case_single_grd_spclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- fExeSpcChoi();
- }
- function fExeSpcChoi()
- {
- if(ds_init_testinfo_testinfolist.rowposition > -1)
- {
- fExePrcpAdd();
- }
- }
- function fExePrcpAdd()
- {
- var iMaxRowNo = 0;
- var sSrcNode = "/root/main/choiprcp/choiprcplist";
-
- iMaxRowNo = ds_main_choiprcp_choiprcplist.addRow();
-
- dsf_makeValue(ds_main_choiprcp_choiprcplist, "instcd", "string", sysf_getUserInfo("dutplceinstcd"), iMaxRowNo);
- dsf_makeValue(ds_main_choiprcp_choiprcplist, "testcd", "string", ds_init_prcpcd_prcpcdlist.getColumn(ds_init_prcpcd_prcpcdlist.rowposition, "testcd"), iMaxRowNo);
- dsf_makeValue(ds_main_choiprcp_choiprcplist, "testhngnm", "string", ds_init_prcpcd_prcpcdlist.getColumn(ds_init_prcpcd_prcpcdlist.rowposition, "testhngnm"), iMaxRowNo);
- dsf_makeValue(ds_main_choiprcp_choiprcplist, "testengnm", "string", ds_init_prcpcd_prcpcdlist.getColumn(ds_init_prcpcd_prcpcdlist.rowposition, "testengnm"), iMaxRowNo);
- dsf_makeValue(ds_main_choiprcp_choiprcplist, "spccd", "string", ds_init_testinfo_testinfolist.getColumn(ds_init_testinfo_testinfolist.rowposition, "spccd"), iMaxRowNo);
- dsf_makeValue(ds_main_choiprcp_choiprcplist, "spcnm", "string", ds_init_testinfo_testinfolist.getColumn(ds_init_testinfo_testinfolist.rowposition, "spcnm"), iMaxRowNo);
- dsf_makeValue(ds_main_choiprcp_choiprcplist, "conttestintvlflagcd", "string", "N", iMaxRowNo);
- dsf_makeValue(ds_main_choiprcp_choiprcplist, "conttestorgtims", "string", "", iMaxRowNo);
- dsf_makeValue(ds_main_choiprcp_choiprcplist, "conttestbasetm", "string", "", iMaxRowNo);
- dsf_makeValue(ds_main_choiprcp_choiprcplist, "prcpdelivefact", "string", "-", iMaxRowNo);
- }
- function swt_trust_case_single_grd_choiprcp_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- pmn_menu1.trackPopup(e.screenX,e.screenY);
- }
- function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id +"();");
- }
- function pmn_menu2_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
- {
- eval(e.id +"();");
- }
- function swt_trust_case_single_grd_acptpatlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- pmn_menu2.trackPopup(e.screenX,e.screenY);
- }
- function fExePrcpDel()
- {
- if (ds_main_choiprcp_choiprcplist.rowposition < 0)
- {
- sysf_messageBox("삭제 처방을 ", "C002");
- return false;
- }
-
- ds_main_choiprcp_choiprcplist.deleteRow(ds_main_choiprcp_choiprcplist.rowposition);
- }
- function fExePatDel()
- {
- ds_main_acptpat_acptpatlist.deleteRow(ds_main_acptpat_acptpatlist.rowposition);
- }
- function swt_trust_case_list_grp_sea_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if(obj.value == false)
- {
- ds_init.setColumn(0, "con", "");
- }
- }
- function swt_trust_case_list_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetTrustTestList();
- }
- function fGetTrustTestList()
- {
- ds_send.clearData();
- ds_main_trusttest_trusttestlist.clearData();
-
- dsf_createDsRow("ds_send", [{col:"instcd", type:"STRING", size:256 , val : sysf_getUserInfo("dutplceinstcd")}
- , {col:"deptflagcd", type:"STRING", size:256 , val : "N"}
- , {col:"reqfromdd", type:"STRING", size:256 , val : ds_init.getColumn(0, "reqfromdd")}
- , {col:"reqtodd", type:"STRING", size:256 , val : ds_init.getColumn(0, "reqtodd")}
- , {col:"reqpid", type:"STRING", size:256 , val : ds_init.getColumn(0, "reqpid")}
- , {col:"reqinstcd", type:"STRING", size:256 , val : ds_init.getColumn(0, "reqinstcd")}
- , {col:"con", type:"STRING", size:256 , val : ds_init.getColumn(0, "con")}]);
-
- var oParam = {};
- oParam.id = "TRLPJ02301";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqGetTrustTestListDiag";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_main_trusttest_trusttestlist=refrslt";
- oParam.async = false;
- //oParam.callback = "cf_TRLPJ02301";
- tranf_submit(oParam);
-
- dsf_setFixVal(ds_main_trusttest_trusttestlist, "choi:false,newreqcnts:-,bizflagcd:-,orddrid:-,orddeptcd:-,grostestplgyid:-");
- }
- function swt_trust_case_list_btn_exls_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(swt_trust.case_list.grd_trustlist, "수탁검사목록", "수탁검사목록", false, "", "", false);
- }
- function btn_patlistread_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeReadTrustPatList();
- }
- function fExeReadTrustPatList()
- {
- var sExLabNm = "";
- var sSexAge = "";
- var sRRgstNo = "";
- var sSrcNode = "/root/main/trustpat/trustpatlist";
- var sDescNode = "/root/main/acptpat/acptpatlist";
- var sOrgNode = "/root/main/patinfo/patinfocnts";
-
- if(utlf_isNull(ds_init.getColumn(0, "prcpdrid")) || ds_init.getColumn(0, "prcpdrid") == "-")
- {
- sysf_messageBox("처방의사를 ", "C002");
- return false;
- }
- ds_main_trustpat_trustpatlist.clearData();
- ds_main_acptpat_acptpatlist.clearData();
-
- var fd = new FileDialog;
- var objVFileList = fd.open("FileOpen", FileDialog.SINGLELOAD);
-
- filelist = objVFileList;
-
- var sFileName = dsf_writeFileToDs(objVFileList, ds_main_acptinfo_acptlist, 0, "filedata");
-
- if (utlf_isNull(sFileName))
- {
- sysf_messageBox("입고할 파일을 선택하세요", "E", "");
- return;
- }
-
- for (var iNo = 0; iNo < ds_main_trustpat_trustpatlist.rowcount; iNo++)
- {
- if(utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "exlabcd")))
- {
- sysf_messageBox("위탁기관은 ", "I003");
- return false;
- }
- if(utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "patnm")))
- {
- sysf_messageBox("환자명은 ", "I003");
- return false;
- }
- if(utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "trusthosppid")))
- {
- sysf_messageBox("위탁병원 환자번호는 ", "I003");
- return false;
- }
- if(utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "psptno")))
- {
- if(utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno1")) && utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno2")))
- {
- sysf_messageBox("주민번호 또는 여권번호(외국인)은 ", "I003");
- return false;
- }
- }
-
- sExLabNm = ds_init_coophosp_coophosplist.lookupExpr("coophospcd == '"+ds_main_trustpat_trustpatlist.getColumn(iNo, "exlabcd")+"'", "coophospnm");
- sUnCoCd = ds_init_coophosp_coophosplist.lookupExpr("coophospcd == '"+ds_main_trustpat_trustpatlist.getColumn(iNo, "exlabcd")+"'", "uncocd");
- sSexAge = ds_main_trustpat_trustpatlist.getColumn(iNo, "sex")+"/"+ds_main_trustpat_trustpatlist.getColumn(iNo, "age");
- sRRgstNo = ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno1")+"/"+ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno2");
-
- var iRowNo = ds_main_acptpat_acptpatlist.addRow();
-
- dsf_makeValue(ds_main_acptpat_acptpatlist, "instcd", "string", sysf_getUserInfo("dutplceinstcd"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "exlabcd", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "exlabcd"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "exlabnm", "string", sExLabNm, iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "pid", "string", "", iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "patnm", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "patnm"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "sex", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "sex"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "age", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "age"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "sexage", "string", sSexAge, iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno1", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno1"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno2", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno2"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno", "string", sRRgstNo, iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "psptno", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "psptno"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "bigo", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "bigo"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "bizflagcd", "string", "2", iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "bigo", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "bigo"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "orddrid", "string", ds_init.getColumn(0, "prcpdrid"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "orddeptcd", "string",ds_init_hospenv_hospenvinfo.getColumn(0, "plgydeptcd"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "grotestsplgyid", "string", sysf_getUserInfo("userid"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "suppkind", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "suppkind"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "uncocd", "string", sUnCoCd, iRowNo);
- }
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- fExeDCprcp();
- }
- function fExeDCprcp()
- {
- for(var i = 0; i < ds_main_trustpat_trustpatlist.rowcount; i++)
- {
- if(ds_main_trusttest_trusttestlist.getColumn(i, "choi") == "true")
- {
- if(utlf_isNull(ds_main_trusttest_trusttestlist.getColumn(i, "bcno")))
- {
- dsf_createDsRow("ds_hidden_data1", [{col:"prcpno", type:"STRING", size:256 , val : ds_main_trusttest_trusttestlist.getColumn(i, "prcpno")}
- , {col:"prcpdd", type:"STRING", size:256 , val : ds_main_trusttest_trusttestlist.getColumn(i, "prcpdd")}
- , {col:"prcphistno", type:"STRING", size:256 , val : ds_main_trusttest_trusttestlist.getColumn(i, "prcphistno")}]);
-
- var oParam = {};
- oParam.id = "TXLZZ00601";
- oParam.service = "diagtestapplib.LisCommon";
- oParam.method = "reqSetOnlyDCPrcp";
- oParam.inds = "cond=ds_hidden_data1";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXLZZ00601";
- tranf_submit(oParam);
- }
- else
- {
- alert("진행된 항목은 처방 취소 할 수 없습니다.");
- }
-
- }
- else
- {
-
- }
- }
- fGetTrustTestList();
- }
- function ds_main_trusttest_trusttestlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if(e.columnid == "choi")
- {
- obj.setColumn(e.row, "choi", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
- }
- }
- function swt_trust_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(obj.tabindex == 0)
- {
- fExeTrustChange("2");
- }
- else
- {
- fExeTrustChange("1");
- }
- }
- function fExeTrustChange(pBizFlagCd)
- {
- if (pBizFlagCd == "1")
- {
- btn_acpt.visible = true;
- btn_prcp.visible = false;
- btn_patlistread.visible = false;
- button1.visible = true;
- }
- else
- {
- btn_acpt.visible = false;
- btn_prcp.visible = true;
- btn_patlistread.visible = true;
- button1.visible = false;
- }
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePrint();
- }
- function fExePrint()
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/main/trusttest/trusttestlist", ds_main_trusttest_trusttestlist);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option = "";
- rptf_exeReportPreview30(["RPLLJ00600"],[objParam], option);
-
- }
- function btn_acpt_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePrcpSave("1");
- }
- function fExePrcpSave(pBizFlagCd)
- {
- if (pBizFlagCd == "1")
- {
- if (!frmf_isRequiredControls("cmb_orddrid"))
- {
- return false;
- }
-
- ds_main_patinfo_patinfocnts.clearData();
- ds_main_choiprcp_choiprcplist.clearData();
-
- for(var iNo = 0; iNo < ds_main_trusttest_trusttestlist.rowcount; iNo++)
- {
- if(ds_main_trusttest_trusttestlist.getColumn(iNo, "choi") == "true")
- {
- var sNode = ds_main_trusttest_trusttestlist.getColumn(iNo, "reqcnts");
-
- dsf_makeValue(ds_main_trusttest_trusttestlist, "bizflagcd", "string", "1", iNo);
- dsf_makeValue(ds_main_trusttest_trusttestlist, "orddrid", "string", ds_init.getColumn(0, "prcprid"), iNo);
- dsf_makeValue(ds_main_trusttest_trusttestlist, "orddeptcd", "string", ds_init_hospenv_hospenvinfo.getColumn(0, "plgydeptcd"), iNo);
- dsf_makeValue(ds_main_trusttest_trusttestlist, "grotestsplgyid", "string", sysf_getUserInfo("userid"), iNo);
- dsf_makeValue(ds_main_trusttest_trusttestlist, "newreqcnts", "string", sNode, iNo);
-
- ds_main_trusttest_trusttestlist.updatecontrol = false;
- ds_main_trusttest_trusttestlist.setRowType(iNo, "i");
- ds_main_trusttest_trusttestlist.updatecontrol = true;
- bState = true;
- }
-
- if (!bState)
- {
- sysf_messageBox("접수할 수탁검사를 ", "C002");
- return false;
- }
- }
- }
- else
- {
- if (!frmf_isRequiredControls("cmb_orddrid"))
- {
- return false;
- }
-
- if (ds_main_acptpat_acptpatlist.rowcount == 0)
- {
- sysf_messageBox("접수할 환자를 ", "C001");
- return false;
- }
-
- if (ds_main_choiprcp_choiprcplist.rowcount == 0)
- {
- sysf_messageBox("처방등록할 수탁검사를 ", "C002");
- return false;
- }
- }
- dsf_makeValue(ds_main_patinfo_patinfocnts, "instcd", "string", sysf_getUserInfo("dutplceinstcd"), 0);
- dsf_makeValue(ds_main_patinfo_patinfocnts, "pid", "string", "", 0);
-
- //setAlertOn();
-
- dsf_setFixVal(ds_main_trusttest_trusttestlist, "pid:-");
- var oParam = {};
- oParam.id = "TXLPJ02301";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqExeTrustAcpt";
- oParam.inds = "patinfo=ds_main_patinfo_patinfocnts trusttestlist=ds_main_trusttest_trusttestlist choiprcplist=ds_main_choiprcp_choiprcplist patlist=ds_main_patinfo_patinfocnts";
- oParam.outds = "ds_main_acptinfo_acptlist=acptlist ds_main_acptinfo_acptrsltlist=acptrsltlist";
- oParam.async = false;
- oParam.callback = "cf_TXLPJ02301";
- tranf_submit(oParam);
- }
- function cf_TXLPJ02301(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- return;
- }
- else
- {
- ds_main_acptpat_acptpatlist.clearData();
- ds_main_choiprcp_choiprcplist.clearData();
- ds_main_patinfo_patinfocnts.clearData();
-
- if (pBizFlagCd == "1")
- {
- for(var iRowNo = 0; iRowNo < ds_main_acptinfo_acptrsltlist.rowcount; iRowNo++)
- {
- if(sPtNo != ds_main_acptinfo_acptrsltlist.getColumn(iRowNo, "ptno"))
- {
- lpzfExeFrmPrnt(ds_main_acptrslt_acptrsltlist,iRowNo);
- sPtNo = ds_main_acptinfo_acptrsltlist.getColumn(iRowNo, "ptno");
- }
- }
- for(var iNo = ds_main_trusttest_trusttestlist.rowcount; iNo > 0; iNo--)
- {
- if(ds_main_trusttest_trusttestlist.getColumn(iNo, "choi") == "true")
- {
- ds_main_trusttest_trusttestlist.deleteRow(iNo);
- }
- }
- }
- }
- }
- function btn_prcp_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePrcpSave("2");
- ds_main_patinfo_patinfocnts.setColumn(0, "suppkind", "13");
- }
- function btn_cls_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function swt_trust_case_single_btn_cffm_onclick(obj:Button, e:ClickEventInfo)
- {
- fExePatTempSave();
- }
- function fExePatTempSave()
- {
- var rrgstno1 = String(ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno1"));
- var rrgstno2 = String(ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno2"));
- var age = ds_main_patinfo_patinfocnts.getColumn(0, "age");
-
- if(rrgstno1.length < 6)
- {
- alert("주민등록번호 앞자리의 갯수가 맞지 않습니다.");
- return;
- }
- if(rrgstno1.substr(2,4) > 12 || rrgstno1.substr(4,6) > 31)
- {
- alert("생년월일을 확인해 주십시오.");
- return;
- }
- if(rrgstno2.length < 7)
- {
- alert("주민등록번호 뒷자리의 갯수가 맞지 않습니다.");
- return;
- }
- if(age > 99)
- {
- var retval = sysf_messageBox( "환자의 나이가 " + age + "세 입니다.", "Q003");
- if (retval != "6")
- {
- return;
- }
- }
-
- if (!frmf_isRequiredControls("cmb_orddrid", "ipt_trusthosppid"))
- {
- return false;
- }
-
- var iRowNo = ds_main_acptpat_acptpatlist.addRow();
-
- dsf_makeValue(ds_main_acptpat_acptpatlist, "instcd", "string", sysf_getUserInfo("dutplceinstcd"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "exlabcd", "string", ds_main_patinfo_patinfocnts.getColumn(0, "exlabcd"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "exlabnm", "string", ds_init_coophosp_coophosplist.lookupExpr("coophospcd == '"+ds_main_patinfo_patinfocnts.getColumn(0, "exlabcd"), "coophospnm"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "pid", "string", ds_main_patinfo_patinfocnts.getColumn(0, "pid"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "patnm", "string", ds_main_patinfo_patinfocnts.getColumn(0, "patnm"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "sex", "string", ds_main_patinfo_patinfocnts.getColumn(0, "sex"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "age", "string", ds_main_patinfo_patinfocnts.getColumn(0, "age"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "sexage", "string", ds_main_patinfo_patinfocnts.getColumn(0, "sex")+"/"+ds_main_patinfo_patinfocnts.getColumn(0, "age"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno1", "string", ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno1"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno2", "string", ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno2"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno", "string", ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno1")+"-"+ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno2"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "psptno", "string", ds_main_patinfo_patinfocnts.getColumn(0, "psptno"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "bigo", "string", ds_main_patinfo_patinfocnts.getColumn(0, "bigo"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "bizflagcd", "string", "2", iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "orddrid", "string", ds_init.getColumn(0, "prcpdrid"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "psptno", "string", ds_init_hospenv_hospenvinfo.getColumn(0, "plgydeptcd"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "grotestsplgyid", "string", sysf_getUserInfo("userid"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "suppkind", "string", ds_main_patinfo_patinfocnts.getColumn(0, "suppkind"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "uncocd", "string", ds_main_patinfo_patinfocnts.getColumn(0, "uncocd"), iRowNo);
- dsf_makeValue(ds_main_acptpat_acptpatlist, "trusthosppid", "string", ds_main_patinfo_patinfocnts.getColumn(0, "trusthosppid"), iRowNo);
- }
- function swt_trust_case_single_trv_prcpkind_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fExePrcpKindClick();
- }
- function fExePrcpKindClick()
- {
- var sEarnCls1 = ds_init_prcpkind_prcpkindlist.getColumn(ds_init_prcpkind_prcpkindlist.rowposition, "earncls1");
- var sEarnCls2 = ds_init_prcpkind_prcpkindlist.getColumn(ds_init_prcpkind_prcpkindlist.rowposition, "earncls2");
- var sEarnCls3 = ds_init_prcpkind_prcpkindlist.getColumn(ds_init_prcpkind_prcpkindlist.rowposition, "earncls3");
-
- var item = ds_init_prcpkind_prcpkindlist.getColumn(ds_init_prcpkind_prcpkindlist.rowposition, "lvl");
- if (item != 2)
- {
- ds_send.clear();
- ds_init_prcpcd_prcpcdlist.clearData();
- ds_init_testinfo_testinfolist.clearData();
-
- dsf_createDsRow("ds_send", [{col:"instcd", type:"STRING", size:256 , val : sysf_getUserInfo("dutplceinstcd")}
- , {col:"earncls1", type:"STRING", size:256 , val : sEarnCls1}
- , {col:"earncls2", type:"STRING", size:256 , val : sEarnCls2}
- , {col:"earncls3", type:"STRING", size:256 , val : sEarnCls3}
- , {col:"trustflagcd", type:"STRING", size:256 , val : "N"}
- , {col:"bizflagcd", type:"STRING", size:256 , val : ""}]);
- dsf_setFixVal(ds_send, "bizflagcd:0");
-
- var oParam = {};
- oParam.id = "TRLLJ00602";
- oParam.service = "acptmngtapp.AcptMngt";
- oParam.method = "reqGetPrcpCdListDiag";
- oParam.inds = "refData=ds_send";
- oParam.outds = "ds_init_prcpcd_prcpcdlist=reflist";
- oParam.async = false;
- //oParam.callback = "cf_TRLLJ00602";
- tranf_submit(oParam);
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|