1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMND00300" position="absolute 0 0 1210 768" titletext="투석간호정보조사" oninit="SMMND00300_oninit" onload="SMMND00300_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="투석간호정보조사" class="tit_1" position="absolute 0 0 189 23"/>
- <MaskEdit id="opt_bfrectm" taborder="1" readonly="true" mask="hh:nn" visible="false" position="absolute 186 59 236 78"/>
- <Calendar id="ipt_bfrecdd" taborder="2" class="input_default" enable="false" visible="false" position="absolute 83 59 183 78"/>
- <Tab id="switch1" taborder="3" tabindex="0" position="absolute 0 59 1202 761" anchor="all">
- <Tabpages>
- <Tabpage id="case1" text="투석정보">
- <Layouts>
- <Layout>
- <Div id="import1" taborder="0" url="emr_wardcarexp::SMMNW08400_투석정보.xfdl" position="absolute 1 2 1195 664"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case2" text="병력">
- <Layouts>
- <Layout>
- <Div id="import4" taborder="0" url="emr_wardcarexp::SMMNW08800_병력.xfdl" position="absolute 0 0 1194 662"/>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="case_edurec" text="교육요구도">
- <Layouts>
- <Layout>
- <Div id="ivw_edurec" taborder="0" position="absolute 0 0 1194 662"/>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Shape id="line64" class="line_3" position="absolute 0 51 1194 57" anchor="left top right"/>
- <Shape id="line13" class="line_10" position="absolute 0 24 1194 30" anchor="left top right"/>
- <Static id="cap_bfrecdt" text="이전기록일시" class="cell_1" position="absolute 0 29 88 52"/>
- <Static id="cap_bfrecuser" text="이전기록자" class="cell_1" position="absolute 245 29 325 52"/>
- <Edit id="opt_bfrecuser" taborder="4" readonly="true" autoselect="true" autoskip="true" position="absolute 328 31 426 50"/>
- <Static id="cap_recdt" text="기록일시" class="cell_1" position="absolute 430 29 510 52"/>
- <Calendar id="ipt_recdd" taborder="5" autoselect="true" autoskip="true" class="input_default" position="absolute 513 31 613 50" dateformat="yyyy-MM-dd" value="null"/>
- <MaskEdit id="ipt_rectm" taborder="6" type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" autoskip="true" class="input_default" position="absolute 616 31 666 50" style="align:left middle;"/>
- <Static id="cap_recuser" text="기록자" class="cell_1" position="absolute 669 29 749 52"/>
- <Edit id="opt_recuser" taborder="7" readonly="true" autoselect="true" autoskip="true" position="absolute 752 31 850 50"/>
- <Static id="cap_infodnor" text="정보제공자" class="cell_1" position="absolute 853 29 933 52"/>
- <Edit id="ipt_infodnor" taborder="8" autoselect="true" autoskip="true" class="input_default" position="absolute 936 31 1036 50"/>
- <Button id="btn_save" taborder="9" text="임시저장" class="btn2" visible="false" position="absolute 1062 61 1126 80"/>
- <Button id="button2" taborder="10" text="인증저장" class="btn5" position="absolute 1129 61 1193 80" anchor="top right" onclick="button2_onclick"/>
- <Combo id="cmb_bfrecddtm" taborder="11" innerdataset="@ds_hidden_paminfo_recinfo" codecolumn="recpkspec" datacolumn="bfrecddtm" class="combo_default" position="absolute 89 31 244 50" onitemchanged="cmb_bfrecddtm_onitemchanged"/>
- <Div id="grp_patinfo" taborder="12" position="absolute 107 59 746 82" style="background:#ffffffff;">
- <Layouts>
- <Layout>
- <Static id="caption1" position="absolute 58 1 110 21" anchor="default"/>
- <Static id="caption2" position="absolute 185 1 245 21" anchor="default"/>
- <Static id="caption3" text="환자명:" class="search_name" position="absolute 117 2 185 19" anchor="default"/>
- <Static id="caption4" position="absolute 313 1 345 21" anchor="default"/>
- <Static id="caption68" text="병실:" class="search_name" position="absolute 5 2 60 19" anchor="default"/>
- <Static id="caption5" text="성별:" class="search_name" position="absolute 255 2 313 19" anchor="default"/>
- <Static id="caption7" position="absolute 413 1 450 21" anchor="default"/>
- <Static id="caption8" text="나이:" class="search_name" position="absolute 355 2 413 19" anchor="default"/>
- <Static id="caption9" text="등록번호:" class="search_name" position="absolute 455 2 536 19" anchor="default"/>
- <Static id="caption10" position="absolute 527 1 631 21" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Button id="button1" taborder="13" text="전체기록삭제" class="btn2" position="absolute 1040 61 1126 80" anchor="top right" onclick="button1_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_wardrecinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bfrecddtm" type="STRING" size="256"/>
- <Column id="bfrecdd" type="STRING" size="256"/>
- <Column id="bfrecuser" type="STRING" size="256"/>
- <Column id="bfrectm" type="STRING" size="256"/>
- <Column id="recdd" type="STRING" size="256"/>
- <Column id="rectm" type="STRING" size="256"/>
- <Column id="recuser" type="STRING" size="256"/>
- <Column id="infooffer" type="STRING" size="256"/>
- <Column id="patinfo" type="STRING" size="256"/>
- <Column id="signno" type="STRING" size="256"/>
- <Column id="room" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="jobcd" type="STRING" size="256"/>
- <Column id="educgrdecd" type="STRING" size="256"/>
- <Column id="educgrdenm" type="STRING" size="256"/>
- <Column id="baptnm" type="STRING" size="256"/>
- <Column id="relignreq" type="STRING" size="256"/>
- <Column id="marystatcd" type="STRING" size="256"/>
- <Column id="marystatnm" type="STRING" size="256"/>
- <Column id="tel" type="STRING" size="256"/>
- <Column id="mphone" type="STRING" size="256"/>
- <Column id="etcphone1" type="STRING" size="256"/>
- <Column id="etcphone2" type="STRING" size="256"/>
- <Column id="highbp" type="STRING" size="256"/>
- <Column id="lowbp" type="STRING" size="256"/>
- <Column id="bdht" type="STRING" size="256"/>
- <Column id="pulse" type="STRING" size="256"/>
- <Column id="bdwt" type="STRING" size="256"/>
- <Column id="breth" type="STRING" size="256"/>
- <Column id="bdbtype" type="STRING" size="256"/>
- <Column id="bdtp" type="STRING" size="256"/>
- <Column id="bdtppartcd" type="STRING" size="256"/>
- <Column id="spo2" type="STRING" size="256"/>
- <Column id="viralmarker" type="STRING" size="256"/>
- <Column id="fstdialdd" type="STRING" size="256"/>
- <Column id="fstdialkind" type="STRING" size="256"/>
- <Column id="chosdd" type="STRING" size="256"/>
- <Column id="roomhospdialdd" type="STRING" size="256"/>
- <Column id="reqhosp" type="STRING" size="256"/>
- <Column id="bdbtyperh" type="STRING" size="256"/>
- <Column id="relignnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="bfrecddtm"/>
- <Col id="bfrecdd"/>
- <Col id="bfrecuser"/>
- <Col id="bfrectm"/>
- <Col id="recdd"/>
- <Col id="rectm"/>
- <Col id="recuser"/>
- <Col id="infooffer"/>
- <Col id="patinfo"/>
- <Col id="signno"/>
- <Col id="room"/>
- <Col id="patnm"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_paminfo_recinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bfrecddtm" type="STRING" size="256"/>
- <Column id="recpkspec" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_mlist_M0068" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M00" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_mlist_M0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_mlist_M0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_mlist_M0071" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_mlist_M0151" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0072" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_mlist_M0073" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdid"/>
- <Col id="cdnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_mlist_M0376" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0075" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0079" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0081" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0082" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0083" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0088" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0090" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0091" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0092" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0093" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0098" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0100" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0102" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0103" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0105" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0106" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0107" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0109" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0110" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0411" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0210" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0375" 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/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_mlist_M0368" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_mlist_M0532" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp_cond_list" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_enrcarecomrecinfo" 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">
- <ColumnInfo>
- <Column id="req" type="STRING" size="256"/>
- <Column id="patgnrlinfo" type="STRING" size="256"/>
- <Column id="wardrecinfo" type="STRING" size="256"/>
- <Column id="bodyases" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="req"/>
- <Col id="patgnrlinfo"/>
- <Col id="wardrecinfo"/>
- <Col id="bodyases"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_paminfo_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_famyfact" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stat" type="STRING" size="256"/>
- <Column id="rela" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="detladdr" type="STRING" size="256"/>
- <Column id="tel" type="STRING" size="256"/>
- <Column id="mpphone" type="STRING" size="256"/>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="fmlyseq" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_wardrecinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="bfrecddtm" type="STRING" size="256"/>
- <Column id="bfrecdd" type="STRING" size="256"/>
- <Column id="bfrecuser" type="STRING" size="256"/>
- <Column id="bfrectm" type="STRING" size="256"/>
- <Column id="recdd" type="STRING" size="256"/>
- <Column id="rectm" type="STRING" size="256"/>
- <Column id="recuser" type="STRING" size="256"/>
- <Column id="infooffer" type="STRING" size="256"/>
- <Column id="patinfo" type="STRING" size="256"/>
- <Column id="signno" type="STRING" size="256"/>
- <Column id="room" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="bfrecddtm"/>
- <Col id="bfrecdd"/>
- <Col id="bfrecuser"/>
- <Col id="bfrectm"/>
- <Col id="recdd"/>
- <Col id="rectm"/>
- <Col id="recuser"/>
- <Col id="infooffer"/>
- <Col id="patinfo"/>
- <Col id="signno"/>
- <Col id="room"/>
- <Col id="patnm"/>
- <Col id="sex"/>
- <Col id="age"/>
- <Col id="pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_signinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_histinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_hidden_cominfo_histinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pasthistinfo" type="STRING" size="256" sumtext="과거력"/>
- <Column id="famyhistinfo" type="STRING" size="256" sumtext="가족력"/>
- <Column id="inhistinfo" type="STRING" size="256" sumtext="입원이력"/>
- <Column id="ophistinfo" type="STRING" size="256" sumtext="수술이력"/>
- <Column id="rectmedistatinfo" type="STRING" size="256" sumtext="최근투약상태"/>
- <Column id="allghistinfo" type="STRING" size="256" sumtext="알러지"/>
- <Column id="smokinfo" type="STRING" size="256" sumtext="흡연정보"/>
- <Column id="drunkinfo" type="STRING" size="256" sumtext="음주정보"/>
- <Column id="gustofoodinfo" type="STRING" size="256" sumtext="기호식품정보"/>
- <Column id="tnsseffcinfo" type="STRING" size="256" sumtext="수혈부작용"/>
- <Column id="vacnhistinfo" type="STRING" size="256" sumtext="예방접종이력"/>
- <Column id="existyn" type="STRING" size="256" sumtext="이력존재여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_cominfo_famyinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genogrmnm" type="STRING" size="256" sumtext="이력존재여부"/>
- <Column id="existfamyinfo" type="STRING" size="256" sumtext="가계도존재여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_hidden_cominfo_famyfact" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="stat" type="STRING" size="256" sumtext="상태"/>
- <Column id="rela" type="STRING" size="256" sumtext="관계"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="한글명"/>
- <Column id="addr" type="STRING" size="256" sumtext="주소(동까지)"/>
- <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="tel" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="mpphone" type="STRING" size="256" sumtext="휴대전화"/>
- <Column id="remfact" type="STRING" size="256" sumtext="비고"/>
- <Column id="fmlyseq" type="STRING" size="256" sumtext="가족순번"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_famytree" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="existyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_smokinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="smokinfoyn" type="STRING" size="256"/>
- <Column id="smokinfocnt" type="STRING" size="256"/>
- <Column id="nosmokcnstyn" type="STRING" size="256"/>
- <Column id="nosmokcnst" type="STRING" size="256"/>
- <Column id="nosmokcnstnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="smokinfoyn">1</Col>
- <Col id="smokinfocnt"/>
- <Col id="nosmokcnstyn"/>
- <Col id="nosmokcnst"/>
- <Col id="nosmokcnstnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_drunkinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drunkinfoyn" type="STRING" size="256"/>
- <Column id="drunkinfokind" type="STRING" size="256"/>
- <Column id="drunkinfoterm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="drunkinfoyn">1</Col>
- <Col id="drunkinfokind"/>
- <Col id="drunkinfoterm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_gustofood" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gustofoodinclyn" type="STRING" size="256"/>
- <Column id="kind" type="STRING" size="256"/>
- <Column id="dose" type="STRING" size="256"/>
- <Column id="tims" type="STRING" size="256"/>
- <Column id="term" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_tnsseffc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tnsseffcinclyn" type="STRING" size="256"/>
- <Column id="tnsyn" type="STRING" size="256"/>
- <Column id="tnsdetl" type="STRING" size="256"/>
- <Column id="tnsseffcyn" type="STRING" size="256"/>
- <Column id="dsvaluepath" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_bodyases" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="soulstat" type="STRING" size="256"/>
- <Column id="comustat" type="STRING" size="256"/>
- <Column id="emotstat" type="STRING" size="256"/>
- <Column id="emotstatnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="soulstat"/>
- <Col id="comustat"/>
- <Col id="emotstat"/>
- <Col id="emotstatnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_dialcomn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chosresn" type="STRING" size="256"/>
- <Column id="cassickkind" type="STRING" size="256"/>
- <Column id="cassick" type="STRING" size="256"/>
- <Column id="kidnfaluryn" type="STRING" size="256"/>
- <Column id="medigrant" type="STRING" size="256"/>
- <Column id="healcntrprofitkind" type="STRING" size="256"/>
- <Column id="healcntrprofit" type="STRING" size="256"/>
- <Column id="economystat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="chosresn"/>
- <Col id="cassickkind"/>
- <Col id="cassick"/>
- <Col id="kidnfaluryn"/>
- <Col id="medigrant"/>
- <Col id="healcntrprofitkind"/>
- <Col id="healcntrprofit"/>
- <Col id="economystat"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_dialcarer" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dialkind" type="STRING" size="256"/>
- <Column id="fstdd" type="STRING" size="256"/>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="remfact" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dialkind"/>
- <Col id="fstdd"/>
- <Col id="enddd"/>
- <Col id="remfact"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_trans" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="kidntransinclyn" type="STRING" size="256"/>
- <Column id="selfstat" type="STRING" size="256"/>
- <Column id="impsiresn" type="STRING" size="256"/>
- <Column id="possresn" type="STRING" size="256"/>
- <Column id="possresnetc" type="STRING" size="256"/>
- <Column id="rgstdd" type="STRING" size="256"/>
- <Column id="rgsthosp" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="kidntransinclyn"/>
- <Col id="selfstat">01</Col>
- <Col id="impsiresn"/>
- <Col id="possresn"/>
- <Col id="possresnetc"/>
- <Col id="rgstdd"/>
- <Col id="rgsthosp"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_selfcare" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="selfcareyn" type="STRING" size="256"/>
- <Column id="helpdnor" type="STRING" size="256"/>
- <Column id="resn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="selfcareyn"/>
- <Col id="helpdnor"/>
- <Col id="resn"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_rgstdial" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rgstdialinfoinclyn" type="STRING" size="256"/>
- <Column id="dialkind" type="STRING" size="256"/>
- <Column id="veslkind" type="STRING" size="256"/>
- <Column id="vesltype" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="rgstdialinfoinclyn"/>
- <Col id="dialkind"/>
- <Col id="veslkind"/>
- <Col id="vesltype"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_progrec" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="progrecinclyn" type="STRING" size="256"/>
- <Column id="progrec" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="progrecinclyn"/>
- <Col id="progrec"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_pasthist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_famyhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_inhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_ophist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_allghist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_vacnhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="vacnhistinfoinclyn" type="STRING" size="256"/>
- <Column id="dpttims" type="STRING" size="256"/>
- <Column id="infparaltims" type="STRING" size="256"/>
- <Column id="ahptstims" type="STRING" size="256"/>
- <Column id="bhptstims" type="STRING" size="256"/>
- <Column id="bhptsdrugnm" type="STRING" size="256"/>
- <Column id="bcgyn" type="STRING" size="256"/>
- <Column id="mmrtims" type="STRING" size="256"/>
- <Column id="alivvacntims" type="STRING" size="256"/>
- <Column id="deadvaccntims" type="STRING" size="256"/>
- <Column id="brnmeningitistims" type="STRING" size="256"/>
- <Column id="lungcoccustims" type="STRING" size="256"/>
- <Column id="chickenpoxtims" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="vacnhistinfoinclyn"/>
- <Col id="dpttims"/>
- <Col id="infparaltims"/>
- <Col id="ahptstims"/>
- <Col id="bhptstims"/>
- <Col id="bhptsdrugnm"/>
- <Col id="bcgyn"/>
- <Col id="mmrtims"/>
- <Col id="alivvacntims"/>
- <Col id="deadvaccntims"/>
- <Col id="brnmeningitistims"/>
- <Col id="lungcoccustims"/>
- <Col id="chickenpoxtims"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_rectmedistat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_dialcarer1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dialcareinclyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_dialcarer2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dialkind" type="STRING" size="256"/>
- <Column id="fstdd" type="STRING" size="256"/>
- <Column id="enddd" type="STRING" size="256"/>
- <Column id="remfact" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dialkind"/>
- <Col id="fstdd"/>
- <Col id="enddd"/>
- <Col id="remfact"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_famyhist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="famyhistinclyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_famyhist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="famyrel" type="STRING" size="256"/>
- <Column id="existyn" type="STRING" size="256"/>
- <Column id="histspec" type="STRING" size="256"/>
- <Column id="remfact" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="famyrel"/>
- <Col id="existyn"/>
- <Col id="histspec"/>
- <Col id="remfact"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_inhist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="inhistinclyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_inhist2" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="dschdd" type="STRING" size="256"/>
- <Column id="illnm" type="STRING" size="256"/>
- <Column id="orddept" type="STRING" size="256"/>
- <Column id="inhistpk" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="indd"/>
- <Col id="dschdd"/>
- <Col id="illnm"/>
- <Col id="orddept"/>
- <Col id="inhistpk"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_ophist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ophistinclyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_ophist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="opdd" type="STRING" size="256"/>
- <Column id="opnm" type="STRING" size="256"/>
- <Column id="orddept" type="STRING" size="256"/>
- <Column id="ophistpk" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="opdd"/>
- <Col id="opnm"/>
- <Col id="orddept"/>
- <Col id="ophistpk"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_allghist1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="allghistinclyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="allghistinclyn">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_allghist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genrdd" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- <Column id="allergespec" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_pasthist1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pasthistinclyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_pasthist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genrdd" type="STRING" size="256"/>
- <Column id="histspec" type="STRING" size="256"/>
- <Column id="remfact" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="genrdd"/>
- <Col id="histspec"/>
- <Col id="remfact"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_smok1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="smokinclyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_smok2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="dosetoday" type="STRING" size="256"/>
- <Column id="term" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="dosetoday"/>
- <Col id="term"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_drunk1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drunkinclyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="drunkinclyn">1</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_drunk2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="kind" type="STRING" size="256"/>
- <Column id="dose" type="STRING" size="256"/>
- <Column id="tims" type="STRING" size="256"/>
- <Column id="term" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="kind"/>
- <Col id="dose"/>
- <Col id="tims"/>
- <Col id="term"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_gustofood1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gustofoodinclyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_gustofood2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="kind" type="STRING" size="256"/>
- <Column id="dose" type="STRING" size="256"/>
- <Column id="tims" type="STRING" size="256"/>
- <Column id="term" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="kind"/>
- <Col id="dose"/>
- <Col id="tims"/>
- <Col id="term"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_tnsseffc1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tnsseffcinclyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_tnsseffc2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="tnsyn" type="STRING" size="256"/>
- <Column id="tnsdetl" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="tnsyn"/>
- <Col id="tnsdetl"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_gustofoodinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="gustofoodyn" type="STRING" size="256"/>
- <Column id="gustofooddetl" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="gustofoodyn">1</Col>
- <Col id="gustofooddetl"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_tnsseffcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_smok" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_data_rectmedistat1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rectmedistatinfoinclyn" type="STRING" size="256"/>
- <Column id="antibiodrugyn" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_data_rectmedistat2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugnm" type="STRING" size="256"/>
- <Column id="direc" type="STRING" size="256"/>
- <Column id="orddept" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="drugnm"/>
- <Col id="direc"/>
- <Col id="orddept"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_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_parentFormId" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cd">SMMND00300</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_famyfact" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_histinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_allginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="m" type="STRING" size="256" sumtext="구분"/>
- <Column id="sympmnftdd" type="STRING" size="256" sumtext="발생일자"/>
- <Column id="symp" type="STRING" size="256" sumtext="allergy내역"/>
- <Column id="clscd" type="STRING" size="256" sumtext="allergy구분"/>
- <Column id="hosoutyn" type="STRING" size="256" sumtext="원내구분"/>
- <Column id="comclscd" type="STRING" size="256" sumtext="콤보구분"/>
- <Column id="drugcd" type="STRING" size="256" sumtext="약품코드"/>
- <Column id="drugnm" type="STRING" size="256" sumtext="약품명"/>
- <Column id="rgstdt" type="STRING" size="256" sumtext="등록일"/>
- <Column id="rgster" type="STRING" size="256" sumtext="등록자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_data_drunk" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drunkinclyn" type="STRING" size="256"/>
- <Column id="kind" type="STRING" size="256"/>
- <Column id="dose" type="STRING" size="256"/>
- <Column id="tims" type="STRING" size="256"/>
- <Column id="term" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_signdata_edurecinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_famyfactinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_wardrecinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_histinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_famyfact" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_bodyases" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_dialcomn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_dialcarer" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_trans" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_selfcare" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_rgstdial" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_pasthist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_famyhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_allghist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_smokinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_drunkinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_gustofoodinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_sign_tnsseffcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_comparam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_famyinfo" 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"/>
- <Dataset id="ds_send_dialcarer" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item4" compid="grp_patinfo.caption10" propid="text" datasetid="ds_main_wardrecinfo" columnid="pid"/>
- <BindItem id="item0" compid="grp_patinfo.caption1" propid="text" datasetid="ds_temp_cond_list" columnid="roomcd"/>
- <BindItem id="item1" compid="grp_patinfo.caption2" propid="text" datasetid="ds_temp_cond_list" columnid="hngnm"/>
- <BindItem id="item2" compid="grp_patinfo.caption4" propid="text" datasetid="ds_temp_cond_list" columnid="sex"/>
- <BindItem id="item3" compid="grp_patinfo.caption7" propid="text" datasetid="ds_temp_cond_list" columnid="age"/>
- <BindItem id="item5" compid="cmb_bfrecddtm" propid="value" datasetid="ds_main_wardrecinfo" columnid="bfrecddtm"/>
- <BindItem id="item6" compid="opt_bfrecuser" propid="value" datasetid="ds_main_wardrecinfo" columnid="bfrecuser"/>
- <BindItem id="item7" compid="ipt_recdd" propid="value" datasetid="ds_main_wardrecinfo" columnid="recdd"/>
- <BindItem id="item8" compid="ipt_rectm" propid="value" datasetid="ds_main_wardrecinfo" columnid="rectm"/>
- <BindItem id="item9" compid="opt_recuser" propid="value" datasetid="ds_main_wardrecinfo" columnid="recuser"/>
- <BindItem id="item10" compid="ipt_infodnor" propid="value" datasetid="ds_main_wardrecinfo" columnid="infooffer"/>
- </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 "com_commodulexp::SSZFM00901.xjs";
- include "com_commodulexp::SSZFM01001.xjs";
- include "emr_carerecxp::CareRec.xjs";
- include "emr_carecomxp::ENRSignEngine.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- var allgInsYN = "Y";
- var bolsign = false;
- var status = "select";
- function SMMND00300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMND00300_onload(obj:Form, e:LoadEventInfo)
- {
- Sign.init();
-
- fGetCmbList();
- fInit();
- fGetInitRecInfo();
- fInitEvent();
- }
- function fMake_SignData()
- {
- var instUseYN = "";
-
- var arrSignPath = new Array();
-
- var arrSignDs = new Array();
-
- fSetSignData();
- if ( instUseYN =="Y" )
- {
- arrSignPath[0] = "/edurecinfo";
- arrSignPath[1] = "/wardrecinfo";
- arrSignPath[2] = "/histinfo";
-
- arrSignDs[0] = ds_temp_signdata_edurecinfo.saveXML();
- arrSignDs[1] = ds_main_wardrecinfo.saveXML();
- arrSignDs[2] = ds_main_histinfo.saveXML();
- }
- else
- {
- arrSignPath[0] = "/wardrecinfo";
- arrSignPath[1] = "/histinfo";
-
- arrSignDs[0] = ds_send_wardrecinfo.saveXML();
- arrSignDs[1] = ds_send_histinfo.saveXML();
- }
-
- ds_main_famyfactinfo.clearData();
-
- for(var i = 0; i < ds_main_famyfact.rowcount; i++)
- {
- if(!utlf_isNull(ds_main_famyfact.getColumn(i, "rela")))
- {
- var row = ds_main_famyfactinfo.addRow();
- ds_main_famyfactinfo.copyRow(row, ds_main_famyfact, i);
- }
- }
-
- Sign.addnodeset(arrSignPath, arrSignDs, true);
-
- arrSignPath = new Array();
- arrSignDs = new Array();
-
- arrSignPath[0] = "/famyfactinfo/famyfact";
- arrSignDs[0] = ds_main_famyfactinfo.saveXML();
-
- Sign.addnodeset(arrSignPath, arrSignDs, true);
- }
- function fSetSignData()
- {
- var pParam = new Object();
- pParam.cDataYN = "N";
-
- ds_sign_wardrecinfo.clearData();
- ds_sign_histinfo.clearData();
- ds_sign_wardrecinfo.copyData(ds_send_wardrecinfo);
- ds_sign_histinfo.copyData(ds_send_histinfo);
- ds_sign_famyfact.copyData(ds_main_famyfact);
-
- ds_sign_bodyases.copyData(ds_data_bodyases);
- ds_sign_dialcomn.copyData(ds_data_dialcomn);
-
- ds_sign_dialcarer.copyData(ds_data_dialcarer2);
- ds_sign_trans.copyData(ds_data_trans);
- ds_sign_selfcare.copyData(ds_data_selfcare);
- ds_sign_rgstdial.copyData(ds_data_rgstdial);
-
- ds_sign_pasthist.copyData(ds_data_pasthist2);
-
- ds_sign_famyhist.copyData(ds_data_famyhist2);
- ds_sign_allghist.copyData(ds_data_allghist2);
- ds_sign_smokinfo.copyData(ds_data_smokinfo);
- ds_sign_gustofoodinfo.copyData(ds_data_gustofoodinfo)
- ds_sign_drunkinfo.copyData(ds_data_drunkinfo);
- ds_sign_tnsseffcinfo.copyData(ds_data_tnsseffc);
-
- var xWardRecPath = ds_sign_wardrecinfo; //Sign.XPATH_SIGNINFO + "/wardrecinfo";
- var xHistPath = ds_sign_histinfo;//Sign.XPATH_SIGNINFO + "/histinfo";
- var xFamyPath = ds_sign_famyfact;
-
- var jobcd = xWardRecPath.getColumn(0, "jobcd");
- if(!utlf_isNull(jobcd))
- {
- if(jobcd == "10")
- {
- if(utlf_isNull(xWardRecPath.getColumn(0, "jobnm")))
- {
- xWardRecPath.setColumn(0, "jobcd", switch1.case1.import1.cmb_job.text);
- }
- else
- {
- xWardRecPath.setColumn(0, "jobcd", xWardRecPath.getColumn(0, "jobnm"));
- }
-
- }
- else
- {
- xWardRecPath.setColumn(0, "jobcd", switch1.case1.import1.cmb_job.text);
- }
- }
-
- var educgrde = xWardRecPath.getColumn(0, "educgrdecd");
- if(!utlf_isNull(educgrde))
- {
- if(educgrde == "15")
- {
- if(!utlf_isNull(xWardRecPath.getColumn(0, "educgrdenm")))
- {
- xWardRecPath.setColumn(0, "educgrdecd", xWardRecPath.getColumn(0, "educgrdenm"));
-
- }
- else
- {
- xWardRecPath.setColumn(0, "educgrdecd", switch1.case1.import1.cmb_educgrde.text);
- }
- }
- else
- {
- xWardRecPath.setColumn(0, "educgrdecd", switch1.case1.import1.cmb_educgrde.text);
- }
- }
-
- var relign = xWardRecPath.getColumn(0, "religncd");
- if(!utlf_isNull(relign))
- {
- if(relign == "01")
- {
- xWardRecPath.setColumn(0, "religncd", switch1.case1.import1.cmb_relign.text);
- if(!utlf_isNull(xWardRecPath.getColumn(0, "baptnm")))
- {
- xWardRecPath.setColumn(0, "religncd", xWardRecPath.getColumn(0, "religncd") + "(" + xWardRecPath.getColumn(0, "baptnm") + ")");
- }
-
- }
- else if( relign == "09")
- {
- if(utlf_isNull(xWardRecPath.getColumn(0, "relignnm")))
- {
- xWardRecPath.setColumn(0, "religncd", switch1.case1.import1.cmb_relign.text);
- }
- else
- {
- xWardRecPath.setColumn(0, "religncd", xWardRecPath.getColumn(0, "relignnm"));
- }
- }
- else
- {
- xWardRecPath.setColumn(0, "religncd", switch1.case1.import1.cmb_relign.text);
- }
- }
-
- var relignreq = xWardRecPath.getColumn(0, "relignreq");
-
- if (!utlf_isNull(relignreq))
- {
- xWardRecPath.setColumn(0, "relignreq", switch1.case1.import1.cmb_relignreq.text);
- }
-
- var marystat = xWardRecPath.getColumn(0, "marystatcd");
-
- if(!utlf_isNull(marystat))
- {
- if(marystat == "06")
- {
- if(!utlf_isNull(xWardRecPath.getColumn(0, "marystatnm")))
- {
- xWardRecPath.setColumn(0, "marystatcd", xWardRecPath.getColumn(0, "marystatnm"));
- }
- else
- {
- xWardRecPath.setColumn(0, "marystatcd", switch1.case1.import1.cmb_marystat.text);
- }
-
- }
- else
- {
- xWardRecPath.setColumn(0, "marystatcd", switch1.case1.import1.cmb_marystat.text);
- }
- }
-
- var rows = ds_main_famyfact.rowcount;
- var rela;
-
- for(var i = 0 ; i < rows; i++)
- {
- rela = ds_sign_famyfact.getColumn(i, "rela");
- if(!utlf_isNull(rela))
- {
- ds_sign_famyfact.setColumn(i, "rela", switch1.case1.import1.grd_famyfact.getCellText(i, switch1.case1.import1.grd_famyfact.getBindCellIndex("Body", "rela")));
- }
- }
-
- var bdbtype = xWardRecPath.getColumn(0, "bdbtype");
- if(!utlf_isNull(bdbtype))
- {
- xWardRecPath.setColumn(0, "bdbtype", switch1.case1.import1.cmb_bdbtype.text);
- }
-
- var bdtppart = xWardRecPath.getColumn(0, "bdtppartcd");
- if(!utlf_isNull(bdtppart))
- {
- xWardRecPath.setColumn(0, "bdtppartcd", switch1.case1.import1.cmb_bdtp.text);
- }
-
- var soulstat = ds_data_bodyases.getColumn(0, "soulstat")
-
- if(!utlf_isNull(soulstat))
- {
- ds_sign_bodyases.setColumn(0, "soulstat", switch1.case1.import1.cmb_soulstat.text);
- }
-
- var comustat = ds_data_bodyases.getColumn(0, "comustat")
-
- if(!utlf_isNull(comustat))
- {
- ds_sign_bodyases.setColumn(0, "comustat", switch1.case1.import1.rdo_comustat.text);
- }
-
- var emotstat = ds_data_bodyases.getColumn(0, "emotstat")
- var emotstatnm = ds_data_bodyases.getColumn(0, "emotstatnm")
- str = switch1.case1.import1.cmb_emotstat.text;
-
- if(!utlf_isNull(emotstat))
- {
- if(emotstat == "07")
- {
- if(!utlf_isNull(emotstatnm))
- {
- str += "(" + emotstatnm + ")";
- }
- }
-
- ds_sign_bodyases.setColumn(0, "emotstat", str);
- }
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_sign_bodyases,
- "ds_sign_bodyases",
- "bodyases",
- "<bodyases><soulstat/><comustat/><emotstat/><emotstatnm/></bodyases>");
- dsf_makeValue(ds_sign_wardrecinfo, "bodyases", "string", DataSet_XMLChangeName);
-
- var viralmarker = ds_main_wardrecinfo.getColumn(0, "viralmarker");
-
- if(!utlf_isNull(viralmarker))
- {
- arr = String(switch1.case1.import1.chk_viralmarker.getData()).split(" ");
-
- dsf_makeValue(ds_sign_wardrecinfo, "viralmarker", "string", arr, 0);
- }
-
- var fstdialkind = ds_main_wardrecinfo.getColumn(0, "fstdialkind");
-
- if(!utlf_isNull(fstdialkind))
- {
- dsf_makeValue(ds_sign_wardrecinfo, "fstdialkind", "string", switch1.case1.import1.cmb_fstdialkind.text, 0);
- }
-
- var cassickkind = ds_data_dialcomn.getColumn(0, "cassickkind");
- var cassick = ds_data_dialcomn.getColumn(0, "cassick");
- str = switch1.case1.import1.cmb_cassickkind.text;
-
- if(!utlf_isNull(cassickkind))
- {
- if(cassickkind == "08")
- {
- if(!utlf_isNull(cassick))
- {
- str += "(" + cassick + ")";
- }
- }
- ds_sign_dialcomn.setColumn(0, "cassickkind", str);
- }
-
- var kidnfaluryn = ds_data_dialcomn.getColumn(0, "kidnfaluryn");
- if(!utlf_isNull(kidnfaluryn))
- {
- ds_sign_dialcomn.setColumn(0, "kidnfaluryn", switch1.case1.import1.rdo_kidnfaluryn.text);
- }
-
- var medigrant = ds_data_dialcomn.getColumn(0, "medigrant");
- if(!utlf_isNull(medigrant))
- {
- ds_sign_dialcomn.setColumn(0, "medigrant", switch1.case1.import1.cmb_medigrant.text);
- }
-
- var healcntrprofitkind = ds_data_dialcomn.getColumn(0, "healcntrprofitkind");
- var healcntrprofit = ds_data_dialcomn.getColumn(0, "healcntrprofit");
- str = switch1.case1.import1.cmb_healcntrprofitkind.text;
-
- if(!utlf_isNull(healcntrprofitkind))
- {
- if(healcntrprofitkind == "2")
- {
- if(!utlf_isNull(healcntrprofit))
- {
- str += "(" + healcntrprofit + ")";
- }
- }
- ds_sign_dialcomn.setColumn(0, "healcntrprofitkind", str);
- }
-
- var economystat = ds_data_dialcomn.getColumn(0, "economystat");
-
- if(!utlf_isNull(economystat))
- {
- ds_sign_dialcomn.setColumn(0, "economystat", switch1.case1.import1.cmb_economystat.text);
- }
-
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_sign_dialcomn,
- "ds_sign_dialcomn",
- "dialcomn",
- "<dialcomn><chosresn/><cassickkind/><kidnfaluryn/><medigrant/><healcntrprofitkind/><economystat/><cassick/><healcntrprofit/></dialcomn>");
- dsf_makeValue(ds_sign_wardrecinfo, "dialcomninfoetc", "string", DataSet_XMLChangeName);
-
- var rows = ds_sign_dialcarer.rowcount;
- var dialkind;
- for(var i = 0 ; i < rows; i++)
- {
- dialkind = ds_sign_dialcarer.getColumn(i, "dialkind");
- if(!utlf_isNull(dialkind))
- {
- ds_sign_dialcarer.setColumn(i, "dialkind", switch1.case1.import1.grd_dialcare.getCellText(i, switch1.case1.import1.grd_dialcare.getBindCellIndex("Body", "dialkind")));
- }
- }
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_dialcarer1,
- ds_sign_dialcarer,
- "ds_data_dialcarer1",
- "ds_sign_dialcarer",
- "dialcareinclyn",
- "dialcarercms",
- "dialcarer1",
- "dialcarer1/dialcarercms",
- "<dialcarer1><dialcareinclyn/><dialcarercms><dialkind/><fstdd/><enddd/><remfact/></dialcarercms></dialcarer1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("dialcarercms","dialcarer");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("dialcarer1","dialcarer");
- dsf_makeValue(ds_sign_wardrecinfo, "dialcarer", "string", DataSet_XMLChangeName);
- //
- // DataSet_XMLChangeName = "";
- // DataSet_XMLChangeName = DataSet_XMLChange( ds_sign_dialcarer,
- // "ds_sign_dialcarer",
- // "dialcarer",
- // "<dialcarer><dialcareinclyn/><dialkind/><fstdd/><enddd/><remfact/></dialcarer>");
- // dsf_makeValue(ds_sign_wardrecinfo, "dialcarer", "string", DataSet_XMLChangeName);
-
- var selfstat = ds_sign_trans.getColumn(0, "selfstat");
- var selfstatcnt = "";
- var selfstat_arr = "";
-
- if(!utlf_isNull(selfstat))
- {
- selfstatcnt = switch1.case1.import1.rdo_selfstat.text;
- }
- if(selfstat == "01")
- {
- selfstatcnt = selfstatcnt;
- }
- else if(selfstat == "02")
- {
- if(!utlf_isNull(ds_sign_trans.getColumn(0, "impsiresn")))
- {
- selfstatcnt = selfstatcnt + " (사유 : " + ds_data_trans.getColumn(0, "impsiresn") + ")";
- }
- }
- else if(selfstat == "03")
- {
- selfstat_arr = String(switch1.case1.import1.chk_possresn.getData()).split(" ");
-
- if(!utlf_isNull(ds_sign_trans.getColumn(0, "possresnetc")))
- {
- selfstatcnt = selfstatcnt + " (" + selfstat_arr + ":" + ds_data_trans.getColumn(0, "possresnetc")+ ")";
- }
- else
- {
- selfstatcnt = selfstatcnt + " (" +selfstat_arr + ")";
- }
- }
- ds_sign_trans.setColumn(0, "selfstat", selfstatcnt);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_sign_trans,
- "ds_sign_trans",
- "trans",
- "<trans><kidntransinclyn/><selfstat/><rgstdd/><rgsthosp/><possresn/><impsiresn/><possresnetc/></trans>");
- dsf_makeValue(ds_sign_wardrecinfo, "trans", "string", DataSet_XMLChangeName);
-
- var selfcareyn = ds_sign_selfcare.getColumn(0, "selfcareyn");
-
- if(!utlf_isNull(selfcareyn))
- {
- ds_sign_selfcare.setColumn(0, "selfcareyn", switch1.case1.import1.rdo_selfcareyn.text);
- }
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_sign_selfcare,
- "ds_sign_selfcare",
- "selfcare",
- "<selfcare><selfcareyn/><helpdnor/><resn/></selfcare>");
- dsf_makeValue(ds_sign_wardrecinfo, "selfcareinfo", "string", DataSet_XMLChangeName);
-
- var dialkind = ds_sign_rgstdial.getColumn(0, "dialkind");
-
- if(!utlf_isNull(dialkind))
- {
- ds_sign_rgstdial.setColumn(0, "dialkind", switch1.case1.import1.rdo_dialkind.text);
- }
-
- var veslkind = ds_sign_rgstdial.getColumn(0, "veslkind");
-
- if(!utlf_isNull(veslkind))
- {
- ds_sign_rgstdial.setColumn(0, "veslkind", switch1.case1.import1.cmb_veslkind.text);
- }
- var vesltype = ds_sign_rgstdial.getColumn(0, "vesltype");
-
- if(!utlf_isNull(vesltype))
- {
- ds_sign_rgstdial.setColumn(0, "vesltype", switch1.case1.import1.cmb_vesltype.text);
- }
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_sign_rgstdial,
- "ds_sign_rgstdial",
- "rgstdial",
- "<rgstdial><rgstdialinfoinclyn/><dialkind/><veslkind/><vesltype/></rgstdial>");
- dsf_makeValue(ds_sign_wardrecinfo, "rgstdialinfo", "string", DataSet_XMLChangeName);
-
- var rows = ds_sign_pasthist.rowcount;
- var histspec;
-
- for(var i = 0 ; i < rows; i++)
- {
- histspec = ds_sign_pasthist.getColumn(i, "histspec");
- if(!utlf_isNull(histspec))
- {
- ds_sign_pasthist.setColumn(i, "histspec", switch1.case2.import4.grd_pasthist.getCellText(i, switch1.case2.import4.grd_pasthist.getBindCellIndex("Body", "histspec")));
- }
- }
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_pasthist1,
- ds_sign_pasthist,
- "ds_data_pasthist1",
- "ds_sign_pasthist",
- "pasthistinclyn",
- "pasthistcms",
- "pasthist1",
- "pasthist1/pasthistcms",
- "<pasthist1><pasthistinclyn/><pasthistcms><genrdd/><histspec/><remfact/></pasthistcms></pasthist1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("pasthistcms","pasthist");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("pasthist1","pasthist");
- dsf_makeValue(ds_sign_wardrecinfo, "pasthistinfo", "string", DataSet_XMLChangeName);
-
- var famyrel;
- var existyn;
- rows = ds_sign_famyhist.rowcount;
-
- for(var i = 0; i < rows; i++)
- {
- famyrel = ds_sign_famyhist.getColumn(i, "famyrel");
- existyn = ds_sign_famyhist.getColumn(i, "existyn");
- histspec = ds_sign_famyhist.getColumn(i, "histspec");
-
- if(!utlf_isNull(famyrel))
- {
- ds_sign_famyhist.setColumn(i, "famyrel", switch1.case2.import4.grd_famyhist.getCellText(i, switch1.case2.import4.grd_famyhist.getBindCellIndex("Body", "famyrel")));
- }
-
- if(!utlf_isNull(existyn))
- {
- ds_sign_famyhist.setColumn(i, "existyn", switch1.case2.import4.grd_famyhist.getCellText(i, switch1.case2.import4.grd_famyhist.getBindCellIndex("Body", "existyn")));
- }
-
- if(!utlf_isNull(histspec))
- {
- ds_sign_famyhist.setColumn(i, "histspec", switch1.case2.import4.grd_famyhist.getCellText(i, switch1.case2.import4.grd_famyhist.getBindCellIndex("Body", "histspec")));
- }
- }
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_famyhist1,
- ds_sign_famyhist,
- "ds_data_famyhist1",
- "ds_sign_famyhist",
- "famyhistinclyn",
- "famyhistcms",
- "famyhist1",
- "famyhist1/famyhistcms",
- "<famyhist1><famyhistinclyn/><famyhistcms><famyrel/><existyn/><histspec/><remfact/></famyhistcms></famyhist1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("famyhistcms","famyhist");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("famyhist1","famyhist");
- dsf_makeValue(ds_sign_wardrecinfo, "famyhistinfo", "string", DataSet_XMLChangeName);
-
- // rows = ds_sign_allghist.rowcount;
- // var flag;
- //
- // for(var i = 0 ; i < rows; i++)
- // {
- // flag = ds_sign_allghist.getColumn(i, "flag");
- // if(!utlf_isNull(flag))
- // {
- // ds_sign_allghist.setColumn(i, "flag", switch1.case2.import4.grd_allghist.getCellText(i, switch1.case2.import4.grd_allghist.getBindCellIndex("Body", "histspec")));
- // }
- // }
- //
- // DataSet_XMLChangeName = "";
- // DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_allghist1,
- // ds_sign_allghist,
- // "ds_data_allghist1",
- // "ds_sign_allghist",
- // "allghistinclyn",
- // "allghistcms",
- // "allghist",
- // "allghist/allghistcms",
- // "<allghist><allghistinclyn/><allghist/><genrdd/><flag/><allergespec/><hosoutyn/><comclscd/><drugcd/><drugnm/><symp/><rgstdt/><rgster/><cretno/></allghist><tnsseffcyn/><tnsseffcdetl/></allghist>");
- // DataSet_XMLChangeName = DataSet_XMLChangeName.replace("allghistcms","allghist");
- // DataSet_XMLChangeName = DataSet_XMLChangeName.replace("allghist1","allghist");
- // dsf_makeValue(ds_sign_wardrecinfo, "allghistinfo", "string", DataSet_XMLChangeName);
-
- var smokinfoyn = ds_sign_smokinfo.getColumn(0, "smokinfoyn");
- var smokinfocnt = ds_sign_smokinfo.getColumn(0, "smokinfocnt");
-
- if(!utlf_isNull(smokinfoyn))
- {
- if(smokinfoyn == "2" && !utlf_isNull(smokinfocnt))
- {
- ds_sign_smokinfo.setColumn(0, "smokinfoyn", switch1.case2.import4.rdo_smokinfo.text+"("+smokinfocnt+")");
- }
- else
- {
- ds_sign_smokinfo.setColumn(0, "smokinfoyn", switch1.case2.import4.rdo_smokinfo.text);
- }
- }
-
- var drunkinfoyn = ds_sign_drunkinfo.getColumn(0, "drunkinfoyn");
-
- if(!utlf_isNull(drunkinfoyn))
- {
- if(drunkinfoyn == "2")
- {
- if(!utlf_isNull(ds_sign_drunkinfo.getColumn(0, "drunkinfokind")))
- {
- if(!utlf_isNull(ds_sign_drunkinfo.getColumn(0, "drunkinfoterm")))
- {
- ds_sign_drunkinfo.setColumn(0, "drunkinfoyn", ds_sign_drunkinfo.getColumn(0, "drunkinfokind")+ " " + ds_sign_drunkinfo.getColumn(0, "drunkinfoterm") + switch1.case2.import4.cap_drunkinfoterm.text);
- }
- else
- {
- ds_sign_drunkinfo.setColumn(0, "drunkinfoyn", ds_sign_drunkinfo.getColumn(0, "drunkinfokind"));
- }
- }
- else
- {
- if(!utlf_isNull(ds_sign_drunkinfo.getColumn(0, "drunkinfoterm")))
- {
- ds_sign_drunkinfo.setColumn(0, "drunkinfoyn", ds_sign_drunkinfo.getColumn(0, "drunkinfoterm") + switch1.case2.import4.cap_drunkinfoterm.text);
- }
- else
- {
- ds_sign_drunkinfo.setColumn(0, "drunkinfoyn", switch1.case2.import4.rdo_drunkinfo.text);
- }
- }
- }
- else
- {
- ds_sign_drunkinfo.setColumn(0, "drunkinfoyn", switch1.case2.import4.rdo_drunkinfo.text);
- }
- }
-
- var gustofoodyn = ds_sign_gustofoodinfo.getColumn(0, "gustofoodyn");
- if(!utlf_isNull(gustofoodyn))
- {
- if(gustofoodyn == "2")
- {
- if(!utlf_isNull(ds_sign_gustofoodinfo.getColumn(0, "gustofooddetl")))
- {
- ds_sign_gustofoodinfo.setColumn(0, "gustofoodyn", ds_sign_gustofoodinfo.getColumn(0, "gustofooddetl"))
- }
- else
- {
- ds_sign_gustofoodinfo.setColumn(0, "gustofoodyn", switch1.case2.import4.rdo_gustofoodyn.text);
- }
- }
- else
- {
- ds_sign_gustofoodinfo.setColumn(0, "gustofoodyn", switch1.case2.import4.rdo_gustofoodyn.text);
- }
- }
-
- var tnsseffcyn = ds_sign_tnsseffcinfo.getColumn(0, "tnsseffcyn");
-
- if(!utlf_isNull(tnsseffcyn))
- {
- if(tnsseffcyn == "2")
- {
- if(!utlf_isNull(ds_sign_tnsseffcinfo.getColumn(0, "tnsseffcdetl")))
- {
- ds_sign_tnsseffcinfo.setColumn(0, "tnsseffcyn", ds_sign_tnsseffcinfo.getColumn(0, "tnsseffcdetl"));
- }
- else
- {
- ds_sign_tnsseffcinfo.setColumn(0, "tnsseffcyn", switch1.case2.import4.rdo_tnsseffcyn.text);
- }
- }
- else
- {
- ds_sign_tnsseffcinfo.setColumn(0, "tnsseffcyn", ds_sign_tnsseffcinfo.getColumn(0, "tnsseffcdetl"));
- }
- }
-
- sParamObjArr = [{ds: "ds_sign_smokinfo", path:"/gusto/smokinfo", filter: ""},
- {ds: "ds_sign_drunkinfo", path:"/gusto/drunkinfo", filter: ""},
- {ds: "ds_sign_gustofoodinfo", path:"/gusto/gustofoodinfo", filter: ""},
- {ds: "ds_sign_tnsseffcinfo", path:"/gusto/tnsseffcinfo", filter: ""}];
-
- DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr,"<gusto><smokinfo><smokinfoyn/><bfsmokinfoyn/><nosmokcnstyn/><nosmokcnst/><nosmokcnstnm/><smokinfocnt/></smokinfo><drunkinfo><drunkinfoyn/><drunkinfokind/><drunkinfoterm/></drunkinfo><gustofoodinfo><gustofoodyn/><gustofooddetl/></gustofoodinfo><tnsseffcinfo><tnsseffcyn/><tnsseffcdetl/></tnsseffcinfo></gusto>", pParam);
- dsf_makeValue(ds_sign_wardrecinfo, "gustoinfo", "string", DataSet_XMLChangeName);
- }
- function fGetCmbList()
- {
- fGetNursHardCdInfo("'077','172','177'", utlf_getCurrentDate());
- var arrParam = [{dsNm: "ds_init_mlist_M0068" ,cdGrpId: "M0068" }, //직업
- {dsNm: "ds_init_mlist_M0069" ,cdGrpId: "M0069" }, //교육정도
- {dsNm: "ds_init_mlist_M0070" ,cdGrpId: "M0070" }, //종교
- {dsNm: "ds_init_mlist_M0071" ,cdGrpId: "M0071" }, //결혼상태
- {dsNm: "ds_init_mlist_M0151" ,cdGrpId: "M0151" }, //결혼상태
- {dsNm: "ds_init_mlist_M0072" ,cdGrpId: "M0072" }, //관계
- {dsNm: "ds_init_mlist_M0073" ,cdGrpId: "M0073" }, //부위
- {dsNm: "ds_init_mlist_M0376" ,cdGrpId: "M0376" }, //혈액형
- {dsNm: "ds_init_mlist_M0075" ,cdGrpId: "M0075" }, //의식상태
- {dsNm: "ds_init_mlist_M0079" ,cdGrpId: "M0079" }, //원인질환
- {dsNm: "ds_init_mlist_P0008" ,cdGrpId: "P0008" }, //보험유형 //,"M0080" //의료보장
- {dsNm: "ds_init_mlist_M0081" ,cdGrpId: "M0081" }, //경제상태
- {dsNm: "ds_init_mlist_M0082" ,cdGrpId: "M0082" }, //투석경력종류
- {dsNm: "ds_init_mlist_M0083" ,cdGrpId: "M0083" }, //혈관종류
- {dsNm: "ds_init_mlist_M0084" ,cdGrpId: "M0084" }, //유형
- {dsNm: "ds_init_mlist_M0088" ,cdGrpId: "M0088" }, //생존여부
- {dsNm: "ds_init_mlist_M0090" ,cdGrpId: "M0090" }, //알러지
- {dsNm: "ds_init_mlist_M0091" ,cdGrpId: "M0091" }, //흡연량
- {dsNm: "ds_init_mlist_M0092" ,cdGrpId: "M0092" }, //음주종류
- {dsNm: "ds_init_mlist_M0093" ,cdGrpId: "M0093" }, //기호식품
- {dsNm: "ds_init_mlist_M0098" ,cdGrpId: "M0098" }, //동반자
- {dsNm: "ds_init_mlist_M0100" ,cdGrpId: "M0100" }, //지남력
- {dsNm: "ds_init_mlist_M0102" ,cdGrpId: "M0102" }, //요흔
- {dsNm: "ds_init_mlist_M0103" ,cdGrpId: "M0103" }, //부착기구
- {dsNm: "ds_init_mlist_M0104" ,cdGrpId: "M0104" }, //소변색깔
- {dsNm: "ds_init_mlist_M0105" ,cdGrpId: "M0105" }, //소변증상
- {dsNm: "ds_init_mlist_M0106" ,cdGrpId: "M0106" }, //대변색깔
- {dsNm: "ds_init_mlist_M0107" ,cdGrpId: "M0107" }, //대변종류
- {dsNm: "ds_init_mlist_M0109" ,cdGrpId: "M0109" }, //동공빛반사여부
- {dsNm: "ds_init_mlist_M0110" ,cdGrpId: "M0110" }, //동공수치
- {dsNm: "ds_init_mlist_M0411" ,cdGrpId: "M0411" }, //영적요구
- {dsNm: "ds_init_mlist_M0210" ,cdGrpId: "M0210" }, //입원방법
- {dsNm: "ds_init_mlist_M0375" ,cdGrpId: "M0375" }, //체온부위
- {dsNm: "ds_init_mlist_M0368" ,cdGrpId: "M0368" }, //가족병력내역
- {dsNm: "ds_init_mlist_M0532" ,cdGrpId: "M0532" }]; //과거병력내역_20090406_SMY추가
- appf_getCodeList(arrParam);
- }
- function fInitEvent()
- {
- switch1.case1.import1.cmb_vesltype.innerdataset = "ds_init_mlist_M0084";
- switch1.case1.import1.cmb_vesltype.datacolumn = "cdnm";
- switch1.case1.import1.cmb_vesltype.codecolumn = "cdid";
-
- switch1.case1.import1.fInitEventDialInfo();
- switch1.case2.import4.fInitEventHistInfo();
- }
- function fInit()
- {
- ds_temp_cond_list.clearData();
- appf_getPatientInfoDetails("ds_temp_cond_list");
-
- var pid;
- var room;
- var patnm;
- var sex;
- var age;
- var instcd;
- var orddeptcd;
- var indd;
- var ioflag = ds_temp_cond_list.getColumn(0, "ioflag");
-
- if(ioflag == "O")
- {
- indd = ds_temp_cond_list.getColumn(0, "orddd");
- }
- else
- {
- indd = ds_temp_cond_list.getColumn(0, "indd");
- room = ds_temp_cond_list.getColumn(0, "roomcd");
- }
-
- patnm = ds_temp_cond_list.getColumn(0, "hngnm");
- sex = ds_temp_cond_list.getColumn(0, "sex");
- age = ds_temp_cond_list.getColumn(0, "age");
- pid = ds_temp_cond_list.getColumn(0, "pid");
- instcd = ds_temp_cond_list.getColumn(0, "instcd");
- orddetpcd = ds_temp_cond_list.getColumn(0, "orddeptcd");
-
- cretno = ds_temp_cond_list.getColumn(0, "cretno");
- ioflag = ds_temp_cond_list.getColumn(0, "ioflag");
-
- dsf_makeValue(ds_main_wardrecinfo, "room", "string", room, 0);
- dsf_makeValue(ds_main_wardrecinfo, "patnm", "string", patnm, 0);
- dsf_makeValue(ds_main_wardrecinfo, "sex", "string", sex, 0);
- dsf_makeValue(ds_main_wardrecinfo, "age", "string", age, 0);
- dsf_makeValue(ds_main_wardrecinfo, "pid", "string", pid, 0);
-
- var scrnid = frmf_getScreenID();
-
- var param = "pid▦orddd▦cretno▦ordtype▦scrnid" +"▩" + pid+"▦" +indd+"▦"+cretno+"▦"+ioflag+"▦"+scrnid+"▩";
- fEnrCareComRecInfo_SPMNZ002(param, ds_main_enrcarecomrecinfo);
- }
- function SetchkList()
- {
- var getData = utlf_transNullToEmpty(ds_main_wardrecinfo.getColumn(0, "viralmarker")).split(" ");
- switch1.case1.import1.chk_viralmarker.setData(getData,null,false);
- }
- //조회
- function fGetInitRecInfo()
- {
- var pid = ds_temp_cond_list.getColumn(0, "pid");
- var indd = "";
- var instcd = ds_temp_cond_list.getColumn(0, "instcd");
- var orddeptcd = ds_temp_cond_list.getColumn(0, "orddeptcd");
- var ioflag = ds_temp_cond_list.getColumn(0, "ioflag");
- if(ioflag == "O")
- {
- indd = ds_temp_cond_list.getColumn(0, "orddd");
- }
- else
- {
- indd = ds_temp_cond_list.getColumn(0, "indd");
- }
-
- var cretno = ds_temp_cond_list.getColumn(0, "cretno");
- var instUseYN ="";
- dsf_makeValue( ds_send_req, "pid", "string", pid, 0);
- dsf_makeValue( ds_send_req, "indd", "string", indd, 0);
- dsf_makeValue( ds_send_req, "instcd", "string", instcd, 0);
- dsf_makeValue( ds_send_req, "recflag", "string", "08", 0);
- dsf_makeValue( ds_send_req, "docucode", "string", "0000002437", 0);
- dsf_makeValue( ds_send_req, "deptcd", "string", orddeptcd, 0);
- if(utlf_isNull(pid))
- {
- sysf_messageBox("환자를 선택하지 ", "E007");
- this.close();
- }
- else
- {
- if(instUseYN == "Y")
- {
- grp_patinfo.position.x = 539;
- frmf_setParameter("SPMRJ00300_pid", pid);
- frmf_setParameter("SPMRJ00300_orddd", indd);
- frmf_setParameter("SPMRJ00300_cretno", cretno);
- group3.switch1.case_edurec.ivw_edurec.url = "emr_jcimngtxp::SPMRJ00300_교육요구도사정.xfdl";
- group3.switch1.case_edurec.ivw_edurec.group2.visible = false;
- }
- else
- {
- grp_patinfo.position.x = 107;
- //grp_patinfo.style = "left:210px; top:50px; width:640px; height:20px;" ;
- //btn_edurec.visible = false;
- }
- var oParam = {};
- oParam.id = "TRMND00301";
- oParam.service = "wardcareapp.WardCareRec";
- oParam.method = "reqGetRecInfo";
- oParam.inds = "reqlist=ds_send_req";
- oParam.outds = "ds_hidden_paminfo_paminfo=paminfo ds_hidden_paminfo_recinfo=recinfo";
- oParam.async = false;
- tranf_submit(oParam);
- var exeflag = ds_hidden_paminfo_paminfo.getColumn(0, "exeflag");
- if(exeflag == "U")
- {
- var oParam = {};
- oParam.id = "TRMND00302";
- oParam.service = "wardcareapp.WardCareRec";
- oParam.method = "reqGetAllRecInfo";
- oParam.inds = "reqlist=ds_send_req";
- oParam.outds = "ds_main_famyfact=famyfact ds_main_histinfo=histinfo ds_main_wardrecinfo=wardrecinfo";
- oParam.async = false;
- tranf_submit(oParam);
-
- ds_signinfo.setColumn(0, "signno", ds_main_wardrecinfo.getColumn(0, "signno"));
-
- var existfamyinfo = ds_main_wardrecinfo.getColumn(0, "existfamyinfo");
- //frmf_setParameter("SPMMR04711_shape", fGetXmlToStr("ds_main_wardrecinfo", "/root/main/wardrecinfo"));
-
- dsf_makeValue( ds_main_wardrecinfo, "bfrecddtm", "string", ds_hidden_paminfo_recinfo.lookupExpr("recflag == '08' && indd == '"+indd+"'", "recpkspec"), 0);
- dsf_makeValue( ds_main_wardrecinfo, "bfrecuser", "string", ds_hidden_paminfo_recinfo.lookupExpr("recflag == '08' && indd == '"+indd+"'", "bfrecuser"), 0);
-
- var pParamObj = new Object();
- pParamObj.pathYN = "Y";
- pParamObj.nullColumnYN = "Y";
-
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "famytree"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "gustoinfo"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "bodyases"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "dialcomninfoetc"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "dialcarer"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "trans"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "selfcareinfo"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "rgstdialinfo"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "progrec"));
-
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "pasthistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "famyhistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "inhistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "ophistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "allghistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "vacnhistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "rectmedistatinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "smokinfo"));
- //convertXmlToDsNull(ds_main_histinfo.getColumn(0, "drunkinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "gustofoodinfo"));
- //convertXmlToDsNull(ds_main_histinfo.getColumn(0, "tnsseffcinfo"));
-
- dsf_setDefaultVal(ds_data_drunkinfo, "drunkinfoyn:1");
-
- filterDs(ds_data_dialcarer, ds_data_dialcarer1, ds_data_dialcarer2, "/dialcarer", "/dialcarer/dialcarer");
- filterDs(ds_data_famyhist, ds_data_famyhist1, ds_data_famyhist2, "/famyhist", "/famyhist/famyhist");
- filterDs(ds_data_inhist, ds_data_inhist1, ds_data_inhist2, "/inhist", "/inhist/inhist");
- filterDs(ds_data_ophist, ds_data_ophist1, ds_data_ophist2, "/ophist", "/ophist/ophist");
- filterDs(ds_data_allghist, ds_data_allghist1, ds_data_allghist2, "/allghist", "/allghist/allghist");
- filterDs(ds_data_pasthist, ds_data_pasthist1, ds_data_pasthist2, "/pasthist", "/pasthist/pasthist");
- filterDs(ds_data_smok, ds_data_smok1, ds_data_smok2, "/smok", "/smok/smok");
- //filterDs(ds_data_drunkinfo, ds_data_drunk1, ds_data_drunk2, "/drunk", "/drunk/drunk");
- filterDs(ds_data_gustofood, ds_data_gustofood1, ds_data_gustofood2, "/gustofood", "/gustofood/gustofood");
- filterDs(ds_data_tnsseffc, ds_data_tnsseffc1, ds_data_tnsseffc2, "/tnsseffc", "/tnsseffc/tnsseffc");
- filterDs(ds_data_rectmedistat, ds_data_rectmedistat1, ds_data_rectmedistat2, "/rectmedistat", "/rectmedistat/rectmedistat");
- filterDs(ds_data_gustofood, ds_data_gustofood1, ds_data_gustofood2, "/gustofood", "/gustofood/gustofood");
-
- if(!utlf_isNull(ds_data_pasthist2.getColumnInfo("genrdd")))
- {
- grdDateType(ds_data_pasthist2, "genrdd", 0, switch1.case2.import4.grd_pasthist);
- }
- if(!utlf_isNull(ds_data_inhist2.getColumnInfo("indd")))
- {
- grdDateType(ds_data_inhist2, "indd", 0, switch1.case2.import4.grd_inhist);
- }
- if(!utlf_isNull(ds_data_ophist2.getColumnInfo("opdd")))
- {
- grdDateType(ds_data_ophist2, "opdd", 0, switch1.case2.import4.grd_ophist);
- }
- if(!utlf_isNull(ds_data_allghist2.getColumnInfo("genrdd")))
- {
- grdDateType(ds_data_allghist2, "genrdd", 0, switch1.case2.import4.grd_allghist);
- }
-
- SetchkList();
- }
- else
- {
- if(!utlf_isNull(ds_hidden_paminfo_recinfo.getColumn(0, "recpkspec")))
- {
- dsf_makeValue( ds_main_wardrecinfo, "bfrecddtm", "string", ds_hidden_paminfo_recinfo.getColumn(0, "recpkspec"), 0);
- fChgRecHistInfo();
- }
- else
- {
- var oParam = {};
- oParam.id = "TRMND00304";
- oParam.service = "wardcareapp.WardCareRec";
- oParam.method = "reqGetComRecInfo";
- oParam.inds = "reqlist=ds_send_req";
- oParam.outds = "ds_hidden_cominfo_famyfact=famyfact ds_hidden_cominfo_histinfo=histinfo ds_hidden_cominfo_famyinfo=famyinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRMND00304";
- tranf_submit(oParam);
-
- var exist = ds_hidden_cominfo_histinfo.getColumn(0, "existyn");
- var existfamyinfo = ds_hidden_cominfo_famyinfo.getColumn(0, "existfamyinfo");
- //setParameter("SPMMR04711_shape", fGetXmlToStr("/root/hidden/cominfo/famyinfo/genogrmnm/XMD"));
-
- ds_main_famyfact.clearData();
-
- if(ds_hidden_cominfo_famyfact.rowcount > 0)
- {
- for(var i = 0; i < ds_hidden_cominfo_famyfact.rowcount; i++)
- {
- if(!utlf_isNull(ds_hidden_cominfo_famyfact.getColumn(i, "rela")))
- {
- var addRow = ds_main_famyfact.addRow();
- ds_main_famyfact.copyRow(addRow, ds_hidden_cominfo_famyfact, i);
- }
-
- }
- }
-
- if(exist == "N")
- {
- dsf_makeValue( ds_data_pasthist1, "pasthistinclyn", "string", "", 0);
- dsf_makeValue( ds_data_famyhist1, "famyhistinclyn", "string", "", 0);
- dsf_makeValue( ds_data_inhist1, "inhistinclyn", "string", "", 0);
- dsf_makeValue( ds_data_ophist1, "ophistinclyn", "string", "", 0);
- dsf_makeValue( ds_data_rectmedistat1, "rectmedistatinfoinclyn", "string", "", 0);
- dsf_makeValue( ds_data_allghist1, "allghistinclyn", "string", "", 0);
- dsf_makeValue( ds_data_vacnhist, "vacnhistinfoinclyn", "string", "", 0);
- dsf_makeValue( ds_data_smokinfo, "smokinfoyn", "string", "1", 0);
- dsf_makeValue( ds_data_drunkinfo, "drunkinfoyn", "string", "1", 0);
- dsf_makeValue( ds_data_gustofoodinfo, "gustofoodyn", "string", "1", 0);
- dsf_makeValue( ds_data_tnsseffcinfo, "tnsseffcyn", "string", "1", 0);
-
- }
- else
- {
- ds_main_histinfo.copyData(ds_hidden_cominfo_histinfo);
- }
-
- dsf_makeValue( ds_main_wardrecinfo, "religncd", "string", ds_hidden_paminfo_paminfo.getColumn(0, "religncd"), 0);
- dsf_makeValue( ds_main_wardrecinfo, "baptnm", "string", ds_hidden_paminfo_paminfo.getColumn(0, "baptnm"), 0);
- dsf_makeValue( ds_main_wardrecinfo, "tel", "string", ds_hidden_paminfo_paminfo.getColumn(0, "tel"), 0);
- dsf_makeValue( ds_main_wardrecinfo, "mphone", "string", ds_hidden_paminfo_paminfo.getColumn(0, "mphone"), 0);
- dsf_makeValue( ds_main_wardrecinfo, "etcphone1", "string", ds_hidden_paminfo_paminfo.getColumn(0, "etcphone1"), 0);
- dsf_makeValue( ds_main_wardrecinfo, "etcphone2", "string", ds_hidden_paminfo_paminfo.getColumn(0, "etcphone2"), 0);
- dsf_makeValue( ds_main_wardrecinfo, "recdd", "string", ds_hidden_paminfo_paminfo.getColumn(0, "recdd"), 0);
- dsf_makeValue( ds_main_wardrecinfo, "rectm", "string", ds_hidden_paminfo_paminfo.getColumn(0, "rectm"), 0);
- dsf_makeValue( ds_main_wardrecinfo, "recuser", "string", ds_hidden_paminfo_paminfo.getColumn(0, "recuser"), 0);
- }
- }
- fNotExistsNodeCreate();
-
- if(existfamyinfo == "Y")
- {
- ds_data_famytree.getColumn(0, "existyn", "Y");
- }
- }
-
- if(ds_data_bodyases.rowcount == 0)
- {
- ds_data_bodyases.addRow();
- }
- if(ds_data_dialcomn.rowcount == 0)
- {
- ds_data_dialcomn.addRow();
- }
- if(ds_data_dialcarer1.rowcount == 0)
- {
- ds_data_dialcarer1.addRow();
- }
- if(ds_data_trans.rowcount == 0)
- {
- ds_data_trans.addRow();
- }
- if(ds_data_selfcare.rowcount == 0)
- {
- ds_data_selfcare.addRow();
- }
- if(ds_data_progrec.rowcount == 0)
- {
- ds_data_progrec.addRow();
- }
- if(ds_data_rgstdial.rowcount == 0)
- {
- ds_data_rgstdial.addRow();
- }
-
- status = "select";
-
- if(ds_data_allghist2.rowcount > 0)
- {
- for(var i = 0; i < ds_data_allghist2.getColCount(); i++)
- {
- if(!utlf_isNull(ds_data_allghist2.getColumn(0, i)))
- {
- allgInsYN = "N";
- }
- }
- }
- }
- function filterDs(DsSet, DsSet_1, DsSet_2, strpath_1, strpath_2)
- {
- var iCol = 0;
- var Gubun = false;
- var len = 0;
-
- // if(DsSet == ds_data_nvesys)
- // {
- // DasetCountClear(ds_data_nvesysdsordinfo);
- // }
-
- if(DsSet.colcount == 1 && !utlf_isNull(DsSet.getColumnInfo("dsvaluepath")))
- {
- return;
- }
-
- if(DsSet.rowcount > 0)
- {
- DsSet.filter("dsvaluepath == '" + strpath_1 +"'");
- DsSet_1.copyData(DsSet, true);
- DsSet.filter("");
- //len = strpath_2.length();
- if(DsSet.rowcount > 1)
- {
- DsSet.getColumn(1)
- }
- DsSet.filter("dsvaluepath != '" + strpath_1 +"'");// /ophist
- DsSet_2.copyData(DsSet, true);
- DsSet.filter("");
- }
-
- if(DsSet_2.rowcount == 1)
- {
- for(iCol = 0 ; iCol < DsSet_2.colcount ;iCol++)
- {
- if(utlf_isNull(DsSet_2.getColumn(0, iCol)))
- {
- Gubun = true;
- }
- else
- {
- if(DsSet_2.getColID(iCol) == "dsvaluepath")
- {
- Gubun = true;
- }
- else
- {
- Gubun = false;
- break;
- }
- }
- }
- if(Gubun == true)
- {
- DsSet_2.clearData();
- }
- }
- else if (DsSet_2.rowcount == 0)
- {
- DsSet_2.clearData();
- }
- }
- function convertXmlToDsNull(strWardrecinfo)//null값 있는지 확인
- {
- var pParamObj = new Object();
- pParamObj.pathYN = "Y";
- pParamObj.nullColumnYN = "Y";
-
- if(!utlf_isNull(strWardrecinfo))
- {
- lf_convertXmlToDs2(strWardrecinfo, pParamObj);
- }
- }
- function fNotExistsNodeCreate()
- {
- var spo2 = ""
-
- if(!utlf_isNull(ds_main_wardrecinfo.getColumnInfo("spo2")))
- {
- spo2 = ds_main_wardrecinfo.getColumn(0, "spo2");
- }
-
- if(utlf_isNull(spo2))
- {
- dsf_makeValue( ds_main_wardrecinfo, "spo2", "string", "", 0);
- }
- if(utlf_isNull(ds_data_pasthist1.getColumnInfo("pasthistinclyn")))
- {
- dsf_makeValue(ds_data_pasthist1, "pasthistinclyn", "string", "", 0);
- }
- if(utlf_isNull(ds_data_famyhist1.getColumnInfo("famyhistinclyn")))
- {
- dsf_makeValue(ds_data_famyhist1, "famyhistinclyn", "string", "", 0);
- }
- if(utlf_isNull(ds_data_inhist1.getColumnInfo("inhistinclyn")))
- {
- dsf_makeValue(ds_data_inhist1, "inhistinclyn", "string", "", 0);
- }
- if(utlf_isNull(ds_data_ophist1.getColumnInfo("ophistinclyn")))
- {
- dsf_makeValue(ds_data_ophist1, "ophistinclyn", "string", "", 0);
- }
-
- if(utlf_isNull(ds_data_rectmedistat1.getColumnInfo("rectmedistatinfoinclyn")))
- {
- dsf_makeValue(ds_data_rectmedistat1, "rectmedistatinfoinclyn", "string", "", 0);
- }
- if(utlf_isNull(ds_main_wardrecinfo.getColumnInfo("bfrecddtm")))
- {
- dsf_makeValue(ds_main_wardrecinfo, "bfrecddtm", "string", "", 0);
- }
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TXMND00301";
- oParam.service = "wardcareapp.WardCareRec";
- oParam.method = "reqSetRecInfo";
- oParam.inds = "famyfact=ds_main_famyfact:A gnrlinfo=ds_send_wardrecinfo histinfo=ds_send_histinfo dialinfo=ds_send_wardrecinfo famyinfo=ds_send_wardrecinfo comparam=ds_send_comparam signinfo=ds_sign_wardrecinfo allginfo=ds_send_allginfo";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "SubmitCallBack";
-
- setCareInfoDel(oParam);
-
- clearDataSet();
- DasetAddRow();
- fGetInitRecInfo(); //재조회
- fInitEvent();
- }
- function DasetAddRow()
- {
- if(ds_data_bodyases.rowcount == 0)
- {
- ds_data_bodyases.addRow();
- }
- if(ds_data_dialcomn.rowcount == 0)
- {
- ds_data_dialcomn.addRow();
- }
- if(ds_data_dialcarer1.rowcount == 0)
- {
- ds_data_dialcarer1.addRow();
- }
- if(ds_data_trans.rowcount == 0)
- {
- ds_data_trans.addRow();
- }
- if(ds_data_selfcare.rowcount == 0)
- {
- ds_data_selfcare.addRow();
- }
- if(ds_data_progrec.rowcount == 0)
- {
- ds_data_progrec.addRow();
- }
- if(ds_data_rgstdial.rowcount == 0)
- {
- ds_data_rgstdial.addRow();
- }
- }
- function clearDataSet()
- {
- ds_data_allghist.clearData();
- ds_data_allghist1.clearData();
- ds_data_allghist2.clearData();
- ds_data_bodyases.clearData();
- ds_data_dialcarer.clearData();
- ds_data_dialcarer1.clearData();
- ds_data_dialcarer2.clearData();
- ds_data_dialcomn.clearData();
- ds_data_drunk.clearData();
- ds_data_drunk1.clearData();
- ds_data_drunk2.clearData();
- ds_data_drunkinfo.clearData();
- ds_data_famyhist.clearData();
- ds_data_famyhist1.clearData();
- ds_data_famyhist2.clearData();
- ds_data_famytree.clearData();
- ds_data_gustofood.clearData();
- ds_data_gustofood1.clearData();
- ds_data_gustofood2.clearData();
- ds_data_gustofoodinfo.clearData();
- ds_data_inhist.clearData();
- ds_data_inhist1.clearData();
- ds_data_inhist2.clearData();
- ds_data_ophist.clearData();
- ds_data_ophist1.clearData();
- ds_data_ophist2.clearData();
- ds_data_pasthist.clearData();
- ds_data_pasthist1.clearData();
- ds_data_pasthist2.clearData();
- ds_data_progrec.clearData();
- ds_data_rectmedistat.clearData();
- ds_data_rectmedistat1.clearData();
- ds_data_rectmedistat2.clearData();
- ds_data_rgstdial.clearData();
- ds_data_selfcare.clearData();
- ds_data_smok.clearData();
- ds_data_smok1.clearData();
- ds_data_smok2.clearData();
- ds_data_smokinfo.clearData();
- ds_data_tnsseffc.clearData();
- ds_data_tnsseffc1.clearData();
- ds_data_tnsseffc2.clearData();
- ds_data_tnsseffcinfo.clearData();
- ds_data_trans.clearData();
- ds_data_vacnhist.clearData();
-
- switch1.case1.import1.chk_possresn.setCheckAll(false);
- switch1.case1.import1.chk_viralmarker.setCheckAll(false);
- }
- // function setCareInfoDel_1()
- // {
- // if(utlf_isNull(ds_main_wardrecinfo.getColumn(0, "bfrecuser")) && utlf_isNull(ds_main_wardrecinfo.getColumn(0, "bfrecddtm")))
- // {
- // sysf_messageBox("삭제가능한 간호정보조사지가 없습니다","I");
- // return;
- // }
- // if(sysf_getUserName() != ds_main_wardrecinfo.getColumn(0, "bfrecuser"))
- // {
- // sysf_messageBox("타인의 기록은 삭제할 수 없습니다","I");
- // return;
- // }
- //
- // ds_codeinfo.clearData();
- // ds_codeinfo.addRow();
- //
- // fGetNursHardCdInfo("'REC'", utlf_getCurrentDate());
- //
- // for(var i = 0; i < ds_codelist.rowcount; i++)
- // {
- // if(ds_codelist.getColumn(i, "cdnm") == frmf_getScreenID())
- // {
- // var formcd = ds_codelist.getColumn(i, "cdid");
- // var recflag = String(ds_codelist.getColumn(i, "supcdid")).substr(4,2);
- // }
- // }
- //
- // var aa = sysf_messageBox("작성한 간호정보조사 전체 기록내역이 삭제됩니다. 정말","Q001");
- //
- // if(aa == "7")
- // {
- // return;
- // }
- //
- // fPatgnrlInfo("X");
- //
- // dsf_makeValue( ds_send_wardrecinfo, "exeflag", "string", "D", 0);
- //
- // Sign.certreload = true ;
- //
- // if (Sign.signprocess() == true)
- // {
- // dsf_makeValue( ds_send_wardrecinfo, "pid", "string", ds_temp_cond_list.getColumn(0, "pid"), 0);
- //
- // if(recflag == "08")
- // {
- // dsf_makeValue( ds_send_wardrecinfo, "indd", "string", ds_temp_cond_list.getColumn(0, "orddd"), 0);
- // }
- // else
- // {
- // dsf_makeValue( ds_send_wardrecinfo, "indd", "string", ds_temp_cond_list.getColumn(0, "indd"), 0);
- // }
- //
- // dsf_makeValue( ds_send_wardrecinfo, "cretno", "string", ds_temp_cond_list.getColumn(0, "cretno"), 0);
- // dsf_makeValue( ds_send_wardrecinfo, "signno", "string", ds_signinfo.getColumn(0, "signno"), 0);
- // dsf_makeValue( ds_send_wardrecinfo, "recdd", "string", ds_main_wardrecinfo.getColumn(0, "recdd"), 0);
- // dsf_makeValue( ds_send_wardrecinfo, "rectm", "string", ds_main_wardrecinfo.getColumn(0, "rectm"), 0);
- // dsf_makeValue( ds_send_wardrecinfo, "recsaveflag", "string", "Y", 0);
- // dsf_makeValue( ds_send_wardrecinfo, "signflag", "string", "02", 0);
- // dsf_makeValue( ds_send_wardrecinfo, "signgenrflag", "string", ds_temp_cond_list.getColumn(0, "ioflag"), 0);
- // dsf_makeValue( ds_send_wardrecinfo, "formcd", "string", formcd, 0);
- // dsf_makeValue( ds_send_wardrecinfo, "orddeptcd", "string", ds_temp_cond_list.getColumn(0, "orddeptcd"), 0);
- // dsf_makeValue( ds_send_wardrecinfo, "orddrid", "string", ds_temp_cond_list.getColumn(0, "orddrid"), 0);
- //
- // var oParam = {};
- // oParam.id = "TXMND00301";
- // oParam.service = "wardcareapp.WardCareRec";
- // oParam.method = "reqSetRecInfo";
- // oParam.inds = "famyfact=ds_main_famyfact:A gnrlinfo=ds_send_wardrecinfo histinfo=ds_send_histinfo dialinfo=ds_send_wardrecinfo famyinfo=ds_send_wardrecinfo comparam=ds_send_comparam signinfo=ds_sign_wardrecinfo allginfo=ds_send_allginfo";
- // oParam.outds = "";
- // oParam.async = false;
- // //oParam.callback = "cf_TXMND00301";
- //
- // tranf_submit(oParam);
- // }
- // }
- //
- // function cf_TXMND00301(sSvcId, nErrorCode, sErrorMsg)
- // {
- // if(nErrorCode < 0)
- // {
- // sysf_messageBox("저장이 실패하였습니다. ", "E");
- // return;
- // }
- // else
- // {
- // if(recflag != "06" && recflag != "07" && recflag != "10")
- // {
- // grd_famyfact.clearStatus();
- // }
- //
- // model.setValue("/root/send/wardrecinfo", "");
- //
- // ds_main_histinfo.clearData();
- // ds_main_histinfo.addRow();
- //
- // ds_main_wardrecinfo.clearData();
- // ds_main_wardrecinfo.addRow();
- //
- // ds_codeinfo.clearData();
- // ds_codeinfo.addRow();
- // model.resetInstanceNode("/root/main/inbfinfo");
- // model.resetInstanceNode("/root/main/famyfactinfo");
- //
- // fGetCmbList();
- // fInit();
- // fGetInitRecInfo();
- // fInitEvent();
- //
- // if(ds_data_bodyases.rowcount == 0)
- // {
- // ds_data_bodyases.addRow();
- // }
- // if(ds_data_famyfree.rowcount == 0)
- // {
- // ds_data_famyfree.addRow();
- // }
- // if(ds_data_dialcomn.rowcount == 0)
- // {
- // ds_data_dialcomn.addRow();
- // }
- // if(ds_data_dialcarer1.rowcount == 0)
- // {
- // ds_data_dialcarer1.addRow();
- // }
- // if(ds_data_trans.rowcount == 0)
- // {
- // ds_data_trans.addRow();
- // }
- // if(ds_data_selfcare.rowcount == 0)
- // {
- // ds_data_selfcare.addRow();
- // }
- // if(ds_data_progrec.rowcount == 0)
- // {
- // ds_data_progrec.addRow();
- // }
- // if(ds_data_rgstdial.rowcount == 0)
- // {
- // ds_data_rgstdial.addRow();
- // }
- //
- // sysf_messageBox("저장이 ", "I001");
- // }
- // }
-
- function DataSet_XMLChange2(DataSet, DataSet2, DataSetName, DataSetName2, DelPath, DataSetChangePath, pathName, pathName2, ds_infectspec_XML)
- {
- var ds_infectspec_XML_RSLT;
- var bolDel = false;
-
- var pParam = new Object();
- pParam.cDataYN = "N";
- if(bolsign == true)
- {
- pParam.nullNodeYN = "N";
- }
-
- if(DataSet.rowcount == 0)
- {
- DataSet.addRow();
- }
-
- DataSet.enableevent = false;
- DataSet.updatecontrol = false;
-
- if(DataSetChangePath == "uriorgncms")
- {
- if(!utlf_isNull(DataSet.getColumnInfo("symp")))
- {
- DataSet.deleteColumn("symp");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("cate")))
- {
- DataSet.deleteColumn("cate");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("list")))
- {
- DataSet.deleteColumn("list");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("urinecolor")))
- {
- DataSet.deleteColumn("urinecolor");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("dsvaluepath")))
- {
- DataSet.deleteColumn("dsvaluepath");
- }
- }
- else if(DataSetChangePath == "allghistcms")
- {
- if(!utlf_isNull(DataSet.getColumnInfo("dsvaluepath")))
- {
- DataSet.deleteColumn("dsvaluepath");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("genrdd")))
- {
- DataSet.deleteColumn("genrdd");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("flag")))
- {
- DataSet.deleteColumn("flag");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("allergespec")))
- {
- DataSet.deleteColumn("allergespec");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("hosoutyn")))
- {
- DataSet.deleteColumn("hosoutyn");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("comclscd")))
- {
- DataSet.deleteColumn("comclscd");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("drugcd")))
- {
- DataSet.deleteColumn("drugcd");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("drugnm")))
- {
- DataSet.deleteColumn("drugnm");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("symp")))
- {
- DataSet.deleteColumn("symp");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("rgstdt")))
- {
- DataSet.deleteColumn("rgstdt");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("rgster")))
- {
- DataSet.deleteColumn("rgster");
- }
- if(!utlf_isNull(DataSet.getColumnInfo("cretno")))
- {
- DataSet.deleteColumn("cretno");
- }
- }
- else
- {
- for(var j = 0; j < DataSet.colcount ;j++)
- {
- if(DataSet.getColID(j) != DelPath)
- {
- if(DataSetChangePath == "rectmedistatcms" && DataSet.getColID(j) == "antibiodrugyn")
- {
- continue;
- }
- if(DataSetChangePath == "femalecms" && DataSet.getColID(j) == "femaleaddinfoyn")
- {
- continue;
- }
- else
- {
- DataSet.deleteColumn(DataSet.getColID(j));
- j--;
- }
- }
- }
- }
- DataSet.updatecontrol = true;
- DataSet.enableevent = true;
-
- DataSet2.enableevent = false;
- DataSet2.updatecontrol = false;
-
- if(DataSetChangePath == "uriorgncms")
- {
- if(!utlf_isNull(DataSet2.getColumnInfo("dsvaluepath")))
- {
- DataSet2.deleteColumn("dsvaluepath");
- }
-
- if(!utlf_isNull(DataSet2.getColumnInfo("urinetims")))
- {
- DataSet2.deleteColumn("urinetims");
- }
- if(!utlf_isNull(DataSet2.getColumnInfo("urineday")))
- {
- DataSet2.deleteColumn("urineday");
- }
- if(!utlf_isNull(DataSet2.getColumnInfo("urinevol")))
- {
- DataSet2.deleteColumn("urinevol");
- }
- if(!utlf_isNull(DataSet2.getColumnInfo("urinesmell")))
- {
- DataSet2.deleteColumn("urinesmell");
- }
- if(!utlf_isNull(DataSet2.getColumnInfo("urinecateyn")))
- {
- DataSet2.deleteColumn("urinecateyn");
- }
- if(!utlf_isNull(DataSet2.getColumnInfo("urinevoldaytime")))
- {
- DataSet2.deleteColumn("urinevoldaytime");
- }
- }
- else if(DataSetChangePath == "allghistcms")
- {
- if(!utlf_isNull(DataSet2.getColumnInfo("dsvaluepath")))
- {
- DataSet2.deleteColumn("dsvaluepath");
- }
- if(!utlf_isNull(DataSet2.getColumnInfo("allghistinclyn")))
- {
- DataSet2.deleteColumn("allghistinclyn");
- }
- if(!utlf_isNull(DataSet2.getColumnInfo("tnsseffcyn")))
- {
- DataSet2.deleteColumn("tnsseffcyn");
- }
- if(!utlf_isNull(DataSet2.getColumnInfo("tnsseffcdetl")))
- {
- DataSet2.deleteColumn("tnsseffcdetl");
- }
- }
- else
- {
- if(!utlf_isNull(DataSet2.getColumnInfo("dsvaluepath")))
- {
- DataSet2.deleteColumn("dsvaluepath");
- }
- if(!utlf_isNull(DataSet2.getColumnInfo(DelPath)))
- {
- DataSet2.deleteColumn(DelPath);
- }
- if(DataSetChangePath == "rectmedistatcms" && !utlf_isNull(DataSet2.getColumnInfo("antibiodrugyn")))
- {
- DataSet2.deleteColumn("antibiodrugyn");
- }
- if(DataSetChangePath == "femalecms" && !utlf_isNull(DataSet2.getColumnInfo("femaleaddinfoyn")))
- {
- DataSet2.deleteColumn("femaleaddinfoyn");
- }
- }
-
- for(var i = 0; i < DataSet2.rowcount ;i++)
- {
- for(var j = 0; j < DataSet2.colcount ;j++)
- {
- if(!utlf_isNull(DataSet2.getColumn(i, j)))
- {
- bolDel = true;
- }
- }
- if(bolDel == false)
- {
- DataSet2.deleteRow(i);
- i--;
- }
- bolDel = false;
- }
- DataSet2.updatecontrol = true;
- DataSet2 .enableevent = true;
-
- dsf_createDs("ds_data_" + DataSetChangePath);
- var DasetCreate = objects["ds_data_" + DataSetChangePath];
-
- DasetCreate.copyData(DataSet2);
- if(DataSetChangePath == "nvesyscms")
- {
- if(!utlf_isNull(ds_data_nvesysdsordinfo.getColumnInfo("dsvaluepath")))
- {
- ds_data_nvesysdsordinfo.enableevent = false;
- ds_data_nvesysdsordinfo.updatecontrol = false;
- ds_data_nvesysdsordinfo.deleteColumn("dsvaluepath");
- ds_data_nvesysdsordinfo.updatecontrol = true;
- ds_data_nvesysdsordinfo.enableevent = true;
- }
- sParamObjArr = [{ds: DataSetName, path:pathName, filter: ""},
- {ds: DasetCreate.name, path:pathName2, filter: ""},
- {ds: "ds_data_nvesysdsordinfo", path:"nvesys1/nvesysdsordinfo", filter: ""}];
- ds_infectspec_XML_RSLT= lf_convertDsToXml(sParamObjArr,ds_infectspec_XML, pParam);
- }
- else
- {
- sParamObjArr = [{ds: DataSetName, path:pathName, filter: ""},
- {ds: DasetCreate.name, path:pathName2, filter: ""}];
- ds_infectspec_XML_RSLT= lf_convertDsToXml(sParamObjArr,ds_infectspec_XML, pParam);
- }
- return ds_infectspec_XML_RSLT;
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- var instUseYN ="";
- bolsign = true;
-
- for(var i = 0 ; i < ds_main_famyfact.rowcount; i++)
- {
- var rela = ds_main_famyfact.getColumn(i, "rela");
-
- if(utlf_isNull(rela))
- {
- sysf_messageBox("[가족사항 - 관계]는 필수 입력사항입니다.", "I");
- return;
- }
- }
-
- fPatgnrlInfo("C");//send
- if ( instUseYN =="Y")
- {
- //model.removenode('/root/temp/signdata');
-
- // if ( !switch1.case1.import1.fSave())
- // {
- // return;
- // }
- //var xEduRecPath = '/root/temp/signdata/edurecinfo';
-
- //fMNWCareInfoRecMakeForJCI(xEduRecPath, ivw_edurec, "Y");//carecom.js (srcPath, destObj , 응급간호정보조사여부 구분 erYn 'Y' 이어야 퇴원교육요구도가 안보임.)
- }
- Sign.certreload = true ;
-
- if (Sign.signprocess() == true)
- {
- var ioflag = ds_temp_cond_list.getColumn(0, "ioflag");
-
- if(ioflag == "O")
- {
- indd = ds_temp_cond_list.getColumn(0, "orddd");
- }
- else
- {
- indd = ds_temp_cond_list.getColumn(0, "indd");
- }
-
- dsf_makeValue( ds_send_signinfo, "pid", "string", ds_temp_cond_list.getColumn(0, "pid"));
- dsf_makeValue( ds_send_signinfo, "orddd", "string", indd);
- dsf_makeValue( ds_send_signinfo, "signno", "string", ds_signinfo.getColumn(0, "signno"));
- dsf_makeValue( ds_send_signinfo, "cretno", "string", ds_temp_cond_list.getColumn(0, "cretno"));
- dsf_makeValue( ds_send_signinfo, "recdd", "string", ds_main_wardrecinfo.getColumn(0, "recdd"));
- dsf_makeValue( ds_send_signinfo, "rectm", "string", ds_main_wardrecinfo.getColumn(0, "rectm"));
- dsf_makeValue( ds_send_signinfo, "recsaveflag", "string", "Y");
- dsf_makeValue( ds_send_signinfo, "signflag", "string", "02");
- dsf_makeValue( ds_send_signinfo, "signgenrflag", "string", ds_temp_cond_list.getColumn(0, "ioflag"));
- dsf_makeValue( ds_send_signinfo, "formcd", "string", "0000002437");
-
- dsf_makeValue( ds_send_signinfo, "orddeptcd", "string", ds_temp_cond_list.getColumn(0, "orddeptcd"));
- dsf_makeValue( ds_send_signinfo, "orddrid", "string", ds_temp_cond_list.getColumn(0, "orddrid"));
- dsf_makeValue( ds_send_signinfo, "signbfcnts", "string", Sign.signedInfos[1]);
- dsf_makeValue( ds_send_signinfo, "signaftcnts", "string", Sign.signedInfos[2]);
- dsf_makeValue( ds_send_signinfo, "wardcd", "string", ds_temp_cond_list.getColumn(0, "wardcd"));
- dsf_makeValue( ds_send_signinfo, "roomcd", "string", ds_temp_cond_list.getColumn(0, "roomcd"));
- dsf_makeValue( ds_send_signinfo, "instcd", "string", ds_temp_cond_list.getColumn(0, "instcd"));
-
- ds_send_wardrecinfo.addColumn("spo", "string");
- ds_send_wardrecinfo.setColumn(0, "spo", ds_main_wardrecinfo.getColumn(0, "spo2"));
-
- var oParam = {};
- oParam.id = "TXMND00301";
- oParam.service = "wardcareapp.WardCareRec";
- oParam.method = "reqSetRecInfo";
- oParam.inds = "famyfact=ds_main_famyfact:A gnrlinfo=ds_send_wardrecinfo histinfo=ds_send_histinfo dialinfo=ds_send_wardrecinfo famyinfo=ds_send_famyinfo comparam=ds_send_comparam signinfo=ds_send_signinfo allginfo=ds_send_allginfo";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXMND00301";
- tranf_submit(oParam);
- }
- }
- function cf_TXMND00301(sSvcId, nErrorCode, sErrorMsg)
- {
- if(nErrorCode < 0)
- {
- sysf_messageBox("저장에 실패하였습니다", "E");
- return;
- }
- else
- {
- ds_send.setColumn(0, "wardrecinfo", ""); //model.setValue("/root/send/wardrecinfo", "");
- sysf_messageBox("저장이 ", "I001");
-
- dsf_makeValue( ds_hidden_paminfo_paminfo, "exeflag", "string", "U");
-
- fGetInitRecInfo(); //재조회
- fInitEvent();
- }
- }
- function fPatgnrlInfo(certFlag)
- {
- var userid = sysf_getUserId();
-
- ds_send_wardrecinfo.clearData();
-
- var pParam = new Object();
- pParam.cDataYN = "N";
- dsf_makeValue( ds_send_wardrecinfo, "basebdinfoinclyn", "string", ds_main_wardrecinfo.getColumn(0, "basebdinfoinclyn"));
- dsf_makeValue( ds_send_wardrecinfo, "lowbp", "string", ds_main_wardrecinfo.getColumn(0, "lowbp"));
- dsf_makeValue( ds_send_wardrecinfo, "highbp", "string", ds_main_wardrecinfo.getColumn(0, "highbp"));
- dsf_makeValue( ds_send_wardrecinfo, "pulse", "string", ds_main_wardrecinfo.getColumn(0, "pulse"));
- dsf_makeValue( ds_send_wardrecinfo, "breth", "string", ds_main_wardrecinfo.getColumn(0, "breth"));
- dsf_makeValue( ds_send_wardrecinfo, "bdtp", "string", ds_main_wardrecinfo.getColumn(0, "bdtp"));
- dsf_makeValue( ds_send_wardrecinfo, "bdtppartcd", "string", ds_main_wardrecinfo.getColumn(0, "bdtppartcd"));
- dsf_makeValue( ds_send_wardrecinfo, "bdht", "string", ds_main_wardrecinfo.getColumn(0, "bdht"));
- dsf_makeValue( ds_send_wardrecinfo, "bdwt", "string", ds_main_wardrecinfo.getColumn(0, "bdwt"));
- dsf_makeValue( ds_send_wardrecinfo, "bdbtype", "string", ds_main_wardrecinfo.getColumn(0, "bdbtype"));
- dsf_makeValue( ds_send_wardrecinfo, "bdbtyperh", "string", ds_main_wardrecinfo.getColumn(0, "bdbtyperh"));
- dsf_makeValue( ds_send_wardrecinfo, "jobcd", "string", ds_main_wardrecinfo.getColumn(0, "jobcd"));
- dsf_makeValue( ds_send_wardrecinfo, "jobnm", "string", ds_main_wardrecinfo.getColumn(0, "jobnm"));
- dsf_makeValue( ds_send_wardrecinfo, "educgrdecd", "string", ds_main_wardrecinfo.getColumn(0, "educgrdecd"));
- dsf_makeValue( ds_send_wardrecinfo, "educgrdenm", "string", ds_main_wardrecinfo.getColumn(0, "educgrdenm"));
- dsf_makeValue( ds_send_wardrecinfo, "religncd", "string", ds_main_wardrecinfo.getColumn(0, "religncd"));
- dsf_makeValue( ds_send_wardrecinfo, "relignnm", "string", ds_main_wardrecinfo.getColumn(0, "relignnm"));
- dsf_makeValue( ds_send_wardrecinfo, "marystatcd", "string", ds_main_wardrecinfo.getColumn(0, "marystatcd"));
- dsf_makeValue( ds_send_wardrecinfo, "marystatnm", "string", ds_main_wardrecinfo.getColumn(0, "marystatnm"));
- dsf_makeValue( ds_send_wardrecinfo, "baptnm", "string", ds_main_wardrecinfo.getColumn(0, "baptnm"));
- dsf_makeValue( ds_send_wardrecinfo, "famytree", "string", "");
-
- dsf_makeValue( ds_send_wardrecinfo, "spo", "string", ds_main_wardrecinfo.getColumn(0, "spo2"));
- dsf_makeValue( ds_send_wardrecinfo, "relignreq", "string", ds_main_wardrecinfo.getColumn(0, "relignreq"));
- dsf_makeValue( ds_send_wardrecinfo, "tel", "string", ds_main_wardrecinfo.getColumn(0, "tel"));
- dsf_makeValue( ds_send_wardrecinfo, "mphone", "string", ds_main_wardrecinfo.getColumn(0, "mphone"));
- dsf_makeValue( ds_send_wardrecinfo, "etcphone1", "string", ds_main_wardrecinfo.getColumn(0, "etcphone1"));
- dsf_makeValue( ds_send_wardrecinfo, "etcphone2", "string", ds_main_wardrecinfo.getColumn(0, "etcphone2"));
-
- dsf_makeValue( ds_send_wardrecinfo, "viralmarker", "string", ds_main_wardrecinfo.getColumn(0, "viralmarker"));
- dsf_makeValue( ds_send_wardrecinfo, "fstdialdd", "string", ds_main_wardrecinfo.getColumn(0, "fstdialdd"));
- dsf_makeValue( ds_send_wardrecinfo, "fstdialkind", "string", ds_main_wardrecinfo.getColumn(0, "fstdialkind"));
- dsf_makeValue( ds_send_wardrecinfo, "roomhospdialdd", "string", ds_main_wardrecinfo.getColumn(0, "roomhospdialdd"));
- dsf_makeValue( ds_send_wardrecinfo, "chosdd", "string", ds_main_wardrecinfo.getColumn(0, "chosdd"));
- dsf_makeValue( ds_send_wardrecinfo, "reqhosp", "string", ds_main_wardrecinfo.getColumn(0, "reqhosp"));
-
- ds_data_smokinfo.updatecontrol = false;
- ds_data_smokinfo.enableevent = false;
-
- if(!utlf_isNull(ds_data_smokinfo.getColumnInfo("dsvaluepath")))
- {
- ds_data_smokinfo.deleteColumn("dsvaluepath");
- }
-
- ds_data_smokinfo.updatecontrol = true;
- ds_data_smokinfo.enableevent = true;
-
- ds_data_drunkinfo.enableevent = false;
- ds_data_drunkinfo.updatecontrol = false;
-
- if(!utlf_isNull(ds_data_drunkinfo.getColumnInfo("dsvaluepath")))
- {
- ds_data_drunkinfo.deleteColumn("dsvaluepath");
- }
-
- ds_data_drunkinfo.updatecontrol = true;
- ds_data_drunkinfo.enableevent = true;
-
- if( !utlf_isNull(ds_data_gustofoodinfo.getColumnInfo("dsvaluepath")))
- {
- ds_data_gustofoodinfo.enableevent = false;
- ds_data_gustofoodinfo.updatecontrol = false;
- ds_data_gustofoodinfo.deleteColumn("dsvaluepath");
- ds_data_gustofoodinfo.updatecontrol = true;
- ds_data_gustofoodinfo.enableevent = true;
- }
-
- if( !utlf_isNull(ds_data_tnsseffcinfo.getColumnInfo("dsvaluepath")))
- {
- ds_data_tnsseffcinfo.enableevent = false;
- ds_data_tnsseffcinfo.updatecontrol = false;
- ds_data_tnsseffcinfo.deleteColumn("dsvaluepath");
- ds_data_tnsseffcinfo.updatecontrol = true;
- ds_data_tnsseffcinfo.enableevent = true;
- }
-
- sParamObjArr = [{ds: "ds_data_smokinfo", path:"/gusto/smokinfo", filter: ""},
- {ds: "ds_data_drunkinfo", path:"/gusto/drunkinfo", filter: ""},
- {ds: "ds_data_gustofoodinfo", path:"/gusto/gustofoodinfo", filter: ""},
- {ds: "ds_data_tnsseffcinfo", path:"/gusto/tnsseffcinfo", filter: ""}];
-
- DataSet_XMLChangeName = lf_convertDsToXml(sParamObjArr,"<gusto><smokinfo><smokinfoyn/><bfsmokinfoyn/><nosmokcnstyn/><nosmokcnst/><nosmokcnstnm/><smokinfocnt/></smokinfo><drunkinfo><drunkinfoyn/><drunkinfokind/><drunkinfoterm/></drunkinfo><gustofoodinfo><gustofoodyn/><gustofooddetl/></gustofoodinfo><tnsseffcinfo><tnsseffcyn/><tnsseffcdetl/></tnsseffcinfo></gusto>", pParam);
- dsf_makeValue(ds_send_wardrecinfo, "gustoinfo", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_pasthist1,
- ds_data_pasthist2,
- "ds_data_pasthist1",
- "ds_data_pasthist2",
- "pasthistinclyn",
- "pasthistcms",
- "pasthist1",
- "pasthist1/pasthistcms",
- "<pasthist1><pasthistinclyn/><pasthistcms><genrdd/><histspec/><remfact/></pasthistcms></pasthist1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("pasthistcms","pasthist");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("pasthist1","pasthist");
- dsf_makeValue(ds_send_histinfo, "pasthistinfo", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_famyhist1,
- ds_data_famyhist2,
- "ds_data_famyhist1",
- "ds_send_famyhist",
- "famyhistinclyn",
- "famyhistcms",
- "famyhist1",
- "famyhist1/famyhistcms",
- "<famyhist1><famyhistinclyn/><famyhistcms><famyrel/><existyn/><histspec/><remfact/></famyhistcms></famyhist1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("famyhistcms","famyhist");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("famyhist1","famyhist");
- dsf_makeValue(ds_send_histinfo, "famyhistinfo", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_inhist1,
- ds_data_inhist2,
- "ds_data_inhist1",
- "ds_data_inhist2",
- "inhistinclyn",
- "inhistcms",
- "inhist1",
- "inhist1/inhistcms",
- "<inhist1><inhistinclyn/><inhistcms><indd/><dschdd/><illnm/><orddept/><inhistpk/></inhistcms></inhist1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("inhistcms","inhist");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("inhist1","inhist");
- dsf_makeValue(ds_send_histinfo, "inhistinfo", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_ophist1,
- ds_data_ophist2,
- "ds_data_ophist1",
- "ds_data_ophist2",
- "ophistinclyn",
- "ophistcms",
- "ophist1",
- "ophist1/ophistcms",
- "<ophist1><ophistinclyn/><ophistcms><opdd/><opnm/><orddept/><ophistpk/></ophistcms></ophist1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("ophistcms","ophist");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("ophist1","ophist");
- dsf_makeValue(ds_send_histinfo, "ophistinfo", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_rectmedistat1,
- ds_data_rectmedistat2,
- "ds_data_rectmedistat1",
- "ds_data_rectmedistat2",
- "rectmedistatinfoinclyn",
- "rectmedistatcms",
- "rectmedistat1",
- "rectmedistat1/rectmedistatcms",
- "<rectmedistat1><rectmedistatinfoinclyn/><antibiodrugyn/><rectmedistatcms><drugnm/><direc/><orddept/></rectmedistatcms></rectmedistat1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("rectmedistatcms","rectmedistat");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("rectmedistat1","rectmedistat");
- dsf_makeValue(ds_send_histinfo, "rectmedistatinfo", "string", DataSet_XMLChangeName);
-
- ds_data_allghist1.enableevent = false;
- ds_data_allghist1.updatecontrol = false;
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("genrdd")))
- {
- ds_data_allghist1.deleteColumn("genrdd");
- }
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("flag")))
- {
- ds_data_allghist1.deleteColumn("flag");
- }
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("allergespec")))
- {
- ds_data_allghist1.deleteColumn("allergespec");
- }
-
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("tnsseffcyn")))
- {
- ds_data_allghist1.deleteColumn("tnsseffcyn");
- }
-
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("tnsseffcdetl")))
- {
- ds_data_allghist1.deleteColumn("tnsseffcdetl");
- }
-
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("hosoutyn")))
- {
- ds_data_allghist1.deleteColumn("hosoutyn");
- }
-
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("comclscd")))
- {
- ds_data_allghist1.deleteColumn("comclscd");
- }
-
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("drugcd")))
- {
- ds_data_allghist1.deleteColumn("drugcd");
- }
-
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("drugnm")))
- {
- ds_data_allghist1.deleteColumn("drugnm");
- }
-
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("symp")))
- {
- ds_data_allghist1.deleteColumn("symp");
- }
-
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("rgstdt")))
- {
- ds_data_allghist1.deleteColumn("rgstdt");
- }
-
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("rgster")))
- {
- ds_data_allghist1.deleteColumn("rgster");
- }
-
- if(!utlf_isNull(ds_data_allghist1.getColumnInfo("cretno")))
- {
- ds_data_allghist1.deleteColumn("cretno");
- }
-
- ds_data_allghist1.updatecontrol = true;
- ds_data_allghist1.enableevent = true;
-
- ds_data_allghist2.enableevent = false;
- ds_data_allghist2.updatecontrol = false;
- if(!utlf_isNull(ds_data_allghist2.getColumnInfo("allghistinclyn")))
- {
- ds_data_allghist2.deleteColumn("allghistinclyn");
- }
-
- if(!utlf_isNull(ds_data_allghist2.getColumnInfo("tnsseffcyn")))
- {
- ds_data_allghist2.deleteColumn("tnsseffcyn");
- }
-
- if(!utlf_isNull(ds_data_allghist2.getColumnInfo("tnsseffcdetl")))
- {
- ds_data_allghist2.deleteColumn("tnsseffcdetl");
- }
-
- // 알러지
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_allghist1,
- ds_data_allghist2,
- "ds_data_allghist1",
- "ds_data_allghist2",
- "allghistinclyn",
- "allghistcms",
- "allghist1",
- "allghist1/allghistcms",
- "<allghist1><allghistinclyn/><allghistcms><genrdd/><flag/><allergespec/><hosoutyn/><comclscd/><drugcd/><drugnm/><symp/><rgstdt/><rgster/><cretno/></allghistcms></allghist1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("allghistcms","allghist");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("allghist1","allghist");
- dsf_makeValue(ds_send_histinfo, "allghistinfo", "string", DataSet_XMLChangeName);
- // <allghist><allghistinclyn/><allghist><genrdd/><flag/><allergespec/><hosoutyn/><comclscd/><drugcd/><drugnm/><symp/><rgstdt/><rgster/><cretno/></allghist><tnsseffcyn/><tnsseffcdetl/></allghist>
- // <allghist><allghistinclyn>2</allghistinclyn><allghist><genrdd/><flag/><allergespec>음식 : 복숭아</allergespec><hosoutyn/><comclscd/><drugcd/><drugnm/><symp/><rgstdt/><rgster/><cretno/></allghist><tnsseffcyn>1</tnsseffcyn><tnsseffcdetl/></allghist>
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_data_vacnhist,
- "ds_data_vacnhist",
- "vacnhist",
- "<vacnhist><vacnhistinfoinclyn/><dpttims/><infparaltims/><ahptstims/><bhptstims/><bhptsdrugnm/><bcgyn/><mmrtims/><alivvacntims/><deadvaccntims/><brnmeningitistims/><lungcoccustims/><chickenpoxtims/><vacnchecketc/><vacncheckyn/><vacnchecketc/></vacnhist>");
- dsf_makeValue(ds_send_histinfo, "vacnhistinfo", "string", DataSet_XMLChangeName); //DataSet_XMLChange()
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_data_smok,
- "ds_data_smok",
- "smok",
- "<smok><smokinclyn/><smok><dosetoday/><term/></smok></smok>");
- dsf_makeValue(ds_send_histinfo, "smokinfo", "string", DataSet_XMLChangeName);
-
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_data_drunk,
- "ds_data_drunk",
- "drunk",
- "<drunk><drunkinclyn/><drunkinfo><kind/><dose/><tims/><term/></drunkinfo></drunk>");
- dsf_makeValue(ds_send_histinfo, "drunkinfo", "string", DataSet_XMLChangeName);
-
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_data_gustofood,
- "ds_data_gustofood",
- "gustofood",
- "<gustofood><gustofoodinclyn/><gustofood><kind/><dose/><tims/><term/></gustofood></gustofood>");
- dsf_makeValue(ds_send_histinfo, "gustofoodinfo", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_data_tnsseffc,
- "ds_data_tnsseffc",
- "tnsseffc",
- "<tnsseffc><tnsseffcinclyn/><tnsseffc><tnsyn/><tnsdetl/></tnsseffc></tnsseffc>");
- dsf_makeValue(ds_send_histinfo, "tnsseffcinfo", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_data_bodyases,
- "ds_data_bodyases",
- "bodyases",
- "<bodyases><soulstat/><comustat/><emotstat/><emotstatnm/></bodyases>");
- dsf_makeValue(ds_send_wardrecinfo, "bodyases", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_data_dialcomn,
- "ds_data_dialcomn",
- "dialcomn",
- "<dialcomn><chosresn/><cassickkind/><kidnfaluryn/><medigrant/><healcntrprofitkind/><economystat/><cassick/><healcntrprofit/></dialcomn>");
- dsf_makeValue(ds_send_wardrecinfo, "dialcomninfoetc", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_dialcarer1,
- ds_data_dialcarer2,
- "ds_data_dialcarer1",
- "ds_data_dialcarer2",
- "dialcareinclyn",
- "dialcarercms",
- "dialcarer1",
- "dialcarer1/dialcarercms",
- "<dialcarer1><dialcareinclyn/><dialcarercms><dialkind/><fstdd/><enddd/><remfact/></dialcarercms></dialcarer1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("dialcarercms","dialcarer");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("dialcarer1","dialcarer");
- dsf_makeValue(ds_send_wardrecinfo, "dialcarer", "string", DataSet_XMLChangeName);
-
- // DataSet_XMLChangeName = "";
- // DataSet_XMLChangeName = DataSet_XMLChange( ds_data_dialcarer2,
- // "ds_data_dialcarer2",
- // "dialcarer",
- // "<dialcarer><dialkind/><fstdd/><enddd/><remfact/></dialcarer>");
- // dsf_makeValue(ds_send_wardrecinfo, "dialcarer", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_data_trans,
- "ds_data_trans",
- "trans",
- "<trans><kidntransinclyn/><selfstat/><rgstdd/><rgsthosp/><possresn/><impsiresn/><possresnetc/></trans>");
- dsf_makeValue(ds_send_wardrecinfo, "trans", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_data_selfcare,
- "ds_data_selfcare",
- "selfcare",
- "<selfcare><selfcareyn/><helpdnor/><resn/></selfcare>");
- dsf_makeValue(ds_send_wardrecinfo, "selfcareinfo", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_data_rgstdial,
- "ds_data_rgstdial",
- "rgstdial",
- "<rgstdial><rgstdialinfoinclyn/><dialkind/><veslkind/><vesltype/></rgstdial>");
- dsf_makeValue(ds_send_wardrecinfo, "rgstdialinfo", "string", DataSet_XMLChangeName);
-
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange( ds_data_progrec,
- "ds_data_progrec",
- "progrec",
- "<progrec><progrecinclyn/><progrec/></progrec>");
- dsf_makeValue(ds_send_wardrecinfo, "progrec", "string", DataSet_XMLChangeName);
-
-
-
- if(ds_data_allghist2.rowcount > 0)
- {
- if(allgInsYN == "Y")
- {
- ds_data_allghist2.updatecontrol = false;
- ds_data_allghist2.setRowType(0, "i");
- ds_data_allghist2.updatecontrol = true;
- }
- }
-
- var grddata = grdf_getGridUpdateData(switch1.case2.import4.grd_allghist, "all");
- grdf_setStatusColumn(grddata, "m");
- ds_send_allginfo.copyData(grddata);
-
- var ioflag = ds_temp_cond_list.getColumn(0, "ioflag");
- dsf_makeValue( ds_send_wardrecinfo, "pid", "string", ds_temp_cond_list.getColumn(0, "pid"));
-
- if(ioflag == "O")
- {
- dsf_makeValue( ds_send_wardrecinfo, "indd", "string", ds_temp_cond_list.getColumn(0, "orddd"));
- dsf_makeValue(ds_send_famyinfo, "indd", "string", ds_temp_cond_list.getColumn(0, "orddd"));
- dsf_makeValue(ds_send_comparam, "indd", "string", ds_temp_cond_list.getColumn(0, "orddd"));
- }
- else
- {
- dsf_makeValue(ds_send_wardrecinfo, "indd", "string", ds_temp_cond_list.getColumn(0, "indd"));
- dsf_makeValue(ds_send_famyinfo, "indd", "string", ds_temp_cond_list.getColumn(0, "indd"));
- dsf_makeValue(ds_send_comparam, "indd", "string", ds_temp_cond_list.getColumn(0, "indd"));
- }
-
- dsf_makeValue(ds_send_famyinfo, "pid", "string", ds_temp_cond_list.getColumn(0, "pid"));
- dsf_makeValue(ds_send_famyinfo, "instcd", "string", ds_temp_cond_list.getColumn(0, "instcd"));
- dsf_makeValue(ds_send_famyinfo, "deptcd", "string", ds_temp_cond_list.getColumn(0, "orddeptcd"));
- dsf_makeValue(ds_send_famyinfo, "docucode", "string", "0000002437");
- dsf_makeValue(ds_send_famyinfo, "genogrmnm", "string", "");
-
- dsf_makeValue(ds_send_comparam, "userid", "string", sysf_getUserId());
- dsf_makeValue(ds_send_comparam, "pid", "string", ds_temp_cond_list.getColumn(0, "pid"));
- dsf_makeValue(ds_send_comparam, "instcd", "string", ds_temp_cond_list.getColumn(0, "instcd"));
- dsf_makeValue(ds_send_comparam, "exeflag", "string", ds_hidden_paminfo_paminfo.getColumn(0, "exeflag"));
- dsf_makeValue(ds_send_comparam, "certflag", "string", certFlag);
- dsf_makeValue(ds_send_comparam, "recflag", "string", "08");
-
- dsf_makeValue( ds_send_wardrecinfo, "infooffer", "string", ds_main_wardrecinfo.getColumn(0, "infooffer"));
- dsf_makeValue( ds_send_wardrecinfo, "recdd", "string", utlf_transEmptyToNull(ds_main_wardrecinfo.getColumn(0, "recdd")));
- dsf_makeValue( ds_send_wardrecinfo, "rectm", "string", utlf_transEmptyToNull(ds_main_wardrecinfo.getColumn(0, "rectm")));
- dsf_makeValue( ds_send_wardrecinfo, "recdt", "string", utlf_transEmptyToNull(ds_main_wardrecinfo.getColumn(0, "recdd")) + utlf_transEmptyToNull(ds_main_wardrecinfo.getColumn(0, "rectm")));
- }
- function DataSet_XMLChange(DataSet, DataSetName, pathName, ds_infectspec_XML)
- {
- var ds_infectspec_XML_RSLT;
- var bolDel = false;
- var pParam = new Object();
- pParam.cDataYN = "N";
- if(bolsign == true)
- {
- pParam.nullNodeYN = "N";
- }
-
- DataSet.enableevent = false;
- DataSet.updatecontrol = false;
- if(!utlf_isNull(DataSet.getColumnInfo("dsvaluepath")))
- {
- DataSet.deleteColumn("dsvaluepath");
- }
- DataSet.updatecontrol = true;
- DataSet.enableevent = true;
-
- for(var i = 0; i < DataSet.rowcount ;i++)
- {
- for(var j = 0; j < DataSet.colcount ;j++)
- {
- if(!utlf_isNull(DataSet.getColumn(i, j)))
- {
- bolDel = true;
- }
- }
- if(bolDel == false)
- {
- DataSet.deleteRow(i);
- i--;
- }
- bolDel = false;
- }
-
- sParamObjArr = [{ds: DataSetName, path:pathName, filter: ""}];
- ds_infectspec_XML_RSLT= lf_convertDsToXml(sParamObjArr,ds_infectspec_XML, pParam);
- return ds_infectspec_XML_RSLT;
- }
- function fChkInclYN()
- {
- var pasthistyn = ds_data_pasthist1.getColumn(0, "pasthistinclyn");
- var famyhistyn = ds_data_famyhist1.getColumn(0, "famyhistinclyn");
- var inhistyn = ds_data_inhist1.getColumn(0, "inhistinclyn");
- var ophistyn = ds_data_ophist1.getColumn(0, "ophistinclyn");
- var rectmedistatyn = ds_data_rectmedistat1.getColumn(0, "rectmedistatinfoinclyn");
- var allhistinclyn = ds_data_allghist1.getColumn(0, "allghistinclyn");
- var vacnhistinclyn = ds_data_vacnhist.getColumn(0, "vacnhistinfoinclyn");
- var smokinclyn = ds_data_smok1.getColumn(0, "smokinclyn");
- var drunkinclyn = ds_data_drunk1.getColumn(0, "drunkinclyn");
- var gustofoodinclyn = ds_data_gustofood1.getColumn(0, "gustofoodinclyn");
- var tnsseffcinfoyn = ds_data_tnsseffc1.getColumn(0, "tnsseffcinclyn");
- if(pasthistyn == "1")
- {
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_pasthist1,
- ds_data_pasthist2,
- "ds_data_pasthist1",
- "ds_data_pasthist2",
- "pasthistinclyn",
- "pasthistcms",
- "pasthist1",
- "pasthist1/pasthistcms",
- "<pasthist1><pasthistinclyn/><pasthistcms><genrdd/><histspec/><remfact/></pasthistcms></pasthist1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("pasthistcms","pasthist");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("pasthist1","pasthist");
- dsf_makeValue(ds_send_wardrecinfo, "pasthistinfo", "string", DataSet_XMLChangeName);
- }
- else
- {
- DataSet_XMLChangeName = "";
- DataSet_XMLChangeName = DataSet_XMLChange2( ds_data_pasthist1,
- ds_data_pasthist2,
- "ds_data_pasthist1",
- "ds_data_pasthist2",
- "pasthistinclyn",
- "pasthistcms",
- "pasthist1",
- "pasthist1/pasthistcms",
- "<pasthist1><pasthistinclyn/><pasthistcms><genrdd/><histspec/><remfact/></pasthistcms></pasthist1>");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("pasthistcms","pasthist");
- DataSet_XMLChangeName = DataSet_XMLChangeName.replace("pasthist1","pasthist");
- dsf_makeValue(ds_send_wardrecinfo, "pasthistinfo", "string", DataSet_XMLChangeName);
- }
-
- if(famyhistyn == "1")
- {
- dsf_makeValue( ds_send_wardrecinfo, "famyhistinfo", "string", fGetXmlToStr("/root/hidden/histinfo/famyhistinfo/famyhist"));
- }
- else
- {
- dsf_makeValue( ds_send_wardrecinfo, "famyhistinfo", "string", fGetXmlToStr("/root/hidden/histinfo/famyhistinfo/famyhist"));
- }
-
- if(inhistyn == "1")
- {
- model.makeValue("/root/send/wardrecinfo/inhistinfo", fGetXmlToStr("/root/hidden/histinfo/inhistinfo/inhist"));
- }
- else
- {
- model.makeValue("/root/send/wardrecinfo/inhistinfo", fGetXmlToStr("/root/main/histinfo/inhistinfo/inhist"));
- }
-
- if(ophistyn == "1")
- {
- model.makeValue("/root/send/wardrecinfo/ophistinfo", fGetXmlToStr("/root/hidden/histinfo/ophistinfo/ophist"));
- }
- else
- {
- model.makeValue("/root/send/wardrecinfo/ophistinfo", fGetXmlToStr("/root/main/histinfo/ophistinfo/ophist"));
- }
-
- if(rectmedistatyn == "1")
- {
- model.makeValue("/root/send/wardrecinfo/rectmedistatinfo", fGetXmlToStr("/root/hidden/histinfo/rectmedistatinfo/rectmedistat"));
- }
- else
- {
- model.makeValue("/root/send/wardrecinfo/rectmedistatinfo", fGetXmlToStr("/root/main/histinfo/rectmedistatinfo/rectmedistat"));
- }
-
- if(allhistinclyn == "1")
- {
- model.makeValue("/root/send/wardrecinfo/allghistinfo", fGetXmlToStr("/root/hidden/histinfo/allghistinfo/allghist"));
- }
- else
- {
- model.makeValue("/root/send/wardrecinfo/allghistinfo", fGetXmlToStr("/root/main/histinfo/allghistinfo/allghist"));
- }
- // model.makeValue("/root/send/wardrecinfo/vacnhistinfo", fGetXmlToStr("/root/main/histinfo/vacnhistinfo/vacnhist"));
- // model.makeValue("/root/send/wardrecinfo/smokinfo", fGetXmlToStr("/root/main/histinfo/smokinfo/smok"));
- // model.makeValue("/root/send/wardrecinfo/drunkinfo", fGetXmlToStr("/root/main/histinfo/drunkinfo/drunk"));
- // model.makeValue("/root/send/wardrecinfo/gustofoodinfo", fGetXmlToStr("/root/main/histinfo/gustofoodinfo/gustofood"));
- // model.makeValue("/root/send/wardrecinfo/tnsseffcinfo", fGetXmlToStr("/root/main/histinfo/tnsseffcinfo/tnsseffc"));
- }
- function grdDateType(dataName, colName, colIndex, grdName)
- {
- var i = 0;
- var boltype = false;
- var bolNull = false;
- var Expr = "EXPR("
-
- if(dataName.rowcount > 0)
- {
- for(i = 0; i < dataName.rowcount; i++)
- {
- if(utlf_transNullToEmpty(dataName.getColumn(i, colName)).isNumber() == true && dataName.getColumn(i, colName).length == 8)
- {
- Expr += "currow == " + i + " ? 'date' : ";
- boltype = true;
- }
- if(!utlf_isNull(dataName.getColumn(i, colName)))
- {
- bolNull = true;
- }
- }
- if(bolNull == false)
- {
- grdName.setCellProperty("Body", colIndex, "displaytype", "normal");
- }
-
- if(boltype == true)
- {
- Expr += "'normal')";
- grdName.setCellProperty("Body", colIndex, "displaytype", Expr);
- }
- }
- else
- {
- grdName.setCellProperty("Body", colIndex, "displaytype", "normal");
- }
- }
- function fChgRecHistInfo()
- {
- var recpkspec = String(ds_main_wardrecinfo.getColumn(0, "bfrecddtm")).split("|");
-
- var bfrecpid = recpkspec[0];
- var bfrecindd = recpkspec[1];
- var bfreccretno = recpkspec[2];
- var bfrecflag = recpkspec[3];
- var bfrecinstcd = recpkspec[4];
- ds_send_req.clearData();
- ds_send_req.addRow();
-
- dsf_makeValue( ds_send_req, "pid", "string", bfrecpid, 0);
- dsf_makeValue( ds_send_req, "indd", "string", bfrecindd, 0);
- dsf_makeValue( ds_send_req, "cretno", "string", bfreccretno, 0);
- dsf_makeValue( ds_send_req, "instcd", "string", bfrecinstcd, 0);
- dsf_makeValue( ds_send_req, "recflag", "string", bfrecflag, 0);
-
- var oParam = {};
- oParam.id = "TRMND00302";
- oParam.service = "wardcareapp.WardCareRec";
- oParam.method = "reqGetAllRecInfo";
- oParam.inds = "reqlist=ds_send_req";
- oParam.outds = "ds_main_famyfact=famyfact ds_main_histinfo=histinfo ds_main_wardrecinfo=wardrecinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRMND00302";
- tranf_submit(oParam);
-
- dsf_makeValue( ds_main_wardrecinfo, "bfrecddtm", "string", "", 0);
-
- cmb_bfrecddtm.index = 0;
-
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "famytree"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "gustoinfo"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "bodyases"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "dialcomninfoetc"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "dialcarer"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "trans"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "selfcareinfo"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "rgstdialinfo"));
- convertXmlToDsNull(ds_main_wardrecinfo.getColumn(0, "progrec"));
-
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "pasthistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "famyhistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "inhistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "ophistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "allghistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "vacnhistinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "rectmedistatinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "smokinfo"));
- //convertXmlToDsNull(ds_main_histinfo.getColumn(0, "drunkinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "gustofoodinfo"));
- convertXmlToDsNull(ds_main_histinfo.getColumn(0, "tnsseffcinfo"));
-
- dsf_setDefaultVal(ds_data_drunkinfo, "drunkinfoyn:1");
-
- filterDs(ds_data_dialcarer, ds_data_dialcarer1, ds_data_dialcarer2, "/dialcarer", "/dialcarer/dialcarer");
- filterDs(ds_data_famyhist, ds_data_famyhist1, ds_data_famyhist2, "/famyhist", "/famyhist/famyhist");
- filterDs(ds_data_inhist, ds_data_inhist1, ds_data_inhist2, "/inhist", "/inhist/inhist");
- filterDs(ds_data_ophist, ds_data_ophist1, ds_data_ophist2, "/ophist", "/ophist/ophist");
- filterDs(ds_data_allghist, ds_data_allghist1, ds_data_allghist2, "/allghist", "/allghist/allghist");
- filterDs(ds_data_pasthist, ds_data_pasthist1, ds_data_pasthist2, "/pasthist", "/pasthist/pasthist");
- filterDs(ds_data_smok, ds_data_smok1, ds_data_smok2, "/smok", "/smok/smok");
- //filterDs(ds_data_drunkinfo, ds_data_drunk1, ds_data_drunk2, "/drunk", "/drunk/drunk");
- filterDs(ds_data_gustofood, ds_data_gustofood1, ds_data_gustofood2, "/gustofood", "/gustofood/gustofood");
- filterDs(ds_data_tnsseffc, ds_data_tnsseffc1, ds_data_tnsseffc2, "/tnsseffc", "/tnsseffc/tnsseffc");
- filterDs(ds_data_rectmedistat, ds_data_rectmedistat1, ds_data_rectmedistat2, "/rectmedistat", "/rectmedistat/rectmedistat");
- filterDs(ds_data_gustofood, ds_data_gustofood1, ds_data_gustofood2, "/gustofood", "/gustofood/gustofood");
- filterDs(ds_data_tnsseffc, ds_data_tnsseffc1, ds_data_tnsseffc2, "/tnsseffc", "/tnsseffc/tnsseffc");
-
- if(!utlf_isNull(ds_data_pasthist2.getColumnInfo("genrdd")))
- {
- grdDateType(ds_data_pasthist2, "genrdd", 0, switch1.case2.import4.grd_pasthist);
- }
- if(!utlf_isNull(ds_data_inhist2.getColumnInfo("indd")))
- {
- grdDateType(ds_data_inhist2, "indd", 0, switch1.case2.import4.grd_inhist);
- }
- if(!utlf_isNull(ds_data_ophist2.getColumnInfo("opdd")))
- {
- grdDateType(ds_data_ophist2, "opdd", 0, switch1.case2.import4.grd_ophist);
- }
- if(!utlf_isNull(ds_data_allghist2.getColumnInfo("genrdd")))
- {
- grdDateType(ds_data_allghist2, "genrdd", 0, switch1.case2.import4.grd_allghist);
- }
-
- SetchkList();
- //frmf_setParameter("SPMMR04711_shape", ds_hidden_wardrecinfo.getColumn(0, "genogrmnm")); //fGetXmlToStr("ds_main_wardrecinfo_genogrmnm_XMD"));
- }
- function cmb_bfrecddtm_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var index = cmb_bfrecddtm.index;
-
- clearDataSet();
- DasetAddRow();
-
- fChgRecHistInfo();
-
- dsf_makeValue(ds_main_wardrecinfo, "bfrecddtm", "string", ds_hidden_paminfo_recinfo.getColumn(index, "recpkspec"));
-
- grp_patinfo.caption1.text = utlf_transNullToEmpty(ds_temp_cond_list.getColumn(0, "roomcd"));
- grp_patinfo.caption2.text = utlf_transNullToEmpty(ds_temp_cond_list.getColumn(0, "hngnm"));
- grp_patinfo.caption4.text = utlf_transNullToEmpty(ds_temp_cond_list.getColumn(0, "sex"));
- grp_patinfo.caption7.text = utlf_transNullToEmpty(ds_temp_cond_list.getColumn(0, "age"));
-
- fInitEvent();
- fMNWCareComFstdtSet( "01", "SRCH" );//recflag : 간호정보조사 플래그 CareCom.js 간호정보조사 최초기록일시 및 사용자 세팅
- }
- function ds_data_ophist2_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- grdDateType(ds_data_ophist2, "opdd", 0, group3.switch1.case1.import1.grd_ophist);
- }
- function ds_data_inhist2_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- grdDateType(ds_data_inhist2, "indd", 0, group3.switch1.case1.import1.grd_inhist);
- grdDateType(ds_data_inhist2, "dschdd", 1, group3.switch1.case1.import1.grd_inhist);
- }]]></Script>
- </Form>
- </FDL>
|