|
|
|
|
@@ -1,222 +0,0 @@
|
|
|
|
|
package com.openhis.surgicalschedule.domain;
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
|
|
|
|
|
|
|
|
import com.core.common.core.domain.HisBaseEntity;
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
import lombok.experimental.Accessors;
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 手术安排Entity实体
|
|
|
|
|
*
|
|
|
|
|
* @author system
|
|
|
|
|
* @date 2026-01-28
|
|
|
|
|
*/
|
|
|
|
|
@Data
|
|
|
|
|
@TableName("op_schedule")
|
|
|
|
|
@Accessors(chain = true)
|
|
|
|
|
@EqualsAndHashCode(callSuper = false)
|
|
|
|
|
public class OpSchedule extends HisBaseEntity {
|
|
|
|
|
|
|
|
|
|
/** 排程号(主键) */
|
|
|
|
|
@TableId(type = IdType.ASSIGN_ID)
|
|
|
|
|
private Long scheduleId;
|
|
|
|
|
|
|
|
|
|
/** 申请单ID */
|
|
|
|
|
private Long applyId;
|
|
|
|
|
|
|
|
|
|
/** 患者ID */
|
|
|
|
|
private Long patientId;
|
|
|
|
|
|
|
|
|
|
/** 就诊ID */
|
|
|
|
|
private Long visitId;
|
|
|
|
|
|
|
|
|
|
/** 就诊卡号 */
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private String identifierNo;
|
|
|
|
|
|
|
|
|
|
/** 手术编码 */
|
|
|
|
|
private String operCode;
|
|
|
|
|
|
|
|
|
|
/** 手术名称 */
|
|
|
|
|
private String operName;
|
|
|
|
|
|
|
|
|
|
/** 术前诊断 */
|
|
|
|
|
@TableField(value = "preoperative_diagnosis", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String preoperativeDiagnosis;
|
|
|
|
|
|
|
|
|
|
/** 术后诊断 */
|
|
|
|
|
@TableField(value = "postoperative_diagnosis", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String postoperativeDiagnosis;
|
|
|
|
|
|
|
|
|
|
/** 手术安排日期时间 */
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private LocalDateTime scheduleDate;
|
|
|
|
|
|
|
|
|
|
/** 手术台次序号 */
|
|
|
|
|
private Integer sequenceNo;
|
|
|
|
|
|
|
|
|
|
/** 是否首台手术 1-是 0-否 */
|
|
|
|
|
private Integer isFirstSurgery;
|
|
|
|
|
|
|
|
|
|
/** 是否有药物过敏 1-是 0-否 */
|
|
|
|
|
private Integer isAllergyMedication;
|
|
|
|
|
|
|
|
|
|
/** 过敏备注 */
|
|
|
|
|
private String allergyRemark;
|
|
|
|
|
|
|
|
|
|
/** 手术性质 */
|
|
|
|
|
private String surgeryNature;
|
|
|
|
|
|
|
|
|
|
/** 手术部位 */
|
|
|
|
|
private String surgerySite;
|
|
|
|
|
|
|
|
|
|
/** 入院时间 */
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private LocalDateTime admissionTime;
|
|
|
|
|
|
|
|
|
|
/** 入手术室时间 */
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private LocalDateTime entryTime;
|
|
|
|
|
|
|
|
|
|
/** 手术室编码 */
|
|
|
|
|
private String roomCode;
|
|
|
|
|
|
|
|
|
|
/** 手术台号 */
|
|
|
|
|
private String tableNo;
|
|
|
|
|
|
|
|
|
|
/** 麻醉方式 */
|
|
|
|
|
@TableField(value = "anes_method", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String anesMethod;
|
|
|
|
|
|
|
|
|
|
/** 麻醉医生1编码 */
|
|
|
|
|
@TableField(value = "anes_doctor1_code", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String anesDoctor1Code;
|
|
|
|
|
|
|
|
|
|
/** 麻醉医生2编码 */
|
|
|
|
|
@TableField(value = "anes_doctor2_code", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String anesDoctor2Code;
|
|
|
|
|
|
|
|
|
|
/** 麻醉医生3编码 */
|
|
|
|
|
@TableField(value = "anes_doctor3_code", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String anesDoctor3Code;
|
|
|
|
|
|
|
|
|
|
/** 洗手护士编码 */
|
|
|
|
|
@TableField(value = "scrub_nurse_code", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String scrubNurseCode;
|
|
|
|
|
|
|
|
|
|
/** 巡回护士1编码 */
|
|
|
|
|
@TableField(value = "circu_nurse1_code", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String circuNurse1Code;
|
|
|
|
|
|
|
|
|
|
/** 巡回护士2编码 */
|
|
|
|
|
@TableField(value = "circu_nurse2_code", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String circuNurse2Code;
|
|
|
|
|
|
|
|
|
|
/** 器械护士1编码 */
|
|
|
|
|
@TableField(value = "scrub_nurse1_code", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String scrubNurse1Code;
|
|
|
|
|
|
|
|
|
|
/** 器械护士2编码 */
|
|
|
|
|
@TableField(value = "scrub_nurse2_code", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String scrubNurse2Code;
|
|
|
|
|
|
|
|
|
|
/** 主刀医生编码 */
|
|
|
|
|
@TableField(value = "surgeon_code", insertStrategy = FieldStrategy.IGNORED)
|
|
|
|
|
private String surgeonCode;
|
|
|
|
|
|
|
|
|
|
/** 助手1编码 */
|
|
|
|
|
private String assistant1Code;
|
|
|
|
|
|
|
|
|
|
/** 助手2编码 */
|
|
|
|
|
private String assistant2Code;
|
|
|
|
|
|
|
|
|
|
/** 助手3编码 */
|
|
|
|
|
private String assistant3Code;
|
|
|
|
|
|
|
|
|
|
/** 手术开始时间 */
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private LocalDateTime startTime;
|
|
|
|
|
|
|
|
|
|
/** 手术结束时间 */
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private LocalDateTime endTime;
|
|
|
|
|
|
|
|
|
|
/** 麻醉开始时间 */
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private LocalDateTime anesStart;
|
|
|
|
|
|
|
|
|
|
/** 麻醉结束时间 */
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
private LocalDateTime anesEnd;
|
|
|
|
|
|
|
|
|
|
/** 手术状态 */
|
|
|
|
|
private Integer operStatus;
|
|
|
|
|
|
|
|
|
|
/** 是否植入耗材 1-是 0-否 */
|
|
|
|
|
private Integer implantFlag;
|
|
|
|
|
|
|
|
|
|
/** 植入物序列号 */
|
|
|
|
|
private String implantSerial;
|
|
|
|
|
|
|
|
|
|
/** 失血量(ml) */
|
|
|
|
|
private Integer bloodLoss;
|
|
|
|
|
|
|
|
|
|
/** 输血量(ml) */
|
|
|
|
|
private Integer bloodTrans;
|
|
|
|
|
|
|
|
|
|
/** 感染诊断 */
|
|
|
|
|
private String infectionDiagnosis;
|
|
|
|
|
|
|
|
|
|
/** 隔离类型 */
|
|
|
|
|
private String isolationType;
|
|
|
|
|
|
|
|
|
|
/** 患者体重(kg) */
|
|
|
|
|
private BigDecimal patientWeight;
|
|
|
|
|
|
|
|
|
|
/** 患者身高(cm) */
|
|
|
|
|
private BigDecimal patientHeight;
|
|
|
|
|
|
|
|
|
|
/** 沟通信息 */
|
|
|
|
|
private String communicationInfo;
|
|
|
|
|
|
|
|
|
|
/** 是否外请专家 1-是 0-否 */
|
|
|
|
|
private Integer isExternalExpert;
|
|
|
|
|
|
|
|
|
|
/** 外请专家姓名 */
|
|
|
|
|
private String externalExpertName;
|
|
|
|
|
|
|
|
|
|
/** 费用类别 */
|
|
|
|
|
private String feeType;
|
|
|
|
|
|
|
|
|
|
/** 备注信息 */
|
|
|
|
|
private String remark;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 创建人id
|
|
|
|
|
*/
|
|
|
|
|
private Long creatorId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新人id
|
|
|
|
|
*/
|
|
|
|
|
private Long updaterId;
|
|
|
|
|
/**
|
|
|
|
|
* 租户id
|
|
|
|
|
*/
|
|
|
|
|
private Integer tenantId;
|
|
|
|
|
|
|
|
|
|
}
|