package com.openhis.web.document.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 查询单个患者的文档记录参数
 */
@Data
@Accessors(chain = true)
public class DocStatisticsQueryParam {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long definitionId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long patientId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long encounterId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long organizationId;
    private String statisticsDefinitionCode;
    /**
     * 记录时间 yyyy-MM-dd HH:mm:ss
     */
    private Date recordTime;
}
