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 java.util.Collection;

import org.springframework.lang.Nullable;

/**
* This class consists of properties representing a patient immunization.
*
* @author Ian Meinert
* @author AJ Magdub
* @since 1.0
*/
public class Immunization implements Serializable {

private static final long serialVersionUID = -1742731225016650462L;

/** The patient id */
private String patientId;

/** The name of the immunization */
private String name;

// TODO Unsure how this maps to FHIR
private String fullName;

// TODO Unsure how this maps to FHIR
private Collection<VaccineInfoStatement> vaccineInfoStatement;

/** the amount of vaccine administered. */
private ValueQuantity dose;

/** dose sequence number within the series. */
private Integer series;

/** number of doses in series */
private Integer maxInSeries;

/** how the vaccine entered the body */
private String adminRoute;

/** the body site the vaccine was administered */
private String adminBodySite;

// TODO Unsure how it maps to FHIR
private String contraindicated;

/** the vaccine manufacturer */
private String manufacturer;

/** the vaccine lot number */
private String lotNumber;

/** the vaccine expiration date */
private OffsetDateTime expirationDate;

/** the vaccines National Drug Code */
private String ndc;

/** the location where the immunization occurred. */
private String location;

/** the practitioner who administered the vaccine */
private String administeredBy;

/** who ordered the immunization. */
private String orderedBy;

/** immunization notes */
private String comments;

/** The date time the immunization was administered */
@Nullable
private OffsetDateTime administered;

/** The reaction of the patient to the immunizatliion */
private String reaction;

/** The facility where the immunization was administered. */
private Facility facility;

/**
* The getter for the patientId.
*
* @return the patient id
*/
public String getPatientId() {
return patientId;
}

/**
* The setter for the patientId.
*
* @param patientId the patient id
*
*/
public void setPatientId(String patientId) {
this.patientId = patientId;
}

/**
* The getter for the name.
*
* @return the name of the immunization
*/
public String getName() {
return name;
}

/**
* The setter for the name.
*
* @param name the name of the immunization
*/
public void setName(String name) {
this.name = name;
}

/**
* The getter for the full name.
*
* @return the full name.
*/
public String getFullName() {
return this.fullName;
}

/**
* The setter for the full name.
*
* @param fullName the full name.
*/
public void setFullName(String fullName) {
this.fullName = fullName;
}

/**
* Gets the VaccineInfoStatement.
*
* @return the VaccineInfoStatements
*/
public Collection<VaccineInfoStatement> getVaccineInfoStatement() {
return this.vaccineInfoStatement;
}

/**
* Sets the VaccineInfoStatement.
*
* @param vaccineInfoStatement the VaccineInfoStatement
*/
public void setVaccineInfoStatement(Collection<VaccineInfoStatement> vaccineInfoStatement) {
this.vaccineInfoStatement = vaccineInfoStatement;
}

/**
* Gets the Ammount of vaccine administered.
*
* @return the Ammount of vaccine administered.
*/
public ValueQuantity getDose() {
return this.dose;
}

/**
* Sets the amount of vaccine administered.
*
* @param dose the amount of vaccine.
*/
public void setDose(ValueQuantity dose) {
this.dose = dose;
}

/**
* Gets the dose number within the series.
*
* @return the dose number within the series.
*/
public Integer getSeries() {
return this.series;
}

/**
* Sets the dose number within the series.
*
* @param series the dose number withing the series.
*/
public void setSeries(Integer series) {
this.series = series;
}

/**
* Gets the number of doses in the series.
*
* @return the number of doses in the series.
*/
public Integer getMaxInSeries() {
return this.maxInSeries;
}

/**
* Sets the number of doses in the series.
*
* @param maxInSeries the number of doses in the series.
*/
public void setMaxInSeries(Integer maxInSeries) {
this.maxInSeries = maxInSeries;
}

/**
* Gets how the vaccine entered the body.
*
* @return how the vaccine entered the body.
*/
public String getAdminRoute() {
return this.adminRoute;
}

/**
* Sets how the vaccine entered the body.
*
* @param adminRoute how the vaccine entered the body.
*/
public void setAdminRoute(String adminRoute) {
this.adminRoute = adminRoute;
}

/**
* Get the body site the vaccine was administered.
*
* @return the body site the vaccine was administered.
*/
public String getAdminBodySite() {
return this.adminBodySite;
}

/**
* Sets the body site the vaccine was administered.
*
* @param adminBodySite the body site the vaccine was administered.
*/
public void setAdminBodySite(String adminBodySite) {
this.adminBodySite = adminBodySite;
}

/**
* Get contraindicated value.
*
* @return contraindicated
*/
public String getContraindicated() {
return this.contraindicated;
}

/**
* Set the contraindicated value.
*
* @param contraindicated the contraindicated value.
*/
public void setContraindicated(String contraindicated) {
this.contraindicated = contraindicated;
}

/**
* Gets the vaccine manufacture.
*
* @return the vaccine manufacturer.
*/
public String getManufacturer() {
return this.manufacturer;
}

/**
* Sets the vaccine manufacturer.
*
* @param manufacturer the vaccine manufacturer.
*/
public void setManufacturer(String manufacturer) {
this.manufacturer = manufacturer;
}

/**
* Gets the vaccine lot number.
*
* @return the vaccine lot number.
*/
public String getLotNumber() {
return this.lotNumber;
}

/**
* Sets the vaccine lot number.
*
* @param lotNumber the vaccine lot number.
*/
public void setLotNumber(String lotNumber) {
this.lotNumber = lotNumber;
}

/**
* Gets the vaccine expiration date.
*
* @return the vaccine expiration date.
*/
public OffsetDateTime getExpirationDate() {
return this.expirationDate;
}

/**
* Sets the vaccine expiration date.
*
* @param expirationDate the vaccine expiration date.
*/
public void setExpirationDate(OffsetDateTime expirationDate) {
this.expirationDate = expirationDate;
}

/**
* Gets the vaccine's National Drug Code.
*
* @return the vaccines National Drug Code
*/
public String getNdc() {
return this.ndc;
}

/**
* Sets the vaccine's National Drug Code.
*
* @param ndc the vaccine's National Drug Code.
*/
public void setNdc(String ndc) {
this.ndc = ndc;
}

/**
* Gets the location where the immunization occurred.
*
* @return the location where the immunization occurred.
*/
public String getLocation() {
return this.location;
}

/**
* Sets the location where the immunization occurred.
*
* @param location the location where the immunization occurred.
*/
public void setLocation(String location) {
this.location = location;
}

/**
* Gets the practitioner who administered the vaccine.
*
* @return the practitioner who administered the vaccine.
*/
public String getAdministeredBy() {
return this.administeredBy;
}

/**
* Sets the practitioner who administered the vaccine.
*
* @param administeredBy the practitioner whe administered the vaccine.
*/
public void setAdministeredBy(String administeredBy) {
this.administeredBy = administeredBy;
}

/**
* Gets who ordered the vaccination.
*
* @return who ordered the vaccination.
*/
public String getOrderedBy() {
return this.orderedBy;
}

/**
* Sets who ordered the vaccination.
*
* @param orderedBy who ordered the vaccination.
*/
public void setOrderedBy(String orderedBy) {
this.orderedBy = orderedBy;
}

/**
* Get the immunization comments.
*
* @return the immunization comments.
*/
public String getComments() {
return this.comments;
}

/**
* Sets the immunization comments.
*
* @param comments the immunization comments.
*/
public void setComments(String comments) {
this.comments = comments;
}

/**
* The getter for administered.
*
* @return how the vaccine was administered
*/
public OffsetDateTime getAdministered() {
return administered;
}

/**
* The setter for administered.
*
* @param administered how the vaccine was administered
*/
public void setAdministered(OffsetDateTime administered) {
this.administered = administered;
}

/**
* The getter for reaction.
*
* @return reaction caused by the immunization
*/
public String getReaction() {
return reaction;
}

/**
* The setter for reaction.
*
* @param reaction reaction caused by the immunization
*/
public void setReaction(String reaction) {
this.reaction = reaction;
}

/**
* The getter for facility.
*
* @return the facility where the immunization was given.
*/
public Facility getFacility() {
return facility;
}

/**
* The setter for facility.
*
* @param facility facility where the immunization was given.
*/
public void setFacility(Facility facility) {
this.facility = facility;
}

}