123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPASI07000_검체시험의뢰서C" classname="SPASIO7000_검체시험의뢰서C" inheritanceid="" position="absolute 0 0 751 447" titletext="검체시험의뢰서" oninit="SPASI07000_oninit" onload="SPASI07000_onload">
- <Layouts>
- <Layout>
- <Static id="Static00" text="검체시험의뢰서(지카)" class="tit_1" position="absolute 0 0 160 25"/>
- <Div id="grp_main" taborder="1" position="absolute 0 29 751 447">
- <Layouts>
- <Layout>
- <Static id="caption06" text="인적사항" class="tit_2" position="absolute 0 0 90 22" anchor="default"/>
- <Static id="caption31" text="성명" class="cell_1" position="absolute 0 20 100 43" anchor="default"/>
- <Static id="caption32" text="주민등록번호" class="cell_1" position="absolute 0 46 100 69" anchor="default"/>
- <Edit id="opt_zipcd1" taborder="22" readonly="false" position="absolute 102 72 150 95" anchor="default" enable="false" tabstop="false"/>
- <Edit id="opt_cntcaddr1" taborder="23" readonly="false" position="absolute 102 97 750 120" anchor="default" enable="false" tabstop="false"/>
- <Edit id="opt_zipcd2" taborder="24" readonly="false" position="absolute 173 72 221 95" anchor="default" enable="false" tabstop="false"/>
- <Static id="caption36" text="성별" class="cell_1" position="absolute 214 20 282 43" anchor="default"/>
- <Edit id="opt_patnm" taborder="25" readonly="false" position="absolute 102 20 212 43" anchor="default" enable="false" tabstop="false"/>
- <Edit id="opt_rgstno" taborder="26" readonly="false" position="absolute 102 46 182 69" anchor="default" enable="false" tabstop="false"/>
- <Edit id="opt_rgstno2" taborder="27" readonly="false" position="absolute 202 46 282 69" anchor="default" enable="false" tabstop="false"/>
- <Static id="caption39" text="-" class="search_no_b" position="absolute 186 46 198 69" anchor="default" style="align:center middle;"/>
- <Static id="caption40" text="-" class="search_no_b" position="absolute 155 72 167 95" anchor="default" style="align:center middle;"/>
- <Static id="caption48" text="주소 및 전화번호" class="cell_1" position="absolute 0 72 100 120" anchor="default"/>
- <Shape id="line19" class="line_1" position="absolute 0 16 750 22" anchor="default"/>
- <Shape id="line20" class="line_2" position="absolute 0 42 750 48" anchor="default"/>
- <Shape id="line21" class="line_3" position="absolute 0 119 750 125" anchor="default"/>
- <Shape id="line23" class="line_2" position="absolute 0 68 750 74" anchor="default"/>
- <Shape id="line24" linetype="vertical" class="line_2" position="absolute 100 94 750 95" anchor="default"/>
- <Static id="caption08" text="연령" class="cell_1" position="absolute 413 20 478 43" anchor="default"/>
- <Static id="caption4" text="직업" class="cell_1" position="absolute 568 20 633 43" anchor="default"/>
- <Static id="caption5" text="보호자성명( 만 19세 미만인 경우)" class="cell_1" position="absolute 284 46 478 69" anchor="default"/>
- <Edit id="ipt_procernm" taborder="1" class="ipt__default" position="absolute 480 46 635 69" anchor="default" autoselect="true"/>
- <Static id="caption7" text="전화번호" class="cell_1" position="absolute 285 72 350 95" anchor="default"/>
- <Radio id="rdo_sexflag" taborder="29" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" enable="false" position="absolute 286 22 401 42" anchor="default" tabstop="false">
- <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>
- </Radio>
- <Edit id="ipt_age" taborder="30" class="ipt__default" enable="false" position="absolute 480 20 566 43" anchor="default" enableevent="true" tabstop="false"/>
- <Edit id="out_tel" taborder="31" readonly="false" position="absolute 352 72 478 95" anchor="default" enable="false" tabstop="false"/>
- <CheckBox id="chk_residncflag" taborder="32" text="거주지불명" position="absolute 480 73 570 93" anchor="default" truevalue="1" falsevalue="0" tabstop="false"/>
- <CheckBox id="chk_idflag" taborder="33" text="신원미상" position="absolute 570 73 656 93" anchor="default" truevalue="1" falsevalue="0" tabstop="false"/>
- <Combo id="cmb_jobcd" taborder="0" innerdataset="ds_M0149" codecolumn="cdid" datacolumn="cdnm" class="cmb__default" position="absolute 635 20 750 43" anchor="default"/>
- <Shape id="line00" class="line_1" position="absolute 0 15 750 21" anchor="default"/>
- <Static id="caption00" text="발병일" class="cell_1" position="absolute 0 145 85 168" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Static id="caption04" text="검체명" class="cell_1" position="absolute 0 169 85 192" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Static id="caption07" text="담당의사 소견서" class="cell_1" position="absolute 0 289 85 319" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Button id="btn_init" taborder="35" text="초기화" onclick="btn_init_onclick" onlbuttonup="btn_init_onlbuttonup" class="btn4" position="absolute 682 398 750 418" anchor="default" tabstop="false"/>
- <Button id="btn_cncl" taborder="36" text="삭제" onclick="btn_cncl_onclick" onlbuttonup="btn_cncl_onlbuttonup" class="btn4" position="absolute 625 398 681 418" anchor="default" tabstop="false"/>
- <Button id="btn_save" taborder="37" text="저장" onclick="btn_save_onclick" onlbuttonup="btn_save_onlbuttonup" class="btn4" position="absolute 568 398 624 418" anchor="default" tabstop="false"/>
- <Radio id="Radio_count" taborder="38" columncount="2" rowcount="0" innerdataset="ds_radio" codecolumn="code" datacolumn="data" position="absolute 656 168 749 191" style="align:center middle;" anchor="default" tabstop="false"/>
- <Edit id="opt_specimen" taborder="4" position="absolute 87 169 564 192" style="align:left middle;" anchor="default" autoselect="true"/>
- <TextArea id="TextArea_opinion" taborder="10" oneditclick="grp_main_TextArea_opinion_oneditclick" position="absolute 87 288 750 393" anchor="default" autoselect="true" class="input_essential"/>
- <Static id="caption05" text="검체채취구분" class="cell_1" position="absolute 566 169 651 192" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Calendar id="Calendar_collect" taborder="3" position="absolute 277 145 377 168" anchor="default" autoselect="true"/>
- <Calendar id="Calendar_occur" taborder="2" position="absolute 87 145 188 168" anchor="default" autoselect="true"/>
- <Static id="caption01" text="검체채취일" class="cell_1" position="absolute 190 145 275 168" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Static id="caption30" text="작성사항" class="tit_2" position="absolute 0 125 83 147" anchor="default"/>
- <Shape id="line01" class="line_1" position="absolute 0 140 750 146" anchor="default"/>
- <Static id="caption02" text="임신여부" class="cell_1" position="absolute 0 193 85 216" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Static id="caption03" text="여행력" class="cell_1" position="absolute 0 217 85 240" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <Radio id="Radio_count00" taborder="43" columncount="3" rowcount="0" innerdataset="@ds_radio_pregnancy" codecolumn="code" datacolumn="data" position="absolute 90 192 320 215" style="align:center middle;" anchor="default" onrbuttonup="grp_main_Radio_count00_onrbuttonup" tabstop="false"/>
- <Edit id="EditBox_pregnancy_week" taborder="5" position="absolute 321 193 364 216" style="align:center middle;" anchor="default" autoskip="false" autoselect="true"/>
- <Static id="Static00" text="주" position="absolute 368 194 381 214" anchor="default"/>
- <Static id="Static01" text="여행국" position="absolute 92 218 133 238" anchor="default"/>
- <Edit id="EditBox_Travel_Contry" taborder="6" position="absolute 133 217 312 240" style="align:left middle;" anchor="default" autoselect="true"/>
- <Static id="Static02" text="여행기간" position="absolute 316 218 371 238" anchor="default"/>
- <Static id="caption09" text="주요증상" class="cell_1" position="absolute 0 241 85 264" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <CheckBox id="CheckBox_Symptom_Rash" taborder="47" text="발진" position="absolute 195 243 245 263" anchor="default" tabstop="false"/>
- <CheckBox id="CheckBox_Symptom_Headache" taborder="48" text="두통" position="absolute 246 243 291 263" anchor="default" tabstop="false"/>
- <CheckBox id="CheckBox_Symptom_MusclePain" taborder="49" text="근육통" position="absolute 295 243 354 263" anchor="default" tabstop="false"/>
- <CheckBox id="CheckBox_Symptom_Heat" taborder="50" text="발열" position="absolute 87 242 133 262" anchor="default" onclick="grp_main_CheckBox_Symptom_Heat_onclick" tabstop="false"/>
- <Edit id="EditBox_Symptom_Heat" taborder="8" position="absolute 135 241 176 264" style="align:center middle;" anchor="default" autoselect="true"/>
- <Static id="Static03" text="℃" position="absolute 177 243 194 263" style="margin:0 0 0 0;" anchor="default"/>
- <CheckBox id="CheckBox_Symptom_Arthrodynia" taborder="52" text="관절통" position="absolute 357 243 416 263" anchor="default" tabstop="false"/>
- <CheckBox id="CheckBox_Symptom_Conjunctival" taborder="53" text="결막충혈" position="absolute 419 243 487 263" anchor="default" tabstop="false"/>
- <CheckBox id="CheckBox_Symptom_Etc" taborder="54" text="기타" position="absolute 492 243 541 263" anchor="default" onclick="grp_main_CheckBox_Symptom_Etc_onclick" tabstop="false"/>
- <Edit id="EditBox_Symptom_Etc" taborder="9" position="absolute 539 241 750 264" style="align:left middle;" anchor="default" autoselect="true"/>
- <Static id="caption10" text="백신접종여부" class="cell_1" position="absolute 0 265 85 288" style="padding:0 0 0 0;align:center middle;" anchor="default"/>
- <CheckBox id="CheckBox_Vaccine_Japanese" taborder="56" text="일본뇌염" position="absolute 87 265 156 285" anchor="default" tabstop="false"/>
- <CheckBox id="CheckBox_Vaccine_Yellow" taborder="57" text="황열" position="absolute 161 265 206 285" anchor="default" tabstop="false"/>
- <CheckBox id="CheckBox_Vaccine_Etc" taborder="58" text="해당없음" position="absolute 218 265 291 285" anchor="default" tabstop="false"/>
- <cp_periodCal id="cp_TravelperiodCal" titletext="Period Calendar" taborder="7" text="cp_periodCal00" scrollbars="none" position="absolute 370 217 586 240" style="background:transparent; " anchor="default"/>
- <Shape id="line02" class="line_3" position="absolute 0 392 750 398"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape id="line02" class="line_1" position="absolute 0 170 750 176"/>
- <Shape id="line03" class="line_1" position="absolute 0 169 750 175"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_M0149" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_reptdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="false" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_lglydisinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowsetchanged="ds_main_lglydisinfo_onrowsetchanged" onvaluechanged="ds_main_lglydisinfo_onvaluechanged">
- <ColumnInfo>
- <Column id="state" type="STRING" size="256"/>
- <Column id="reptdt" type="STRING" size="256"/>
- <Column id="reptflag" type="STRING" size="256"/>
- <Column id="psnflag" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="sexflag" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="job" type="STRING" size="256"/>
- <Column id="jobcd" type="STRING" size="256"/>
- <Column id="rgstno" type="STRING" size="256"/>
- <Column id="rgstno2" type="STRING" size="256"/>
- <Column id="procernm" type="STRING" size="256"/>
- <Column id="zipcd1" type="STRING" size="256"/>
- <Column id="zipcd2" type="STRING" size="256"/>
- <Column id="cntcaddr1" type="STRING" size="256"/>
- <Column id="cntcaddr2" type="STRING" size="256"/>
- <Column id="tel" type="STRING" size="256"/>
- <Column id="residncflag" type="STRING" size="256"/>
- <Column id="idflag" type="STRING" size="256"/>
- <Column id="wrtedt" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="lglydiscd" type="STRING" size="256"/>
- <Column id="grup4lglydisnewsymp" type="STRING" size="256"/>
- <Column id="apntlglydisnm" type="STRING" size="256"/>
- <Column id="attackdd" type="STRING" size="256"/>
- <Column id="diagdd" type="STRING" size="256"/>
- <Column id="dethyn" type="STRING" size="256"/>
- <Column id="dethresn" type="STRING" size="256"/>
- <Column id="patflag" type="STRING" size="256"/>
- <Column id="cnfmsnwtestrslt" type="STRING" size="256"/>
- <Column id="estminfcpath" type="STRING" size="256"/>
- <Column id="estminfcarea" type="STRING" size="256"/>
- <Column id="estminfcareanaticd" type="STRING" size="256"/>
- <Column id="stayfromdd" type="STRING" size="256"/>
- <Column id="staytodd" type="STRING" size="256"/>
- <Column id="chgrept" type="STRING" size="256"/>
- <Column id="chgzipcd1" type="STRING" size="256"/>
- <Column id="chgzipcd2" type="STRING" size="256"/>
- <Column id="chgzipcdseq" type="STRING" size="256"/>
- <Column id="chgreptaddr" type="STRING" size="256"/>
- <Column id="chgreptaddrdtl" type="STRING" size="256"/>
- <Column id="updtreptcnts" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="cnclyn" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="lasthistyn" type="STRING" size="256"/>
- <Column id="prcporddeptcd" type="STRING" size="256"/>
- <Column id="prcporddd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="clispeaoccurdate" type="STRING" size="256"/>
- <Column id="clispeagatherdate" type="STRING" size="256"/>
- <Column id="clispeaname" type="STRING" size="256"/>
- <Column id="clispeagathercount" type="STRING" size="256"/>
- <Column id="clispeaopinion" type="STRING" size="256"/>
- <Column id="clispecpregnancy" type="STRING" size="256"/>
- <Column id="clispecpregnancyweek" type="STRING" size="256"/>
- <Column id="clispectravelperiodstart" type="STRING" size="256"/>
- <Column id="clispectravelperiodend" type="STRING" size="256"/>
- <Column id="clispecvaccine" type="STRING" size="256"/>
- <Column id="clispebtravel" type="STRING" size="256"/>
- <Column id="clispebsymptom" type="STRING" size="256"/>
- <Column id="clispebsymptometc" type="STRING" size="256"/>
- <Column id="clispealglytest" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="state"/>
- <Col id="reptflag"/>
- <Col id="psnflag"/>
- <Col id="patnm"/>
- <Col id="sexflag"/>
- <Col id="age"/>
- <Col id="job"/>
- <Col id="jobcd"/>
- <Col id="rgstno"/>
- <Col id="rgstno2"/>
- <Col id="procernm"/>
- <Col id="zipcd1"/>
- <Col id="zipcd2"/>
- <Col id="cntcaddr1"/>
- <Col id="cntcaddr2"/>
- <Col id="tel"/>
- <Col id="residncflag"/>
- <Col id="idflag"/>
- <Col id="wrtedt"/>
- <Col id="seqno"/>
- <Col id="pid"/>
- <Col id="lglydiscd"/>
- <Col id="grup4lglydisnewsymp"/>
- <Col id="apntlglydisnm"/>
- <Col id="attackdd"/>
- <Col id="diagdd"/>
- <Col id="dethyn"/>
- <Col id="dethresn"/>
- <Col id="patflag"/>
- <Col id="cnfmsnwtestrslt"/>
- <Col id="estminfcpath"/>
- <Col id="estminfcarea"/>
- <Col id="estminfcareanaticd"/>
- <Col id="stayfromdd"/>
- <Col id="staytodd"/>
- <Col id="chgrept"/>
- <Col id="chgzipcd1"/>
- <Col id="chgzipcd2"/>
- <Col id="chgzipcdseq"/>
- <Col id="chgreptaddr"/>
- <Col id="chgreptaddrdtl"/>
- <Col id="updtreptcnts"/>
- <Col id="indd"/>
- <Col id="cretno"/>
- <Col id="cnclyn"/>
- <Col id="orddeptcd"/>
- <Col id="diagcd"/>
- <Col id="lasthistyn">Y</Col>
- <Col id="prcporddeptcd"/>
- <Col id="prcporddd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_getlglydisinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="state" type="STRING" size="256"/>
- <Column id="reptdt" type="STRING" size="256"/>
- <Column id="reptflag" type="STRING" size="256"/>
- <Column id="psnflag" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="sexflag" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="job" type="STRING" size="256"/>
- <Column id="jobcd" type="STRING" size="256"/>
- <Column id="rgstno" type="STRING" size="256"/>
- <Column id="rgstno2" type="STRING" size="256"/>
- <Column id="procernm" type="STRING" size="256"/>
- <Column id="zipcd1" type="STRING" size="256"/>
- <Column id="zipcd2" type="STRING" size="256"/>
- <Column id="cntcaddr1" type="STRING" size="256"/>
- <Column id="cntcaddr2" type="STRING" size="256"/>
- <Column id="tel" type="STRING" size="256"/>
- <Column id="residncflag" type="STRING" size="256"/>
- <Column id="idflag" type="STRING" size="256"/>
- <Column id="wrtedt" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="lglydiscd" type="STRING" size="256"/>
- <Column id="grup4lglydisnewsymp" type="STRING" size="256"/>
- <Column id="apntlglydisnm" type="STRING" size="256"/>
- <Column id="attackdd" type="STRING" size="256"/>
- <Column id="diagdd" type="STRING" size="256"/>
- <Column id="dethyn" type="STRING" size="256"/>
- <Column id="dethresn" type="STRING" size="256"/>
- <Column id="patflag" type="STRING" size="256"/>
- <Column id="cnfmsnwtestrslt" type="STRING" size="256"/>
- <Column id="estminfcpath" type="STRING" size="256"/>
- <Column id="estminfcarea" type="STRING" size="256"/>
- <Column id="estminfcareanaticd" type="STRING" size="256"/>
- <Column id="stayfromdd" type="STRING" size="256"/>
- <Column id="staytodd" type="STRING" size="256"/>
- <Column id="chgrept" type="STRING" size="256"/>
- <Column id="chgzipcd1" type="STRING" size="256"/>
- <Column id="chgzipcd2" type="STRING" size="256"/>
- <Column id="chgzipcdseq" type="STRING" size="256"/>
- <Column id="chgreptaddr" type="STRING" size="256"/>
- <Column id="chgreptaddrdtl" type="STRING" size="256"/>
- <Column id="updtreptcnts" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="cnclyn" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="lasthistyn" type="STRING" size="256"/>
- <Column id="prcporddeptcd" type="STRING" size="256"/>
- <Column id="prcporddd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="clispeaoccurdate" type="STRING" size="256"/>
- <Column id="clispeagatherdate" type="STRING" size="256"/>
- <Column id="clispeaname" type="STRING" size="256"/>
- <Column id="clispeagathercount" type="STRING" size="256"/>
- <Column id="clispeaopinion" type="STRING" size="256"/>
- <Column id="clispecpregnancy" type="STRING" size="256"/>
- <Column id="clispecpregnancyweek" type="STRING" size="256"/>
- <Column id="clispectravelperiodstart" type="STRING" size="256"/>
- <Column id="clispectravelperiodend" type="STRING" size="256"/>
- <Column id="clispecvaccine" type="STRING" size="256"/>
- <Column id="clispebtravel" type="STRING" size="256"/>
- <Column id="clispebsymptom" type="STRING" size="256"/>
- <Column id="clispebsymptometc" type="STRING" size="256"/>
- <Column id="hospnm" type="STRING" size="256"/>
- <Column id="orddr" type="STRING" size="256"/>
- <Column id="licnsno" type="STRING" size="256"/>
- <Column id="hosaddr1" type="STRING" size="256"/>
- <Column id="hosaddr2" type="STRING" size="256"/>
- <Column id="etcdeptnm" type="STRING" size="256"/>
- <Column id="lglydisnm" type="STRING" size="256"/>
- <Column id="jobnm" type="STRING" size="256"/>
- <Column id="mpphontel" type="STRING" size="256"/>
- <Column id="clamprsdnm" type="STRING" size="256"/>
- <Column id="reprtel1" type="STRING" size="256"/>
- <Column id="reprfaxno" type="STRING" size="256"/>
- <Column id="clispealglytest" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="진료과"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="state"/>
- <Col id="reptflag"/>
- <Col id="psnflag"/>
- <Col id="patnm"/>
- <Col id="sexflag"/>
- <Col id="age"/>
- <Col id="job"/>
- <Col id="jobcd"/>
- <Col id="rgstno"/>
- <Col id="rgstno2"/>
- <Col id="procernm"/>
- <Col id="zipcd1"/>
- <Col id="zipcd2"/>
- <Col id="cntcaddr1"/>
- <Col id="cntcaddr2"/>
- <Col id="tel"/>
- <Col id="residncflag"/>
- <Col id="idflag"/>
- <Col id="wrtedt"/>
- <Col id="seqno"/>
- <Col id="pid"/>
- <Col id="lglydiscd"/>
- <Col id="grup4lglydisnewsymp"/>
- <Col id="apntlglydisnm"/>
- <Col id="attackdd"/>
- <Col id="diagdd"/>
- <Col id="dethyn"/>
- <Col id="dethresn"/>
- <Col id="patflag"/>
- <Col id="cnfmsnwtestrslt"/>
- <Col id="estminfcpath"/>
- <Col id="estminfcarea"/>
- <Col id="estminfcareanaticd"/>
- <Col id="stayfromdd"/>
- <Col id="staytodd"/>
- <Col id="chgrept"/>
- <Col id="chgzipcd1"/>
- <Col id="chgzipcd2"/>
- <Col id="chgzipcdseq"/>
- <Col id="chgreptaddr"/>
- <Col id="chgreptaddrdtl"/>
- <Col id="updtreptcnts"/>
- <Col id="indd"/>
- <Col id="cretno"/>
- <Col id="cnclyn"/>
- <Col id="orddeptcd"/>
- <Col id="diagcd"/>
- <Col id="lasthistyn">Y</Col>
- <Col id="prcporddeptcd"/>
- <Col id="prcporddd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_A0372" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_radio" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="data" type="STRING" size="256"/>
- <Column id="code" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="data">1차</Col>
- <Col id="code">1</Col>
- </Row>
- <Row>
- <Col id="data">2차</Col>
- <Col id="code">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_getlglydiscdinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_P0353" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_radio_pregnancy" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onrowsetchanged="ds_radio_pregnancy_onrowsetchanged">
- <ColumnInfo>
- <Column id="data" type="STRING" size="256"/>
- <Column id="code" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="data">해당없음</Col>
- <Col id="code">1</Col>
- </Row>
- <Row>
- <Col id="data">임신안함</Col>
- <Col id="code">2</Col>
- </Row>
- <Row>
- <Col id="data">임신중</Col>
- <Col id="code">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_print" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="false" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_receive_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_prcplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="status" type="STRING" size="256" sumtext="상태"/>
- <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="prcpnm" type="STRING" size="256" sumtext="처방영문명"/>
- <Column id="prcphngnm" type="STRING" size="256" sumtext="처방한글명"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="code" type="STRING" size="256" sumtext="처방코드"/>
- <Column id="name" type="STRING" size="256" sumtext="처방명"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_main.opt_patnm" propid="value" datasetid="ds_main_lglydisinfo" columnid="patnm"/>
- <BindItem id="item1" compid="grp_main.rdo_sexflag" propid="value" datasetid="ds_main_lglydisinfo" columnid="sexflag"/>
- <BindItem id="item2" compid="grp_main.ipt_age" propid="value" datasetid="ds_main_lglydisinfo" columnid="age"/>
- <BindItem id="item3" compid="grp_main.cmb_jobcd" propid="value" datasetid="ds_main_lglydisinfo" columnid="jobcd"/>
- <BindItem id="item4" compid="grp_main.opt_rgstno" propid="value" datasetid="ds_main_lglydisinfo" columnid="rgstno"/>
- <BindItem id="item5" compid="grp_main.opt_rgstno2" propid="value" datasetid="ds_main_lglydisinfo" columnid="rgstno2"/>
- <BindItem id="item6" compid="grp_main.ipt_procernm" propid="value" datasetid="ds_main_lglydisinfo" columnid="procernm"/>
- <BindItem id="item9" compid="grp_main.out_tel" propid="value" datasetid="ds_main_lglydisinfo" columnid="tel"/>
- <BindItem id="item10" compid="grp_main.chk_residncflag" propid="value" datasetid="ds_main_lglydisinfo" columnid="residncflag"/>
- <BindItem id="item11" compid="grp_main.chk_idflag" propid="value" datasetid="ds_main_lglydisinfo" columnid="idflag"/>
- <BindItem id="item12" compid="grp_main.opt_cntcaddr1" propid="value" datasetid="ds_main_lglydisinfo" columnid="cntcaddr1"/>
- <BindItem id="item7" compid="grp_main.opt_zipcd1" propid="value" datasetid="ds_main_lglydisinfo" columnid="zipcd1"/>
- <BindItem id="item8" compid="grp_main.opt_zipcd2" propid="value" datasetid="ds_main_lglydisinfo" columnid="zipcd2"/>
- <BindItem id="item13" compid="grp_main.Calendar_occur" propid="value" datasetid="ds_main_lglydisinfo" columnid="attackdd"/>
- <BindItem id="item14" compid="grp_main.Calendar_collect" propid="value" datasetid="ds_main_lglydisinfo" columnid="clispeagatherdate"/>
- <BindItem id="item15" compid="grp_main.opt_specimen" propid="value" datasetid="ds_main_lglydisinfo" columnid="clispeaname"/>
- <BindItem id="item16" compid="grp_main.Radio_count" propid="value" datasetid="ds_main_lglydisinfo" columnid="clispeagathercount"/>
- <BindItem id="item17" compid="grp_main.Radio_count00" propid="value" datasetid="ds_main_lglydisinfo" columnid="clispecpregnancy"/>
- <BindItem id="item18" compid="grp_main.EditBox_pregnancy_week" propid="value" datasetid="ds_main_lglydisinfo" columnid="clispecpregnancyweek"/>
- <BindItem id="item19" compid="grp_main.EditBox_Travel_Contry" propid="value" datasetid="ds_main_lglydisinfo" columnid="clispebtravel"/>
- <BindItem id="item20" compid="grp_main.EditBox_Symptom_Etc" propid="value" datasetid="ds_main_lglydisinfo" columnid="clispebsymptometc"/>
- <BindItem id="item21" compid="grp_main.TextArea_opinion" propid="value" datasetid="ds_main_lglydisinfo" columnid="clispeaopinion"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- var arErrorCode = new HashArray();
- function SPASI07000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- /******************************************************************
- * Argument :
- * Description : 화면초기화
- ******************************************************************/
- function fInit(){
- ds_main_lglydisinfo.setColumn(0, "state", "");//처리구분
- ds_main_lglydisinfo.setColumn(0, "wrtedt", "");//작성일자
- ds_main_lglydisinfo.setColumn(0, "seqno", "");//seq 번호
- ds_main_lglydisinfo.setColumn(0, "lglydiscd", "");//전염병코드
- ds_main_lglydisinfo.setColumn(0, "attackdd", "");//attackdd
- ds_main_lglydisinfo.setColumn(0, "diagdd", "");//진단일
- ds_main_lglydisinfo.setColumn(0, "chgzipcd1", "");//우편번호1
- ds_main_lglydisinfo.setColumn(0, "chgzipcd2", "");//우편번호2
- ds_main_lglydisinfo.setColumn(0, "chgreptaddr", "");//주소변경
- ds_main_lglydisinfo.setColumn(0, "hngnm","");
- ds_main_lglydisinfo.setColumn(0, "wardnm","");
- ds_main_lglydisinfo.setColumn(0, "wardcd","");
- }
- function SPASI07000_onload(obj:Form, e:LoadEventInfo)
- {
- fn_fInitialize();
- ds_main_lglydisinfo.setColumn(0, "reptflag", "15"); //신고서구분 ( 15 : 검체시험의뢰서 C)
- var strYearCal = "";
- var pamInfoCvs = sysf_getGlobalVariable("paminfo"); //상단정보가 있을 경우는 검색
-
- trace("fInit 1");
-
-
- //20161227 이돈희 수정 : EMR의 범정감염병신고대상자조회에서 환자를 우클릭
- //신고서 팝업시 환자명이 상단의 환자명을 가지고 오는 것 수정
- //법정감염병 신고대상자조회 화면에서 팝업되는 경우
- if(opener.frmf_getScreenID() == "SMASI01300")
- {
- trace("fInit 3");
- ds_main_lglydisinfo.setColumn(0, "pid", opener.frmf_getParameter("pid"));
- ds_main_lglydisinfo.setColumn(0, "indd", opener.frmf_getParameter("indd"));
- ds_main_lglydisinfo.setColumn(0, "psnflag", opener.frmf_getParameter("psnflag"));
- ds_main_lglydisinfo.setColumn(0, "wrtedt", opener.frmf_getParameter("wrtedt"));
- ds_main_lglydisinfo.setColumn(0, "cretno", opener.frmf_getParameter("cretno"));
- }
- else
- {
- if( !utlf_isNull(pamInfoCvs))
- { //상단정보
- trace("fInit 2");
- ds_main_paminfo.clearData();
- dsf_setCSVToDs("ds_main_paminfo", pamInfoCvs);
-
- ds_main_lglydisinfo.setColumn(0, "psnflag", ds_main_paminfo.getColumn(0, "ioflag"));
- ds_main_lglydisinfo.setColumn(0, "pid", ds_main_paminfo.getColumn(0, "pid"));
- ds_main_lglydisinfo.setColumn(0, "cretno", ds_main_paminfo.getColumn(0, "cretno"));
-
-
- //indd, orddd : 진료일자
- //ioflag : 환자구분
- if( ds_main_paminfo.getColumn(0, "ioflag") == "O" )
- {
- ds_main_lglydisinfo.setColumn(0, "indd", ds_main_paminfo.getColumn(0, "orddd"));
- }
- else
- {
- ds_main_lglydisinfo.setColumn(0, "indd", ds_main_paminfo.getColumn(0, "indd"));
- }
- }
- }
-
-
- if( !utlf_isNull(ds_main_lglydisinfo.getColumn(0, "pid")) )
- {
- trace("fInit 4");
- //var result = 1;
- ds_send_reqdata.copyData(ds_main_lglydisinfo);
- ds_send_reqdata.setColumn(0, "prcporddeptcd", ds_send_reqdata.getColumn(0, "orddeptcd"));
- ds_send_reqdata.setColumn(0, "prcporddd", ds_send_reqdata.getColumn(0, "indd"));
-
- //신고를 위한 환자정보 조회
- dsf_setTypeFormat(ds_send_reqdata, "seqno:INT");
- var oParam = {};
- oParam.id = "SPASI07001";
- oParam.service = "infcmngtapp.LglyDisMngt";
- oParam.method = "reqGetLglyDisPatInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_getlglydisinfo=info";
- oParam.async = false;
- oParam.callback = "cf_SPASI07001";
- tranf_submit(oParam);
-
- if( arErrorCode.pop("SPASI07001") > -1 )
- {
- trace("fInit 5");
-
- //20170118 엄영만 선생님 요청 : 범정감염병 신고대상자조회 화면을 제외하고는 추가 입력 하여야함
- //작성일자와 검체시험의뢰서 내용 공백처리
- if(opener.frmf_getScreenID() != "SMASI01300")
- {
- ds_main_getlglydisinfo.setColumn(0,"wrtedt", "");
- ds_main_getlglydisinfo.setColumn(0, "lglydiscd", "")
- ds_main_getlglydisinfo.setColumn(0,"clispeaoccurdate", "");
- ds_main_getlglydisinfo.setColumn(0,"clispeagatherdate", "");
- ds_main_getlglydisinfo.setColumn(0,"clispeaname", "");
- ds_main_getlglydisinfo.setColumn(0,"clispeagathercount", "");
- ds_main_getlglydisinfo.setColumn(0,"clispeaopinion", "");
- // ds_main_getlglydisinfo.setColumn(0,"clispebtype", "");
- // ds_main_getlglydisinfo.setColumn(0,"clispebtypeetc", "");
- ds_main_getlglydisinfo.setColumn(0,"clispebtravel", "");
- ds_main_getlglydisinfo.setColumn(0,"clispebsymptom", "");
- ds_main_getlglydisinfo.setColumn(0,"clispebsymptometc", "");
- // ds_main_getlglydisinfo.setColumn(0,"clispebcontact", "");
- // ds_main_getlglydisinfo.setColumn(0,"clispebcontactetc", "");
- // ds_main_getlglydisinfo.setColumn(0,"clispebcontactafter", "");
- ds_main_getlglydisinfo.setColumn(0,"clispecpregnancy", "");
- ds_main_getlglydisinfo.setColumn(0,"clispecpregnancyweek", "");
- ds_main_getlglydisinfo.setColumn(0,"clispectravelperiodstart", "");
- ds_main_getlglydisinfo.setColumn(0,"clispectravelperiodend", "");
- ds_main_getlglydisinfo.setColumn(0,"clispecvaccine", "");
- }
-
-
- if( utlf_isNull(ds_main_getlglydisinfo.getColumn(0, "pid")) )
- {
- trace("fInit 6");
- // 외래->입원, 입원->외래로 저장한 case를 조회하기 위해.
- ds_send_reqdata.setColumn(0, "indd", ds_main_getlglydisinfo.getColumn(0, "attackdd"));
- var oParam = {};
- oParam.id = "SPASI07002";
- oParam.service = "infcmngtapp.LglyDisMngt";
- oParam.method = "reqGetLglyDisPatInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_getlglydisinfo=info";
- oParam.async = false;
- tranf_submit(oParam);
- }
-
- ds_main_lglydisinfo.copyData(ds_main_getlglydisinfo);
- //DB에서 불러오는 과정에서 Wrtdet가 초기화 되므로 다시 설정
- //ds_main_lglydisinfo.setColumn(0, "wrtedt", opener.frmf_getParameter("wrtedt"));
-
-
-
- var getState = opener.frmf_getParameter("state");
- //설명 : opener.frmf_getParameter("PrcpLglyDis") //처방에서 호출했는가 여부
- if( frmf_isPopup() && (getState == 'U' || getState == 'S' || !utlf_isNull(opener.frmf_getParameter("PrcpLglyDis"))) )
- {
- trace("fInit 7");
-
- ds_main_lglydisinfo.setColumn(0, "state", opener.frmf_getParameter("state"));
-
- //20170407 이돈희 추가 : 기존에는 시퀀스가 다 1이였는데, 시퀀스 추가
- if(!utlf_isNull(ds_main_lglydisinfo.getColumn(0, "reptflag")))
- {
- ds_main_lglydisinfo.setColumn(0, "seqno", ds_main_lglydisinfo.rowcount+1);//seq 번호
- }
- else
- {
- ds_main_lglydisinfo.setColumn(0, "seqno", "1");//seq 번호
- }
-
- ds_main_reptdtinfo.addColumn("reptdt", "string", 256);
- ds_main_reptdtinfo.addColumn("reptyn", "string", 256);
- ds_main_reptdtinfo.addColumn("chgyn", "string", 256);
- ds_main_reptdtinfo.addColumn("prt_reptdt", "string", 256);
- var iRow = ds_main_reptdtinfo.addRow();
-
- ds_main_reptdtinfo.setColumn(iRow, "reptdt", opener.frmf_getParameter("reptdt"));
- ds_main_reptdtinfo.setColumn(iRow, "reptyn", opener.frmf_getParameter("reptyn"));
- ds_main_reptdtinfo.setColumn(iRow, "chgyn", opener.frmf_getParameter("chgyn"));
- ds_main_reptdtinfo.setColumn(iRow, "prt_reptdt", opener.frmf_getParameter("prt_reptdt"));
-
- /*
- var disnm = utlf_transNullToEmpty(ds_main_lglydisinfo.getColumn(0, "lglydiscd"));
- var a = disnm.substring(0,1);
- var b = disnm.substring(1,3);
- var objNm = "chx_grup"+a+"bac"+b;
- var c = this.components["grp_main"][objNm];
- if( !utlf_isNull(c) )
- {
- trace("fInit 8");
- c.style.color = "#0000ff";
- c.style.font = "Dotum,8,bold";
- }
- */
-
- }
-
- //설명 : opener.frmf_getParameter("PrcpLglyDis") //처방에서 호출했는가 여부
- else if( frmf_isPopup() && (getState != "U" || utlf_isNull(opener.frmf_getParameter("PrcpLglyDis"))) )
- {
- trace("fInit 9");
- ds_main_lglydisinfo.setColumn(0, "state", opener.frmf_getParameter("state") );
- /*
- ds_send_reqdata.addColumn("pid", "string", 256);
- ds_send_reqdata.addColumn("reptflag", "string", 256);
- var iRow = ds_send_reqdata.addRow();
-
- ds_send_reqdata.setColumn(iRow, "pid", ds_main_lglydisinfo.getColumn(0, "pid"));
- ds_send_reqdata.setColumn(iRow, "reptflag", ds_main_lglydisinfo.getColumn(0, "reptflag"));
-
- //법정전염법정보신고일자를 조회
- var oParam = {};
- oParam.id = "SPASI07003";
- oParam.service = "infcmngtapp.LglyDisMngt";
- oParam.method = "reqGetReptdtInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_reptdtinfo=reptdtinfo";
- oParam.async = false;
- oParam.callback = "cf_SPASI07003";
- tranf_submit(oParam);
-
-
- if( !utlf_isNull(ds_main_reptdtinfo.getColumn(0, "reptyn")) )
- {
- trace("fInit 11");
- //100616 이미 신고내용이 존재할 경우(기간 고려X - 기간 : Y, N)
- var disnm = ds_main_lglydisinfo.getColumn(0, "lglydiscd");
- var lglydisnm = null;
-
- if( disnm == "499" || disnm == "999" ){
- switch(disnm){
- case '499': lglydisnm = ds_main_lglydisinfo.getColumn(0, "grup4lglydisnewsymp"); break;
- case '999': lglydisnm = ds_main_lglydisinfo.getColumn(0, "apntlglydisnm"); break;
- }
- }else{
- var a = disnm.substring(0,1);
- var b = disnm.substring(1,3);
- var objNm = "chx_grup"+a+"bac"+b;
- var disCtrl = this.components["grp_main"][objNm];
-
- if( !utlf_isNull(disCtrl) ) {
- lglydisnm = disCtrl.datacolumn;
- }
- }
-
- //진료화면에서 추가 시 초기화로 저장
- // result = messageBox(strRegtdt.substring(0,4)+"년 "+strRegtdt.substring(4,6)+"월 "+strRegtdt.substring(6,8)+"일 "
- // + lglydisnm +"(으)로 전염병이 신고되어 있어 신규 입력이 아니면 자료가 중복됩니다. \n 그래도", "Q003");
-
- result=6;
- //20161227 이돈희 주석처리 : 왜 초기화하는지 확인 필요
- //fInit();
-
- }
- else
- {
- trace("fInit 12");
- //신고 내용이 없다면
- result=6;
- }
- */
- }
-
- /*
- if( !utlf_isNull(opener.frmf_getParameter("PrcpLglyDis")) )
- { //처방에서 호출했는가 여부
- trace("fInit 13");
- //result=6;
- //처방화면에서 무조건 insert
- fInit();
-
- ds_send_reqlglydiscd.addColumn("prcpicd10cd", "string", 256);
- ds_send_reqlglydiscd.addColumn("reptflag", "string", 256);
- var iRow = ds_send_reqlglydiscd.addRow();
- ds_send_reqlglydiscd.setColumn(iRow, "prcpicd10cd", opener.frmf_getParameter("PrcpLglyDisCd"));
- ds_send_reqlglydiscd.setColumn(iRow, "reptflag", "01");
-
- //상병 체크를 위한 submit
- //lglydiscd 진단코드
- //lglydisnm 진단명
- var oParam = {};
- oParam.id = "SPASI07004";
- oParam.service = "infcmngtapp.LglyDisMngt";
- oParam.method = "reqGetLglyDisCdInfo";
- oParam.inds = "req=ds_send_reqlglydiscd";
- oParam.outds = "ds_main_getlglydiscdinfo=info";
- oParam.async = false;
- tranf_submit(oParam);
-
- //상병에 파란색 볼드체 표시
- var lglydiscd = ds_main_getlglydiscdinfo.getColumn(0, "lglydiscd");
- ds_main_lglydisinfo.setColumn(0, "lglydiscd", lglydiscd);
- if( lglydiscd == "416" ){ //J09조류인플루엔자의 경우
- trace("fInit 14");
- ds_main_lglydisinfo.setColumn(0, "lglydiscd", "499");
-
- grp_main.chx_newbac.style.color = "#0000ff";
- grp_main.chx_newbac.style.font = "Dotum,8,bold";
- }
- else if( lglydiscd == "999" )
- {
- trace("fInit 15");
- grp_main.chx_apntlglydis.style.color = "#0000ff";
- grp_main.chx_apntlglydis.style.font = "Dotum,8,bold";
- }
- else
- {
- trace("fInit 16");
- var disnm = ds_main_lglydisinfo.getColumn(0, "lglydiscd");
- var a = disnm.substring(0,1);
- var b = disnm.substring(1,3);
- var objNm = "chx_grup"+a+"bac"+b;
- var c = this.components["grp_main"][objNm];
-
- if( !utlf_isNull(c) ) {
- c.style.color = "#0000ff";
- c.style.font = "Dotum,8,bold";
- }
- }
- }
- else
- { //처방호출이 아닌경우
- trace("fInit 17");
-
- if( !utlf_isNull(ds_main_lglydisinfo.getColumn(0, "pid")) )
- {
- trace("fInit 18");
-
- fChkCnclYN(); //삭제된 신고건인지 체크
- }
- }
- */
- }
-
- }
- else
- {
- trace("fInit 19");
- btn_cncl.enable = false;
- btn_save.enable = false;
- btn_init.enable = false;
- }
-
- //화면 오픈시 진단일 오늘날짜로 셋팅
- ds_main_lglydisinfo.setColumn(0, "diagdd", utlf_getCurrentDate());
-
- //20170407 감염관리팀 김성진 선생님 요청으로 발병일 및 검체채취일을 기본 오늘 날짜로 셋팅
- ds_main_lglydisinfo.setColumn(0, "attackdd", utlf_getCurrentDate());
- ds_main_lglydisinfo.setColumn(0, "clispeagatherdate", utlf_getCurrentDate());
-
- //체크박스 불러온 값 적용
- fn_getCheckBoxSymptom();
- fn_getCheckBoxVaccine();
-
- //화면 열때 여행기간 표시
- grp_main.cp_TravelperiodCal.cal_from.value = ds_main_lglydisinfo.getColumn(0,"clispectravelperiodstart");
- grp_main.cp_TravelperiodCal.cal_to.value = ds_main_lglydisinfo.getColumn(0,"clispectravelperiodend");
-
- //20170213 이돈희 추가 : 화면 열때 시험항목 자동 입력
- fFindLgLyTest();
- }
- function fn_fInitialize(){
- appf_getCodeList( [{dsNm: "ds_M0149", cdGrpId: "M0149"} //직업
- , {dsNm: "ds_P0353", cdGrpId: "P0353"} //국적명
- , {dsNm: "ds_A0372", cdGrpId: "A0372"}], true ); //변경신고
-
- }
- /******************************************************************
- * Argument :
- * Description : 삭제된건은 조회만 가능
- ******************************************************************/
- function fChkCnclYN(){
- //cnclyn : 제외대상여부 Y : 제외
- if( ds_main_lglydisinfo.getColumn(0, "cnclyn") == "Y" ){
- if( opener.frmf_getParameter("state") == "S" ){
- sysf_messageBox("삭제된 신고서", "I009");
- btn_cncl.visible = false;
- } else {
- fInit();
- }
- }
- }
- function cf_SPASI07001(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function cf_SPASI07003(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function cf_SPASI07005(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function cf_SPASI07006(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function btn_save_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_isNull(ds_main_lglydisinfo.getColumn(0,"clispeaopinion")))
- {
- sysf_messageBox("담당의사소견소는","I003");
- return;
- }
-
- //체크박스 값 구성
- fn_setCheckBoxSymptom();
- fn_setCheckBoxVaccine();
-
- //여행기간 저장
- ds_main_lglydisinfo.setColumn(0,"clispectravelperiodstart",grp_main.cp_TravelperiodCal.cal_from.value);
- ds_main_lglydisinfo.setColumn(0,"clispectravelperiodend",grp_main.cp_TravelperiodCal.cal_to.value);
-
- ds_main_lglydisinfo.setColumn(0,"reptflag", "15");
- //20161227 이돈희 수정 : lglydiscd을 임의로 셋팅하면 안되므로 주석처리
- //ds_main_lglydisinfo.setColumn(0,"lglydiscd", "999");//lglydiscd가 Not Null이여서 전염병코드 임의 입력
- //20161230 이돈희 수정 : 김동규선생님 => 저장시 법정감염병코드 입력 필요
- ds_main_lglydisinfo.setColumn(0,"lglydiscd", "506");//lglydiscd가 Not Null이여서 전염병코드 임의 입력
- //20161230 이돈희 수정 : orddeptcd 진료과 입력 필요
- ds_main_lglydisinfo.setColumn(0, "orddeptcd", ds_main_paminfo.getColumn(0, "orddeptcd"));
-
- if(utlf_isNull(ds_main_lglydisinfo.getColumn(0,"wrtedt")))
- {
- ds_main_lglydisinfo.setColumn(0,"state", "I");
- ds_main_lglydisinfo.setColumn(0,"wrtedt", utlf_getCurrentDate() +""+ utlf_getCurrentTime());
- }
- else
- {
- ds_main_lglydisinfo.setColumn(0,"state", "U");
- }
-
- //20161229 이돈희 수정 : 발병일로 clispeaoccurdate을 추가하였는데 기존에 사용하는 attackdd가 있으므로
- //attackdd를 사용하되 문서 출력시에는 clispeaoccurdate을 사용하므로 복사
- var vaAttackdd = ds_main_lglydisinfo.getColumn(0,"attackdd");
- ds_main_lglydisinfo.setColumn(0,"clispeaoccurdate",vaAttackdd);
-
- ds_send_reqdata.copyData(ds_main_lglydisinfo);
-
- var curstate = ds_main_lglydisinfo.getColumn(0,"state")
-
- var oParam = {};
- oParam.id = "SPASI07005";
- oParam.service = "infcmngtapp.LglyDisMngt";
- oParam.method = "reqSetClinicalSpecimen";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_getlglydisinfo=item";
- oParam.async = false;
- oParam.callback = "cf_SPASI07005";
-
- tranf_submit(oParam);
-
- if(arErrorCode.pop("SPASI07005") > -1)
- {
- //ds_infcsmmrsltreptlist.copyData(ds_getlglydisinfo);
- if(curstate == "I"){
- sysf_messageBox("저장되었습니다","I");
- }else if (curstate == "U"){
- sysf_messageBox("수정되었습니다.","I");
- }
-
- //요구사항에 저장시 프린터 기능이 있음
- //20170109 이윤주선생님 요청으로 저장시 프린터 기능 보류
- //20170119 감염관리과 요청 : 첫 저장일때 자동 출력 할 것
- if(curstate == "I")
- {
- fPrint();
- }
-
- //fPrint();
- if(opener.frmf_getScreenID() == "SMASI01300")
- {
- opener.grp_sea.btn_search.click();
- }
-
- //20170123 이돈희 추석처리 : 프린트 후 창 닫힘 처리는 콜백에 추가해야함
- //this.close();
-
- //20170123 이돈희 추가 : update 시에 창 닫힘 추가
- if (curstate == "U")
- {
- this.close();
- }
- }
- }
- function fPrint()
- {
- var instcd = sysf_getUserInfo("dutplceinstcd");
- //20170102 이돈희 추가 : 법정감염병 새로 추가하는 경우 병원 주소, 전화번호등 못가져오는 경우 있음
- //=> 초기 화면 로딩시 법정감염병이력에 없으므로 아무 정보가 없으므로 못가져옴
- //=> 출력시 한번 더 검색하여 이미 법정감염병 이력이 저장되었으므로 정보 가져올수 있음
- ds_send_reqdata.copyData(ds_main_lglydisinfo);
- ds_send_reqdata.deleteColumn("wrtedt");
- //법정전염병신고를 위한 환자정보 조회
- var oParam = {};
- oParam.id = "SPASI07007";
- oParam.service = "infcmngtapp.LglyDisMngt";
- oParam.method = "reqGetLglyDisPatInfo";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_main_getlglydisinfo=info";
- oParam.async = false;
- oParam.callback = "cf_SPASI07007";
- tranf_submit(oParam);
-
- if( arErrorCode.pop("SPASI07007") > -1 )
- {
- try
- {
- //CopyRow할 때 컬럼이 없는 경우 데이터 복사가 안되는 현상으로
- //Column 복사를 위해 CopyData 후 Deleteall을 해줌
- if(instcd == "032"){
- dsf_makeValue(ds_main_getlglydisinfo, "insthospdirct", "string", "칠곡경북대학교병원장");
- }else{
- dsf_makeValue(ds_main_getlglydisinfo, "insthospdirct", "string", "경북대학교병원장");
- }
- ds_main_print.copyData(ds_main_getlglydisinfo);
- ds_main_print.deleteAll();
-
- //Row 추가 후 ds_main_getlglydisinfo의 첫번째 Row 복사
- var nRow = ds_main_print.addRow();
- var vaSucc = ds_main_print.copyRow(nRow,ds_main_getlglydisinfo,0);
-
- //trace("11111");
- var objDOM = rptf_createDOM();
- fClinicalSpecimenCAdditionalData(1);
-
-
- rptf_setNodeListToDOM(objDOM, "/root/temp/lglydisrepttrgtmaninfo/lglydisrepttrgtmanlist", ds_main_print); // 데이터셋 1
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- //var option = "open=1;save=1;directprint=0;print=0;zoom=0;";
- var option = "open=1;save=1;directprint=1;print=1;zoom=0;callback=cbf_rpt_onFinishPrintXML;printdialog=0";
- rptf_exeReportPreview30(["RPASI07000"],[objParam], option);
- }
- catch(E)
- {
- sysf_messageBox("출력 시 오류가 발생했습니다! 재출력 하시기 바랍니다.", "E000");
- close();
- }
- }
-
- }
- function cbf_rpt_onFinishPrintXML()
- {
- close();
- }
- function fClinicalSpecimenCAdditionalData(vaData)
- {
- //20161229 이돈희 수정 : 기존에 있는 Rexpert 컬럼 명칭 맞추기 위하여 수정
- ds_main_print.addColumn("name", "string", 256);
- var vaName = ds_main_print.getColumn(0,"patnm");
- ds_main_print.setColumn(0,"name", vaName);
- ds_main_print.addColumn("sex", "string", 1);
- var vaSex = ds_main_print.getColumn(0,"sexflag");
- ds_main_print.setColumn(0,"sex", vaSex);
- var vaJob = ds_main_print.getColumn(0,"jobnm");
- ds_main_print.setColumn(0,"jobcd", vaJob);
- ds_main_print.addColumn("rrgstno1", "string", 6);
- var vaRgstno1 = ds_main_print.getColumn(0,"rgstno");
- ds_main_print.setColumn(0,"rrgstno1", vaRgstno1);
- ds_main_print.addColumn("detladdr", "string", 6);
- var vaDetladdr = ds_main_print.getColumn(0,"cntcaddr1");
- ds_main_print.setColumn(0,"detladdr", vaDetladdr);
-
- //20170213 이돈희 추가 : 시험항목은 addition1 컬럼에 추가
- ds_main_print.addColumn("addition1", "string", 256);
-
- //20170302 이돈희 추가 : 검체인수인계일 addition2 컬럼에 추가
- ds_main_print.addColumn("addition2", "string", 256);
-
- //20170302 이돈희 추가 : 진료과 addition3 컬럼에 추가
- ds_main_print.addColumn("addition3", "string", 256);
-
-
- ds_main_print.addColumn("address", "string", 256);
- ds_main_print.addColumn("telnumber", "string", 256);
- ds_main_print.addColumn("currentyear", "string", 10);
- ds_main_print.addColumn("currentmonth", "string", 10);
- ds_main_print.addColumn("currentday", "string", 10);
- ds_main_print.addColumn("lglydiscdname", "string", 256);
-
- for( var iIndex = 0; iIndex < vaData; iIndex++ )
- {
- //주소 구성
- var vaAddress = "";
- vaAddress = utlf_transNullToEmpty(ds_main_print.getColumn(iIndex,"hosaddr1"))+" ";
- vaAddress = vaAddress + utlf_transNullToEmpty(ds_main_print.getColumn(iIndex,"hosaddr2"))+" ";
- vaAddress = vaAddress + utlf_transNullToEmpty(ds_main_print.getColumn(iIndex,"hospnm"))+" ";
- vaAddress = vaAddress + utlf_transNullToEmpty(ds_main_print.getColumn(iIndex,"etcdeptnm"));
- ds_main_print.setColumn(iIndex, "address", vaAddress);
-
- //전화번호 및 팩스번호 구성
- var vaTelnumber = "";
- vaTelnumber = "(전화번호 : ";
- vaTelnumber = vaTelnumber + ds_main_print.getColumn(iIndex,"reprtel1");
- vaTelnumber = vaTelnumber + "), (Fax 번호 : ";
- vaTelnumber = vaTelnumber + ds_main_print.getColumn(iIndex,"reprfaxno");
- vaTelnumber = vaTelnumber + ")";
- ds_main_print.setColumn(iIndex, "telnumber", vaTelnumber);
-
- //오늘 날짜 구성
- var vaCurrentyear = utlf_getYear();
- var vaCurrentmonth = utlf_getMonth();
- var vaCurrentday = utlf_getDate();
- ds_main_print.setColumn(iIndex, "currentyear", vaCurrentyear);
- ds_main_print.setColumn(iIndex, "currentmonth", vaCurrentmonth);
- ds_main_print.setColumn(iIndex, "currentday", vaCurrentday);
-
- //감염병명 추가
- var vaLglydiscdname = "(" + ds_main_print.getColumn(iIndex,"lglydisnm") + ") 검체시험의뢰서";
- ds_main_print.setColumn(iIndex, "lglydiscdname", vaLglydiscdname);
-
- //20170213 이돈희 추가 : 시험항목은 addition1 컬럼에 추가
- ds_main_print.setColumn(iIndex, "addition1", ds_main_lglydisinfo.getColumn(0, "clispealglytest"));
-
- //20170302 이돈희 추가 : 검체인수인계일 addition2 컬럼에 추가
- var vaInsertDay = ds_main_lglydisinfo.getColumn(iIndex, "wrtedt");
- var vaYear = utlf_mid(vaInsertDay,0,4);
- var vaMonth = utlf_mid(vaInsertDay,5,2);
- var vaDay = utlf_mid(vaInsertDay,7,2);
- var vaHour = utlf_mid(vaInsertDay,9,2)
- var vaPrintDate = " "+vaYear +" 년 " + vaMonth + " 월 " + vaDay + " 월 " + vaHour + " 시";
- ds_main_print.setColumn(iIndex, "addition2", vaPrintDate);
-
- //20170302 이돈희 추가 : 진료과 addition3 컬럼에 추가
- ds_main_print.setColumn(iIndex, "addition3", ds_main_lglydisinfo.getColumn(0, "deptnm"));
-
- }
-
- //증상
- fn_getCheckBoxCSymptomForPrint(vaData);
-
- //백신
- fn_getCheckBoxVaccineForPrint(vaData);
- }
- //20161223 이돈희 추가 : 출력을 위한 체크박스 데이터 생성
- function fn_getCheckBoxVaccineForPrint(vaData)
- {
- ds_main_print.addColumn("clispecvaccine1", "string", 1);
- ds_main_print.addColumn("clispecvaccine2", "string", 1);
- ds_main_print.addColumn("clispecvaccine3", "string", 1);
-
- for( var jIndex = 0; jIndex < vaData; jIndex++ )
- {
- var value = ds_main_print.getColumn(jIndex,"clispecvaccine");
-
- ds_main_print.setColumn(jIndex, "clispecvaccine1", "0");
- ds_main_print.setColumn(jIndex, "clispecvaccine2", "0");
- ds_main_print.setColumn(jIndex, "clispecvaccine3", "0");
-
- if(!utlf_isNull(value))
- {
- var iExLoc = 0;
- var tempValue = "";
- for(var iIndex = 0; iIndex < value.length ; iIndex++)
- {
- if(value.charAt(iIndex)== ",")
- {
- tempValue = value.substring(iExLoc, iIndex);
- iExLoc = iIndex+1;
-
- if(tempValue == "1")
- {
- ds_main_print.setColumn(jIndex, "clispecvaccine1", "1");
- }
-
- if(tempValue == "2")
- {
- ds_main_print.setColumn(jIndex, "clispecvaccine2", "1");
- }
-
- if(tempValue == "3")
- {
- ds_main_print.setColumn(jIndex, "clispecvaccine3", "1");
- }
- }
- }
- }
- }
- }
- function fn_getCheckBoxCSymptomForPrint(vaData)
- {
- //검체시험의뢰서 C 서식의 주요증상
- ds_main_print.addColumn("clispebsymptom1", "string", 1);
- ds_main_print.addColumn("clispebsymptom1temp", "string", 10);
- ds_main_print.addColumn("clispebsymptom2", "string", 1);
- ds_main_print.addColumn("clispebsymptom3", "string", 1);
- ds_main_print.addColumn("clispebsymptom4", "string", 1);
- ds_main_print.addColumn("clispebsymptom5", "string", 1);
- ds_main_print.addColumn("clispebsymptom6", "string", 1);
- ds_main_print.addColumn("clispebsymptom7", "string", 1);
-
- for( var jIndex = 0; jIndex < vaData; jIndex++ )
- {
- ds_main_print.setColumn(jIndex, "clispebsymptom1", "0");
- ds_main_print.setColumn(jIndex, "clispebsymptom1temp", "");
- ds_main_print.setColumn(jIndex, "clispebsymptom2", "0");
- ds_main_print.setColumn(jIndex, "clispebsymptom3", "0");
- ds_main_print.setColumn(jIndex, "clispebsymptom4", "0");
- ds_main_print.setColumn(jIndex, "clispebsymptom5", "0");
- ds_main_print.setColumn(jIndex, "clispebsymptom6", "0");
- ds_main_print.setColumn(jIndex, "clispebsymptom7", "0");
-
- var value = ds_main_print.getColumn(jIndex,"clispebsymptom");
-
- if(!utlf_isNull(value))
- {
- var iExLoc = 0;
- var tempValue = "";
- for(var iIndex = 0; iIndex < value.length ; iIndex++)
- {
- if(value.charAt(iIndex)== ",")
- {
- tempValue = value.substring(iExLoc, iIndex);
- iExLoc = iIndex+1;
-
- if(tempValue == "1")
- {
- ds_main_print.setColumn(jIndex, "clispebsymptom1", "1");
-
-
- //발열이 체크된 경우 온도값 입력 처리
- var heatIndex = value.indexOf(",",iExLoc);
- var heatValue = value.substring(iExLoc, heatIndex);
- ds_main_print.setColumn(jIndex, "clispebsymptom1temp", heatValue);
- iIndex = heatIndex - 1;
- }
-
- if(tempValue == "2")
- {
- ds_main_print.setColumn(jIndex, "clispebsymptom2", "1");
- }
-
- if(tempValue == "3")
- {
- ds_main_print.setColumn(jIndex, "clispebsymptom3", "1");
- }
-
- if(tempValue == "4")
- {
- ds_main_print.setColumn(jIndex, "clispebsymptom4", "1");
- }
-
- if(tempValue == "5")
- {
- ds_main_print.setColumn(jIndex, "clispebsymptom5", "1");
- }
-
- if(tempValue == "6")
- {
- ds_main_print.setColumn(jIndex, "clispebsymptom6", "1");
- }
-
- if(tempValue == "7")
- {
- ds_main_print.setColumn(jIndex, "clispebsymptom7", "1");
- }
- }
- }
- }
- }
-
- }
- function fn_setCheckBoxSymptom()
- {
- //증상 항목을 DB에 작성하도록 데이터 수정
-
- var tmp = "";
- if(grp_main.CheckBox_Symptom_Heat.value == true)
- {
- tmp = "1,";
-
- // 온도를 "1," 뒤에 입력
- tmp = tmp + grp_main.EditBox_Symptom_Heat.value + ",";
- }
-
- if(grp_main.CheckBox_Symptom_Rash.value == true)
- {
- tmp = tmp + "2,";
- }
-
- if(grp_main.CheckBox_Symptom_Headache.value == true)
- {
- tmp = tmp + "3,";
- }
-
- if(grp_main.CheckBox_Symptom_MusclePain.value == true)
- {
- tmp = tmp + "4,";
- }
-
- if(grp_main.CheckBox_Symptom_Arthrodynia.value == true)
- {
- tmp = tmp + "5,";
- }
-
- if(grp_main.CheckBox_Symptom_Conjunctival.value == true)
- {
- tmp = tmp + "6,";
- }
-
- if(grp_main.CheckBox_Symptom_Etc.value == true)
- {
- tmp = tmp + "7,";
- }
-
- ds_main_lglydisinfo.setColumn(0, "clispebsymptom", tmp);
- }
- function fn_getCheckBoxSymptom()
- {
- //DB에서 읽어온 증상값을 전시가능하도록 데이터 수정
- grp_main.CheckBox_Symptom_Heat.value = "false";
- grp_main.CheckBox_Symptom_Rash.value = "false";
- grp_main.CheckBox_Symptom_Headache.value = "false";
- grp_main.CheckBox_Symptom_MusclePain.value = "false";
- grp_main.CheckBox_Symptom_Arthrodynia.value = "false";
- grp_main.CheckBox_Symptom_Conjunctival.value = "false";
- grp_main.CheckBox_Symptom_Etc.value = "false";
-
- var value = ds_main_lglydisinfo.getColumn(0,"clispebsymptom");
-
- if(!utlf_isNull(value))
- {
- var iExLoc = 0;
- var tempValue = "";
- for(var iIndex = 0; iIndex < value.length ; iIndex++)
- {
- if(value.charAt(iIndex)== ",")
- {
- tempValue = value.substring(iExLoc, iIndex);
- iExLoc = iIndex+1;
-
- if(tempValue == "1")
- {
- grp_main.CheckBox_Symptom_Heat.value = "true";
-
-
- //발열이 체크된 경우 온도값 입력 처리
- var heatIndex = value.indexOf(",",iExLoc);
- var heatValue = value.substring(iExLoc, heatIndex);
- grp_main.EditBox_Symptom_Heat.value = heatValue;
- iIndex = heatIndex - 1;
- }
-
- if(tempValue == "2")
- {
- grp_main.CheckBox_Symptom_Rash.value = "true";
- }
-
- if(tempValue == "3")
- {
- grp_main.CheckBox_Symptom_Headache.value = "true";
- }
-
- if(tempValue == "4")
- {
- grp_main.CheckBox_Symptom_MusclePain.value = "true";
- }
-
- if(tempValue == "5")
- {
- grp_main.CheckBox_Symptom_Arthrodynia.value = "true";
- }
-
- if(tempValue == "6")
- {
- grp_main.CheckBox_Symptom_Conjunctival.value = "true";
- }
-
- if(tempValue == "7")
- {
- grp_main.CheckBox_Symptom_Etc.value = "true";
- }
- }
- }
- }
- fn_Check_CheckBox_Symptom_Etc();
-
- }
- function fn_Check_CheckBox_Symptom_Etc()
- {
- //CheckBox_Symptom_Etc 및 발열 체크 유무에 따라 에디트박스 활성화 유무 결정
- if(grp_main.CheckBox_Symptom_Etc.value == true )
- {
- grp_main.EditBox_Symptom_Etc.enable = true;
- }
- else
- {
- grp_main.EditBox_Symptom_Etc.enable = false;
- grp_main.EditBox_Symptom_Etc.value = "";
- }
-
- if(grp_main.CheckBox_Symptom_Heat.value == true)
- {
- grp_main.EditBox_Symptom_Heat.enable = true;
- }
- else
- {
- grp_main.EditBox_Symptom_Heat.enable = false;
- grp_main.EditBox_Symptom_Heat.value = "";
- }
- }
- function grp_main_CheckBox_Symptom_Etc_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- //체크박스 기타 선택시 기타 에디트박스 활성화 유무 설정
- if(grp_main.CheckBox_Symptom_Etc.value == true )
- {
- grp_main.EditBox_Symptom_Etc.enable = true;
- }
- else
- {
- grp_main.EditBox_Symptom_Etc.enable = false;
- grp_main.EditBox_Symptom_Etc.value = "";
- }
- }
- function grp_main_CheckBox_Symptom_Heat_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- //체크박스 발열 선택시 온도 활성화 유무 설정
- if(grp_main.CheckBox_Symptom_Heat.value == true)
- {
- grp_main.EditBox_Symptom_Heat.enable = true;
- }
- else
- {
- grp_main.EditBox_Symptom_Heat.enable = false;
- grp_main.EditBox_Symptom_Heat.value = "";
- }
- }
- function ds_main_lglydisinfo_onvaluechanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- //임신여부를 composite를 사용함으로써 event 사용이 안되어
- //Dataset 의 변경 event 이용
-
- var vaPregnancy = obj.getColumn(0,"clispecpregnancy");
-
- switch(vaPregnancy)
- {
- case "3":
- grp_main.EditBox_pregnancy_week.enable = true;
- break;
- default:
- grp_main.EditBox_pregnancy_week.enable = false;
- grp_main.EditBox_pregnancy_week.value = "";
- break;
- }
- }
- function fn_setCheckBoxVaccine()
- {
- //백신 항목을 DB에 작성하도록 데이터 수정
- grp_main.CheckBox_Vaccine_Japanese
- var tmp = "";
- if(grp_main.CheckBox_Vaccine_Japanese.value == true)
- {
- tmp = "1,";
- }
-
- if(grp_main.CheckBox_Vaccine_Yellow.value == true)
- {
- tmp = tmp + "2,";
- }
-
- if(grp_main.CheckBox_Vaccine_Etc.value == true)
- {
- tmp = tmp + "3,";
- }
-
- ds_main_lglydisinfo.setColumn(0, "clispecvaccine", tmp);
- }
- function fn_getCheckBoxVaccine()
- {
- //DB에서 읽어온 분류값을 전시가능하도록 데이터 수정
- grp_main.CheckBox_Vaccine_Japanese.value = "false";
- grp_main.CheckBox_Vaccine_Yellow.value = "false";
- grp_main.CheckBox_Vaccine_Etc.value = "false";
-
- var value = ds_main_lglydisinfo.getColumn(0,"clispecvaccine");
-
- if(!utlf_isNull(value))
- {
- var iExLoc = 0;
- var tempValue = "";
- for(var iIndex = 0; iIndex < value.length ; iIndex++)
- {
- if(value.charAt(iIndex)== ",")
- {
- tempValue = value.substring(iExLoc, iIndex);
- iExLoc = iIndex+1;
-
- if(tempValue == "1")
- {
- grp_main.CheckBox_Vaccine_Japanese.value = "true";
- }
-
- if(tempValue == "2")
- {
- grp_main.CheckBox_Vaccine_Yellow.value = "true";
- }
-
- if(tempValue == "3")
- {
- grp_main.CheckBox_Vaccine_Etc.value = "true";
- }
- }
- }
- }
-
- }
- function btn_cncl_onclick(obj:Button, e:ClickEventInfo)
- {
- var bProgress = true;
- var reptdt = ds_main_lglydisinfo.getColumn( 0,"reptdt" );
-
- if( utlf_isNull(ds_main_lglydisinfo.getColumn(0, "reptdt")) || reptdt.substring(0, 8) != "99991231" )
- {
- sysf_messageBox( "이미 신고된 건은 삭제" ,"E001" );
- bProgress = false;
- }
-
- if( utlf_isNull(ds_main_lglydisinfo.getColumn(0, "wrtedt")) )
- {
- sysf_messageBox( "저장되지 않은 건은 삭제" ,"E001" );
- bProgress = false;
- }
-
- if(bProgress == true)
- {
- var result = sysf_messageBox("", "Q001");
-
- ds_send_reqdata.copyData(ds_main_lglydisinfo);
- ds_send_reqdata.setColumn(0, "prcporddeptcd", ds_send_reqdata.getColumn(0, "orddeptcd"));
- ds_send_reqdata.setColumn(0, "prcporddd", ds_send_reqdata.getColumn(0, "indd"));
-
-
- if( result == "7" )
- {
- sysf_messageBox( "삭제가 취소되었습니다", "I" );
- }
- else if( result == "6" )
- {
- ds_main_lglydisinfo.setColumn(0,"reptflag", "15");
- ds_main_lglydisinfo.setColumn(0,"lglydiscd", "506");//lglydiscd가 Not Null이여서 전염병코드 임의 입력
- ds_main_lglydisinfo.setColumn(0,"state", "D");
-
- var oParam = {};
- oParam.id = "SPASI07006";
- oParam.service = "infcmngtapp.LglyDisMngt";
- oParam.method = "reqSetClinicalSpecimen";
- oParam.inds = "req=ds_main_lglydisinfo";
- oParam.outds = "ds_main_getlglydisinfo=info";
- oParam.async = false;
- oParam.callback = "cf_SPASI07006";
- tranf_submit(oParam);
- if( arErrorCode.pop("SPASI07006") > -1 )
- {
- sysf_messageBox( "삭제" ,"I001" );
- opener.grp_sea.btn_search.click();
- this.close();
- }
- }
-
- ds_main_lglydisinfo.copyData(ds_main_getlglydisinfo);
- //DB에서 불러오는 과정에서 Wrtdet가 초기화 되므로 다시 설정
- //ds_main_lglydisinfo.setColumn(0, "wrtedt", opener.frmf_getParameter("wrtedt"));
- }
-
-
- }
- function btn_init_onclick(obj:Button, e:ClickEventInfo)
- {
- grp_main.Calendar_collect.value = "";
- grp_main.Calendar_occur.value = "";
- grp_main.opt_specimen.value = "";
- grp_main.EditBox_pregnancy_week.value = "";
- grp_main.EditBox_Travel_Contry.value = "";
- grp_main.cp_TravelperiodCal.cal_from.value = "";
- grp_main.cp_TravelperiodCal.cal_to.value = "";
- grp_main.EditBox_Symptom_Heat.value = "";
- grp_main.EditBox_Symptom_Etc.value = "";
- grp_main.CheckBox_Symptom_Heat.value = "";
- grp_main.CheckBox_Symptom_Rash.value = "";
- grp_main.CheckBox_Symptom_Headache.value = "";
- grp_main.CheckBox_Symptom_MusclePain.value = "";
- grp_main.CheckBox_Symptom_Arthrodynia.value = "";
- grp_main.CheckBox_Symptom_Conjunctival.value = "";
- grp_main.CheckBox_Symptom_Etc.value = "";
- grp_main.CheckBox_Vaccine_Japanese.value = "";
- grp_main.CheckBox_Vaccine_Yellow.value = "";
- grp_main.CheckBox_Vaccine_Etc.value = "";
- grp_main.TextArea_opinion.deleteText();
- }
- function cf_SPASI07007(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function cf_SPASI07008(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- //20170213 이돈희 추가 : 병명코드로 검사코드 가져온 후 처방검사명 찾기
- function fFindLgLyTest()
- {
- var vaPrcpCode = "";
- vaPrcpCode = "LKC014";
-
- ds_send_prcplist.setColumn(0, "code", vaPrcpCode);
- var oParam = {};
- oParam.id = "SPASI07008";
- oParam.service = "prcpmngtapp.PatDiagMngt";
- oParam.method = "reqGetPrcpTermSrch";
- oParam.inds = "req=ds_send_prcplist";
- oParam.outds = "ds_receive_prcplist=prcplist";
- oParam.async = false;
- oParam.callback = "cf_SPASI07008";
-
- tranf_submit(oParam);
-
- if(arErrorCode.pop("SPASI07008") > -1)
- {
- var vaPrcpName = ds_receive_prcplist.getColumn(0, "prcphngnm");
- ds_main_lglydisinfo.setColumn(0, "clispealglytest" ,vaPrcpName);
- }
-
- }]]></Script>
- </Form>
- </FDL>
|