1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNW04000" position="absolute 0 0 1198 824" titletext="중증도/낙상/욕창 위험평가" oninit="SMMNW04000_oninit" onload="SMMNW04000_onload" ontimer="SMMNW04000_ontimer">
- <Layouts>
- <Layout>
- <Static id="caption14" text="중증도 입력내역" class="tit_2" position="absolute 0 27 139 47"/>
- <Button id="button4" taborder="1" text="인증저장" class="btn5" position="absolute 1125 22 1189 43" onclick="button4_onclick"/>
- <Shape id="line1" class="line_10" position="absolute 464 44 1194 48"/>
- <Div id="group5" taborder="2" position="absolute 0 45 465 109" class="div_SA">
- <Layouts>
- <Layout>
- <Shape id="line8" linetype="vertical" class="line_4" position="absolute 387 37 393 56" anchor="default"/>
- <Combo id="cmb_ward" taborder="6" innerdataset="@ds_hidden_wardcdgruplist" codecolumn="wardcd" datacolumn="wardnm" class="combo_s_essential" position="absolute 79 9 164 30" anchor="default" onitemchanged="group5_cmb_ward_onitemchanged"/>
- <Combo id="cmb_room" taborder="7" innerdataset="@ds_hidden_roomcdgruplist" codecolumn="roomcd" datacolumn="roomnm" class="combo_search" position="absolute 174 9 245 30" anchor="default" onitemchanged="group5_cmb_room_onitemchanged"/>
- <Combo id="cmb_pid" taborder="8" innerdataset="@ds_data_patientgruplist" codecolumn="pid" datacolumn="patientnm" class="combo_search" visible="false" position="absolute 259 9 380 30" anchor="default" onitemchanged="group5_cmb_pid_onitemchanged"/>
- <Static id="caption35" text="Room :" class="search_name" position="absolute 5 11 79 28" anchor="default"/>
- <Static id="caption4" text="조회구분 :" class="search_name" position="absolute 5 39 76 56" anchor="default"/>
- <Edit id="otp_dsch" taborder="9" readonly="true" visible="false" position="absolute 254 9 374 30" anchor="default"/>
- <Combo id="cmb_zone" taborder="10" innerdataset="@ds_temp2_zoneinfo" codecolumn="bedcd" datacolumn="bednm" class="combo_search" visible="false" position="absolute 169 9 240 30" anchor="default" onitemchanged="group5_cmb_zone_onitemchanged"/>
- <Combo id="cmb_erpat" taborder="11" innerdataset="@ds_data_patientgruplist" codecolumn="pid" datacolumn="patientnm" class="combo_s_essential" visible="false" position="absolute 260 9 456 30" anchor="default" onitemchanged="group5_cmb_erpat_onitemchanged"/>
- <Combo id="cmb_settingrn" taborder="13" innerdataset="@ds_hidden_settingrn" codecolumn="settingrnid" datacolumn="settingrnnm" class="combo_search" position="absolute 366 9 456 30" anchor="default" onitemchanged="group5_cmb_settingrn_onitemchanged"/>
- <Button id="btn_ref" taborder="14" text="조회" class="btn1" position="absolute 400 35 456 57" anchor="default" onclick="group5_btn_ref_onclick"/>
- <Static id="caption3" text="내환자 :" class="search_name" position="absolute 305 12 363 29" anchor="default"/>
- <CheckBox id="rdo_recflagAll" taborder="15" class="radio_search" position="absolute 289 36 334 56" text="전체" onclick="group5_rdo_recflagAll_onclick" truevalue="A" falsevalue="N"/>
- <cp_checkboxList id="rdo_recflag" titletext="CheckBox List" taborder="16" text="cp_checkboxList00" scrollbars="none" position="absolute 79 36 218 59" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption7" text="중증도구분" class="cell_1" position="absolute 468 48 547 109"/>
- <Radio id="rdo_clsflaga" taborder="3" columncount="2" rowcount="3" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 548 49 711 109" onitemchanged="rdo_clsflaga_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">1</Col>
- <Col id="datacolumn">일반병동</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2</Col>
- <Col id="datacolumn">신생아 ICU</Col>
- </Row>
- <Row>
- <Col id="codecolumn">5</Col>
- <Col id="datacolumn">정신과병동</Col>
- </Row>
- <Row>
- <Col id="codecolumn">4</Col>
- <Col id="datacolumn">중환자실</Col>
- </Row>
- <Row>
- <Col id="codecolumn">3</Col>
- <Col id="datacolumn">혈액투석</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption8" text="낙상위험평가" class="cell_1" position="absolute 715 48 781 109" onclick="caption8_onclick" style="align:center middle;"/>
- <Radio id="rdo_clsflagb" taborder="4" columncount="0" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 782 49 885 109" onitemchanged="rdo_clsflagb_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">9</Col>
- <Col id="datacolumn">Morse Fall</Col>
- </Row>
- <Row>
- <Col id="codecolumn">8</Col>
- <Col id="datacolumn">Humpty Dumpty</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption9" text="욕창위험평가" class="cell_1" position="absolute 891 48 957 109" style="align:center middle;"/>
- <Radio id="rdo_clsflagc" taborder="5" columncount="0" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 960 49 1054 109" onitemclick="rdo_clsflagc_onitemclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">10</Col>
- <Col id="datacolumn">Braden Scale</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Shape id="line2" linetype="horizontal" class="line_3" position="absolute 0 108 1193 114"/>
- <Static id="caption38" text="수행일자" class="cell_1" position="absolute 0 118 75 141"/>
- <Calendar id="ipt_indate" taborder="6" class="input_search" position="absolute 78 119 165 140" dateformat="yyyy-MM-dd" value="null" tooltiptext="날짜를 선택하세요." autoselect="true"/>
- <MaskEdit trimtype="both" id="ipt_time" taborder="7" class="input" position="absolute 170 119 217 140" mask="99:99" type="string" autoselect="true" maskchar=" " ontextchange="ipt_time_ontextchange" displaynulltext=" "/>
- <Button id="button1" taborder="8" text="현재일시" class="btn2" position="absolute 223 119 287 141" onclick="button1_onclick"/>
- <Static id="caption1" text="최근 저장일" class="cell_1" position="absolute 0 142 75 165"/>
- <Calendar id="ipt_execdtrect" taborder="9" class="input_search" enable="false" position="absolute 78 143 165 164"/>
- <Static id="caption10" text="환자정보" class="tit_2" position="absolute 0 201 72 218"/>
- <Shape id="line5" linetype="horizontal" class="line_10" position="absolute 0 217 335 223"/>
- <Static id="capt_master" text="중증도/낙상/욕창/통증 위험평가" class="tit_2" position="absolute 0 437 235 454"/>
- <Shape id="line4" linetype="horizontal" class="line_10" position="absolute 0 453 335 459"/>
- <Grid id="grd_recmaster" taborder="10" binddataset="ds_main_recgruplist" useinputpanel="false" position="absolute 0 458 335 798" oncelldblclick="grd_recmaster_oncelldblclick" onrbuttondown="grd_recmaster_onrbuttondown" cellsizingtype="both" onlbuttondown="grd_recmaster_onlbuttondown" autosizingtype="row" extendsizetype="row" onrbuttonup="grd_recmaster_onrbuttonup">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="70"/>
- <Column size="57"/>
- <Column size="70"/>
- <Column size="60"/>
- <Column size="64"/>
- <Column size="62"/>
- <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="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="150"/>
- <Column size="130"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="150"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <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="pid"/>
- <Cell col="8" text="hngnm"/>
- <Cell col="9" text="recseq"/>
- <Cell col="10" text="recflag"/>
- <Cell col="11" text="clsflag"/>
- <Cell col="12" text="execkind"/>
- <Cell col="13" text="execid"/>
- <Cell col="14" text="indd"/>
- <Cell col="15" text="histstat"/>
- <Cell col="16" text="cretno"/>
- <Cell col="17" text="seqno"/>
- <Cell col="18" text="resultcd"/>
- <Cell col="19" text="signno"/>
- <Cell col="20" text="stat"/>
- <Cell col="21" text="agechk"/>
- <Cell col="22" text="(성인)70세 이상"/>
- <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="(소아)3세 미만"/>
- <Cell col="30" text="(소아)집중치료실"/>
- <Cell col="31" text="(소아)응급실 환자"/>
- <Cell col="32" text="(소아)정신겅강의학과 폐쇄"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="expr:utlf_isNull(execdd) ? "normal" : "date"" text="bind:execdd"/>
- <Cell col="2" text="bind:exectm" mask="expr:utlf_isNull(exectm) ? "" : "##:##""/>
- <Cell col="3" style="align:left;" text="bind:recflagnm"/>
- <Cell col="4" style="align:left middle;padding:2 2 2 2;" text="bind:totpnt" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="5" style="align:left;" text="bind:resultnm"/>
- <Cell col="6" text="bind:execnm"/>
- <Cell col="7" text="bind:pid"/>
- <Cell col="8" text="bind:hngnm"/>
- <Cell col="9" text="bind:recseq"/>
- <Cell col="10" text="bind:recflag"/>
- <Cell col="11" text="bind:clsflag"/>
- <Cell col="12" text="bind:execkind"/>
- <Cell col="13" text="bind:execid"/>
- <Cell col="14" text="bind:indd"/>
- <Cell col="15" text="bind:histstat"/>
- <Cell col="16" text="bind:cretno"/>
- <Cell col="17" text="bind:seqno"/>
- <Cell col="18" text="bind:resultcd"/>
- <Cell col="19" text="bind:signno"/>
- <Cell col="20" text="bind:stat"/>
- <Cell col="21" text="bind:agechk"/>
- <Cell col="22" text="bind:maddchk02"/>
- <Cell col="23" text="bind:maddchk01"/>
- <Cell col="24" text="bind:maddchk05"/>
- <Cell col="25" text="bind:maddchk06"/>
- <Cell col="26" text="bind:maddchk03"/>
- <Cell col="27" text="bind:maddchk04"/>
- <Cell col="28" text="bind:maddchk99"/>
- <Cell col="29" text="bind:haddchk"/>
- <Cell col="30" text="bind:haddchk01"/>
- <Cell col="31" text="bind:haddchk02"/>
- <Cell col="32" text="bind:haddchk03"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="capt_pnt" text="중증도 상세점수" class="tit_2" position="absolute 340 117 672 135"/>
- <Shape id="line6" linetype="horizontal" class="line_10" position="absolute 340 133 1194 139"/>
- <Grid id="grd_recpnt" class="grd_recmaster" taborder="11" binddataset="ds_main_recpntlist" useinputpanel="false" position="absolute 340 138 1194 218" cellsizingtype="col" tooltiptype="hover" autofittype="none">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="64"/>
- <Column size="59"/>
- <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"/>
- <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"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="40" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="등록번호"/>
- <Cell col="2" text="환자명"/>
- <Cell col="3" style="align:center top;" text="timsval01" wordwrap="word"/>
- <Cell col="4" style="align:center top;" text="timsval02" wordwrap="word"/>
- <Cell col="5" style="align:center top;" text="timsval03" wordwrap="word"/>
- <Cell col="6" style="align:center top;" text="timsval04" wordwrap="word"/>
- <Cell col="7" style="align:center top;" text="timsval05" wordwrap="word"/>
- <Cell col="8" style="align:center top;" text="timsval06" wordwrap="word"/>
- <Cell col="9" style="align:center top;" text="timsval07" wordwrap="word"/>
- <Cell col="10" style="align:center top;" text="timsval08" wordwrap="word"/>
- <Cell col="11" style="align:center top;" text="timsval09" wordwrap="word"/>
- <Cell col="12" style="align:center top;" text="timsval10" wordwrap="word"/>
- <Cell col="13" style="align:center top;" text="timsval11" wordwrap="word"/>
- <Cell col="14" style="align:center top;" text="timsval12" wordwrap="word"/>
- <Cell col="15" style="align:center top;" text="timsval13" wordwrap="word"/>
- <Cell col="16" style="align:center top;" text="timsval14" wordwrap="word"/>
- <Cell col="17" style="align:center top;" text="timsval15" wordwrap="word"/>
- <Cell col="18" style="align:center top;" text="timsval16" wordwrap="word"/>
- <Cell col="19" style="align:center top;" text="timsval17" wordwrap="word"/>
- <Cell col="20" style="align:center top;" text="timsval18" wordwrap="word"/>
- <Cell col="21" style="align:center top;" text="timsval19" wordwrap="word"/>
- <Cell col="22" style="align:center top;" text="timsval20" wordwrap="word"/>
- <Cell col="23" style="align:center top;" text="timsval21" wordwrap="word"/>
- <Cell col="24" style="align:center top;" text="timsval22" wordwrap="word"/>
- <Cell col="25" style="align:center top;" text="timsval23" wordwrap="word"/>
- <Cell col="26" style="align:center top;" text="timsval24" wordwrap="word"/>
- <Cell col="27" style="align:center top;" text="timsval25" wordwrap="word"/>
- <Cell col="28" style="align:center top;" text="timsval26" wordwrap="word"/>
- <Cell col="29" style="align:center top;" text="timsval27" wordwrap="word"/>
- <Cell col="30" style="align:center top;" text="timsval28" wordwrap="word"/>
- <Cell col="31" style="align:center top;" text="timsval29" wordwrap="word"/>
- <Cell col="32" style="align:center top;" text="timsval30" wordwrap="word"/>
- <Cell col="33" style="align:center top;" text="timsval31" wordwrap="word"/>
- <Cell col="34" style="align:center top;" text="timsval32" wordwrap="word"/>
- <Cell col="35" style="align:center top;" text="timsval33" wordwrap="word"/>
- <Cell col="36" style="align:center top;" text="timsval34" wordwrap="word"/>
- <Cell col="37" style="align:center top;" text="timsval35" wordwrap="word"/>
- <Cell col="38" style="align:center top;" text="timsval36" wordwrap="word"/>
- <Cell col="39" style="align:center top;" text="timsval37" wordwrap="word"/>
- <Cell col="40" style="align:center top;" text="timsval38" wordwrap="word"/>
- <Cell col="41" style="align:center top;" text="timsval39" wordwrap="word"/>
- <Cell col="42" style="align:center top;" text="timsval40" wordwrap="word"/>
- <Cell col="43" text="총점"/>
- <Cell col="44" text="분류군"/>
- <Cell col="45" text="cnt"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" text="bind:pid" tooltiptext="bind:pid"/>
- <Cell col="2" style="align:left top;padding:4 0 0 4;" text="bind:hngnm" wordwrap="word" tooltiptext="bind:hngnm"/>
- <Cell col="3" text="bind:timsval01" tooltiptext="bind:timsval01"/>
- <Cell col="4" text="bind:timsval02" tooltiptext="bind:timsval02"/>
- <Cell col="5" text="bind:timsval03" tooltiptext="bind:timsval03"/>
- <Cell col="6" text="bind:timsval04" tooltiptext="bind:timsval04"/>
- <Cell col="7" text="bind:timsval05" tooltiptext="bind:timsval05"/>
- <Cell col="8" text="bind:timsval06" tooltiptext="bind:timsval06"/>
- <Cell col="9" text="bind:timsval07" tooltiptext="bind:timsval07"/>
- <Cell col="10" text="bind:timsval08" tooltiptext="bind:timsval08"/>
- <Cell col="11" text="bind:timsval09" tooltiptext="bind:timsval09"/>
- <Cell col="12" text="bind:timsval10" tooltiptext="bind:timsval10"/>
- <Cell col="13" text="bind:timsval11" tooltiptext="bind:timsval11"/>
- <Cell col="14" text="bind:timsval12" tooltiptext="bind:timsval12"/>
- <Cell col="15" text="bind:timsval13" tooltiptext="bind:timsval13"/>
- <Cell col="16" text="bind:timsval14" tooltiptext="bind:timsval14"/>
- <Cell col="17" text="bind:timsval15" tooltiptext="bind:timsval15"/>
- <Cell col="18" text="bind:timsval16" tooltiptext="bind:timsval16"/>
- <Cell col="19" text="bind:timsval17" tooltiptext="bind:timsval17"/>
- <Cell col="20" text="bind:timsval18" tooltiptext="bind:timsval18"/>
- <Cell col="21" text="bind:timsval19" tooltiptext="bind:timsval19"/>
- <Cell col="22" text="bind:timsval20" tooltiptext="bind:timsval20"/>
- <Cell col="23" text="bind:timsval21" tooltiptext="bind:timsval21"/>
- <Cell col="24" text="bind:timsval22" tooltiptext="bind:timsval22"/>
- <Cell col="25" text="bind:timsval23" tooltiptext="bind:timsval23"/>
- <Cell col="26" text="bind:timsval24" tooltiptext="bind:timsval24"/>
- <Cell col="27" text="bind:timsval25" tooltiptext="bind:timsval25"/>
- <Cell col="28" text="bind:timsval26" tooltiptext="bind:timsval26"/>
- <Cell col="29" text="bind:timsval27" tooltiptext="bind:timsval27"/>
- <Cell col="30" text="bind:timsval28" tooltiptext="bind:timsval28"/>
- <Cell col="31" text="bind:timsval29" tooltiptext="bind:timsval29"/>
- <Cell col="32" text="bind:timsval30" tooltiptext="bind:timsval30"/>
- <Cell col="33" text="bind:timsval31" tooltiptext="bind:timsval31"/>
- <Cell col="34" text="bind:timsval32" tooltiptext="bind:timsval32"/>
- <Cell col="35" text="bind:timsval33" tooltiptext="bind:timsval33"/>
- <Cell col="36" text="bind:timsval34" tooltiptext="bind:timsval34"/>
- <Cell col="37" text="bind:timsval35" tooltiptext="bind:timsval35"/>
- <Cell col="38" text="bind:timsval36" tooltiptext="bind:timsval36"/>
- <Cell col="39" text="bind:timsval37" tooltiptext="bind:timsval37"/>
- <Cell col="40" text="bind:timsval38" tooltiptext="bind:timsval38"/>
- <Cell col="41" text="bind:timsval39" tooltiptext="bind:timsval39"/>
- <Cell col="42" text="bind:timsval40" tooltiptext="bind:timsval40"/>
- <Cell col="43" text="bind:totpnt" tooltiptext="bind:totpnt"/>
- <Cell col="44" text="bind:resultcd" tooltiptext="bind:resultcd"/>
- <Cell col="45" text="bind:cnt" tooltiptext="bind:cnt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="capt_detail" text="중증도 상세내역" class="tit_2" position="absolute 340 222 672 238"/>
- <Static id="capt_bedsore" text="욕창사정도구 : Braden scale" visible="false" position="absolute 995 218 1195 243"/>
- <Shape id="line7" linetype="horizontal" class="line_10" position="absolute 340 238 1194 244"/>
- <Grid id="grd_recdetail" taborder="12" binddataset="ds_main_recdetailgruplist" useinputpanel="false" position="absolute 340 243 1194 768" treeinitstatus="expand,null" treeusecheckbox="false" treeuseimage="false" cellsizingtype="col" oncelldblclick="grd_recdetail_oncelldblclick" cellclickbound="cell" selecttype="multiarea" autofittype="col" extendsizetype="row" autosizingtype="row" autoenter="key">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="35"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="635"/>
- <Column size="50"/>
- <Column size="50"/>
- <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"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="상태"/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="분류코드"/>
- <Cell col="3" colspan="2" text="분류도구" taborder="undefined"/>
- <Cell col="5" text="점수"/>
- <Cell col="6" text="횟수"/>
- <Cell col="7" text="cnfmyn"/>
- <Cell col="8" text="cmtinptyn"/>
- <Cell col="9" text="grupmulti"/>
- <Cell col="10" text="engnm"/>
- <Cell col="11" text="refseq"/>
- <Cell col="12" text="deptcd"/>
- <Cell col="13" text="supcd"/>
- <Cell col="14" text="todd"/>
- <Cell col="15" text="depth"/>
- <Cell col="16" text="grupflag"/>
- <Cell col="17" text="clsflag"/>
- <Cell col="18" text="recflag"/>
- <Cell col="19" text="sortseq"/>
- <Cell col="20" text="bktimsval"/>
- <Cell col="21" text="desccnts"/>
- <Cell col="22" text="pid"/>
- <Cell col="23" text="execdd"/>
- <Cell col="24" text="recseq"/>
- <Cell col="25" text="wardcd"/>
- <Cell col="26" text="roomcd"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" edittype="combo" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:stat" combodataset="ds_init_stat" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="1" displaytype="checkbox" edittype="expr:chkTrue == "1" ? 'none' : 'checkbox'" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');controlbackground:EXPR(chkTrue == '1' ? 'silver' : '');controlbackgroundimagemode:EXPR(chkTrue == '1' ? '1 solid lightblue' : '');" text="bind:flag" expr="expr:flag == "Y" || flag == "1" ? "1" : "0""/>
- <Cell col="2" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:clstlcd"/>
- <Cell col="3" displaytype="tree" edittype="tree" style="linetype:onlyhorz;background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" wordwrap="none" treelevel="bind:depth"/>
- <Cell col="4" displaytype="text" style="align:left middle;padding:EXPR(depth == '2' ? '4 0 4 15' : '4 0 4 0');background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:hngnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="5" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : utlf_isNull(colro) ? '' : color);background2:EXPR(supcd == '00000000' ? '#c0ff80' : utlf_isNull(colro) ? '' : color);" text="bind:basepnt"/>
- <Cell col="6" displaytype="normal" edittype="expr:timsinptyn == 'N' ? 'none' : ds_cond.getColumn(0, "agechk") == 'Y' ? 'none' : 'masknumber'" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : utlf_isNull(timsval) ? '#C0C0C0' : flag == 'Y' && timsval != '' && (timsval == '0' || timsval == 0) ? '#FCFF00' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : utlf_isNull(timsval) ? '#C0C0C0' : flag == 'Y' && timsval != '' && (timsval == '0' || timsval == 0) ? '#FCFF00' : '');" text="bind:timsval" editautoselect="true"/>
- <Cell col="7" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:cnfmyn"/>
- <Cell col="8" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:cmtinptyn"/>
- <Cell col="9" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:grupmulti"/>
- <Cell col="10" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:engnm"/>
- <Cell col="11" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:refseq"/>
- <Cell col="12" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:deptcd"/>
- <Cell col="13" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:supcd"/>
- <Cell col="14" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:todd"/>
- <Cell col="15" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:depth"/>
- <Cell col="16" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:grupflag"/>
- <Cell col="17" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:clsflag"/>
- <Cell col="18" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:recflag"/>
- <Cell col="19" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:sortseq"/>
- <Cell col="20" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:bktimsval"/>
- <Cell col="21" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:desccnts"/>
- <Cell col="22" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:pid"/>
- <Cell col="23" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:execdd"/>
- <Cell col="24" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:recseq" mask="#,###"/>
- <Cell col="25" style="background:EXPR(supcd == '00000000' ? '#c0ff80' : '');background2:EXPR(supcd == '00000000' ? '#c0ff80' : '');" text="bind:wardcd"/>
- <Cell col="26" text="bind:roomcd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line3" linetype="horizontal" class="line_3" position="absolute 0 114 335 120"/>
- <Shape id="line10" linetype="horizontal" class="line_3" position="absolute 0 189 335 195"/>
- <Div id="grp_agechk" taborder="13" visible="false" position="absolute 950 218 1190 238">
- <Layouts>
- <Layout>
- <CheckBox id="bool_agechk" taborder="1" position="absolute 25 0 50 20" anchor="default" onclick="grp_agechk_bool_agechk_onclick" truevalue="Y" falsevalue="N"/>
- <Static id="cap_agemsg" text="낙상사정 제외 고위험군입니다" position="absolute 45 5 235 20" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Edit id="opt_pid" taborder="14" readonly="true" position="absolute 78 168 138 189" class="output"/>
- <Edit id="opt_sexage" taborder="15" readonly="true" position="absolute 263 168 307 189" class="output"/>
- <Edit id="opt_patnm" taborder="16" readonly="true" position="absolute 141 168 216 189" class="output"/>
- <Radio id="rdo_clsflagd" taborder="17" columncount="0" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 1130 49 1189 109" onitemclick="rdo_clsflagd_onitemclick">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">11</Col>
- <Col id="datacolumn">통증</Col>
- </Row>
- </Rows>
- </Dataset>
- </Radio>
- <Static id="caption2" text="통증위험 사정구분" class="cell_1" visible="false" position="absolute 1061 48 1126 109"/>
- <Static id="caption5" text="환자" class="cell_1" position="absolute 0 167 75 190"/>
- <Static id="caption11" text="S/A" class="cell_1" position="absolute 224 167 259 188" style="padding:0 0 0 5;align:left middle;"/>
- <Button id="btn_sizectr" taborder="18" text="확대" class="btn2" position="absolute 293 195 335 217" onclick="btn_sizectr_onclick"/>
- <Div id="group4" taborder="30" style="background:white;border:1 solid #9ebed4ff ;" text="Div00" scrollbars="none" position="absolute 340 654 1194 768" anchor="all">
- <Layouts>
- <Layout>
- <Static id="Static00" text="* 이 항목 해당 환자는 Humpty Dumpty Scale 결과에 관계없이 낙상 고위험 입니다." position="absolute 736 26 853 113" style="border:1 solid #9ebed4ff ;align:center middle;" anchor="default" visible="false"/>
- <CheckBox id="chk_haddchk01" taborder="3" text="집중치료실 환자" truevalue="Y" position="absolute 2 45 145 61" anchor="default" onclick="group4_chk_haddchk01_onclick" falsevalue="N"/>
- <CheckBox id="chk_haddchk" taborder="4" text="3세 미만 소아환자" truevalue="Y" position="absolute 2 28 145 44" anchor="default" falsevalue="N" onclick="group4_chk_haddchk_onclick"/>
- <CheckBox id="chk_haddchk02" taborder="5" text="응급실·외상소생구역 환자" value="N" truevalue="Y" falsevalue="N" position="absolute 2 62 185 78" onclick="group4_chk_haddchk02_onclick" anchor="default"/>
- <CheckBox id="chk_haddchk03" taborder="6" text="정신건강의학과 폐쇄병동환자" value="N" truevalue="Y" falsevalue="N" position="absolute 2 79 185 95" onclick="group4_chk_haddchk03_onclick" anchor="default"/>
- <Static id="caption13" position="absolute -1 -1 853 27" style="border:1 solid #9ebed4ff ;"/>
- <Static id="capt_detail" text="이 항목 해당환자는 낙상위험 평가 없이 낙상고위험군입니다" class="tit_2" position="absolute 1 5 381 21"/>
- <Shape id="line7" class="line_10" position="absolute 0 22 854 28"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_patinfo" taborder="19" binddataset="ds_main_patinfo" useinputpanel="false" position="absolute 0 222 335 424" oncelldblclick="grd_patinfo_oncelldblclick" cellsizingtype="col" tooltiptype="hover" selecttype="multirow">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="26"/>
- <Column size="33"/>
- <Column size="80"/>
- <Column size="53"/>
- <Column size="60"/>
- <Column size="50"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="45"/>
- <Column size="45"/>
- <Column size="68"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="86"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="68"/>
- <Column size="0"/>
- <Column size="60"/>
- <Column size="30"/>
- <Column size="60"/>
- <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="40" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="병실"/>
- <Cell col="4" text="환자명"/>
- <Cell col="5" text="S/A"/>
- <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="저장일자"/>
- <Cell col="14" text="등록자"/>
- <Cell col="15" text="coloryn2"/>
- <Cell col="16" text="욕창"/>
- <Cell col="17" text="저장일자"/>
- <Cell col="18" text="coloryn3"/>
- <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="wardcd"/>
- <Cell col="26" text="cretno"/>
- <Cell col="27" text="orddeptcd"/>
- <Cell col="28" text="medispclid"/>
- <Cell col="29" text="execynnm"/>
- <Cell col="30" text="ioflag"/>
- <Cell col="31" text="histstat"/>
- <Cell col="32" text="age"/>
- <Cell col="33" text="indd"/>
- <Cell col="34" text="instcd"/>
- <Cell col="35" text="dschdd"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == "Y" || chk == "1" ? "1" : "0"" tooltiptext="bind:chk"/>
- <Cell col="1" text="bind:ioflagnm" tooltiptext="bind:ioflagnm"/>
- <Cell col="2" text="bind:pid" tooltiptext="bind:pid"/>
- <Cell col="3" text="bind:roomcd" tooltiptext="bind:roomcd"/>
- <Cell col="4" style="align:left;" text="bind:hngnm" tooltiptext="bind:hngnm"/>
- <Cell col="5" text="bind:sexage" tooltiptext="bind:sexage"/>
- <Cell col="6" text="bind:execyn"/>
- <Cell col="7" text="bind:inaptyn"/>
- <Cell col="8" style="align:left top;padding:4 2 2 2;" text="bind:depthngnm" wordwrap="word" tooltiptext="bind:depthngnm"/>
- <Cell col="9" style="align:left;" text="bind:resultnm1" tooltiptext="bind:resultnm1"/>
- <Cell col="10" displaytype="expr:utlf_isNull(execdd1) ? "normal" : "date"" text="bind:execdd1" tooltiptext="bind:execdd1"/>
- <Cell col="11" text="bind:execnm1" tooltiptext="bind:execnm1"/>
- <Cell col="12" style="align:left;" text="bind:resultnm2" tooltiptext="bind:resultnm2"/>
- <Cell col="13" displaytype="expr:utlf_isNull(execdd2) ? 'normal' : 'date'" text="bind:execdd2" tooltiptext="bind:execdd2"/>
- <Cell col="14" text="bind:execnm2" tooltiptext="bind:execnm2"/>
- <Cell col="15" style="background:EXPR(coloryn2 == "Y" ? 'yellow' : '');background2:EXPR(coloryn2 == "Y" ? 'yellow' : '');color:EXPR(coloryn2 == "Y" ? 'red' : '');color2:EXPR(coloryn2 == "Y" ? 'red' : '');" text="bind:coloryn2"/>
- <Cell col="16" style="align:left;" text="bind:resultnm3" tooltiptext="bind:resultnm3"/>
- <Cell col="17" displaytype="expr:utlf_isNull(execdd3) ? "normal" : "date"" text="bind:execdd3" tooltiptext="bind:execdd3"/>
- <Cell col="18" style="background:EXPR(coloryn3 == "Y" ? 'red' : '');background2:EXPR(coloryn3 == "Y" ? 'red' : '');" text="bind:coloryn3"/>
- <Cell col="19" text="bind:execnm3" tooltiptext="bind:execnm3"/>
- <Cell col="20" style="align:left;" text="bind:resultnm4" tooltiptext="bind:resultnm4"/>
- <Cell col="21" text="bind:execnm4" tooltiptext="bind:execnm4"/>
- <Cell col="22" text="bind:usernm"/>
- <Cell col="23" displaytype="expr:utlf_isNull(maintepatrgstdd) ? "normal" : "date"" text="bind:maintepatrgstdd"/>
- <Cell col="24" text="bind:wardcd"/>
- <Cell col="25" text="bind:cretno"/>
- <Cell col="26" text="bind:orddeptcd"/>
- <Cell col="27" text="bind:medispclid"/>
- <Cell col="28" text="bind:execynnm"/>
- <Cell col="29" text="bind:ioflag"/>
- <Cell col="30" text="bind:histstat"/>
- <Cell col="31" text="bind:seqno"/>
- <Cell col="32" text="bind:age"/>
- <Cell col="33" text="bind:indd"/>
- <Cell col="34" text="bind:instcd"/>
- <Cell col="35" text="bind:dschdd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <CheckBox id="chk_nextyn" taborder="20" position="absolute 1040 26 1120 41" text="환자넘기기" truevalue="Y"/>
- <Edit id="opt_age" taborder="22" readonly="true" visible="false" position="absolute 263 143 307 164"/>
- <Div id="group2" taborder="28" style="background:white;border:1 solid #9ebed4ff ;" text="Div00" scrollbars="none" position="absolute 340 654 1194 768">
- <Layouts>
- <Layout>
- <Static id="caption13" position="absolute -1 -1 853 27" style="border:1 solid #9ebed4ff ;color:#01548eff;font:arial,8,bold;" anchor="default"/>
- <Static id="Static00" text="* 이 항목 해당 환자는 Morse Scale 결과에 관계없이 낙상 고위험 입니다." position="absolute 738 26 855 113" style="border:1 solid #9ebed4ff ;align:center middle;" anchor="default" visible="false"/>
- <CheckBox id="chk_maddchk01" taborder="1" text="집중치료실 환자" position="absolute 2 45 145 61" anchor="default" truevalue="Y" onclick="group2_chk_maddchk01_onclick" falsevalue="N"/>
- <CheckBox id="chk_maddchk02" taborder="2" text="70세 이상의 노인환자" position="absolute 2 28 145 44" anchor="default" truevalue="Y" falsevalue="N" onclick="group2_chk_maddchk02_onclick"/>
- <CheckBox id="chk_maddchk03" taborder="3" text="진정 및 이완 약물 투여 환자" position="absolute 194 29 368 45" anchor="default" truevalue="Y" falsevalue="N" onclick="group2_chk_maddchk03_onclick" enable="false" visible="false"/>
- <CheckBox id="chk_maddchk04" taborder="4" text="음주 환자" position="absolute 194 46 337 62" anchor="default" truevalue="Y" falsevalue="N" onclick="group2_chk_maddchk04_onclick" enable="false" visible="false"/>
- <CheckBox id="chk_maddchk99" taborder="5" text="해당없음" position="absolute 194 63 337 79" anchor="default" truevalue="Y" onclick="group2_chk_maddchk99_onclick" enable="false" visible="false"/>
- <CheckBox id="chk_maddchk05" taborder="6" text="응급실·외상소생구역 환자" value="N" truevalue="Y" falsevalue="N" position="absolute 2 62 169 78" anchor="default" onclick="group2_chk_maddchk05_onclick"/>
- <CheckBox id="chk_maddchk06" taborder="7" text="정신건강의학과 폐쇄병동환자" value="N" truevalue="Y" falsevalue="N" position="absolute 2 79 185 95" anchor="default" onclick="group2_chk_maddchk06_onclick"/>
- <Static id="capt_detail" text="이 항목 해당환자는 낙상위험 평가 없이 낙상고위험군입니다" class="tit_2" position="absolute 1 5 381 21" anchor="default"/>
- <Shape id="line7" class="line_10" position="absolute 0 22 854 28" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <CheckBox id="bool3" taborder="24" visible="false" position="absolute 83 199 108 219" onclick="bool3_onclick"/>
- <Div id="grp_allsign" taborder="25" visible="false" position="absolute 902 22 1037 46">
- <Layouts>
- <Layout>
- <Button id="btn_AllSave" taborder="1" text="일괄" class="btn5" position="absolute 90 0 132 21" onclick="grp_allsign_btn_AllSave_onclick"/>
- <Static id="cap_totcnt" text="0" position="absolute 55 3 74 22"/>
- <Static id="cap_succnt" text="0" position="absolute 5 3 24 22"/>
- <Static id="cap_failcnt" text="0" position="absolute 30 3 49 22"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption12" text="[표]" position="absolute 1164 803 1189 818"/>
- <Static id="caption6" text="중증도/낙상/욕창 위험평가" class="tit_1" position="absolute 0 0 197 25"/>
- <TextArea id="tar_desccnts" taborder="31" position="absolute 340 771 1194 798" enable="true" wordwrap="word"/>
- <Div id="ivw_ocrprnt" taborder="32" visible="false" position="absolute 815 10 830 20" url="emr_formmngtxp::SSMRF03800_OCR뷰어.xfdl"/>
- <Button id="btn_excel" taborder="33" text="엑셀" class="btn7" position="absolute 237 196 289 216" anchor="left top" onclick="btn_excel_onclick"/>
- <Button id="btn_nak" taborder="34" text="(낙)의약품 투약이력조회" class="btn2" position="absolute 109 194 232 216" onclick="btn_sizectr00_onclick" visible="false"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_cond_oncolumnchanged">
- <ColumnInfo>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="clsflag" type="STRING" size="256"/>
- <Column id="recflag" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="exectm" type="STRING" size="256"/>
- <Column id="settingrnid" type="STRING" size="256"/>
- <Column id="bloodioflag" type="STRING" size="256"/>
- <Column id="execnm" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="copyexecdd" type="STRING" size="256"/>
- <Column id="agechk" type="STRING" size="256"/>
- <Column id="zonecd" type="STRING" size="256"/>
- <Column id="recsrchflag" type="STRING" size="256"/>
- <Column id="sexage" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="recsrchflagall" type="STRING" size="256"/>
- <Column id="nextyn" type="STRING" size="256"/>
- <Column id="maddchk01" type="STRING" size="256"/>
- <Column id="maddchk02" type="STRING" size="256"/>
- <Column id="maddchk03" type="STRING" size="256"/>
- <Column id="maddchk04" type="STRING" size="256"/>
- <Column id="haddchk" type="STRING" size="256"/>
- <Column id="haddchk01" type="STRING" size="256"/>
- <Column id="maddchk99" type="STRING" size="256"/>
- <Column id="patmulti" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="haddchk02" type="STRING" size="256"/>
- <Column id="haddchk03" type="STRING" size="256"/>
- <Column id="maddchk05" type="STRING" size="256"/>
- <Column id="maddchk06" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="wardcd"/>
- <Col id="roomcd"/>
- <Col id="pid"/>
- <Col id="clsflag"/>
- <Col id="recflag"/>
- <Col id="execdd"/>
- <Col id="exectm"/>
- <Col id="settingrnid"/>
- <Col id="bloodioflag"/>
- <Col id="execnm"/>
- <Col id="patnm"/>
- <Col id="copyexecdd"/>
- <Col id="agechk"/>
- <Col id="zonecd"/>
- <Col id="recsrchflag"/>
- <Col id="sexage"/>
- <Col id="age"/>
- <Col id="recsrchflagall"/>
- <Col id="nextyn"/>
- <Col id="maddchk01"/>
- <Col id="maddchk02"/>
- <Col id="maddchk03"/>
- <Col id="maddchk04"/>
- <Col id="haddchk"/>
- <Col id="haddchk01"/>
- <Col id="maddchk99"/>
- <Col id="patmulti"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_recgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="execdd" type="STRING"/>
- <Column id="exectm" type="STRING"/>
- <Column id="recflagnm" type="STRING"/>
- <Column id="totpnt" type="STRING"/>
- <Column id="resultnm" type="STRING"/>
- <Column id="execnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="recseq" type="STRING"/>
- <Column id="recflag" type="STRING"/>
- <Column id="clsflag" type="STRING"/>
- <Column id="execkind" type="STRING"/>
- <Column id="execid" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="histstat" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="seqno" type="STRING"/>
- <Column id="resultcd" type="STRING"/>
- <Column id="signno" type="STRING"/>
- <Column id="stat" type="STRING"/>
- <Column id="agechk" type="STRING"/>
- <Column id="maddchk01" type="STRING"/>
- <Column id="maddchk02" type="STRING"/>
- <Column id="maddchk03" type="STRING"/>
- <Column id="maddchk04" type="STRING"/>
- <Column id="maddchk99" type="STRING"/>
- <Column id="haddchk01" type="STRING"/>
- <Column id="haddchk" type="STRING"/>
- <Column id="haddchk02" type="STRING" size="256"/>
- <Column id="haddchk03" type="STRING" size="256"/>
- <Column id="maddchk05" type="STRING" size="256"/>
- <Column id="maddchk06" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_recpntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="timsval01" type="STRING"/>
- <Column id="timsval02" type="STRING"/>
- <Column id="timsval03" type="STRING"/>
- <Column id="timsval04" type="STRING"/>
- <Column id="timsval05" type="STRING"/>
- <Column id="timsval06" type="STRING"/>
- <Column id="timsval07" type="STRING"/>
- <Column id="timsval08" type="STRING"/>
- <Column id="timsval09" type="STRING"/>
- <Column id="timsval10" type="STRING"/>
- <Column id="timsval11" type="STRING"/>
- <Column id="timsval12" type="STRING"/>
- <Column id="timsval13" type="STRING"/>
- <Column id="timsval14" type="STRING"/>
- <Column id="timsval15" type="STRING"/>
- <Column id="timsval16" type="STRING"/>
- <Column id="timsval17" type="STRING"/>
- <Column id="timsval18" type="STRING"/>
- <Column id="timsval19" type="STRING"/>
- <Column id="timsval20" type="STRING"/>
- <Column id="timsval21" type="STRING"/>
- <Column id="timsval22" type="STRING"/>
- <Column id="timsval23" type="STRING"/>
- <Column id="timsval24" type="STRING"/>
- <Column id="timsval25" type="STRING"/>
- <Column id="timsval26" type="STRING"/>
- <Column id="timsval27" type="STRING"/>
- <Column id="timsval28" type="STRING"/>
- <Column id="timsval29" type="STRING"/>
- <Column id="timsval30" type="STRING"/>
- <Column id="timsval31" type="STRING"/>
- <Column id="timsval32" type="STRING"/>
- <Column id="timsval33" type="STRING"/>
- <Column id="timsval34" type="STRING"/>
- <Column id="timsval35" type="STRING"/>
- <Column id="timsval36" type="STRING"/>
- <Column id="timsval37" type="STRING"/>
- <Column id="timsval38" type="STRING"/>
- <Column id="timsval39" type="STRING"/>
- <Column id="timsval40" type="STRING"/>
- <Column id="totpnt" type="STRING"/>
- <Column id="resultcd" type="STRING"/>
- <Column id="cnt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_recdetailgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_main_recdetailgruplist_oncolumnchanged">
- <ColumnInfo>
- <Column id="stat" type="STRING"/>
- <Column id="flag" type="STRING"/>
- <Column id="clstlcd" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="basepnt" type="STRING"/>
- <Column id="timsval" type="STRING"/>
- <Column id="cnfmyn" type="STRING"/>
- <Column id="cmtinptyn" type="STRING"/>
- <Column id="grupmulti" type="STRING"/>
- <Column id="engnm" type="STRING"/>
- <Column id="refseq" type="STRING"/>
- <Column id="deptcd" type="STRING"/>
- <Column id="supcd" type="STRING"/>
- <Column id="todd" type="STRING"/>
- <Column id="depth" type="STRING"/>
- <Column id="grupflag" type="STRING"/>
- <Column id="clsflag" type="STRING"/>
- <Column id="recflag" type="STRING"/>
- <Column id="sortseq" type="STRING"/>
- <Column id="bktimsval" type="STRING"/>
- <Column id="desccnts" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="execdd" type="STRING"/>
- <Column id="recseq" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="ioflagnm" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="roomcd" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="sexage" type="STRING"/>
- <Column id="execyn" type="STRING"/>
- <Column id="inaptyn" type="STRING"/>
- <Column id="depthngnm" type="STRING"/>
- <Column id="resultnm1" type="STRING"/>
- <Column id="execdd1" type="STRING"/>
- <Column id="execnm1" type="STRING"/>
- <Column id="resultnm2" type="STRING"/>
- <Column id="execdd2" type="STRING"/>
- <Column id="execnm2" type="STRING"/>
- <Column id="coloryn2" type="STRING"/>
- <Column id="resultnm3" type="STRING"/>
- <Column id="execdd3" type="STRING"/>
- <Column id="coloryn3" type="STRING"/>
- <Column id="execnm3" type="STRING"/>
- <Column id="resultnm4" type="STRING"/>
- <Column id="execnm4" type="STRING"/>
- <Column id="usernm" type="STRING"/>
- <Column id="maintepatrgstdd" type="STRING"/>
- <Column id="wardcd" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="orddeptcd" type="STRING"/>
- <Column id="medispclid" type="STRING"/>
- <Column id="execynnm" type="STRING"/>
- <Column id="ioflag" type="STRING"/>
- <Column id="histstat" type="STRING"/>
- <Column id="seqno" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="instcd" type="STRING"/>
- <Column id="dschdd" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_recinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="recflag" type="STRING" size="256"/>
- <Column id="clsflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="exectm" type="STRING" size="256"/>
- <Column id="rectsavedw" type="STRING" size="256"/>
- <Column id="recseq" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="histstat" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="recflag"/>
- <Col id="clsflag"/>
- <Col id="pid"/>
- <Col id="execdd"/>
- <Col id="exectm"/>
- <Col id="rectsavedw"/>
- <Col id="recseq"/>
- <Col id="indd"/>
- <Col id="histstat"/>
- <Col id="cretno"/>
- <Col id="seqno"/>
- <Col id="hngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_pnttitlgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_serdiaghislist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_tar_desccnts" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tar_desccnts" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_wardcdgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_roomcdgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="roomnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_patientgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patientnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_settingrn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="settingrnid" type="STRING" size="256"/>
- <Column id="settingrnnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_bspntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bspntnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_icuinoutinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="inyn" type="STRING" size="256"/>
- <Column id="outyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_chk_recsrchflag" 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>
- <Rows>
- <Row>
- <Col id="cdid">1</Col>
- <Col id="cdnm">중증도</Col>
- </Row>
- <Row>
- <Col id="cdid">2</Col>
- <Col id="cdnm">낙상</Col>
- </Row>
- <Row>
- <Col id="cdid">3</Col>
- <Col id="cdnm">욕창</Col>
- </Row>
- <Row>
- <Col id="cdid">4</Col>
- <Col id="cdnm">통증</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_histgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_code_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_icucdgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_icucdgrup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_recgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_recinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_recpntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_pnttitlgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_serdiaghislist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_recdetailgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_tar_desccnts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_signinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="signno" type="STRING" size="256"/>
- <Column id="recdd" type="STRING" size="256"/>
- <Column id="rectm" type="STRING" size="256"/>
- <Column id="recsaveflag" type="STRING" size="256"/>
- <Column id="signflag" type="STRING" size="256"/>
- <Column id="signgenrflag" type="STRING" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddrid" type="STRING" size="256"/>
- <Column id="signbfcnts" type="STRING" size="256"/>
- <Column id="signaftcnts" type="STRING" size="256"/>
- <Column id="screenid" type="STRING" size="256"/>
- <Column id="certflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp2_zoneinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bedcd" type="STRING" size="256"/>
- <Column id="bednm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp_zoneinfo_zonelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_stat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm">-</Col>
- <Col id="cdid">-</Col>
- </Row>
- <Row>
- <Col id="cdnm">i</Col>
- <Col id="cdid">i</Col>
- </Row>
- <Row>
- <Col id="cdnm">u</Col>
- <Col id="cdid">u</Col>
- </Row>
- <Row>
- <Col id="cdnm">d</Col>
- <Col id="cdid">d</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_signdata_recpntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_signdata_detailinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_recmaster" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="m" type="STRING" size="256"/>
- <Column id="rownum" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="exectm" type="STRING" size="256"/>
- <Column id="recflagnm" type="STRING" size="256"/>
- <Column id="totpnt" type="STRING" size="256"/>
- <Column id="resultnm" type="STRING" size="256"/>
- <Column id="execnm" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="recseq" type="STRING" size="256"/>
- <Column id="recflag" type="STRING" size="256"/>
- <Column id="clsflag" type="STRING" size="256"/>
- <Column id="execkind" type="STRING" size="256"/>
- <Column id="execid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="histstat" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="resultcd" type="STRING" size="256"/>
- <Column id="signno" type="STRING" size="256"/>
- <Column id="stat" type="STRING" size="256"/>
- <Column id="agechk" type="STRING" size="256"/>
- <Column id="maddchk01" type="STRING" size="256"/>
- <Column id="maddchk02" type="STRING" size="256"/>
- <Column id="maddchk03" type="STRING" size="256"/>
- <Column id="maddchk04" type="STRING" size="256"/>
- <Column id="maddchk99" type="STRING" size="256"/>
- <Column id="haddchk" type="STRING" size="256"/>
- <Column id="haddchk02" type="STRING" size="256"/>
- <Column id="haddchk03" type="STRING" size="256"/>
- <Column id="maddchk05" type="STRING" size="256"/>
- <Column id="maddchk06" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_recdetail" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="m" type="STRING" size="256"/>
- <Column id="rownum" type="STRING" size="256"/>
- <Column id="stat" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="clstlcd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="basepnt" type="STRING" size="256"/>
- <Column id="timsval" type="STRING" size="256"/>
- <Column id="cnfmyn" type="STRING" size="256"/>
- <Column id="cmtinptyn" type="STRING" size="256"/>
- <Column id="grupmulti" type="STRING" size="256"/>
- <Column id="engnm" type="STRING" size="256"/>
- <Column id="refseq" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="supcd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="depth" type="STRING" size="256"/>
- <Column id="grupflag" type="STRING" size="256"/>
- <Column id="clsflag" type="STRING" size="256"/>
- <Column id="recflag" type="STRING" size="256"/>
- <Column id="sortseq" type="STRING" size="256"/>
- <Column id="bktimsval" type="STRING" size="256"/>
- <Column id="desccnts" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="execdd" type="STRING" size="256"/>
- <Column id="recseq" type="STRING" size="256"/>
- <Column id="wardcd" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_hiddeninfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_recgruplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_codeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send2_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="cretno" type="INT" size="256"/>
- <Column id="formcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_duplocrprnt_msginfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ocrtag" type="STRING" size="255"/>
- <Column id="scanyn" type="STRING" size="255"/>
- <Column id="statcd" type="STRING" size="255"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item16" compid="group4.chk_haddchk" propid="value" datasetid="ds_cond" columnid="haddchk"/>
- <BindItem id="item17" compid="group4.chk_haddchk01" propid="value" datasetid="ds_cond" columnid="haddchk01"/>
- <BindItem id="item0" compid="group5.cmb_ward" propid="value" datasetid="ds_cond" columnid="wardcd"/>
- <BindItem id="item1" compid="group5.cmb_zone" propid="value" datasetid="ds_cond" columnid="zonecd"/>
- <BindItem id="item2" compid="group5.cmb_room" propid="value" datasetid="ds_cond" columnid="roomcd"/>
- <BindItem id="item3" compid="group5.cmb_erpat" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item4" compid="group5.otp_dsch" propid="value" datasetid="ds_cond" columnid="patnm"/>
- <BindItem id="item5" compid="group5.cmb_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item6" compid="group5.cmb_settingrn" propid="value" datasetid="ds_cond" columnid="settingrnid"/>
- <BindItem id="item7" compid="group5.rdo_recflagAll" propid="value" datasetid="ds_cond" columnid="recsrchflagall"/>
- <BindItem id="item8" compid="chk_nextyn" propid="value" datasetid="ds_cond" columnid="nextyn"/>
- <BindItem id="item9" compid="bool3" propid="value" datasetid="ds_cond" columnid="patmulti"/>
- <BindItem id="item10" compid="grp_agechk.bool_agechk" propid="value" datasetid="ds_cond" columnid="agechk"/>
- <BindItem id="item11" compid="rdo_clsflaga" propid="value" datasetid="ds_cond" columnid="clsflag"/>
- <BindItem id="item12" compid="rdo_clsflagb" propid="value" datasetid="ds_cond" columnid="clsflag"/>
- <BindItem id="item13" compid="rdo_clsflagc" propid="value" datasetid="ds_cond" columnid="clsflag"/>
- <BindItem id="item14" compid="rdo_clsflagd" propid="value" datasetid="ds_cond" columnid="clsflag"/>
- <BindItem id="item18" compid="group2.chk_maddchk01" propid="value" datasetid="ds_cond" columnid="maddchk01"/>
- <BindItem id="item19" compid="group2.chk_maddchk02" propid="value" datasetid="ds_cond" columnid="maddchk02"/>
- <BindItem id="item20" compid="group2.chk_maddchk03" propid="value" datasetid="ds_cond" columnid="maddchk03"/>
- <BindItem id="item21" compid="group2.chk_maddchk04" propid="value" datasetid="ds_cond" columnid="maddchk04"/>
- <BindItem id="item22" compid="group2.chk_maddchk99" propid="value" datasetid="ds_cond" columnid="maddchk99"/>
- <BindItem id="item23" compid="ipt_time" propid="value" datasetid="ds_cond" columnid="exectm"/>
- <BindItem id="item24" compid="ipt_indate" propid="value" datasetid="ds_cond" columnid="execdd"/>
- <BindItem id="item25" compid="ipt_execdtrect" propid="value" datasetid="ds_main_recinfo" columnid="rectsavedw"/>
- <BindItem id="item26" compid="opt_pid" propid="value" datasetid="ds_cond" columnid="pid"/>
- <BindItem id="item27" compid="opt_patnm" propid="value" datasetid="ds_cond" columnid="patnm"/>
- <BindItem id="item28" compid="opt_age" propid="value" datasetid="ds_cond" columnid="age"/>
- <BindItem id="item29" compid="opt_sexage" propid="value" datasetid="ds_cond" columnid="sexage"/>
- <BindItem id="item15" compid="tar_desccnts" propid="value" datasetid="ds_main_tar_desccnts" columnid="tar_desccnts"/>
- <BindItem id="item30" compid="group2.chk_maddchk05" propid="value" datasetid="ds_cond" columnid="maddchk05"/>
- <BindItem id="item31" compid="group2.chk_maddchk06" propid="value" datasetid="ds_cond" columnid="maddchk06"/>
- <BindItem id="item32" compid="group4.chk_haddchk02" propid="value" datasetid="ds_cond" columnid="haddchk02"/>
- <BindItem id="item33" compid="group4.chk_haddchk03" propid="value" datasetid="ds_cond" columnid="haddchk03"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "emr_carecomxp::ENRSignEngine.xjs";
- include "emr_carerecxp::CareRec.xjs";
- include "emr_carerecxp::SMMNW040.xjs";
- var arErrorCode = new HashArray();
- /******************************************************************
- * Argument :
- * Description : 초기화
- ******************************************************************/
- function SMMNW04000_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMNW04000_onload(obj:Form, e:LoadEventInfo)
- {
- // 사인모듈 초기화
- Sign.init();
-
- headChk("headTrue");
- //List 0번째 상태값 설정
- grdf_setRowTypeIcon(grd_recmaster, 0);
- grdf_setRowTypeIcon(grd_recpnt, 0);
- //조회구분
- var sProp1="col=4,row=1,cellspacing=5,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow=''";
- group5.rdo_recflag.setInitComp(sProp1, ds_chk_recsrchflag, "cdid", "cdnm", "fn_recsrchflag");
-
- ds_cond.setColumn(0, "recsrchflag", "1^2^3^4");
- group5.rdo_recflag.setCheckAll(true);
-
- //190701_AYS_칠곡 응급실 표기
- if( sysf_getUserInfo("dutplceinstcd") == "032"){
- group2.chk_maddchk05.text = "응급실 환자";
- group4.chk_haddchk02.text = "응급실 환자";
- }
-
- var sInstcd = sysf_getUserInfo("dutplceinstcd");
- if (sInstcd == "032"){
- btn_nak.visible = true;
- }
- //fInit();
- this.setTimer(0, 100);
-
- //환자정보 그리드 sort, checkbox all
- grdf_initGrid(grd_patinfo);
-
- // 그리드 우클릭 팝업
- frmf_createPopupMenu("pmn_popupMenu", "lf_menu_event", [{id: "dataDel", level: "0", title: "삭제"}]);
- }
- /******************************************************************
- * Argument :
- * Description : popup menu
- ******************************************************************/
- function lf_menu_event(obj:PopupMenu, e:MenuClickEventInfo){
- if(e.id == "dataDel") {
- fDelete();
- }
- }
- /******************************************************************
- * Argument :
- * Description : 구분1 - 일반 checkbox1
- ******************************************************************/
- function fn_recsrchflag(){
- var getData = String(group5.rdo_recflag.getData()).replace(",","^");
- ds_cond.setColumn(0, "recsrchflag", getData);
-
- if( getData.length == "7" ){
- ds_cond.setColumn(0, "recsrchflagall", "A");
- } else {
- ds_cond.setColumn(0, "recsrchflagall", "N");
- }
-
- //조회조건 clear
- ds_cond.setColumn(0, "pid", "");
-
- //환자정보 표시 clear (2011.03.29 Ahn)
- ds_cond.setColumn(0, "patnm", "");
- ds_cond.setColumn(0, "sexage", "");
- ds_cond.setColumn(0, "age", "");
-
- //환자정보 조회
- fSearchPatList("Srch");
-
- // 그리드 재구성 (2011.03.30 Ahn)
- fSetPatGrid("ds_main_recgruplist", grd_recmaster, "Exec");
- }
- /******************************************************************
- * Argument :
- * Description : 구분1 - 일반 checkbox1
- ******************************************************************/
- function fn_setRecsrchflag(){
- if(!utlf_isNull(ds_cond.getColumn(0, "recsrchflag"))) {
- var getData = ds_cond.getColumn(0, "recsrchflag").split("^");
- group5.rdo_recflag.setData(getData,null,false);
- }
- }
- /******************************************************************
- * Argument :
- * Description : Head checkbox 설정
- ******************************************************************/
- function headChk(chk){
- if( chk == "headTrue" ){
- grd_patinfo.setCellProperty("Head", 0, "displaytype", "checkbox");
- grd_patinfo.setCellProperty("Head", 0, "edittype", "checkbox");
- grd_patinfo.setCellProperty("Head", 0, "text", "0");
- } else {
- grd_patinfo.setCellProperty("Head", 0, "displaytype", "normal");
- grd_patinfo.setCellProperty("Head", 0, "edittype", "none");
- grd_patinfo.setCellProperty("Head", 0, "text", "");
- }
- }
- /**
- * @group :
- * @ver : 2008.06.27
- * @by : dhkim
- * @---------------------------------------------------
- * @type : function
- * @access : public
- * @desc : 중증도 내역 삭제를 한다
- * @param :
- * @return :
- * @---------------------------------------------------
- */
- function fDelete(){
- var curRow = ds_main_recgruplist.rowposition;
- if( ds_main_recgruplist.getColumn(curRow, "stat") == 'i'){
- ds_main_recgruplist.deleteRow(curRow);
- //grdf_setStatus(grd_recmaster, "D", curRow);
- return;
- }else{
- //20080926 기록자만이 삭제를 할 수 있다.
- var recid = ds_main_recgruplist.getColumn(curRow, "execid");
- var recnm = ds_main_recgruplist.getColumn(curRow, "execnm");
- if( recid != sysf_getUserId()){
- sysf_messageBox('기록을 입력한 등록자( ' + recnm + ' )만 해당 기록내역을 삭제하실 수 있습니다.' , 'E');
- return ;
- }else{
- var msg = sysf_messageBox('삭제를 진행하시면 입력하신 상세내역도 전부 삭제됩니다. 선택하신 중증도 내역을', 'Q001');
- if(msg == 6){
- grdf_setStatus(grd_recmaster, "D", grdf_getSelectedRows(grd_recmaster));
- ds_send.clear();
- ds_main_recgruplist.setColumn(curRow, "stat", 'd');
-
- var oDsUpdate = grdf_getGridUpdateData(grd_recmaster);
- grdf_setStatusColumn(oDsUpdate, "m"); // 각행의 status에 rowType 값에 따라 'i', 'u', 'd'로 업데이트 시켜준다
- ds_send.copyData(oDsUpdate, true);
-
- var cRow = ds_main_patinfo.rowposition;
- var pid = ds_main_recgruplist.getColumn(curRow, "pid");
- var orddd = ds_main_patinfo.getColumn(cRow, "indd");//입원일/진료일
- var cretno = ds_main_patinfo.getColumn(cRow, "cretno");//생성번호
- var orddeptcd = ds_main_patinfo.getColumn(cRow, "orddeptcd");//진료과
- var orddrid = ds_main_patinfo.getColumn(cRow, "medispclid");//진료의
- var ioflag = ds_main_patinfo.getColumn(cRow, "ioflag"); //외래/입원구분
- var signno = ds_main_recgruplist.getColumn(curRow, "signno");//인증번호
- /* [각 구분별 기록서식코드]
- * 중증도_일반병동 : 0000002439
- * 중증도_신생아 ICU : 0000002440
- * 중증도_혈액투석 : 0000002441
- * 중증도_중환자실 : 0000002442
- * 중증도_정신과병동 : 0000002444
- * 낙상사정_아동 : 0000002447
- * 낙상사정_성인(Morse Scale) : 0000002449
- * 욕창사정 (Braden Scale) : 0000002450
- */
- var recflag = ds_cond.getColumn(0, 'recflag');
- var clsflag = ds_cond.getColumn(0, 'clsflag');
- var formcd;//기록서식코드
- var formnm;//서식명
- if(clsflag == '1'){
- formcd = '0000002439'; //중증도_일반병동
- formnm = '중증도사정(일반병동)';
- recflag = '1';
- clsflag = '1';
- }else if(clsflag == '2'){
- formcd = '0000002440'; //중증도_신생아 ICU
- formnm = '중증도사정(신생아 ICU)';
- recflag = '1';
- clsflag = '2';
- }else if(clsflag == '5'){
- formcd = '0000002444'; //중증도_정신과병동
- formnm = '중증도사정(정신과병동)';
- recflag = '1';
- clsflag = '5';
- }else if(clsflag == '4' || clsflag == '6' || clsflag == '7'){
- formcd = '0000002442'; //중증도_중환자실
- formnm = '중증도사정(중환자실)';
- recflag = '1';
- clsflag = '4';
- }else if(clsflag == '3'){
- formcd = '0000002441'; //중증도_혈액투석
- formnm = '중증도사정(혈액투석)';
- recflag = '1';
- clsflag = '3';
- }else if(clsflag == '8'){
- formcd = '0000002447'; //낙상사정_아동
- formnm = '낙상위험사정(Humpty Dumpty Scale)';
- recflag = '2';
- clsflag = '1';
- }else if(clsflag == '9'){
- formcd = '0000002449'; //낙상사정_성인(Morse Scale)
- formnm = '낙상위험사정(Morse Scale)'; // 성인 -> Morse Scale (2011.03.17 ahn)
- recflag = '2';
- clsflag = '2';
- }else if(clsflag == '10'){
- formcd = '0000002450'; //욕창
- formnm = '욕창위험사정(Braden Scale)'; // 욕창 -> Braden Scale (2011.04.13 ahn)
- recflag = '3';
- clsflag = '1';
- }
- Sign.certreload = true ; // 전자서명 호출시 인증저장 버튼을 누늘때마다 인증서가 뜨도록 처리
- // 인증 로직 호출
- if(Sign.signprocess() == true){ // ▶ 전자인증 관련 환자 인적 정보를 보내줌.
- ds_send_signinfo.clear();
- ds_send_signinfo.addColumn("pid", "string", 256);
- ds_send_signinfo.addColumn("orddd", "string", 256);
- ds_send_signinfo.addColumn("cretno", "string", 256);
- ds_send_signinfo.addColumn("signno", "string", 256);
- ds_send_signinfo.addColumn("recdd", "string", 256);
- ds_send_signinfo.addColumn("rectm", "string", 256);
- ds_send_signinfo.addColumn("recsaveflag", "string", 256);
- ds_send_signinfo.addColumn("signflag", "string", 256);
- ds_send_signinfo.addColumn("signgenrflag", "string", 256);
- ds_send_signinfo.addColumn("formcd", "string", 256);
- ds_send_signinfo.addColumn("orddeptcd", "string", 256);
- ds_send_signinfo.addColumn("orddrid", "string", 256);
- ds_send_signinfo.addColumn("signbfcnts", "string", 256);
- ds_send_signinfo.addColumn("signaftcnts", "string", 256);
- ds_send_signinfo.addColumn("screenid", "string", 256);
- ds_send_signinfo.addColumn("certflag", "string", 256);
- var addRow = ds_send_signinfo.addRow();
-
- ds_send_signinfo.setColumn(addRow, "pid", pid); // 01 등록번호
- ds_send_signinfo.setColumn(addRow, "orddd", orddd); // 02 입원일자(입원,응급)/진료일자(외래)
- ds_send_signinfo.setColumn(addRow, "cretno", cretno); // 03 생성번호
- ds_send_signinfo.setColumn(addRow, "signno", signno); // 04 서명번호(인증번호)
- ds_send_signinfo.setColumn(addRow, "recdd", utlf_getCurrentDate()); // 05 실제 기록이 이루어진 기록일자
- ds_send_signinfo.setColumn(addRow, "rectm", utlf_getCurrentTime()); // 06 실제 기록이 이루어진 기록시간
- ds_send_signinfo.setColumn(addRow, "recsaveflag", "Y"); // 07 전자서명 인적정보 변경여부(기록일시 변경되는 경우 : Y, 그외 : N)
- ds_send_signinfo.setColumn(addRow, "signflag", "02"); // 08 서명자료구분(01 : 진료, 02 : 간호, 03 : LIS, 04 : 진료지원)
- ds_send_signinfo.setColumn(addRow, "signgenrflag", ioflag); // 09 외래/입원구분(코드정의서 M0010 참조)
- ds_send_signinfo.setColumn(addRow, "formcd", formcd); // 10 각 기록지별 서식코드 (emr.mrfmform)
- ds_send_signinfo.setColumn(addRow, "orddeptcd", orddeptcd); // 11 진료부서코드
- ds_send_signinfo.setColumn(addRow, "orddrid", orddrid); // 12 진료의사ID
- ds_send_signinfo.setColumn(addRow, "signbfcnts", Sign.signedInfos[1]); // 13 ▶ 인증할 데이터 정보(미기록 노드 제거된 정보)
- ds_send_signinfo.setColumn(addRow, "signaftcnts", Sign.signedInfos[2]); // 14 ▶ 공인인증 처리후 데이터
- ds_send_signinfo.setColumn(addRow, "screenid", frmf_getScreenID()); // 15 ▶ 화면아이디
- ds_send_signinfo.setColumn(addRow, "certflag", "C"); // 16 ▶ 인증여부( T : 임시저장, C : 인증저장)
- } else {
- return ;
- }
- var oParam = {};
- oParam.id = "TXMNW04001";
- oParam.service = "carerecapp.AsesRec";
- oParam.method = "reqExeSerDiagGrupInfo";
- oParam.inds = "cond=ds_cond recMaster=ds_send recDetail=ds_main_recdetailgruplist signinfo=ds_send_signinfo";
- oParam.outds = "ds_hidden_hiddeninfo=retdata";
- oParam.async = false;
- oParam.callback = "cf_TXMNW04001";
- tranf_submit(oParam);
-
- if( arErrorCode.pop("TXMNW04001") < 0 ){
- sysf_messageBox('중증도 내역의 삭제를', 'E009');
- return;
- }else{
- //중증도조회
- var patRow = ds_main_patinfo.rowposition;
- fSearchRecMaster(patRow);
- }
- }else if(msg == 7){
- return;
- }
- }
- }
- }
- function cf_TXMNW04001(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- /******************************************************************
- * Argument :
- * Description : Room combo event
- ******************************************************************/
- function group5_cmb_ward_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- //조회조건 clear
- ds_cond.setColumn(0, 'pid', '');
- ds_cond.setColumn(0, 'roomcd', '');
-
- //환자정보 표시 clear (2011.03.29 Ahn)
- ds_cond.setColumn(0, 'patnm', '');
- ds_cond.setColumn(0, 'sexage', '');
- ds_cond.setColumn(0, 'age', '');
-
- // 조회구분 초기화
- ds_cond.setColumn(0, "recsrchflag", "1^2^3^4");
-
- // 응급실인 경우 (2011.03.15 Ahn)
- fGetWardChngInfo("N");
-
- var wardcd = "";
-
- if(eERFLAG == "Y"){
- //선택된 병동에 따라 중증도/낙상/욕창 구분을 default선택한다.
- wardcd = ds_cond.getColumn(0, "wardcd");
- fSelectDefaultRdoCond(wardcd);
-
- //병동에 해당되는 병실검색
- fGetRoom();
- group5.cmb_room.index = 0;
- //cmb_room.value = model.getValue("/root/hidden/roomcdgrup/roomcdgruplist[1]/roomcd");
- //선택한 병실에 해당하는 환자리스트 조회
- fGetCareComPatList(group5.cmb_ward.value, group5.cmb_room.value, group5.cmb_zone.value);
-
- //그리드에 환자정보를 조회
- fSearchPatList();
-
- //model.setFocus("cmb_erpat");
-
- }else{
- //내환자 세팅 조회
- fmisetting();
-
- //선택된 병동에 따라 중증도/낙상/욕창 구분을 default선택한다.
- wardcd = ds_cond.getColumn(0, "wardcd");
- fSelectDefaultRdoCond(wardcd);
-
- //병동에 해당되는 병실검색
- fGetRoom();
- group5.cmb_room.index = 0;
- // 환자리스트 초기화
- ds_data_patientgruplist.clearData();
- // model.makeNode("/root/hidden/patientgrup/patientgruplist/patientnm");
- // model.makeNode("/root/hidden/patientgrup/patientgruplist/pid");
-
- //그리드에 환자정보를 조회
- fSearchPatList();
-
- group5.cmb_room.setFocus();
- }
- }
- /******************************************************************
- * Argument :
- * Description : Room combo2 (cmb_zone) event
- ******************************************************************/
- function group5_cmb_zone_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- //조회조건 clear
- ds_cond.setColumn(0, 'pid', '');
-
- //환자정보 표시 clear (2011.03.29 Ahn)
- ds_cond.setColumn(0, 'patnm', '');
- ds_cond.setColumn(0, 'sexage', '');
- ds_cond.setColumn(0, 'age', '');
-
- // 응급실정보 추가 (2011.03.15 Ahn)
- fGetCareComPatList(ds_cond.getColumn(0, "wardcd"), ds_cond.getColumn(0, "roomcd"), ds_cond.getColumn(0, "zonecd"));
-
- //그리드에 환자정보를 조회
- fSearchPatList();
- }
- /******************************************************************
- * Argument :
- * Description : Room combo2 (cmb_room) event
- ******************************************************************/
- function group5_cmb_room_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- //조회조건 clear
- ds_cond.setColumn(0, 'pid', '');
-
- //환자정보 표시 clear (2011.03.29 Ahn)
- ds_cond.setColumn(0, 'patnm', '');
- ds_cond.setColumn(0, 'sexage', '');
- ds_cond.setColumn(0, 'age', '');
-
-
- //선택한 병실에 해당하는 환자리스트 조회
- //fGetPatient();
-
- //그리드에 환자정보를 조회
- fSearchPatList();
- }
- /******************************************************************
- * Argument :
- * Description : Room combo3 (cmb_erpat) event
- ******************************************************************/
- function group5_cmb_erpat_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- //그리드에 환자정보를 조회
- ds_cond.setColumn(0, "execdd", utlf_getCurrentDate());// 수행일에 현재날짜
-
- ds_cond.addColumn("copyexecdd", "string", 256);
- ds_cond.setColumn(0, "copyexecdd",utlf_getCurrentDate());
- fSearchPatList();
- }
- /******************************************************************
- * Argument :
- * Description : Room combo3 (cmb_pid) event
- ******************************************************************/
- function group5_cmb_pid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- //그리드에 환자정보를 조회
- ds_cond.setColumn(0, "execdd", utlf_getCurrentDate());// 수행일에 현재날짜
-
- ds_cond.addColumn("copyexecdd", "string", 256);
- ds_cond.setColumn(0, "copyexecdd",utlf_getCurrentDate());
- fSearchPatList();
- }
- /******************************************************************
- * Argument :
- * Description : 내환자 combo (cmb_settingrn) event
- ******************************************************************/
- function group5_cmb_settingrn_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- //********[미구현내역]*********
- //내환자세팅한 간호사 선택시 해당 환자정보 조회할것
- var settingid = ds_cond.getColumn(0, "settingrnid");
- //환자정보 조회
- fSearchPatList();
- }
- /******************************************************************
- * Argument :
- * Description : 전체 checkbox event
- ******************************************************************/
- function group5_rdo_recflagAll_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var all = ds_cond.getColumn(0, "recsrchflagall");
-
- if( all == "A" ){
- group5.rdo_recflag.setCheckAll(true);
- ds_cond.setColumn(0, "recsrchflag", "1^2^3^4^");
- } else {
- group5.rdo_recflag.setCheckAll(false);
- ds_cond.setColumn(0, "recsrchflag", "");
- }
-
- //조회조건 clear
- ds_cond.setColumn(0, "pid", "");
-
- //환자정보 표시 clear (2011.03.29 Ahn)
- ds_cond.setColumn(0, "patnm", '');
- ds_cond.setColumn(0, "sexage", '');
- ds_cond.setColumn(0, "age", '');
-
- //환자정보 조회
- fSearchPatList("Srch");
-
- // 그리드 재구성 (2011.03.30 Ahn)
- fSetPatGrid("ds_main_recgruplist", grd_recmaster, "Exec");
- }
- /******************************************************************
- * Argument :
- * Description : 중증도구분 radio event
- ******************************************************************/
- function rdo_clsflaga_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- var sInstcd = sysf_getUserInfo("dutplceinstcd");
- ds_code_codelist.filter("cdgrupid=='T98' && cdid=='"+sysf_getUserInfo("dutplcecd")+"'");
- //var sDutplcdcd = model.getValue("/root/code/codeinfo/codelist[cdgrupid = 'T49' and cdnm = '708병동']/cdid");
-
-
- // 환자정보 체크 해제
- //grd_patinfo.fixedcellischeck(0, 0) = false;
-
- // 전체 체크 해제
- ds_cond.setColumn(0, 'recsrchflagall', "");
-
- // 성공실패 카운트 초기화
- grp_allsign.cap_succnt.value = 0;
- grp_allsign.cap_failcnt.value = 0;
- grp_allsign.cap_totcnt.value = 0;
-
- //일괄 저장버튼 활성화
- if(sInstcd == '031'){
- if (ds_code_codelist.rowcount > 0 || sysf_getUserInfo("userid") == "ENR" ) {
- grp_allsign.visible = true;
- }
- } else {
- grp_allsign.visible = false;
- }
-
- ds_code_codelist.filter("");
- //그리드에 환자정보를 조회
- ds_cond.setColumn(0, "execdd", utlf_getCurrentDate());// 수행일에 현재날짜
- ds_cond.addColumn("copyexecdd", "string", 256);
- ds_cond.setColumn(0, 'copyexecdd', utlf_getCurrentDate());
-
- patReSrch("Sel"); // 해당환자 재조회
- }
- /******************************************************************
- * Argument :
- * Description : 낙상위험사정구분 radio event
- ******************************************************************/
- function rdo_clsflagb_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
- {
- var sInstcd = sysf_getUserInfo("dutplceinstcd");
-
- ds_hidden_codeinfo.copyData(ds_code_codelist);
- ds_hidden_codeinfo.filter("cdgrupid == 'T98' && cdid =='" + sysf_getUserInfo("dutplcecd") + "'");
-
- if( Number(ds_cond.getColumn(0, "age")) < 15 ){
- if( ds_cond.getColumn(0, "clsflag") == "9" ){
- sysf_messageBox("낙상 위험 사정은 15세 미만 - Humpty Dumpty scale을 사용해야 합니다.","E");
- ds_cond.setColumn(0, "clsflag","8");
- }
- }else{
- if( ds_cond.getColumn(0, "clsflag") == "8" ){
- sysf_messageBox("낙상 위험 사정은 15세 이상 - Morse scale을 사용해야 합니다.","E");
- ds_cond.setColumn(0, "clsflag", "9");
- }
- }
-
- // 환자정보 체크 해제
- // grd_patinfo.fixedcellischeck(0, 0) = false;
-
- // 전체 체크 해제
- ds_cond.setColumn(0, "recsrchflagall", "");
-
- // 성공실패 카운트 초기화
- grp_allsign.cap_succnt.value = 0;
- grp_allsign.cap_failcnt.value = 0;
- grp_allsign.cap_totcnt.value = 0;
-
- // 일괄 저장 버튼 해제
- if(sInstcd == '031'){
- if( ds_hidden_codeinfo.rowcount > 0 || sysf_getUserInfo("userid") == "ENR" ) {
- grp_allsign.visible = true;
- }
- } else {
- grp_allsign.visible = false;
- }
-
- //그리드에 환자정보를 조회
- ipt_indate.value = utlf_getCurrentDate();// 수행일에 현재날짜
- ds_cond.addColumn("copyexecdd", "string", 256);
- ds_cond.setColumn(0, "copyexecdd", utlf_getCurrentDate());
-
- patReSrch("Sel"); // 해당환자 재조회
- }
- /******************************************************************
- * Argument :
- * Description : 욕창위험사정구분 radio event
- ******************************************************************/
- function rdo_clsflagc_onitemclick(obj:Radio, e:RadioMouseEventInfo)
- {
- ds_cond.setColumn(0, "clsflag", "10");
- var sInstcd = sysf_getUserInfo("dutplceinstcd");
- //var node = instance1.selectNodes("/root/code/codeinfo/codelist[cdgrupid = 'T98' and cdid='" + getUserInfo("dutplcecd") + "']");
- ds_hidden_codeinfo.clear();
- ds_hidden_codeinfo.copyData(ds_code_codelist);
- ds_hidden_codeinfo.filter("cdgrupid == 'T98' && cdid=='" + sysf_getUserInfo("dutplcecd") + "'");
-
- // 환자정보 체크 해제
- // grd_patinfo.fixedcellischeck(0, 0) = false;
-
- // 전체 체크 해제
- ds_cond.setColumn(0, "recsrchflagall", "");
-
- // 성공실패 카운트 초기화
- grp_allsign.cap_succnt.value = 0;
- grp_allsign.cap_failcnt.value = 0;
- grp_allsign.cap_totcnt.value = 0;
-
- //일괄 저장버튼 활성화
- if(sInstcd == '031'){
- if( ds_hidden_codeinfo.rowcount > 0 || sysf_getUserInfo("userid") == "ENR" ) {
- grp_allsign.visible = true;
- }
- } else {
- grp_allsign.visible = false;
- }
- //그리드에 환자정보를 조회
- ipt_indate.value = utlf_getCurrentDate();// 수행일에 현재날짜
- ds_cond.addColumn("copyexecdd", "string", 256);
- ds_cond.setColumn(0, "copyexecdd", utlf_getCurrentDate());
- //fSearchPatList("Sel");
-
- patReSrch("Sel"); // 해당환자 재조회
- }
- /******************************************************************
- * Argument :
- * Description : 통증위험사정구분 radio event
- ******************************************************************/
- function rdo_clsflagd_onitemclick(obj:Radio, e:RadioMouseEventInfo)
- {
- sysf_messageBox('통증관리기록 메뉴를 사용하십시오', 'I');
-
- // 일괄 저장 버튼 해제
- grp_allsign.btn_AllSave.visible = false;
- }
- /******************************************************************
- * Argument :
- * Description : 조회 button event
- ******************************************************************/
- function group5_btn_ref_onclick(obj:Button, e:ClickEventInfo)
- {
- //조회조건 clear
- //debugger;
- ds_cond.setColumn(0, 'pid', '');
-
- //환자정보 표시 clear (2011.03.29 Ahn)
- ds_cond.setColumn(0, 'patnm', '');
- ds_cond.setColumn(0, 'sexage', '');
- ds_cond.setColumn(0, 'age', '');
-
- //환자정보 조회
- fSearchPatList("Srch");
- }
- /******************************************************************
- * Argument :
- * Description : 환자정보 event
- ******************************************************************/
- function grd_patinfo_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- //상단정보 세팅 20080820
- var cRow = ds_main_patinfo.rowposition;
- if( cRow > -1){
- //debugger;
- var condparam = "";
-
- if( ds_main_patinfo.getColumn(cRow, "dschdd") == "99991231"){ //퇴원환자가 아닌경우
- if( ds_main_patinfo.getColumn(cRow, "ioflag") =="O" ) {
- //외래환자 상단정보 등록
- condparam = "O"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
- + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
- + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
- + "▦" + sysf_getUserInfo("dutplceinstcd")
- + "▦" + utlf_getCurrentDate();
- }else if( ds_main_patinfo.getColumn(cRow, "ioflag") =="E" ) {
- //응급환자 상단정보 등록 (2011.03.15 ahn)
- condparam = "E"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
- + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
- + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
- + "▦" + sysf_getUserInfo("dutplceinstcd")
- + "▦" + utlf_getCurrentDate();
- }else {
- //재원환자 상단정보 등록
- condparam = "I"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
- + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
- + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
- + "▦" + sysf_getUserInfo("dutplceinstcd")
- + "▦" + utlf_getCurrentDate();
- }
- }else { //퇴원환자인 경우
- if( ds_main_patinfo.getColumn(cRow, "ioflag") =="O" ) {
- //외래환자 상단정보 등록
- condparam = "O"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
- + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
- + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
- + "▦" + sysf_getUserInfo("dutplceinstcd")
- + "▦" + ds_main_patinfo.getColumn(cRow, "dschdd");
- }else if( ds_main_patinfo.getColumn(cRow, "ioflag") =="E" ) {
- //응급환자 상단정보 등록 (2011.03.15 ahn)
- condparam = "E"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
- + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
- + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
- + "▦" + sysf_getUserInfo("dutplceinstcd")
- + "▦" + ds_main_patinfo.getColumn(cRow, "dschdd");
- }else {
- //재원환자 상단정보 등록
- condparam = "I"+"▦" + ds_main_patinfo.getColumn(cRow, "pid")
- + "▦" + ds_main_patinfo.getColumn(cRow, "indd")
- + "▦" + ds_main_patinfo.getColumn(cRow, "cretno")
- + "▦" + sysf_getUserInfo("dutplceinstcd")
- + "▦" + ds_main_patinfo.getColumn(cRow, "dschdd");
- }
- }
-
- // 환자정보 표시 추가 (2011.03.29 Ahn)
- ds_cond.setColumn(0, "pid", ds_main_patinfo.getColumn(cRow, "pid"));
- ds_cond.setColumn(0, "patnm", ds_main_patinfo.getColumn(cRow, "hngnm"));
- ds_cond.setColumn(0, "sexage", ds_main_patinfo.getColumn(cRow, "sexage"));
- ds_cond.setColumn(0, "age", ds_main_patinfo.getColumn(cRow, "age"));
-
- appf_initPatientInfo(condparam);
- //frmf_setParameter("condparam", condparam);
- //frmf_modal("SPMMO08900", "SPMMO08900", null, null, null, null, null, null, null, null, null, null, "M");
-
- // 상단정보 세팅
- var sPamInfo = sysf_getGlobalVariable("paminfo");
- if ( !utlf_isNull(sPamInfo) ){
- dsf_setCSVToDs("ds_main_paminfo",sPamInfo);
-
- if( utlf_isNull(ds_main_paminfo.getColumnInfo("sectioncd")) ){
- ds_main_paminfo.addColumn("sectioncd", "string");
- }
- }
-
- // 조회구분 중 하나라도 선택된 경우
- if( !utlf_isNull(ds_cond.getColumn(0, "recsrchflag")) ){
- /*
- // 통증만 선택된 경우
- if(model.getValue("/root/cond/recsrchflag") == 4) {
- messageBox('통증관리기록 메뉴를 사용하십시오', 'I');
- //modal("SMMNW04800",1); //통증관리기록 화면 호출
- model.refresh();
- //alert("1");
- return;
- }
- */
- //중증도/낙상/욕창 내역 조회(grd_recmaster)
- fSearchRecMaster(cRow);
- //중증도 상세점수조회
- //fSearchRecPnt(); fSearchRecMaster 에 포함되어있음.
- }else {
- sysf_messageBox('조회구분 중 한개 이상 필수 선택', 'I009');
- return;
- }
-
- if(ds_cond.getColumn(0, "clsflag") == "8" || ds_cond.getColumn(0, "clsflag") =="9"){
-
- frmf_inputEnterKey("rdo_clsflagb", "onitemchanged", new ItemChangeEventInfo);
- }
-
- }
- }
- /******************************************************************
- * Argument :
- * Description : 환자별 중증도/낙상/용창/통증 사정 event
- ******************************************************************/
- function grd_recmaster_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- //상세내역이 수정된 경우는 상세내역을 저장한후 row를 이동시킨다.
- var cRow = ds_main_recgruplist.rowposition;
- if( cRow > -1 ){
- var isEdit = ds_main_recpntlist.getRowType(0);
- //trace("isEdit : " + isEdit);
- if(Number(isEdit) == 4){
- ds_main_recpntlist.rowposition = recMCurRow;
- //alert('상세네역에 수정된 사항이 있습니다. 선택하신 항목으로의 이동을 계속진행하시겠습니까? 예, 아니오.');
- var msg = sysf_messageBox('상세내역에 수정된 사항이 있습니다. 선택하신 항목으로의 이동을 ', 'Q003');//예(6)일경우 이동, 아니오(7)일경우 리턴
- if(msg == 7){
- //fSave();
- ds_main_recpntlist.rowposition = recMCurRow; //이전항목으로 row를 다시 이동시킴
- }else if(msg == 6){
- //중증도점수그리드 상태값 제거
- ds_main_recpntlist.setRowType(0, 1);
-
- //중증도 마스터그리드 상태값 제거
- if( ds_main_recgruplist.getRowType(recMCurRow) != -1 ){//상태가 신규상태가 아니면 u로 변경
- grdf_setStatus(grd_recmaster, "", recMCurRow);
- //ds_main_recgruplist.setRowType(recMCurRow, 1);
- ds_main_recgruplist.setColumn(recMCurRow, "stat", "-");
- }
- if( instUseYN == "Y" && grp_agechk.visible == true ){
- ds_cond.setColumn(0, "agechk", ds_main_recgruplist.getColumn(recMCurRow, "agechk"));
- }else {
- ds_cond.setColumn(0, "agechk", "N");
- }
-
- ds_cond.setColumn(0, "execdd", ds_main_recgruplist.getColumn(cRow, "execdd")); //저장할수행일자
-
- ds_cond.setColumn(0, "exectm", ds_main_recgruplist.getColumn(cRow, "exectm")); //저장할수행시간
-
- ds_cond.setColumn(0, "copyexecdd", ds_main_recgruplist.getColumn(cRow, "execdd")); //복사할수행일자(중증도상세내역 구분)
-
- //중증도 상세점수조회
- fSearchRecPnt("Sel");
- }
- }else{
- ds_cond.setColumn(0, "copyexecdd", "");
- ds_cond.setColumn(0, "copyexecdd", ds_main_recgruplist.getColumn(cRow, "execdd")); //복사할수행일자(중증도상세내역 구분)
- ds_cond.setColumn(0, "execdd", ds_main_recgruplist.getColumn(cRow, "execdd"));
-
- ds_cond.setColumn(0, "exectm", ds_main_recgruplist.getColumn(cRow, "exectm"));
-
- if( instUseYN == "Y" && grp_agechk.visible == true ){
- ds_cond.setColumn(0, "agechk", ds_main_recgruplist.getColumn(cRow, "agechk"));
- } else {
- ds_cond.setColumn(0, "agechk", "N");
- }
- //중증도 상세점수조회
- fSearchRecPnt("Sel");
- }
- }
- }
- /****************************************************************************
- * Argument :
- * Description : 환자별 중증도/낙상/용창/통증 오른쪽 button event
- *************************************************((((((((((*****************/
- function grd_recmaster_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- recMCurRow = ds_main_recgruplist.rowposition;//onclick하기 전의 row
- if(obj.rowcount > e.row && e.row > -1){
- grdf_setSelectedCell(obj, e);
- //pmn_popupMenu.trackPopup(e.screenX,e.screenY);
- }
- //return true;
- }
- /******************************************************************
- * Argument :
- * Description : 중증도 상세내역 event
- ******************************************************************/
- function grd_recdetail_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var curCol = grd_recdetail.currentcol;
- if( curCol == 3 || curCol == 4 ) fHistDescs(); // 분류도구 설명
- //else
- }
- /******************************************************************
- * Argument :
- * Description : 중증도 상세내역 update event
- ******************************************************************/
- function ds_main_recdetailgruplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- //trace("aaaa");
- if( e.columnid == "flag" || e.columnid == "timsval"){
- var selCol = grd_recdetail.currentcol;
- var selRow = ds_main_recdetailgruplist.rowposition;
- var _supcd = ds_main_recdetailgruplist.getColumn(selRow, "supcd");
-
- var selMstRow = ds_main_recgruplist.rowposition;
-
-
-
- if(ds_main_recgruplist.getColumn(ds_main_recgruplist.rowposition, "execdd") < "20190402" ){
- if( (ds_main_recgruplist.getColumn(selMstRow,"recflag") =="2" && ds_main_recgruplist.getColumn(selMstRow,"clsflag") =="1") ||
- (ds_main_recgruplist.getColumn(selMstRow,"recflag") =="2" && ds_main_recgruplist.getColumn(selMstRow,"clsflag") =="2")
- ){
- if(ds_cond.getColumn(0,"maddchk01") =="Y" ||
- ds_cond.getColumn(0,"maddchk02") =="Y" ||
- //ds_cond.getColumn(0,"maddchk03") =="Y" ||
- //ds_cond.getColumn(0,"maddchk04") =="Y" ||
- ds_cond.getColumn(0,"maddchk05") =="Y" ||
- ds_cond.getColumn(0,"maddchk06") =="Y" ||
- ds_cond.getColumn(0,"haddchk") =="Y" ||
- ds_cond.getColumn(0,"haddchk01") =="Y" ||
- ds_cond.getColumn(0,"haddchk02") =="Y" ||
- ds_cond.getColumn(0,"haddchk03") =="Y"
- ){
- sysf_messageBox("기타 항목 선택되어있어 낙상위험 평가도구 점수를 사정할수 없습니다.","I");
- fChkTF("N", "Y");
- //ds_main_recdetailgruplist.setColumn(selRow, "flag","N");
-
-
- }
- //return;
- }
- }
- //횟수값이 변경에 따른 입력여부가 N이면 값을 원래 값으로 리턴
- fChangeTimsValValue(selRow, selCol, _supcd);
-
- //체크박스 변경에 따른 선택된 같은 그룹내의 체크박스 값을 변경한다.
- fChangeCheckboxValue(selRow, selCol, _supcd);
-
- //상세내역 그리드의 그리드 상태값 변경
- fChangeGridStat();
- }
- }
- /******************************************************************
- * Argument :
- * Description : bool_agechk checkbox event
- ******************************************************************/
- function grp_agechk_bool_agechk_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- fJCISettingAgeChk(ds_cond.getColumn(0, "agechk"));
- }
- /******************************************************************
- * Argument :
- * Description : 일괄 button event
- ******************************************************************/
- function grp_allsign_btn_AllSave_onclick(obj:Button, e:ClickEventInfo)
- {
- //중증도 상세내역 및 마스터기록내역 저장
- fAllSignSave();
- }
- /******************************************************************
- * Argument :
- * Description : 인증저장 button event
- ******************************************************************/
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- fSignSave();
- }
- /******************************************************************
- * Argument :
- * Description : 현재일시 button event
- ******************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- ipt_indate.value = utlf_getCurrentDate();// 기준일에 현재날짜(디폴트);
- ipt_time.value = utlf_getCurrentDateTime().substring(9,13);//현재 시간
- }
- /******************************************************************
- * Argument :
- * Description : 확대 button event
- ******************************************************************/
- function btn_sizectr_onclick(obj:Button, e:ClickEventInfo)
- {
- if ( btn_sizectr.text == "축소") {
- btn_sizectr.text = "확대"; //축소되었으므로 확대시켜야한다.
- grd_patinfo.position.width = "335"
-
- //bolall.attribute("left") = "222"; //--(20081216)
- } else {
- btn_sizectr.text = "축소"; //확대되었으므로 축소시켜야한다.
- grd_patinfo.position.width = "690"
- }
- }
- /******************************************************************
- * Argument :
- * Description : 집중치료실 입실환자 checkbox event
- ******************************************************************/
- function group2_chk_maddchk01_onclick(obj:CheckBox, e:ClickEventInfo)
- {
-
- if( ds_cond.getColumn(0, "maddchk01") == "Y" ){
- ds_cond.setColumn(0, "maddchk99", "");
- } else {
- ds_cond.setColumn(0, "maddchk01", "");
- }
-
- fChkTF("N", "Y");
-
- /*
- if(ds_cond.getColumn(0, "maddchk01") =="Y"){
- fChkTrue();
- }else{
- fChkFalse();
- }
- */
-
- /*
- if(ds_cond.getColumn(0, "maddchk01") =="Y"){
- if( ds_main_recdetailgruplist.rowcount > 0){
- for( var i = 0; i < ds_main_recdetailgruplist.rowcount; i++ ){
-
- trace(ds_main_recdetailgruplist.getColumn(i,"basepnt"));
-
- if( !utlf_isNull(ds_main_recdetailgruplist.getColumn(i,"basepnt")) ){
- if(ds_main_recdetailgruplist.getColumn(i,"basepnt") == 0){
- ds_main_recdetailgruplist.setColumn(i,"flag","Y");
- }else{
- ds_main_recdetailgruplist.setColumn(i,"flag","N");
- }
- }
- ds_main_recdetailgruplist.setColumn(i, "chkTrue", "1");
- }
- }
- }else{
- if( ds_main_recdetailgruplist.rowcount > 0){
- for( var i = 0; i < ds_main_recdetailgruplist.rowcount; i++ ){
- ds_main_recdetailgruplist.setColumn(i,"flag","N");
- ds_main_recdetailgruplist.setColumn(i, "chkTrue", "0");
- }
- }
- }
-
- */
-
- }
- /******************************************************************
- * Argument :
- * Description : 만 70세 이상 환자 checkbox event
- ******************************************************************/
- function group2_chk_maddchk02_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( ds_cond.getColumn(0, "maddchk02") == "Y" ){
- ds_cond.setColumn(0, "maddchk99", "");
- } else {
- ds_cond.setColumn(0, "maddchk02", "");
- }
- fChkTF("N", "Y");
- }
- /******************************************************************
- * Argument :
- * Description : 진정 및 이완 약물 투여 환자 checkbox event
- ******************************************************************/
- function group2_chk_maddchk03_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( ds_cond.getColumn(0, "maddchk03") == "Y" ){
- ds_cond.setColumn(0, "maddchk99", "");
- } else {
- ds_cond.setColumn(0, "maddchk03", "");
- }
- fChkTF("N", "Y");
- }
- /******************************************************************
- * Argument :
- * Description : 음주 환자 checkbox event
- ******************************************************************/
- function group2_chk_maddchk04_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( ds_cond.getColumn(0, "maddchk04") == "Y" ){
- ds_cond.setColumn(0, "maddchk99", "");
- } else {
- ds_cond.setColumn(0, "maddchk04", "");
- }
- fChkTF("N", "Y");
- }
- /******************************************************************
- * Argument :
- * Description : 해당없음 checkbox event
- ******************************************************************/
- function group2_chk_maddchk99_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( ds_cond.getColumn(0, "maddchk99") == "Y" ){
- ds_cond.setColumn(0, "maddchk01", "");
- ds_cond.setColumn(0, "maddchk02", "");
- ds_cond.setColumn(0, "maddchk03", "");
- ds_cond.setColumn(0, "maddchk04", "");
- } else {
- ds_cond.setColumn(0, "maddchk99", "");
- }
- fChkTF("N", "Y");
- }
- /******************************************************************
- * Argument :
- * Description : 집중치료실 입실 환자 checkbox event
- ******************************************************************/
- function group4_chk_haddchk01_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( ds_cond.getColumn(0, "haddchk01") == "N" ){
- ds_cond.setColumn(0, "haddchk01", "");
- }
- fChkTF("N", "Y");
- }
- /******************************************************************
- * Argument :
- * Description : 3세 미만 소아 checkbox event
- ******************************************************************/
- function group4_chk_haddchk_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( ds_cond.getColumn(0, "haddchk") == "N" ){
- ds_cond.setColumn(0, "haddchk", "");
- }
- fChkTF("N", "Y");
-
- }
- /******************************************************************
- * Argument :
- * Description : 환자정보 checkbox event
- ******************************************************************/
- function bool3_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- var multicheck = ds_cond.getColumn(0, "patmulti");
- var xPatInfoListPath = "/root/main/patinfo/patlist";
-
- var nodeCnt = ds_main_patinfo.rowcount;
- //alert("환자수 : " + nodeCnt);
- for( var i = 0; i < nodeCnt; i++ ){
- if( multicheck == "Y" ){
- ds_main_patinfo.setColumn(i, "chk", "Y");
- }else{
- ds_main_patinfo.setColumn(i, "chk", "N");
- }
- }
- }
- function caption8_onclick(obj:Static, e:ClickEventInfo)
- {
- var sInstcd = sysf_getUserInfo("dutplceinstcd");
-
- ds_hidden_codeinfo.copyData(ds_code_codelist);
- ds_hidden_codeinfo.filter("cdgrupid == 'T98' && cdid =='" + sysf_getUserInfo("dutplcecd") + "'");
-
- if( Number(ds_cond.getColumn(0, "age")) < 15 ){
- ds_cond.setColumn(0, "clsflag", "8");
- }else{
- ds_cond.setColumn(0, "clsflag", "9");
- }
-
- // 환자정보 체크 해제
- // grd_patinfo.fixedcellischeck(0, 0) = false;
-
- // 전체 체크 해제
- ds_cond.setColumn(0, "recsrchflagall", "");
-
- // 성공실패 카운트 초기화
- grp_allsign.cap_succnt.value = 0;
- grp_allsign.cap_failcnt.value = 0;
- grp_allsign.cap_totcnt.value = 0;
-
- // 일괄 저장 버튼 해제
- if(sInstcd == '031'){
- if( ds_hidden_codeinfo.rowcount > 0 || sysf_getUserInfo("userid") == "ENR" ) {
- grp_allsign.visible = true;
- }
- } else {
- grp_allsign.visible = false;
- }
-
- //그리드에 환자정보를 조회
- ipt_indate.value = utlf_getCurrentDate();// 수행일에 현재날짜
- ds_cond.addColumn("copyexecdd", "string", 256);
- ds_cond.setColumn(0, "copyexecdd", utlf_getCurrentDate());
-
- patReSrch("Sel"); // 해당환자 재조회
- }
- function grd_recmaster_onlbuttondown(obj:Grid, e:GridMouseEventInfo)
- {
- recMCurRow = ds_main_recgruplist.rowposition;//onclick하기 전의 row
- }
- function SMMNW04000_ontimer(obj:Form, e:TimerEventInfo)
- {
- if( e.timerid == 0 ){
- this.killTimer(0);
-
- fInit();
- }
- }
- function ipt_time_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
- {
- /*
- var sPosttext = utlf_trim((e.posttext).replace(":", ""));
- if( !utlf_isNull(sPosttext.substring(0, 1)) ){
- if( eval(sPosttext.substring(0, 1)) > 2 ){
- obj.value = "";
- obj.setCaretPos(0);
- return;
- }
- }
- if( !utlf_isNull(sPosttext.substring(1, 2)) ){
- if( eval(sPosttext.substring(0, 1)) > 1 ){
- if( eval(sPosttext.substring(1, 2)) > 3 ){
- obj.value = sPosttext.substring(0, 1);
- obj.setCaretPos(1);
- return;
- }
- }
- }
- if( !utlf_isNull(sPosttext.substring(2, 3)) ){
- if( eval(sPosttext.substring(2, 3)) > 5 ){
- obj.value = sPosttext.substring(0, 2);
- obj.setCaretPos(2);
- return;
- }
- }
- */
- utlf_validMaskEditTime(obj, e);
- }
- function grd_recmaster_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- recMCurRow = ds_main_recgruplist.rowposition;//onclick하기 전의 row
- if(obj.rowcount > e.row && e.row > -1){
- grdf_setSelectedCell(obj, e);
- pmn_popupMenu.trackPopup(e.screenX,e.screenY);
- }
- return true;
- }
- function ds_cond_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- /*
- if( e.columnid == "maddchk01" ||
- e.columnid == "maddchk02" ||
- e.columnid == "maddchk03" ||
- e.columnid == "maddchk04" ||
- e.columnid == "haddchk" ||
- e.columnid == "haddchk01" ){
- for( var i = 0; i < ds_main_recdetailgruplist.rowcount; i++ ){
- if(ds_main_recdetailgruplist.getColumn(i,"basepnt") =="0"){
- ds_main_recdetailgruplist.setColumn(i,"flag","Y");
- }
- }
- }
- */
- }
- function group2_chk_maddchk05_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( ds_cond.getColumn(0, "maddchk05") == "Y" ){
- ds_cond.setColumn(0, "maddchk99", "");
- } else {
- ds_cond.setColumn(0, "maddchk05", "");
- }
-
- fChkTF("N", "Y");
- }
- function group2_chk_maddchk06_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( ds_cond.getColumn(0, "maddchk06") == "Y" ){
- ds_cond.setColumn(0, "maddchk99", "");
- } else {
- ds_cond.setColumn(0, "maddchk06", "");
- }
-
- if( sysf_getUserInfo("dutplceinstcd") == "032"){
- sysf_messageBox("칠곡경북대학교병원은 정신과 폐쇄병동이 없어 선택할 수 없습니다..","I");
- ds_cond.setColumn(0, "maddchk06", "");
- return;
- }
- fChkTF("N", "Y");
- }
- function group4_chk_haddchk02_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( ds_cond.getColumn(0, "haddchk02") == "N" ){
- ds_cond.setColumn(0, "haddchk02", "");
- }
-
- fChkTF("N", "Y");
- }
- function group4_chk_haddchk03_onclick(obj:CheckBox, e:ClickEventInfo)
- {
- if( ds_cond.getColumn(0, "haddchk03") == "N" ){
- ds_cond.setColumn(0, "haddchk03", "");
- }
-
- if( sysf_getUserInfo("dutplceinstcd") == "032"){
- sysf_messageBox("칠곡경북대학교병원은 정신과 폐쇄병동이 없어 선택할 수 없습니다..","I");
- ds_cond.setColumn(0, "haddchk03", "");
- return;
- }
- fChkTF("N", "Y");
- }
- function btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_patinfo, "중증도 및 위험사정 환자정보", "중증도 및 위험사정 환자정보", false, "" ,"user");
- }
- function btn_sizectr00_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SMMNR04800","SMMNR04800","","","","","","","","","","","M");
- }
- ]]></Script>
- </Form>
- </FDL>
|