版本更新
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
package com.openhis.yb.model;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import com.openhis.yb.dto.PaymentDetailDto;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class CancelRegPaymentModel {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/** 收款员 */
|
||||
private Long entererId;
|
||||
|
||||
/** 支付的患者ID */
|
||||
@NotNull
|
||||
private Long patientId;
|
||||
|
||||
/** 应收金额 */
|
||||
private BigDecimal tenderedAmount;
|
||||
|
||||
/** 找零金额 */
|
||||
private BigDecimal returnedAmount;
|
||||
|
||||
/** 付款总额 */
|
||||
private BigDecimal displayAmount;
|
||||
|
||||
/** 就诊ID */
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long encounterId;
|
||||
|
||||
/** 收费项 */
|
||||
private List<Long> chargeItemIds;//收费时传收费的项目,退费时传退费的项目,2025/05/07去掉notEmpty的注解,与前端约定此字段必传,可以是空集合
|
||||
|
||||
/** 支付详细 */
|
||||
@NotEmpty
|
||||
private List<PaymentDetailDto> paymentDetails;
|
||||
|
||||
/** 支付批次号 */
|
||||
private String chrgBchno;//医保预结算时返回,医保结算时必传,否则结算时一直预结算
|
||||
|
||||
private String setlId;//结算id
|
||||
|
||||
private String contractNo;//合同編號
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright ©2023 CJB-CNIT Team. All rights reserved
|
||||
*/
|
||||
package com.openhis.yb.model;
|
||||
|
||||
import com.openhis.yb.dto.Clinic2206FundPaymentResult;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 【2207】医保预结算的输出参数
|
||||
*
|
||||
* @author SunJQ
|
||||
* @date 2025-05-08
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class Clinic2207OrderModel {
|
||||
// 主键字段
|
||||
private String mdtrtId; // 就诊ID
|
||||
|
||||
private String setlId;// 结算id
|
||||
|
||||
private String psnNo; // 人员编号
|
||||
|
||||
private String psnName; // 人员姓名
|
||||
|
||||
private String psnCertType; // 人员证件类型
|
||||
|
||||
private String certno; // 证件号码
|
||||
|
||||
private String gend; // 性别
|
||||
|
||||
private String naty; // 民族
|
||||
|
||||
private Date brdy; // 出生日期
|
||||
|
||||
private BigDecimal age; // 年龄
|
||||
|
||||
private String insutype; // 险种类型
|
||||
|
||||
private String psnType; // 人员类别
|
||||
|
||||
private String cvlservFlag; // 公务员标志
|
||||
|
||||
private Date setlTime; // 结算时间
|
||||
|
||||
private String mdtrtCertType; // 就诊凭证类型
|
||||
|
||||
private String medType; // 医疗类别
|
||||
|
||||
private BigDecimal medfeeSumamt; // 医疗费总额
|
||||
|
||||
private BigDecimal fulamtOwnpayAmt; // 全自费金额
|
||||
|
||||
private BigDecimal overlmtSelfpay; // 超限价自费费用
|
||||
|
||||
private BigDecimal preselfpayAmt; // 先行自付金额
|
||||
|
||||
private BigDecimal inscpScpAmt; // 符合政策范围金额
|
||||
|
||||
private BigDecimal actPayDedc; // 实际支付起付线
|
||||
|
||||
private BigDecimal hifpPay; // 基本医疗保险统筹基金支出
|
||||
|
||||
private BigDecimal poolPropSelfpay; // 基本医疗保险统筹基金支付比例
|
||||
|
||||
private BigDecimal cvlservPay; // 公务员医疗补助资金支出
|
||||
|
||||
private BigDecimal hifesPay; // 企业补充医疗保险基金支出
|
||||
|
||||
private BigDecimal hifmiPay; // 居民大病保险资金支出
|
||||
|
||||
private BigDecimal hifobPay; // 职工大额医疗费用补助基金支出
|
||||
|
||||
private BigDecimal mafPay; // 医疗救助基金支出
|
||||
|
||||
private BigDecimal othPay; // 其他支出
|
||||
|
||||
private BigDecimal fundPaySumamt; // 基金支付总额
|
||||
|
||||
private BigDecimal psnPartAmt; // 个人负担总金额
|
||||
|
||||
private BigDecimal acctPay; // 个人账户支出
|
||||
|
||||
private BigDecimal psnCashPay; // 个人现金支出
|
||||
|
||||
private BigDecimal hospPartAmt; // 医院负担金额
|
||||
|
||||
private BigDecimal balc; // 余额
|
||||
|
||||
private BigDecimal acctMulaidPay; // 个人账户共济支付金额
|
||||
|
||||
private String medinsSetlId; // 医药机构结算ID 存放发送方报文ID
|
||||
|
||||
private String clrOptins; // 清算经办机构
|
||||
|
||||
private String clrWay; // 清算方式
|
||||
|
||||
private String clrType; // 清算类别
|
||||
|
||||
private BigDecimal hifdmPay; // 伤残人员医疗保障基金支出
|
||||
|
||||
private String expContent; // 字段扩展
|
||||
|
||||
private List<Clinic2206FundPaymentResult> setldetail;// 结算详细信息
|
||||
|
||||
private String chrgBchno; // 收费批次号
|
||||
|
||||
public Clinic2207OrderModel() {
|
||||
this.setMedfeeSumamt(new BigDecimal("0.0")).setFulamtOwnpayAmt(new BigDecimal("0.0"))
|
||||
.setOverlmtSelfpay(new BigDecimal("0.0")).setPreselfpayAmt(new BigDecimal("0.0"))
|
||||
.setInscpScpAmt(new BigDecimal("0.0")).setActPayDedc(new BigDecimal("0.0"))
|
||||
.setHifpPay(new BigDecimal("0.0")).setPoolPropSelfpay(new BigDecimal("0.0"))
|
||||
.setCvlservPay(new BigDecimal("0.0")).setHifesPay(new BigDecimal("0.0")).setHifmiPay(new BigDecimal("0.0"))
|
||||
.setHifobPay(new BigDecimal("0.00")).setMafPay(new BigDecimal("0.0")).setOthPay(new BigDecimal("0.0"))
|
||||
.setFundPaySumamt(new BigDecimal("0.0")).setPsnPartAmt(new BigDecimal("0.0"))
|
||||
.setAcctPay(new BigDecimal("0.0")).setPsnCashPay(new BigDecimal("0.0"))
|
||||
.setHospPartAmt(new BigDecimal("0.0")).setBalc(new BigDecimal("0.0"))
|
||||
.setAcctMulaidPay(new BigDecimal("0.0")).setHifdmPay(new BigDecimal("0.0"));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright ©2023 CJB-CNIT Team. All rights reserved
|
||||
*/
|
||||
package com.openhis.yb.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
/**
|
||||
* 【2207】
|
||||
*
|
||||
* @author SunJQ
|
||||
* @date 2025-05-06
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class Clinic2207OrderParam {
|
||||
|
||||
@JsonProperty("psn_no")
|
||||
private String psnNo;// 人员编号
|
||||
|
||||
// 参保地医保区划
|
||||
@JsonProperty("insuplc_admdvs")
|
||||
private String insuplcAdmdvs;
|
||||
|
||||
@JsonProperty("mdtrt_cert_type")
|
||||
private String mdtrtCertType;// 就诊凭证类型
|
||||
|
||||
@JsonProperty("mdtrt_cert_no")
|
||||
private String mdtrtCertNo;// 就诊凭证编号
|
||||
|
||||
@JsonProperty("med_type")
|
||||
private String medType;// 医疗类别
|
||||
|
||||
@JsonProperty("medfee_sumamt")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#0.00")
|
||||
private Double medfeeSumamt;// 医疗费总额
|
||||
|
||||
@JsonProperty("psn_setlway")
|
||||
private String psnSetlway;// 个人结算方式
|
||||
|
||||
@JsonProperty("mdtrt_id")
|
||||
private String mdtrtId;// 就诊ID
|
||||
|
||||
@JsonProperty("chrg_bchno")
|
||||
private String chrgBchno;// 收费批次号
|
||||
|
||||
@JsonProperty("insutype")
|
||||
private String insutype;// 险种类型
|
||||
|
||||
@JsonProperty("acct_used_flag")
|
||||
private String acctUsedFlag;// 个人账户使用标志
|
||||
|
||||
@JsonProperty("invono")
|
||||
private String invono;// 发票号
|
||||
|
||||
@JsonProperty("fulamt_ownpay_amt")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#0.00")
|
||||
private Double fulamtOwnpayAmt;// 全自费金额
|
||||
|
||||
@JsonProperty("overlmt_selfpay")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#0.00")
|
||||
private Double overlmtSelfpay;// 超限价金额
|
||||
|
||||
@JsonProperty("preselfpay_amt")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#0.00")
|
||||
private Double preselfpayAmt;// 先行自付金额
|
||||
|
||||
@JsonProperty("inscp_scp_amt")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "#0.00")
|
||||
private Double inscpScpAmt;// 符合政策范围金额
|
||||
|
||||
@JsonProperty("exp_content")
|
||||
private String expContent;// 字段扩展
|
||||
|
||||
@JsonProperty("pub_hosp_rfom_flag")
|
||||
private String pubHospRfomFlag;// 公立医院改革标志
|
||||
|
||||
@JsonProperty("minpacunt_drug_trac_cnt")
|
||||
private Integer minpacuntDrugTracCnt;// 本次结算应上传最小包装药品追溯码数量
|
||||
|
||||
@JsonProperty("mcs_trac_cnt")
|
||||
private Integer mcsTracCnt;// 本次结算应上传耗材追溯码数量
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.openhis.yb.model;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class OutpatientRegistrationModel {
|
||||
//就诊凭证类型
|
||||
private String mdtrtCertType;
|
||||
//卡密
|
||||
private String busiCardInfo;
|
||||
//结算方式
|
||||
private String psnSetlWay;
|
||||
//总价
|
||||
private BigDecimal totalPrice;
|
||||
//合同編號
|
||||
private String contractNo;
|
||||
}
|
||||
Reference in New Issue
Block a user