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 consists of properties representing a patient measurement.
*
* @author Ian Meinert, Asli Goncer
* @since 1.0
*/
public class Measurement implements Serializable {

private static final long serialVersionUID = -7788619177798333712L;

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

/**
* The measurement type or name.
*/
private String name;

/**
* The imperial value of the measurement taken.
*/
private ValueQuantity imperial;

/**
* The metric value of the measurement taken.
*/
private ValueQuantity metric;

/**
* The flag indicator of the lab.
*/
private String flag;

/**
* The range of the lab.
*/
private String range;

/**
* The time the measurement was taken.
*/
@Nullable
private OffsetDateTime timeTaken;

/**
* The date the measurement was entered.
*/
@Nullable
private OffsetDateTime entered;

/**
* The facility where the measurement was entered.
*/
private Facility facility;

/**
* The hospital location where the measurement was taken.
*/
private String hospitalLocation;

/**
* The person whom entered the measurement.
*/
private String enteredBy;

/**
* The rate of the measurement taken.
*/
private String rate;

/**
* The qualifier of the measurement taken.
*/
private String qualifier;

/**
* The supplemental O2 of the measurement taken.
*/
private String supplementalOxygen;

/**
* 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 measurement
*/
public String getName() {
return name;
}

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

/**
* The getter for imperial.
*
* @return the imperial value of the measurement
*/
public ValueQuantity getImperial() {
return imperial;
}

/**
* The setter for imperial.
*
* @param imperial the imperial value of the measurement
*
*/
public void setImperial(ValueQuantity imperial) {
this.imperial = imperial;
}

/**
* The getter for metric.
*
* @return the metric value of the measurement
*/
public ValueQuantity getMetric() {
return metric;
}

/**
* The setter for metric.
*
* @param metric the imperial value of the measurement
*
*/
public void setMetric(ValueQuantity metric) {
this.metric = metric;
}

/**
* The getter for timeTaken.
*
* @return the time the measurement was taken
*/
public OffsetDateTime getTimeTaken() {
return timeTaken;
}

/**
* The setter for timeTaken.
*
* @param timeTaken the time the measurement was taken
*
*/
public void setTimeTaken(OffsetDateTime timeTaken) {
this.timeTaken = timeTaken;
}

/**
* The getter for entered.
*
* @return the entered
*/
public OffsetDateTime getEntered() {
return entered;
}

/**
* The setter for entered.
*
* @param entered the entered to set
*/
public void setEntered(OffsetDateTime entered) {
this.entered = entered;
}

/**
* The getter for the flag.
*
* @return the lab flag
*/
public String getFlag() {
return flag;
}

/**
* The setter for the lab.
*
* @param flag the lab flag
*
*/
public void setFlag(String flag) {
this.flag = flag;
}

/**
* The getter for the range.
*
* @return the range of the lab
*/
public String getRange() {
return range;
}

/**
* The setter for the range.
*
* @param range the range of the lab
*
*/
public void setRange(String range) {
this.range = range;
}

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

/**
* The setter for facility.
*
* @param facility the facility to set
*/
public void setFacility(Facility facility) {
this.facility = facility;
}

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

/**
* The setter for hospitalLocation.
*
* @param hospitalLocation The hospitalLocation value to be set.
*/
public void setHospitalLocation(String hospitalLocation) {
this.hospitalLocation = hospitalLocation;
}

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

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

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

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

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

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

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

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