SMMNW08010_NEW소아정보.xfdl 106 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMNW08010" position="absolute 0 0 1194 673" titletext="소아정보" oninit="SMMNW08010_oninit" onload="SMMNW08010_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape position="absolute 402 213 792 219" linetype="horizontal" id="line57" class="line_2"/>
  8. <Shape position="absolute 402 186 792 192" linetype="horizontal" id="line27" class="line_2"/>
  9. <Shape position="absolute 402 138 792 144" linetype="horizontal" id="line21" class="line_2"/>
  10. <Static text="보호자 연락처" position="absolute 5 454 109 471" id="caption7" class="tit_2"/>
  11. <Shape position="absolute 5 470 396 476" linetype="horizontal" id="line6" class="line_10"/>
  12. <Static text="일반 및 입원정보" position="absolute 5 10 138 27" id="caption10" class="tit_2"/>
  13. <Shape position="absolute 5 26 396 32" linetype="horizontal" id="line9" class="line_10"/>
  14. <Shape position="absolute 5 49 396 55" linetype="horizontal" id="line10" class="line_2"/>
  15. <Shape position="absolute 5 71 396 77" linetype="horizontal" id="line11" class="line_2"/>
  16. <Shape position="absolute 5 93 396 99" linetype="horizontal" id="line12" class="line_2"/>
  17. <Static text="입원일자" position="absolute 5 31 105 52" id="cap_indd" class="cell_1"/>
  18. <Shape position="absolute 5 138 396 144" linetype="horizontal" id="line14" class="line_10"/>
  19. <Static text="입원동기와 병에 대한 인식" position="absolute 5 122 194 139" id="caption16" class="tit_2"/>
  20. <Radio position="absolute 169 169 299 185" id="rdo_inmotv" taborder="28" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
  21. <Dataset id="innerdataset">
  22. <ColumnInfo>
  23. <Column id="codecolumn"/>
  24. <Column id="datacolumn"/>
  25. </ColumnInfo>
  26. <Rows>
  27. <Row>
  28. <Col id="codecolumn">Y</Col>
  29. <Col id="datacolumn">자의</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">N</Col>
  33. <Col id="datacolumn">타의</Col>
  34. </Row>
  35. </Rows>
  36. </Dataset>
  37. </Radio>
  38. <Shape position="absolute 5 162 396 168" linetype="horizontal" id="line16" class="line_2"/>
  39. <TextArea position="absolute 90 192 396 228" id="tar_inmotv" taborder="29" wordwrap="word" style="background:#ffe4b5ff stretch 5,5;border:1 solid #bac1c6ff ;"/>
  40. <Shape position="absolute 86 187 396 193" linetype="horizontal" id="line17" class="line_2"/>
  41. <Shape position="absolute 5 228 396 234" linetype="horizontal" id="line18" class="line_2"/>
  42. <Radio position="absolute 169 234 300 251" id="rdo_illnessflag" taborder="30" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn">
  43. <Dataset id="innerdataset">
  44. <ColumnInfo>
  45. <Column id="codecolumn"/>
  46. <Column id="datacolumn"/>
  47. </ColumnInfo>
  48. <Rows>
  49. <Row>
  50. <Col id="codecolumn">N</Col>
  51. <Col id="datacolumn">무</Col>
  52. </Row>
  53. <Row>
  54. <Col id="codecolumn">Y</Col>
  55. <Col id="datacolumn">유</Col>
  56. </Row>
  57. </Rows>
  58. </Dataset>
  59. </Radio>
  60. <MaskEdit position="absolute 255 143 396 162" align="align:center middle;" id="ipt_attackdt" class="input_default" taborder="27" mask="##:##" type="string" style="align:center middle;" maskchar=" " autoselect="true" displaynulltext=" " ontextchange="ipt_attackdt_ontextchange"/>
  61. <Static text="병에대한인식" position="absolute 5 232 88 255" align="align:center middle;" id="caption29" class="cell_1"/>
  62. <Calendar position="absolute 90 143 254 162" id="ipt_attackdd" class="input_default" taborder="26" autoselect="true"/>
  63. <Static text="입원동기" position="absolute 5 166 88 231" align="align:center middle;" id="caption27" class="cell_1"/>
  64. <Shape position="absolute 401 113 792 119" linetype="horizontal" id="line33" class="line_10"/>
  65. <Shape position="absolute 402 162 792 168" linetype="horizontal" id="line35" class="line_2"/>
  66. <Static text="출생정보" position="absolute 401 97 505 113" id="caption42" class="tit_2"/>
  67. <Static text="부모정보" position="absolute 5 556 109 572" id="caption5" class="tit_2"/>
  68. <Shape position="absolute 5 572 396 578" linetype="horizontal" id="line4" class="line_10"/>
  69. <Combo position="absolute 191 577 292 596" id="cmb_mthrjobcd" class="combo_default" taborder="7" innerdataset="ds_init_mlist_M0068" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_mthrjobcd_onitemchanged" style="itemheight:15;"/>
  70. <Combo position="absolute 191 599 292 618" id="cmb_mthrgrdecd" class="combo_default" taborder="9" innerdataset="ds_init_mlist_M0069" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_mthrgrdecd_onitemchanged" style="itemheight:15;"/>
  71. <Combo position="absolute 191 621 292 640" id="cmb_fthrjobcd" class="combo_default" taborder="11" innerdataset="ds_init_mlist_M0068" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_fthrjobcd_onitemchanged" style="itemheight:15;"/>
  72. <Shape position="absolute 5 595 396 601" linetype="horizontal" id="line42" class="line_2"/>
  73. <Shape position="absolute 5 617 396 623" linetype="horizontal" id="line43" class="line_2"/>
  74. <Static text="직업" position="absolute 88 577 188 598" id="caption54" class="cell_1"/>
  75. <Static text="교육정도" position="absolute 88 599 188 620" id="caption55" class="cell_1"/>
  76. <Shape position="absolute 5 639 396 645" linetype="horizontal" id="line45" class="line_2"/>
  77. <Static text="직업" position="absolute 88 621 188 642" id="caption56" class="cell_1"/>
  78. <Static text="아버지" position="absolute 5 621 87 664" id="caption58" class="cell_1"/>
  79. <Static text="교육정도" position="absolute 88 643 188 664" id="caption59" class="cell_1"/>
  80. <Shape position="absolute 5 661 395 667" linetype="horizontal" id="line44" class="line_3"/>
  81. <Shape position="absolute 401 278 792 284" linetype="horizontal" id="line32" class="line_10"/>
  82. <Static text="예방접종력" position="absolute 401 262 505 280" id="caption40" class="tit_2"/>
  83. <Calendar position="absolute 108 31 208 50" id="ipt_indd" class="input_default" taborder="18" readonly="false" enable="false"/>
  84. <MaskEdit position="absolute 295 31 395 50" align="align:center middle;" id="ipt_indt" taborder="19" mask="##:##" type="string" style="align:center middle;" maskchar=" " autoselect="true" displaynulltext=" " ontextchange="ipt_indt_ontextchange"/>
  85. <Static text="입원시간" position="absolute 211 31 293 52" id="cap_indt" class="cell_1"/>
  86. <Static text="입원경로" position="absolute 5 53 105 74" id="cap_inpath" class="cell_1"/>
  87. <Static text="입원방법" position="absolute 5 75 105 96" id="cap_inmthd" class="cell_1"/>
  88. <Static text="입원시동반자" position="absolute 5 97 105 118" id="cap_inptner" class="cell_1"/>
  89. <Combo position="absolute 191 643 292 662" id="cmb_fthrgrdecd" class="combo_default" taborder="13" innerdataset="ds_init_mlist_M0069" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_fthrgrdecd_onitemchanged" style="itemheight:15;"/>
  90. <Edit position="absolute 295 577 395 596" id="ipt_mtherjobnm" taborder="8" visible="false"/>
  91. <Edit position="absolute 295 599 395 618" id="ipt_mthrgrdenm" taborder="10" visible="false"/>
  92. <Edit position="absolute 295 621 395 640" id="ipt_ftherjobnm" taborder="12" visible="false"/>
  93. <Edit position="absolute 295 643 395 662" id="ipt_fthrgrdenm" taborder="14" visible="false"/>
  94. <Shape position="absolute 5 115 396 121" linetype="horizontal" id="line13" class="line_3"/>
  95. <Static text="어머니" position="absolute 5 577 87 620" id="caption57" class="cell_1"/>
  96. <Button position="absolute 343 450 396 470" id="btn_famyfactdel" class="btn2" taborder="16" text="행삭제" onclick="btn_famyfactdel_onclick"/>
  97. <Button position="absolute 287 450 340 470" id="btn_famyfactadd" class="btn2" taborder="15" text="행추가" onclick="btn_famyfactadd_onclick"/>
  98. <Edit position="absolute 493 143 737 162" align="align:center middle;" id="ipt_birthweight" enable="true" taborder="42" style="align:center middle;"/>
  99. <Static text="출생시 체중" position="absolute 401 142 491 165" id="cap_gustofoodyn" class="cell_1"/>
  100. <Static text="분만 형태" position="absolute 401 166 491 189" id="cap_tnsseffcyn" class="cell_1"/>
  101. <Edit position="absolute 493 167 792 186" id="ipt_birthtype" enable="true" taborder="44"/>
  102. <TextArea position="absolute 400 455 790 575" id="tar_spcffact" taborder="59" wordwrap="char"/>
  103. <Shape position="absolute 400 450 790 456" linetype="horizontal" id="line41" class="line_10"/>
  104. <Static text="특이사항" position="absolute 401 434 475 450" id="caption53" class="tit_2"/>
  105. <CheckBox position="absolute 719 431 789 451" id="chk_spcffactinclyn" taborder="58" truevalue="1" text="해당없음" onchanged="chk_spcffactinclyn_onchanged" onclick="chk_spcffactinclyn_onclick"/>
  106. <Shape position="absolute 400 26 792 32" linetype="horizontal" id="line34" class="line_10"/>
  107. <CheckBox position="absolute 631 7 701 27" id="chk_basebdinfoinclyn" visible="false" truevalue="1" text="해당없음" onchanged="chk_basebdinfoinclyn_onchanged" onclick="chk_basebdinfoinclyn_onclick"/>
  108. <Static text="기본 신체정보" position="absolute 401 10 505 27" id="caption39" class="tit_2"/>
  109. <Edit position="absolute 210 75 395 94" id="ipt_inmthdnm" taborder="23" visible="false"/>
  110. <Combo position="absolute 108 75 208 94" id="cmb_inmthd" class="combo_default" taborder="22" innerdataset="ds_init_mlist_M0210" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_inmthd_onitemchanged"/>
  111. <Edit position="absolute 210 53 395 72" id="ipt_inpathnm" taborder="21" visible="false"/>
  112. <Combo position="absolute 108 53 208 72" id="cmb_inpath" class="combo_default" taborder="20" innerdataset="ds_init_mlist_M0418" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_inpath_onitemchanged"/>
  113. <Combo position="absolute 108 97 208 116" id="cmb_inacompst" class="combo_default" taborder="24" innerdataset="ds_init_mlist_M0098" datacolumn="cdnm" codecolumn="cdid" onitemchanged="cmb_inacompst_onitemchanged"/>
  114. <Edit position="absolute 210 97 395 116" id="ipt_inacompstnm" taborder="25" visible="false"/>
  115. <Grid position="absolute 5 475 396 552" id="grd_famyfact" scrollbars="autoboth" binddataset="ds_main_famyfact" autoenter="key" cellsizingtype="col">
  116. <Formats>
  117. <Format id="default">
  118. <Columns>
  119. <Column size="25"/>
  120. <Column size="0"/>
  121. <Column size="45"/>
  122. <Column size="0"/>
  123. <Column size="85"/>
  124. <Column size="82"/>
  125. <Column size="55"/>
  126. <Column size="0"/>
  127. <Column size="0"/>
  128. <Column size="99"/>
  129. <Column size="0"/>
  130. </Columns>
  131. <Rows>
  132. <Row size="24" band="head"/>
  133. <Row size="24"/>
  134. </Rows>
  135. <Band id="head">
  136. <Cell/>
  137. <Cell col="1" text="상태"/>
  138. <Cell col="2" text="관계"/>
  139. <Cell col="3" text="성명"/>
  140. <Cell col="4" text="휴대폰"/>
  141. <Cell col="5" text="전화번호"/>
  142. <Cell col="6" text="주보호자"/>
  143. <Cell col="7" text="주소(동/구)"/>
  144. <Cell col="8" text="세부주소"/>
  145. <Cell col="9" text="비고"/>
  146. <Cell col="10" text="fmlyseq"/>
  147. </Band>
  148. <Band id="body">
  149. <Cell celltype="head"/>
  150. <Cell col="1" text="bind:stat"/>
  151. <Cell col="2" displaytype="combo" edittype="combo" style="padding:0 0 0 2;" class="gridcombo" text="bind:rela" combodataset="ds_init_mlist_M0072" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  152. <Cell col="3" displaytype="text" edittype="text" text="bind:hngnm"/>
  153. <Cell col="4" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:mpphone"/>
  154. <Cell col="5" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:tel"/>
  155. <Cell col="6" displaytype="checkbox" edittype="checkbox" style="padding:0 0 0 2;" text="bind:chk" expr="expr:(chk == &quot;Y&quot; || chk == 1) ? 1 : 0"/>
  156. <Cell col="7" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:addr"/>
  157. <Cell col="8" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:detladdr"/>
  158. <Cell col="9" displaytype="text" edittype="text" style="padding:0 0 0 2;" text="bind:remfact"/>
  159. <Cell col="10" text="bind:fmlyseq"/>
  160. </Band>
  161. </Format>
  162. </Formats>
  163. </Grid>
  164. <Button position="absolute 1079 6 1132 26" id="btn_pasthistadd" class="btn2" taborder="57" text="행추가" onclick="btn_pasthistadd_onclick"/>
  165. <CheckBox position="absolute 902 277 972 297" id="chk_ophistinclyn" taborder="65" truevalue="1" text="해당없음" onchanged="chk_ophistinclyn_onchanged" onclick="chk_ophistinclyn_onclick"/>
  166. <Grid position="absolute 797 510 1188 560" id="grd_allghist" scrollbars="autoboth" binddataset="ds_data_allghist2" autofittype="none" oncloseup="grd_allghist_oncloseup" autoenter="key" cellsizingtype="col">
  167. <Formats>
  168. <Format id="default">
  169. <Columns>
  170. <Column size="102"/>
  171. <Column size="70"/>
  172. <Column size="202"/>
  173. </Columns>
  174. <Rows>
  175. <Row size="24" band="head"/>
  176. <Row size="24"/>
  177. </Rows>
  178. <Band id="head">
  179. <Cell text="발생일자"/>
  180. <Cell col="1" text="분류"/>
  181. <Cell col="2" text="Allerge 내역 및 증상"/>
  182. </Band>
  183. <Band id="body">
  184. <Cell displaytype="normal" edittype="date" style="align:left;" text="bind:genrdd"/>
  185. <Cell col="1" displaytype="combo" edittype="combo" class="gridcombo" text="bind:flag" combodataset="ds_init_mlist_M0090" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  186. <Cell col="2" displaytype="text" edittype="text" style="align:left middle;" text="bind:allergespec" wordwrap="word"/>
  187. </Band>
  188. </Format>
  189. </Formats>
  190. </Grid>
  191. <Static text="최근투약상태" position="absolute 797 373 901 391" id="cap_rectmedistat" class="tit_2"/>
  192. <Button position="absolute 1133 369 1186 389" id="btn_rectmedistatdel" class="btn2" taborder="70" text="행삭제" onclick="btn_rectmedistatdel_onclick"/>
  193. <Button position="absolute 1135 186 1188 206" id="btn_inhistdel" class="btn2" taborder="64" text="행삭제" onclick="btn_inhistdel_onclick"/>
  194. <Grid position="absolute 797 211 1187 261" id="grd_inhist" scrollbars="autoboth" binddataset="ds_data_inhist2" autofittype="none" autoenter="key" oncellclick="grd_inhist_oncellclick" cellsizingtype="col">
  195. <Formats>
  196. <Format id="default">
  197. <Columns>
  198. <Column size="98"/>
  199. <Column size="98"/>
  200. <Column size="115"/>
  201. <Column size="60"/>
  202. <Column size="0"/>
  203. </Columns>
  204. <Rows>
  205. <Row size="24" band="head"/>
  206. <Row size="24"/>
  207. </Rows>
  208. <Band id="head">
  209. <Cell text="입원일자"/>
  210. <Cell col="1" text="퇴원일자"/>
  211. <Cell col="2" text="병명"/>
  212. <Cell col="3" text="진료기관"/>
  213. <Cell col="4" text="inhistpk"/>
  214. </Band>
  215. <Band id="body">
  216. <Cell displaytype="normal" edittype="date" style="align:left;" text="bind:indd"/>
  217. <Cell col="1" edittype="date" style="align:left;" text="bind:dschdd"/>
  218. <Cell col="2" displaytype="text" edittype="text" text="bind:illnm"/>
  219. <Cell col="3" displaytype="text" edittype="text" text="bind:orddept"/>
  220. <Cell col="4" text="bind:inhistpk"/>
  221. </Band>
  222. </Format>
  223. </Formats>
  224. </Grid>
  225. <CheckBox position="absolute 902 7 972 27" id="chk_pasthistyn" taborder="56" truevalue="1" text="해당없음" onchanged="chk_pasthistyn_onchanged" onclick="chk_pasthistyn_onclick"/>
  226. <Shape position="absolute 797 414 1188 420" id="line19" class="line_2"/>
  227. <Static text="과거병력" position="absolute 797 10 901 30" id="cap_pasthist" class="tit_2"/>
  228. <Shape position="absolute 797 116 1188 122" linetype="horizontal" id="line22" class="line_10"/>
  229. <CheckBox position="absolute 902 97 972 117" id="chk_famyhistyn" taborder="59" truevalue="1" text="해당없음" onchanged="chk_famyhistyn_onchanged" onclick="chk_famyhistyn_onclick"/>
  230. <Static text="가족병력" position="absolute 797 100 871 120" id="cap_famyhist" class="tit_2"/>
  231. <Button position="absolute 1079 96 1132 116" id="btn_famyhistadd" class="btn2" taborder="60" text="행추가" onclick="btn_famyhistadd_onclick"/>
  232. <Grid position="absolute 797 31 1188 81" id="grd_pasthist" scrollbars="autoboth" binddataset="ds_data_pasthist2" autofittype="none" autoenter="key" cellsizingtype="col">
  233. <Formats>
  234. <Format id="default">
  235. <Columns>
  236. <Column size="98"/>
  237. <Column size="157"/>
  238. <Column size="116"/>
  239. </Columns>
  240. <Rows>
  241. <Row size="24" band="head"/>
  242. <Row size="24"/>
  243. </Rows>
  244. <Band id="head">
  245. <Cell displaytype="normal" style="align:center;" text="발생일자"/>
  246. <Cell col="1" text="병력내역"/>
  247. <Cell col="2" text="비고"/>
  248. </Band>
  249. <Band id="body">
  250. <Cell displaytype="normal" edittype="date" style="align:left;" text="bind:genrdd"/>
  251. <Cell col="1" displaytype="combo" edittype="combo" class="gridcombo" text="bind:histspec" combodataset="ds_init_mlist_M0532" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  252. <Cell col="2" displaytype="text" edittype="text" text="bind:remfact"/>
  253. </Band>
  254. </Format>
  255. </Formats>
  256. </Grid>
  257. <Shape position="absolute 797 206 1188 212" linetype="horizontal" id="line23" class="line_10"/>
  258. <Grid position="absolute 797 121 1188 171" id="grd_famyhist" scrollbars="autoboth" binddataset="ds_data_famyhist2" autofittype="none" autoenter="key" cellsizingtype="col">
  259. <Formats>
  260. <Format id="default">
  261. <Columns>
  262. <Column size="60"/>
  263. <Column size="40"/>
  264. <Column size="169"/>
  265. <Column size="102"/>
  266. </Columns>
  267. <Rows>
  268. <Row size="24" band="head"/>
  269. <Row size="24"/>
  270. </Rows>
  271. <Band id="head">
  272. <Cell text="관계"/>
  273. <Cell col="1" text="생존"/>
  274. <Cell col="2" text="병력내역"/>
  275. <Cell col="3" text="비고"/>
  276. </Band>
  277. <Band id="body">
  278. <Cell displaytype="combo" edittype="combo" class="gridcombo" text="bind:famyrel" combodataset="ds_init_mlist_M0072" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  279. <Cell col="1" displaytype="combo" edittype="combo" class="gridcombo" text="bind:existyn" combodataset="ds_init_mlist_M0088" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  280. <Cell col="2" displaytype="combo" edittype="combo" class="gridcombo" text="bind:histspec" combodataset="ds_init_mlist_M0368" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="20"/>
  281. <Cell col="3" displaytype="text" edittype="text" text="bind:remfact"/>
  282. </Band>
  283. </Format>
  284. </Formats>
  285. </Grid>
  286. <Shape position="absolute 797 296 1188 302" linetype="horizontal" id="line24" class="line_10"/>
  287. <Combo position="absolute 1015 395 1188 415" align="align:center middle;" id="cmb_antibiodrugyn" class="combo_default" taborder="16" codecolumn="codecolumn" datacolumn="datacolumn" style="background:#ffe4b5ff stretch 5,5;border:1 solid #9fbed4ff ;align:center middle;">
  288. <Dataset id="innerdataset">
  289. <ColumnInfo>
  290. <Column id="codecolumn"/>
  291. <Column id="datacolumn"/>
  292. </ColumnInfo>
  293. <Rows>
  294. <Row>
  295. <Col id="codecolumn">Y</Col>
  296. <Col id="datacolumn">Y</Col>
  297. </Row>
  298. <Row>
  299. <Col id="codecolumn">N</Col>
  300. <Col id="datacolumn">N</Col>
  301. </Row>
  302. <Row>
  303. <Col id="codecolumn">U</Col>
  304. <Col id="datacolumn">확인불가</Col>
  305. </Row>
  306. </Rows>
  307. </Dataset>
  308. </Combo>
  309. <Static text="수술이력" position="absolute 797 280 893 300" id="cap_ophist" class="tit_2"/>
  310. <Shape position="absolute 797 389 1188 395" linetype="horizontal" id="line25" class="line_10"/>
  311. <Button position="absolute 1135 485 1188 505" id="btn_allghistdel" class="btn2" taborder="73" text="행삭제" onclick="btn_allghistdel_onclick"/>
  312. <Button position="absolute 1077 369 1130 389" id="btn_rectmedistatadd" class="btn2" taborder="69" text="행추가" onclick="btn_rectmedistatadd_onclick"/>
  313. <Button position="absolute 1079 186 1132 206" id="btn_inhistadd" class="btn2" taborder="63" text="행추가" onclick="btn_inhistadd_onclick"/>
  314. <Static text="병원도착전 24시간내 항생제 투약여부" position="absolute 797 394 1012 417" id="caption4" class="cell_1"/>
  315. <Button position="absolute 1135 276 1188 296" id="btn_ophistdel" class="btn2" taborder="67" text="행삭제" onclick="btn_ophistdel_onclick"/>
  316. <Button position="absolute 1135 6 1188 26" id="btn_pasthistdel" class="btn2" taborder="58" text="행삭제" onclick="btn_pasthistdel_onclick"/>
  317. <Button position="absolute 1055 485 1075 505" id="button41" class="icon_search" text="" onclick="button41_onclick"/>
  318. <Shape position="absolute 797 505 1188 511" linetype="horizontal" id="line28" class="line_10"/>
  319. <Static text="입원이력" position="absolute 797 190 893 210" id="cap_inhist" class="tit_2"/>
  320. <Shape position="absolute 797 26 1188 32" linetype="horizontal" id="line53" class="line_10"/>
  321. <Grid position="absolute 797 419 1188 469" id="grd_rectmedistat" scrollbars="autoboth" binddataset="ds_data_rectmedistat2" autofittype="none" autoenter="key" cellsizingtype="col">
  322. <Formats>
  323. <Format id="default">
  324. <Columns>
  325. <Column size="70"/>
  326. <Column size="200"/>
  327. <Column size="101"/>
  328. </Columns>
  329. <Rows>
  330. <Row size="24" band="head"/>
  331. <Row size="24"/>
  332. </Rows>
  333. <Band id="head">
  334. <Cell text="약명"/>
  335. <Cell col="1" text="복용법(용도/용량/용법)"/>
  336. <Cell col="2" text="진료기관"/>
  337. </Band>
  338. <Band id="body">
  339. <Cell text="bind:drugnm" edittype="text" displaytype="text"/>
  340. <Cell col="1" text="bind:direc" edittype="text" displaytype="text"/>
  341. <Cell col="2" text="bind:orddept" edittype="text" displaytype="text"/>
  342. </Band>
  343. </Format>
  344. </Formats>
  345. </Grid>
  346. <CheckBox position="absolute 902 187 972 207" id="chk_inhistyn" taborder="62" truevalue="1" text="해당없음" onchanged="chk_inhistyn_onchanged" onclick="chk_inhistyn_onclick"/>
  347. <Grid position="absolute 797 301 1188 351" id="grd_ophist" scrollbars="autoboth" binddataset="ds_data_ophist2" autofittype="none" autoenter="key" cellsizingtype="col">
  348. <Formats>
  349. <Format id="default">
  350. <Columns>
  351. <Column size="98"/>
  352. <Column size="170"/>
  353. <Column size="101"/>
  354. <Column size="0"/>
  355. </Columns>
  356. <Rows>
  357. <Row size="24" band="head"/>
  358. <Row size="24"/>
  359. </Rows>
  360. <Band id="head">
  361. <Cell text="수술일자" taborder="undefined"/>
  362. <Cell col="1" text="수술명"/>
  363. <Cell col="2" text="진료기관"/>
  364. <Cell col="3" text="ophistpk"/>
  365. </Band>
  366. <Band id="body">
  367. <Cell displaytype="normal" edittype="date" style="align:left;" text="bind:opdd" maskchar=" "/>
  368. <Cell col="1" displaytype="text" edittype="text" text="bind:opnm"/>
  369. <Cell col="2" displaytype="text" edittype="text" text="bind:orddept"/>
  370. <Cell col="3" text="bind:ophistpk"/>
  371. </Band>
  372. </Format>
  373. </Formats>
  374. </Grid>
  375. <Button position="absolute 1135 96 1188 116" id="btn_famyhistdel" class="btn2" taborder="61" text="행삭제" onclick="btn_famyhistdel_onclick"/>
  376. <CheckBox position="absolute 902 370 972 390" id="chk_rectmedistatinclyn" taborder="68" visible="false" truevalue="1" text="해당없음" onchanged="chk_rectmedistatinclyn_onchanged" onclick="chk_rectmedistatinclyn_onclick"/>
  377. <Button position="absolute 1079 485 1132 505" id="btn_allghistadd" class="btn2" taborder="72" text="행추가" onclick="btn_allghistadd_onclick"/>
  378. <Button position="absolute 1079 276 1132 296" id="btn_ophistadd" class="btn2" taborder="66" text="행추가" onclick="btn_ophistadd_onclick"/>
  379. <Static text="Allergy" position="absolute 797 489 866 506" id="cap_allghist" class="tit_2"/>
  380. <Button position="absolute 1055 276 1075 296" id="btn_ophistpop" class="icon_search" text="" onclick="btn_ophistpop_onclick"/>
  381. <Button position="absolute 1055 186 1075 206" id="btn_inhistpop" class="icon_search" text="" onclick="btn_inhistpop_onclick"/>
  382. <Radio position="absolute 870 485 1033 505" id="rdo_allgyn" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_allgyn_onitemchanged">
  383. <Dataset id="innerdataset">
  384. <ColumnInfo>
  385. <Column id="codecolumn"/>
  386. <Column id="datacolumn"/>
  387. </ColumnInfo>
  388. <Rows>
  389. <Row>
  390. <Col id="codecolumn">1</Col>
  391. <Col id="datacolumn">무</Col>
  392. </Row>
  393. <Row>
  394. <Col id="codecolumn">2</Col>
  395. <Col id="datacolumn">유</Col>
  396. </Row>
  397. <Row>
  398. <Col id="codecolumn">3</Col>
  399. <Col id="datacolumn">잘모름</Col>
  400. </Row>
  401. </Rows>
  402. </Dataset>
  403. </Radio>
  404. <Static text="측정불가 V" position="absolute 717 7 790 27" align="align:center middle;" id="cap_insp"/>
  405. <Button position="absolute 510 6 596 26" id="bnt_testroom" class="btn2" visible="false" text="입원전검사실" onclick="bnt_testroom_onclick"/>
  406. <Edit position="absolute 493 119 737 138" align="align:center middle;" id="ipt_pregnancyweek" enable="true" taborder="38" style="align:center middle;"/>
  407. <Static text="임신 주수" position="absolute 401 118 491 141" id="cap_drunkinfo" class="cell_1"/>
  408. <Button position="absolute 1010 369 1074 389" id="btn_SPMMO14900" class="btn5" taborder="69" visible="false" text="처방조회" onclick="btn_SPMMO14900_onclick"/>
  409. <Div position="absolute 820 355 1062 488" id="grp_anti" visible="false" style="background:#ccffccff;shadow:outer 3,3 3 gray;">
  410. <Layouts>
  411. <Layout>
  412. <Button position="absolute 140 105 182 125" id="btn_anti1" class="btn5" visible="false" text="선택" anchor="default" onclick="grp_anti_btn_anti1_onclick"/>
  413. <Button position="absolute 183 105 225 125" id="btn_anti2" class="btn5" visible="false" text="취소" anchor="default" onclick="grp_anti_btn_anti2_onclick"/>
  414. <Radio position="absolute 19 9 219 74" id="rdo_anti" visible="false" columncount="2" rowcount="2" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  415. <Dataset id="innerdataset">
  416. <ColumnInfo>
  417. <Column id="codecolumn"/>
  418. <Column id="datacolumn"/>
  419. </ColumnInfo>
  420. <Rows>
  421. <Row>
  422. <Col id="codecolumn">1</Col>
  423. <Col id="datacolumn">페니실린계</Col>
  424. </Row>
  425. <Row>
  426. <Col id="codecolumn">2</Col>
  427. <Col id="datacolumn">기타 베타락탐계</Col>
  428. </Row>
  429. <Row>
  430. <Col id="codecolumn">3</Col>
  431. <Col id="datacolumn">기타</Col>
  432. </Row>
  433. </Rows>
  434. </Dataset>
  435. </Radio>
  436. <TextArea position="absolute 70 50 225 100" id="txt_anti" visible="false" anchor="default"/>
  437. </Layout>
  438. </Layouts>
  439. </Div>
  440. <Div position="absolute 401 31 792 81" id="grp_basebdinfo">
  441. <Layouts>
  442. <Layout>
  443. <Static text="회/분" position="absolute 335 5 388 24" align="align:center middle;" id="caption30" visible="false" anchor="default"/>
  444. <MaskEdit position="absolute 63 1 113 20" align="align:center middle;" id="ipt_highbp" taborder="23" visible="false" mask="9#.#" style="align:center middle;" onkillfocus="grp_basebdinfo_ipt_highbp_onkillfocus" anchor="default"/>
  445. <MaskEdit position="absolute 116 1 166 20" align="align:center middle;" id="ipt_lowbp" taborder="24" visible="false" mask="9#.#" style="align:center middle;" onkillfocus="grp_basebdinfo_ipt_lowbp_onkillfocus" anchor="default"/>
  446. <MaskEdit position="absolute 63 25 166 44" align="align:center middle;" id="ipt_pulse" taborder="25" visible="false" mask="999" onkillfocus="grp_basebdinfo_ipt_pulse_onkillfocus" anchor="default"/>
  447. <MaskEdit position="absolute 228 1 331 20" align="align:center middle;" id="ipt_breth" taborder="26" visible="false" mask="99" style="align:center middle;" onkillfocus="grp_basebdinfo_ipt_breth_onkillfocus" anchor="default"/>
  448. <MaskEdit position="absolute 228 25 278 44" align="align:center middle;" id="ipt_bdtp" taborder="27" visible="false" mask="9#.#" style="align:center middle;" onkillfocus="grp_basebdinfo_ipt_bdtp_onkillfocus" anchor="default"/>
  449. <Combo position="absolute 281 25 331 44" id="cmb_bdtp" class="combo_default" taborder="28" visible="false" innerdataset="ds_init_cmb_bdtp" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  450. <Static text="mmHg" position="absolute 170 0 223 19" align="align:center middle;" id="caption26" visible="false" anchor="default"/>
  451. <Static text="℃" position="absolute 335 25 388 44" align="align:center middle;" id="caption38" visible="false" anchor="default"/>
  452. <Static text="회/분" position="absolute 170 25 223 44" align="align:center middle;" id="caption28" visible="false" anchor="default"/>
  453. <Static text=".... 맥박" position="absolute 0 24 60 47" id="caption18" class="cell_1" visible="false" anchor="default"/>
  454. <Static text=".... 호흡" position="absolute 165 -1 225 22" id="caption19" class="cell_1" visible="false" anchor="default"/>
  455. <Static text=".... 체온" position="absolute 165 24 225 47" id="caption20" class="cell_1" visible="false" anchor="default"/>
  456. <CheckBox position="absolute 5 28 20 43" id="chk_pulseinspyn" taborder="59" visible="false" onchanged="grp_basebdinfo_chk_pulseinspyn_onchanged" truevalue="Y" onclick="grp_basebdinfo_chk_pulseinspyn_onclick" anchor="default"/>
  457. <CheckBox position="absolute 170 5 185 20" id="chk_brethinspyn" taborder="59" visible="false" onchanged="grp_basebdinfo_chk_brethinspyn_onchanged" onclick="grp_basebdinfo_chk_brethinspyn_onclick" anchor="default"/>
  458. <CheckBox position="absolute 170 28 185 43" id="chk_bdtpinspyn" taborder="59" visible="false" onchanged="grp_basebdinfo_chk_bdtpinspyn_onchanged" truevalue="Y" onclick="grp_basebdinfo_chk_bdtpinspyn_onclick" anchor="default"/>
  459. <Static text=" 체중" position="absolute 0 24 60 47" id="cap_bdwt" class="cell_1" anchor="default"/>
  460. <CheckBox position="absolute 5 27 20 43" id="chk_bdwtinspyn" taborder="59" onchanged="grp_basebdinfo_chk_bdwtinspyn_onchanged" truevalue="Y" onclick="grp_basebdinfo_chk_bdwtinspyn_onclick" anchor="default"/>
  461. <Static text="혈액형" position="absolute 196 24 256 47" id="cap_btype" class="cell_1" anchor="default"/>
  462. <MaskEdit position="absolute 259 1 356 20" align="align:center middle;" id="ipt_spo2" taborder="31" mask="! 9#.#" style="background:#ffe4b5ff;border:1 solid #bac1c6ff ;align:center middle;" onkillfocus="grp_basebdinfo_ipt_spo2_onkillfocus" anchor="default" class="output"/>
  463. <MaskEdit position="absolute 63 1 160 21" align="align:center middle;" id="ipt_bdht" taborder="29" mask="! 9#.#" style="background:#ffe4b5ff;border:1 solid #bac1c6ff ;align:center middle;" onkillfocus="grp_basebdinfo_ipt_bdht_onkillfocus" anchor="default" class="output"/>
  464. <MaskEdit position="absolute 63 25 160 44" align="align:center middle;" id="ipt_bdwt" taborder="30" mask="! 9#.#" style="background:#ffe4b5ff;border:1 solid #bac1c6ff ;align:center middle;" onkillfocus="grp_basebdinfo_ipt_bdwt_onkillfocus" anchor="default" class="output"/>
  465. <Combo position="absolute 259 25 391 44" id="cmb_bdbtype" class="combo_default" taborder="32" innerdataset="ds_init_mlist_M0376" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  466. <Static text="Cm" position="absolute 169 1 199 20" align="align:center middle;" id="caption31" anchor="default"/>
  467. <Static text="Kg" position="absolute 169 25 199 44" align="align:center middle;" id="caption36" anchor="default"/>
  468. <Static text="%" position="absolute 359 1 389 20" align="align:center middle;" id="caption3" anchor="default"/>
  469. <Static text="Kg" position="absolute 169 25 199 44" align="align:center middle;" id="caption14" anchor="default"/>
  470. <Shape id="line15" position="absolute 0 20 391 26" class="line_2" anchor="default"/>
  471. <Static id="caption17" text=".... 혈압" class="cell_1" visible="false" position="absolute 0 0 60 23" anchor="default"/>
  472. <Static id="cap_bdht" text=" 신장" class="cell_1" position="absolute 0 0 60 23" anchor="default"/>
  473. <CheckBox id="chk_bpinspyn" taborder="61" truevalue="Y" onclick="grp_basebdinfo_chk_bpinspyn_onclick" onchanged="grp_basebdinfo_chk_bpinspyn_onchanged" visible="false" position="absolute 5 4 20 19" anchor="default"/>
  474. <CheckBox id="chk_bdhtinspyn" taborder="62" truevalue="Y" onclick="grp_basebdinfo_chk_bdhtinspyn_onclick" onchanged="grp_basebdinfo_chk_bdhtinspyn_onchanged" position="absolute 5 4 20 19" anchor="default"/>
  475. <Static id="caption2" text=" SpO2" class="cell_1" position="absolute 196 0 256 23" anchor="default"/>
  476. <CheckBox id="chk_spo2inspyn" taborder="63" truevalue="Y" onclick="grp_basebdinfo_chk_spo2inspyn_onclick" onchanged="grp_basebdinfo_chk_spo2inspyn_onchanged" position="absolute 201 4 216 19" anchor="default"/>
  477. <Shape id="line29" class="line_3" position="absolute 0 44 391 50" anchor="default"/>
  478. </Layout>
  479. </Layouts>
  480. </Div>
  481. <Static text="수혈부작용" position="absolute 401 190 491 240" id="caption13" class="cell_1"/>
  482. <Radio position="absolute 494 195 789 211" id="rdo_tnsseffcyn" taborder="37" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_tnsseffcyn_onitemchanged">
  483. <Dataset id="innerdataset">
  484. <ColumnInfo>
  485. <Column id="codecolumn"/>
  486. <Column id="datacolumn"/>
  487. </ColumnInfo>
  488. <Rows>
  489. <Row>
  490. <Col id="codecolumn">1</Col>
  491. <Col id="datacolumn">무</Col>
  492. </Row>
  493. <Row>
  494. <Col id="codecolumn">2</Col>
  495. <Col id="datacolumn">유</Col>
  496. </Row>
  497. <Row>
  498. <Col id="codecolumn">3</Col>
  499. <Col id="datacolumn">해당없음</Col>
  500. </Row>
  501. </Rows>
  502. </Dataset>
  503. </Radio>
  504. <Shape position="absolute 401 237 792 243" linetype="horizontal" id="line31" class="line_3"/>
  505. <Static text="Kg" position="absolute 743 143 773 162" align="align:center middle;" id="caption15"/>
  506. <Static text="주" position="absolute 743 119 773 138" align="align:center middle;" id="caption12"/>
  507. <Static text="예방접종 확인" position="absolute 401 283 491 306" id="caption25" class="cell_1"/>
  508. <Radio position="absolute 493 286 568 302" id="rdo_vacncheckyn" taborder="41" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_vacncheckyn_onitemchanged">
  509. <Dataset id="innerdataset">
  510. <ColumnInfo>
  511. <Column id="codecolumn"/>
  512. <Column id="datacolumn"/>
  513. </ColumnInfo>
  514. <Rows>
  515. <Row>
  516. <Col id="codecolumn">1</Col>
  517. <Col id="datacolumn">유</Col>
  518. </Row>
  519. <Row>
  520. <Col id="codecolumn">2</Col>
  521. <Col id="datacolumn">무</Col>
  522. </Row>
  523. </Rows>
  524. </Dataset>
  525. </Radio>
  526. <Button position="absolute 706 258 792 278" id="button1" class="btn2" text="예방접종이력" onclick="button1_onclick"/>
  527. <Static id="cap_attackdd" text="발병일자" class="cell_1" position="absolute 5 142 88 165"/>
  528. <Shape id="line30" class="line_3" position="absolute 5 252 396 258"/>
  529. <Shape id="line47" class="line_3" position="absolute 401 303 792 309"/>
  530. <Edit id="ipt_tnsseffcdetl" taborder="76" position="absolute 493 218 792 237" enable="false"/>
  531. <Edit id="ipt_vacnchecketc" taborder="77" enable="false" position="absolute 566 284 791 303"/>
  532. <Div id="Div00" taborder="79" text="Div00" position="absolute 570 584 792 644" style="background:antiquewhite;" visible="false">
  533. <Layouts>
  534. <Layout width="837" height="1272">
  535. <Shape id="line1" class="line_10" position="absolute 275 1158 666 1164" anchor="default"/>
  536. <Static id="caption1" text="환자기본정보" class="tit_2" position="absolute 275 1142 379 1158" anchor="default"/>
  537. <Edit id="ipt_relignnm" taborder="1" enable="false" position="absolute 420 1188 532 1207" anchor="default"/>
  538. <Combo id="cmb_relign" taborder="2" innerdataset="ds_init_mlist_M0070" codecolumn="cdid" datacolumn="cdnm" onitemchanged="cmb_relign_onitemchanged" class="combo_default" position="absolute 338 1188 416 1207" anchor="default"/>
  539. <Combo id="cmb_job" taborder="3" innerdataset="ds_init_mlist_M0068" codecolumn="cdid" datacolumn="cdnm" onitemchanged="cmb_job_onitemchanged" class="combo_default" position="absolute 338 1164 416 1183" style="itemheight:20;" anchor="default"/>
  540. <Combo id="cmb_relignreq" taborder="4" innerdataset="ds_init_mlist_M0411" codecolumn="cdid" datacolumn="cdnm" class="combo_default" visible="false" position="absolute 597 1188 666 1207" anchor="default"/>
  541. <Shape id="line2" class="line_2" position="absolute 275 1183 666 1189" anchor="default"/>
  542. <Shape id="line3" class="line_2" position="absolute 275 1209 665 1212" anchor="default"/>
  543. <Static id="cap_job" text="직업" class="cell_1" position="absolute 275 1163 335 1186" anchor="default"/>
  544. <Static id="cap_educgrde" text="교육정도" class="cell_1" visible="false" position="absolute 473 1163 533 1186" anchor="default"/>
  545. <Combo id="cmb_educgrde" taborder="5" innerdataset="ds_init_mlist_M0069" codecolumn="cdid" datacolumn="cdnm" onitemchanged="cmb_educgrde_onitemchanged" class="combo_default" visible="false" position="absolute 536 1164 613 1183" style="itemheight:20;" anchor="default"/>
  546. <Shape id="line54" class="line_2" position="absolute 275 1231 666 1237" anchor="default"/>
  547. <Static id="caption9" text="기타 전화번호" class="cell_1" position="absolute 275 1235 370 1258" anchor="default"/>
  548. <Shape id="line5" class="line_3" position="absolute 275 1255 666 1261" anchor="default"/>
  549. <Radio id="rdo_etctelflag" taborder="6" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 372 1238 479 1256" anchor="default">
  550. <Dataset id="innerdataset">
  551. <ColumnInfo>
  552. <Column id="codecolumn"/>
  553. <Column id="datacolumn"/>
  554. </ColumnInfo>
  555. <Rows>
  556. <Row>
  557. <Col id="codecolumn">1</Col>
  558. <Col id="datacolumn">본인</Col>
  559. </Row>
  560. <Row>
  561. <Col id="codecolumn">2</Col>
  562. <Col id="datacolumn">보호자</Col>
  563. </Row>
  564. </Rows>
  565. </Dataset>
  566. </Radio>
  567. <Radio id="rdo_telflag" taborder="7" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 372 1213 479 1230" anchor="default">
  568. <Dataset id="innerdataset">
  569. <ColumnInfo>
  570. <Column id="codecolumn"/>
  571. <Column id="datacolumn"/>
  572. </ColumnInfo>
  573. <Rows>
  574. <Row>
  575. <Col id="codecolumn">1</Col>
  576. <Col id="datacolumn">본인</Col>
  577. </Row>
  578. <Row>
  579. <Col id="codecolumn">2</Col>
  580. <Col id="datacolumn">보호자</Col>
  581. </Row>
  582. </Rows>
  583. </Dataset>
  584. </Radio>
  585. <Edit id="input1" taborder="8" position="absolute 486 1212 573 1231" anchor="default"/>
  586. <Edit id="input2" taborder="9" position="absolute 574 1212 666 1231" anchor="default"/>
  587. <Edit id="input3" taborder="10" position="absolute 486 1236 573 1255" anchor="default"/>
  588. <Edit id="input4" taborder="11" position="absolute 574 1236 666 1255" anchor="default"/>
  589. <CheckBox id="chk_privacy" taborder="12" text="개인정보사정 미동의" truevalue="Y" onclick="chk_privacy_onclick" onchanged="chk_privacy_onchanged" visible="false" position="absolute 534 1139 666 1159" anchor="default"/>
  590. <Static id="cap_relign" text="종교" class="cell_1" position="absolute 275 1187 335 1210" anchor="default"/>
  591. <Static id="caption11" text="연락처/휴대폰" class="cell_1" position="absolute 275 1211 370 1234" anchor="default"/>
  592. <Static id="cap_baptnm" text="세례명" class="cell_1" visible="false" position="absolute 420 1187 470 1210" anchor="default"/>
  593. <Static id="caption6" text="영적요구" class="cell_1" visible="false" position="absolute 535 1187 595 1210" anchor="default"/>
  594. <Edit id="ipt_job" taborder="13" enable="false" position="absolute 420 1164 470 1183" anchor="default"/>
  595. <Edit id="ipt_educgrde" taborder="14" enable="false" position="absolute 615 1164 665 1183" anchor="default"/>
  596. <Edit id="ipt_baptnm" taborder="15" enable="false" position="absolute 472 1188 532 1207" anchor="default"/>
  597. </Layout>
  598. </Layouts>
  599. </Div>
  600. <Static id="caption34" text="형제:" position="absolute 235 381 265 395"/>
  601. <Static id="caption35" text="배우자:" position="absolute 235 401 285 415"/>
  602. <Shape id="line00" class="line_2" position="absolute 5 303 396 309"/>
  603. <Static id="caption00" text="사회문화적정보" class="tit_2" position="absolute 5 261 125 281"/>
  604. <Shape id="line15" class="line_10" position="absolute 5 277 396 283"/>
  605. <Shape id="line51" class="line_2" position="absolute 5 375 396 381"/>
  606. <Edit id="ipt_relignnm" taborder="80" autoselect="true" enable="false" position="absolute 150 332 262 351"/>
  607. <Edit id="ipt_marystatnm" taborder="81" autoselect="true" enable="false" position="absolute 150 356 200 375"/>
  608. <Combo id="cmb_relign" taborder="82" innerdataset="ds_init_mlist_M0070" codecolumn="cdid" datacolumn="cdnm" onitemchanged="cmb_relign_onitemchanged" class="combo_default" position="absolute 68 332 146 351" style="background:#ffe4b5ff stretch 5,5;border:1 solid #9fbed4ff ;"/>
  609. <Combo id="cmb_job" taborder="83" innerdataset="ds_init_mlist_M0068" codecolumn="cdid" datacolumn="cdnm" onitemchanged="cmb_job_onitemchanged" class="combo_default" position="absolute 68 308 146 327" style="background:#ffe4b5ff stretch 5,5;border:1 solid #9fbed4ff ;"/>
  610. <Edit id="ipt_job" taborder="84" autoselect="true" enable="false" position="absolute 150 308 200 327"/>
  611. <Combo id="cmb_relignreq" taborder="85" innerdataset="ds_init_mlist_M0411" codecolumn="cdid" datacolumn="cdnm" class="combo_default" visible="false" position="absolute 327 332 396 351"/>
  612. <Edit id="ipt_baptnm" taborder="86" autoselect="true" enable="false" visible="false" position="absolute 203 332 263 351"/>
  613. <Combo id="cmb_marystat" taborder="87" innerdataset="ds_init_mlist_M0151" codecolumn="cdid" datacolumn="cdnm" onitemchanged="cmb_marystat_onitemchanged" class="combo_default" position="absolute 68 356 146 375" style="background:#ffe4b5ff stretch 5,5;border:1 solid #9fbed4ff ;"/>
  614. <Static id="cap_marystat" text="결혼상태" class="cell_1" position="absolute 5 355 65 378"/>
  615. <Static id="caption37" text="영적요구" class="cell_1" visible="false" position="absolute 265 331 325 354"/>
  616. <Shape id="line20" class="line_2" position="absolute 5 327 396 333"/>
  617. <Shape id="line26" class="line_2" position="absolute 5 351 263 357"/>
  618. <Shape id="line29" class="line_2" position="absolute 5 416 396 422"/>
  619. <Combo id="cmb_educgrde" taborder="88" innerdataset="ds_init_mlist_M0069" codecolumn="cdid" datacolumn="cdnm" onitemchanged="cmb_educgrde_onitemchanged" class="combo_default" visible="false" position="absolute 266 308 343 327" style="background:#ffe4b5ff stretch 5,5;border:1 solid #9fbed4ff ;"/>
  620. <Edit id="ipt_educgrde" taborder="89" autoselect="true" enable="false" visible="false" position="absolute 346 308 396 327"/>
  621. <Static id="cap_educgrde" text="교육정도" class="cell_1" visible="false" position="absolute 203 307 263 330"/>
  622. <Shape id="line36" class="line_3" position="absolute 5 441 396 447"/>
  623. <Static id="cap_baptnm" text="세례명" class="cell_1" visible="false" position="absolute 150 331 200 354"/>
  624. <Static id="cap_relign" text="종교" class="cell_1" position="absolute 5 331 65 354"/>
  625. <Edit id="input00" taborder="90" autoselect="true" position="absolute 102 421 246 440"/>
  626. <Edit id="input05" taborder="91" autoselect="true" position="absolute 250 421 394 440"/>
  627. <CheckBox id="chk_privacy" taborder="92" text="개인정보사정 미동의" truevalue="Y" onclick="chk_privacy_onclick" visible="false" position="absolute 266 261 396 276"/>
  628. <Static id="cap_job" text="직업" class="cell_1" position="absolute 5 307 65 330"/>
  629. <Static id="caption17" text="연락처/휴대폰" class="cell_1" position="absolute 5 420 100 443"/>
  630. <Static id="caption02" text="국적" class="cell_1" position="absolute 5 283 65 306"/>
  631. <Radio id="rdo_nationalityflag" taborder="93" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_nationalityflag_onitemchanged" position="absolute 68 284 178 303" style="background:#ffe4b5ff;">
  632. <Dataset id="innerdataset">
  633. <ColumnInfo>
  634. <Column id="codecolumn"/>
  635. <Column id="datacolumn"/>
  636. </ColumnInfo>
  637. <Rows>
  638. <Row>
  639. <Col id="codecolumn">N</Col>
  640. <Col id="datacolumn">내국인</Col>
  641. </Row>
  642. <Row>
  643. <Col id="codecolumn">Y</Col>
  644. <Col id="datacolumn">외국인</Col>
  645. </Row>
  646. </Rows>
  647. </Dataset>
  648. </Radio>
  649. <Edit id="ipt_nationalitynm" taborder="94" enable="false" position="absolute 189 284 300 303"/>
  650. <Static id="caption19" text="사회복지상담" class="cell_1" position="absolute 203 355 290 378"/>
  651. <Radio id="rdo_socialwelfare" taborder="95" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 293 356 396 375" style="textpadding:0 0 0 0;itempadding:0 0 0 0;background:#ffe4b5ff;">
  652. <Dataset id="innerdataset">
  653. <ColumnInfo>
  654. <Column id="codecolumn"/>
  655. <Column id="datacolumn"/>
  656. </ColumnInfo>
  657. <Rows>
  658. <Row>
  659. <Col id="codecolumn">Y</Col>
  660. <Col id="datacolumn">필요</Col>
  661. </Row>
  662. <Row>
  663. <Col id="codecolumn">N</Col>
  664. <Col id="datacolumn">불필요</Col>
  665. </Row>
  666. </Rows>
  667. </Dataset>
  668. </Radio>
  669. <Static id="caption03" text="부모:" position="absolute 67 381 97 395"/>
  670. <cp_checkboxList id="chk_famyparent" titletext="CheckBox List" taborder="96" text="cp_checkboxList" scrollbars="none" position="absolute 96 377 222 395" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  671. <Edit id="ipt_famybrother" taborder="97" autoselect="true" position="absolute 265 379 392 398"/>
  672. <Radio id="rdo_famyspouse" taborder="98" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 278 401 375 417">
  673. <Dataset id="innerdataset">
  674. <ColumnInfo>
  675. <Column id="codecolumn"/>
  676. <Column id="datacolumn"/>
  677. </ColumnInfo>
  678. <Rows>
  679. <Row>
  680. <Col id="codecolumn">Y</Col>
  681. <Col id="datacolumn">유</Col>
  682. </Row>
  683. <Row>
  684. <Col id="codecolumn">N</Col>
  685. <Col id="datacolumn">무</Col>
  686. </Row>
  687. </Rows>
  688. </Dataset>
  689. </Radio>
  690. <Edit id="ipt_famychildren" taborder="99" autoselect="true" position="absolute 98 399 226 418"/>
  691. <Static id="caption30" text="자녀:" position="absolute 67 401 97 415"/>
  692. <Static id="caption31" text="가족사항" class="cell_1" position="absolute 5 379 65 419"/>
  693. <Shape id="line09" class="line_2" position="absolute 399 387 790 393"/>
  694. <Shape id="line49" class="line_2" position="absolute 399 363 791 369"/>
  695. <Shape id="line01" class="line_10" position="absolute 400 339 791 343"/>
  696. <Static id="caption01" text="영양사정" class="tit_2" position="absolute 400 322 791 342"/>
  697. <Radio id="rdo_apttstatflag" taborder="100" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 483 344 761 363" style="background:#ffe4b5ff;" onmouseenter="rdo_apttstatflag_onmouseenter">
  698. <Dataset id="innerdataset">
  699. <ColumnInfo>
  700. <Column id="codecolumn"/>
  701. <Column id="datacolumn"/>
  702. </ColumnInfo>
  703. <Rows>
  704. <Row>
  705. <Col id="codecolumn">1</Col>
  706. <Col id="datacolumn">좋음</Col>
  707. </Row>
  708. <Row>
  709. <Col id="codecolumn">2</Col>
  710. <Col id="datacolumn">보통</Col>
  711. </Row>
  712. <Row>
  713. <Col id="codecolumn">3</Col>
  714. <Col id="datacolumn">나쁨</Col>
  715. </Row>
  716. <Row>
  717. <Col id="codecolumn">4</Col>
  718. <Col id="datacolumn">매우 나쁨</Col>
  719. </Row>
  720. </Rows>
  721. </Dataset>
  722. </Radio>
  723. <Static id="cap_apttstatflag" text="식욕상태" class="cell_1" position="absolute 400 343 480 366"/>
  724. <Static id="cap_apttchng" text="체중감소" class="cell_1" position="absolute 400 367 480 390"/>
  725. <Radio id="rdo_apttchngyn" taborder="101" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 483 367 555 386" style="background:#ffe4b5ff;">
  726. <Dataset id="innerdataset">
  727. <ColumnInfo>
  728. <Column id="codecolumn"/>
  729. <Column id="datacolumn"/>
  730. </ColumnInfo>
  731. <Rows>
  732. <Row>
  733. <Col id="codecolumn">1</Col>
  734. <Col id="datacolumn">무</Col>
  735. </Row>
  736. <Row>
  737. <Col id="codecolumn">2</Col>
  738. <Col id="datacolumn">유</Col>
  739. </Row>
  740. </Rows>
  741. </Dataset>
  742. </Radio>
  743. <Static id="caption06" text="연하곤란" class="cell_1" position="absolute 400 392 480 415"/>
  744. <Radio id="rdo_dysphagiayn" taborder="102" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 483 393 555 412" style="background:#ffe4b5ff;">
  745. <Dataset id="innerdataset">
  746. <ColumnInfo>
  747. <Column id="codecolumn"/>
  748. <Column id="datacolumn"/>
  749. </ColumnInfo>
  750. <Rows>
  751. <Row>
  752. <Col id="codecolumn">1</Col>
  753. <Col id="datacolumn">무</Col>
  754. </Row>
  755. <Row>
  756. <Col id="codecolumn">2</Col>
  757. <Col id="datacolumn">유</Col>
  758. </Row>
  759. </Rows>
  760. </Dataset>
  761. </Radio>
  762. <Shape id="line38" class="line_3" position="absolute 400 412 791 418"/>
  763. </Layout>
  764. </Layouts>
  765. <Objects>
  766. <Dataset id="ds_init_cmb_mthrjobcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  767. <ColumnInfo>
  768. <Column id="cdnm" type="STRING"/>
  769. <Column id="cdid" type="STRING"/>
  770. </ColumnInfo>
  771. </Dataset>
  772. <Dataset id="ds_init_cmb_mthrgrdecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  773. <ColumnInfo>
  774. <Column id="cdnm" type="STRING"/>
  775. <Column id="cdid" type="STRING"/>
  776. </ColumnInfo>
  777. </Dataset>
  778. <Dataset id="ds_init_cmb_fthrjobcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  779. <ColumnInfo>
  780. <Column id="cdnm" type="STRING"/>
  781. <Column id="cdid" type="STRING"/>
  782. </ColumnInfo>
  783. </Dataset>
  784. <Dataset id="ds_init_cmb_fthrgrdecd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  785. <ColumnInfo>
  786. <Column id="cdnm" type="STRING"/>
  787. <Column id="cdid" type="STRING"/>
  788. </ColumnInfo>
  789. </Dataset>
  790. <Dataset id="ds_init_cmb_inmthd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  791. <ColumnInfo>
  792. <Column id="cdnm" type="STRING"/>
  793. <Column id="cdid" type="STRING"/>
  794. </ColumnInfo>
  795. </Dataset>
  796. <Dataset id="ds_init_cmb_inpath" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  797. <ColumnInfo>
  798. <Column id="cdnm" type="STRING"/>
  799. <Column id="cdid" type="STRING"/>
  800. </ColumnInfo>
  801. </Dataset>
  802. <Dataset id="ds_init_cmb_inacompst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  803. <ColumnInfo>
  804. <Column id="cdnm" type="STRING"/>
  805. <Column id="cdid" type="STRING"/>
  806. </ColumnInfo>
  807. </Dataset>
  808. <Dataset id="ds_grd_famyfact" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  809. <ColumnInfo>
  810. <Column id="stat" type="STRING"/>
  811. <Column id="rela" type="STRING"/>
  812. <Column id="hngnm" type="STRING"/>
  813. <Column id="tel" type="STRING"/>
  814. <Column id="mpphone" type="STRING"/>
  815. <Column id="addr" type="STRING"/>
  816. <Column id="detladdr" type="STRING"/>
  817. <Column id="remfact" type="STRING"/>
  818. <Column id="fmlyseq" type="STRING"/>
  819. </ColumnInfo>
  820. </Dataset>
  821. <Dataset id="ds_grd_allghist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  822. <ColumnInfo>
  823. <Column id="genrdd" type="STRING"/>
  824. <Column id="flag" type="STRING"/>
  825. <Column id="allergespec" type="STRING"/>
  826. </ColumnInfo>
  827. </Dataset>
  828. <Dataset id="ds_grd_inhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  829. <ColumnInfo>
  830. <Column id="indd" type="STRING"/>
  831. <Column id="dschdd" type="STRING"/>
  832. <Column id="illnm" type="STRING"/>
  833. <Column id="orddept" type="STRING"/>
  834. <Column id="inhistpk" type="STRING"/>
  835. </ColumnInfo>
  836. </Dataset>
  837. <Dataset id="ds_grd_pasthist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  838. <ColumnInfo>
  839. <Column id="genrdd" type="STRING"/>
  840. <Column id="histspec" type="STRING"/>
  841. <Column id="remfact" type="STRING"/>
  842. </ColumnInfo>
  843. </Dataset>
  844. <Dataset id="ds_grd_famyhist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  845. <ColumnInfo>
  846. <Column id="famyrel" type="STRING"/>
  847. <Column id="existyn" type="STRING"/>
  848. <Column id="histspec" type="STRING"/>
  849. <Column id="remfact" type="STRING"/>
  850. </ColumnInfo>
  851. </Dataset>
  852. <Dataset id="ds_grd_rectmedistat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  853. <ColumnInfo>
  854. <Column id="drugnm" type="STRING"/>
  855. <Column id="direc" type="STRING"/>
  856. <Column id="orddept" type="STRING"/>
  857. </ColumnInfo>
  858. </Dataset>
  859. <Dataset id="ds_grd_ophist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  860. <ColumnInfo>
  861. <Column id="opdd" type="STRING"/>
  862. <Column id="opnm" type="STRING"/>
  863. <Column id="orddept" type="STRING"/>
  864. <Column id="ophistpk" type="STRING"/>
  865. </ColumnInfo>
  866. </Dataset>
  867. <Dataset id="ds_init_cmb_relign" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  868. <ColumnInfo>
  869. <Column id="cdnm" type="STRING"/>
  870. <Column id="cdid" type="STRING"/>
  871. </ColumnInfo>
  872. </Dataset>
  873. <Dataset id="ds_init_cmb_job" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  874. <ColumnInfo>
  875. <Column id="cdnm" type="STRING"/>
  876. <Column id="cdid" type="STRING"/>
  877. </ColumnInfo>
  878. </Dataset>
  879. <Dataset id="ds_init_cmb_relignreq" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  880. <ColumnInfo>
  881. <Column id="cdnm" type="STRING"/>
  882. <Column id="cdid" type="STRING"/>
  883. </ColumnInfo>
  884. </Dataset>
  885. <Dataset id="ds_init_cmb_educgrde" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  886. <ColumnInfo>
  887. <Column id="cdnm" type="STRING"/>
  888. <Column id="cdid" type="STRING"/>
  889. </ColumnInfo>
  890. </Dataset>
  891. <Dataset id="ds_init_cmb_bdtp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  892. <ColumnInfo>
  893. <Column id="cdnm" type="STRING"/>
  894. <Column id="cdid" type="STRING"/>
  895. </ColumnInfo>
  896. </Dataset>
  897. <Dataset id="ds_init_cmb_bdbtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  898. <ColumnInfo>
  899. <Column id="cdnm" type="STRING"/>
  900. <Column id="cdid" type="STRING"/>
  901. </ColumnInfo>
  902. </Dataset>
  903. <Dataset id="ds_main_inbfinfo_inbfinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  904. <ColumnInfo>
  905. <Column id="inbfyn" type="STRING" size="256"/>
  906. </ColumnInfo>
  907. <Rows>
  908. <Row/>
  909. </Rows>
  910. </Dataset>
  911. <Dataset id="ds_main_allgtemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  912. <ColumnInfo>
  913. <Column id="antitype" type="STRING" size="256"/>
  914. <Column id="antidesc" type="STRING" size="256"/>
  915. <Column id="row" type="STRING" size="256"/>
  916. <Column id="col" type="STRING" size="256"/>
  917. </ColumnInfo>
  918. <Rows>
  919. <Row>
  920. <Col id="antitype">3</Col>
  921. <Col id="antidesc"/>
  922. <Col id="row"/>
  923. <Col id="col"/>
  924. </Row>
  925. </Rows>
  926. </Dataset>
  927. <Dataset id="ds_chk_famyparent" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  928. <ColumnInfo>
  929. <Column id="code" type="STRING" size="256"/>
  930. <Column id="name" type="STRING" size="256"/>
  931. </ColumnInfo>
  932. <Rows>
  933. <Row>
  934. <Col id="code">1</Col>
  935. <Col id="name">부</Col>
  936. </Row>
  937. <Row>
  938. <Col id="code">2</Col>
  939. <Col id="name">모</Col>
  940. </Row>
  941. <Row>
  942. <Col id="code">3</Col>
  943. <Col id="name">무</Col>
  944. </Row>
  945. </Rows>
  946. </Dataset>
  947. </Objects>
  948. <Bind>
  949. <BindItem id="item39" compid="grp_basebdinfo.chk_spo2inspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="spo2inspyn"/>
  950. <BindItem id="item38" compid="grp_basebdinfo.chk_bdhtinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdhtinspyn"/>
  951. <BindItem id="item41" compid="grp_basebdinfo.chk_bpinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="bpinspyn"/>
  952. <BindItem id="item15" compid="cmb_mthrjobcd" propid="value" datasetid="ds_data_parents" columnid="mthrjobcd"/>
  953. <BindItem id="item16" compid="cmb_mthrgrdecd" propid="value" datasetid="ds_data_parents" columnid="mthrgrdecd"/>
  954. <BindItem id="item17" compid="ipt_mtherjobnm" propid="value" datasetid="ds_data_parents" columnid="mthrjobnm"/>
  955. <BindItem id="item18" compid="ipt_mthrgrdenm" propid="value" datasetid="ds_data_parents" columnid="mthrgrdenm"/>
  956. <BindItem id="item19" compid="ipt_ftherjobnm" propid="value" datasetid="ds_data_parents" columnid="fthrjobnm"/>
  957. <BindItem id="item20" compid="ipt_fthrgrdenm" propid="value" datasetid="ds_data_parents" columnid="fthrgrdenm"/>
  958. <BindItem id="item21" compid="cmb_fthrgrdecd" propid="value" datasetid="ds_data_parents" columnid="fthrgrdecd"/>
  959. <BindItem id="item22" compid="cmb_fthrjobcd" propid="value" datasetid="ds_data_parents" columnid="fthrjobcd"/>
  960. <BindItem id="item23" compid="ipt_indd" propid="value" datasetid="ds_main_wardrecinfo" columnid="indd"/>
  961. <BindItem id="item24" compid="ipt_indt" propid="value" datasetid="ds_main_wardrecinfo" columnid="indt"/>
  962. <BindItem id="item25" compid="cmb_inpath" propid="value" datasetid="ds_main_wardrecinfo" columnid="inpathcd"/>
  963. <BindItem id="item26" compid="ipt_inpathnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="inpathnm"/>
  964. <BindItem id="item27" compid="ipt_inmthdnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="inmthdnm"/>
  965. <BindItem id="item28" compid="ipt_inacompstnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="inacompstnm"/>
  966. <BindItem id="item29" compid="cmb_inacompst" propid="value" datasetid="ds_main_wardrecinfo" columnid="inacompstcd"/>
  967. <BindItem id="item30" compid="cmb_inmthd" propid="value" datasetid="ds_main_wardrecinfo" columnid="inmthdcd"/>
  968. <BindItem id="item31" compid="ipt_attackdd" propid="value" datasetid="ds_data_inmotive" columnid="attackdd"/>
  969. <BindItem id="item32" compid="ipt_attackdt" propid="value" datasetid="ds_data_inmotive" columnid="attackdt"/>
  970. <BindItem id="item33" compid="rdo_inmotv" propid="value" datasetid="ds_data_inmotive" columnid="inmotive1"/>
  971. <BindItem id="item34" compid="tar_inmotv" propid="value" datasetid="ds_data_inmotive" columnid="inmotive2"/>
  972. <BindItem id="item35" compid="rdo_illnessflag" propid="value" datasetid="ds_data_inmotive" columnid="illnessflag"/>
  973. <BindItem id="item37" compid="chk_basebdinfoinclyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="basebdinfoinclyn"/>
  974. <BindItem id="item40" compid="grp_basebdinfo.ipt_bdht" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdht"/>
  975. <BindItem id="item42" compid="grp_basebdinfo.ipt_highbp" propid="value" datasetid="ds_main_wardrecinfo" columnid="highbp"/>
  976. <BindItem id="item43" compid="grp_basebdinfo.ipt_lowbp" propid="value" datasetid="ds_main_wardrecinfo" columnid="lowbp"/>
  977. <BindItem id="item44" compid="grp_basebdinfo.chk_brethinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="brethinspyn"/>
  978. <BindItem id="item45" compid="grp_basebdinfo.chk_bdtpinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdtpinspyn"/>
  979. <BindItem id="item46" compid="grp_basebdinfo.ipt_spo2" propid="value" datasetid="ds_main_wardrecinfo" columnid="spo2"/>
  980. <BindItem id="item47" compid="grp_basebdinfo.ipt_breth" propid="value" datasetid="ds_main_wardrecinfo" columnid="breth"/>
  981. <BindItem id="item48" compid="grp_basebdinfo.chk_bdwtinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdwtinspyn"/>
  982. <BindItem id="item49" compid="grp_basebdinfo.chk_pulseinspyn" propid="value" datasetid="ds_main_wardrecinfo" columnid="pulseinspyn"/>
  983. <BindItem id="item50" compid="grp_basebdinfo.ipt_bdwt" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdwt"/>
  984. <BindItem id="item51" compid="grp_basebdinfo.ipt_pulse" propid="value" datasetid="ds_main_wardrecinfo" columnid="pulse"/>
  985. <BindItem id="item52" compid="grp_basebdinfo.ipt_bdtp" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdtp"/>
  986. <BindItem id="item53" compid="grp_basebdinfo.cmb_bdbtype" propid="value" datasetid="ds_main_wardrecinfo" columnid="bdbtype"/>
  987. <BindItem id="item54" compid="ipt_pregnancyweek" propid="value" datasetid="ds_data_birthinfo" columnid="pregnancyweek"/>
  988. <BindItem id="item55" compid="ipt_birthweight" propid="value" datasetid="ds_data_birthinfo" columnid="birthweight"/>
  989. <BindItem id="item56" compid="ipt_birthtype" propid="value" datasetid="ds_data_birthinfo" columnid="birthtype"/>
  990. <BindItem id="item57" compid="rdo_tnsseffcyn" propid="value" datasetid="ds_data_tnsseffcinfo" columnid="tnsseffcyn"/>
  991. <BindItem id="item59" compid="rdo_vacncheckyn" propid="value" datasetid="ds_data_vacnhist" columnid="vacncheckyn"/>
  992. <BindItem id="item61" compid="chk_spcffactinclyn" propid="value" datasetid="ds_data_spcf" columnid="spcffactinclyn"/>
  993. <BindItem id="item62" compid="tar_spcffact" propid="value" datasetid="ds_data_spcf" columnid="spcffactdetl"/>
  994. <BindItem id="item63" compid="chk_pasthistyn" propid="value" datasetid="ds_data_pasthist1" columnid="pasthistinclyn"/>
  995. <BindItem id="item64" compid="chk_famyhistyn" propid="value" datasetid="ds_data_famyhist1" columnid="famyhistinclyn"/>
  996. <BindItem id="item65" compid="chk_inhistyn" propid="value" datasetid="ds_data_inhist1" columnid="inhistinclyn"/>
  997. <BindItem id="item66" compid="chk_ophistinclyn" propid="value" datasetid="ds_data_ophist1" columnid="ophistinclyn"/>
  998. <BindItem id="item67" compid="chk_rectmedistatinclyn" propid="value" datasetid="ds_data_rectmedistat1" columnid="rectmedistatinfoinclyn"/>
  999. <BindItem id="item68" compid="cmb_antibiodrugyn" propid="value" datasetid="ds_data_rectmedistat1" columnid="antibiodrugyn"/>
  1000. <BindItem id="item69" compid="rdo_allgyn" propid="value" datasetid="ds_data_allghist1" columnid="allghistinclyn"/>
  1001. <BindItem id="item58" compid="ipt_tnsseffcdetl" propid="value" datasetid="ds_data_tnsseffcinfo" columnid="tnsseffcdetl"/>
  1002. <BindItem id="item60" compid="ipt_vacnchecketc" propid="value" datasetid="ds_data_vacnhist" columnid="vacnchecketc"/>
  1003. <BindItem id="item70" compid="grp_anti.rdo_anti" propid="value" datasetid="ds_main_allgtemp" columnid="antitype"/>
  1004. <BindItem id="item71" compid="grp_anti.txt_anti" propid="value" datasetid="ds_main_allgtemp" columnid="antidesc"/>
  1005. <BindItem id="item72" compid="ipt_relignnm00" propid="value" datasetid="ds_main_wardrecinfo" columnid="relignnm"/>
  1006. <BindItem id="item73" compid="ipt_marystatnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="marystatnm"/>
  1007. <BindItem id="item74" compid="cmb_relign" propid="value" datasetid="ds_main_wardrecinfo" columnid="religncd"/>
  1008. <BindItem id="item75" compid="cmb_job" propid="value" datasetid="ds_main_wardrecinfo" columnid="jobcd"/>
  1009. <BindItem id="item76" compid="ipt_job" propid="value" datasetid="ds_main_wardrecinfo" columnid="jobnm"/>
  1010. <BindItem id="item77" compid="cmb_relignreq" propid="value" datasetid="ds_main_wardrecinfo" columnid="relignreq"/>
  1011. <BindItem id="item78" compid="ipt_baptnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="baptnm"/>
  1012. <BindItem id="item79" compid="cmb_marystat" propid="value" datasetid="ds_main_wardrecinfo" columnid="marystatcd"/>
  1013. <BindItem id="item80" compid="cmb_educgrde" propid="value" datasetid="ds_main_wardrecinfo" columnid="educgrdecd"/>
  1014. <BindItem id="item81" compid="ipt_educgrde" propid="value" datasetid="ds_main_wardrecinfo" columnid="educgrdenm"/>
  1015. <BindItem id="item82" compid="input00" propid="value" datasetid="ds_main_wardrecinfo" columnid="tel"/>
  1016. <BindItem id="item83" compid="input05" propid="value" datasetid="ds_main_wardrecinfo" columnid="mphone"/>
  1017. <BindItem id="item84" compid="chk_privacy" propid="value" datasetid="ds_main_wardrecinfo" columnid="privacy"/>
  1018. <BindItem id="item121" compid="rdo_nationalityflag" propid="value" datasetid="ds_main_wardrecinfo" columnid="nationalityflag"/>
  1019. <BindItem id="item122" compid="ipt_nationalitynm" propid="value" datasetid="ds_main_wardrecinfo" columnid="nationalitynm"/>
  1020. <BindItem id="item123" compid="rdo_socialwelfare" propid="value" datasetid="ds_main_wardrecinfo" columnid="socialwelfareflag"/>
  1021. <BindItem id="item124" compid="chk_famyparent" propid="value" datasetid="ds_data_famyinfo" columnid="famyparent"/>
  1022. <BindItem id="item125" compid="ipt_famybrother" propid="value" datasetid="ds_data_famyinfo" columnid="famybrother"/>
  1023. <BindItem id="item126" compid="rdo_famyspouse" propid="value" datasetid="ds_data_famyinfo" columnid="famyspouse"/>
  1024. <BindItem id="item127" compid="ipt_famychildren" propid="value" datasetid="ds_data_famyinfo" columnid="famychildren"/>
  1025. <BindItem id="item7" compid="Div00.ipt_relignnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="relignnm"/>
  1026. <BindItem id="item5" compid="Div00.cmb_relign" propid="value" datasetid="ds_main_wardrecinfo" columnid="religncd"/>
  1027. <BindItem id="item0" compid="Div00.cmb_job" propid="value" datasetid="ds_main_wardrecinfo" columnid="jobcd"/>
  1028. <BindItem id="item8" compid="Div00.cmb_relignreq" propid="value" datasetid="ds_main_wardrecinfo" columnid="relignreq"/>
  1029. <BindItem id="item3" compid="Div00.cmb_educgrde" propid="value" datasetid="ds_main_wardrecinfo" columnid="educgrdecd"/>
  1030. <BindItem id="item12" compid="Div00.rdo_etctelflag" propid="value" datasetid="ds_main_wardrecinfo" columnid="etctelflag"/>
  1031. <BindItem id="item9" compid="Div00.rdo_telflag" propid="value" datasetid="ds_main_wardrecinfo" columnid="telflag"/>
  1032. <BindItem id="item10" compid="Div00.input1" propid="value" datasetid="ds_main_wardrecinfo" columnid="tel"/>
  1033. <BindItem id="item11" compid="Div00.input2" propid="value" datasetid="ds_main_wardrecinfo" columnid="mphone"/>
  1034. <BindItem id="item13" compid="Div00.input3" propid="value" datasetid="ds_main_wardrecinfo" columnid="etcphone1"/>
  1035. <BindItem id="item14" compid="Div00.input4" propid="value" datasetid="ds_main_wardrecinfo" columnid="etcphone2"/>
  1036. <BindItem id="item1" compid="Div00.chk_privacy" propid="value" datasetid="ds_main_wardrecinfo" columnid="privacy"/>
  1037. <BindItem id="item2" compid="Div00.ipt_job" propid="value" datasetid="ds_main_wardrecinfo" columnid="jobnm"/>
  1038. <BindItem id="item4" compid="Div00.ipt_educgrde" propid="value" datasetid="ds_main_wardrecinfo" columnid="educgrdenm"/>
  1039. <BindItem id="item6" compid="Div00.ipt_baptnm" propid="value" datasetid="ds_main_wardrecinfo" columnid="baptnm"/>
  1040. <BindItem id="item130" compid="rdo_apttstatflag" propid="value" datasetid="ds_data_apttbdwtchng" columnid="apptstatflag"/>
  1041. <BindItem id="item131" compid="rdo_apttchngyn" propid="value" datasetid="ds_data_apttbdwtchng" columnid="bdwtchngyn"/>
  1042. <BindItem id="item132" compid="rdo_dysphagiayn" propid="value" datasetid="ds_data_apttbdwtchng" columnid="dysphagiayn"/>
  1043. </Bind>
  1044. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1045. * System Name :
  1046. * Job Name :
  1047. * Creator :
  1048. * Make Date : 2015-11-13
  1049. * Description :
  1050. *---------------------------------------------------------------------------------------
  1051. * Modify Date Modifier Modify Description
  1052. *---------------------------------------------------------------------------------------
  1053. * 2015-11-13 Live Converter TF->XP
  1054. *
  1055. *---------------------------------------------------------------------------------------
  1056. ****************************************************************************************/
  1057. include "com_commonxp::comm_main.xjs";
  1058. var status = "select";
  1059. function SMMNW08010_oninit(obj:Form, e:InitEventInfo)
  1060. {
  1061. frmf_initForm(obj);
  1062. }
  1063. function SMMNW08010_onload(obj:Form, e:LoadEventInfo)
  1064. {
  1065. status = "select";
  1066. grdf_setRowTypeIcon(grd_famyfact,1);
  1067. //190514_AYS_사회문화적정보_가족사항 부모 CheckBox
  1068. var sProp = "col=3,row=1,cellspacing=2,vcellspacing=0,itemWidth=40,itemHeight=20,overflow='visible'";
  1069. chk_famyparent.setInitComp(sProp, ds_chk_famyparent,"code","name", "fn_famyparent");
  1070. }
  1071. //190514_AYS_사회문화적정보_가족사항 부모 CheckBox
  1072. function fn_famyparent()
  1073. {
  1074. var getData = String(chk_famyparent.getData()).replace(","," ");
  1075. ds_data_famyinfo.setColumn(0, "famyparent", getData);
  1076. }
  1077. function fInitEventChildInfo() {
  1078. if( utlf_isNull(ipt_indt.value) ) {
  1079. ds_main_wardrecinfo.setColumn(0, "indt", ds_temp_cond_list.getColumn(0, "careinrmtm")); //입원시간
  1080. }
  1081. //입원전 검사실에서 기록한 기록이 있을 경우 [입원전 검사실]버튼이 생성
  1082. var oParam = {};
  1083. oParam.id = "TRMNW07601";
  1084. oParam.service = "wardcareapp.WardCareRec";
  1085. oParam.method = "reqGetInbfInfo";
  1086. oParam.inds = "refCond=ds_send_req";
  1087. oParam.outds = "ds_main_inbfinfo_inbfinfolist=inbfinfolist";
  1088. oParam.async = false;
  1089. tranf_submit(oParam);
  1090. if( ds_main_inbfinfo_inbfinfolist.getColumn(0, "inbfyn") == "Y"){
  1091. bnt_testroom.visible =true;
  1092. } else {
  1093. bnt_testroom.visible =false;
  1094. }
  1095. var privacychk = ds_codelist.lookup("cdgrupid", "W25", "cdid");
  1096. if(privacychk == "N"){
  1097. ds_main_wardrecinfo.setColumn(0, "privacy", "");
  1098. chk_privacy.visible = false;
  1099. cap_educgrde.visible = true;
  1100. cmb_educgrde.visible = true;
  1101. ipt_educgrde.visible = true;
  1102. }else{
  1103. chk_privacy.visible = true;
  1104. cap_educgrde.visible = true; // 본원 - 교육지표 추가 요청 '15.03.19 - AYS
  1105. cmb_educgrde.visible = true;
  1106. ipt_educgrde.visible = true;
  1107. }
  1108. if( ds_main_wardrecinfo.getColumn(0, "privacy") == "Y"){ // 개인정보사정 미동의 Y인 경우
  1109. cmb_job.enable = false;
  1110. ipt_job.enable = false;
  1111. cmb_relign.enable = false;
  1112. ipt_relignnm.enable = false;
  1113. cap_baptnm.visible = false;
  1114. ipt_baptnm.visible = false;
  1115. }else{
  1116. cmb_job.enable = true;
  1117. cmb_relign.enable = true;
  1118. frmf_inputEnterKey("cmb_job", "onitemchanged", new ItemChangeEventInfo );
  1119. frmf_inputEnterKey("cmb_relign", "onitemchanged", new ItemChangeEventInfo );
  1120. frmf_inputEnterKey("cmb_educgrde", "onitemchanged", new ItemChangeEventInfo );
  1121. }
  1122. if( ds_main_wardrecinfo.getColumn(0, "basebdinfoinclyn") == "1") { // 기본신체정보 해당없음 체크
  1123. frmf_inputEnterKey("chk_basebdinfoinclyn", "onchanged", new CheckBoxChangeEventInfo );
  1124. }
  1125. frmf_inputEnterKey("rdo_tnsseffcyn", "onitemchanged", new ItemChangeEventInfo );
  1126. frmf_inputEnterKey("rdo_vacncheckyn", "onitemchanged", new ItemChangeEventInfo );
  1127. status = "select";
  1128. frmf_inputEnterKey("chk_spcffactinclyn", "onclick", new ClickEventInfo );
  1129. if( ds_data_pasthist1.getColumn(0, "pasthistinclyn") == "1") { // 과겨병력 해당없음 체크시 실행
  1130. frmf_inputEnterKey("chk_pasthistyn", "onclick", new ClickEventInfo );
  1131. }
  1132. if( ds_data_famyhist1.getColumn(0, "famyhistinclyn") == "1") { // 가족병력 해당없음 체크시 실행
  1133. frmf_inputEnterKey("chk_famyhistyn", "onclick", new ClickEventInfo );
  1134. }
  1135. if( ds_data_inhist1.getColumn(0, "inhistinclyn") == "1") { // 입원이력 해당없음 체크시 실행
  1136. frmf_inputEnterKey("chk_inhistyn", "onclick", new ClickEventInfo );
  1137. }
  1138. if( ds_data_ophist1.getColumn(0, "ophistinclyn") == "1") { // 수술이력 해당없음 체크시 실행
  1139. frmf_inputEnterKey("chk_ophistinclyn", "onclick", new ClickEventInfo );
  1140. }
  1141. if( ds_data_rectmedistat1.getColumn(0, "rectmedistatinfoinclyn") == "1") { // 최근투약상태 해당없음 체크시 실행
  1142. frmf_inputEnterKey("chk_rectmedistatinclyn", "onclick", new ClickEventInfo );
  1143. }
  1144. if( ds_data_allghist1.getColumn(0, "allghistinclyn") == "1") { // 알레르기 해당없음 체크시 실행
  1145. frmf_inputEnterKey("rdo_allgyn", "onitemchanged", new ItemChangeEventInfo );
  1146. }
  1147. frmf_inputEnterKey("grp_basebdinfo.chk_bdhtinspyn", "onclick", new ClickEventInfo );
  1148. frmf_inputEnterKey("grp_basebdinfo.chk_pulseinspyn", "onclick", new ClickEventInfo );
  1149. frmf_inputEnterKey("grp_basebdinfo.chk_brethinspyn", "onclick", new ClickEventInfo );
  1150. frmf_inputEnterKey("grp_basebdinfo.chk_bdtpinspyn", "onclick", new ClickEventInfo );
  1151. frmf_inputEnterKey("grp_basebdinfo.chk_bdhtinspyn", "onclick", new ClickEventInfo );
  1152. frmf_inputEnterKey("grp_basebdinfo.chk_bdwtinspyn", "onclick", new ClickEventInfo );
  1153. frmf_inputEnterKey("grp_basebdinfo.chk_spo2inspyn", "onclick", new ClickEventInfo );
  1154. frmf_inputEnterKey("cmb_mthrjobcd", "onitemchanged", new ItemChangeEventInfo );
  1155. frmf_inputEnterKey("cmb_mthrgrdecd", "onitemchanged", new ItemChangeEventInfo );
  1156. frmf_inputEnterKey("cmb_fthrjobcd", "onitemchanged", new ItemChangeEventInfo );
  1157. frmf_inputEnterKey("cmb_fthrgrdecd", "onitemchanged", new ItemChangeEventInfo );
  1158. frmf_inputEnterKey("cmb_inpath", "onitemchanged", new ItemChangeEventInfo );
  1159. frmf_inputEnterKey("cmb_inmthd", "onitemchanged", new ItemChangeEventInfo );
  1160. frmf_inputEnterKey("cmb_inacompst", "onitemchanged", new ItemChangeEventInfo );
  1161. }
  1162. function chk_privacy_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1163. {
  1164. }
  1165. function cmb_job_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1166. {
  1167. var job = ds_main_wardrecinfo.getColumn(0, "jobcd");
  1168. if(job == "10")//기타
  1169. {
  1170. ipt_job.enable = true;
  1171. }
  1172. else
  1173. {
  1174. ds_main_wardrecinfo.setColumn(0, "jobnm", "");
  1175. ipt_job.enable = false;
  1176. }
  1177. }
  1178. function cmb_educgrde_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1179. {
  1180. var educgrde = ds_main_wardrecinfo.getColumn(0, "educgrdecd");
  1181. if(educgrde == "15")//기타
  1182. {
  1183. ipt_educgrde.enable = true;
  1184. }
  1185. else
  1186. {
  1187. ds_main_wardrecinfo.setColumn(0, "educgrdenm", "");
  1188. ipt_educgrde.enable = false;
  1189. }
  1190. }
  1191. function cmb_relign_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1192. {
  1193. var religncd = ds_main_wardrecinfo.getColumn(0, "religncd");
  1194. if(religncd == "01") //천주교일 경우 세례명 입력
  1195. {
  1196. cap_baptnm.visible = true;
  1197. ipt_baptnm.visible = true;
  1198. ipt_baptnm.enable = true;
  1199. ipt_relignnm.visible = false;
  1200. } else {
  1201. cap_baptnm.visible = false;
  1202. ipt_baptnm.visible = false;
  1203. ipt_relignnm.visible = true;
  1204. ds_main_wardrecinfo.setColumn(0, "baptnm");
  1205. if(religncd == "09") //기타
  1206. {
  1207. ipt_relignnm.enable = true;
  1208. }
  1209. else
  1210. {
  1211. ipt_relignnm.enable = false;
  1212. }
  1213. }
  1214. }
  1215. function cmb_mthrjobcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1216. {
  1217. var job = ds_data_parents.getColumn(0, "mthrjobcd");
  1218. if(job == "10")//기타
  1219. {
  1220. ipt_mtherjobnm.visible = true;
  1221. }
  1222. else
  1223. {
  1224. ipt_mtherjobnm.visible = false;
  1225. ds_data_parents.setColumn(0, "mthrjobnm", "");
  1226. }
  1227. }
  1228. function cmb_mthrgrdecd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1229. {
  1230. var job = ds_data_parents.getColumn(0, "mthrgrdecd");
  1231. if(job == "15") //기타
  1232. {
  1233. ipt_mthrgrdenm.visible = true;
  1234. } else {
  1235. ipt_mthrgrdenm.visible = false;
  1236. ds_data_parents.setColumn(0, "mthrgrdenm", "");
  1237. }
  1238. }
  1239. function cmb_fthrjobcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1240. {
  1241. var job = ds_data_parents.getColumn(0, "fthrjobcd");
  1242. if(job == "10") //기타
  1243. {
  1244. ipt_ftherjobnm.visible = true;
  1245. }
  1246. else
  1247. {
  1248. ipt_ftherjobnm.visible = false;
  1249. ds_data_parents.setColumn(0, "fthrjobnm", "");
  1250. }
  1251. }
  1252. function cmb_fthrgrdecd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1253. {
  1254. var job = ds_data_parents.getColumn(0, "fthrgrdecd");
  1255. if(job == "15")//기타
  1256. {
  1257. ipt_fthrgrdenm.visible = true;
  1258. }
  1259. else
  1260. {
  1261. ipt_fthrgrdenm.visible = false;
  1262. ds_data_parents.setColumn(0, "fthrgrdenm", "");
  1263. }
  1264. }
  1265. function btn_famyfactadd_onclick(obj:Button, e:ClickEventInfo)
  1266. {
  1267. ds_main_famyfact.addRow();
  1268. }
  1269. function btn_famyfactdel_onclick(obj:Button, e:ClickEventInfo)
  1270. {
  1271. ds_main_famyfact.deleteRow(ds_main_famyfact.rowposition);
  1272. }
  1273. function cmb_inpath_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1274. {
  1275. if(ds_main_wardrecinfo.getColumn(0, "inpathcd") == "08")
  1276. {
  1277. ipt_inpathnm.visible = true;
  1278. }
  1279. else
  1280. {
  1281. ipt_inpathnm.visible = false;
  1282. ds_main_wardrecinfo.setColumn(0, "inpathnm");
  1283. }
  1284. }
  1285. function cmb_inmthd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1286. {
  1287. if(ds_main_wardrecinfo.getColumn(0, "inmthdcd") == "08")
  1288. {
  1289. ipt_inmthdnm.visible = true;
  1290. }
  1291. else
  1292. {
  1293. ipt_inmthdnm.visible = false;
  1294. ds_main_wardrecinfo.setColumn(0, "inmthdnm");
  1295. }
  1296. }
  1297. function cmb_inacompst_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1298. {
  1299. if(ds_main_wardrecinfo.getColumn(0, "inacompstcd") == "04")
  1300. {
  1301. ipt_inacompstnm.visible = true;
  1302. }
  1303. else
  1304. {
  1305. ipt_inacompstnm.visible = false;
  1306. ds_main_wardrecinfo.setColumn(0, "inacompstnm");
  1307. }
  1308. }
  1309. function button40_onclick(obj:Button, e:ClickEventInfo)
  1310. {
  1311. // setParameter("SPMMR04711_shape", model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue"));
  1312. // modal("SPMMR04700", 1,10, 10, "SPMMR04700" ,"/root/temp/strmeta", "/root/send");
  1313. //
  1314. // if(model.getValue("root/properties/parameters/SPMMR04711_shape/SPMMR04711_shapevalue") != "") {
  1315. // model.setValue("/root/main/wardrecinfo/famytree/existyn", "Y");
  1316. // opt_existyn.refresh();
  1317. // } else {
  1318. // model.setValue("/root/main/wardrecinfo/famytree/existyn", "");
  1319. // opt_existyn.refresh();
  1320. // }
  1321. }
  1322. function bnt_testroom_onclick(obj:Button, e:ClickEventInfo)
  1323. {
  1324. frmf_setParameter("pid", ds_temp_cond_list.getColumn(0, "pid"));
  1325. frmf_setParameter("instcd", ds_temp_cond_list.getColumn(0, "instcd"));
  1326. frmf_setParameter("recflag", "");
  1327. frmf_setParameter("parentFormId", ds_parentFormId.getColumn(0, "cd"));
  1328. frmf_modal("SPMNW12900","SPMNW12900","", 1, 10, 10, "", "", "", "", "", "", "M");
  1329. }
  1330. function fSetStatus(seq)
  1331. {
  1332. var rtn = "";
  1333. if(status == "select")
  1334. {
  1335. rtn = "6";
  1336. }
  1337. else
  1338. {
  1339. rtn = sysf_messageBox("데이터를 ", "Q001");
  1340. }
  1341. return rtn;
  1342. }
  1343. function chk_basebdinfoinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1344. {
  1345. status == "select";
  1346. }
  1347. function grp_basebdinfo_chk_bdhtinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1348. {
  1349. }
  1350. function grp_basebdinfo_chk_spo2inspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1351. {
  1352. if(ds_main_wardrecinfo.getColumn(0, "spo2inspyn") == "Y")
  1353. {
  1354. grp_basebdinfo.ipt_spo2.disabled = true;
  1355. ds_main_wardrecinfo.setColumn(0, "spo2", "");
  1356. grp_basebdinfo.ipt_spo2.style.background.color = "gainsboro";
  1357. }else{
  1358. grp_basebdinfo.ipt_spo2.enable = true;
  1359. grp_basebdinfo.ipt_spo2.style.background.color = "#ffe4b5ff";
  1360. }
  1361. }
  1362. function grp_basebdinfo_chk_bdwtinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1363. {
  1364. }
  1365. function grp_basebdinfo_chk_bpinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1366. {
  1367. }
  1368. function grp_basebdinfo_chk_brethinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1369. {
  1370. if(ds_main_wardrecinfo.getColumn(0, "brethinspyn") == "Y")
  1371. {
  1372. grp_basebdinfo.ipt_breth.enable = false;
  1373. ds_main_wardrecinfo.setColumn(0, "breth", "");
  1374. }else{
  1375. grp_basebdinfo.ipt_breth.enable = true;
  1376. }
  1377. }
  1378. function grp_basebdinfo_chk_bdtpinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1379. {
  1380. }
  1381. function grp_basebdinfo_chk_pulseinspyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1382. {
  1383. if(ds_main_wardrecinfo.getColumn(0, "pulseinspyn") == "Y")
  1384. {
  1385. grp_basebdinfo.ipt_pulse.enable = false;
  1386. ds_main_wardrecinfo.setColumn(0, "pulse", "");
  1387. }else{
  1388. grp_basebdinfo.ipt_pulse.enable = true;
  1389. }
  1390. }
  1391. function rdo_tnsseffcyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1392. {
  1393. if(ds_data_tnsseffcinfo.getColumn(0, "tnsseffcyn") == "2")
  1394. {
  1395. ipt_tnsseffcdetl.enable = true;
  1396. }
  1397. else
  1398. {
  1399. ds_data_tnsseffcinfo.setColumn(0, "tnsseffcdetl", "");
  1400. ipt_tnsseffcdetl.enable = false;
  1401. }
  1402. }
  1403. function rdo_vacncheckyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1404. {
  1405. if(ds_data_vacnhist.getColumn(0, "vacncheckyn") == "1")
  1406. {
  1407. ds_data_vacnhist.setColumn(0, "vacnchecketc", "");
  1408. ipt_vacnchecketc.enable = false;
  1409. } else {
  1410. ipt_vacnchecketc.enable = true;
  1411. }
  1412. }
  1413. function button1_onclick(obj:Button, e:ClickEventInfo)
  1414. {
  1415. frmf_open("SMMNI01400","SMMNI01400","", 1, 10, 10, "", "", "", "", "", "", "M");
  1416. }
  1417. function chk_spcffactinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1418. {
  1419. status = "";
  1420. }
  1421. function isCheckGridDataYN(grdData) {
  1422. var isEmptyYN = "Y";
  1423. var bindDs = eval(grdData.binddataset);
  1424. if(bindDs.rowcount > 0)
  1425. {
  1426. for(var i = 0; i < grdData.getCellCount("Body"); i++) {
  1427. if(!utlf_isNull(grdData.getCellValue(0, i)))
  1428. {
  1429. isEmptyYN = "N";
  1430. break;
  1431. }
  1432. else
  1433. {
  1434. isEmptyYN = "Y";
  1435. }
  1436. }
  1437. }
  1438. else if(bindDs.rowcount == 0)
  1439. {
  1440. isEmptyYN = "Y";
  1441. }
  1442. else
  1443. {
  1444. isEmptyYN = "N";
  1445. }
  1446. if(isEmptyYN == "Y")
  1447. {
  1448. status = "select";
  1449. }
  1450. else
  1451. {
  1452. status = "";
  1453. }
  1454. return isEmptyYN;
  1455. }
  1456. function chk_pasthistyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1457. {
  1458. }
  1459. function btn_pasthistadd_onclick(obj:Button, e:ClickEventInfo)
  1460. {
  1461. ds_data_pasthist2.addRow();
  1462. grdDateType(ds_data_pasthist2, "genrdd", 0, grd_pasthist);
  1463. }
  1464. function btn_pasthistdel_onclick(obj:Button, e:ClickEventInfo)
  1465. {
  1466. ds_data_pasthist2.deleteRow(ds_data_pasthist2.rowposition);
  1467. }
  1468. function chk_famyhistyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1469. {
  1470. }
  1471. function btn_famyhistadd_onclick(obj:Button, e:ClickEventInfo)
  1472. {
  1473. ds_data_famyhist2.addRow();
  1474. }
  1475. function btn_famyhistdel_onclick(obj:Button, e:ClickEventInfo)
  1476. {
  1477. ds_data_famyhist2.deleteRow(ds_data_famyhist2.rowposition);
  1478. }
  1479. function chk_inhistyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1480. {
  1481. }
  1482. function btn_inhistadd_onclick(obj:Button, e:ClickEventInfo)
  1483. {
  1484. ds_data_inhist2.addRow();
  1485. grdDateType(ds_data_inhist2, "indd", 0, grd_inhist);
  1486. grdDateType(ds_data_inhist2, "dschdd", 1, grd_inhist);
  1487. }
  1488. function btn_inhistdel_onclick(obj:Button, e:ClickEventInfo)
  1489. {
  1490. ds_data_inhist2.deleteRow(ds_data_inhist2.rowposition);
  1491. }
  1492. function btn_inhistpop_onclick(obj:Button, e:ClickEventInfo)
  1493. {
  1494. frmf_setParameter("histflag", "inhist");
  1495. frmf_setParameter("pid", ds_temp_cond_list.getColumn(0, "pid"));
  1496. frmf_setParameter("indd", ds_temp_cond_list.getColumn(0, "indd"));
  1497. frmf_setParameter("instcd", ds_temp_cond_list.getColumn(0, "instcd"));
  1498. frmf_setParameter("parentFormId", ds_parentFormId.getColumn(0, "cd"));
  1499. frmf_open("SPMNW12800","SPMNW12800","","","","","","","","","","","M");
  1500. }
  1501. function chk_ophistinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1502. {
  1503. status = "";
  1504. }
  1505. function btn_ophistadd_onclick(obj:Button, e:ClickEventInfo)
  1506. {
  1507. ds_data_ophist2.addRow();
  1508. grdDateType(ds_data_ophist2, "opdd", 0, grd_ophist);
  1509. }
  1510. function btn_ophistdel_onclick(obj:Button, e:ClickEventInfo)
  1511. {
  1512. ds_data_ophist2.deleteRow(ds_data_ophist2.rowposition);
  1513. }
  1514. function btn_ophistpop_onclick(obj:Button, e:ClickEventInfo)
  1515. {
  1516. frmf_setParameter("histflag", "ophist");
  1517. frmf_setParameter("pid", ds_temp_cond_list.getColumn(0, "pid"));
  1518. frmf_setParameter("indd", ds_temp_cond_list.getColumn(0, "indd"));
  1519. frmf_setParameter("instcd", ds_temp_cond_list.getColumn(0, "instcd"));
  1520. frmf_setParameter("parentFormId", ds_parentFormId.getColumn(0, "cd"));
  1521. frmf_open("SPMNW12800","SPMNW12800","","","","","","","","","","","M");
  1522. }
  1523. function chk_rectmedistatinclyn_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  1524. {
  1525. }
  1526. function btn_rectmedistatadd_onclick(obj:Button, e:ClickEventInfo)
  1527. {
  1528. ds_data_rectmedistat2.addRow();
  1529. }
  1530. function btn_rectmedistatdel_onclick(obj:Button, e:ClickEventInfo)
  1531. {
  1532. ds_data_rectmedistat2.deleteRow(ds_data_rectmedistat2.rowposition);
  1533. }
  1534. function btn_SPMMO14900_onclick(obj:Button, e:ClickEventInfo)
  1535. {
  1536. frmf_open("SPMMO14900","SPMMO14900","","","","","","","","","","","M");
  1537. }
  1538. function rdo_allgyn_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1539. {
  1540. if(ds_data_allghist1.getColumn(0, "allghistinclyn") == "1")
  1541. {
  1542. var isEmptyYN = "Y";
  1543. isEmptyYN = isCheckGridDataYN(grd_allghist);
  1544. var rtn = fSetStatus(1);
  1545. if(rtn == "6")
  1546. {
  1547. ds_data_allghist2.clearData();
  1548. btn_allghistadd.enable = false;
  1549. btn_allghistdel.enable = false;
  1550. } else if(rtn == "7") {
  1551. //model.setValue("/root/main/histinfo/allghistinfo/allghist/allghistinclyn", "");
  1552. ds_data_allghist1.setColumn(0, "allghistinclyn", "");
  1553. }
  1554. } else {
  1555. btn_allghistadd.enable = true;
  1556. btn_allghistdel.enable = true;
  1557. if(ds_data_allghist2.rowcount == 0) {
  1558. ds_data_allghist2.addRow();
  1559. }
  1560. }
  1561. }
  1562. function btn_allghistadd_onclick(obj:Button, e:ClickEventInfo)
  1563. {
  1564. ds_data_allghist2.addRow();
  1565. grdDateType(ds_data_allghist2, "genrdd", 0, grd_allghist);
  1566. }
  1567. function btn_allghistdel_onclick(obj:Button, e:ClickEventInfo)
  1568. {
  1569. ds_data_allghist2.deleteRow(ds_data_allghist2.rowposition);
  1570. }
  1571. function button41_onclick(obj:Button, e:ClickEventInfo)
  1572. {
  1573. frmf_open("SPMMD03300","SPMMD03300","","","","","","","","","","","M");
  1574. }
  1575. function chk_privacy_onclick(obj:CheckBox, e:ClickEventInfo)
  1576. {
  1577. if(ds_main_wardrecinfo.getColumn(0, "privacy") == "Y")
  1578. {
  1579. ds_main_wardrecinfo.setColumn(0, "jobcd", "");
  1580. ds_main_wardrecinfo.setColumn(0, "jobnm", "");
  1581. ds_main_wardrecinfo.setColumn(0, "religncd", "");
  1582. ds_main_wardrecinfo.setColumn(0, "relignnm", "");
  1583. ds_main_wardrecinfo.setColumn(0, "baptnm", "");
  1584. cmb_job.enable = false;
  1585. ipt_job.enable = false;
  1586. cmb_relign.enable = false;
  1587. ipt_relignnm.enable = false;
  1588. cap_baptnm.enable = true;
  1589. ipt_baptnm.enable = true;
  1590. ipt_relignnm.enable = false;
  1591. }else{
  1592. cmb_job.enable = true;
  1593. cmb_relign.enable = true;
  1594. frmf_inputEnterKey("cmb_job", "onitemchanged", new ItemChangeEventInfo );
  1595. frmf_inputEnterKey("cmb_relign", "onitemchanged", new ItemChangeEventInfo );
  1596. }
  1597. }
  1598. function chk_basebdinfoinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1599. {
  1600. if(ds_main_wardrecinfo.getColumn(0, "basebdinfoinclyn") == "1")
  1601. {
  1602. var rtn = "";
  1603. rtn = fSetStatus(2);
  1604. if(rtn == "6")
  1605. {
  1606. grp_basebdinfo.ipt_bdht.enable = false;
  1607. grp_basebdinfo.ipt_bdwt.enable = false;
  1608. grp_basebdinfo.cmb_bdbtype.enable = false;
  1609. ds_main_wardrecinfo.setColumn(0, "bdht", "");
  1610. ds_main_wardrecinfo.setColumn(0, "bdwt", "");
  1611. ds_main_wardrecinfo.setColumn(0, "bdbtype", "");
  1612. ds_main_wardrecinfo.setColumn(0, "bdbtyperh", "");
  1613. }
  1614. else
  1615. {
  1616. ds_main_wardrecinfo.setColumn(0, "basebdinfoinclyn", "");
  1617. return;
  1618. }
  1619. }
  1620. else
  1621. {
  1622. grp_basebdinfo.ipt_bdht.enable = true;
  1623. grp_basebdinfo.ipt_bdwt.enable = true;
  1624. grp_basebdinfo.cmb_bdbtype.enable = true;
  1625. }
  1626. }
  1627. function chk_spcffactinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1628. {
  1629. if(ds_data_spcf.getColumn(0, "spcffactinclyn")=="1")
  1630. {
  1631. var rtn = "";
  1632. rtn = fSetStatus(3);
  1633. if(rtn == "6")
  1634. {
  1635. tar_spcffact.enable = false;
  1636. ds_data_spcf.setColumn(0, "spcffactdetl", "");
  1637. }
  1638. else
  1639. {
  1640. ds_data_spcf.setColumn(0, "spcffactinclyn", "");
  1641. }
  1642. } else {
  1643. tar_spcffact.enable = true;
  1644. }
  1645. }
  1646. function chk_pasthistyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1647. {
  1648. if(ds_data_pasthist1.getColumn(0, "pasthistinclyn") == "1")
  1649. {
  1650. var isEmptyYN = "Y";
  1651. isEmptyYN = isCheckGridDataYN(grd_pasthist);
  1652. var rtn = fSetStatus(4);
  1653. if(rtn == "6")
  1654. {
  1655. ds_data_pasthist2.clearData();
  1656. btn_pasthistadd.enable = false;
  1657. btn_pasthistdel.enable = false;
  1658. } else if(rtn == "7") {
  1659. //model.setValue("/root/main/histinfo/pasthistinfo/pasthist/pasthistinclyn", "");
  1660. ds_data_pasthist1.setColumn(0, "pasthistinclyn", "");
  1661. }
  1662. } else {
  1663. btn_pasthistadd.enable = true;
  1664. btn_pasthistdel.enable = true;
  1665. ds_data_pasthist2.addRow();
  1666. }
  1667. }
  1668. function chk_famyhistyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1669. {
  1670. if(ds_data_famyhist1.getColumn(0, "famyhistinclyn") == "1")
  1671. {
  1672. var isEmptyYN = "Y";
  1673. isEmptyYN = isCheckGridDataYN(grd_famyhist);
  1674. var rtn = fSetStatus(5);
  1675. if(rtn == "6") {
  1676. ds_data_famyhist2.clearData();
  1677. btn_famyhistadd.enable = false;
  1678. btn_famyhistdel.enable = false;
  1679. } else if(rtn == "7") {
  1680. ds_data_famyhist1.setValue(0, "famyhistinclyn", "");
  1681. }
  1682. } else {
  1683. btn_famyhistadd.enable = true;
  1684. btn_famyhistdel.enable = true;
  1685. ds_data_famyhist2.addRow();
  1686. }
  1687. }
  1688. function chk_inhistyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1689. {
  1690. if(ds_data_inhist1.getColumn(0, "inhistinclyn") == "1")
  1691. {
  1692. var isEmptyYN = "Y";
  1693. isEmptyYN = isCheckGridDataYN(grd_inhist);
  1694. var rtn = fSetStatus(6);
  1695. if(rtn == "6") {
  1696. ds_data_inhist2.clearData();
  1697. btn_inhistadd.enable = false;
  1698. btn_inhistdel.enable = false;
  1699. btn_inhistpop.enable = false;
  1700. } else if(rtn == "7") {
  1701. ds_data_inhist1.setColumn(0,"inhistinclyn", "");
  1702. }
  1703. } else {
  1704. btn_inhistadd.enable = true;
  1705. btn_inhistdel.enable = true;
  1706. btn_inhistpop.enable = true;
  1707. ds_data_inhist2.addRow();
  1708. }
  1709. }
  1710. function chk_ophistinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1711. {
  1712. if(ds_data_ophist1.getColumn(0, "ophistinclyn") == "1")
  1713. {
  1714. var isEmptyYN = "Y";
  1715. isEmptyYN = isCheckGridDataYN(grd_ophist);
  1716. var rtn = fSetStatus(7);
  1717. if(rtn == "6") {
  1718. ds_data_ophist2.clearData();
  1719. btn_ophistadd.enable = false;
  1720. btn_ophistdel.enable = false;
  1721. btn_ophistpop.enable = false;
  1722. } else if(rtn == "7") {
  1723. //model.setValue("/root/main/histinfo/ophistinfo/ophist/ophistinclyn", "");
  1724. ds_data_ophist1.setColumn(0, "ophistinclyn", "");
  1725. }
  1726. } else {
  1727. btn_ophistadd.enable = true;
  1728. btn_ophistdel.enable = true;
  1729. btn_ophistpop.enable = true;
  1730. ds_data_ophist2.addRow();
  1731. }
  1732. }
  1733. function chk_rectmedistatinclyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1734. {
  1735. if(ds_data_rectmedistat1.getColumn(0, "rectmedistatinfoinclyn") == "1")
  1736. {
  1737. var isEmptyYN = "Y";
  1738. isEmptyYN = isCheckGridDataYN(grd_rectmedistat);
  1739. var rtn = fSetStatus(8);
  1740. if(rtn == "6") {
  1741. ds_data_rectmedistat2.clearData();
  1742. btn_rectmedistatadd.enable = false;
  1743. btn_rectmedistatdel.enable = false;
  1744. }
  1745. else if(rtn == "7")
  1746. {
  1747. //model.setValue("/root/main/wardrecinfo/rectmedistatinfo/rectmedistat/rectmedistatinfoinclyn", "");
  1748. ds_data_rectmedistat1.setColumn(0, "rectmedistatinfoinclyn", "");
  1749. }
  1750. } else {
  1751. btn_rectmedistatadd.enable = true;
  1752. btn_rectmedistatdel.enable = true;
  1753. ds_data_rectmedistat2.addRow();
  1754. }
  1755. }
  1756. function grp_anti_btn_anti1_onclick(obj:Button, e:ClickEventInfo)
  1757. {
  1758. var antitype = utlf_transNullToEmpty(ds_main_allgtemp.getColumn(0, "antitype"));
  1759. var antilabel = grp_anti.rdo_anti.text;
  1760. var antidesc = utlf_transNullToEmpty(ds_main_allgtemp.getColumn(0, "antidesc"));
  1761. var allgrow = ds_main_allgtemp.getColumn(0, "row");
  1762. var allgcol = eval(ds_main_allgtemp.getColumn(0, "col")) + 1;
  1763. //var alldesc = utlf_transNullToEmpty(grd_allghist.getCellValue(allgrow, allgcol));
  1764. var alldesc = utlf_transNullToEmpty(ds_data_allghist2.getColumn(allgrow, "allergespec"));
  1765. if (!utlf_isNull(alldesc) && !utlf_isNull(antitype)) {
  1766. alldesc = alldesc + ",";
  1767. }
  1768. if (antitype == "3") {
  1769. if (!utlf_isNull(antidesc)) {
  1770. antidesc = ":" + antidesc;
  1771. }
  1772. } else {
  1773. antidesc = "";
  1774. }
  1775. var allgdesc = alldesc + antilabel + antidesc;
  1776. ds_data_allghist2.setColumn(allgrow, "allergespec", allgdesc);
  1777. ds_main_allgtemp.clearData();
  1778. //allergespec
  1779. grp_anti.visible = false;
  1780. grp_anti.rdo_anti.visible = false;
  1781. grp_anti.txt_anti.visible = false;
  1782. grp_anti.btn_anti1.visible = false;
  1783. grp_anti.btn_anti2.visible = false;
  1784. }
  1785. function fChkNoneInspCode(IptPath, IptID){
  1786. if(ds_main_wardrecinfo.getColumn(0, IptPath) == NoneInspCode){
  1787. sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  1788. ds_main_wardrecinfo.setColumn(0, IptPath, "");
  1789. IptID.setFocus();
  1790. return;
  1791. }
  1792. }
  1793. function grp_basebdinfo_ipt_bdht_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1794. {
  1795. //측정불가 코드값입력 blocking_20090310_SMY
  1796. // if(ds_main_wardrecinfo.getColumn(0, "spo2") == NoneInspCode){
  1797. // sysf_messageBox(NoneInspCode + "은 입력할 수 없는 값입니다.", "I");
  1798. // ds_main_wardrecinfo.setColumn(0, "spo2", "");
  1799. // grp_basebdinfo.ipt_spo2.setFocus();
  1800. // return;
  1801. // }
  1802. fChkNoneInspCode("bdht", grp_basebdinfo.ipt_bdht);
  1803. }
  1804. function grp_basebdinfo_ipt_bdtp_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1805. {
  1806. fChkNoneInspCode("bdtp", grp_basebdinfo.ipt_bdtp);
  1807. }
  1808. function grp_basebdinfo_ipt_bdwt_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1809. {
  1810. fChkNoneInspCode("bdwt", grp_basebdinfo.ipt_bdwt);
  1811. }
  1812. function grp_basebdinfo_ipt_breth_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1813. {
  1814. fChkNoneInspCode("breth", grp_basebdinfo.ipt_breth);
  1815. }
  1816. function grp_basebdinfo_ipt_highbp_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1817. {
  1818. fChkNoneInspCode("highbp", grp_basebdinfo.ipt_highbp);
  1819. }
  1820. function grp_basebdinfo_ipt_lowbp_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1821. {
  1822. fChkNoneInspCode("lowbp", grp_basebdinfo.ipt_lowbp);
  1823. }
  1824. function grp_basebdinfo_ipt_pulse_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1825. {
  1826. fChkNoneInspCode("pulse", grp_basebdinfo.ipt_pulse);
  1827. }
  1828. function grp_basebdinfo_ipt_spo2_onkillfocus(obj:MaskEdit, e:KillFocusEventInfo)
  1829. {
  1830. fChkNoneInspCode("spo2", grp_basebdinfo.ipt_spo2);
  1831. }
  1832. function grp_basebdinfo_chk_bdhtinspyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1833. {
  1834. if(ds_main_wardrecinfo.getColumn(0, "bdhtinspyn") == "Y")
  1835. {
  1836. grp_basebdinfo.ipt_bdwt.enable = false;
  1837. ds_main_wardrecinfo.setColumn(0, "bdht", "");
  1838. grp_basebdinfo.ipt_bdht.style.background.color = "gainsboro";
  1839. }
  1840. else
  1841. {
  1842. grp_basebdinfo.ipt_bdwt.enable = true;
  1843. grp_basebdinfo.ipt_bdht.style.background.color = "#ffe4b5ff";
  1844. }
  1845. }
  1846. function grp_basebdinfo_chk_bdtpinspyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1847. {
  1848. if(ds_main_wardrecinfo.getColumn(0, "bdtpinspyn") == "Y")
  1849. {
  1850. grp_basebdinfo.ipt_bdtp.enable = false;
  1851. grp_basebdinfo.cmb_bdtp.enable = false;
  1852. ds_main_wardrecinfo.setColumn(0, "bdtp", "");
  1853. ds_main_wardrecinfo.setColumn(0, "bdtppartcd", "");
  1854. }else{
  1855. grp_basebdinfo.ipt_bdtp.disabled = true;
  1856. grp_basebdinfo.cmb_bdtp.disabled = true;
  1857. }
  1858. }
  1859. function grp_basebdinfo_chk_bdwtinspyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1860. {
  1861. if(ds_main_wardrecinfo.getColumn(0, "bdwtinspyn") == "Y")
  1862. {
  1863. grp_basebdinfo.ipt_bdwt.enable = false;
  1864. ds_main_wardrecinfo.setColumn(0, "bdwt", "");
  1865. grp_basebdinfo.ipt_bdwt.style.background.color = "gainsboro";
  1866. }else{
  1867. grp_basebdinfo.ipt_bdwt.enable = true;
  1868. grp_basebdinfo.ipt_bdwt.style.background.color = "#ffe4b5ff";
  1869. }
  1870. }
  1871. function grp_basebdinfo_chk_bpinspyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1872. {
  1873. if(ds_main_wardrecinfo.getColumn(0, "bpinspyn") == "Y")
  1874. {
  1875. grp_basebdinfo.ipt_highbp.enable = false;
  1876. grp_basebdinfo.ipt_lowbp.enable = false;
  1877. ds_main_wardrecinfo.setColumn(0, "highbp", "");
  1878. ds_main_wardrecinfo.setColumn(0, "lowbp", "");
  1879. }else{
  1880. grp_basebdinfo.ipt_highbp.enable = true;
  1881. grp_basebdinfo.ipt_lowbp.enable = true;
  1882. }
  1883. }
  1884. function grp_basebdinfo_chk_brethinspyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1885. {
  1886. if(ds_main_wardrecinfo.getColumn(0, "brethinspyn") == "Y")
  1887. {
  1888. grp_basebdinfo.ipt_breth.enable = false;
  1889. ds_main_wardrecinfo.setColumn(0, "breth", "");
  1890. }else{
  1891. grp_basebdinfo.ipt_breth.enable = true;
  1892. }
  1893. }
  1894. function grp_basebdinfo_chk_pulseinspyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1895. {
  1896. if(ds_main_wardrecinfo.getColumn(0, "pulseinspyn") == "Y")
  1897. {
  1898. grp_basebdinfo.ipt_pulse.enable = false;
  1899. ds_main_wardrecinfo.setColumn(0, "pulse", "");
  1900. }else{
  1901. grp_basebdinfo.ipt_pulse.enable = true;
  1902. }
  1903. }
  1904. function grp_basebdinfo_chk_spo2inspyn_onclick(obj:CheckBox, e:ClickEventInfo)
  1905. {
  1906. if(ds_main_wardrecinfo.getColumn(0, "spo2inspyn") == "Y")
  1907. {
  1908. grp_basebdinfo.ipt_spo2.disabled = true;
  1909. ds_main_wardrecinfo.setColumn(0, "spo2", "");
  1910. grp_basebdinfo.ipt_spo2.style.background.color = "gainsboro";
  1911. }else{
  1912. grp_basebdinfo.ipt_spo2.enable = true;
  1913. grp_basebdinfo.ipt_spo2.style.background.color = "#ffe4b5ff";
  1914. }
  1915. }
  1916. function grd_allghist_oncloseup(obj:Grid, e:GridEditEventInfo)
  1917. {
  1918. grd_allghist.updateToDataset();
  1919. if (e.col == 1)
  1920. {
  1921. if (ds_data_allghist2.getColumn(ds_data_allghist2.rowposition, "flag") == "07")
  1922. {
  1923. // 분류값이 항생제로 선택이 되면..
  1924. ds_main_allgtemp.addColumn("antitype", "string");
  1925. ds_main_allgtemp.addColumn("antidesc", "string");
  1926. dsf_makeValue(ds_main_allgtemp, "row", "string", grd_allghist.currentrow);
  1927. dsf_makeValue(ds_main_allgtemp, "col", "string", grd_allghist.currentcol);
  1928. grp_anti.visible = true;
  1929. grp_anti.rdo_anti.visible = true;
  1930. grp_anti.txt_anti.visible = true;
  1931. grp_anti.btn_anti1.visible = true;
  1932. grp_anti.btn_anti2.visible = true;
  1933. }
  1934. else if ( ds_data_allghist2.getColumn(ds_data_allghist2.rowposition, "flag") == "06")
  1935. {
  1936. // 조영제로 선택이 되면
  1937. sysf_messageBox("조영제에 대한 ADR 입력 화면으로 연결됩니다.", "I999");
  1938. frmf_modal("SPMMD03300","SPMMD03300","", 1, 10, 10,"","", "", "", "", "", "M");
  1939. }
  1940. else
  1941. {
  1942. grp_anti.visible = false;
  1943. grp_anti.rdo_anti.visible = false;
  1944. grp_anti.txt_anti.visible = false;
  1945. grp_anti.btn_anti1.visible = false;
  1946. grp_anti.btn_anti2.visible = false;
  1947. }
  1948. }
  1949. }
  1950. function grp_anti_btn_anti2_onclick(obj:Button, e:ClickEventInfo)
  1951. {
  1952. grp_anti.visible = false;
  1953. grp_anti.rdo_anti.visible = false;
  1954. grp_anti.txt_anti.visible = false;
  1955. grp_anti.btn_anti1.visible = false;
  1956. grp_anti.btn_anti2.visible = false;
  1957. ds_main_allgtemp.clearData();
  1958. }
  1959. function grd_inhist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1960. {
  1961. trace(obj.getCellProperty("body", e.col, "displaytype"));
  1962. }
  1963. function ipt_indt_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  1964. {
  1965. var posttext = utlf_trim(e.posttext.replace(":",""));
  1966. if(!utlf_isNull(posttext.substring(0,1))){
  1967. if(eval(posttext.substring(0,1)) > 2){
  1968. ipt_indt.value = "";
  1969. ipt_indt.setCaretPos(0);
  1970. return;
  1971. }
  1972. }
  1973. if(!utlf_isNull(posttext.substring(1,2))){
  1974. if(eval(posttext.substring(0,1)) > 1){
  1975. if(eval(posttext.substring(1,2)) > 3){
  1976. ipt_indt.value = posttext.substring(0,1);
  1977. ipt_indt.setCaretPos(1);
  1978. return;
  1979. }
  1980. }
  1981. }
  1982. if(!utlf_isNull(posttext.substring(3,2))){
  1983. if(eval(posttext.substring(3,2)) > 5){
  1984. ipt_indt.value = posttext.substring(0,2);
  1985. ipt_indt.setCaretPos(2);
  1986. return;
  1987. }
  1988. }
  1989. }
  1990. function ipt_attackdt_ontextchange(obj:MaskEdit, e:TextChangeEventInfo)
  1991. {
  1992. var posttext = utlf_trim(e.posttext.replace(":",""));
  1993. if(!utlf_isNull(posttext.substring(0,1))){
  1994. if(eval(posttext.substring(0,1)) > 2){
  1995. ipt_attackdt.value = "";
  1996. ipt_attackdt.setCaretPos(0);
  1997. return;
  1998. }
  1999. }
  2000. if(!utlf_isNull(posttext.substring(1,2))){
  2001. if(eval(posttext.substring(0,1)) > 1){
  2002. if(eval(posttext.substring(1,2)) > 3){
  2003. ipt_attackdt.value = posttext.substring(0,1);
  2004. ipt_attackdt.setCaretPos(1);
  2005. return;
  2006. }
  2007. }
  2008. }
  2009. if(!utlf_isNull(posttext.substring(3,2))){
  2010. if(eval(posttext.substring(3,2)) > 5){
  2011. ipt_attackdt.value = posttext.substring(0,2);
  2012. ipt_attackdt.setCaretPos(2);
  2013. return;
  2014. }
  2015. }
  2016. }
  2017. function rdo_nationalityflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2018. {
  2019. if(ds_main_wardrecinfo.getColumn(0, "nationalityflag") == "N") {
  2020. ds_main_wardrecinfo.setColumn(0, "nationalitynm", "");
  2021. ipt_nationalitynm.enable = false;
  2022. } else {
  2023. ipt_nationalitynm.enable = true;
  2024. }
  2025. }
  2026. ]]></Script>
  2027. </Form>
  2028. </FDL>