1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
- <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
- <title>公卫体检</title>
- <style type="text/css" media="all">
- * {
- margin: 0;
- padding: 0;
- font-size: 12px;
- }
- table {
- border-collapse: collapse;
- margin: 10px auto;
- }
- th,tr,td {
- border: 1px solid #000;
- border-collapse: collapse;
- padding: 6px 5px;
- }
- thead {
- border: none;
- }
- thead tr {
- border: none;
- }
- thead tr th {
- border: none;
- border-collapse: separate;
- }
- h3 {
- font-size: 24px;
- }
- </style>
- <style>
- body {
- font-family: 'sans-serif';
- /* line-height: 25px; */
- }
- .TvBg {
- background: -webkit-linear-gradient(
- left,
- #1f68b2,
- #2bafcc
- ); /* Safari 5.1 - 6.0 */
- background: -o-linear-gradient(
- right,
- #1f68b2,
- #2bafcc
- ); /* Opera 11.1 - 12.0 */
- background: -moz-linear-gradient(
- right,
- #1f68b2,
- #2bafcc
- ); /* Firefox 3.6 - 15 */
- background: linear-gradient(
- to right,
- #1f68b2,
- #2bafcc
- ); /* 标准的语法 */
- color: #fff;
- }
- /* #container {
- width: 95%;
- margin: auto;
- } */
- table {
- width: 100%;
- }
- .textAlign,
- th {
- text-align: center;
- }
- .textRight {
- display: flex;
- justify-content: flex-end;
- }
- .vertical-text {
- writing-mode: vertical-lr;
- letter-spacing: 0.5em;
- }
- .boxPosition {
- display: inline-block;
- float: inline-end;
- }
- p {
- margin: 0;
- }
- /* tbody {
- page-break-inside: avoid;
- border: 1px solid #000;
- border-collapse: collapse;
- } */
- tr {
- /* height: 30px; */
- border: 1px solid #000;
- border-collapse: collapse;
- }
- td {
- /* padding: 5px 0; */
- page-break-inside: avoid;
- border: 1px solid #000;
- border-collapse: collapse;
- }
- .checkBox {
- display: flex;
- justify-content: end;
- }
- .box {
- width: 16px;
- height: 16px;
- display: inline-block;
- border: 1px solid black;
- text-align: center;
- line-height: 16px;
- margin-right: 15px;
- position: relative;
- }
- .box:not(:last-child)::after {
- content: "/";
- position: absolute;
- top: 50%;
- left: 100%;
- transform: translateY(-50%);
- padding: 0 5px;
- }
- [v-cloak] {
- display: none;
- }
- ::-webkit-scrollbar {
- width: 5px;
- height: 5px;
- border-radius: 10px;
- }
- ::-webkit-scrollbar-thumb {
- border-radius: 10px;
- background-color: #adadaba4;
- }
- ::-webkit-scrollbar-track {
- border-radius: 10px;
- background-color: #fff;
- }
- @page {
- margin-top: 1.4cm; /* 设置其他页的上边距为2cm */
- margin-bottom: 1.2cm; /* 设置其他页的下边距为2cm */
- }
- @page :first {
- margin-top: 0;
- margin-bottom: 10mm; /* 设置第一页的下边距为2cm */
- }
- </style>
- </head>
- <body style=" margin: 32px 10px">
- <div>
- <h3 class="textAlign" style="font-weight:bold;">健康体检表</h3>
- <p >
- <span style="font-weight: bold;">姓名:<span id="patientName" style="font-weight: bold;"></span></span>
- </p>
- <table style="font-size: 14px;">
- <tbody>
- <tr>
- <td colspan="2" class="textAlign">体检日期</td>
- <td colspan="2" class="textAlign">
- <span id="examTime"></span>
- </td>
- <td colspan="2" class="textAlign">责任医生</td>
- <td colspan="2" class="textAlign">
- <span id="principalName"></span>
- </td>
- </tr>
- <tr>
- <th style="font-weight: bold; width:48px">内 容</th>
- <th colspan="6" style="font-weight: bold;">检 查 项 目</th>
- </tr>
- <tr>
- <td class="textAlign">
- <span class="vertical-text">症状</span>
- </td>
- <td colspan="6">
- <span
- >1 无症状 2 头痛 3 头晕 4 心悸 5 胸闷 6 胸痛 7
- 慢性咳嗽 8 咳痰 9 呼吸困难 10 多饮 11 多尿 12
- 体重下降 13 乏力 14 关节肿痛 15 视力模糊 16
- 手脚麻木 17 尿急 18 尿痛 19 便秘 20 腹泻 21
- 恶心呕吐 22 眼花 23 耳鸣 24 乳房胀痛 25
- 其他</span
- >
- <div class="textRight">
- <div id="Symptom" class="checkBox" data-param="10">
- <!-- 使用JavaScript生成10个方框 -->
- </div>
- </div>
- </td>
- </tr>
- <tr class="textAlign">
- <td rowspan="9">
- <span class="vertical-text">一般状况</span>
- </td>
- <td>体温</td>
- <td colspan="2">
- <span id="Temperature"></span><span>℃</span>
- </td>
- <td>脉率</td>
- <td colspan="2">
- <span id="Pulse_Frequency"></span><span>次/分钟</span>
- </td>
- </tr>
- <tr class="textAlign">
- <td rowspan="2">呼吸频率</td>
- <td rowspan="2" colspan="2">
- <span id="Breathe"></span><span>次/分钟</span>
- </td>
- <td rowspan="2">血压</td>
- <td>左侧</td>
- <td>
- <span id="Sbp_Left"></span>/<span
- id="Dbp_Left"
- ></span
- ><span> mmHg</span>
- </td>
- </tr>
- <tr class="textAlign">
- <td>右侧</td>
- <td>
- <span id="Sbp_Right"></span>/<span
- id="Dbp_Right"
- ></span
- ><span> mmHg</span>
- </td>
- </tr>
- <tr class="textAlign">
- <td>身高</td>
- <td colspan="2">
- <span id="Height"></span><span>cm</span>
- </td>
- <td>体重</td>
- <td colspan="2">
- <!---->
- <span id="Weight"></span><span>kg</span>
- </td>
- </tr>
- <tr class="textAlign">
- <td>腰围</td>
- <td colspan="2">
- <span id="Waist"></span><span>cm</span>
- </td>
- <td>体质指数(BMI)</td>
- <td colspan="2">
- <!---->
- <span id="Bmi"></span><span>Kg/m²</span>
- </td>
- </tr>
- <tr>
- <td class="textAlign">老年人健康状态自我评估</td>
- <td colspan="5">
- <div style="display: flex;
- justify-content: space-between;
- align-items: center;">
- <span>
- 1 满意 2 基本满意 3 说不清楚 4 不太满意 5 不满意
- </span>
- <div class="boxPosition">
- <span
- id="Older_Health_State"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">老年人生活自理能力自我评估</td>
- <td colspan="5">
- <div
- style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "
- >
- <div>
- <p>
- 1 可自理(0<span class="s6">~</span>3
- 分) 2 轻度依赖(4<span class="s6"
- >~</span
- >8 分)
- </p>
- <p>
- 3 中度依赖(9<span class="s6">~</span
- >18 分) 4 不能自理(≥19 分)
- </p>
- </div>
- <div class="boxPosition">
- <span
- id="Older_Living_Ability"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">老年人认知功能*</td>
- <td colspan="5">
- <div
- style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "
- >
- <div>
- <p>1 粗筛阴性</p>
- <p>
- 2 粗筛阳性, 简易智力状态检查,总分
- <span id="Older_Intelligence"></span>
- </p>
- </div>
- <div class="boxPosition">
- <span
- id="Older_Cognitive"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">老年人情感状态*</td>
- <td colspan="5">
- <div
- style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "
- >
- <div>
- <p>1 粗筛阴性</p>
- <p>
- 2 粗筛阳性, 简易智力状态检查,总分
- <span id="Older_Depression"></span>
- </p>
- </div>
- <div class="boxPosition">
- <span
- id="Older_Emotional"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td rowspan="13" class="textAlign">
- <span class="vertical-text">生活方式</span>
- </td>
- <td rowspan="3" class="textAlign">体育锻炼</td>
- <td class="textAlign">锻炼频率</td>
- <td colspan="4" id="fShxgDlplOptIndex">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 每天 2 每周一次以上 3 偶尔 4 不锻炼 </span>
- <div class="boxPosition">
- <span
- id="Exercise_Frequency"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">每次锻炼时间</td>
- <td colspan="2"><span id="Exercise_Daily_Time"></span> <span>分钟</span></td>
- <td class="textAlign">坚持锻炼时间</td>
- <td><span id="Exercise_Time"></span> <span>年</span></td>
- </tr>
- <tr>
- <td class="textAlign">锻炼方式</td>
- <td colspan="4" id="Exercise_Way"></td>
- </tr>
- <tr>
- <td class="textAlign">饮食习惯</td>
- <td colspan="5">
- <span> 1 荤素均匀 2 荤食为主 3 素食为主 4 嗜盐 5 嗜油 6 嗜糖 </span>
- <div class="textRight">
- <div id="Diet" class="checkBox" data-param="3">
- <!-- 使用JavaScript生成10个方框 -->
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td rowspan="3" class="textAlign">吸烟情况</td>
- <td class="textAlign">吸烟状况</td>
- <td colspan="5" id="fShxgSfxyOptIndex">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 从不吸烟 2 已戒烟 3 吸烟 </span>
- <div class="boxPosition">
- <span
- id="Smoking_State"
- class="box"
- ></span>
- </div>
- </div></td>
- </tr>
- <tr>
- <td class="textAlign">日吸烟量</td>
- <td colspan="5">
- <span> 平均<span id="Smoking_Daily"></span>支 </span>
- </td>
- </tr>
- <tr>
- <td class="textAlign">开始吸烟年龄</td>
- <td colspan="2"><span id="Smoking_Start_Age"></span> <span>岁</span></td>
- <td class="textAlign">戒烟年龄</td>
- <td><span id="Smoking_Quit_Age"></span> <span>岁</span></td>
- </tr>
- <tr>
- <td rowspan="5" class="textAlign">饮酒情况</td>
- <td class="textAlign">饮酒频率</td>
- <td colspan="5" id="fShxgYjplOptIndex">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 从不 2 偶尔 3 经常 4 每天 </span>
- <div class="boxPosition">
- <span
- id="Drinking_Frequency"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">日饮酒量</td>
- <td colspan="5">
- <span> 平均<span id="Drinking_Daily"></span>两 </span>
- </td>
- </tr>
- <tr>
- <td class="textAlign">是否戒酒</td>
- <td colspan="5">
- <p>
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 未戒酒 2 已戒酒 </span>
- <div class="boxPosition">
- <span
- id="Drinking_Is_Quit"
- class="box"
- ></span>
- </div>
- </div>
- 戒酒年龄:<span id="Drinking_Quit_Age"></span>
- <span>岁</span>
- </p>
- </td>
- </tr>
- <tr>
- <td class="textAlign">开始饮酒年龄</td>
- <td colspan="2"><span id="Drinking_Start_Age"></span> <span>岁</span></td>
- <td class="textAlign">近一年内是否曾醉酒</td>
- <td> <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 是 2 否 </span>
- <div class="boxPosition">
- <span
- id="Drinking_Is_Drunk"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">饮酒种类</td>
- <td colspan="5">
- <span> <span> 1 白酒 2 啤酒 3 红酒 4 黄酒 5 其他 </span>
- <div class="textRight">
- <div class="boxPosition">
- <span
- id="Drinking_Type"
- class="box"
- ></span>
- </div>
- </div>
- </div>
- </span>
- </td>
- </tr>
- <tr>
- <td class="textAlign">职业病危害因素接触史</td>
- <td colspan="5">
- <span id="Work_Related_Disease_Risk_History"></span
- >(工种:<span id="Risk_Working_Type"></span> 从业时间:<span id="Risk_Working_Time"></span><span>年</span>)<br />
- 毒物种类 粉尘:<span id="Risk_Dust"></span>
- 防护措施:<span id="Risk_Dust_Protect"></span> <br />
- <p style="margin-left: 74px">
- 放射物质:<span id="Risk_Radiate"></span> 防护措施:<span
- id="Risk_Radiate_Protect"
- ></span
- ><br />
- 物理因素:<span id="Risk_Physics"></span> 防护措施:<span
- id="Risk_Physics_Protect"
- ></span
- ><br />
- 化学物质:<span id="Risk_Chemical"></span> 防护措施:<span
- id="Risk_Chemical_Protect"
- ></span
- ><br />
- 其他:<span id="Risk_Other"></span> 防护措施:<span
- id="Risk_Other_Protect"
- ></span
- ><br />
- </p>
- </td>
- </tr>
- <tr>
- <td rowspan="4" class="textAlign">
- <span class="vertical-text">脏器功能</span>
- </td>
- <td class="textAlign">口腔</td>
- <td colspan="5">
- <div style="line-height: 28px;">
- 口唇:
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 红润 2 苍白 3 发绀 4 皲裂 5 疱疹 </span>
- <div class="boxPosition">
- <span
- id="Lip"
- class="box"
- ></span>
- </div>
- </div>
- </div>
- <div style="line-height: 28px;">
- <span>齿列:<span> 1 正常 2 缺齿 3 龋齿 4 义齿 </span></span>
- <div class="textRight">
- <div id="Dentition" class="checkBox" data-param="3">
- <!-- 使用JavaScript生成10个方框 -->
- </div>
- </div>
- </div>
- <div style="line-height: 28px;">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span>咽部:<span> 1 无充血 2 充血 3 淋巴滤泡增生 </span></span>
- <div class="boxPosition">
- <span
- id="Pharynx"
- class="box"
- ></span>
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">视力</td>
- <td colspan="5">
- <!-- TODO -->
- <p>
- 左眼:4.6 右眼:4.6(矫正视力:左眼:5.1
- 右眼:5.1)
- </p>
- </td>
- </tr>
- <tr>
- <td class="textAlign">听力</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 听见 2 听不清或无法听见 </span>
- <div class="boxPosition">
- <span
- id="Hearing"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">运动功能</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span > 1 可顺利完成 2 无法单独完成其中任何一个动作 </span>
- <div class="boxPosition">
- <span
- id="Athletic"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td rowspan="19" class="textAlign">
- <span class="vertical-text">查体</span>
- </td>
- <td class="textAlign">眼底</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 正常 2 异常 </span>
- <div class="boxPosition">
- <span
- id="Eye_Ground"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">皮肤</td>
- <td colspan="5" id="fPfOptIndex">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 正常 2 潮红 3 苍白 4 发绀 5 黄染 6 色素沉着 7 其他 </span></span>
- <div class="boxPosition">
- <span
- id="Skin"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">巩膜</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 正常 2 黄染 3 充血 4 其他 </span></span>
- <div class="boxPosition">
- <span
- id="Sclera"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">淋巴结</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 未触及 2 锁骨上 3 腋窝 4 其他 </span></span>
- <div class="boxPosition">
- <span
- id="Lymph_Node"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td rowspan="3" class="textAlign">肺</td>
- <td colspan="5">
- <span id="fFtzxOptIndex">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span>桶状胸: 1 否 2 是 </span></span>
- <div class="boxPosition">
- <span
- id="Barrel_Chest"
- class="box"
- ></span>
- </div> </div>
- </span>
- </td>
- </tr>
- <tr>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span id="fFhxyOptIndex">
- <span>呼吸音: 1 正常 2 异常 </span></span>
- <div class="boxPosition">
- <span
- id="Breath_Sounds"
- class="box"
- ></span>
- </div></span>
- </div>
- </td>
- </tr>
- <tr>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span>
- 罗 音: 1 无 2 干罗音 3 湿罗音 4 其他 </span>
- <div class="boxPosition">
- <span
- id="Rale"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">心脏</td>
- <td colspan="5">
- 心率:<span id="Heart_Rate"></span><span>次/分钟</span>
- <div style="line-height: 28px;"><span id="fXzxlOptIndex">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span>心律: 1 齐 2 不齐 3 绝对不齐 </span>
- <div class="boxPosition">
- <span
- id="Heart_Rhythm"
- class="box"
- ></span>
- </div>
- </div>
- </span></div>
- <div style="line-height: 28px;">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span>杂音: 1 无 2 有 </span>
- <div class="boxPosition">
- <span
- id="Heart_Murmur"
- class="box"
- ></span>
- </div></div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">腹部</td>
- <td colspan="5">
- <div style="line-height: 28px;">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span>压痛: 1 无 2 有 </span>
- <div class="boxPosition">
- <span
- id="Abdominal_Tenderness"
- class="box"
- ></span>
- </div></div>
- </div>
- <div style="line-height: 28px;">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span>包块: 1 无 2 有 </span>
- <div class="boxPosition">
- <span
- id="Abdominal_Mass"
- class="box"
- ></span>
- </div></div>
- </div>
- <div style="line-height: 28px;">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span>肝大: 1 无 2 有 </span>
- <div class="boxPosition">
- <span
- id="Hepatomegaly"
- class="box"
- ></span>
- </div></div>
- </div>
- <div style="line-height: 28px;">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span>脾大: 1 无 2 有 </span>
- <div class="boxPosition">
- <span
- id="Splenomegalia"
- class="box"
- ></span>
- </div></div>
- </div>
- <div >
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span>移动性浊音: 1 无 2 有 </span>
- <div class="boxPosition">
- <span
- id="Shifting_Dullness"
- class="box"
- ></span>
- </div></div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">下肢水肿</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- ">
- <span> 1 无 2 单侧 3 双侧不对称 4 双侧对称 </span>
- <div class="boxPosition">
- <span
- id="Lower_Limb_Edema"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">足背动脉搏动*</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未触及 2 触及双侧对称 3 触及左侧弱或消失 4 触及右侧弱或消失 </span>
- <div class="boxPosition">
- <span
- id="Pedal_Artery"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">肛门指诊*</td>
- <td colspan="5"> <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未及异常 2 触痛 3 包块 4 前列腺异常 5 其他 </span>
- <div class="boxPosition">
- <span
- id="Rectal_Touch"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">乳腺*</td>
- <td colspan="5"> <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未及异常 2 乳房切除 3 异常泌乳 4 乳腺包块 5 其他 </span>
- <div class="boxPosition">
- <span
- id="Mammary"
- class="box"
- ></span>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td rowspan="5" class="textAlign">妇科*</td>
- <td class="textAlign">外阴</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未及异常 2 异常 </span>
- <div class="boxPosition">
- <span
- id="Vulvar"
- class="box"
- ></span>
- </div>
- </div></td>
- </tr>
- <tr>
- <td class="textAlign">阴道</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未及异常 2 异常 </span>
- <div class="boxPosition">
- <span
- id="Vagina"
- class="box"
- ></span>
- </div>
- </div></td>
- </tr>
- <tr>
- <td class="textAlign">宫颈</td>
- <td colspan="5"> <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未及异常 2 异常 </span>
- <div class="boxPosition">
- <span
- id="Cervical"
- class="box"
- ></span>
- </div>
- </div></td>
- </tr>
- <tr>
- <td class="textAlign">宫体</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未及异常 2 异常 </span>
- <div class="boxPosition">
- <span
- id="Uteri_Body"
- class="box"
- ></span>
- </div>
- </div></td>
- </tr>
- <tr>
- <td class="textAlign">附件</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未及异常 2 异常 </span>
- <div class="boxPosition">
- <span
- id="Uteri_Adnexa"
- class="box"
- ></span>
- </div>
- </div></td>
- </tr>
- <tr>
- <td class="textAlign">其他*</td>
- <td colspan="5" id="Examination_Other"></td>
- </tr>
- <tr>
- <td rowspan="16" class="textAlign">
- <span class="vertical-text">辅助检查</span>
- </td>
- <td class="textAlign">血常规*</td>
- <td colspan="5">
- 血红蛋白:<span id="Blood_Hgb"></span><span>g/L</span><br />
- 白细胞:<span id="Blood_Wbc"></span><span>×10^9/L </span><br />
- 血小板:<span id="Blood_Rlt"></span><span>×10^9/L</span><br />
- 其他:<span id="Blood_Routine_Other"></span>
- </td>
- </tr>
- <tr>
- <td class="textAlign">尿常规*</td>
- <td colspan="5">
- 尿蛋白:<!----><span id="PRO"> </span><br />
- 尿糖:<!----><span id="GLU"> </span><br />
- 尿酮体:<!----><span id="KET"> </span><br />
- 尿潜血:<!----><span id="BLD"></span><br />
- 其他:<!----><span id="Urinary_Routine_Other"></span>
- </td>
- </tr>
- <tr>
- <td class="textAlign">空腹血糖*</td>
- <td colspan="5">
- <!-- TODO -->
- <span>8.57</span><span>mmol/L</span>
- </td>
- </tr>
- <tr>
- <td class="textAlign">心电图*</td>
- <td colspan="5"> <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 正常 2 异常 </span>
- <div class="boxPosition">
- <span
- id="Cardiogram"
- class="box"
- ></span>
- </div></div></td>
- </tr>
- <tr>
- <td class="textAlign">尿微量白蛋白*</td>
- <td colspan="5">
- <span id="Microalbuminuria"></span> <span>mg/dL</span>
- </td>
- </tr>
- <tr>
- <td class="textAlign">大便潜血*</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 阳性 2 阴性 </span>
- <div class="boxPosition">
- <span
- id="Fecal_Bld"
- class="box"
- ></span>
- </div>
- </div></td>
- </tr>
- <tr>
- <td class="textAlign">糖化血红蛋白*</td>
- <td colspan="5"><span id="Hbalc">10</span> <span>%</span></td>
- </tr>
- <tr>
- <td class="textAlign">乙型肝炎表面抗原*</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 阳性 2 阴性 </span>
- <div class="boxPosition">
- <span
- id="Hbsag"
- class="box"
- ></span>
- </div>
- </div></td>
- </tr>
- <tr>
- <td class="textAlign">肝功能*</td>
- <td colspan="5">
- 血清谷丙转氨酶:<span id="Liver_Alt"></span><span>U/L</span
- ><br />
- 血清谷草转氨酶:<span id="Liver_Ast"></span><span>U/L</span
- ><br />
- 白蛋白:<span id="Liver_Alb"></span><span>g/L</span><br />
- 总胆红素:<span id="Liver_Tbil"></span><span>μmol/L</span><br />
- 结合胆红素:<span id="Liver_Dbil"></span><span>μmol/L</span>
- </td>
- </tr>
- <tr>
- <td class="textAlign">肾功能*</td>
- <td colspan="5">
- 血清肌酐:<span id="Renal_Cr"></span><span>μmol/L</span><br />
- 血尿素:<span id="Renal_Bun"></span><span>mmol/L</span><br />
- 血钾浓度:<span id="Renal_Spc"></span><span>mmol/L</span><br />
- 血钠浓度:<span id="Renal_Ssc"></span><span>mmol/L</span>
- </td>
- </tr>
- <tr>
- <td class="textAlign">血脂*</td>
- <td colspan="5">
- 总胆固醇:<span id="Lipid_Cho"></span><span>mmol/L</span><br />
- 甘油三酯:<span id="Lipid_Tg"></span><span>mmol/L</span><br />
- 血清低密度脂蛋白胆固醇:<span id="Lipid_Ldl"></span
- ><span>mmol/L</span><br />
- 血清高密度脂蛋白胆固醇:<span id="Lipid_Hdl"></span
- ><span>mmol/L</span>
- </td>
- </tr>
- <tr>
- <td class="textAlign">胸部X线片*</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 阳性 2 阴性 </span>
- <div class="boxPosition">
- <span
- id="Chest_X_Ray"
- class="box"
- ></span>
- </div>
- </div></td>
- </tr>
- <tr>
- <td rowspan="2" class="textAlign">B超*</td>
- <td>腹部B超</td>
- <td colspan="4"> <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 正常 2 异常 3 脂肪肝 </span>
- <div class="boxPosition">
- <span
- id="B_Ultrasonic"
- class="box"
- ></span>
- </div></div></td>
- </tr>
- <tr>
- <td>其他</td>
- <td colspan="4"> <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 正常 2 异常 </span>
- <div class="boxPosition">
- <span
- id="B_Us_Other"
- class="box"
- ></span>
- </div></div></td>
- </tr>
- <tr>
- <td class="textAlign">宫颈涂片*</td>
- <td colspan="5"> <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 正常 2 异常 </span>
- <div class="boxPosition">
- <span
- id="Cervical_Smear"
- class="box"
- ></span>
- </div></div></td>
- </tr>
- <tr>
- <td class="textAlign">其他*</td>
- <td colspan="5" id="B_Us_Others"></td>
- </tr>
- <tr>
- <td rowspan="7" class="textAlign">
- <span class="vertical-text">现存主要健康问题</span>
- </td>
- <td class="textAlign">脑血管疾病</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未发现 2 缺血性卒中 3 脑出血 4 蛛网膜下腔出血 5 短暂性脑缺血发作 6 其他 </span>
- <div class="textRight">
- <div id="Health_Cranial" class="checkBox" data-param="4">
- <!-- 使用JavaScript生成10个方框 -->
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">肾脏疾病</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未发现 2 糖尿病肾病 3 肾功能衰竭 4 急性肾炎 5 慢性肾炎 6 其他 </span>
- <!-- <div class="boxPosition">
- <span
- id="Health_Renal"
- ></span>
- </div> -->
- <div class="textRight">
- <div id="Health_Renal" class="checkBox" data-param="4">
- <!-- 使用JavaScript生成10个方框 -->
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">心脏疾病</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未发现 2 心肌梗死 3 心绞痛 4 冠状动脉血运重建 5 充血性心力衰竭 6 心前区疼痛 7 其他 </span>
- <div class="textRight">
- <div id="Health_Cardiac" class="checkBox" data-param="4">
- <!-- 使用JavaScript生成10个方框 -->
- </div>
- </div>
- <!-- <div class="boxPosition">
- <span
- id="Health_Cardiac"
- ></span>
- </div> -->
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">血管疾病</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未发现 2 夹层动脉瘤 3 动脉闭塞性疾病 4 其他 </span>
- <div class="textRight">
- <div id="Health_Vascular" class="checkBox" data-param="2">
- <!-- 使用JavaScript生成10个方框 -->
- </div>
- </div>
- <!-- <div class="boxPosition">
- <span
- id="Health_Vascular"
- ></span>
- </div> -->
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">眼部疾病</td>
- <td colspan="5">
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未发现 2 视网膜出血或渗出 3 视乳头水肿 4 白内障 5 其他 </span>
- <!-- <div class="boxPosition">
- <span
- id="Health_Eye"
- ></span>
- </div> -->
- <div class="textRight">
- <div id="Health_Eye" class="checkBox" data-param="2">
- <!-- 使用JavaScript生成10个方框 -->
- </div>
- </div>
- </div>
- </td>
- </tr>
- <tr>
- <td class="textAlign">神经系统疾病</td>
- <td colspan="5">
- <!---->
- <!---->
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未发现 2 有 </span>
- <div class="boxPosition">
- <span
- id="Health_Nervous"
- class="box"
- ></span>
- </div>
- <!-- </div><span>精神障碍迟滞性发育</span></span> -->
- </td>
- </tr>
- <tr>
- <td class="textAlign">其他系统疾病</td>
- <td colspan="5">
- <!---->
- <!---->
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 未发现 2 有 </span>
- <div class="boxPosition">
- <span
- id="Health_Other"
- class="box"
- ></span>
- </div>
- <!-- </div><span>糖尿病,冠心病,高血压</span></span> -->
- </td>
- </tr>
- <tr class="textAlign" id="Hospitalization_History" >
- <td id="Hospitalization_And_Home" >
- <span >住院治疗情况</span>
- </td>
- <td id="Hospitalization_History1">住院史</td>
- <td colspan="2">入/出院日期</td>
- <td>原因</td>
- <td>医疗机构名称</td>
- <td>病案号</td>
- </tr>
- <!-- <tr id="Hospitalization_History" class="textAlign"></tr> -->
- <!-- <div id="Hospitalization_History"></div> -->
- <!---->
- <!-- TDOD 设计表格 -->
- <!-- <tr class="textAlign">
- <td colspan="2">
- <span>2015-10-01/2015-10-31</span>
- </td>
- <td>肿瘤</td>
- <td>济宁中医院</td>
- <td>80000</td>
- </tr> -->
- <!-- <tr class="textAlign">
- <td colspan="2">
- <span>2018-02-28/2018-02-28</span>
- </td>
- <td>脑梗</td>
- <td>济河社区医院</td>
- <td>20000</td>
- </tr> -->
- <tr class="textAlign" id="Hospital_At_Home">
- <td id="Hospital_At_Home1">家庭病床史</td>
- <td colspan="2">建/撤床日期</td>
- <td>原因</td>
- <td>医疗机构名称</td>
- <td>病案号</td>
- </tr>
- <!-- <tbody id="Hospital_At_Home" class="textAlign"></tbody> -->
- <!---->
- <!-- <tr class="textAlign">
- <td colspan="2">2015-10-01/2015-10-31</td>
- <td>肿瘤手术</td>
- <td>济宁中医院</td>
- <td>80000</td>
- </tr>
- <tr class="textAlign">
- <td colspan="2">2018-02-11/2018-02-28</td>
- <td>脑梗</td>
- <td>济河社区医院</td>
- <td>20000</td>
- </tr> -->
- <!-- TDOD 设计表格 -->
- <tr class="textAlign" id="Drug_Usage">
- <td rowspan="7" id="Drug_Usage1">
- <span >主要用药情况</span>
- </td>
- <td>药物名称</td>
- <td colspan="2">用 法</td>
- <td>用 量</td>
- <td>用药时间</td>
- <td colspan="2">
- 服药依从性<br />
- 1 规律 2 间断 3 不服药
- </td>
- </tr>
- <!---->
- <!-- <tr class="textAlign">
- <td>格列齐特</td>
- <td colspan="2">皮下注射</td>
- <td>每日一次, 每次1.5mg</td>
- <td>1个月</td>
- <td colspan="2">间断</td>
- </tr>
- <tr class="textAlign">
- <td>氨氯地平</td>
- <td colspan="2">口服</td>
- <td>每日三次, 每次1.5mg</td>
- <td>6个月</td>
- <td colspan="2">规律</td>
- </tr>
- <tr class="textAlign">
- <td>氢氯噻嗪</td>
- <td colspan="2">口服</td>
- <td>每日一次, 每次1.5mg</td>
- <td>1年</td>
- <td colspan="2">间断</td>
- </tr>
- <tr class="textAlign">
- <td>螺内酯</td>
- <td colspan="2">口服</td>
- <td>每日一次, 每次1mg</td>
- <td>3年</td>
- <td colspan="2">规律</td>
- </tr>
- <tr class="textAlign">
- <td>厄贝沙坦</td>
- <td colspan="2">皮下注射</td>
- <td>每次1片</td>
- <td>1个月</td>
- <td colspan="2">不服药</td>
- </tr>
- <tr class="textAlign">
- <td>酒石酸美托洛尔(倍他乐克)</td>
- <td colspan="2">1次/日口服</td>
- <td>每日一次, 每次1mg</td>
- <td>1年</td>
- <td colspan="2">规律</td>
- </tr> -->
- <!-- TDOD 设计表格 -->
- <tr class="textAlign" id="Inoculate_History">
- <td id="Inoculate_History1">
- <span class=""
- >非免疫规划预防接种史</span
- >
- </td>
- <td>名称</td>
- <td colspan="2">接种日期</td>
- <td colspan="3">接种机构</td>
- </tr>
- <!---->
- <!-- <tr class="textAlign">
- <td>狂犬疫苗</td>
- <td colspan="2">2019-4-11</td>
- <td colspan="3">第一人民医院</td>
- </tr>
- <tr class="textAlign">
- <td>流感疫苗</td>
- <td colspan="2">2019-4-11</td>
- <td colspan="3">第二人民医院</td>
- </tr> -->
- <tr>
- <td class="textAlign">
- <span class="vertical-text">健康评价</span>
- </td>
- <td colspan="6">
- <p>
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 体检无异常 2 有异常 </span>
- <div class="boxPosition">
- <!-- TODO -->
- <span
- id="Appraisal_Flag"
- class="box"
- ></span>
- </div>
- </div><br /></p>
- <p>
- 异常:<span
- id="Appraisal"
- ></span
- >
- </p>
- <!-- <p>
- 异常2:<span
- >血糖偏高:8.57mmol/L;尿潜血:+-;</span
- >
- </p>
- <p>
- 异常3:<span
- >心电图异常: 611 T波改变(低平);</span
- >
- </p>
- <p>异常4:<span>血压偏高:右187/99mmHg</span></p>
- <p></p> -->
- </td>
- </tr>
- <tr>
- <td class="textAlign">
- <span class="vertical-text">健康指导</span>
- </td>
- <td colspan="3"> <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 纳入慢性病患者健康管理 2 建议复查 3 建议转诊 </span>
- <div class="boxPosition">
- <div id="Guidance" class="checkBox" data-param="2">
- <!-- 使用JavaScript生成10个方框 -->
- </div>
- </div></div></td>
- <td colspan="3">
- <span>危险因素控制:</span><br />
- <div style="
- display: flex;
- justify-content: space-between;
- align-items: center;
- "><span> 1 戒烟 2 健康饮酒 3 饮食 4 锻炼 5 减体重 6 建议接种疫苗 7 其他</span>
- <div class="boxPosition">
- <div id="Risk_Control" class="checkBox" data-param="5">
- <!-- 使用JavaScript生成10个方框 -->
- </div>
- </div></div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <script>
- // // 获取容器元素
- document.getElementById("patientName").innerHTML =
- window.parent.globalData.patientInfo.patientName;
- document.getElementById("principalName").innerHTML =
- window.parent.globalData.docterName;
- document.getElementById("examTime").innerHTML =
- window.parent.globalData.examTime;
- /// 处理配置表单可能没有一个表格导致表格错位
- if (!window.parent.globalData.examData.hasOwnProperty("Hospitalization_History")) {
- let length = 0;
- var trRowspan = document.getElementById('Hospitalization_History1');
- trRowspan.setAttribute("rowspan", length+1);
- var hospitalizationLenght = document.getElementById('Hospitalization_History1').getAttribute('rowspan')
- var hospitalAtHomeLength = document.getElementById('Hospital_At_Home1').getAttribute('rowspan')
- if(!hospitalizationLenght) {
- hospitalizationLenght = 1
- }
- if(!hospitalAtHomeLength) {
- hospitalAtHomeLength = 1
- }
- document.getElementById('Hospitalization_And_Home').setAttribute("rowspan",parseInt(hospitalAtHomeLength) + parseInt(hospitalizationLenght))
- }
- for (let key in window.parent.globalData.examData) {
- if (
- Object.prototype.hasOwnProperty.call(
- window.parent.globalData.examData,
- key
- )
- ) {
- if (document.getElementById(key)) {
- if (
- Array.isArray(
- window.parent.globalData.examData[key]
- )
- ) {
- const arr =window.parent.globalData.examData[key];
- const isObjectArray = arr.some(item => typeof item === 'object');
- /// 判断是否为普通的多选框
- if(!isObjectArray) {
- const container = document.getElementById(key);
- let length = 0;
- if(container.getAttribute('data-param')) {
- length = container.getAttribute('data-param') ;
- }
- // 生成10个方框,并填充值
- for (let i = 0; i <= length; i++) {
- const box = document.createElement("div");
- box.className = "box";
- if (window.parent.globalData.examData[key][i]) {
- box.innerText =
- window.parent.globalData.examData[key][
- i
- ];
- }
- container.appendChild(box);
- }
- /// 这边是表格的
- }else {
- const container = document.getElementById(key);
- let length = 0;
- var trRowspan = document.getElementById(key+'1');
- trRowspan.setAttribute("rowspan", arr.length+1);
- var hospitalizationLenght = document.getElementById('Hospitalization_History1').getAttribute('rowspan')
- var hospitalAtHomeLength = document.getElementById('Hospital_At_Home1').getAttribute('rowspan')
- if(!hospitalizationLenght) {
- hospitalizationLenght = 1
- }
- if(!hospitalAtHomeLength) {
- hospitalAtHomeLength = 1
- }
- document.getElementById('Hospitalization_And_Home').setAttribute("rowspan",parseInt(hospitalAtHomeLength) + parseInt(hospitalizationLenght))
- if(key == 'Drug_Usage') {// 主要用药情况
- for (let i = 0; i < arr.length; i++) {
- const html =`<tr class="textAlign">
- <td>${arr[i].Medicine_Name}</td>
- <td colspan="2">${arr[i].Medicine_Dosage}</td>
- <td>${arr[i].Medicine_Usage}</td>
- <td>${arr[i].Medicine_Time}</td>
- <td colspan="2">${arr[i].Medicine_Compliance}</td>
- </tr>`
- container.insertAdjacentHTML("afterend", html);
- }
- }else if(key == 'Inoculate_History') {// 非免疫规划预防接种史
- for (let i = 0; i < arr.length; i++) {
- const html =`<tr class="textAlign">
- <td>${arr[i].Vaccine_Name}</td>
- <td colspan="2">${arr[i].Vaccination_Date}</td>
- <td colspan="3">${arr[i].Vaccination_Facility}</td>
- </tr>`
- container.insertAdjacentHTML("afterend", html);
- }
- } else if(key == 'Hospital_At_Home') {// 家庭病床史
- for (let i = 0; i < arr.length; i++) {
- const html = `<tr class="textAlign">
- <td colspan="2">
- <span>${arr[i].Bed_Construction_Date}/${arr[i].Discharge_Date}</span>
- </td>
- <td>${arr[i].Reason}</td>
- <td>${arr[i].Name_Of_Medical_Institution}</td>
- <td>${arr[i].Patient_Number}</td>
- </tr>`;
- container.insertAdjacentHTML("afterend", html);
- }
- }else if(key == 'Hospitalization_History'){ // 住院史
- for (let i = 0; i < arr.length; i++) {
- const html = `<tr class="textAlign">
- <td colspan="2">
- <span>${arr[i].Admission_Date}/${arr[i].Discharge_Date}</span>
- </td>
- <td>${arr[i].Reason}</td>
- <td>${arr[i].Name_Of_Medical_Institution}</td>
- <td>${arr[i].Patient_Number}</td>
- </tr>`;
- container.insertAdjacentHTML("afterend", html);
- }
- }
- }
- } else {
- // 元素存在
- document.getElementById(key).innerHTML =
- window.parent.globalData.examData[key];
- if(key == "Pulse_Frequency") {
- document.getElementById("Breathe").innerHTML =
- window.parent.globalData.examData[key]/4;
- }
- if(key == "Work_Related_Disease_Risk_History") {
- document.getElementById("Work_Related_Disease_Risk_History").innerHTML =
- window.parent.globalData.examData[key] == "1" ? "无": "有";
- }
- if(["Risk_Dust_Protect","Risk_Other_Protect","Risk_Physics_Protect","Risk_Chemical_Protect","Risk_Radiate_Protect"].includes(key)) {
- if(window.parent.globalData.examData[key]) {
- var obj = window.parent.globalData.examData[key];
- var risk = "";
- if(obj["label"]) {
- risk =" 详细措施:" + obj["label"];
- }
- document.getElementById(key).innerHTML = obj["value"]["label"] +risk;
- }
- }
- }
- } else {
- // 元素不存在
- console.log("未找到具有ID " + key + " 的元素");
- /// 左右血压的特殊处理
- if(key == "BloodPressure") {
- const bloodPressure =window.parent.globalData.examData[key];
- const left = JSON.parse(bloodPressure["left"]);
- const right = JSON.parse(bloodPressure["right"]);
- if(left && left.length == 2) {
- document.getElementById("Sbp_Left").innerHTML =
- JSON.parse(bloodPressure["left"])[0];
- document.getElementById("Dbp_Left").innerHTML =
- JSON.parse(bloodPressure["left"])[1];
- }
- if(right && right.length == 2) {
- document.getElementById("Sbp_Right").innerHTML =
- JSON.parse(bloodPressure["right"])[0];
- document.getElementById("Dbp_Right").innerHTML =
- JSON.parse(bloodPressure["right"])[1];
- }
- }
- if(key == "Urinary_Pro") {
- const urinaryPro =window.parent.globalData.examData[key];
- if(urinaryPro) {
- document.getElementById("GLU").innerHTML =
- urinaryPro["GLU"];
- document.getElementById("PRO").innerHTML =
- urinaryPro["PRO"];
- document.getElementById("KET").innerHTML =
- urinaryPro["KET"];
- document.getElementById("BLD").innerHTML =
- urinaryPro["BLD"];
- }
- }
- }
- }
- }
- </script>
- </body>
- </html>
|