package com.xinelu.manage.dto.patientvisitrecord;

import com.xinelu.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDate;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @description: 患者就诊记录查询传输对象
 * @author: haown
 * @create: 2024-02-26 14:44
 **/
@Data
public class PatientVisitRecordDto {

	/**
	 * 居民信息表id
	 * */
	@ApiModelProperty(value = "居民信息表id")
	private Long residentId;

	/**
	 * 患者表id
	 * */
	@ApiModelProperty(value = "患者表id")
	private Long patientId;

	/**
	 * 居民身份证号
	 * */
	@ApiModelProperty(value = "居民身份证号")
	private String cardNo;

	/**
	 * 所属医院id
	 * */
	@ApiModelProperty(value = "所属医院id")
	@Excel(name = "所属医院id")
	private Long hospitalAgencyId;

	/**
	 * 就诊类型，门诊：OUTPATIENT_SERVICE，住院：BE_IN_HOSPITAL
	 */
	@ApiModelProperty(value = "就诊类型，门诊：OUTPATIENT_SERVICE，住院：BE_IN_HOSPITAL")
	private String visitMethod;

	@ApiModelProperty(value = "住院/门诊号")
	private String inHospitalNumber;

	@ApiModelProperty(value = "就诊时间开始")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private LocalDate visitDateStart;

	@ApiModelProperty(value = "就诊时间结束")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private LocalDate visitDateEnd;
}
