Commit 78136681 by zhangaoping

湘雅二医院演示项目提交

parents
######################################################################
# Build Tools
.gradle
/build/
!gradle/wrapper/gradle-wrapper.jar
target/
!.mvn/wrapper/maven-wrapper.jar
######################################################################
# IDE
### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
### JRebel ###
rebel.xml
### NetBeans ###
nbproject/private/
build/*
nbbuild/
dist/
nbdist/
.nb-gradle/
######################################################################
# Others
*.log
*.xml.versionsBackup
*.swp
!*/build/*.java
!*/build/*.html
!*/build/*.xml
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.hanyun</groupId>
<artifactId>hip-mrqc</artifactId>
<version>4.1.0-SNAPSHOT</version>
</parent>
<artifactId>mrqc-template-xy2yy</artifactId>
<packaging>war</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.hanyun</groupId>
<artifactId>mrqc-admin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>net.lingala.zip4j</groupId>
<artifactId>zip4j</artifactId>
<version>1.3.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
<finalName>mrqc</finalName>
</build>
</project>
baseUrl: http://127.0.0.1:8080/mrqc
#drg相关配置
drg:
version: CHS-DRG-1.1
monitor:
days: 365
icdConfig: 7:诊断-596954:疾病分类与代码医保版2.0,8:手术-206452:手术操作分类与代码医保版2.0
disease: 7
treat: 8
\ No newline at end of file
# 数据源配置
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
druid:
# 主库数据源
master:
# url: jdbc:mysql://localhost:3306/mrqc_njkqyy?useUnicode=true&characterEncoding=utf8&useSSL=true&allowMultiQueries=true&serverTimezone=GMT%2B8
# username: root
# password: 123456
#测试环境
url: jdbc:mysql://192.168.1.14:3306/mrqc_template_xy2yy?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
username: root
password: HanYun#2021
# 从库数据源
slave:
# 从数据源开关/默认关闭
enabled: false
url:
username:
password:
# 初始连接数
initialSize: 5
# 最小连接池数量
minIdle: 10
# 最大连接池数量
maxActive: 200
# 配置获取连接等待超时的时间
maxWait: 60000
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
timeBetweenEvictionRunsMillis: 60000
# 配置一个连接在池中最小生存的时间,单位是毫秒
minEvictableIdleTimeMillis: 300000
# 配置一个连接在池中最大生存的时间,单位是毫秒
maxEvictableIdleTimeMillis: 900000
# 配置检测连接是否有效
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
webStatFilter:
enabled: true
statViewServlet:
enabled: true
# 设置白名单,不填则允许所有访问
allow:
url-pattern: /monitor/druid/*
filter:
stat:
enabled: true
# 慢SQL记录
log-slow-sql: true
slow-sql-millis: 10000
merge-sql: false
wall:
config:
multi-statement-allow: true
mrqc:
lv1: 甲级|(@{score}>=90)|#60CD96
lv2: 乙级|(@{score}>=75&&@{score}<90)|#4290E7
lv3: 丙级|(@{score}<75)|#F04F5E
#logo的路径
logoPath: /mrqc/images/logo/xyf2yy.png
mainIndexPath: mrqc/desk
logoIcoPath:
logoTitle: 智能电子病历质控
# 是否过滤敏感姓名
sensitiveFilter: false
sensitiveWord:
noqc-color: D9D9D9
totalscore: 100
#提醒标准
qcstandar:
#扣分标准
qcscorestdorg:
rulelv: 1|-1|#33CCFF,2|-2|#33CCFF,3|-3|#33CCFF,4|-4|#33CCFF,5|-5|#33CCFF,6|-6|#33CCFF,7|-7|#33CCFF
#病历模块过滤规则,格式如下:模块Id#关键词,关键词1...|模块Id1#关键词,关键词1...|...
emrFilter: emr02#入院记录|emr03#病程记录|emr04#出院记录,死亡记录|emr05#知情,同意|emr07#手术,安全核查单
smallDepartOfnewBorn: 儿科
#个人质控选择条件配置,包括住院时间,关键监测指标,手术级别
userEmrFilters:
#入院、出院时间#结构体编码 运算符
hospitTimes: admissionTime#HDSD00_11_085 >= | dischargeTime#HDSD00_11_019 <=
#关键指标#编码及运算结果#中文名称
keyIndices: death#HDSD00_11_057 = '5'#死亡 | operated#HDSD00_11_090 != ''#手术 | critical#HDSD00_11_153 = '1'#危重 | emergency#HDSD00_11_164 > '0'#抢救 | difficult#HDSD00_11_154 = '1'#疑难 | transfusion#HY_ZYYZ_SXSQ != ''#输血 | daySurgery#HDSD00_11_157 = '1'#日间手术
#手术级别#编码 运算符#中文名称
operationLevels: operationLevel6#HDSD00_11_092_6 =#六级 | operationLevel5#HDSD00_11_092_5 =#五级 | operationLevel4#HDSD00_11_092_4 =#四级 | operationLevel3#HDSD00_11_092_3 =#三级 | operationLevel2#HDSD00_11_092_2 =#二级 | operationLevel#HDSD00_11_092 =#一级
etlApi: Xy2yyEmrETLApi
emrAssignApi: Xy2yyAutoAssignEMRImpl
emrAssignRuleHtml: mrqc/assign/xy2yyAutoAssign
hospitalCodes: "000002"
#是否自动拼接头部, content_text字段
emrHead: false
#是否中医院# 判断病案首页
isZyy: false
#显示中医病案首页的科室#
zyks:
aliasMap: department_name#病区 | inpatient_area#科室 | report_title#南京市口腔医院
#是否过滤科室
excludeDepts: true
admission:
# 住院登记处所关心的结构体ID,以结构体ID作
structId:
#单项否决 乙级病例和丙级病历的边界数
dxfjCount: 2
#是否为门诊质控
hasOutPatient: false
# 根据标准表二级ID初始化,如:2091:首页,2092:全病历
defaultMRScore: 2092
# 人工质控病历隐藏机器质控缺陷,如果不配置则默认为 false
hiddenDefectsWhenManualQc: false
#质控详情是否显示质控流程
showFlow: false
#是否隐藏主页机构选择下拉框; true: 隐藏; flase: 展示
hospitalListHidden: true
#详情页发送质控消息接收人配置,true:系统所有用户、false:病历相关医师
sendMessageShowAllUser: true
#是否添加水印 true: 显示; flase: 隐藏
showWatermark: false
#水印文字
showWatermarkText: 江苏瀚云医疗信息技术有限公司
process.scene: 环节质控_23790
njwx:
ofdViewInf:
# 项目相关配置
ruoyi:
# 名称
name: hip
# 版本
version: 4.1.0
# 版权年份
copyrightYear: 2022
# 文件路径
profile: /u01/app/profile/
# 获取ip地址开关
addressEnabled: true
# 开发环境配置
server:
# 服务器的HTTP端口,默认为80
port: 81
servlet:
# 应用的访问路径
context-path: /
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# tomcat最大线程数,默认为200
max-threads: 800
# Tomcat启动初始化的线程数,默认值25
min-spare-threads: 30
# 日志配置
logging:
level:
com.ruoyi: warn
org.springframework: warn
com.hanyun.hip.mrqc.service: warn
com.hanyun.hip.mrqc.service.mapper: debug
com.hanyun.hip.mrqc.rule.mapper: warn
com.hanyun.hip.mrqc.sdis.mapper: warn
com.hanyun.hip.mrqc.cdss.mapper: warn
com.hanyun.hip.mrqc.rule: warn
com.hanyun.hip.mrqc.drgs: warn
# 用户配置
user:
password:
# 密码错误{maxRetryCount}次锁定10分钟
maxRetryCount: 10
# Spring配置
spring:
# 模板引擎
thymeleaf:
mode: HTML
encoding: utf-8
# 禁用缓存
cache: false
# 资源信息
messages:
# 国际化资源文件路径
basename: static/i18n/messages
jackson:
time-zone: GMT+8
date-format: yyyy-MM-dd HH:mm:ss
profiles:
include: druid,xy2yy,drg
# 文件上传
servlet:
multipart:
# 单个文件大小
max-file-size: 10MB
# 设置总上传的文件大小
max-request-size: 20MB
# 服务模块
devtools:
restart:
# 热部署开关
enabled: true
additional-paths: src/main/java
# MyBatis
mybatis:
# 搜索指定包别名
typeAliasesPackage: com.ruoyi.system.domain,com.ruoyi.quartz.domain,com.ruoyi.generator.domain,com.hanyun.hip.kgms.service.tenant.domain,com.hanyun.kgms.maker.domain,com.hanyun.kgms.doc.domain,com.hanyun.hip.kgms.service.doc.domain,com.hanyun.kgms.term.domain,com.hanyun.kgms.term.domain,com.hanyun.hip.mrqc.drgs.domain,com.hanyun.hip.mrqc.service.analysis.domain,com.hanyun.hip.mrqc.sdis.domain,com.hanyun.hip.knowledge,com.ruoyi.activiti.domain,com.hanyun.hip.mrqc.cdss.domain,com.hanyun.hip.mrqc.drgs.entity
# 配置mapper的扫描,找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml
# 加载全局的配置文件
configLocation: classpath:mybatis/mybatis-config.xml
type-handlers-package: com.hanyun.hip.mrqc.service.handler
# PageHelper分页插件
pagehelper:
helperDialect: mysql
reasonable: true
supportMethodsArguments: true
params: count=countSql
# Shiro
shiro:
user:
# 登录地址
loginUrl: /mrqc/login
# 权限认证失败地址
unauthorizedUrl: /unauth
# 首页地址
indexUrl: /mrqc/index
# 验证码开关
captchaEnabled: false
# 验证码类型 math 数组计算 char 字符
captchaType: math
# 权限白名单
whitelist: /**/css/**,/**/js/**,/**/images/**,/mrqc/main,/mrqc/qualityScore,/mrqc/index/selectStdSourceStat,/mrqc/index/statTable,/mrqc/index/selectRuleTypeStat,/mrqc/index/ruleMonth,/mrqc/index/getEmrLvScoreRules,/mrqc/index/selectAreaAndDepartment,/mrqc/standard/selectAllDeparment,/mrqc/index/selectRecordScoreAvg,/mrqc/standard/**,/mrqc/standard/ksStat,/mrqc/standard/ysStat,/mrqc/hospitalTypeStat/**,/mrqc/mrqcQualityReport,/mrqc/qualityReport/**,/mrqc/findQualityDefectAll,/mrqc/countIndex,/mrqc/homeScreen/selectScreenCache/**,/mrqc/emrrecord/todetail/**,/mrqc/emrrecord/submitaudit/**,/mrqc/emrrecord/homeTracing/**,/mrqc/emrconfig/listemrmodel/**,/mrqc/emrrecord/initdetaildata/**,/mrqc/emrrecord/initdetailmenu/**,/mrqc/emrrecord/manualintervenqc/**,/mrqc/emrrecord/initdetailCount/**,/mrqc/emrrecord/toaddnewdefect/**,/api/refreshEmrScore/**,/api/refreshByRecord/**,/mrqc/emrrecord/toemrmodule/**,/mrqc/emrrecord/selectUrlByEmrIdAndRecordId/**,/mrqc/tempCache/selectScreenCache,/api/**,/sso/login**,/v2/api-docs/**,/ureport/**,/mrqc/notice/list,/kqyyApi/**
cookie:
# 设置Cookie的域名 默认空,即当前访问的域名
domain:
# 设置cookie的有效访问路径
path: /
# 设置HttpOnly属性
httpOnly: true
# 设置Cookie的过期时间,天为单位
maxAge: 30
session:
# Session超时时间(默认30分钟)
expireTime: 300000
# 同步session到数据库的周期(默认1分钟)
dbSyncPeriod: 1
# 相隔多久检查一次session的有效性,默认就是10分钟
validationInterval: 10
conf:
sysanon: /kgms/maker/index
#不拦截的路径
# 防止XSS攻击
xss:
# 过滤开关
enabled: true
# 排除链接(多个用逗号分隔)
excludes: /system/notice/*
# 匹配链接
urlPatterns: /system/*,/monitor/*,/tool/*
img: #//如果是Windows情况下,格式是 D:\\blog\\image linx 格式"/home/blog/image";
location: /home/blog/image
mrqc:
# demo 模式病历列表查询最新有数据的月份
query: dev
#================License相关配置===============#
license:
#证书名称
subject: hip-mrqc
#公钥别名
publicAlias: publicCert
#公钥库所在的位置
publicKeysStorePath: /publicCerts.store
#公钥库访问密码
storePass: HanYun@2020
#证书所在的位置
licensePath: /license.lic
#================License相关配置===============#
#================消息中心相关配置===============# 192.168.1.13 10.16.2.173
spring.rabbitmq.host: 10.16.2.173
spring.rabbitmq.port: 5672
spring.rabbitmq.username: root
spring.rabbitmq.password: root
spring.rabbitmq.virtual-host: /
hanyun.message.enable: false
#================消息中心相关配置===============#
sso:
login.service: KqyySSOLoginService
nlp:
cache.enable: false
# ES 插件配置
easy-es:
enable: false
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.hanyun.hip.mrqc.kqyy.mapper.AutoAssignMapper">
<!-- 按四级、三级和住院时长查询数据 -->
<select id="selecAllDeptsurgicalOperateList" parameterType="String" resultType="map">
SELECT
record_id,department_name,inpatient_area,in_time,out_time,hospit_doctor,
CASE
(
SELECT
count( 1 )
FROM
mrqc_struct_data
WHERE
data_value = '4'
AND struct_id IN (
SELECT struct_id FROM mrqc_struct
WHERE struct_code IN (
'HDSD00_11_092','HDSD00_11_092_2','HDSD00_11_092_3','HDSD00_11_092_4','HDSD00_11_092_5','HDSD00_11_092_6',
'HDSD00_11_092_7','HDSD00_11_092_8','HDSD00_11_092_9','HDSD00_11_092_10','HDSD00_11_092_11','HDSD00_11_092_12',
'HDSD00_11_092_13','HDSD00_11_092_14','HDSD00_11_092_15','HDSD00_11_092_16','HDSD00_11_092_17',
'HDSD00_11_092_18','HDSD00_11_092_19','HDSD00_11_092_20','HDSD00_11_092_21','HDSD00_11_092_22',
'HDSD00_11_092_23','HDSD00_11_092_24','HDSD00_11_092_25'
)
)
AND record_id = u.record_id
) &gt; 0
WHEN TRUE THEN
'999' ELSE '0'
END AS ss_four,
CASE
(
SELECT count( 1 )
FROM mrqc_struct_data
WHERE data_value = '3'
AND struct_id IN (
SELECT struct_id
FROM mrqc_struct
WHERE
struct_code IN (
'HDSD00_11_092','HDSD00_11_092_2','HDSD00_11_092_3','HDSD00_11_092_4',
'HDSD00_11_092_5','HDSD00_11_092_6','HDSD00_11_092_7','HDSD00_11_092_8',
'HDSD00_11_092_9','HDSD00_11_092_10','HDSD00_11_092_11','HDSD00_11_092_12',
'HDSD00_11_092_13','HDSD00_11_092_14','HDSD00_11_092_15','HDSD00_11_092_16',
'HDSD00_11_092_17','HDSD00_11_092_18','HDSD00_11_092_19','HDSD00_11_092_20',
'HDSD00_11_092_21','HDSD00_11_092_22','HDSD00_11_092_23','HDSD00_11_092_24',
'HDSD00_11_092_25'
)
)
AND record_id = u.record_id
) &gt; 0
WHEN TRUE THEN
'998' ELSE '0'
END AS ss_three,
IFNULL( ( SELECT data_value FROM mrqc_struct_data WHERE struct_id = '50' AND record_id = u.record_id LIMIT 1 ), '0' ) AS zyts
FROM mrqc_record u
WHERE DATE_FORMAT( out_time, '%Y-%m' ) = #{qcMonth}
AND u.record_id not in (
select mor.record_id from mrqc_operator_record mor,mrqc_report_month mrm
where mor.report_id=mrm.report_id
and mor.user_id = #{userId}
and mrm.qc_month = #{qcMonth}
)
${dataScope}
ORDER BY ss_four DESC,ss_three DESC,zyts + 0 DESC
</select>
<select id="selectAllZyRecordId" resultType="java.lang.String" parameterType="java.lang.String">
SELECT
record_id
FROM
mrqc_record
WHERE
emr_status = '1'
<if test="department != null and department != ''">
AND inpatient_area IN (${department})
</if>
</select>
</mapper>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.hanyun.hip.mrqc.kqyy.mapper.DemoMapper">
<resultMap id="DemoResult" type="com.hanyun.hip.mrqc.kqyy.domain.SysUserDemo">
<result property="userName" column="user_name"/>
<result property="userLogin" column="login_name"/>
</resultMap>
<!-- 按评分统计各医院符合条件的病历数 -->
<select id="selecUserDemo" resultMap="DemoResult">
SELECT user_name, login_name FROM sys_user WHERE user_id = #{userId}
</select>
</mapper>
<style id="CaseStyle">
.doc-header {
position: relative;
padding-top: 20px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 1px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
img.transparent {
position: absolute;
right: 10%;
}
</style>
<div class="doc-header">
<div class="organization-id">
组织机构代码:<widget type="label" wid="hospitCode" tag="span"></widget>
</div>
<widget type="label" tag="div" class="hospital-name doc-title">中南大学湘雅二医院</widget>
<widget type="label" wid="contentTitle" tag="div" class="doc-title"></widget>
<div class="patient-info">
<div>姓名:<widget type="label" wid="patientName" tag="span"></widget></div>
<div>科室:<widget type="label" wid="deptName" tag="span"></widget></div>
<div>病区:<widget type="label" wid="inpatientArea" tag="span"></widget></div>
<div>住院号:<widget type="label" wid="hospitNum" tag="span"></widget></div>
<div>记录时间:<widget type="label" wid="contentTime" tag="span"></widget></div>
</div>
<hr />
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="base-info">
<div>
<span class="widget-label">姓 名: </span>
<widget wid="HY_24XSRCYJL_XM" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">职 业:</span>
<widget wid="HY_24XSRCYJL_ZY" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">性 别: </span>
<widget wid="HY_24XSRCYJL_SEX" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">工作单位: </span>
<widget wid="HY_24XSRCYJL_GZDW" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">年 龄:</span>
<widget wid="HY_24XSRCYJL_NL" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">住 址:</span>
<widget wid="HY_24XSRCYJL_ZZ" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">婚 姻:</span>
<widget wid="HY_24XSRCYJL_HY" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">供史者:</span>
<widget wid="HY_24XSRCYJL_GSZ" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">出生地:</span>
<widget wid="HY_24XSRCYJL_CSD" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">入院日期:</span>
<widget wid="HY_24XSRCYJL_RYRQ" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">民 族:</span>
<widget wid="HY_24XSRCYJL_MZ" type="date" width="160"></widget>
</div>
<!--
<div>
<span class="widget-label">出院日期:</span>
<widget wid="HY_24RYJL_CYRQ" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">床号:</span>
<widget wid="HY_24RYJL_CH" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">CT号:</span>
<widget wid="HY01_16_CT_00" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">病理检验号:</span>
<widget wid="HY01_16_BLJY_00" type="date" width="160"></widget>
</div>
-->
</div>
<div class="present-history">
<span class="widget-label">主诉:</span>
<widget type="textarea" width="650" wid="HY_24XSRCYJL_ZS" placeholder="请输入主诉"></widget>
</div>
<div class="present-history">
<span class="widget-label">入院情况:</span>
<widget type="textarea" width="650" wid="HY_24XSRCYJL_RYQK" placeholder="请输入现病史"></widget>
</div>
<div class="present-history">
<span class="widget-label">专科检查:</span>
<widget type="textarea" width="630" wid="HY_24XSRCYJL_ZKJC" placeholder="请输入专科检查"></widget>
</div>
<div class="present-history">
<span class="widget-label">入院诊断:</span>
<widget type="textarea" width="630" wid="HY_24XSRCYJL_RYZD" placeholder="请输入入院诊断"></widget>
</div>
<div class="present-history">
<span class="widget-label">诊治经过:</span>
<widget type="textarea" width="630" wid="HY_24XSRCYJL_ZZJG" placeholder="请输入诊治经过"></widget>
</div>
<div class="present-history">
<span class="widget-label">出院情况:</span>
<widget type="textarea" width="650" wid="HY_24XSRCYJL_CYQK" placeholder="请输入出院情况"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">出院时间: </span>
<widget wid="HY_24XSRCYJL_CYSJ" type="input" width="120"></widget>
</div>
</div>
<div class="present-history">
<span class="widget-label">出院诊断:</span>
<widget type="textarea" width="650" wid="HY_24XSRCYJL_CYZD" placeholder="请输入出院诊断"></widget>
</div>
<div class="present-history">
<span class="widget-label">出院医嘱:</span>
<widget type="textarea" width="650" wid="HY_24XSRCYJL_CYYZ" placeholder="请输入出院医嘱"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HY_24XSRCYJL_YSQM" type="input" width="180"></widget>
</div>
</div>
</div>
</div>
\ No newline at end of file
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label"></span>
<widget wid="HY_HZJL_NL" type="textarea" width="800" placeholder="-"></widget>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info > div.doc-inner-title{
width: 100%;
font-weight: bold;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}
#CaseBody {
position: relative!important;
width: 1200px!important;
margin: 0 auto!important;
z-index: 1!important;
padding: 30px 50px 100px!important;
}
</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="base-info">
<div>
<span class="widget-label">医疗付费方式: </span>
<widget wid="HDSD00_11_117" width="200" type="select"></widget>
</div>
<div>
<span class="widget-label">健康卡号: </span>
<widget wid="HDSD00_11_053" type="input"></widget>
</div>
<div>
<span class="widget-label"></span>
<widget wid="HDSD00_11_139" type="input"></widget>次住院
</div>
<div>
<span class="widget-label">姓 名: </span>
<widget wid="HDSD00_11_110" type="input"></widget>
</div>
<div>
<span class="widget-label">性 别: </span>
<widget wid="HDSD00_11_109" type="radio"></widget>
</div>
<div>
<span class="widget-label">出生日期:</span>
<widget wid="HDSD00_11_014" type="date" width="200"></widget>
</div>
<div>
<span class="widget-label">年 龄: </span>
<widget wid="HDSD00_11_079" type="input"></widget>
</div>
<div>
<span class="widget-label">年龄(年龄不足1周岁): </span>
<widget wid="HDSD00_11_080" type="input"></widget>
</div>
<div>
<span class="widget-label">年龄(新生儿年龄≤28天): </span>
<widget wid="HDSD00_11_080_28" type="input"></widget>
</div>
<div>
<span class="widget-label">新生儿入院体重: </span>
<widget wid="HDSD00_11_108" type="input"></widget>
</div>
<div>
<span class="widget-label">新生儿出生体重: </span>
<widget wid="HDSD00_11_107" width="70" type="input"></widget>
(二孩<widget wid="HDSD00_11_107_2" width="70" type="input"></widget>克)
</div>
<div class="whole">
<span class="widget-label">身份证件类型: </span>
<widget wid="HDSD00_11_049" type="radio"></widget>
</div>
<div>
<span class="widget-label">证件号码: </span>
<widget wid="HDSD00_11_048" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">出 生 地:</span>
<widget wid="HDSD00_11_011" type="input" width="380"></widget>
</div>
<div class="whole">
<span class="widget-label">户 口 地:</span>
<widget wid="HDSD00_11_011" type="input" width="400"></widget>
<span class="widget-label" style=" margin-left:30px;">邮编:</span>
<widget wid="HDSD00_11_047" type="input"></widget>
</div>
<div class="whole">
<span class="widget-label">现 住 址:</span>
<widget wid="HDSD00_11_102" type="input" width="400"></widget>
<span class="widget-label" style=" margin-left:30px;">邮编:</span>
<widget wid="HDSD00_11_106" type="input"></widget>
</div>
<div>
<span class="widget-label">国 籍: </span>
<widget wid="HDSD00_11_036" type="input"></widget>
</div>
<div>
<span class="widget-label">籍 贯: </span>
<widget wid="HDSD00_11_051" type="input" width="220"></widget>
</div>
<div>
<span class="widget-label">民 族:</span>
<widget wid="HDSD00_11_077" type="input"></widget>
</div>
<div>
<span class="widget-label">职 业:</span>
<widget wid="HDSD00_11_125" type="input" width="220"></widget>
</div>
<div>
<span class="widget-label">婚 姻: </span>
<widget wid="HDSD00_11_050" type="radio"></widget>
</div>
<div class="whole">
<span class="widget-label">工作单位及地址:</span>
<widget wid="HDSD00_11_029" type="input" width="400"></widget>
<span class="widget-label" style=" margin-left:30px;">邮编:</span>
<widget wid="HDSD00_11_033" type="input"></widget>
</div>
<div>
<span class="widget-label">联系人姓名: </span>
<widget wid="HDSD00_11_065" type="input"></widget>
</div>
<div>
<span class="widget-label">与患者关系: </span>
<widget wid="HDSD00_11_066" type="input"></widget>
</div>
<div class="whole">
<span class="widget-label">联系人地址:</span>
<widget wid="HDSD00_11_060" type="input" width="600"></widget>
</div>
<div>
<span class="widget-label">联系人电话: </span>
<widget wid="HDSD00_11_064" type="input"></widget>
</div>
<div class="whole">
<span class="widget-label">入院途径: </span>
<widget wid="HDSD00_11_086" type="radio"></widget>
</div>
<div>
<span class="widget-label">入院日期:</span>
<widget wid="HDSD00_11_085" type="date" width="200"></widget>
</div>
<div>
<span class="widget-label">入院科别:</span>
<widget wid="HDSD00_11_084" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">入院病房:</span>
<widget wid="HDSD00_11_083" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">转科科别:</span>
<widget wid="HDSD00_11_144" type="date" width="200"></widget>
</div>
<div>
<span class="widget-label">出院日期:</span>
<widget wid="HDSD00_11_019" type="date" width="200"></widget>
</div>
<div>
<span class="widget-label">出院科别:</span>
<widget wid="HDSD00_11_018" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">出院病房:</span>
<widget wid="HDSD00_11_017" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">实际住院</span>
<widget wid="HDSD00_11_087" type="date"></widget>
</div>
<div class="whole">
<span class="widget-label">门(急)诊诊断: </span>
<widget wid="HDSD00_11_076" type="input" width="200"></widget>
<span class="widget-label" style=" margin-left:30px;">疾病编码:</span>
<widget wid="HDSD00_11_075" type="input"></widget>
</div>
<div class="whole">
<table width="100%" cellpadding="0" cellspace="0">
<thead>
<tr>
<th width="40%">出院诊断</th>
<th width="20%">疾病编码</th>
<th width="20%">入院病情</th>
<th width="20%">治疗转归</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div class="table-inner-title">主要诊断</div>
<widget wid="HDSD00_11_024" type="input" width="280"></widget>
</td>
<td><widget wid="HDSD00_11_023" type="input" width="130"></widget></td>
<td><widget wid="HDSD00_11_025" type="input" width="130"></widget></td>
<td><widget wid="HDSD00_11_024_ZLZG" type="select" width="130"></widget></td>
</tr>
<tr>
<td>
<div class="table-inner-title">其他诊断</div>
<widget wid="HDSD00_11_021" type="input" width="280"></widget>
</td>
<td><widget wid="HDSD00_11_020" type="input" width="130"></widget></td>
<td><widget wid="HDSD00_11_022" type="input" width="130"></widget></td>
<td><widget wid="HDSD00_11_021_ZLZG" type="select" width="130"></widget></td>
</tr>
<tr>
<td><widget wid="HDSD00_11_021_2" type="input" width="280"></widget></td>
<td><widget wid="HDSD00_11_020_2" type="input" width="130"></widget></td>
<td><widget wid="HDSD00_11_022_2" type="input" width="130"></widget></td>
<td><widget wid="HDSD00_11_021_2_ZLZG" type="select" width="130"></widget></td>
</tr>
<% _.each( _.range(3,25) , function (index){ %>
<tr tpl-if="$value('HDSD00_11_021_<%=index%>') && $value('HDSD00_11_020_<%=index%>')">
<td><widget wid="HDSD00_11_021_<%=index%>" type="input" width="280"></widget></td>
<td><widget wid="HDSD00_11_020_<%=index%>" type="input" width="130"></widget></td>
<td><widget wid="HDSD00_11_022_<%=index%>" type="input" width="130"></widget></td>
<td><widget wid="HDSD00_11_021_<%=index%>_ZLZG" type="select" width="130"></widget></td>
</tr>
<% }) %>
<tr>
<td colspan="4">
入院病情:1.有 2.临床未确定 3.情况不明 4.无&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
治疗转归:1. 治愈 2.好转 3.未愈 5.死亡 9.其他
</td>
</tr>
</tbody>
</table>
</div>
<div>
<span class="widget-label">损伤、中毒的外部原因: </span>
<widget wid="HDSD00_11_096" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">疾病编码: </span>
<widget wid="HDSD00_11_097" type="input" width="200"></widget>
</div>
<div class="whole">
<span class="widget-label">病理诊断: </span>
<widget wid="HDSD00_11_010" type="textarea" width="800"></widget>
</div>
<div>
<span class="widget-label">疾病编码: </span>
<widget wid="HDSD00_11_009" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">病 理 号: </span>
<widget wid="HDSD00_11_008" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">有无药物过敏: </span>
<widget wid="HDSD00_11_116" type="radio"></widget>
</div>
<div>
<span class="widget-label">过敏药物: </span>
<widget wid="HDSD00_11_037" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">死亡患者尸检: </span>
<widget wid="HDSD00_11_095" type="radio"></widget>
</div>
<div>
<span class="widget-label">血 型: </span>
<widget wid="HDSD00_11_003" type="radio"></widget>
</div>
<div>
<span class="widget-label">Rh: </span>
<widget wid="HDSD00_11_004" type="radio"></widget>
</div>
<div>
<span class="widget-label">科 主 任: </span>
<widget wid="HDSD00_11_056" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">主任(副主任)医师: </span>
<widget wid="HDSD00_11_137" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">主治医师: </span>
<widget wid="HDSD00_11_138" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">住院医师: </span>
<widget wid="HDSD00_11_141" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">责任护士: </span>
<widget wid="HDSD00_11_120" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">进修医师: </span>
<widget wid="HDSD00_11_054" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">实习医师: </span>
<widget wid="HDSD00_11_088" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">编 码 员: </span>
<widget wid="HDSD00_11_005" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">病案质量: </span>
<widget wid="HDSD00_11_007" type="radio"></widget>
</div>
<div>
<span class="widget-label">质控医师: </span>
<widget wid="HDSD00_11_128" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">质控护士: </span>
<widget wid="HDSD00_11_126" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">质控日期: </span>
<widget wid="HDSD00_11_127" type="date" width="200"></widget>
</div>
<div class="whole">
<table width="100%" cellpadding="0" cellspace="0">
<thead>
<tr>
<th rowspan="2">操作编码</th>
<th rowspan="2">操作日期</th>
<th rowspan="2">手术级别</th>
<th rowspan="2">手术类别</th>
<th rowspan="2">手术及操作名称</th>
<th colspan="3">手术及操作医师</th>
<th rowspan="2">切口类别</th>
<th rowspan="2">切口愈合等级</th>
<th rowspan="2">麻醉方式</th>
<th rowspan="2">麻醉医师</th>
</tr>
<tr>
<th>术者</th>
<th>Ⅰ助</th>
<th>Ⅱ助</th>
</tr>
</thead>
<tbody>
<tr>
<td><widget wid="HDSD00_11_089" type="input" width="80"></widget></td>
<td><widget wid="HDSD00_11_091" type="date" width="80"></widget></td>
<td><widget wid="HDSD00_11_092" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_090_SSLB" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_090" type="textarea" width="160"></widget></td>
<td><widget wid="HDSD00_11_094" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_001" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_002" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_090_QKLB" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_082" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_073" type="select" width="100"></widget></td>
<td><widget wid="HDSD00_11_074" type="input" width="50"></widget></td>
</tr>
<tr>
<td><widget wid="HDSD00_11_089_2" type="input" width="80"></widget></td>
<td><widget wid="HDSD00_11_091_2" type="date" width="80"></widget></td>
<td><widget wid="HDSD00_11_092_2" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_090_2_SSLB" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_090_2" type="textarea" width="160"></widget></td>
<td><widget wid="HDSD00_11_094_2" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_001_2" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_002_2" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_090_2_QKLB" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_082_2" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_073_2" type="select" width="100"></widget></td>
<td><widget wid="HDSD00_11_074_2" type="input" width="50"></widget></td>
</tr>
<tr>
<td><widget wid="HDSD00_11_089_3" type="input" width="80"></widget></td>
<td><widget wid="HDSD00_11_091_3" type="date" width="80"></widget></td>
<td><widget wid="HDSD00_11_092_3" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_090_3_SSLB" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_090_3" type="textarea" width="160"></widget></td>
<td><widget wid="HDSD00_11_094_3" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_001_3" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_002_3" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_090_3_QKLB" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_082_3" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_073_3" type="select" width="100"></widget></td>
<td><widget wid="HDSD00_11_074_3" type="input" width="50"></widget></td>
</tr>
<% _.each( _.range(4,25) , function (index){ %>
<tr tpl-if="$value('HDSD00_11_089_<%=index%>') && $value('HDSD00_11_090_<%=index%>')">
<td><widget wid="HDSD00_11_089_<%=index%>" type="input" width="80"></widget></td>
<td><widget wid="HDSD00_11_091_<%=index%>" type="date" width="80"></widget></td>
<td><widget wid="HDSD00_11_092_<%=index%>" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_090_<%=index%>_SSLB" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_090_<%=index%>" type="textarea" width="160"></widget></td>
<td><widget wid="HDSD00_11_094_<%=index%>" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_001_<%=index%>" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_002_<%=index%>" type="input" width="50"></widget></td>
<td><widget wid="HDSD00_11_090_<%=index%>_QKLB" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_082_<%=index%>" type="input" width="30"></widget></td>
<td><widget wid="HDSD00_11_073_<%=index%>" type="select" width="100"></widget></td>
<td><widget wid="HDSD00_11_074_<%=index%>" type="input" width="50"></widget></td>
</tr>
<% }) %>
<tr>
<td colspan="4" rowspan="2">手术类别:1.择期手术 2.急诊手术</td>
<td colspan="8">切口类别:0.0类切口 1.I类切口 2.II类切口 3.III类切口</td>
</tr>
<tr>
<td colspan="8">愈合等级:1.甲 2.乙 3.丙 9.其他</td>
</tr>
</tbody>
</table>
</div>
<div class="whole">
<span class="widget-label">离院方式: </span>
<widget wid="HDSD00_11_057" type="input"></widget>
</div>
<div>
<span class="widget-label">拟接收医疗机构名称: </span>
<widget wid="HDSD00_11_078_SQ" type="date" width="200"></widget>
</div>
<div class="whole">
<span class="widget-label">是否有出院31天内再住院计划: </span>
<widget wid="HDSD00_11_015" type="radio"></widget>
<span class="widget-label" style=" margin-left:30px;">目的: </span>
<widget wid="HDSD00_11_016" type="date"></widget>
</div>
<div>
</div>
<div class="whole">
<span class="widget-label">颅脑损伤患者昏迷时间: </span>
入院前&nbsp;&nbsp;&nbsp;
<widget wid="HDSD00_11_070" type="date" width="40"></widget>
<widget wid="HDSD00_11_071" type="date" width="40"></widget>小时
<widget wid="HDSD00_11_072" type="date" width="40"></widget>分钟
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
入院后&nbsp;&nbsp;&nbsp;
<widget wid="HDSD00_11_067" type="date" width="40"></widget>
<widget wid="HDSD00_11_068" type="date" width="40"></widget>小时
<widget wid="HDSD00_11_069" type="date" width="40"></widget>分钟
</div>
<div class="whole">
<span class="widget-label">住院费用:</span> 总 费 用:
<widget wid="HDSD00_11_142" type="input" width="200"></widget>(自付金额:
<widget wid="HDSD00_11_143" type="input" width="200"></widget>
</div>
<div class="doc-inner-title">1.综合医疗服务类:</div>
<div>
<span class="widget-label">(1)一般医疗服务费:</span>
<widget wid="HDSD00_11_147" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">(2)一般治疗操作费:</span>
<widget wid="HDSD00_11_148" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">(3)护理费:</span>
<widget wid="HDSD00_11_145" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">(4)其他费用:</span>
<widget wid="HDSD00_11_146" type="input" width="200"></widget>
</div>
<div class="doc-inner-title">2.诊断类:</div>
<div>
<span class="widget-label">(5)病理诊断费:</span>
<widget wid="HDSD00_11_121" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">(6)实验室诊断费:</span>
<widget wid="HDSD00_11_123" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">(7)影像学诊断费:</span>
<widget wid="HDSD00_11_124" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">(8)临床诊断项目费:</span>
<widget wid="HDSD00_11_122" type="input" width="200"></widget>
</div>
<div class="doc-inner-title">3.治疗类:</div>
<div class="whole">
<span class="widget-label">(9)非手术治疗项目费:</span>
<widget wid="HDSD00_11_129" type="input"></widget>(临床物理治疗费:
<widget wid="HDSD00_11_130" type="input"></widget>
</div>
<div class="whole">
<span class="widget-label">(10)手术治疗费:</span>
<widget wid="HDSD00_11_131" type="input"></widget>(麻醉费:
<widget wid="HDSD00_11_132" type="input"></widget>手术费:
<widget wid="HDSD00_11_133" type="input"></widget>
</div>
<div class="doc-inner-title">4.康复类:</div>
<div>
<span class="widget-label">(11)康复费:</span>
<widget wid="HDSD00_11_055" type="input" width="200"></widget>
</div>
<div class="doc-inner-title">5.中医类:</div>
<div>
<span class="widget-label">(12)中医治疗费:</span>
<widget wid="HDSD00_11_136" type="input" width="200"></widget>
</div>
<div class="doc-inner-title">6.西药类:</div>
<div class="whole">
<span class="widget-label">(13)西药费:</span>
<widget wid="HDSD00_11_098" type="input"></widget>(抗菌药物费用:
<widget wid="HDSD00_11_099" type="input"></widget>
</div>
<div class="doc-inner-title">7.中药类:</div>
<div>
<span class="widget-label">(14)中成药费:</span>
<widget wid="HDSD00_11_135" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">(15)中草药费:</span>
<widget wid="HDSD00_11_134" type="input" width="200"></widget>
</div>
<div class="doc-inner-title">8.血液和血液制品类:</div>
<div>
<span class="widget-label">(16)血费:</span>
<widget wid="HDSD00_11_115" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">(17)白蛋白类制品费:</span>
<widget wid="HDSD00_11_111 " type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">(18)球蛋白类制品费:</span>
<widget wid="HDSD00_11_113" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">(19)凝血因子类制品费:</span>
<widget wid="HDSD00_11_112" type="input" width="185"></widget>
</div>
<div>
<span class="widget-label">(20)细胞因子类制品费:</span>
<widget wid="HDSD00_11_114" type="input" width="185"></widget>
</div>
<div class="doc-inner-title">9.耗材类:</div>
<div>
<span class="widget-label">(21)检查用一次性医用材料费:</span>
<widget wid="HDSD00_11_038" type="input" width="145"></widget>
</div>
<div>
<span class="widget-label">(22)治疗用一次性医用材料费:</span>
<widget wid="HDSD00_11_040" type="input" width="145"></widget>
</div>
<div>
<span class="widget-label">(23)手术用一次性医用材料费:</span>
<widget wid="HDSD00_11_039" type="input" width="145"></widget>
</div>
<div class="doc-inner-title">10.其他类:</div>
<div>
<span class="widget-label">(24)其他费:</span>
<widget wid="HDSD00_11_081" type="input" width="200"></widget>
</div>
<div class="whole">
<table width="100%" cellpadding="0" cellspace="0">
<thead>
<tr>
<th>重症监护室名称</th>
<th>进入重症监护室时间(年 月 日 时 分)</th>
<th>转出重症监护室时间(年 月 日 时 分)</th>
</tr>
</thead>
<tbody>
<tr>
<td><widget wid="HDSD00_11_150" type="input" width="180"></widget></td>
<td><widget wid="HDSD00_11_151" type="date" width="250"></widget></td>
<td><widget wid="HDSD00_11_152" type="date" width="250"></widget></td>
</tr>
<tr>
<td><widget wid="HDSD00_11_150_2" type="input" width="180"></widget></td>
<td><widget wid="HDSD00_11_151_2" type="date" width="250"></widget></td>
<td><widget wid="HDSD00_11_152_2" type="date" width="250"></widget></td>
</tr>
<tr>
<td><widget wid="HDSD00_11_150_3" type="input" width="180"></widget></td>
<td><widget wid="HDSD00_11_151_3" type="date" width="250"></widget></td>
<td><widget wid="HDSD00_11_152_3" type="date" width="250"></widget></td>
</tr>
</tbody>
</table>
</div>
<div>
<span class="widget-label">危重病例:</span>
<widget wid="HDSD00_11_153" type="radio"></widget>
</div>
<div>
<span class="widget-label">疑难病例:</span>
<widget wid="HDSD00_11_154" type="radio"></widget>
</div>
<div>
<span class="widget-label">MDT病例:</span>
<widget wid="HDSD00_11_155" type="radio"></widget>
</div>
<div>
<span class="widget-label">单病种病例:</span>
<widget wid="HDSD00_11_156" type="radio"></widget>
</div>
<div>
<span class="widget-label">日间手术病例:</span>
<widget wid="HDSD00_11_157" type="radio"></widget>
</div>
<div>
<span class="widget-label">教学查房病例:</span>
<widget wid="HDSD00_11_158" type="radio"></widget>
</div>
<div class="whole">
<span class="widget-label">诊断符合情况:</span>
</div>
<div>
<span class="widget-label">门诊与出院:</span>
<widget wid="HDSD00_11_159" type="radio"></widget>
</div>
<div>
<span class="widget-label">入院与出院:</span>
<widget wid="HDSD00_11_160" type="radio"></widget>
</div>
<div>
<span class="widget-label">术前与术后:</span>
<widget wid="HDSD00_11_161" type="radio"></widget>
</div>
<div>
<span class="widget-label">临床与病理:</span>
<widget wid="HDSD00_11_162" type="radio"></widget>
</div>
<div>
<span class="widget-label">放射与病理:</span>
<widget wid="HDSD00_11_163" type="radio"></widget>
</div>
<div>
<span class="widget-label">抢救情况:</span>
<widget wid="HDSD00_11_164" type="input" width="70"></widget>
成功<widget wid="HDSD00_11_165" type="input" width="70"></widget>
</div>
<div class="whole">
<span class="widget-label">临床路径管理:</span>
<widget wid="HDSD00_11_166" type="radio"></widget>
</div>
<div class="whole">
<span class="widget-label">实施DRGs管理:</span>
<widget wid="HDSD00_HY_DRGS" type="radio"></widget>
</div>
<div>
<span class="widget-label">抗生素使用:</span>
<widget wid="HDSD00_HY_ANTIBIOTIC" type="radio"></widget>
</div>
<div>
<span class="widget-label">细菌培养标本送检:</span>
<widget wid="HDSD00_HY_BCSS" type="radio"></widget>
</div>
<div>
<span class="widget-label">法定传染病:</span>
<widget wid="HDSD00_HY_LID" type="radio"></widget>
</div>
<div class="whole">
<span class="widget-label">肿瘤分期: </span>
T<widget wid="HDSD00_HY_TST" type="input"></widget>
N<widget wid="HDSD00_HY_TSN" type="input"></widget>
M<widget wid="HDSD00_HY_TSM" type="input"></widget>
1.0期 2.I期 3.II期 4.III期 5.IV期 6.不详
</div>
<div class="whole">
<span class="widget-label">新生儿Apgar评分: </span>
<widget wid="HDSD00_HY_APGAR" type="input"></widget>
</div>
</div>
</div>
<div class="doc_explain">
说明:<br>
(一)医疗付费方式:1.城镇职工基本医疗保险 2.城镇居民基本医疗保险 3.新型农村合作医疗
4.贫困救助 5.商业医疗保险 6.全公费 7.全自费 8.其他社会保险 9.其他<br>
(二)凡可由医院信息系统提供住院费用清单的,住院病案首页中可不填写"住院费用"。
</div>
</div>
\ No newline at end of file
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 20px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
margin-left: 400px;
margin-top: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="base-info">
<div>
<span class="widget-label">姓 名: </span>
<widget wid="HY_RYJL_XM" type="input"></widget>
</div>
<div>
<span class="widget-label">性 别: </span>
<widget wid="HY_RYJL_XB" type="input"></widget>
</div>
<div>
<span class="widget-label">婚 姻: </span>
<widget wid="HY_RYJL_HY" type="input"></widget>
</div>
<div>
<span class="widget-label">年 龄: </span>
<widget wid="HY_RYJL_NL" type="input"></widget>
</div>
<div>
<span class="widget-label">民 族:</span>
<widget wid="HY_RYJL_MZ" type="input"></widget>
</div>
<div>
<span class="widget-label">供 史 者: </span>
<widget wid="HY_RYJL_GSZ" type="input" width="300"></widget>
</div>
<div>
<span class="widget-label">职 业: </span>
<widget wid="HY_RYJL_ZY" type="input"></widget>
</div>
<div>
<span class="widget-label">工作单位:</span>
<widget wid="HY_RYJL_GZDW" type="input" width="300"></widget>
</div>
<div class="whole">
<span class="widget-label">现 住 址:</span>
<widget wid="HDSD00_13_03X" type="input" width="300"></widget>
</div>
<div class="whole">
<span class="widget-label">出 生 地: </span>
<widget wid="HY_RYJL_CSD" type="input" width="300"></widget>
</div>
<div>
<span class="widget-label">入院日期:</span>
<widget wid="HY_RYJL_RYSJ" type="date" width="300"></widget>
</div>
</div>
<div class="present-history">
<span class="widget-label">主 诉:</span>
<widget wid="HY_ZS_01" type="textarea" width="670" placeholder="请输入主诉"></widget>
</div>
<div class="present-history">
<span class="widget-label">现病史:</span>
<widget type="textarea" width="670" wid="HY_RYJL_XBS" placeholder="请输入现病史"></widget>
</div>
<div class="present-history">
<span class="widget-label">既往史:</span>
<widget type="textarea" width="670" wid="HY_RYJL_JWS" placeholder="请输入既往史"></widget>
</div>
<div class="present-history">
<span class="widget-label">个人史:</span>
<widget wid="HY_RYJL_GRS" type="textarea" width="670" placeholder="请输入个人史"></widget>
</div>
<!--
<div class="present-history">
<span class="widget-label">月经史:</span>
<widget wid="HDSD00_13_106" type="textarea" width="670" placeholder="请输入月经史"></widget>
</div>
-->
<div class="present-history">
<span class="widget-label">婚育史:</span>
<widget wid="HY_RYJL_HYS" type="textarea" width="670" placeholder="请输入婚育史"></widget>
</div>
<div class="present-history">
<span class="widget-label">家族史:</span>
<widget wid="HY_RYJL_JZS" type="textarea" width="670" placeholder="请输入家族史"></widget>
</div>
<div class="present-history">
<span class="widget-label">体格检查:</span><br>
<widget wid="HY_RYJL_TGJC" type="textarea" placeholder="请输入体格检查" width="750" name="inner" child="true"> </widget>
</div>
<div class="present-history">
<span class="widget-label">专科检查:</span>
<widget wid="HY_RYJL_ZKJC" type="textarea" width="670" placeholder="请输入专科检查"></widget>
</div>
<div class="present-history">
<span class="widget-label">实验室与器械检查:</span>
<widget wid="HY_RYJL_SYSQXCC" type="textarea" width="616" placeholder="请输入实验室与器械检查"></widget>
</div>
<!--
<div class="present-history">
<span class="widget-label">修正诊断:</span>
<widget wid="HY_RYJL_XZZD_01" type="textarea" width="670" placeholder="请输入修正诊断"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HY_RYJL_XZZDYSQM" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">签名时间: </span>
<widget wid="HY_RYJL_XZZDQMRQ" type="date" width="200"></widget>
</div>
</div>
<div class="present-history">
<span class="widget-label">初步诊断:</span>
<widget wid="HY_RYJL_CBZD_01" type="textarea" width="670" placeholder="请输入初步诊断"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HY_RYJL_CBZDYSQM" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">签名时间: </span>
<widget wid="HY_RYJL_CBZDQMRQ" type="date" width="200"></widget>
</div>
</div>
-->
<div class="present-history">
<span class="widget-label">初步诊断:</span>
<widget wid="HY_RYJL_CBZD_01" type="textarea" width="670" placeholder="请输入入院诊断"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HY_RYJL_CBZDYSQM" type="input" width="200"></widget>
</div>
<!--
<div>
<span class="widget-label">签名时间: </span>
<widget wid="HDSD00_13_049" type="date" width="200"></widget>
</div>
-->
</div>
</div>
</div>
\ No newline at end of file
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label">出院小结:</span>
<widget wid="HY_CYXJ_JL" type="textarea" width="600" placeholder="请输入出院小结"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HY_CYXJ_YSQM" type="input" width="200"></widget>
</div>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="base-info">
<div>
<span class="widget-label">姓 名: </span>
<widget wid="HY_SWJL_XM" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">性 别: </span>
<widget wid="HDSD00_16_041" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">年 龄:</span>
<widget wid="HDSD00_16_026" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">婚 姻:</span>
<widget wid="HDSD00_16_020" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">职 业:</span>
<widget wid="HDSD00_16_046" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">入院日期时间:</span>
<widget wid="HDSD00_16_031" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">出院日期:</span>
<widget wid="HDSD00_16_005" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">X光片号:</span>
<widget wid="HY01_16_XG_00" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">CT号:</span>
<widget wid="HY01_16_CT_00" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">病理检验号:</span>
<widget wid="HY01_16_BLJY_00" type="date" width="160"></widget>
</div>
</div>
<div class="present-history">
<span class="widget-label">入院情况:</span>
<widget type="textarea" width="650" wid="HDSD00_16_030" placeholder="请输入入院情况"></widget>
</div>
<div class="present-history">
<span class="widget-label">入院诊断:</span>
<widget type="textarea" width="650" wid="HDSD00_16_032" placeholder="请输入入院诊断"></widget>
</div>
<div class="present-history">
<span class="widget-label">手术名称:</span>
<widget type="textarea" width="630" wid="HDSD00_16_038" placeholder="请输入诊疗过程描述"></widget>
</div>
<div class="present-history">
<span class="widget-label">手术日期:</span>
<widget type="textarea" width="630" wid="HDSD00_16_039" placeholder="请输入诊疗过程描述"></widget>
</div>
<div class="present-history">
<span class="widget-label">诊疗过程描述:</span>
<widget type="textarea" width="630" wid="HDSD00_16_045" placeholder="请输入诊疗过程描述"></widget>
</div>
<div class="present-history">
<span class="widget-label">出院医嘱:</span>
<widget type="textarea" width="650" wid="HDSD00_16_007" placeholder="请输入出院医嘱"></widget>
</div>
<div class="present-history">
<span class="widget-label">出院诊断:</span>
<widget type="textarea" width="650" wid="HDSD00_16_008" placeholder="请输入出院诊断"></widget>
</div>
<div class="present-history">
<span class="widget-label">出院检查:</span>
<widget type="textarea" width="650" wid="HY01_16_CYJC_00" placeholder="请输入出院检查"></widget>
</div>
<div class="present-history">
<span class="widget-label">出院情况:</span>
<widget type="textarea" width="650" wid="HDSD00_16_004" placeholder="请输入出院情况"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">主任医师签名: </span>
<widget wid="HY01_16_ZRYSQM_00" type="input" width="180"></widget>
</div>
<div>
<span class="widget-label">主治医师签名: </span>
<widget wid="HY01_16_ZZYSQM_00" type="input" width="180"></widget>
</div>
<div>
<span class="widget-label">住院医师签名: </span>
<widget wid="HDSD00_16_053" type="input" width="180"></widget>
</div>
</div>
</div>
</div>
\ No newline at end of file
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label">时间:</span>
<widget wid="HY_ZQTHJL_SJ" type="date" width="200" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">地点:</span>
<widget wid="HY_ZQTHJL_DD" type="input" width="200" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">医生:</span>
<widget wid="HY_ZQTHJL_YS" type="input" width="200" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">谈话内容摘要:</span>
<widget wid="HY01_10_GTNR_00" type="textarea" width="600" placeholder="-"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">患方签字: </span>
<widget wid="HY_ZQTHJL_HZQZ" type="input" width="200"></widget>
</div>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="base-info">
</div>
<div class="whole">
<table border="1" cellspacing="1" width="100%">
<tr>
<td>麻醉方式:<widget wid="HY_SSANHCB_MZFS" type="input" width="120"></widget></td>
<td colspan="2">手术名称:<widget wid="HY_SSANHCB_SSMC" type="textarea" width="200"></widget></td>
</tr>
<tr>
<td colspan="3">诊 断:<widget wid="HY_SSANHCB_ZD" type="textarea" width="200"></widget></td>
</tr>
<tr>
<td>术 者:<widget wid="HY_SSANHCB_SD" type="input" width="120"></widget></td>
<td colspan="2">手术日期:<widget wid="HY_SSANHCB_SSRQ" type="textarea" width="200"></widget></td>
</tr>
<tr>
<td>麻醉实施前</td>
<td>手术开始前</td>
<td>患者离开手术室前</td>
</tr>
<tr>
<td>
患者姓名、性别、年龄正确<br>
<widget wid="HY_SSANHCB_MZSSQ" type="textarea" width="200"></widget>
</td>
<td>
患者姓名、性别、年龄正确<br>
<widget wid="HY_SSANHCB_SSKSQ" type="textarea" width="200"></widget>
</td>
<td>
患者姓名、性别、年龄正确<br>
<widget wid="HY_SSANHCB_HZLKSSSQ" type="textarea" width="200"></widget>
</td>
</tr>
</table>
</div>
<div class="autograph">
<div>
<span class="widget-label">手术医师签名: </span>
<widget wid="HY_SSANHCB_SSYSQM" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">麻醉医师签名: </span>
<widget wid="HY_SSANHCB_MZYSQM" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">手术室护士签名: </span>
<widget wid="HY_SSANHCB_SSSFSQM" type="input" width="200"></widget>
</div>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label"> </span>
<widget type="textarea" width="650" wid="HY01_10_ZYJG_00" placeholder=""></widget>
</div>
<div class="present-history">
<span class="widget-label">手术潜在风险告知:</span>
<widget type="textarea" width="650" wid="HY_SSZQTYS_SSQZFXGZ" placeholder="请输入手术潜在风险告知"></widget>
</div>
<div class="present-history">
<span class="widget-label">备选治疗方案:</span>
<widget type="textarea" width="650" wid="HY_SSZQTYS_BXZLFA" placeholder="请输入备选治疗方案"></widget>
</div>
<div class="present-history">
<span class="widget-label">患者同意手术的确认:</span>
<widget type="textarea" width="650" wid="HY_SSZQTYS_HZTYSSDQR" placeholder="请输入患者同意手术的确认"></widget>
</div>
<div class="present-history">
<span class="widget-label">医患双方的共识:</span>
<widget type="textarea" width="630" wid="HY01_10_YHGS_00" placeholder="请输入医患双方的共识"></widget>
</div>
<div class="whole">
<table width="100%" cellpadding="1" cellspace="0">
<tr>
<td>患者或法定/委托代理人签名:<widget wid="HY_SSZQTYS_HZQZ" type="input" width="200"></widget></td>
<td>经治医生签字:<widget wid="HY_SSZQTYS_JZYSQZ" type="input" width="200"></widget></td>
</tr>
<tr>
<td>患方签字日期:<widget wid="HY_SQXJ_KZRSPYJ" type="input" width="200"></widget></td>
<td>医生签字日期:<widget wid="HY_SSZQTYS_YSQZRQ" type="input" width="200"></widget></td>
</tr>
</table>
</div>
<!--
<div class="base-info">
<div>
<span class="widget-label">患者或法定/委托代理人签名: </span>
<widget wid="HY_SSZQTYS_HZQZ" type="input" width="280"></widget>
</div>
<div>
<span class="widget-label">经治医生签字: </span>
<widget wid="HY_SSZQTYS_JZYSQZ" type="input" width="280"></widget>
</div>
<div style="float: left;">
<span class="widget-label">患方签字日期:</span>
<widget wid="HY_SSZQTYS_FZQZRQ" type="input" width="280"></widget>
</div>
<div>
<span class="widget-label">医生签字日期:</span>
<widget wid="HY_SSZQTYS_YSQZRQ" type="input" width="280"></widget>
</div>
</div>
-->
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="base-info">
<div>
<span class="widget-label">手术日期:</span>
<widget wid="HY01_06_SSRQ_00" type="date" width="200" width="200"></widget>
</div>
<div>
<span class="widget-label">开始时间:</span>
<widget wid="HDSD00_06_078" type="date" width="200" width="200"></widget>
</div>
<div>
<span class="widget-label">结束时间:</span>
<widget wid="HDSD00_06_077" type="date" width="200" width="200"></widget>
</div>
<div>
<span class="widget-label">全程时间: </span>
<widget wid="HY01_06_QCSJ_00" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">术前诊断: </span>
<widget wid="HDSD00_06_104" type="textarea" width="200"></widget>
</div>
<div>
<span class="widget-label">术中诊断: </span>
<widget wid="HY01_06_SZZD_00" type="textarea" width="200"></widget>
</div>
<div>
<span class="widget-label">预定手术名称: </span>
<widget wid="HY_SSJL_YDSSMC" type="textarea" width="200"></widget>
</div>
<div>
<span class="widget-label">实际手术名称: </span>
<widget wid="HDSD00_06_079" type="textarea" width="200"></widget>
</div>
<div>
<span class="widget-label">手术者: </span>
<widget wid="HDSD00_06_085" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">I助: </span>
<widget wid="HDSD00_06_001" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">II助: </span>
<widget wid="HDSD00_06_002" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">器械护士: </span>
<widget wid="HY_SSJL_QXHS" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">麻醉方法: </span>
<widget wid="HDSD00_06_044" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">麻醉医师: </span>
<widget wid="HDSD00_06_055" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">体位: </span>
<widget wid="HDSD00_06_083" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">皮肤消毒: </span>
<widget wid="HDSD00_06_064" type="input" width="200"></widget>
</div>
</div>
<div class="present-history">
<span class="widget-label">手术部位:</span>
<widget type="textarea" width="650" wid="HY_SSJL_SSBW" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">手术经过:</span>
<widget type="textarea" width="630" wid="HDSD00_06_073" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">引流材料名称:</span>
<widget type="textarea" width="650" wid="HY_SSJL_YLCLMC" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">数目:</span>
<widget type="textarea" width="630" wid="HY_SSJL_YLCLSM" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">放置部位:</span>
<widget type="textarea" width="630" wid="HY_SSJL_YLCLFZBW" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">术中用药(麻醉药品除外):</span>
<widget type="textarea" width="630" wid="HY_SSJL_SZYY" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">输血:</span>
<widget type="textarea" width="630" wid="HY_SSJL_SSSXJL" placeholder="-"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">手术者签名: </span>
<widget wid="HDSD00_06_084" type="input" width="200"></widget>
</div>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label"></span>
<widget wid="HY_SSZL_NR" type="textarea" width="800" placeholder="-"></widget>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label"></span>
<widget wid="HDSD00_14_005" type="textarea" width="600" placeholder="请输入内容"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HDSD00_14_117" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">签名日期: </span>
<widget wid="HDSD00_14_076" type="date" width="200"></widget>
</div>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="base-info">
<div>
<span class="widget-label">手术日期:</span>
<widget wid="HY_RJSSJL_SSRQ" type="date" width="200" width="200"></widget>
</div>
<div>
<span class="widget-label">开始时间:</span>
<widget wid="HY_RJSSJL_KSSJ" type="date" width="200" width="200"></widget>
</div>
<div>
<span class="widget-label">结束时间:</span>
<widget wid="HY_RJSSJL_JSSJ" type="date" width="200" width="200"></widget>
</div>
<div>
<span class="widget-label">全程时间: </span>
<widget wid="HY_RJSSJL_QCSJ" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">术前诊断: </span>
<widget wid="HY_RJSSJL_SQZD" type="textarea" width="200"></widget>
</div>
<div>
<span class="widget-label">术中诊断: </span>
<widget wid="HY_RJSSJL_SZZD" type="textarea" width="200"></widget>
</div>
<div>
<span class="widget-label">手术名称: </span>
<widget wid="HY_RJSSJL_SSMC" type="textarea" width="200"></widget>
</div>
<div>
<span class="widget-label">手术者: </span>
<widget wid="HY_RJSSJL_SSZ" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">助手: </span>
<widget wid="HY_RJSSJL_SSZ" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">护士: </span>
<widget wid="HY_RJSSJL_HS" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">麻醉方法: </span>
<widget wid="HY_RJSSJL_MZFF" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">麻醉医师: </span>
<widget wid="HY_RJSSJL_MZYS" type="input" width="200"></widget>
</div>
</div>
<div class="present-history">
<span class="widget-label">手术经过:</span>
<widget type="textarea" width="630" wid="HY_RJSSJL_SSJG" placeholder="-"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">手术者签名: </span>
<widget wid="HY_RJSSJL_SSZQM" type="input" width="200"></widget>
</div>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="base-info">
<div>
<span class="widget-label">姓 名: </span>
<widget wid="HY_24RYJL_XM" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">职 业:</span>
<widget wid="HY_24RYJL_ZY" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">性 别: </span>
<widget wid="HY_24RYJL_XB" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">工作单位: </span>
<widget wid="HY_24RYJL_GZDW" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">年 龄:</span>
<widget wid="HY_24RYJL_NL" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">住 址:</span>
<widget wid="HY_24RYJL_ZZ" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">婚 姻:</span>
<widget wid="HY_24RYJL_HY" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">供史者:</span>
<widget wid="HY_24RYJL_GSZ" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">出生地:</span>
<widget wid="HY_24RYJL_CSD" type="input" width="160"></widget>
</div>
<div>
<span class="widget-label">入院日期:</span>
<widget wid="HY_24RYJL_RYRQ" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">民 族:</span>
<widget wid="HY_24RYJL_MZ" type="date" width="160"></widget>
</div>
<!--
<div>
<span class="widget-label">出院日期:</span>
<widget wid="HY_24RYJL_CYRQ" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">床号:</span>
<widget wid="HY_24RYJL_CH" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">CT号:</span>
<widget wid="HY01_16_CT_00" type="date" width="160"></widget>
</div>
<div>
<span class="widget-label">病理检验号:</span>
<widget wid="HY01_16_BLJY_00" type="date" width="160"></widget>
</div>
-->
</div>
<div class="present-history">
<span class="widget-label">主诉:</span>
<widget type="textarea" width="650" wid="HY_24RYJL_ZS" placeholder="请输入主诉"></widget>
</div>
<div class="present-history">
<span class="widget-label">病史:</span>
<widget type="textarea" width="650" wid="HY_24RYJL_XBS" placeholder="请输入现病史"></widget>
</div>
<div class="present-history">
<span class="widget-label">专科检查:</span>
<widget type="textarea" width="630" wid="HY_24RYJL_ZKJC" placeholder="请输入专科检查"></widget>
</div>
<div class="present-history">
<span class="widget-label">入院诊断:</span>
<widget type="textarea" width="630" wid="HY_24RYJL_RYZD" placeholder="请输入入院诊断"></widget>
</div>
<div class="present-history">
<span class="widget-label">诊治经过:</span>
<widget type="textarea" width="630" wid="HY_24RYJL_ZZJG" placeholder="请输入诊治经过"></widget>
</div>
<div class="present-history">
<span class="widget-label">出院情况:</span>
<widget type="textarea" width="650" wid="HY_24RYJL_CYQK" placeholder="请输入出院情况"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">出院日期: </span>
<widget wid="HY_24RYJL_CYRQ" type="input" width="120"></widget>
</div>
</div>
<div class="present-history">
<span class="widget-label">出院诊断:</span>
<widget type="textarea" width="650" wid="HY_24RYJL_CYZD" placeholder="请输入出院诊断"></widget>
</div>
<div class="present-history">
<span class="widget-label">出院医嘱:</span>
<widget type="textarea" width="650" wid="HY_24RYJL_CYYZ" placeholder="请输入出院医嘱"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HY_24RYJL_YSQM" type="input" width="180"></widget>
</div>
</div>
</div>
</div>
\ No newline at end of file
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 20px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
margin-left: 400px;
margin-top: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="base-info">
<div>
<span class="widget-label">科 别: </span>
<widget wid="HY_HYJL_KB" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">病 区: </span>
<widget wid="HY_HYJL_BQ" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">床 号: </span>
<widget wid="HY_HYJL_CH" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">住院号: </span>
<widget wid="HY_HYJL_ZYH" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">姓 名:</span>
<widget wid="HY_HYJL_XM" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">性 别: </span>
<widget wid="HY_HYJL_XB" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">年 龄: </span>
<widget wid="HY_HYJL_NL" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">婚 姻:</span>
<widget wid="HY_HYJL_HY" type="input" width="200"></widget>
</div>
<div class="whole">
<span class="widget-label">职 业:</span>
<widget wid="HY_HYJL_ZY" type="input" width="200"></widget>
</div>
</div>
<div class="present-history">
<span class="widget-label">病历摘要:</span>
<widget wid="HY_HYJL_BLZY" type="textarea" width="670" placeholder="请输入病历摘要"></widget>
</div>
<div class="present-history">
<span class="widget-label">申请会诊目的和要求:</span>
<widget wid="HY_HYJL_SQHZMDHYQ" type="textarea" width="670" placeholder="请输入申请会诊目的和要求"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">申请会诊医师: </span>
<widget wid="HY_HYJL_SQHZYS" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">日期: </span>
<widget wid="HY_HYJL_HZDRQ" type="date" width="200"></widget>
</div>
</div>
<div class="present-history">
<span class="widget-label">会诊医师意见:</span>
<widget wid="HY_HYJL_HZYSYJ" type="textarea" width="670" placeholder="请输入会诊医师意见"></widget>
</div>
<!--
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HDSD00_13_117" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">签名时间: </span>
<widget wid="HDSD00_13_049" type="date" width="200"></widget>
</div>
</div>
-->
</div>
</div>
\ No newline at end of file
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="base-info">
</div>
<div class="present-history">
<span class="widget-label">病史摘要:</span>
<widget type="textarea" width="650" wid="HY_SQXJ_BSZY" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">术前诊断:</span>
<widget type="textarea" width="650" wid="HY_SQXJ_SQZD" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">诊断依据:</span>
<widget type="textarea" width="630" wid="HY01_06_ZDYJ_00" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">手术指征及病情评估:</span>
<widget type="textarea" width="630" wid="HY01_06_SSZZ_00" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">拟行手术:</span>
<widget type="textarea" width="630" wid="HY_SQXJ_SSMC" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">手术类别:</span>
<widget type="textarea" width="630" wid="HY_SQXJ_SSLB" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">拟施手术时间:</span>
<widget type="textarea" width="630" wid="HY01_06_NSSRQ_00" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">手术级别:</span>
<widget type="textarea" width="630" wid="HY_SQXJ_SSJB" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">拟手术者:</span>
<widget type="textarea" width="630" wid="HY_SQXJ_SSZ" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">拟行麻醉:</span>
<widget type="textarea" width="630" wid="HDSD00_06_058" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">术前准备:</span>
<widget type="textarea" width="630" wid="HY01_06_SQTSZB_00" placeholder="-"></widget>
</div>
<div class="whole">
<table width="100%" cellpadding="1" cellspace="0">
<tr>
<td>7、主治医师签名:<widget wid="HY_SQXJ_ZZYS" type="input" width="120"></widget></td>
<td>住院医师签字:<widget wid="HY_SQXJ_ZYYSQZ" type="input" width="120"></widget></td>
<td>记录日期:<widget wid="HY_SQXJ_JLRQ" type="input" width="120"></widget></td>
</tr>
<tr>
<td>8、科主任审批意见:<widget wid="HY_SQXJ_KZRSPYJ" type="input" width="120"></widget></td>
<td>签字:<widget wid="HY_SQXJ_KZRQZ" type="input" width="120"></widget></td>
<td>审批日期:<widget wid="HY_SQXJ_KZRSPRQ" type="input" width="120"></widget></td>
</tr>
</table>
</div>
<!--
<div class="present-history">
<span class="widget-label">主治医生:</span>
<widget type="textarea" width="630" wid="HY_SQXJ_ZZYS" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">记录日期:</span>
<widget type="textarea" width="630" wid="HY_SQXJ_JLRQ" placeholder="-"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HY_SQXJ_YSQM" type="input" width="180"></widget>
</div>
</div>
-->
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="base-info">
<div>
<span class="widget-label">姓 名:</span>
<widget wid="HY01_06_XM_SQTL" type="date" width="200" width="200"></widget>
</div>
<div>
<span class="widget-label">性 别:</span>
<widget wid="HY01_06_XB_SQTL" type="date" width="200" width="200"></widget>
</div>
<div>
<span class="widget-label">年 龄:</span>
<widget wid="HY01_06_NL_SQTL" type="date" width="200" width="200"></widget>
</div>
<div>
<span class="widget-label">讨论时间: </span>
<widget wid="HY01_06_TLRQ_SQTL" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">主 持 人: </span>
<widget wid="HY01_06_ZCR_SQTL" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">职 称: </span>
<widget wid="HY01_06_ZC_SQTL" type="input" width="200"></widget>
</div>
</div>
<div class="present-history">
<span class="widget-label">参加人员:</span>
<widget type="textarea" width="650" wid="HY01_06_CHRY_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">手术前诊断:</span>
<widget type="textarea" width="650" wid="HY01_06_SSQZD_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">手术指征:</span>
<widget type="textarea" width="630" wid="HY01_06_SSZZ_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">术前准备情况:</span>
<widget type="textarea" width="630" wid="HY01_06_SQZBQK_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">手术名称:</span>
<widget type="textarea" width="630" wid="HY01_06_SSMC_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">手术体位:</span>
<widget type="textarea" width="630" wid="HY01_06_TW_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">手术入路及手术切口:</span>
<widget type="textarea" width="630" wid="HY01_06_SSRL_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">操作步骤:</span>
<widget type="textarea" width="630" wid="HY01_06_CZBZ_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">术中注意事项、可能出现的意外及防范措施:</span>
<widget type="textarea" width="630" wid="HY01_06_SZKNFSWT_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">术后可能出现的意外及防范措施:</span>
<widget type="textarea" width="630" wid="HY01_06_SHKNFSWT_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">住院医师发言:</span>
<widget type="textarea" width="630" wid="HY01_06_ZYYSFY_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">主治医师发言:</span>
<widget type="textarea" width="630" wid="HY01_06_ZZYSFY_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">副主任医师以上发言:</span>
<widget type="textarea" width="630" wid="HY01_06_FZRYSFY_SQTL" placeholder="-"></widget>
</div>
<div class="present-history">
<span class="widget-label">主持人总结:</span>
<widget type="textarea" width="630" wid="HY01_06_ZCRZJ_SQTL" placeholder="-"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">主持人审签: </span>
<widget wid="HY01_06_ZCRSQ_SQTL" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">记录者签名: </span>
<widget wid="HY01_06_JLZQM_SQTL" type="input" width="200"></widget>
</div>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label">查房记录:</span>
<widget wid="HDSD00_14_011" type="textarea" width="600" placeholder="请输入查房记录"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HDSD00_14_138" type="input" width="200"></widget>
</div>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label"></span>
<widget wid="HY_BLTLJL_NR" type="textarea" width="800" placeholder="-"></widget>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label"></span>
<widget wid="HY_ZQTYS_NR" type="textarea" width="800" placeholder="-"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HDSD00_13_117" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">患方签字: </span>
<widget wid="HY_ZQTHJL_HZQZ" type="input" width="200"></widget>
</div>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label"></span>
<widget wid="HY_SXBL_NR" type="textarea" width="800" placeholder="-"></widget>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label">疾病介绍和治疗建议:</span>
<widget wid="HY_SXBL_JBJS" type="textarea" width="670" placeholder="请输入疾病介绍和治疗建议"></widget>
</div>
<div class="present-history">
<span class="widget-label">1.患者基本情况:</span>
<widget wid="HY_SXBL_HZJBQK" type="textarea" width="670" placeholder="请输入患者基本情况"></widget>
</div>
<div class="present-history">
<span class="widget-label">2.建议采取的输血方式:</span>
<widget wid="HY_SXBL_JYCQDSXFS" type="textarea" width="670" placeholder="请输入建议采取的输血方式"></widget>
</div>
<div class="present-history">
<span class="widget-label">治疗潜在风险和对策:</span>
<widget wid="HY_SXBL_ZLQZFXHDC" type="textarea" width="670" placeholder="请输入治疗潜在风险和对策"></widget>
</div>
<div class="present-history">
<span class="widget-label">患者、患者监护人、委托代理人意见:</span>
<widget wid="HY_SXBL_HZYJ" type="textarea" width="670" placeholder="请输入患者、患者监护人、委托代理人意见"></widget>
</div>
<div class="present-history">
<span class="widget-label">医护人员陈述:</span>
<widget wid="HY_SXBL_YHRYCS" type="textarea" width="670" placeholder="请输入医护人员陈述"></widget>
</div>
<div class="present-history">
<span class="widget-label">医护人员陈述:</span>
<widget wid="HY_SXBL_YHRYCS" type="textarea" width="670" placeholder="请输入医护人员陈述"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HY_SXBL_YSQM" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">日期: </span>
<widget wid="HY_SXBL_RQ" type="date" width="200"></widget>
</div>
</div>
</div>
</div>
<style id="CaseStyle">.doc-header {
<style id="CaseStyle">.doc-header {
position: relative;
padding-top: 10px;
padding-bottom: 20px;
}
.doc-header .hospital-name {
font-family: KaiTi;
font-weight: bold;
text-align: center;
font-size: 22px;
margin-bottom: 10px;
}
.doc-header .organization-id {
vertical-align: middle;
font-size: 14px;
position: absolute;
right: 10px;
top: 10px;
text-align: center;
margin-bottom: 10px;
}
.doc-header .doc-title {
font-weight: bold;
text-align: center;
font-size: 24px;
}
.doc-header .sub-title {
font-weight: bold;
text-align: center;
font-size: 16px;
}
.doc-header .patient-info {
margin-top: 15px;
margin-bottom: 10px;
display: flex;
}
.doc-header .patient-info > div {
flex-grow: 1;
}
.doc-body .base-info {
margin-top: 20px;
}
.doc-body .base-info > div {
margin-bottom: 20px;
float: left;
width: 50%;
}
.doc-body .base-info > div.whole {
width: 100%;
}
.doc-body .base-info > div.line {
background: #e0e0e0;
height: 1px;
}
.doc-body .base-info::after {
content: " ";
display: table;
clear: both;
}
.doc-body .base-info > div.whole table{
border-collapse: collapse;
border: 1px solid #e0e0e0;
}
.doc-body .base-info > div.whole table th,.doc-body .base-info > div.whole table td{
border: 1px solid #e0e0e0;
padding: 5px 10px;
}
.doc-body .base-info .widget-label {
display: inline-block;
}
.doc-body .chief-complaint,
.doc-body .present-history {
margin-top: 20px;
}
.doc-body .chief-complaint .widget-label,
.doc-body .present-history .widget-label {
font-weight: bold;
display: inline-block;
}
.doc-body .autograph,
.doc-body .diagnosis {
text-align: right;
margin-top: 40px;
margin-right: 20px;
}
.doc-body .autograph > div{
margin-bottom: 20px;
}</style>
<div class="doc-container">
<include src="mrqc/customCaseTpl/public/xy2yy_head.tpl"></include>
<div class="doc-body">
<div class="present-history">
<span class="widget-label">一、病例特点:</span>
<widget wid="HY_SCBC_BLTD" type="textarea" width="600" placeholder="请输入病例特点"></widget>
</div>
<div class="present-history">
<span class="widget-label">二、拟诊讨论:</span>
<widget wid="HY_SCBC_NZTL" type="textarea" width="600" placeholder="请输入拟诊讨论"></widget>
</div>
<div class="present-history">
<span class="widget-label">三、诊疗计划:</span>
<widget wid="HY_SCBC_ZLJH" type="textarea" width="600" placeholder="请输入诊疗计划"></widget>
</div>
<div class="autograph">
<div>
<span class="widget-label">医师签名: </span>
<widget wid="HY_SCBC_YSQM" type="input" width="200"></widget>
</div>
<div>
<span class="widget-label">签名日期: </span>
<widget wid="HY_SCBC_QMSJ" type="date" width="200"></widget>
</div>
</div>
</div>
</div>
var recordIds = [];
var isDataLoadSuccess = false;
var element,laydate;
//通知弹窗ID,用于关闭
var layerDemorb = 0;
var tipsNum;
//缺陷项集
var allDefect;
if (inpatientAreaInputName != '') {
$("#inpatientAreaInputName").text(inpatientAreaInputName + ":");
}
if (departmentInputName != '') {
$("#departmentInputName").text(departmentInputName + ":");
}
$(function() {
init();
layui.use(['laydate','element'], function () {
element = layui.element;
date = new Date();
var max = date.getFullYear() + '-' + (date.getMonth() + 1);
var laydate = layui.laydate;
/*病区时间选择器*/
var qcMonth = laydate.render({
elem: '#hospitDate',
theme: 'molv',
max: max,
type: 'month',
trigger: 'click',
btns: ['clear', 'confirm'],
done: function (value, date) {
},
change: function (value, date, endDate) {
if ($(event.target).hasClass("layui-this")) {
$(this.elem).val(value);
$(".layui-laydate").remove();
}
}
});
});
});
/**
* 查询
*/
function query(){
isDataLoadSuccess = false;
getSelect2Checked();
$.table.search()
}
/**
* 页面初始化
*/
function init(){
//隐藏selec2搜索框
hiddenSelect2Search();
//初始化科室,病区和医生
initInpatientArea();
initDepartmentSel(allDepartment);
initDoctor(allDoctor);
//默认登录用户所在科室
if(deptName != null && deptName != ''){
if($.inArray(deptName, allInpatientArea) === -1){
var html = $("#inpatientAreaSel").html();
html += "<option value='" + deptName + "'>" + deptName + "</option>"
$("#inpatientAreaSel").html(html);
}
$("#inpatientArea").val(deptName);
$("#inpatientAreaSel").val(deptName).trigger('change');
$("#inpatientAreaSel").attr("disabled","disabled").css("background","rgba(0,0,0,.075)");
}
//默认病区
if(inpatientAreaName != null && inpatientAreaName != ''){
var areaNames = inpatientAreaName.split(",");
for (var i = 0; i < areaNames.length; i++) {
areaNames[i] = areaNames[i].substring(0,areaNames[i].indexOf("病区")+2)
}
$("#departmentName").val(areaNames);
$("#departmentSel").val(areaNames).trigger('change');
$("#departmentSel").attr("disabled","disabled");
setTimeout(function () {
$("#departmentSel").next().find("li.select2-selection__choice").css("color","#0e0e0e")
},100);
}
/*//默认大部门
if(inpatientAreaName != null && inpatientAreaName !== ''){
if($.inArray(inpatientAreaName, allInpatientArea) === -1){
var html = $("#inpatientAreaSel").html();
html += "<option value='" + inpatientAreaName + "'>" + inpatientAreaName + "</option>"
$("#inpatientAreaSel").html(html);
}
$("#inpatientArea").val(inpatientAreaName);
$("#inpatientAreaSel").val(inpatientAreaName);
$("#inpatientAreaSel").trigger('change');
$("#inpatientAreaSel").attr("disabled","disabled").css("background","rgba(0,0,0,.075)");
}
//默认小部门
if(deptName != null && deptName !== ''){
var deptNames = deptName.split(",")
for (var i = 0; i < deptNames.length; i++) {
deptNames[i] = deptNames[i].substring(0,deptNames[i].indexOf("病区")+2)
}
$("#departmentName").val(deptNames);
$("#departmentSel").val(deptNames).trigger('change');
$("#departmentSel").attr("disabled","disabled");
setTimeout(function () {
$("#departmentSel").next().find("li.select2-selection__choice").css("color","#0e0e0e")
},100);
}*/
// 如果大部门锁定了,可以调整小部门,
// 如果小部门锁定了,那么大部门也要锁定
if ($("#departmentSel").attr('disabled') == 'disabled') {
$("#inpatientAreaSel").attr("disabled","disabled").css("background","rgba(0,0,0,.075)");
}
var panehHidden = false;
if ($(this).width() < 769) {
panehHidden = true;
}
$('body').layout({
initClosed : panehHidden,
west__size : 185
});
//获取重点指标
queryKeyIndicesOption();
//初始列表
queryUserList();
$('#search').slideToggle(200);
$('#remindAllBtn').click(function () {
var rows = $('#bootstrap-table').bootstrapTable('getSelections');
sendRemind(rows);
});
}
/**
* 初始化数据列表
*/
function queryUserList() {
if(doctorName != null){
$("#mainDoctor").val(doctorName);
$("#div11").hide();
$("#div22").hide();
}
isDataLoadSuccess = false;
var options = {
url : prefix + "/list",
exportUrl: prefix + "/export",
modalName : "过程质控",
showSearch : false,
sortName: "in_time",
sortOrder: "desc",
columns : [
// {
// checkbox : true,
// visible: hasRemind
// },
{
field : 'recordId'
,title : '记录编号'
,visible: false
},
{
field : 'hospitNum'
,title : '病案号'
//,align : 'center'
,sortable : false
,formatter : function(value, row, index) {
recordIds.push(row.recordId);
return '<a href="javascript:void(0)" style="color: #080bea;" onclick="mrqcDetial(\''+ row.recordId +'\')"> '+ value +' </a> '
}
},
{
field : 'patientName',
title : '患者',
sortable : false
},
{
field : 'mainDoctor',
title : '主治医生',
sortable : true
},
{
field : 'diagnosis',
title : '诊断',
sortable : false
,formatter : function(value, row, index) {
if(value != null && value.length > 7 ){
return "<div title='"+ value +"'> "+ value.substring(0,7) +"... </div>";
}else{
return value;
}
}
},
{
field : 'inNum',
title : '住院天数',
align : 'center',
sortable : true
},
{
field : 'inTime',
title : '入院时间',
align : 'center',
sortable : true
},
{
field : 'timeoutItemNum',
title : '超时项目',
align : 'center',
sortable : false
,formatter : function(value, row, index) {
if(value == null || value == undefined || value === ""){
value = 0;
}
return "<div style='width: 100%; height: 100%' id='div_" + row.recordId +"1' " +
"onmouseover=\"showTips('"+ value +"','"+ row.recordId +"',1)\" onmouseleave='closeLayTips()'>"+ value +"</div>";
}
},
/*{
field : 'missingItemNum',
title : '漏缺项目',
align : 'center',
sortable : true
},*/
{
field : 'keyItemNum',
title : '重点项目',
align : 'center',
sortable : false
,formatter : function(value, row, index) {
if(value == null || value == undefined || value === ""){
value = 0;
}
return "<div style='width: 100%; height: 100%' id='div_" + row.recordId +"2' " +
"onmouseover=\"showTips('"+ value +"','"+ row.recordId +"',2)\" onmouseleave='closeLayTips()'>"+ value +"</div>";
}
},
{
field : 'contentNum',
title : '缺失文书',
align : 'center',
sortable : true
},
{
field: 'homepageScore',
title: '首页结果',
align: 'center',
sortable: true
, formatter: function (value, row, index) {
if (value > lvYTopScore) {
return '甲(' + value + '分)';
} else if (value > lvBTopScore) {
return '乙(' + value + '分)';
} else {
return '丙(' + value + '分)';
}
}
},
{
field: 'recordScore',
title: '全病历结果',
align: 'center',
sortable: true
, formatter: function (value, row, index) {
if (value > lvYTopScore) {
return '甲(' + value + '分)';
} else if (value > lvBTopScore) {
return '乙(' + value + '分)';
} else {
return '丙(' + value + '分)';
}
}
},
{
field : 'messageNum',
title : '提醒/已读',
align : 'center',
sortable : true
},{
title : '操作',
align : 'center',
formatter : function(value, row, index) {
var actions = [];
actions.push('<a class="btn btn-info btn-xs '
+ '" href="javascript:void(0)" onclick="showMrqcHistory(\''+ row.recordId +'\')"><i class="fa fa-map" style="margin-right: 2px;"></i>提醒历史</a> ');
actions.push('<a class="btn btn-success btn-xs '
+ '" href="javascript:void(0)" onclick="showDefect(this,\''+ row.recordId +'\')"><i class="fa fa-edit" style="margin-right: 2px;"></i>缺陷项</a> ');
/*actions.push('<a class="btn btn-primary btn-xs '
+ '" href="javascript:void(0)" onclick="refreshEmrScore(\''+ row.recordId +'\')"><i class="fa fa-refresh"></i>刷新</a> ');*/
if(hasRemind){
actions.push('<a class="btn btn-warning btn-xs '
+ '" href="javascript:void(0)" onclick="remind(\''+ index +'\')"><i class="fa fa-bell" style="margin-right: 2px;"></i>提醒</a> ');
}
return actions.join('');
}
} ],
onLoadSuccess: function (data) {
isDataLoadSuccess = true;
if(recordIds.length > 0){
//列表加载完成后,加载缺陷项
findAllDefects();
}
}
};
$.table.init(options);
}
/**
* 重置页面
*/
function resetIndex() {
window.location.reload();
}
/**
* 发送提醒
*/
function sendRemind(rows) {
if (rows.length == 0) {
$.modal.alertWarning("请至少选择一条记录");
return;
}
//暂时用不上,先注释,如果要使用,需要将住院号改成recordId
// var hospitNums = "";
// for(var i = 0; i < rows.length; i ++) {
// hospitNums += rows[i].hospitNum;
// hospitNums += ",";
// }
// $.modal.open("确认发送质控消息", prefix + "/sendMessage?blhs=" + hospitNums.substring(0, hospitNums.length - 1), '500', '400');
var recordIds = "";
var mainDoctors = "";
for(var i = 0; i < rows.length; i ++) {
if(i==0){
recordIds = rows[i].recordId;
mainDoctors = rows[i].mainDoctor;
}else{
recordIds += ","+rows[i].recordId;
mainDoctors += ","+rows[i].mainDoctor;
}
}
$.modal.open("确认发送质控消息", prefixKqyy + "/sendMessage?recordId=" + recordIds+"&mainDoctors="+mainDoctors, '500', '400');
};
/**
* 提醒
*/
function remind(index) {
var row = $("#bootstrap-table").bootstrapTable("getData")[index];
var rows = [];
rows.push(row);
sendRemind(rows);
}
/**
* 展示病历详情
*/
function mrqcDetial(recordId) {
var index = parent.layer.open({
type : 2,
title : '质控详情页面',
content : ctx + "mrqc/emrrecord/todetail/" + recordId,
area : [ '100%', '100%' ],
maxmin : true
});
};
/**
* 获取重点指标选择项
*/
function getSelect2Checked() {
var keyIndices = new Array();
var departmentNames = new Array();
var doctors = new Array();
$("#keyIndices option:selected").each(function () {
if ($(this).val() != null && $(this).val() != '')
keyIndices.push($(this).val())
});
$("#keyIndiceVals").val(keyIndices.join(','));
$("#departmentSel option:selected").each(function () {
if ($(this).val() != null && $(this).val() != '')
departmentNames.push($(this).val())
});
$("#departmentName").val(departmentNames.join(','));
if(doctorName != null){
$("#mainDoctor").val(doctorName);
$("#div11").hide();
$("#div22").hide();
}else{
$("#mainDoctorSel option:selected").each(function () {
if ($(this).val() != null && $(this).val() != '')
doctors.push($(this).val())
});
$("#mainDoctor").val(doctors.join(','));
}
}
/**
* 获取重点监控指标
*/
function queryKeyIndicesOption() {
$.ajax({
url: ctx + 'userMrqc/loadKeyIndices',
type: 'get',
success: function (res) {
if (res && res.length > 0) {
var html = "";
for (var i = 0; i < res.length; i++) {
html += "<option value='"+res[i].code+"'>" + res[i].desc + "</option>"
}
$("#keyIndices").html(html);
}
}
});
}
/**
* 初始化科室
*/
function initInpatientArea() {
$("#inpatientAreaSel").html("");
var html = "<option value=''>全部</option>";
for (var i = 0; i < allInpatientArea.length; i++) {
var inpatientAreaElement = allInpatientArea[i];
html += "<option value='" + inpatientAreaElement + "'>" + inpatientAreaElement + "</option>"
}
$("#inpatientAreaSel").html(html);
}
/**
* 初始化病区
*/
function initDepartmentSel(departments) {
$("#departmentSel").html("");
var html = "";
for (var i = 0; i < departments.length; i++) {
var department = departments[i];
if(department.search("病区") != -1){
department = department.substring(0,department.indexOf("病区")+2)
}
html += "<option value='" + department + "'>" + department + "</option>"
}
$("#departmentSel").html(html);
}
/**
* 初始化医师
*/
function initDoctor(doctors) {
$("#mainDoctorSel").html("");
var html = "";
for (var i = 0; i < doctors.length; i++) {
html += "<option value='" + doctors[i] + "'>" + doctors[i] + "</option>"
}
$("#mainDoctorSel").html(html);
}
/**
* 科室选择,联动医生
*/
$("#inpatientAreaSel").on("change",function(){
var inpatientArea = $(this).val();
$("#inpatientArea").val(inpatientArea);
if(inpatientArea === ''){
initDepartmentSel(allDepartment);
initDoctor(allDoctor);
}else{
if(doctorMapByArea[inpatientArea]){
initDoctor(doctorMapByArea[inpatientArea]);
}else{
initDoctor(allDoctor);
}
if(allAreaAndDepatment[inpatientArea]){
initDepartmentSel(allAreaAndDepatment[inpatientArea]);
}else{
initDepartmentSel(allDepartment);
}
}
});
/**
* 医生选择,赋值input
*/
$("#mainDoctorSel").on("select2:select",function(){
var inpatientArea = $(this).val();
if(inpatientArea === ''){
initDoctor(allDoctor)
}else{
for(var p in doctorMapByArea){
if(p === inpatientArea){
initDoctor(doctorMapByArea[p])
}
}
}
});
/**
* 切换在院/出院
*/
function changeStatus() {
if(isDataLoadSuccess){
var status = $("#status").val();
$("#changeStatusBox").removeClass("class");
if(status === "0"){
$("#mouth").html("出院月份:");
$("#status").val("1");
$("#changeStatusBox").removeClass("fa-toggle-off");
$("#changeStatusBox").addClass("fa-toggle-on");
}else{
$("#mouth").html("入院月份:");
$("#status").val("0");
$("#changeStatusBox").removeClass("fa-toggle-on");
$("#changeStatusBox").addClass("fa-toggle-off");
}
getSelect2Checked();
$.table.search();
}else{
layer.msg("请在列表数据加载完成后切换!")
}
isDataLoadSuccess = false;
}
/**
* 关闭缺陷项弹窗
*/
function closeLayOpen() {
layer.close(layerDemorb);
$('#defectDiv').css("left","").css("top","");
}
/**
* 关闭悬浮窗
*/
function closeLayTips() {
layer.close(tipsNum);
}
/**
* 悬浮窗
*/
function showTips(value,id,type) {
if(value != '0' && allDefect){
var allDefectElement = allDefect[id];
var tipHtml = [];
var count = 1;
var countRemarks = [];
for (var i = 0; i < allDefectElement.length; i++) {
var defect = allDefectElement[i];
var resultRemark = defect.resultRemark;
resultRemark = resultRemark == "" ? defect.ruleRemark : resultRemark
if($.inArray(resultRemark,countRemarks) < 0){
if(type == 1){
if(defect.ruleType === '及时性'){
tipHtml.push("<p>"+ count +"."+ resultRemark +"</p>");
count++;
}
}else if(type == 2 ){
if(defect.ruleScore >= 5){
tipHtml.push("<p>"+ count +"."+ resultRemark +"</p>");
count++;
}
}
}
countRemarks.push(resultRemark);
}
var y = 'auto';
var x = 'auto';
var newTipHtml = [];
if(count > 10){
y = '245px';
newTipHtml.push("<div style='height:235px;overflow:auto'>");
}else{
newTipHtml.push("<div>");
}
newTipHtml.push(tipHtml.join(''))
newTipHtml.push("</div>");
tipsNum = layer.tips(newTipHtml.join(''), '#div_'+ id + type, {
tips: [3, 'rgba(0,0,0,0.6)']
,time: 0
,area: [x, y]
});
}
}
/**
* 加载缺陷项数据
*/
function findAllDefects() {
$.ajax({
url : prefix + "/findAllDefectsByRecordIds",
method : "get",
data : {
"recordIds" : recordIds
},
success : function(ret) {
if(ret.code == '0'){
allDefect = ret.data;
recordIds = [];
}
}
});
}
/**
* 展示缺陷项
*/
function showDefect(btn,recordId) {
$('#defectContentDiv').html('');
if(!allDefect){
layer.msg("正在加载数据,请稍后...");
return;
}
var defectElement = allDefect[recordId];
if(defectElement){
// layer.close(layerDemorb);
$('#defectDiv').css("left","").css("top","");
var defectContents = {};
var resultRemarks = [];
for (var i = 0; i < defectElement.length; i++) {
var elementData = defectElement[i];
var emrName = elementData.emrName;
/* 重复规则移除操作*/
var remark = elementData.resultRemark == "" ? elementData.ruleRemark : elementData.resultRemark;
if($.inArray(remark, resultRemarks) < 0){
if(defectContents.hasOwnProperty(emrName)){
var content = defectContents[emrName];
content.push(elementData);
defectContents[emrName] = content;
}else{
var content = [];
content.push(elementData);
defectContents[emrName] = content;
}
}
resultRemarks.push(remark)
}
var defectHtml = [];
var topImageSrc = $('#topImage').attr("src");
var warnImageUrl = topImageSrc.substring(0,topImageSrc.lastIndexOf('/')+1) + "warn.png";
$.each(defectContents,function (key, value) {
defectHtml.push('<div class="layui-colla-item">');
defectHtml.push('<h2 class="layui-colla-title">'+ key +'('+ value.length +')</h2>');
defectHtml.push('<div class="layui-colla-content layui-show" style="padding: 0px 5px;">');
for (var i = 0; i < value.length; i++) {
var valueElement = value[i];
var stdScore = valueElement['stdScore'];
var stdScoreUnit = valueElement['stdScoreUnit'];
if(stdScoreUnit.indexOf("丙") != -1){
stdScore = stdScoreUnit;
}else if(!stdScore || typeof (stdScore) == 'undefined'){
stdScore = '';
}else{
stdScore = "-" + stdScore + "/" + stdScoreUnit;
}
defectHtml.push('<li style="border-radius: 5px;margin-bottom: 2px; padding-left: 5px; background: #ffffffff; margin-top: 4px; background: url('+ warnImageUrl +') left 5px' +
' no-repeat;">');
defectHtml.push('<div class="zkFirst" style="height: 40px;margin-left: 20px;font-family:\'微软雅黑\';font-size: 14px;color: #333;" title="条款:'+ valueElement['ruleName'] +'&#10;扣分:'+ stdScore +'&#10;缺陷:'+ valueElement['resultRemark'] +'">');
defectHtml.push('<div><div style="width:95%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;">')
defectHtml.push(valueElement['ruleName']);
defectHtml.push('</div></div><div style="height:10px"><span class="" style="height: 20px; line-height: 20px;color:red;">');
defectHtml.push('<b>-'+ stdScore !=null && typeof (stdScore) != "undefined" ? stdScore : '' + '</b>')
defectHtml.push('</span></div>');
defectHtml.push('</div>');
defectHtml.push('</li>');
}
defectHtml.push('</div></div>');
});
$('#defectContentDiv').html(defectHtml.join(''));
element.init();
var y = ($(btn).offset().top - 100);
var x = ($(btn).offset().left - 340);
var outerWidth = $(document).width();
var outerHeight = $(document).height();
var windowHeigth = outerHeight / 2 - 100;
if(y >= windowHeigth){
y = windowHeigth - 100;
if(y < 0){
y = 0;
}
}
layerDemorb = layer.open({
type: 1
,title: false
,area: ['350px', '475px']
,offset: [y + 'px', x + 'px']
,skin: 'layer-ext-myskin'
,content: $('#defectDiv')
,shade: 0 //不显示遮罩
,closeBtn: 0
,shadeClose: true
});
}
}
function showMrqcHistory(recordId){
var index = parent.layer.open({
type : 2,
title : '质控提醒历史页面',
content : ctx + "mrqc/histoty/timeline/" + recordId,
area : [ '100%', '100%' ],
maxmin : true
});
}
/**
* 隐藏select2搜索框
*/
function hiddenSelect2Search() {
$("#recordLevel").select2({
minimumResultsForSearch: Infinity // 隐藏搜索框
});
// $("#inpatientAreaSel").select2({
// minimumResultsForSearch: Infinity // 隐藏搜索框
// });
// $("#machineOrLabor").select2({
// minimumResultsForSearch: Infinity // 隐藏搜索框
// });
// $("#departmentSel").select2({
// minimumResultsForSearch: Infinity // 隐藏搜索框
// });
}
//管理员或质控员刷新在院病历
function refreshAllKqyy(){
layer.confirm("刷新在院病历可能需要十分钟左右,您确定要继续吗?", function(confirmWnd){
layer.close(confirmWnd);
var loading = layer.load();
$.ajax({
url : prefixKqyy + "/refreshAllEmrScoreZy",
method : "post",
data : {
"department" : $("#inpatientAreaSel").val()
},
success : function(ret) {
if(ret == null){
return;
}
layer.close(loading);
if(ret.code == '0'){
$.modal.alertSuccess("刷新在院病历成功");
layer.close(confirmWnd);
}
}
});
});
}
\ No newline at end of file
<!doctype html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="utf-8">
<th:block th:include="include :: header('南京市口腔医院病历质控分配规则')"/>
<link rel="stylesheet" th:href="@{/mrqc/css/public.css}">
<link rel="stylesheet" th:href="@{/mrqc/css/list.css}">
<link rel="stylesheet" th:href="@{/mrqc/css/manage_index.css}">
</head>
<script>
var ctx = '[[@{/}]]';
var prefix = ctx + "/manageRecord";
</script>
<body>
<div class="popup_addStaff" id="configQcRuleDiv">
<div class="manageRule" id="detailQcRule">
<!--
<p>
1、质控时间每月<input type="text" id="kqyy.startQcDay" th:value="${@config.getKey('mrqc.rule.getEmr.kqyy.startQcDay')}">日-<input
type="text" id="kqyy.endQcDay" th:value="${@config.getKey('mrqc.rule.getEmr.kqyy.endQcDay')}">日;
</p>
-->
<p>
1、每位质控员每月质控<input type="text" id="kqyy.emrsPerMonth" th:value="${@config.getKey('mrqc.rule.getEmr.kqyy.emrsPerMonth')}">份病历;
</p>
<p>
2、耳鼻咽喉科三病区每月最多质控<input type="text" id="kqyy.ebyhk3bq" th:value="${@config.getKey('mrqc.rule.getEmr.kqyy.ebyhk3bq')}">份病历;
</p>
<p>
3、按以下顺序优先分配病历:死亡、危重、四级手术、三级手术,若条件相同的,以住院时长作判断条件;
</p>
<p>
4、质控的病区范围:<select id="kqyy.priority" class="form-control " style="display:inline;width: 500px;">
<option value="sameAreaMode" th:selected="${@config.getKey('mrqc.rule.getEmr.kqyy.priority') == 'sameAreaMode'}">同区模式:系统只给质控员分配所在病区的病历</option>
<option value="crossConnectionMode" th:selected="${@config.getKey('mrqc.rule.getEmr.kqyy.priority') == 'crossConnectionMode'}">顺序交叉模式:系统将二病区病历分配给一病区质控员,以此类推</option>
<option value="randomMode" th:selected="${@config.getKey('mrqc.rule.getEmr.kqyy.priority') == 'randomMode'}">随机模式:不论病区,根据第3条规则随机分配病历</option>
<option value="randomConnectionMode" th:selected="${@config.getKey('mrqc.rule.getEmr.kqyy.priority') == 'randomConnectionMode'}">随机交叉模式:不看自己病区,一病区质控员随机看二、三、四病区病历</option>
</select>
</p>
<p>
5、医务处可对系统分配的病历进行调整和重新分配;如自动分配给质控员的病历不足
<input type="text" id="kqyy.manualDistributionThreashold" th:value="${@config.getKey('mrqc.rule.getEmr.kqyy.manualDistributionThreashold')}">份,由医务处手工检索抽取后分配给质控员。
</p>
</div>
</div>
</body>
<div th:include="include :: footer"></div>
<script>
function submitHandler() {
var data = {};
$('#detailQcRule input,select').each( function(index){
data[this.id] = $(this).val();
});
$.ajax({
url: prefix + "/saveDistributeRule",
contentType: "application/json",
data: JSON.stringify(data),
type: 'post',
beforeSend: function () {
$.modal.loading("正在处理中,请稍后...");
$.modal.disable();
},
success: function (result) {
$.modal.closeLoading();
$.modal.enable();
if (result.code === web_status.SUCCESS) {
$.modal.alertSuccess("保存成功")
var index = parent.layer.getFrameIndex(window.name);
parent.layer.close(index);
} else {
$.modal.alertError("保存失败," + result.msg);
}
}
});
}
</script>
</html>
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>测试页面</title>
</head>
<body>
质控DEMO工程启动: <span th:text="${demo}"></span>
<br>
当前登录人账号: <span>[[${sysUserDemo.userLogin}]]</span> ; 姓名: <span>[[${sysUserDemo.userName}]]</span>
</body>
</html>
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org"
xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('过程质控列表')" />
<th:block th:include="include :: layout-latest-css" />
<link th:href="@{/mrqc/css/zktx/zk_tips_defect.css}" rel="stylesheet" />
<th:block th:include="include :: select2-css" />
<th:block th:include="include :: ztree-css" />
<link th:href="@{/mrqc/js/layui/css/layui.css}" rel="stylesheet" />
<style type="text/css">
.fixed-table-toolbar .bs-bars, .fixed-table-toolbar .columns, .fixed-table-toolbar .search {
position: relative;
margin-top: 0px;
margin-bottom: 2px;
line-height: 34px;
}
.control-label {
padding: 0;
text-align: right;
height: 36px;
line-height: 36px;
}
.zk_chartArea {
height: auto;
background: rgb(255, 255, 255);
overflow: hidden;
border-radius: 10px;
padding: 10px 0px 0px 0px;
}
.layui-badge-dot {
width: 22px;
height: 18px;
padding: 0;
border-radius: 50%;
font-size: 12px;
text-align: center;
background-color: #FF5722;
color: #fff;
display: inline-block;
margin: 0px -2px 0px;
position: absolute;
top: 12px;
right: -4px;
}
body .layer-ext-myskin {
min-width: 100px;
background-color: rgba(255, 255, 255, 0);
filter: alpha(opacity=60);
background-color: rgba(0,0,0,0);
color: #fff;
border: none;
box-shadow: 1px 1px 5px rgba(0,0,0,0);
}
</style>
</head>
<body class="gray-bg">
<div class="container-div ui-layout-center" onmousedown="closeLayOpen()">
<div class="row">
<div class="col-sm-12 zk_chartArea">
<form id="user-form">
<div class="row">
<div class="form-group col-xs-3 col-sm-3 col-md-3 col-lg-3" id="div11">
<label class="col-xs-5 col-sm-5 col-md-6 col-lg-3 control-label"><font id="inpatientAreaInputName">[[${@mrqcConfig.getAlias('inpatient_area')}]]:</font></label>
<div class="col-xs-7 col-sm-7 col-md-6 col-lg-9">
<input type="hidden" class="form-control" id="inpatientArea" name="inpatientArea" />
<input type="hidden" class="form-control" id="iptaCode" name="iptaCode" th:value="${iptaCode}"/>
<select id="inpatientAreaSel" class="form-control select2">
</select>
</div>
</div>
<div class="form-group col-xs-3 col-md-3 col-md-3 col-lg-3">
<label class="col-xs-5 col-sm-5 col-md-6 col-lg-3 control-label"><font id="departmentInputName">[[${@mrqcConfig.getAlias('department_name')}]]:</font></label>
<div class="col-xs-7 col-sm-7 col-md-6 col-lg-9">
<input type="hidden" class="form-control" name="departmentName" id="departmentName"/>
<input type="hidden" class="form-control" id="deptCode" name="deptCode" th:value="${deptCode}"/>
<select id="departmentSel" class="form-control select2-multiple" multiple>
</select>
</div>
</div>
<div class="form-group col-xs-3 col-md-3 col-md-3 col-lg-3" >
<label class="col-xs-5 col-sm-5 col-md-6 col-lg-3 control-label">医生:</label>
<div class="col-xs-7 col-sm-7 col-md-6 col-lg-9">
<input type="hidden" class="form-control" name="mainDoctor" id="mainDoctor" th:value="${doctorName}"/>
<select id="mainDoctorSel" class="form-control select2-multiple" multiple th:value="${doctorName}">
</select>
</div>
</div>
<div class="form-group col-xs-3 col-md-3 col-md-3 col-lg-3">
<label class="col-xs-5 col-sm-5 col-md-6 col-lg-3 control-label">患者:</label>
<div class="col-xs-7 col-sm-7 col-md-6 col-lg-9">
<input type="text" class="form-control" name="patientNameSearch"/>
</div>
</div>
</div>
<div class="row">
<div class="form-group col-xs-3 col-md-3 col-md-3 col-lg-3">
<label id="mouth" class="col-xs-5 col-sm-5 col-md-6 col-lg-3 control-label">出院月份:</label>
<div class="col-xs-7 col-sm-7 col-md-6 col-lg-9">
<input type="text" class="form-control col-lg-2" autocomplete="off" id="hospitDate" name="hospitDate"/>
</div>
</div>
<div class="form-group col-xs-3 col-md-3 col-md-3 col-lg-3">
<label class="col-xs-5 col-sm-5 col-md-6 col-lg-3 control-label">病历情况:</label>
<div class="col-xs-7 col-sm-7 col-md-6 col-lg-9">
<select name="recordLevel" id="recordLevel" class="form-control select2">
<option value="" checked="checked">全部</option>
<option value="甲">甲级</option>
<option value="乙">乙级</option>
<option value="丙">丙级</option>
</select>
</div>
</div>
<div class="form-group col-xs-3 col-md-3 col-md-3 col-lg-3">
<label class="col-xs-5 col-sm-5 col-md-6 col-lg-3 control-label">重点指标:</label>
<div class="col-xs-7 col-sm-7 col-md-6 col-lg-9">
<input type="hidden" name="keyIndices" id="keyIndiceVals"/>
<select id="keyIndices" class="form-control select2-multiple" multiple>
</select>
</div>
</div>
<div class="form-group col-xs-3 col-md-3 col-md-3 col-lg-3">
<label class="col-xs-5 col-sm-5 col-md-6 col-lg-3 control-label">质控类型:</label>
<div class="col-xs-7 col-sm-7 col-md-6 col-lg-9">
<select name="machineOrLabor" id="machineOrLabor" class="form-control select2" style="min-width: 75px">
<option value="1" checked="checked">机器</option>
<option value="0">人工</option>
</select>
</div>
</div>
</div>
<div class="row">
<div class="form-group col-xs-3 col-md-3 col-md-3 col-lg-3">
<label class="col-xs-5 col-sm-5 col-md-6 col-lg-3 control-label">在院/出院:</label>
<div class="col-xs-7 col-sm-7 col-md-6 col-lg-9">
<input type="hidden" name="status" id="status" value="1" />
<i id="changeStatusBox" style="margin-top: 2.5px;" class="fa fa-toggle-on text-info fa-2x" onclick="changeStatus()"></i>
</div>
</div>
<div class="form-group col-xs-6 col-sm-6 col-md-6 col-lg-6" style="text-align: center;">
<a class="btn btn-primary btn-rounded btn-sm"
onclick="query()"><i class="fa fa-search"></i>&nbsp;查询</a>
<a class="btn btn-warning btn-rounded btn-sm" th:if="${#strings.isEmpty(doctorName)}"
onclick="resetIndex()"><i class="fa fa-refresh" ></i>&nbsp;重置</a>
<a shiro:hasPermission="mrqc:emr:refreshAllEmr" class="btn btn-success btn-rounded btn-sm"
onclick="refreshAllKqyy()"><i class="fa fa-refresh"></i>&nbsp;刷新在院病历</a>
</div>
</div>
</form>
</div>
<div class="tab-content ">
<div class="tab-pane active" style="margin-right: 1px">
<div>
<!--卡片列表-->
<div class="zk_resultList" id="zk_resultList">
<div class="buttons-toolbar" id="toolbar" role="group">
<!-- <a shiro:hasPermission="mrqc:processt:remind" class="btn btn-warning" id="remindAllBtn">-->
<!-- 批量提醒-->
<!-- </a>-->
<a class="btn btn-info" id="export" onclick="$.table._option.modalName = '丙级病历';$.table.exportExcel(); $.table._option.modalName = '过程质控';">
丙级病历导出
</a>
</div>
<div class="col-sm-12 select-table table-striped" style="margin-top: 0px;">
<table id="bootstrap-table" data-mobile-responsive="true"></table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="defectDiv" class="tips-contentfixed-new" style="display: none">
<div class="bg-frame-top">
<img th:src="@{/mrqc/images/zktx/bg-frame-top.png}" width="330" height="15">
</div>
<div class="tips-content-box">
<div class="tips-box-title" id="box-title" style="cursor:move">
病历缺陷项:
<div class="title-icons-right">
<a href="#" onclick="closeLayOpen()">
<!--<img th:src="@{/mrqc/images/zktx/tips-arrow.png}" width="14" height="14">-->
<i class="layui-icon">&#x1006;</i>
</a>
</div>
</div>
<div class="tips-mid-content">
<div id="defectContentDiv" class="layui-collapse" lay-accordion style="width: 99%; margin-left: 2px;">
</div>
</div>
</div>
<div class="bg-frame-bottom">
<img id="topImage" th:src="@{/mrqc/images/zktx/bg-frame-top.png}" width="330" height="15">
</div>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: layout-latest-js" />
<th:block th:include="mrqc/include :: select2-js"/>
<th:block th:include="include :: ztree-js" />
<script th:src="@{/mrqc/js/layui/layui.js}"></script>
<script th:inline="javascript">
var hasRemind = false;
var prefix = ctx + "mrqc/process";
var prefixApi = ctx + "api";
var prefixKqyy = ctx + "kqyyApi";
var doctorName = [[${doctorName}]];//默认医师名称
var inpatientAreaName = [[${inpatientAreaName}]]; // 默认大部门
var deptName = [[${deptName}]]; //默认小部门
var inpatientAreaInputName = [[${@config.getKey('mrqc.process.inpatientAreaInputName')}]];
var departmentInputName = [[${@config.getKey('mrqc.process.departmentInputName')}]];
var allDepartment = JSON.parse('[[${allDepartment}]]');
var allInpatientArea = JSON.parse('[[${allInpatientArea}]]');
var allAreaAndDepatment = JSON.parse('[[${allAreaAndDepatment}]]');
var doctorMapByArea =JSON.parse('[[${doctorMapByArea}]]');
var allDoctor = JSON.parse('[[${allDoctor}]]');
var inOrOutHospital = [[${@config.getKey('mrqc.search.inOrOutHospital')}]];
var lvYTopScore = [[${@mrqcConfig.getEmrScore('LV2')}]];
var lvBTopScore = [[${@mrqcConfig.getEmrScore('LV3')}]];
</script>
<script th:inline="javascript" shiro:hasPermission="mrqc:processt:remind">
hasRemind = true;
</script>
<script th:inline="javascript">
if(undefined !== inOrOutHospital && '' !== inOrOutHospital){
$("#changeStatusBox").removeClass("class");
if(inOrOutHospital === "1"){
$("#mouth").html("出院月份:");
$("#status").val("1");
$("#changeStatusBox").removeClass("fa-toggle-off");
$("#changeStatusBox").addClass("fa-toggle-on");
}
if(inOrOutHospital === "0"){
$("#mouth").html("入院月份:");
$("#status").val("0");
$("#changeStatusBox").removeClass("fa-toggle-on");
$("#changeStatusBox").addClass("fa-toggle-off");
}
}
</script>
<script th:src="@{/mrqc/kqyy/js/doctorQcList.js}"></script>
<script TYPE="application/javascript">
//首先获取鼠标位置 x坐标:e.pageX和y坐标:e.pageY
$('#box-title').mousedown(function (e) {
//拖动时鼠标相对于div左上角的left值和top值是不变的
//要求黑色线段,则用:绿色线段-红色线段
var positionDiv = $(this).offset();
var distenceX = e.pageX - positionDiv.left;
var distenceY = e.pageY - positionDiv.top;
$('#defectDiv').mousemove(function (e) {
var x = e.pageX - distenceX;
var y = e.pageY - distenceY;
//使div在可视窗口内拖动
if (x < 0) { //防止左边移出可视窗口
x = 0;
} else if (x > $(document).width() - $('#defectDiv').outerWidth(true)) { //防止右边移出可视窗口
x = $(document).width() - $('#defectDiv').outerWidth(true);
}
if (y < 0) //防止顶部移出可视窗口
{
y = 0;
} else if (y > $(document).height() - $('#defectDiv').outerHeight(true)) { //防止底部移出可视窗口
y = $(document).height() - $('#defectDiv').outerHeight(true);
}
//step2:将x坐标和y坐标赋值给div
$('#defectDiv').css({
'left': x + 'px',
'top': y + 'px'
});
});
});
$('#defectDiv').mouseup(function () {//当鼠标左键被释放时
$('#defectDiv').unbind('mousemove');//解除mousemove事件(unbind规定从指定元素上删除的一个或多个事件处理程序。如果没有规定参数,unbind() 方法会删除指定元素的所有事件处理程序。)
//除了unbind()外 .off()也可以用于解除事件 高版本的jquery库不兼容低版本的jquery库的方法
});
</script>
</body>
</html>
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org"
xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<th:block th:include="include :: header('质控概览')"/>
<link th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
<link th:href="@{/css/font-awesome.min.css}" rel="stylesheet"/>
<link th:href="@{/ajax/libs/bootstrap-table/bootstrap-table.min.css}" rel="stylesheet"/>
<link th:href="@{/mrqc/css/select2-bootstrap.css}" rel="stylesheet"/>
<link th:href="@{/mrqc/js/bootstrap-table/extensions/editable/bootstrap-editable.css}" rel="stylesheet"/>
<th:block th:include="mrqc/include :: select2-min-css"/>
<link rel="stylesheet" th:href="@{/mrqc/css/public.css}">
<link rel="stylesheet" th:href="@{/mrqc/css/list.css}">
<link rel="stylesheet" th:href="@{/mrqc/css/manage_index.css}">
</head>
<script>
var QcWay = {"人工": "2", "机器": "3"};
var QcLv = {"甲": "lv1_emr", "乙": "lv2_emr", "丙": "lv3_emr"};
var QcRange = {"本月归档": "month", "本月质控": "monthqc"};
var ctx = '[[@{/}]]';
var isAdmin = "[[${@permission.hasRole('admin')}]]"; //是否是管理員
</script>
<style>
.badge:hover{
cursor: pointer;
}
table td:hover{
cursor: pointer;
}
</style>
<body>
<div class="zk_indexMain">
<input id="QcWay" name="QcWay" type="hidden"/>
<input id="QcLv" name="QcLv" type="hidden"/>
<input id="QcRange" name="QcRange" type="hidden"/>
<div class="zk_rightContent scrollbar" >
<div class="manageTop">
<div class="manage_totalCount">
<ul>
<li>
<div class="countLeft">
<span class="zk_yw" id="zk_recordSum">0</span>
<span>病历总数</span>
</div>
<div class="countRight">
<img th:src="@{/mrqc/images/main/index01.png}" width="50" height="50">
</div>
</li>
<li>
<div class="countLeft">
<span class="zk_yw" id="zk_machine">0</span>
<span>机器质控</span>
</div>
<div class="countRight">
<img th:src="@{/mrqc/images/main/index02.png}" width="50" height="50">
</div>
</li>
<li>
<div class="countLeft">
<span class="zk_yw" id="zk_manWork">0</span>
<span>人工质控</span>
</div>
<div class="countRight">
<img th:src="@{/mrqc/images/main/index03.png}" width="50" height="50">
</div>
</li>
<li>
<div class="countLeft">
<span class="zk_yw" id="zk_sumj">0</span>
<span>甲级病历</span>
</div>
<div class="countRight">
<img th:src="@{/mrqc/images/main/index05.png}" width="50" height="50">
</div>
</li>
<li>
<div class="countLeft">
<span class="zk_yw" id="zk_sumy">0</span>
<span>乙级病历</span>
</div>
<div class="countRight">
<img th:src="@{/mrqc/images/main/index06.png}" width="50" height="50">
</div>
</li>
<li>
<div class="countLeft">
<span class="zk_yw" id="zk_sumb">0</span>
<span>丙级病历</span>
</div>
<div class="countRight">
<img th:src="@{/mrqc/images/main/index07.png}" width="50" height="50">
</div>
</li>
</ul>
</div>
<div class="indexSetting" style="height: 100px;">
<a href="javascript:void(0)" id="toConfigQcRule">规则配置</a>
</div>
</div>
<div class="gr_countShow" style="margin-bottom: 5px;">
<div class="halfPercent col-lg-12 col-md-12" style="float: none;">
<div class="zk_boxTitle">
<div class="indexTitle">
本月归档病历
</div>
<div class="gr_totalCount">
<!-- 总数部分-->
<span style="cursor: pointer;" id="man_tapproved">0</span>
<span style="cursor: pointer;" class="r1" id="man_fapproved">0</span>
</div>
</div>
<div class="gr_countKinds">
<div class="thirtyPercent col-lg-4 col-md-4" style="padding-right: 0px; padding-left: 0px;">
<div class="gr_szbt" style="width: 20%; float: left; height: 96px; line-height: 96px;">
甲级病历
</div>
<div class="gr_sz" style="width: 80%; float: left;">
<ul>
<li onclick="tableInit.getSpecificMyEmr(QcWay['人工'], QcLv['甲'], QcRange['本月归档'])" style="cursor: pointer;">
<span id="man_jmanWork">0</span>
<span>人工</span>
</li>
<li onclick="tableInit.getSpecificMyEmr(QcWay['机器'], QcLv['甲'], QcRange['本月归档'])" style="cursor: pointer;">
<span id="man_jmachine">0</span>
<span>机器</span>
</li>
</ul>
</div>
</div>
<div class="thirtyPercent col-lg-4 col-md-4 GradeB" style="padding-right: 0px; padding-left: 0px;">
<div class="gr_szbt" style="width: 20%; float: left; height: 96px; line-height: 96px;">
乙级病历
</div>
<div class="gr_sz" style="width: 80%; float: left;">
<ul>
<li onclick="tableInit.getSpecificMyEmr(QcWay['人工'], QcLv['乙'], QcRange['本月归档'])" style="cursor: pointer;">
<span id="man_ymanWork">0</span>
<span>人工</span>
</li>
<li onclick="tableInit.getSpecificMyEmr(QcWay['机器'], QcLv['乙'], QcRange['本月归档'])" style="cursor: pointer;">
<span id="man_ymachine">0</span>
<span>机器</span>
</li>
</ul>
</div>
</div>
<div class="thirtyPercent col-lg-4 col-md-4 GradeC" style="padding-right: 0px; padding-left: 0px;">
<div class="gr_szbt" style="width: 20%; float: left; height: 96px; line-height: 96px;">
丙级病历
</div>
<div class="gr_sz" style="width: 80%; float: left;">
<ul>
<li onclick="tableInit.getSpecificMyEmr(QcWay['人工'], QcLv['丙'], QcRange['本月归档'])" style="cursor: pointer;">
<span id="man_bmanWork">0</span>
<span>人工</span>
</li>
<li onclick="tableInit.getSpecificMyEmr(QcWay['机器'], QcLv['丙'], QcRange['本月归档'])" style="cursor: pointer;">
<span id="man_bmachine">0</span>
<span>机器</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="manageIndexArea">
<div class="manageAreaTop">
<div class="zk_condition manage_condition" style="width: 100%;margin-top: 5px;margin-bottom: 5px;">
<div class="row" style="align-items: center; display: flex;">
<div class="col-sm-2">
<div class="input-group ">
<label class="input-group-addon" style="width: 20px"><i class="fa fa-users" style="color: #CCCC66"></i></label>
<select class="input-sm" id="medicalGroup" onchange="tableInit.search()"></select>
</div>
</div>
<div class="col-sm-2">
<div class="input-group ">
<label class="input-group-addon" style="width: 20px"><i class="fa fa-user-md" style="color: #0099CC"></i></label>
<select class="input-sm" id="qcUserId" onchange="tableInit.search()"></select>
</div>
</div>
<div class="col-sm-3">
<div class="input-group date">
<span class="input-group-addon" style="width: 20px"><i class="fa fa-calendar" style="color: #CCCC33"></i></span>
<input type="text" width="auto" class="input-sm form-control" id="date" onchange="tableInit.search()" th:value="${lastMonth}"
placeholder="质控月份"/>
<input type="hidden" id="zkMonth" th:value="${lastMonth}"/>
</div>
</div>
<div class="col-sm-5">
<a class="btn btn-primary" onclick="tableInit.addZkUser()">
<i class="fa fa-plus"></i> 质控员指派
</a>
<a class="btn btn-primary" id="distributeEmrBtn">
<i class="fa fa-send"></i> 病历分配
</a>
</div>
<div class="col-sm-1">
<a class="btn btn-primary" onclick="tableInit.exportBl()">
<i class="fa fa-download"></i> 导出病历
</a>
</div>
<!-- <div class="col-sm-12">-->
<!-- <a shiro:hasPermission="mrqc:gm:master" class="btn btn-primary" onclick="importEmrExcel('importEmrForm')">-->
<!-- <i class="fa fa-upload"></i> 导入分配病历模板-->
<!-- </a>-->
<!-- <a shiro:hasPermission="mrqc:gm:master" class="btn btn-primary" id="refreshEmrBtn">-->
<!-- <i class="fa fa-refresh"></i> 刷新已分配病历-->
<!-- </a>-->
<!-- </div>-->
<!-- <div class="col-sm-12">-->
<!-- <a shiro:hasPermission="mrqc:pickEmr:manager" class="btn btn-primary" onclick="importEmrExcel('importEmrForm')">-->
<!-- <i class="fa fa-upload"></i> 导入分配病历模板-->
<!-- </a>-->
<!-- <a shiro:hasPermission="mrqc:pickEmr:manager" class="btn btn-primary" id="refreshEmrBtn">-->
<!-- <i class="fa fa-refresh"></i> 刷新已分配病历-->
<!-- </a>-->
<!-- </div>-->
<!--<div class="manageIcons">
<a href="#" onclick="tableInit.addZkUser()">新增质控员</a>
<a href="#" class="send" id="distributeEmrBtn">一键分配</a>
</div>-->
</div>
</div>
</div>
<div class="zk_tableLayout">
<table id="user-table"></table>
</div>
</div>
</div>
</div>
<div class="popup_fullScreen" style="display:none;">
<div class="fullScreen_title">
新增病历
<div class="popscreenIcon">
<a href="#"><img th:src="@{/mrqc/images/main/popupRetract.png}" width="14" height="14"> </a>
<a href="#"><img th:src="@{/mrqc/images/main/popupClose.png}" width="14" height="14"> </a>
</div>
</div>
<div class="ConfirmSelection">
<a href="#" class="getMore">加载更多</a><a href="#" class="doPick">确认选择</a>
</div>
</div>
<div class="popup_addStaff" style="display: none" id="addUser">
<div class="staffMid">
<div class="scrollbar">
<div class="staffSearch">
<form id="operator-form">
<input type="text" name="userName">
<a href="#" onclick="$.table.search();"><img th:src="@{/mrqc/images/indexSearch.png}" width="16" height="16"> </a>
</form>
</div>
<div style="float: right;padding-right: 20px;padding-bottom: 2px;">
<button class="btn btn-primary" id="btn" onclick="tableInit.insertRow()">
<i class="fa fa-user-md">&nbsp;&nbsp;&nbsp;新建用户</i>
</button>
</div>
<div class="zk_tableLayout">
<table id="bootstrap-table" ></table>
</div>
</div>
</div>
</div>
<div class="popup_addStaff" id="configQcRuleDiv" style="display: none">
<div class="manageRule" id="detailQcRule">
<p>
1、质控时间每月<input type="text" id="startQcDay">日-<input
type="text" id="endQcDay">日;
</p>
<p>
2、每位质控员每月质控<input type="text" id="emrsPerMonth">份病历;
</p>
<p>
3、抽取住院时间≥<input type="text" id="deadHospitDays">天死亡病历,依次分配质控员,可多于或少于<input
type="text" id="deadEmrNumber">份;<br> 抽取住院时间≥<input
type="text" id="longHospitDays">天病历,内外科各<input type="text"
id="longEmrNumber">份,依次分配给质控员;
</p>
<p>
4、手术科室病历:每病区抽取三、四级手术且住院时间<input type="text" id="opStartDay">-<input
type="text" id="opEndDay">天的病历,以首页不同 副主任/主任医师姓名为线索每人抽取<input
type="text" id="opEmrNumberPerDoctor">份;无三四级手术,抽取二级手术病历补充。如住院时间不能满足,
优先选<input type="text" id="opStart1Day">-<input type="text"
id="opEnd1Day">天病历补充,其次选大于<input type="text"
id="opStart2Day">-<input type="text" id="opEnd2Day">
天病历补充,仍不能满足,则随机选择住院天数大于<input type="text" id="opStart3Day">天的病历补充。
</p>
<p>
5、非手术科室病历:抽取住院时间<input type="text" id="nonopStartDay">-<input
type="text" id="nonopEndDay">天病历,以首页不同的副主任/主任医师姓名为线 索每人抽取<input
type="text" id="nonopEmrNumberPerDoctor">份;如时间不能满足,优先住院时间<input
type="text" id="nonopStart1Day">-<input type="text"
id="nonopEnd1Day">天补充,其次选<input type="text"
id="nonopStart2Day"> -<input type="text" id="nonopEnd2Day">天病历补充,仍不能满足,随机选择住院天数大于<input
type="text" id="nonopStart3Day">天的病历补充。
</p>
<p>
6、质管办可对系统分配的病历进行调整和重新分配;如自动分配给质控员的病历不足<input type="text"
id="manualDistributionThreashold">份,由质管办手工检索抽取后分配给质控
员;如自动分配后有多余病案,将多余病案信息自动汇总。
</p>
</div>
<div class="zkpopButton">
<a href="#" id="doConfigRuleBtn">确定</a> <a href="#" class="gb"
id="closeConfigRuleBtn">关闭</a>
</div>
</div>
</body>
<th:block th:include="include :: footer"/>
<script th:src="@{/mrqc/js/bootstrap-table/extensions/editable/bootstrap-editable.min.js}"></script>
<script th:src="@{/mrqc/js/bootstrap-table/extensions/editable/bootstrap-table-editable.js}"></script>
<script th:src="@{/mrqc/js/bootstrap-suggest/bootstrap-suggest.min.js}"></script>
<th:block th:include="mrqc/include :: select2-js"/>
<script th:src="@{/mrqc/js/common.js}"></script>
<script th:inline="javascript">
var prefix = ctx + "manageRecord";
var prefixApi = ctx + "api";
var editable = true;
$(function () {
tableInit.pluginNumber();
tableInit.initQcUserAndGroup();
tableInit.initTimePlugin();
tableInit.initUserTable();
})
function toQCdetails(recordId ) {
var index = parent.layer.open({
type: 2,
title: '质控详情页面',
content: ctx + "/mrqc/emrrecord/todetail/" + recordId + "/patient",//必须进最后有type参数的接口,不然时间线不显示
area: ['100%', '100%'],
maxmin: true
});
}
var tableInit ={
userName: [],
tableMap: {},
medicalGroup:{},
initAddUserTable: function() {
$.table.refresh();
var options = {
url: prefix + "/getZkList",
showSearch: false,
showRefresh: false,
showToggle: false,
showColumns: false,
showPageGo: false,
pagination: true,
pageNumber: 1,
pageSize: 10,
columns: [{
checkbox: true
},
{
field: 'userId',
title: '质控员Id',
align: "center",
visible: false
},
{
field: 'userName',
title: '姓名',
align: "center"
},
{
field: 'department',
title: [[${@mrqcConfig.getAlias('inpatient_area')}]],
align: "center"
},
{
field: 'deptName',
title: [[${@mrqcConfig.getAlias('department_name')}]],
align: "center"
},
{
field: 'operationDept',
title: '是否为手术科室',
align: "center",
editable : {
type : 'select',
title : '是否为手术科室',
source : [{
value : '1',
text : "是"
}, {
value : '0',
text : "否"
}]
},
},
{
field: 'medicalGroup',
title: '医疗组',
align: "center",
editable : {
type : 'select',
title : '医疗组',
source : [{
value : '未分组',
text : "未分组"
}, {
value : '医疗组',
text : "医疗组"
}]
}
}]
};
$.table.init(options);
},
initUserTable:function(){
$('#user-table').bootstrapTable({
url: prefix + "/getZkUserList",
method: 'post',
sidePagination: "server",
contentType: "application/x-www-form-urlencoded",
showSearch: false,
showRefresh: false,
showColumns: false,
detailView: true,
pagination: true,
pageNumber: 1,
pageSize: 10,
onExpandRow: function (index, row, $detail) {
tableInit.initChildTable(index, row, $detail);
},
queryParams: function (params) {
var search = {};
search["pageSize"] = params.limit;
search["pageNum"] = params.offset / params.limit + 1;
search["qcUserId"] = $('#qcUserId').val();
search["medicalGroup"] = $('#medicalGroup').val();
search["qcMonth"] = $('#qcMonth').val();
search["date"] = $("#date").val();
search["orderByColumn"] = params.sort;
search["isAsc"] = params.order;
return search;
},
columns: [
{
field: 'userId',
visible: false
},
{
field: 'userName',
title: '姓名',
align: "center"
},
{
field: 'loginName',
title: '工号',
align: "center"
},
{
field: 'emrNum',
title: '病历数',
align: "center"
},
{
field: 'dead3',
title: '住院≥3天死亡',
align: "center"
},
{
field: 'longHospit',
title: '住院≥31天',
align: "center"
},
{
field: 'op34',
title: '三、四级手术且住院10-15天',
align: "center"
},
{
field: 'other',
title: '其他条件病历',
align: "center"
},
{
field: 'recordScore',
title: '质控分数',
align: 'center'
},
{
field: 'commitStatus',
title: '质控提交情况',
align: 'center',
formatter:function (value, row, index) {
if(value === 0){
return "<span class='badge btn-primary' style='background-color: red;'>未提交</span>"
}else{
return "<span class='badge btn-success' style='background-color: gray;'>已提交</span>"
}
}
},
{
title: '操作',
align: 'center',
formatter: function (value, row, index) {
var actions = [];
var qcMonth = row.qcMonth;
var zkMonth = $("#zkMonth").val();
if(qcMonth == zkMonth || isAdmin !== "hidden"){
editable = true;
actions.push('<a href="#" class="m1 m2" onclick="tableInit.addemrPick(\'' + row.userId + '\')"></a> ');
actions.push('<a href="#" class="m1 m3" onclick="tableInit.deleteEmrZkUserAll(\'' + row.reportId + '\')"></a>');
} else {
editable = false;
}
return actions.join('');
}
}]
});
},
initQcUserAndGroup: function () {
var config = {
url: ctx + "mrqc/feedback/admin/getuserandgroup",
method: "GET",
dataType: 'json',
success: function (result) {
if (result.code === web_status.SUCCESS) {
tableInit.userName = result.data["users"];
result.data["users"].unshift({"id": "", "text": "-请选择质控员-"});
result.data["medicalGroup"].unshift({"id": "", "text": "-请选择医疗组-"});
tableInit.initSelect2("qcUserId", result.data["users"]);
tableInit.initSelect2("medicalGroup", result.data["medicalGroup"]);
tableInit.medicalGroup = result.data["medicalGroup"]
console.log(tableInit.medicalGroup);
}
}
};
$.ajax(config);
},
getSpecificMyEmr: function (way, lv, rang) {
var href = ctx + "mrqc/month?emrLv=" + lv + "&rang=" + rang;
var title = "本月病历";
$.modal.openTab(title, href);
},
initChildTable: function (parentIndex, parentRow, $detail) {
var tableId = "tableId" + (100 + ~~(Math.random() * 100));
tableInit.tableMap[parentRow.userId] = tableId;
var childTable = $detail.html('<table id="' + tableId + '" style="table-layout:fixed"></table>').find('table');
$(childTable).bootstrapTable({
url: prefix + "/getChildUserList",
method: 'post',
sidePagination: "server",
contentType: "application/x-www-form-urlencoded",
queryParams: {
userId: parentRow.userId,
date: $("#date").val()
},
columns: [{
field: 'no',
title: '序号',
sortable: true,
align: "center",
width: 75,
formatter: function (value, row, index) {
//获取每页显示的数量
var pageSize = $(childTable).bootstrapTable('getOptions').pageSize;
//获取当前是第几页
var pageNumber = $(childTable).bootstrapTable('getOptions').pageNumber;
//返回序号,注意index是从0开始的,所以要加上1
return pageSize * (pageNumber - 1) + index + 1;
}
},
{
field: 'recordId',
title: '病例id',
visible: false
},
{
field: 'hostitNum',
title: '病案号',
align: 'center',
formatter:function (value, row, index) {
var recordId = row.recordId;
var hostitNum =row.hostitNum;
return "<a style='text-align: center;cursor: pointer;' onclick='toQCdetails(\""+recordId+"\")' >"+hostitNum+"</a>"
}
},
{
field: 'areaName',
title: [[${@mrqcConfig.getAlias('inpatient_area')}]],
align: 'center'
},
{
field: 'deptName',
title: [[${@mrqcConfig.getAlias('department_name')}]],
align: 'center'
},
{
field: 'pName',
title: '主治医师',
align: 'center'
},
{
field: 'dName',
title: '诊断',
align: 'center'
},
{
field: 'day',
title: '住院天数',
align: 'center'
},
{
field: 'approved',
title: '病历审核情况',
align: 'center',
formatter:function (value, row, index) {
var approved = row.approved;
if(approved == 1){
return "<span class='badge btn-success' style='background-color: green;'>已审核</span>"
}else{
return "<span class='badge btn-warning' style='background-color: red;'>未审核</span>"
}
}
},
{
title: '操作',
align: 'center',
formatter: function (value, row, index) {
var actions = [];
if(editable){
actions.push('<a href="#" class="m1 m3" onclick="tableInit.deleteEmrZkUser(\'' + parentRow.userId + '\',\''+row.recordId+'\')"></a>');
}
return actions.join('');
}
}]
});
},
initSelect2: function (id, data) {
$("#" + id).select2({
selectOnBlur: true,
data: data,
width: "auto",
style: "height:200px"
}).on("select2:close", function (e) {
$("#" + id).val(e.target.value);
});
},
initTimePlugin: function () {
var max = tableInit.getoldDateMonth();
//$("#date").val(max);
layui.use('laydate', function () {
var laydate = layui.laydate;
/*病区时间选择器*/
var qcMonth = laydate.render({
elem: '#date',
theme: 'molv',
max: max,
format: 'yyyy-MM',
type: 'month',
trigger: 'click',
//value:new Date(max),
btns: ['clear', 'confirm'],
done: function (value, date) {
// 选择后做点什么
$("#date").val(value);
tableInit.search();
},
change: function (value, date, endDate) {
if ($(event.target).hasClass("layui-this")) {
$(this.elem).val(value);
$(".layui-laydate").remove();
}
// 选择后做点什么
$("#date").val(value);
tableInit.search();
}
});
});
},
getoldDateMonth:function(){
var date = new Date();
var month = date.getMonth()+1;
if(month!=1){
month = month - 1;
}
if ((month+"").length == 1) {
month = "0" + month;
}
return date.getFullYear() + '-' + month;
},
addZkList:function(data) {
$.operate.saveTab(prefix + "/addZkList", data,$.operate.ajaxSuccess);
},
search: function () {
var params = $('#user-table').bootstrapTable('getOptions');
params.queryParams = function (params) {
var search = {};
search["pageSize"] = params.limit;
search["pageNum"] = params.offset / params.limit + 1;
search["qcUserId"] = $("#qcUserId").val() === "0" ? "" : $('#qcUserId').val();
search["medicalGroup"] = $("#medicalGroup").val() === "0" ? "" : $('#medicalGroup').val();
search["date"] = $('#date').val();
return search;
};
$('#user-table').bootstrapTable('refresh', params);
},
addemrPick:function (userId) {
var url = prefix + "/makeEmrPick?userId="+userId;
var index = layer.open({
type: 2,
title: '新增质控病历',
content: url,
area: ['100%', '100%'],
maxmin: true,
});
},
addZkUser:function () {
// $.modal.openFull("新增质控员", prefix + "/toaddqcuser");
var index = layer.open({
type: 2,
area: [800 + 'px', ($(window).height() - 50) + 'px'],
fix: false,
//不固定
maxmin: true,
shade: 0.3,
title: "质控员指派",
content: prefix + "/toaddqcuser/" + $('#date').val()
});
layer.full(index);
},
deleteEmrZkUserAll:function (reportId) {
$.modal.confirm("你确定要删除这个用户下的所有病历吗?", function() {
$.ajax({
url: prefix+'/delUserQcMrs',
data: {
'reportId':reportId
},
type: 'post',
success: function(res) {
if (res.code == 0) {
$("#user-table").bootstrapTable('refresh');
$.modal.close();
} else {
$.modal.alertError('选择失败,' + res.msg);
}
}
});
});
},
deleteEmrZkUser: function (userId, recordId) {
//alert(recordId+" "+userId);
$.modal.confirm("你确定要删除这个用户下的一份病历吗?", function() {
$.ajax({
url: prefix+'/delUserQcMrs',
data: {
'userId':userId,
'recordId':recordId
},
type: 'post',
success: function(res) {
if (res.code == 0) {
$("#"+tableInit.tableMap[userId]).bootstrapTable('refresh');
$.modal.close();
} else {
$.modal.alertError('选择失败,' + res.msg);
}
}
});
});
},
detileRecord:function (recordId) {
var url =ctx + "mrqc/emrrecord/todetail/" + recordId;
var index =layer.open({
type: 2,
title: '质控详情页面',
content: url,
area: ['100%', '100%'],
maxmin: true
});
},
insertRow: function (tableId, reportId, recordId, index, detailId) {
$("#" + $.table._option.id).bootstrapTable('insertRow', {
index: 1,
row: {
no: parseInt(index) + 1,
detailId: feedBackAuit.uuid(),
reportId: reportId,
recordId: recordId,
defectInfo: '',
isDeleted: 0,
editable: true
}
});
},
pluginNumber:function () {
//顶部数据
//病历总数
let zk_recordSum =[[${zkmanage.recordSum}]];
showNumber("zk_recordSum",zk_recordSum);
//机器质控总数
let zk_machine =[[${zkmanage.machine}]];
showNumber("zk_machine",zk_machine);
//人工质控总数
let zk_manWork =[[${zkmanage.manWork}]];
showNumber("zk_manWork",zk_manWork);
//甲级病历总数
let zk_sumj =[[${zkmanage.sumj}]];
showNumber("zk_sumj",zk_sumj);
//乙级病历总数
let zk_sumy =[[${zkmanage.sumy}]];
showNumber("zk_sumy",zk_sumy);
//丙级病历总数
let zk_sumb =[[${zkmanage.sumb}]];
showNumber("zk_sumb",zk_sumb);
//本月归档病历
let man_tapproved =[[${maindata.TMan}]]
showNumber("man_tapproved",man_tapproved);
//机器
let man_fapproved = [[${maindata.TMac}]];
showNumber("man_fapproved",man_fapproved);
//人工-甲
let man_jmanWork = [[${maindata.JMan}]]
showNumber("man_jmanWork",man_jmanWork);
//机器-甲
let man_jmachine = [[${maindata.JMac}]];
showNumber("man_jmachine",man_jmachine);
//人工-乙
let man_ymanWork = [[${maindata.YMan}]]
showNumber("man_ymanWork",man_ymanWork);
//机器-乙
let man_ymachine = [[${maindata.YMac}]];
showNumber("man_ymachine",man_ymachine);
//人工-丙
let man_bmanWork = [[${maindata.BMan}]];
showNumber("man_bmanWork",man_bmanWork);
//机器-丙
let man_bmachine = [[${maindata.BMac}]];
showNumber("man_bmachine",man_bmachine);
//本月质控病历
// let toMonthMan =[[${todaydata.TQcMan}]];
// showNumber("toMonthMan",toMonthMan);
//机器
// let toMonthMachine = [[${todaydata.TQcMac}]];
// showNumber("toMonthMachine",toMonthMachine);
//人工-甲
// let toMonthJmanWork = [[${todaydata.JQcMan}]];
// showNumber("toMonthJmanWork",toMonthJmanWork);
//机器-甲
// let toMonthJmachine = [[${todaydata.JQcMac}]];
// showNumber("toMonthJmachine",toMonthJmachine);
//人工-乙
// let toMonthYmanWork = [[${todaydata.YQcMan}]];
// showNumber("toMonthYmanWork",toMonthYmanWork);
// //机器-乙
// let toMonthYmachine = [[${todaydata.YQcMac}]];
// showNumber("toMonthYmachine",toMonthYmachine);
// //人工-丙
// let toMonthBmanWork = [[${todaydata.BQcMan}]];
// showNumber("toMonthBmanWork",toMonthBmanWork);
// //机器-丙
// let toMonthBmachine = [[${todaydata.BQcMac}]];
// showNumber("toMonthBmachine",toMonthBmachine);
},
exportBl:function () {
window.open(prefix + "/download?date=" + $("#date").val());
}
}
</script>
<script th:src="@{/mrqc/js/mrqcManagerIndex.js}"></script>
<form id="importEmrForm" enctype="multipart/form-data" class="mt20 mb10" style="display: none;">
<div class="col-xs-offset-1">
<div class="mt10 pt5">
<span style="font-weight: bold">点击下方按钮导入分配病历文档</span>
</div>
<input class="mt10" type="file" id="file" name="file"/>
<div class="mt10 pt5">
1、文档中的质控员必须是已经存在的,否则请先添加质控员再上传
</div>
<div class="pt5">
2、质控员未被指派的,系统会自动指派,然后分配文档中的病历
</div>
<div class="pt5">
3、质控员已被指派且已被分配病历的,会删除之前分配的病历,重新分配文档中的病历
</div>
<div class="pt5">
4、分配完成后,建议点击【刷新已分配病历】按钮刷新病历
</div>
<div class="mt10 pt5">
<span style="color:red;">请上传指定格式(xls或xlsx文件),也可点击此处下载模板 →→→ </span>
<a class="btn btn-success btn-sm" th:href="@{/mrqc/template/质控员病历手动分配模板.xls}">下载模板</a>
</div>
</div>
</form>
</html>
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
<th:block th:include="include :: header('发送质控消息')" />
<th:block th:include="mrqc/include :: select2-min-css"/>
<link rel="stylesheet" th:href="@{/mrqc/css/select2-bootstrap.css}"/>
</head>
<style>
</style>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-sdisStruct-add">
<div class="form-group col-xs-12 col-sm-6 col-md-6 col-lg-12">
<label class="col-xs-2 col-sm-7 col-md-7 col-lg-2 control-label" style="padding-top: 8px">目标:</label>
<div class="col-xs-10 col-sm-5 col-md-5 col-lg-10">
<input type="hidden" class="form-control" name="mainDoctor" id="mainDoctor" th:value="${doctorName}"/>
<select id="mainDoctorSel" class="form-control select2-multiple" multiple th:value="${doctorName}">
</select>
</div>
</div>
</form>
</div>
<div th:include="include::footer"></div>
<th:block th:include="mrqc/include :: select2-js"/>
<th:block th:include="mrqc/include :: bootstrap-suggest-min-js"/>
<script th:inline="javascript">
var prefixApi = ctx + "api";
var prefixKqyy = ctx + "kqyyApi";
var allDoctor = JSON.parse('[[${allDoctor}]]');
var doctorName = [[${doctorName}]];
var recordId = [[${recordId}]];
var loginName = [[${loginName}]];
var mainDoctors = [[${mainDoctors}]];
</script>
<script th:inline="javascript">
// select2 开启 tags 输入中文显示不全的BUG,不动源码的修复方式、参考https://blog.csdn.net/jx520/article/details/84936454
$(document).on('keyup', '.select2-selection--multiple .select2-search__field', function(event){
var $this = $(this);
$this.css('width', '20em');// 写个大点的值就行了。不用计算。
});
$(function() {
initDoctor(allDoctor);
});
function initDoctor(doctors) {
$("#mainDoctorSel").html("");
var html = "";
// if(mainDoctors != null){
// for (var i=0;i< mainDoctors.split(",").length;i++){
// var mainDoctor = mainDoctors.split(",")[i];
// html += "<option value='" + mainDoctor + "' selected>" + mainDoctor + "</option>"
//
// }
// }
for (var key in doctors) {
//多选框默认选中主治医师
/*if(loginName != null && loginName == key){
html += "<option value='" + mainDoctors + "' selected>" + mainDoctors + "</option>"
continue;
}*/
html += "<option value='" + key + "'>" + doctors[key] + "</option>"
}
$("#mainDoctorSel").html(html);
}
function submitHandler() {
debugger
var args = new Map();
var doctors = new Array();
if(doctorName != null){
args["sender"] = doctorName;
}else{
$("#mainDoctorSel option:selected").each(function () {
if ($(this).val() != null && $(this).val() != '')
doctors.push($(this).val())
});
args["sender"] = doctors.join(',');
}
args["recordIds"] = recordId;
$.post(prefixKqyy + '/sendMsgToIIH', args, function (result) {
var index = parent.layer.getFrameIndex(window.name);
$.post(prefixApi + '/remindMQ', args, function (resultQ) {
parent.layer.close(index);
parent.layer.msg(result.msg);
});
});
}
</script>
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment