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;

import org.springframework.lang.Nullable;

/**
* This class is the patient allergy reaction.
* <p>
*
* @see Serializable.
*
* @author Ian Meinert
* @since 1.0
*/
public class AllergyReaction implements Serializable {

private static final long serialVersionUID = -7788619177798333712L;

/**
* The substance causing the reaction
*/
private String substance;

/**
* Signs and symptoms of the reaction
*/
private String[] manifestation;

/**
* The mechanism.
*/
private String mechanism;

/**
* Description of the reaction
*/
private String description;

/**
* Date/time of onset of the reaction
*/
@Nullable
private OffsetDateTime onset;

/**
* Severity of the reaction
*/
private AllergySeverity severity;

/**
* Additional notes/comments for the reaction
*/
private String note;

/**
* The certainty.
*/
private String certainty;

/**
* Date/Time the allergy reaction has been verified
*/
private OffsetDateTime verifiedTime;

/**
* The getter for substance.
*
* @return the substance causing the reaction
*/
public String getSubstance() {
return substance;
}

/**
* The setter for substance.
*
* @param substance the substance causing the reaction
*
*/
public void setSubstance(String substance) {
this.substance = substance;
}

/**
* The getter for manifestation.
*
* @return collection of manifestations of the allergy reaction
*/
public String[] getManifestation() {
return manifestation;
}

/**
* The setter for manifestation.
*
* @param manifestation collection of manifestations of the allergy reaction
*
*/
public void setManifestation(String[] manifestation) {
this.manifestation = manifestation;
}

/**
* The getter for mechanism.
*
* @return the mechanism
*/
public String getMechanism() {
return mechanism;
}

/**
* The setter for mechanism.
*
* @param mechanism the mechanism to set
*/
public void setMechanism(String mechanism) {
this.mechanism = mechanism;
}

/**
* The getter for description.
*
* @return the description of the reaction
*/
public String getDescription() {
return description;
}

/**
* The setter for description.
*
* @param description the description of the reaction
*
*/
public void setDescription(String description) {
this.description = description;
}

/**
* The getter for the onset.
*
* @return the onset of the reaction
*/
public OffsetDateTime getOnset() {
return onset;
}

/**
* The setter for the onset.
*
* @param onset the onset of the reaction
*
*/
public void setOnset(OffsetDateTime onset) {
this.onset = onset;
}

/**
* The getter for the severity.
*
* @return the Enum of the AllergySeverity
*/
public AllergySeverity getSeverity() {
return severity;
}

/**
* The setter for severity.
*
* @param severity the Enum of the AllergySeverity
*
*/
public void setSeverity(AllergySeverity severity) {
this.severity = severity;
}

/**
* The getter for note.
*
* @return the note on the reaction
*/
public String getNote() {
return note;
}

/**
* The setter for note.
*
* @param note the note on the reaction
*
*/
public void setNote(String note) {
this.note = note;
}

/**The getter for certainty.
*
* @return the certainty
*/
public String getCertainty() {
return certainty;
}

/**
* The setter for certainty.
*
* @param certainty the certainty to set
*/
public void setCertainty(String certainty) {
this.certainty = certainty;
}

/**
* The getter for the verifiedTime.
*
* @return the date/time the reaction was verified
*/
public OffsetDateTime getVerifiedTime() {
return verifiedTime;
}

/**
* The setter for the verifiedTime.
*
* @param verifiedTime the date/time the reaction was verified
*
*/
public void setVerifiedTime(OffsetDateTime verifiedTime) {
this.verifiedTime = verifiedTime;
}
}