package com.openhis.web.inhospitalcharge.dto;

import java.math.BigDecimal;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 住院登记基础 dto
 */
@Data
@Accessors(chain = true)
public class InHospitalRegisterDto {

    /**
     * 住院就诊id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long encounterId;

    /** 患者id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long patientId;

    /**
     * 门诊就诊id | 门诊挂号转办理入院时使用
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long ambEncounterId;

    /** 优先级 */
    private Integer priorityEnum;

    /**
     * 类别医保编码
     */
    private Integer ybClassEnum;

    /**
     * 诊断定义id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long diagnosisDefinitionId;

    /**
     * 住院科室id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long inHospitalOrgId;

    /**
     * 诊断对应的医保编码
     */
    private String diagnosisYbNo;

    /** 诊断的医疗类型 */
    private String medTypeCode;

    /**
     * 诊断描述
     */
    private String diagnosisDesc;

    /**
     * 病区id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long wardLocationId;

    /** 账户余额 */
    private BigDecimal balanceAmount;

}
