Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

package gov.va.med.pbm.ampl.model;

import java.io.Serializable;
import java.time.OffsetDateTime;

/**
* This class indicates a reaction to the immunization. TODO Verify if needed, or implement into Immunization_reaction
*
* @author AJ Magdub
* @since 1.0
*/
public class ImmunizationReaction implements Serializable {

private static final long serialVersionUID = 201719442732168177L;

/** When the reaction started */
private OffsetDateTime date;

/** Additional information on reaction */
private String detail;

/** Indicatates self reported reaction */
private Boolean reported;

/**
* Returns the Date / Time of when the reaction started.
*
* @return Date / Time when the reaction started.
*/
public OffsetDateTime getDate() {
return this.date;
}

/**
* Sets the Date / Time when the reaction started.
*
* @param date the Date / Time when the return started.
*/
public void setDate(OffsetDateTime date) {
this.date = date;
}

/**
* Returns additional information on the reaction.
*
* @return Additional information on the reaction.
*/
public String getDetail() {
return this.detail;
}

/**
* Sets additional information on the reaction.
*
* @param detail additional information on the reaction.
*/
public void setDetail(String detail) {
this.detail = detail;
}

/**
* Indicates self-reported reaction.
*
* @return if the reaction was self-reported.
*/
public Boolean getReported() {
return this.reported;
}

/**
* Sets whether the reaction was self reported.
*
* @param reported whether the reaction was self reported.
*/
public void setReported(Boolean reported) {
this.reported = reported;
}
}