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.util.Arrays;
import java.util.Collection;
import java.time.OffsetDateTime;
import org.springframework.lang.Nullable;
/**
* This class consists of properties representing a patient's Problem.
*
* @author Pavani Mukthipudi
* @since 1.0
*/
public class Problem implements Serializable {
private static final long serialVersionUID = -7788619177798333712L;
/**
* The patient id
*/
private String patientId;
/**
* The diagnosis for the problem
*/
private String diagnosis;
/**
* The diagnosis code
*/
private String diagnosisCode;
/**
* The diagnosis coding system
*/
private String codingSystem;
/**
* The problem category
*/
private String category;
/**
* The date the problem occured
*/
@Nullable
private OffsetDateTime onsetDate;
/**
* The status of the problem
*/
private String status;
/**
* The verification status of the problem
*/
private String verified;
/**
* The immediacy/priority of the problem
*/
private String immediacy;
/**
* The description (provider narrative) of the problem
*/
private String description;
/**
* The condition/state of the problem
*/
private String condition;
/**
* Whether or not the problem is service connected
*/
private boolean serviceConnected;
/**
* The list of exposures
*/
private String[] exposures;
/**
* The service provided
*/
private String service;
/**
* The clinic where the service was provided
*/
private String clinic;
/**
* The provider of the service
*/
private String provider;
/**
* The name of the person the problem was entered by
*/
private String enteredBy;
/**
* The date of entry
*/
@Nullable
private OffsetDateTime entryDate;
/**
* The name of the person who recorded the problem
*/
private String recordedBy;
/**
* The date recorded
*/
@Nullable
private OffsetDateTime recordedDate;
/**
* The last updated date
*/
@Nullable
private OffsetDateTime lastUpdatedDate;
/**
* The comments (note narrative) entered
*/
private Collection<Comment> comments;
/**
* The facility where the note was entered
*/
private Facility facility;
/**
* Problem audit history
*/
private Collection<AuditHistory> auditHistory;
/**
* 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 diagnosis.
*
* @return the diagnosis
*/
public String getDiagnosis() {
return diagnosis;
}
/**
* The setter for diagnosis.
*
* @param diagnosis the diagnosis to set
*/
public void setDiagnosis(String diagnosis) {
this.diagnosis = diagnosis;
}
/**
* The getter for diagnosis code.
*
* @return the diagnosisCode
*/
public String getDiagnosisCode() {
return diagnosisCode;
}
/**
* The setter for diagnosis code.
*
* @param diagnosisCode the diagnosisCode to set
*/
public void setDiagnosisCode(String diagnosisCode) {
this.diagnosisCode = diagnosisCode;
}
/**
* The getter for coding system.
*
* @return the codingSystem
*/
public String getCodingSystem() {
return codingSystem;
}
/**
* The setter for coding system.
*
* @param codingSystem the codingSystem to set
*/
public void setCodingSystem(String codingSystem) {
this.codingSystem = codingSystem;
}
/**
* The getter for problem category.
*
* @return the category
*/
public String getCategory() {
return category;
}
/**
* The setter for problem category.
*
* @param category the category to set
*/
public void setCategory(String category) {
this.category = category;
}
/**
* The getter for the onset date.
*
* @return the date the problem occured
*/
public OffsetDateTime getOnsetDate() {
return onsetDate;
}
/**
* The setter for the onset date.
*
* @param onsetDate the date the problem occured
*/
public void setOnsetDate(OffsetDateTime onsetDate) {
this.onsetDate = onsetDate;
}
/**
* The getter for the status.
*
* @return the progress note status
*/
public String getStatus() {
return status;
}
/**
* The setter for the status.
*
* @param status the progress note status
*/
public void setStatus(String status) {
this.status = status;
}
/**
* The getter for verified.
*
* @return the verified
*/
public String getVerified() {
return verified;
}
/**
* The setter for verified.
*
* @param verified the verified to set
*/
public void setVerified(String verified) {
this.verified = verified;
}
/**
* The getter for immediacy/priority.
*
* @return the immediacy
*/
public String getImmediacy() {
return immediacy;
}
/**
* The setter for immediacy/priority.
*
* @param immediacy the immediacy to set
*/
public void setImmediacy(String immediacy) {
this.immediacy = immediacy;
}
/**
* The getter for description.
*
* @return the description
*/
public String getDescription() {
return description;
}
/**
* The setter for description.
*
* @param description the description to set
*/
public void setDescription(String description) {
this.description = description;
}
/**
* The getter for service provided.
*
* @return the service
*/
public String getService() {
return service;
}
/**
* The setter for service provided.
*
* @param service the service to set
*/
public void setService(String service) {
this.service = service;
}
/**
* The getter for clinic.
*
* @return the clinic
*/
public String getClinic() {
return clinic;
}
/**
* The setter for clinic.
*
* @param clinic the clinic to set
*/
public void setClinic(String clinic) {
this.clinic = clinic;
}
/**
* The getter for provider.
*
* @return the provider
*/
public String getProvider() {
return provider;
}
/**
* The setter for provder.
*
* @param provider the provider to set
*/
public void setProvider(String provider) {
this.provider = provider;
}
/**
* The getter for condition/state.
*
* @return the condition
*/
public String getCondition() {
return condition;
}
/**
* The setter for condition/state.
*
* @param condition the condition to set
*/
public void setCondition(String condition) {
this.condition = condition;
}
/**
* The getter for service connected.
*
* @return the serviceConnected
*/
public boolean isServiceConnected() {
return serviceConnected;
}
/**
* The setter for service connected.
*
* @param serviceConnected the serviceConnected to set
*/
public void setServiceConnected(boolean serviceConnected) {
this.serviceConnected = serviceConnected;
}
/**
* The getter for list of exposures.
*
* @return the exposures
*/
public String[] getExposures() {
return exposures;
}
/**
* The setter for list of exposures.
*
* @param exposures the exposures to set
*/
public void setExposures(String[] exposures) {
this.exposures = exposures;
}
/**
* The getter for entered by.
*
* @return the enteredBy
*/
public String getEnteredBy() {
return enteredBy;
}
/**
* The setter for entered by.
*
* @param enteredBy the enteredBy to set
*/
public void setEnteredBy(String enteredBy) {
this.enteredBy = enteredBy;
}
/**
* The getter for the entry date.
*
* @return the date the note was entered
*/
public OffsetDateTime getEntryDate() {
return entryDate;
}
/**
* The setter for the entry date.
*
* @param entryDate the date the note was entered
*/
public void setEntryDate(OffsetDateTime entryDate) {
this.entryDate = entryDate;
}
/**
* The getter for recorded by.
*
* @return the recordedBy
*/
public String getRecordedBy() {
return recordedBy;
}
/**
* The setter for recorded by.
*
* @param recordedBy the recordedBy to set
*/
public void setRecordedBy(String recordedBy) {
this.recordedBy = recordedBy;
}
/**
* The getter for recorded date.
*
* @return the recordedDate
*/
public OffsetDateTime getRecordedDate() {
return recordedDate;
}
/**
* The setter for recorded date.
*
* @param recordedDate the recordedDate to set
*/
public void setRecordedDate(OffsetDateTime recordedDate) {
this.recordedDate = recordedDate;
}
/**
* The getter for last updated date.
*
* @return the lastUpdatedDate
*/
public OffsetDateTime getLastUpdatedDate() {
return lastUpdatedDate;
}
/**
* The setter for last updated date.
*
* @param lastUpdatedDate the lastUpdatedDate to set
*/
public void setLastUpdatedDate(OffsetDateTime lastUpdatedDate) {
this.lastUpdatedDate = lastUpdatedDate;
}
/**
* The getter for comments.
*
* @return the comments entered
*/
public Collection<Comment> getComments() {
return comments;
}
/**
* The setter for the comments.
*
* @param comments the comments entered
*/
public void setComments(Collection<Comment> comments) {
this.comments = comments;
}
/**
* The getter for the facility.
*
* @return the facility of the progress note
*/
public Facility getFacility() {
return facility;
}
/**
* The setter for the facility.
*
* @param facility the facility where the progress note was entered
*/
public void setFacility(Facility facility) {
this.facility = facility;
}
/**
* The getter for the audit history.
*
* @return the audit history
*/
public Collection<AuditHistory> getAuditHistory() {
return auditHistory;
}
/**
* The setter for the audit history.
*
* @param auditHistory the audit history to set
*/
public void setAuditHistory(Collection<AuditHistory> auditHistory) {
this.auditHistory = auditHistory;
}
/**
* The toString() method returns the string representation of the object.
*/
@Override
public String toString() {
return "Problem [patientId=" + patientId + ", diagnosis=" + diagnosis + ", diagnosisCode=" + diagnosisCode
+ ", codingSystem=" + codingSystem + ", category=" + category + ", onsetDate=" + onsetDate + ", status=" + status
+ ", verified=" + verified + ", immediacy=" + immediacy + ", description=" + description + ", condition="
+ condition + ", serviceConnected=" + serviceConnected + ", exposures=" + Arrays.toString(exposures) + ", service="
+ service + ", clinic=" + clinic + ", provider=" + provider + ", enteredBy=" + enteredBy + ", entryDate="
+ entryDate + ", recordedBy=" + recordedBy + ", recordedDate=" + recordedDate + ", lastUpdatedDate="
+ lastUpdatedDate + ", comments=" + comments + ", facility=" + facility + ", auditHistory=" + auditHistory + "]";
}
}