|
@@ -0,0 +1,314 @@
|
|
|
+<template>
|
|
|
+ <div id="page0">
|
|
|
+ <h3 style="width: 100%; font-size: 17px; text-align: center">住 院 病 案 首 页</h3>
|
|
|
+ <div style="margin-right: 8px; width: 100%; height: 32px; line-height: 32px; font-size: 15px; text-align: center">
|
|
|
+ 医疗机构:
|
|
|
+ <span style="font-weight: 700">湖南泰和医院</span>
|
|
|
+ (组织机构代码:
|
|
|
+ <span style="font-weight: 700">43010150145</span>
|
|
|
+ )
|
|
|
+ </div>
|
|
|
+ <div style="margin-right: 8px; height: 25px; line-height: 25px; display: flex">
|
|
|
+ <div>
|
|
|
+ 医疗付费方式:
|
|
|
+ <span style="display: inline-block; width: 180px">{{ filterNameInDic(patient.payMethod, 'getPayMethod') }}</span>
|
|
|
+ </div>
|
|
|
+ <div style="margin-right: 8px; width: 120px; margin-left: 12px">健康卡号: {{ patient.healthCardNo }}</div>
|
|
|
+ <div style="margin-right: 8px; width: 100px">第 {{ patient.admissTimes }} 次住院</div>
|
|
|
+ <div style="margin-right: 8px; width: 130px">病案号: {{ patient.bah }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="page1" style="border: 1px solid black; padding: 5px">
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 姓名:
|
|
|
+ <div style="padding: 0 4px; margin-right: 8px; width: 70px; border-bottom: 1px solid black">{{ patient.name }}</div>
|
|
|
+ 性别:
|
|
|
+ <div style="padding: 0 4px; margin-right: 8px; border-bottom: 1px solid black">{{ filterNameInDic(patient.sex, 'getSexCode') }}</div>
|
|
|
+ 出生日期:
|
|
|
+ <div style="padding: 0 4px; margin-right: 8px; width: 130px; border-bottom: 1px solid black">{{ patient.birthDate }}</div>
|
|
|
+ 年龄:
|
|
|
+ <div style="padding: 0 4px; margin-right: 8px; width: 30px; border-bottom: 1px solid black">{{ patient.age }}</div>
|
|
|
+ 国籍:
|
|
|
+ <div style="padding: 0 4px; margin-right: 8px; border-bottom: 1px solid black">{{ filterNameInDic(patient.country, 'getCountry') }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ (年龄不足 1 周岁的)年龄:
|
|
|
+ <div style="padding: 0 4px; border-bottom: 1px solid black; width: 50px">{{ patient.ageDays }}</div>
|
|
|
+ 天<span style="margin-left: 8px">新生儿出生体重:</span>
|
|
|
+ <div style="padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.newBornWeight }}</div>
|
|
|
+ 克<span style="margin-left: 8px">新生儿入院体重:</span>
|
|
|
+ <div style="padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.newBornAdmissWeight }}</div>
|
|
|
+ 克
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 出生地:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 230px">{{ patient.birthPlaceName }}</div>
|
|
|
+ 籍贯:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 230px">{{ patient.nativePlaceName }}</div>
|
|
|
+ 民族:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.nation, 'getNation') }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 身份证号:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 160px">{{ patient.socialNo }}</div>
|
|
|
+ 职业:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.occupation, 'getOccupation') }}</div>
|
|
|
+ 婚姻:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.marriage, 'getMarriageCode') }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 现住址:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.livePlace }}</div>
|
|
|
+ 电话:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ patient.phone }}</div>
|
|
|
+ 邮编:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.addrZipCode }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 户口地址:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.hkPlaceName }}</div>
|
|
|
+ 邮编:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.hkZipCode }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 工作单位及地址:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; margin-right: 0; width: 290px">{{ patient.unitName }}/{{ patient.unitPlace }}</div>
|
|
|
+ 单位电话:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 80px">{{ patient.unitPhone }}</div>
|
|
|
+ 邮编:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 50px">{{ patient.unitZipCode }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 联系人姓名:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 90px">{{ patient.contactName }}</div>
|
|
|
+ 联系人关系:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.contactRelation, 'getRelations') }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 联系人地址:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.contactAddrName }}</div>
|
|
|
+ 联系人电话:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 90px">{{ patient.contactPhone }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 入院途径:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.zyAdmissWay, 'getAdmissWay') }}</div>
|
|
|
+ 是否手术:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.hasSurgery, 'getOperations') }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 入院时间:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 135px">{{ patient.admissDate }}</div>
|
|
|
+ 入院科别:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 120px">{{ patient.admissDept }}</div>
|
|
|
+ 病房:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 80px">{{ patient.admissWard }}</div>
|
|
|
+ 转科科别:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 120px">{{ patient.transDept }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 出院时间:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 135px">{{ patient.dismissDate }}</div>
|
|
|
+ 出院科别:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 120px">{{ patient.dismissDept }}</div>
|
|
|
+ 病房:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 80px">{{ patient.dismissWard }}</div>
|
|
|
+ 住院天数:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.admissDays }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 门(急)诊诊断:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 350px">{{ patient.clinicDiagStr }}</div>
|
|
|
+ 疾病编码:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 110px">{{ patient.clinicDiagCode }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="margin-right: 8px; height: max-content; display: flex; width: 720px">
|
|
|
+ <div style="margin-right: 8px; width: 360px">
|
|
|
+ <table style="width: 360px; border: 1px solid black; border-collapse: collapse">
|
|
|
+ <tr>
|
|
|
+ <th>主要诊断</th>
|
|
|
+ <th>疾病编码</th>
|
|
|
+ <th>入院病情</th>
|
|
|
+ <th>出院病情</th>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td style="width: 170px">
|
|
|
+ {{ patient.disdiagList[0].name }}
|
|
|
+ </td>
|
|
|
+ <td style="width: 100px; text-align: center">
|
|
|
+ {{ patient.disdiagList[0].code }}
|
|
|
+ </td>
|
|
|
+ <td style="width: 30px">
|
|
|
+ {{ patient.disdiagList[0].admissStatus }}
|
|
|
+ </td>
|
|
|
+ <td style="width: 30px">
|
|
|
+ {{ patient.disdiagList[0].dismissStatus }}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <th colspan="4">其他诊断</th>
|
|
|
+ </tr>
|
|
|
+ <tr v-for="n in 11" :key="n">
|
|
|
+ <td style="text-align: left; padding-left: 5px">
|
|
|
+ {{ patient.disdiagList[n].name }}
|
|
|
+ </td>
|
|
|
+ <td style="width: 90px">
|
|
|
+ {{ patient.disdiagList[n].code }}
|
|
|
+ </td>
|
|
|
+ <td style="width: 30px">
|
|
|
+ {{ patient.disdiagList[n].admissStatus }}
|
|
|
+ </td>
|
|
|
+ <td style="width: 30px">
|
|
|
+ {{ patient.disdiagList[n].dismissStatus }}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ <div style="margin-right: 8px; width: 360px">
|
|
|
+ <table style="width: 360px; border: 1px solid black; border-collapse: collapse">
|
|
|
+ <tr v-for="n in 14" :key="n">
|
|
|
+ <td>
|
|
|
+ <div style="margin-right: 8px; width: 170px">{{ patient.disdiagList[n + 11].name }}</div>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="margin-right: 8px; width: 100px">{{ patient.disdiagList[n + 11].code }}</div>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="margin-right: 8px; width: 30px">{{ patient.disdiagList[n + 11].admissStatus }}</div>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <div style="margin-right: 8px; width: 30px">{{ patient.disdiagList[n + 11].dismissStatus }}</div>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="margin: 4px 0 2px 0; padding: 0 4px; border-bottom: 1px solid black; font-size: 12px; display: flex">
|
|
|
+ 备注:
|
|
|
+ <div>入院病情:</div>
|
|
|
+ 1.有,2.临床未确定,3.情况不明,4.无
|
|
|
+ <div style="margin-right: 8px; margin-left: 10px">出院病情:</div>
|
|
|
+ 1.治愈,2.好转,3.未愈,4.死亡,9.其他
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 损伤、中毒的外部原因:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.hurtReasonName }}</div>
|
|
|
+ 疾病编码:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 110px">{{ patient.hurtReasonCode }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 病理诊断:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 300px">{{ patient.pathologicDiagStr }}</div>
|
|
|
+ 病理编码:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 90px">{{ patient.pathologicDiagCode }}</div>
|
|
|
+ 病理号:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.blh }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 药物过敏:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.allergy, 'getHaveOrNot') }}</div>
|
|
|
+ ,过敏药物:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 110px">{{ patient.allergicMedicine }}</div>
|
|
|
+ 死亡患者尸检:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.autopsy, 'getAutopsies') }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 输血前四项: HbsAg
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.hbsAg, 'getHbsag') }}</div>
|
|
|
+ HCV-Ab
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; margin-left: 8px">{{ filterNameInDic(patient.hcvAb, 'getHbsag') }}</div>
|
|
|
+ HIV-Ab
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; margin-left: 8px">{{ filterNameInDic(patient.hivAb, 'getHbsag') }}</div>
|
|
|
+ TP-Ab
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; margin-left: 8px">{{ filterNameInDic(patient.tpAb, 'getHbsag') }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 血型:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.bloodType, 'getBloodType') }}</div>
|
|
|
+ Rh:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.rh, 'getHbsag') }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 科室主任:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.deptLeaderName }}</div>
|
|
|
+ 主任(副主任)医师:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.leaderDoctorName }}</div>
|
|
|
+ 主治医师:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.mainDoctorName }}</div>
|
|
|
+ 住院医师:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.admissDoctorName }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 责任护士:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.dutyNurseName }}</div>
|
|
|
+ 进修医师:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.studyDoctorName }}</div>
|
|
|
+ 实习医师:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.internshipDoctorName }}</div>
|
|
|
+ 编码员:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.coderName }}</div>
|
|
|
+ </div>
|
|
|
+ <div style="display: flex; margin: 10px 8px 10px 0">
|
|
|
+ 病案质量:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black">{{ filterNameInDic(patient.qualityControlLevel, 'getQualityLevel') }}</div>
|
|
|
+ 质控医师:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.qualityControlDoctorName }}</div>
|
|
|
+ 质控护士:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 70px">{{ patient.qualityControlNurseName }}</div>
|
|
|
+ 质控日期:
|
|
|
+ <div style="margin-right: 8px; padding: 0 4px; border-bottom: 1px solid black; width: 170px">{{ patient.qualityControlDate }}</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import { filterDismissStatus } from '@/views/hospitalization/case-front-sheet/common'
|
|
|
+export default {
|
|
|
+ props: {
|
|
|
+ patient: {
|
|
|
+ type: Object,
|
|
|
+ required: true,
|
|
|
+ },
|
|
|
+ dics: {
|
|
|
+ type: Object,
|
|
|
+ required: true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ setup(props) {
|
|
|
+ const filterNameInDic = (val, dic) => {
|
|
|
+ if (!val) {
|
|
|
+ return ''
|
|
|
+ }
|
|
|
+ const dicValue = props.dics[dic]
|
|
|
+ if (!dicValue) {
|
|
|
+ console.log(dic, 'no value')
|
|
|
+ }
|
|
|
+ for (let i = 0; i < dicValue.length; i++) {
|
|
|
+ const dicItem = dicValue[i]
|
|
|
+ if (dicItem.code == val) {
|
|
|
+ return dicItem.name
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return '-'
|
|
|
+ }
|
|
|
+
|
|
|
+ return {
|
|
|
+ filterNameInDic,
|
|
|
+ }
|
|
|
+ },
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+table,
|
|
|
+th,
|
|
|
+td {
|
|
|
+ border: 1px solid black;
|
|
|
+ border-collapse: collapse;
|
|
|
+}
|
|
|
+td,
|
|
|
+th {
|
|
|
+ height: 24px;
|
|
|
+ padding-left: 4px;
|
|
|
+}
|
|
|
+</style>
|