SMAHA04380_건강검진결과.xrw 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHA04370.xrw
  4. * 설 명 : 건강검진결과
  5. * 설 계 자 : 서원식
  6. * 작 성 자 : 서원식
  7. * 작 성 일 : 2011.11.20
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>건강검진결과</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <acptinfo>
  20. <rsltlst>
  21. <item>
  22. <prcpdd/>
  23. <execprcpuniqno/>
  24. <prcpno/>
  25. <testcd/>
  26. <testnm/>
  27. <testrsltcnts>
  28. </testrsltcnts>
  29. <outtestrsltcnts/>
  30. <rsltunit/>
  31. <rsltflag/>
  32. <remcnts/>
  33. <assorsltcnts/>
  34. <judgcd/>
  35. <judgrsltcnts/>
  36. <inptflag/>
  37. <choirslt>
  38. <item/>
  39. </choirslt>
  40. <judgmark/>
  41. <refh/>
  42. <refl/>
  43. </item>
  44. </rsltlst>
  45. <judginfo>
  46. <firstjudg>
  47. <fst_inqryn>Y</fst_inqryn>
  48. <fst_estmamt/>
  49. <fst_judgcd/>
  50. <fst_bjudgdetl/>
  51. <fst_etcsickflag/>
  52. <fst_etcsickcnts/>
  53. <fst_cjudgdetl/>
  54. <fst_etcsickcnts1/>
  55. <fst_r1judgdetl/>
  56. <fst_etcsickcnts2/>
  57. <fst_r2judgdetl/>
  58. <fst_judgexamcd/>
  59. <fst_judgexamcnts/>
  60. <fst_histflag/>
  61. <fst_histcnts/>
  62. <fst_lifestatflag/>
  63. <fst_lifestatcnts/>
  64. <fst_trmaflag/>
  65. <fst_gnrlstatflag/>
  66. <fst_judgdd/>
  67. <fst_judgdrid/>
  68. <fst_d1sickyn/>
  69. <fst_d1sickcd/>
  70. <fst_d2sickyn/>
  71. <fst_d2sickcd/>
  72. <fst_aftmngt/>
  73. <fst_ajudgcd/>
  74. <fst_bjudgcd/>
  75. <fst_cjudgcd/>
  76. <fst_r1judgcd/>
  77. <fst_r2judgcd/>
  78. </firstjudg>
  79. <firstd1sicklst>
  80. <judgdetlcd/>
  81. <sickcd/>
  82. <sicknm/>
  83. </firstd1sicklst>
  84. <firstd2sicklst>
  85. <judgdetlcd/>
  86. <sickcd/>
  87. <sicknm/>
  88. </firstd2sicklst>
  89. <secondjudg>
  90. <sec_judgcd/>
  91. <sec_D1sickcd/>
  92. <sec_D2sickcd/>
  93. <sec_aftercd/>
  94. <sec_judgexamcd/>
  95. <sec_rsltsmmcnt/>
  96. <sec_judgdd/>
  97. <sec_judgdrid/>
  98. <sec_bjudgdetl/>
  99. <sec_cjudgdetl/>
  100. <sec_d2judgdetl/>
  101. <sec_d1judgdetl/>
  102. <sec_colgrecmfact/>
  103. <sec_glycosyn/>
  104. <sec_hypetsyn/>
  105. <sec_glycosdetl/>
  106. <sec_hypetsdetl/>
  107. <sec_glycosanamnesisyn/>
  108. <sec_hypetsanamnesisyn/>
  109. <sec_glycosanamnesisdetl/>
  110. <sec_hypetsanamnesisdetl/>
  111. <sec_awarfunthandcap/>
  112. <sec_melancholia1/>
  113. <sec_melancholia2/>
  114. <sec_smokyn/>
  115. <sec_smoknicotinedepend/>
  116. <sec_smokprcp/>
  117. <sec_drunkyn/>
  118. <sec_drunkvalu/>
  119. <sec_drunkprcp/>
  120. <sec_exeryn/>
  121. <sec_exervalu/>
  122. <sec_exerkind/>
  123. <sec_exertm/>
  124. <sec_exertims/>
  125. <sec_nutryn/>
  126. <sec_nutrvalu/>
  127. <sec_nutrprcprecm/>
  128. <sec_nutrprcptemperance/>
  129. <sec_nutrmealhabit/>
  130. <sec_nutrlnk/>
  131. <sec_fatyn/>
  132. <sec_fatsievqtyindx/>
  133. <sec_fatabdmn/>
  134. <sec_fatprcp/>
  135. <sec_scndjudgdd/>
  136. <sec_scndjudgdrid/>
  137. </secondjudg>
  138. <oraljudg>
  139. <oral_estmamt/>
  140. <oral_judgcd/>
  141. <oral_judgdrid/>
  142. <oral_judgdd/>
  143. </oraljudg>
  144. <specjudg/>
  145. <genrjudg/>
  146. <lifehabitprcp>
  147. <atdoct/>
  148. <smokflag/>
  149. <nicodepend/>
  150. <nosmokbookread/>
  151. <nicochangeregm/>
  152. <nosmokdrug/>
  153. <suppservice/>
  154. <suppserviceetc/>
  155. <smokbettersick/>
  156. <drunkstat/>
  157. <nodrunkday/>
  158. <daydrunkcnt/>
  159. <weekdrunkcnt/>
  160. <drunkrestday/>
  161. <drunkdiary/>
  162. <nodrunkbook/>
  163. <drunkdrug/>
  164. <drunketc/>
  165. <drunkbettersick/>
  166. <exergrade/>
  167. <exerkind/>
  168. <exerkindetc/>
  169. <exertime/>
  170. <exertimeetc/>
  171. <exercnt/>
  172. <exerbettersick/>
  173. <exerbettersicketc/>
  174. <exerreq/>
  175. <ntrhabit/>
  176. <ntrhabitbetterprcp/>
  177. <ntrbettersick/>
  178. <ntrbettersicketc/>
  179. <ntrreq/>
  180. <bodyweight/>
  181. <fatstat/>
  182. <sickoccurgrade/>
  183. <reduweightper/>
  184. <goalweight/>
  185. <goalmonth/>
  186. <reduweight/>
  187. <fatprcp/>
  188. <fatdrugcure/>
  189. <fatprcpetc/>
  190. <fatbettersick/>
  191. <fatbettersicketc/>
  192. <fatreq/>
  193. <nosmokuseyn/>
  194. <nodrunkuseyn/>
  195. <exeruseyn/>
  196. <nutritionuseyn/>
  197. <fatuseyn/>
  198. </lifehabitprcp>
  199. <etcjudg>
  200. <etc_judgdd/>
  201. <etc_judgdrid/>
  202. <etc_judgexamcnts/>
  203. </etcjudg>
  204. <totjudg>
  205. <totcmtcnts/>
  206. </totjudg>
  207. </judginfo>
  208. </acptinfo>
  209. <userinfo>
  210. <age/>
  211. <ptnm/>
  212. <rrgstno1/>
  213. <rrgstno2/>
  214. </userinfo>
  215. <patminfo>
  216. <pid/>
  217. </patminfo>
  218. <healacptinfo>
  219. <rsrvdd/>
  220. <rsrvno/>
  221. <pid/>
  222. <orddd/>
  223. <cretno/>
  224. <hopedd/>
  225. </healacptinfo>
  226. <gnrljudginfo>
  227. <rsrvdd/>
  228. <rsrvno/>
  229. <pid/>
  230. <orddd/>
  231. <cretno/>
  232. </gnrljudginfo>
  233. </main>
  234. <send>
  235. <srchinstcd/>
  236. <srchhealexamflag/>
  237. <srchhealexamdetlflag/>
  238. <srchrsrvdd/>
  239. <srchrsrvno/>
  240. <srchpid/>
  241. <srchorddd/>
  242. <srchcretno/>
  243. <srchpkgcd/>
  244. <srchhopedd/>
  245. <srchsex/>
  246. <srchrsltflag/>
  247. <srchchoiflag/>
  248. <srchcond/>
  249. <srchclscd/>
  250. <srchetccd/>
  251. <searchuserinfo>
  252. <userid/>
  253. </searchuserinfo>
  254. <searchpatminfo>
  255. <hngnm/>
  256. <rrgstno1/>
  257. <rrgstno2/>
  258. </searchpatminfo>
  259. <searchacptinfo>
  260. <healexamflag/>
  261. <pid/>
  262. <appyear/>
  263. </searchacptinfo>
  264. <searchgnrljudginfo>
  265. <healexamflag/>
  266. <rsrvdd/>
  267. <rsrvno/>
  268. <pid/>
  269. <orddd/>
  270. <cretno/>
  271. <hopedd/>
  272. </searchgnrljudginfo>
  273. </send>
  274. <init>
  275. <baseinfo>
  276. <drlst>
  277. <itemdr/>
  278. </drlst>
  279. <item/>
  280. <comcodelst>
  281. <item/>
  282. </comcodelst>
  283. <yearlist/>
  284. </baseinfo>
  285. <judginfo>
  286. <judgcdlst>
  287. <item>
  288. <cd/>
  289. <nm/>
  290. </item>
  291. </judgcdlst>
  292. <Bjudglst>
  293. <item>
  294. <cd/>
  295. <nm/>
  296. </item>
  297. </Bjudglst>
  298. <Cjudglst>
  299. <item>
  300. <cd/>
  301. <nm/>
  302. </item>
  303. </Cjudglst>
  304. <R1judglst>
  305. <item>
  306. <cd/>
  307. <nm/>
  308. </item>
  309. </R1judglst>
  310. <R2judglst>
  311. <item>
  312. <cd/>
  313. <nm/>
  314. </item>
  315. </R2judglst>
  316. <etcsickflaglst>
  317. <item>
  318. <cd/>
  319. <nm/>
  320. </item>
  321. </etcsickflaglst>
  322. <aftmngtcdlst>
  323. <item>
  324. <cd/>
  325. <nm/>
  326. </item>
  327. </aftmngtcdlst>
  328. <glycoscdlist>
  329. <item>
  330. <cd/>
  331. <nm/>
  332. </item>
  333. </glycoscdlist>
  334. <hypetscdlist>
  335. <item>
  336. <cd/>
  337. <nm/>
  338. </item>
  339. </hypetscdlist>
  340. <glycosanamnesiscdlist>
  341. <item>
  342. <cd/>
  343. <nm/>
  344. </item>
  345. </glycosanamnesiscdlist>
  346. <hypetsanamnesiscdlist>
  347. <item>
  348. <cd/>
  349. <nm/>
  350. </item>
  351. </hypetsanamnesiscdlist>
  352. <oraljudglst>
  353. <item>
  354. <cd/>
  355. <nm/>
  356. </item>
  357. </oraljudglst>
  358. <sndjudgcdlst>
  359. <item>
  360. <cd/>
  361. <nm/>
  362. </item>
  363. </sndjudgcdlst>
  364. <sndaftercdlst>
  365. <item>
  366. <cd/>
  367. <nm/>
  368. </item>
  369. </sndaftercdlst>
  370. <histdiaglst>
  371. <item>
  372. <cd/>
  373. <nm/>
  374. </item>
  375. </histdiaglst>
  376. <lifestatlst>
  377. <item>
  378. <cd/>
  379. <nm/>
  380. </item>
  381. </lifestatlst>
  382. <lifeflaglst>
  383. <item>
  384. <cd/>
  385. <nm/>
  386. </item>
  387. </lifeflaglst>
  388. <gnrlstatlst>
  389. <item>
  390. <cd/>
  391. <nm/>
  392. </item>
  393. </gnrlstatlst>
  394. <ynlst>
  395. <item>
  396. <cd/>
  397. <nm/>
  398. </item>
  399. </ynlst>
  400. <pjjgcdlst>
  401. <item>
  402. <cd/>
  403. <nm/>
  404. </item>
  405. </pjjgcdlst>
  406. <sjsayoulst>
  407. <item>
  408. <cd/>
  409. <nm/>
  410. </item>
  411. </sjsayoulst>
  412. <pkgcdlst>
  413. <item>
  414. <cd/>
  415. <nm/>
  416. </item>
  417. </pkgcdlst>
  418. <sjudgcdlst>
  419. <item>
  420. <cd/>
  421. <nm/>
  422. </item>
  423. </sjudgcdlst>
  424. <spclflaglst>
  425. <item>
  426. <cd/>
  427. <nm/>
  428. </item>
  429. </spclflaglst>
  430. <shcdlst>
  431. <item>
  432. <cd/>
  433. <nm/>
  434. </item>
  435. </shcdlst>
  436. <upmjhscdlst>
  437. <item>
  438. <cd/>
  439. <nm/>
  440. </item>
  441. </upmjhscdlst>
  442. <awarfunthandcaplst/>
  443. <melancholia1lst/>
  444. <melancholia2lst/>
  445. <smoknicotinedependlst/>
  446. <smokprcplst/>
  447. <drunkvalulst/>
  448. <drunkprcplst/>
  449. <exervalulst/>
  450. <exerkindlst/>
  451. <exertmlst/>
  452. <exertimslst/>
  453. <nutrvalulst/>
  454. <nutrprcprecmlst/>
  455. <nutrprcptemperancelst/>
  456. <nutrmealhabitlst/>
  457. <nutrlnklst/>
  458. <fatsievqtyindxlst/>
  459. <fatabdmnlst/>
  460. <fatprcplst/>
  461. <reactexammthdlst/>
  462. <reactexamrsltlst/>
  463. <colonreadcmtlst/>
  464. <colonsickposlst/>
  465. <colonreadcmtetclst/>
  466. <liescopetestynlst/>
  467. <liescopereadcmtexcisionlst/>
  468. <tissdiagpathotissexamcntlst/>
  469. <tissdiagobscmtlst/>
  470. <tissdiagcncrlst/>
  471. <tissdiagetclst/>
  472. <judgcolonflaglst/>
  473. <liescopetestynlst/>
  474. <tissdiagpathotissexamcntlst/>
  475. <stmcdyereadcmtlst/>
  476. <stmcdyesickposlst/>
  477. <stmcdyereadcmtetclst/>
  478. <stmcescopeobscmtlst/>
  479. <stmctissdiagobscmtlst/>
  480. <tissdiagcncrlst/>
  481. <tissdiagetclst/>
  482. <judgflaglst/>
  483. <reactexamrsltlst/>
  484. <bhptsexammthdlst/>
  485. <bhptsexammthdlst/>
  486. <echoexamobscmtlst/>
  487. <echoexambenisicklst/>
  488. <echoexamhepadoubkindlst/>
  489. <echoexamhepadoubsickposlst/>
  490. <echoexamhepadoubsicksizelst/>
  491. <echoexamhepadoubetclst/>
  492. <serumexamfixqtymthdexamunitlst/>
  493. <mamcncrdtbtqtylst/>
  494. <mamcncrreadcmtlst/>
  495. <mamcncrsickposlst/>
  496. <cervcncrspcstatlst/>
  497. <cervpreepithelialcellynlst/>
  498. <cervcncrkinddiaglst/>
  499. <flatepithelialcelltroblst/>
  500. <flatepithelialcelltrobstatlst/>
  501. <preepithelialcelltroblst/>
  502. <cervcncraddcmtlst/>
  503. <cervcncrjudgflaglst/>
  504. <life_smoklst/>
  505. <life_nicodependlst/>
  506. <life_nosmokbooklst/>
  507. <life_suppservicelst/>
  508. <life_smokbettersicklst/>
  509. <life_drunkstatlst/>
  510. <life_drunkdiarylst/>
  511. <life_nodrunkbooklst/>
  512. <life_nodrunkbettersicklst/>
  513. <life_exergradelst/>
  514. <life_exerkindlst/>
  515. <life_exertimelst/>
  516. <life_exercountlst/>
  517. <life_exerbettersicklst/>
  518. <life_eatlifehabitlst/>
  519. <life_eatlifebetterprcplst/>
  520. <life_nutrbettersicklst/>
  521. <life_bodyweightlst/>
  522. <life_fatlst/>
  523. <life_sickoccurgradelst/>
  524. <life_fatprcplst/>
  525. <life_fatbettersicklst/>
  526. <oraljudglst/>
  527. <etcjudgpkglst/>
  528. <fstjudglst/>
  529. <sendjudglst/>
  530. <chestjudglst/>
  531. <initaddrinfo/>
  532. <printinfolist/>
  533. </judginfo>
  534. <calclst/>
  535. </init>
  536. <tempinfo>
  537. <choilst>
  538. <item3>
  539. <sel/>
  540. <rsltcd/>
  541. <rsltnm/>
  542. </item3>
  543. </choilst>
  544. <newElement/>
  545. </tempinfo>
  546. <temp>
  547. <baseinfo>
  548. <item/>
  549. </baseinfo>
  550. </temp>
  551. </root>
  552. </instance>
  553. <submission id="TRAHA00001"/>
  554. <submission id="TRAHA04370" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchuserinfo" resultref="/root/main/userinfo"/>
  555. <submission id="TRAHA04381" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchpatminfo" resultref="/root/main/patminfo"/>
  556. <submission id="TRAHA04382" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchacptinfo" resultref="/root/main/healacptinfo"/>
  557. <submission id="TRAHA04383" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/searchgnrljudginfo" resultref="/root/main/gnrljudginfo"/>
  558. <submission id="TRAHB00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/baseinfo/item"/>
  559. <submission id="TRAHB01504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/drlst"/>
  560. <submission id="TRAHB00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tempinfo/choilst"/>
  561. <submission id="TRAHB00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tempinfo/assorsltlst"/>
  562. <submission id="TRAHA04330" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/rsltlst"/>
  563. <submission id="TRAHR01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
  564. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  565. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  566. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  567. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  568. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  569. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  570. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  571. <script type="javascript" ev:event="xforms-ready">
  572. <![CDATA[
  573. fGetSearch();
  574. //검진년도를 기준자료로 관리
  575. healGetCodeList( new Array("S900"), new Array("/root/init/baseinfo/yearlist"));
  576. var cur_date = getCurrentDate().toDate("YYYYMMDD");
  577. model.setValue("/root/send/searchacptinfo/appyear" , cur_date.getDateFormat('YYYY'));
  578. model.refresh();
  579. ]]>
  580. </script>
  581. </model>
  582. <script type="javascript">
  583. <![CDATA[
  584. /**===================================================================================
  585. * 조회
  586. =====================================================================================*/
  587. function fGetSearch(){
  588. model.removeNodeset("/root/main/acptinfo/rsltlst"); //검사결과
  589. model.resetInstanceNode("/root/main/acptinfo/judginfo"); //판정내용
  590. if(fGetUserinfo()){ //사용자정보 조회
  591. if(fGetPatminfo()){ //환자정보 조회
  592. if(fGetAcptinfo()){ //접수정보 조회
  593. if(fGetGnrljudginfo()){ //판정정보 조회
  594. openLoadingBar("건강검진 결과정보 ");
  595. fGetBasicCd(); //공통코드 조회
  596. fGetBasicCdList(); //기본코드 내역 가져오기
  597. fGetRsltInfo(); //결과정보, 판정정보 조회
  598. fSetGridInitState(grd_rsltlst); //grd_rsltlst 색 변경
  599. closeLoadingBar();
  600. }
  601. }
  602. }
  603. }
  604. model.refresh();
  605. }
  606. /**===================================================================================
  607. * 사용자정보 조회
  608. =====================================================================================*/
  609. function fGetUserinfo(){
  610. model.setValue("/root/send/searchuserinfo/userid", getUserId());
  611. if(submit("TRAHA04370")){
  612. if(model.getValue("/root/main/userinfo/ptnm") == ""
  613. || model.getValue("/root/main/userinfo/rrgstno1") == ""
  614. || model.getValue("/root/main/userinfo/rrgstno2") == ""
  615. || model.getValue("/root/main/userinfo/age") == ""){
  616. messageBox("사용자정보가 유효하지 않습니다.", "E999");
  617. return false;
  618. }else{
  619. return true;
  620. }
  621. }else{
  622. messageBox("사용자정보가 존재하지 않습니다.", "E999");
  623. return false;
  624. }
  625. }
  626. /**===================================================================================
  627. * 건진 환자정보 조회
  628. =====================================================================================*/
  629. function fGetPatminfo(){
  630. model.setValue("/root/send/searchpatminfo/hngnm" , model.getValue("/root/main/userinfo/ptnm"));
  631. model.setValue("/root/send/searchpatminfo/rrgstno1" , model.getValue("/root/main/userinfo/rrgstno1"));
  632. model.setValue("/root/send/searchpatminfo/rrgstno2" , model.getValue("/root/main/userinfo/rrgstno2"));
  633. if(submit("TRAHA04381")){
  634. if(model.getValue("/root/main/patminfo/pid") == ""){
  635. messageBox("건강검진 환자정보가 존재하지 않습니다", "E999");
  636. return false;
  637. }
  638. return true;
  639. }
  640. }
  641. /**===================================================================================
  642. * 건진 접수정보 조회
  643. =====================================================================================*/
  644. function fGetAcptinfo(){
  645. model.setValue("/root/send/searchacptinfo/healexamflag" , "G");
  646. model.setValue("/root/send/searchacptinfo/pid" , model.getValue("/root/main/patminfo/pid"));
  647. if(submit("TRAHA04382")){
  648. var rsrvdd = model.getValue("/root/main/healacptinfo/rsrvdd");
  649. var rsrvno = model.getValue("/root/main/healacptinfo/rsrvno");
  650. var pid = model.getValue("/root/main/healacptinfo/pid");
  651. var orddd = model.getValue("/root/main/healacptinfo/orddd");
  652. var cretno = model.getValue("/root/main/healacptinfo/cretno");
  653. var hopedd = model.getValue("/root/main/healacptinfo/hopedd");
  654. if(rsrvdd == "" || rsrvno == "" || pid == "" || orddd == "" || cretno == "" || hopedd == ""){
  655. messageBox("건진이력이 없습니다.", "E999");
  656. return false;
  657. }else{
  658. model.setValue("/root/send/searchgnrljudginfo/healexamflag" , "G");
  659. model.setValue("/root/send/searchgnrljudginfo/rsrvdd" , rsrvdd);
  660. model.setValue("/root/send/searchgnrljudginfo/rsrvno" , rsrvno);
  661. model.setValue("/root/send/searchgnrljudginfo/pid" , pid);
  662. model.setValue("/root/send/searchgnrljudginfo/orddd" , orddd);
  663. model.setValue("/root/send/searchgnrljudginfo/cretno" , cretno);
  664. model.setValue("/root/send/searchgnrljudginfo/hopedd" , hopedd);
  665. return true;
  666. }
  667. }
  668. }
  669. /**===================================================================================
  670. * 건진 판정정보 조회
  671. =====================================================================================*/
  672. function fGetGnrljudginfo(){
  673. if(submit("TRAHA04383")){
  674. var rsrvdd = model.getValue("/root/main/gnrljudginfo/rsrvdd");
  675. var rsrvno = model.getValue("/root/main/gnrljudginfo/rsrvno");
  676. var pid = model.getValue("/root/main/gnrljudginfo/pid");
  677. var orddd = model.getValue("/root/main/gnrljudginfo/orddd");
  678. var cretno = model.getValue("/root/main/gnrljudginfo/cretno");
  679. var pkgcd = model.getValue("/root/main/gnrljudginfo/pkgcd");
  680. var hopedd = model.getValue("/root/main/gnrljudginfo/hopedd");
  681. if(rsrvdd == "" || rsrvno == "" || pid == "" || hopedd == "" || orddd == "" || cretno == ""|| pkgcd == ""){
  682. messageBox("결과 및 판정 진행중 입니다.", "E999");
  683. return false;
  684. }else{
  685. model.setValue("/root/send/srchinstcd" , getUserInfo("dutplceinstcd"));
  686. model.setValue("/root/send/srchhealexamflag" , "G");
  687. model.setValue("/root/send/srchhealexamdetlflag" , "G01");
  688. model.setValue("/root/send/srchrsrvdd" , rsrvdd);
  689. model.setValue("/root/send/srchrsrvno" , rsrvno);
  690. model.setValue("/root/send/srchpid" , pid);
  691. model.setValue("/root/send/srchorddd" , orddd);
  692. model.setValue("/root/send/srchcretno" , cretno);
  693. model.setValue("/root/send/srchpkgcd" , pkgcd);
  694. model.setValue("/root/send/srchhopedd" , hopedd);
  695. return true;
  696. }
  697. }
  698. }
  699. /**===================================================================================
  700. *결과정보, 판정정보 조회
  701. =====================================================================================*/
  702. function fGetRsltInfo(){
  703. if(fCheckExamInfo()){ //결과 및 판정내역을 조회하기 위한 조건정보 체크
  704. if(submit("TRAHA04330", false)){ //결과정보 조회
  705. fGetJudgInfo(); //판정정보 조회
  706. }
  707. }
  708. }
  709. /**===================================================================================
  710. * 판정정보 조회
  711. =====================================================================================*/
  712. function fGetJudgInfo(){
  713. submit("TRAHR01004", false); //1차건진결과[공단건진]
  714. //문진유무
  715. var inqryn = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_inqryn");
  716. if(inqryn == ""){
  717. model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_inqryn", "Y");
  718. }
  719. //판정의설정
  720. if(model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid") == ""){
  721. model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid", getUserInfo("userid"));
  722. }
  723. }
  724. /**===================================================================================
  725. * 결과 및 판정내역을 조회하기 위한 조건정보 체크
  726. =====================================================================================*/
  727. function fCheckExamInfo(){
  728. //환자정보 설정
  729. var rsrvdd = model.getValue("/root/send/srchrsrvdd");
  730. var rsrvno = model.getValue("/root/send/srchrsrvno");
  731. var pid = model.getValue("/root/send/srchpid");
  732. var orddd = model.getValue("/root/send/srchorddd");
  733. var cretno = model.getValue("/root/send/srchcretno");
  734. var pkgcd = model.getValue("/root/send/srchpkgcd");
  735. var hopedd = model.getValue("/root/send/srchhopedd");
  736. if((rsrvdd == "") || (rsrvno == "") || (pid == "") || (orddd == "") || (pkgcd == "")){
  737. messageBox("유효하지 않은 데이터 입니다!", "E999");
  738. return false;
  739. }else{
  740. return true;
  741. }
  742. }
  743. /**===================================================================================
  744. *조건 공통코드 호출
  745. =====================================================================================*/
  746. function fGetBasicCd(){
  747. //grd_rsltlst - 분류코드
  748. model.setValue("/root/send/srchclscd" , "G");
  749. model.setValue("/root/send/srchetccd" , "G10");
  750. submit("TRAHB00604", false);
  751. var nd = instance1.selectSingleNode("/root/temp/baseinfo/comcodelst");
  752. if(nd != null){
  753. copyNodesetType("/root/init/baseinfo/comcodelst/item", "/root/temp/baseinfo/comcodelst/item", "replace");
  754. }
  755. }
  756. /**===================================================================================
  757. *기본코드 내역 가져오기
  758. =====================================================================================*/
  759. function fGetBasicCdList(){
  760. //일반, 생애1,2차 iView 에 사용될 공통항목 조회
  761. healGetCodeList( new Array("G028","G072","G073","G074","G075","G076","G015","G016","G017","G018"
  762. ,"G019","G020","G021","G022","G023","G024","G025","G026","G027"
  763. ,'G077','G078','G079','G080','G081','G082','G083','G084','G085'
  764. ,'G086','G087','G088','G089','G090','G091','G092','G093','G094'
  765. ,'G095','G096','G097','G098','G102','G103')
  766. , new Array("/root/init/judginfo/awarfunthandcaplst"
  767. ,"/root/init/judginfo/melancholia1lst"
  768. ,"/root/init/judginfo/melancholia2lst"
  769. ,"/root/init/judginfo/smoknicotinedependlst"
  770. ,"/root/init/judginfo/smokprcplst"
  771. ,"/root/init/judginfo/drunkvalulst"
  772. ,"/root/init/judginfo/drunkprcplst"
  773. ,"/root/init/judginfo/exervalulst"
  774. ,"/root/init/judginfo/exerkindlst"
  775. ,"/root/init/judginfo/exertmlst"
  776. ,"/root/init/judginfo/exertimslst"
  777. ,"/root/init/judginfo/nutrvalulst"
  778. ,"/root/init/judginfo/nutrprcprecmlst"
  779. ,"/root/init/judginfo/nutrprcptemperancelst"
  780. ,"/root/init/judginfo/nutrmealhabitlst"
  781. ,"/root/init/judginfo/nutrlnklst"
  782. ,"/root/init/judginfo/fatsievqtyindxlst"
  783. ,"/root/init/judginfo/fatabdmnlst"
  784. ,"/root/init/judginfo/fatprcplst"
  785. ,"/root/init/judginfo/life_smoklst"
  786. ,"/root/init/judginfo/life_nicodependlst"
  787. ,"/root/init/judginfo/life_nosmokbooklst"
  788. ,"/root/init/judginfo/life_suppservicelst"
  789. ,"/root/init/judginfo/life_smokbettersicklst"
  790. ,"/root/init/judginfo/life_drunkstatlst"
  791. ,"/root/init/judginfo/life_drunkdiarylst"
  792. ,"/root/init/judginfo/life_nodrunkbooklst"
  793. ,"/root/init/judginfo/life_nodrunkbettersicklst"
  794. ,"/root/init/judginfo/life_exergradelst"
  795. ,"/root/init/judginfo/life_exerkindlst"
  796. ,"/root/init/judginfo/life_exertimelst"
  797. ,"/root/init/judginfo/life_exercountlst"
  798. ,"/root/init/judginfo/life_exerbettersicklst"
  799. ,"/root/init/judginfo/life_eatlifehabitlst"
  800. ,"/root/init/judginfo/life_eatlifebetterprcplst"
  801. ,"/root/init/judginfo/life_nutrbettersicklst"
  802. ,"/root/init/judginfo/life_bodyweightlst"
  803. ,"/root/init/judginfo/life_fatlst"
  804. ,"/root/init/judginfo/life_sickoccurgradelst"
  805. ,"/root/init/judginfo/life_fatprcplst"
  806. ,"/root/init/judginfo/life_fatbettersicklst"
  807. ,"/root/init/judginfo/oraljudglst"
  808. ,"/root/init/judginfo/etcjudgpkglst"));
  809. //combo가 아닌 것은 removeNodeset으로 셋팅
  810. model.removeNodeset("/root/init/judginfo/nutrvalulst/G020[1]");
  811. model.removeNodeset("/root/init/judginfo/nutrprcprecmlst/G021[1]");
  812. model.removeNodeset("/root/init/judginfo/nutrprcptemperancelst/G022[1]");
  813. model.removeNodeset("/root/init/judginfo/nutrmealhabitlst/G023[1]");
  814. model.removeNodeset("/root/init/judginfo/nutrlnklst/G024[1]");
  815. model.removeNodeset("/root/init/judginfo/fatprcplst/G027[1]");
  816. model.removeNodeset("/root/init/judginfo/life_smokbettersicklst/G081[1]");
  817. model.removeNodeset("/root/init/judginfo/life_nodrunkbettersicklst/G085[1]");
  818. model.removeNodeset("/root/init/judginfo/life_exerkindlst/G087[1]");
  819. model.removeNodeset("/root/init/judginfo/life_exerbettersicklst/G090[1]");
  820. model.removeNodeset("/root/init/judginfo/life_eatlifebetterprcplst/G092[1]");
  821. model.removeNodeset("/root/init/judginfo/life_nutrbettersicklst/G093[1]");
  822. model.removeNodeset("/root/init/judginfo/life_fatprcplst/G097[1]");
  823. model.removeNodeset("/root/init/judginfo/life_fatbettersicklst/G098[1]");
  824. //판정의조회
  825. model.setValue("/root/send/srchcond", "J");
  826. submit("TRAHB01504", false);
  827. //1차건진 B판정 상세
  828. if(fGetEtcInfo("F", "F21") == true ){
  829. copyNodesetType(chk_bjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  830. }
  831. //1차건진C판정 상세
  832. if(fGetEtcInfo("F", "F22") == true ){
  833. copyNodesetType(chk_cjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  834. }
  835. //1차건진R1판정 상세
  836. if(fGetEtcInfo("F", "F23") == true ){
  837. copyNodesetType(chk_r1judgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  838. }
  839. //1차건진R2판정 상세
  840. if(fGetEtcInfo("F", "F24") == true ){
  841. copyNodesetType(chk_r2judgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  842. }
  843. //1차건진 기타질환코드내역
  844. if(fGetEtcInfo("F", "F25") == true ){
  845. copyNodesetType(cmb_etcsickflag.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  846. }
  847. //1차건진 사후관리
  848. if(fGetEtcInfo("F", "F26") == true ){
  849. copyNodesetType(cmb_aftmngt.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  850. }
  851. }
  852. /**===================================================================================
  853. * 판정정보 공통코드 설정
  854. =====================================================================================*/
  855. function fInitDasplay(){
  856. //문진유무
  857. var inqryn = model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_inqryn");
  858. if(inqryn == ""){
  859. model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_inqryn", "Y");
  860. }
  861. //판정의설정
  862. if(model.getValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid") == ""){
  863. model.setValue("/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid", getUserInfo("userid"));
  864. }
  865. //1차건진 B판정 상세
  866. if(fGetEtcInfo("F", "F21") == true ){
  867. copyNodesetType(chk_bjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  868. }
  869. //1차건진C판정 상세
  870. if(fGetEtcInfo("F", "F22") == true ){
  871. copyNodesetType(chk_cjudgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  872. }
  873. //1차건진R1판정 상세
  874. if(fGetEtcInfo("F", "F23") == true ){
  875. copyNodesetType(chk_r1judgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  876. }
  877. //1차건진R2판정 상세
  878. if(fGetEtcInfo("F", "F24") == true ){
  879. copyNodesetType(chk_r2judgdetl.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  880. }
  881. //1차건진 기타질환코드내역
  882. if(fGetEtcInfo("F", "F25") == true ){
  883. copyNodesetType(cmb_etcsickflag.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  884. }
  885. //1차건진 사후관리
  886. if(fGetEtcInfo("F", "F26") == true ){
  887. copyNodesetType(cmb_aftmngt.choices.itemset.attribute("nodeset"), "/root/temp/baseinfo/comcodelst/item", "replace");
  888. }
  889. }
  890. /**=====================================================================================================================
  891. *기본정보 가져오기
  892. * vClsCd: F=>1차, S:2차, T:특수
  893. * vDetlCd: 상세항목코드
  894. =====================================================================================================================*/
  895. function fGetEtcInfo(vClsCd, vDetlCd){
  896. model.setValue("/root/send/srchclscd", vClsCd);
  897. model.setValue("/root/send/srchetccd", vDetlCd);
  898. model.removeNodeset("/root/temp/baseinfo/comcodelst");
  899. if(vClsCd != "T"){
  900. return submit("TRAHB00604", false);
  901. } else{
  902. return submit("TRAHR04002", false);
  903. }
  904. }
  905. /**=====================================================================================================================
  906. *배경색 변경
  907. =====================================================================================================================*/
  908. function fSetGridInitState(vGrdObj){
  909. if(vGrdObj == null) return;
  910. vGrdObj.rebuildStyle();
  911. model.refresh();
  912. var cnt = vGrdObj.rows;
  913. var grdnm = "";
  914. var lt = 1;
  915. for(var i=1; i<=cnt; i++){
  916. var testcd = vGrdObj.valueMatrix(i, vGrdObj.colRef("testcd"));
  917. var testrslt = vGrdObj.valueMatrix(i, vGrdObj.colRef("testrsltcnts"));
  918. var low = vGrdObj.valueMatrix(i, vGrdObj.colRef("minval"));
  919. var high = vGrdObj.valueMatrix(i, vGrdObj.colRef("maxval"));
  920. //LH102601(MDRD eGFR) 검사 기준값이 성별/나이별 적용되는 검사로 사용자 요청으로 인한 제외처리 - 2013.05.29
  921. if(testcd == "LH102601"){
  922. vGrdObj.valueMatrix(i, vGrdObj.colRef("minval")) = "-";
  923. vGrdObj.valueMatrix(i, vGrdObj.colRef("maxval")) = "-";
  924. }else{
  925. //기준치에 따른 색깔변경
  926. if("H" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts"))){
  927. vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("testcd") , i , vGrdObj.colRef("maxval")) = "#FF8888"; //빨 - H
  928. }
  929. if("L" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts"))){
  930. vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("testcd") , i , vGrdObj.colRef("maxval")) = "#85B3FF"; //파 - L
  931. }
  932. //결과값이 하한가와 상한가 범위를 벗어난 경우 색으로 구분(녹색:하한가보다 작은 경우, 분홍색:상한가보다 큰 경우)
  933. if(testrslt != ""){
  934. if(!isNaN(testrslt)){
  935. if(high != ""){
  936. if(eval(testrslt) > eval(high)){
  937. vGrdObj.cellStyle("background-color", i, 7) = "#FF8888"; //빨 - H
  938. }
  939. }
  940. if(low != ""){
  941. if(eval(testrslt) < eval(low)){
  942. vGrdObj.cellStyle("background-color", i, 7) = "#85B3FF"; //파 - L
  943. }
  944. }
  945. }
  946. }
  947. //MergeRow
  948. if(grdnm == vGrdObj.valueMatrix(i, 2)){
  949. //grd_nm.valueMatrix(i,1) = "";
  950. }else{
  951. grdnm = vGrdObj.valueMatrix(i, 2);
  952. vGrdObj.mergeByFree(lt, 2, i-1, 2);
  953. lt = i;
  954. }
  955. }
  956. }
  957. }
  958. ]]>
  959. </script>
  960. </xhtml:head>
  961. <xhtml:body style="border-left-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  962. <group id="group1" style="left:0px; top:0px; width:1195px; height:60px; ">
  963. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:159px; height:15px; ">건강검진결과</caption>
  964. </group>
  965. <group id="group5" style="left:0px; top:19px; width:1193px; height:46px; vertical-align:top; ">
  966. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  967. <caption id="caption11" class="search_name" style="left:5px; top:11px; width:94px; height:17px; ">검진년도 :</caption>
  968. <select1 id="comb_appyear" ref="/root/send/searchacptinfo/appyear" navindex="1" appearance="minimal" style="left:95px; top:10px; width:70px; height:19px; ">
  969. <choices>
  970. <item>
  971. <label>2011년</label>
  972. <value>2011</value>
  973. </item>
  974. <item>
  975. <label>2012년</label>
  976. <value>2012</value>
  977. </item>
  978. <item>
  979. <label>2013년</label>
  980. <value>2013</value>
  981. </item>
  982. <item>
  983. <label>2014년</label>
  984. <value>2014</value>
  985. </item>
  986. </choices>
  987. <script type="javascript" ev:event="xforms-value-changed">
  988. <![CDATA[
  989. fGetSearch();
  990. ]]>
  991. </script>
  992. </select1>
  993. <input id="ipt_age" ref="/root/main/userinfo/age" class="input_search" disabled="true" navindex="2" style="left:240px; top:10px; width:30px; height:19px; "/>
  994. <caption id="caption4" class="search_name" style="left:175px; top:11px; width:60px; height:17px; ">나이 :</caption>
  995. <caption id="caption9" class="search_name" style="left:275px; top:10px; width:86px; height:17px; ">성 명 :</caption>
  996. <input id="int_pnm" ref="/root/main/userinfo/ptnm" class="input_search" disabled="true" navindex="3" style="left:340px; top:10px; width:60px; height:19px; "/>
  997. <caption id="caption23" class="search_name" visibility="hidden" style="left:740px; top:11px; width:89px; height:17px; ">주민번호 :</caption>
  998. <input id="ipt_rrgstno1" ref="/root/main/userinfo/rrgstno1" class="input_search" navindex="4" visibility="hidden" maxlength="6" style="left:829px; top:11px; width:56px; height:19px; "/>
  999. <caption id="caption1" class="search_n_b" visibility="hidden" style="left:887px; top:11px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1000. <input id="ipt_rrgstno2" ref="/root/main/userinfo/rrgstno2" class="input_search" navindex="5" visibility="hidden" maxlength="7" style="left:897px; top:11px; width:73px; height:19px; "/>
  1001. </group>
  1002. <group id="group4" scroll="auto" style="left:0px; top:65px; width:1195px; height:715px; ">
  1003. <datagrid id="grd_rsltlst" nodeset="/root/main/acptinfo/rsltlst/item" allowselection="false" autoresize="true" backcoloralternate="transparent" caption="처방일자^분류^실시처방&#xA;유일번호^처방번호^검사코드^명칭^연계결과^결과^검사결과^단위^종류^비고^판정코드^판정값^LIS판정^Low^High" colsep="^" colwidth="70, 120, 69, 63, 74, 195, 71, 97, 62, 58, 43, 67, 80, 60, 60, 42, 42" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" tooltip="true" style="left:0px; top:1px; width:640px; height:499px; ">
  1004. <col ref="prcpdd" visibility="hidden"/>
  1005. <col disabled="true" ref="reptprntgrupcd" type="combo">
  1006. <choices>
  1007. <itemset nodeset="/root/init/baseinfo/comcodelst/item">
  1008. <label ref="nm"/>
  1009. <value ref="cd"/>
  1010. </itemset>
  1011. </choices>
  1012. </col>
  1013. <col ref="execprcpuniqno" visibility="hidden"/>
  1014. <col ref="prcpno" visibility="hidden"/>
  1015. <col ref="testcd"/>
  1016. <col ref="testnm"/>
  1017. <col ref="outtestrsltcnts" visibility="hidden"/>
  1018. <col ref="testrsltcnts" visibility="hidden"/>
  1019. <col ref="assorsltcnts"/>
  1020. <col ref="rsltunit"/>
  1021. <col ref="rsltflag" visibility="hidden"/>
  1022. <col ref="remcnts" visibility="hidden"/>
  1023. <col ref="judgcd" visibility="hidden"/>
  1024. <col ref="judgrsltcnts" visibility="hidden"/>
  1025. <col ref="judgmark" visibility="hidden"/>
  1026. <col ref="minval"/>
  1027. <col ref="maxval"/>
  1028. </datagrid>
  1029. <switch id="swt_judg" style="left:645px; top:1px; width:550px; height:499px; border-color:#c7a3cf; border-style:solid; ">
  1030. <case id="case_first">
  1031. <caption id="caption24" class="cell_1" style="left:91px; top:2px; width:70px; height:23px; text-align:center; vertical-align:middle; ">문진유무</caption>
  1032. <select1 id="rdo_cmpyflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_inqryn" disabled="true" appearance="full" cellspacing="10" cols="2" rows="1" overflow="visible" style="left:162px; top:5px; width:87px; height:20px; border-style:none; ">
  1033. <choices>
  1034. <item>
  1035. <label>유</label>
  1036. <value>Y</value>
  1037. </item>
  1038. <item>
  1039. <label>무</label>
  1040. <value>N</value>
  1041. </item>
  1042. </choices>
  1043. </select1>
  1044. <output id="ipt_judgdd" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgdd" class="input" format="yyyy-mm-dd" inputtype="date" disabled="true" appearance="output" style="left:311px; top:4px; width:79px; height:19px; text-align:center; "/>
  1045. <select1 id="cmb_fstjudgdrid" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgdrid" class="combo" disabled="true" appearance="minimal" style="left:468px; top:4px; width:72px; height:19px; ">
  1046. <choices>
  1047. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1048. <label ref="drnm"/>
  1049. <value ref="drid"/>
  1050. </itemset>
  1051. </choices>
  1052. </select1>
  1053. <caption id="caption22" class="cell_1" style="left:396px; top:2px; width:70px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
  1054. <caption id="caption3" class="cell_1" style="left:30px; top:2px; width:60px; height:23px; text-align:left; vertical-align:middle; ">정상 A</caption>
  1055. <caption id="caption5" class="cell_1" style="left:30px; top:32px; width:100px; height:84px; text-align:left; vertical-align:middle; ">정상 B</caption>
  1056. <line id="line9" class="line_2" style="x1:5px; y1:28px; x2:540px; y2:28px; "/>
  1057. <select id="chk_bjudgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_bjudgdetl" overflow="visible" appearance="full" cellspacing="5" cols="3" vcellspacing="5" style="left:132px; top:33px; width:408px; height:62px; border-style:none; ">
  1058. <choices>
  1059. <itemset nodeset="/root/init/judginfo/Bjudglst/item">
  1060. <label ref="nm"/>
  1061. <value ref="cd"/>
  1062. </itemset>
  1063. </choices>
  1064. </select>
  1065. <input id="ipt_fst_etcsickcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcnts" class="input_search" maxlength="20" style="left:245px; top:97px; width:295px; height:19px; "/>
  1066. <select1 id="cmb_etcsickflag" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickflag" class="combo_default" disabled="true" appearance="minimal" style="left:132px; top:97px; width:110px; height:19px; ">
  1067. <choices>
  1068. <itemset nodeset="/root/init/judginfo/etcsickflaglst/item">
  1069. <label ref="nm"/>
  1070. <value ref="cd"/>
  1071. </itemset>
  1072. </choices>
  1073. </select1>
  1074. <caption id="caption7" class="cell_1" style="left:30px; top:242px; width:100px; height:43px; text-align:left; vertical-align:middle; ">유질환자</caption>
  1075. <select id="chk_cjudgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_cjudgdetl" overflow="visible" appearance="full" cellspacing="10" cols="5" style="left:132px; top:243px; width:407px; height:22px; border-style:none; ">
  1076. <choices>
  1077. <itemset nodeset="/root/init/judginfo/Cjudglst/item">
  1078. <label ref="nm"/>
  1079. <value ref="cd"/>
  1080. </itemset>
  1081. </choices>
  1082. </select>
  1083. <input id="ipt_fst_etcsickcnts1" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcnts1" class="input_search" maxlength="20" style="left:132px; top:266px; width:407px; height:19px; "/>
  1084. <caption id="caption10" class="cell_1" style="left:30px; top:123px; width:100px; height:82px; text-align:left; vertical-align:middle; ">일반질환의심</caption>
  1085. <select id="chk_r1judgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r1judgdetl" overflow="visible" appearance="full" cellspacing="10" cols="3" vcellspacing="5" style="left:132px; top:123px; width:408px; height:62px; border-style:none; ">
  1086. <choices>
  1087. <itemset nodeset="/root/init/judginfo/R1judglst/item">
  1088. <label ref="nm"/>
  1089. <value ref="cd"/>
  1090. </itemset>
  1091. </choices>
  1092. </select>
  1093. <input id="ipt_fst_etcsickcnts2" ref="/root/main/acptinfo/judginfo/firstjudg/fst_etcsickcnts2" class="input_search" maxlength="20" style="left:132px; top:187px; width:408px; height:19px; "/>
  1094. <caption id="caption12" class="cell_1" style="left:30px; top:212px; width:190px; height:23px; text-align:left; vertical-align:middle; ">고혈압 당뇨병 질환의심 2차대상</caption>
  1095. <line id="line12" class="line_2" style="x1:5px; y1:208px; x2:540px; y2:208px; "/>
  1096. <caption id="caption14" class="cell_1" style="left:5px; top:398px; width:125px; height:23px; text-align:center; vertical-align:middle; ">사후조치</caption>
  1097. <caption id="caption15" class="cell_1" style="left:5px; top:426px; width:125px; height:69px; text-align:center; vertical-align:middle; ">소견 및 조치사항</caption>
  1098. <select id="chk_r2judgdetl" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r2judgdetl" overflow="visible" appearance="full" cellspacing="10" cols="5" style="left:222px; top:214px; width:315px; height:19px; border-style:none; ">
  1099. <choices>
  1100. <itemset nodeset="/root/init/judginfo/R2judglst/item">
  1101. <label ref="nm"/>
  1102. <value ref="cd"/>
  1103. </itemset>
  1104. </choices>
  1105. </select>
  1106. <caption id="caption16" class="cell_1" style="left:5px; top:123px; width:30px; height:82px; text-align:left; vertical-align:middle; "/>
  1107. <caption id="caption18" class="cell_1" style="left:5px; top:2px; width:30px; height:23px; text-align:left; vertical-align:middle; "/>
  1108. <caption id="caption19" class="cell_1" style="left:5px; top:32px; width:30px; height:84px; text-align:left; vertical-align:middle; "/>
  1109. <caption id="caption20" class="cell_1" style="left:5px; top:242px; width:30px; height:43px; text-align:left; vertical-align:middle; "/>
  1110. <caption id="caption21" class="cell_1" style="left:5px; top:212px; width:25px; height:23px; text-align:left; vertical-align:middle; "/>
  1111. <caption id="caption26" class="cell_1" style="left:30px; top:292px; width:100px; height:98px; text-align:left; vertical-align:middle; ">일반질병</caption>
  1112. <caption id="caption27" class="cell_1" style="left:5px; top:292px; width:30px; height:98px; text-align:left; vertical-align:middle; "/>
  1113. <bool id="bol_d2sickyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_d2sickyn" style="left:10px; top:332px; width:15px; height:15px; border-style:none; "/>
  1114. <select1 id="cmb_aftmngt" ref="/root/main/acptinfo/judginfo/firstjudg/fst_aftmngt" class="combo" disabled="true" appearance="minimal" style="left:132px; top:400px; width:408px; height:19px; ">
  1115. <choices>
  1116. <itemset nodeset="/root/init/judginfo/aftmngtcdlst/item">
  1117. <label ref="nm"/>
  1118. <value ref="cd"/>
  1119. </itemset>
  1120. </choices>
  1121. </select1>
  1122. <textarea id="tar_judgexamcnts" ref="/root/main/acptinfo/judginfo/firstjudg/fst_judgexamcnts" class="input_search" imemode="hangul" maxlength="300" appearance="textarea" style="left:132px; top:426px; width:408px; height:69px; "/>
  1123. <datagrid id="grd_d2sicklst" nodeset="/root/main/acptinfo/judginfo/firstd2sicklst" caption="질환코드^질환명^judgcd" colsep="^" colwidth="70, 300, 55" mergecellsfixedrows="bycolrec" rowsep="|" style="left:132px; top:292px; width:408px; height:98px; ">
  1124. <col ref="sickcd" type="output"/>
  1125. <col ref="sicknm"/>
  1126. <col ref="judgdetlcd" visibility="hidden"/>
  1127. </datagrid>
  1128. <bool id="bol_judgcda" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_ajudgcd" style="left:10px; top:4px; width:20px; height:20px; "/>
  1129. <bool id="bol_judgcdb" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_bjudgcd" style="left:10px; top:63px; width:20px; height:20px; "/>
  1130. <bool id="bol_judgcdr1" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r1judgcd" style="left:10px; top:154px; width:20px; height:20px; "/>
  1131. <bool id="bol_judgcdr2" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_r2judgcd" style="left:10px; top:214px; width:20px; height:20px; "/>
  1132. <bool id="bol_judgcdc" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/firstjudg/fst_cjudgcd" style="left:10px; top:254px; width:20px; height:20px; "/>
  1133. <line id="line80" class="line_2" style="x1:5px; y1:423px; x2:540px; y2:423px; "/>
  1134. <line id="line81" class="line_2" style="x1:5px; y1:394px; x2:540px; y2:394px; "/>
  1135. <line id="line82" class="line_2" style="x1:5px; y1:119px; x2:540px; y2:119px; "/>
  1136. <caption id="caption8" class="cell_1" style="left:239px; top:2px; width:70px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
  1137. <line id="line1" class="line_2" style="x1:5px; y1:238px; x2:540px; y2:238px; "/>
  1138. <line id="line2" class="line_2" style="x1:5px; y1:288px; x2:540px; y2:288px; "/>
  1139. </case>
  1140. </switch>
  1141. <caption id="caption2" class="cell_1" style="left:645px; top:505px; width:96px; height:35px; color:#333333; text-align:center; vertical-align:middle; background-color:#ddf0c1; border-color:#333333; border-style:solid; ">혈압</caption>
  1142. <caption id="caption30" class="cell_1" style="left:740px; top:505px; width:453px; height:35px; color:#333333; text-align:left; vertical-align:middle; background-color:transparent; border-color:#333333; border-style:solid; ">
  1143. <![CDATA[*고혈압은 140/90mmHg이상을 말하며 치료와 예방을 위해서 염분섭취를 줄이고
  1144. 규칙적인 운동 및 약물요법이 필요함]]>
  1145. </caption>
  1146. <caption id="caption31" class="cell_1" style="left:740px; top:543px; width:453px; height:64px; color:#333333; text-align:left; vertical-align:middle; background-color:transparent; border-color:#333333; border-style:solid; ">
  1147. <![CDATA[*빈혈:신체내 혈액이 감소한 경우로 일반적으로 혈색소수치를 측정하여
  1148. 빈혈여부를 진단함
  1149. *RDW:적혈크기의 분포를 나타내는 것으로 빈혈시 증가
  1150. *백혈구:백혈구수가 증가되어 있으면 염증을 시사함]]>
  1151. </caption>
  1152. <caption id="caption32" class="cell_1" style="left:645px; top:543px; width:96px; height:64px; color:#333333; text-align:center; vertical-align:middle; background-color:#ddf0c1; border-color:#333333; border-style:solid; ">일반혈액검사</caption>
  1153. <caption id="caption33" class="cell_1" style="left:95px; top:621px; width:545px; height:60px; color:#333333; text-align:left; vertical-align:middle; background-color:transparent; border-color:#333333; border-style:solid; ">
  1154. <![CDATA[*요당(glucose):당뇨병, 쿠씽증후군, 급성심근경색
  1155. *요단백(protein):신질환, 급만성신장염, 일과성열, 외상,심한빈혈
  1156. *잠혈(occult blood):비뇨기계통의 출혈성질환(신장염, 결석, 종양 등)]]>
  1157. </caption>
  1158. <caption id="caption34" class="cell_1" style="left:0px; top:621px; width:96px; height:60px; color:#333333; text-align:center; vertical-align:middle; background-color:#ddf0c1; border-color:#333333; border-style:solid; ">요검사</caption>
  1159. <caption id="caption35" class="cell_1" style="left:95px; top:505px; width:545px; height:25px; color:#333333; text-align:left; vertical-align:middle; background-color:transparent; border-color:#333333; border-style:solid; ">*FBS:주로 당뇨상태를 봄. 그외 심근경색, 급성고열, 임신일 때 상승함</caption>
  1160. <caption id="caption36" class="cell_1" style="left:0px; top:505px; width:96px; height:25px; color:#333333; text-align:center; vertical-align:middle; background-color:#ddf0c1; border-color:#333333; border-style:solid; ">당검사</caption>
  1161. <caption id="caption37" class="cell_1" style="left:740px; top:611px; width:453px; height:60px; color:#333333; text-align:left; vertical-align:middle; background-color:transparent; border-color:#333333; border-style:solid; ">
  1162. <![CDATA[*SGOT:간세포손상,간염,심근경색, 골격근질환, 폐쇄성황달 등에 상승
  1163. *SGPT:주로 간손상, 간염, 독성간염, 심부전증 등에 상승
  1164. *γ-GTP:알콜성간손상, 급성간염, 담도폐쇄, 간경화, 간암 등에 상승]]>
  1165. </caption>
  1166. <caption id="caption38" class="cell_1" style="left:645px; top:611px; width:96px; height:60px; color:#333333; text-align:center; vertical-align:middle; background-color:#ddf0c1; border-color:#333333; border-style:solid; ">간기능검사</caption>
  1167. <caption id="caption39" class="cell_1" style="left:95px; top:685px; width:545px; height:25px; color:#333333; text-align:left; vertical-align:middle; background-color:transparent; border-color:#333333; border-style:solid; ">*크레아티닌:사구체여과기능의 지표, 신부전, 만성사구체신염, 용혈성빈혈, 당뇨병성산증 등에 상승</caption>
  1168. <caption id="caption40" class="cell_1" style="left:0px; top:685px; width:96px; height:25px; color:#333333; text-align:center; vertical-align:middle; background-color:#ddf0c1; border-color:#333333; border-style:solid; ">신장기능검사</caption>
  1169. <caption id="caption41" class="cell_1" style="left:0px; top:534px; width:96px; height:83px; color:#333333; text-align:center; vertical-align:middle; background-color:#ddf0c1; border-color:#333333; border-style:solid; ">지질검사</caption>
  1170. <caption id="caption42" class="cell_1" style="left:95px; top:534px; width:545px; height:83px; color:#333333; text-align:left; vertical-align:middle; background-color:transparent; border-color:#333333; border-style:solid; ">
  1171. <![CDATA[*총콜레스테롤,LDL콜레스테롤, TG수치가 높으면 동맥경화, 고혈압 등 심장혈관과 뇌졸중의 원인과
  1172. 악화의 요인이 됨
  1173. *HDL콜레스테롤은 좋은 콜레스테롤로 알려지고 있으며 운동하면 증가됨
  1174. *LDL콜레스테롤은 콜레스테롤을 세포로 운반하는 역할을 하며 130mg/dl이하로 유지하는 것이 좋음
  1175. (당뇨환자는 100mg/dl이하 유지)]]>
  1176. </caption>
  1177. <caption id="caption43" class="cell_1" style="left:645px; top:675px; width:96px; height:35px; color:#333333; text-align:center; vertical-align:middle; background-color:#ddf0c1; border-color:#333333; border-style:solid; ">흉부촬영</caption>
  1178. <caption id="caption44" class="cell_1" style="left:740px; top:675px; width:453px; height:35px; color:#333333; text-align:left; vertical-align:middle; background-color:transparent; border-color:#333333; border-style:solid; ">
  1179. <![CDATA[관련질환:폐결핵,폐암,기관지확장증,심장비대변형,기타폐질환
  1180. 기침,객담,피로,미열이 있을 경우 결핵을 의심할 수 있음]]>
  1181. </caption>
  1182. </group>
  1183. <group id="group2" style="left:0px; top:19px; width:1193px; height:46px; vertical-align:top; ">
  1184. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1193px; height:40px; background-color:#fffbf2; border-color:#ffd799; "/>
  1185. <caption id="caption13" class="search_name" style="left:5px; top:11px; width:94px; height:17px; ">검진년도 :</caption>
  1186. <select1 id="combo1" ref="/root/send/searchacptinfo/appyear" navindex="1" appearance="minimal" style="left:95px; top:10px; width:70px; height:19px; ">
  1187. <choices>
  1188. <itemset nodeset="/root/init/baseinfo/yearlist/S900">
  1189. <label ref="cdnm"/>
  1190. <value ref="cdid"/>
  1191. </itemset>
  1192. </choices>
  1193. <script type="javascript" ev:event="xforms-value-changed">
  1194. <![CDATA[
  1195. fGetSearch();
  1196. ]]>
  1197. </script>
  1198. </select1>
  1199. <input id="input1" ref="/root/main/userinfo/age" class="input_search" disabled="true" navindex="2" style="left:240px; top:10px; width:30px; height:19px; "/>
  1200. <caption id="caption17" class="search_name" style="left:175px; top:11px; width:60px; height:17px; ">나이 :</caption>
  1201. <caption id="caption25" class="search_name" style="left:275px; top:10px; width:86px; height:17px; ">성 명 :</caption>
  1202. <input id="input2" ref="/root/main/userinfo/ptnm" class="input_search" disabled="true" navindex="3" style="left:340px; top:10px; width:60px; height:19px; "/>
  1203. <caption id="caption28" class="search_name" visibility="hidden" style="left:740px; top:11px; width:89px; height:17px; ">주민번호 :</caption>
  1204. <input id="input3" ref="/root/main/userinfo/rrgstno1" class="input_search" navindex="4" visibility="hidden" maxlength="6" style="left:829px; top:11px; width:56px; height:19px; "/>
  1205. <caption id="caption29" class="search_n_b" visibility="hidden" style="left:887px; top:11px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1206. <input id="input4" ref="/root/main/userinfo/rrgstno2" class="input_search" navindex="5" visibility="hidden" maxlength="7" style="left:897px; top:11px; width:73px; height:19px; "/>
  1207. </group>
  1208. </xhtml:body>
  1209. </xhtml:html>