/**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://license.openmrs.org
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*
* Copyright (C) OpenMRS, LLC. All Rights Reserved.
*/
package org.openmrs.notification;
import java.io.Serializable;
import java.util.Date;
import org.openmrs.Patient;
/**
* Not currently used.
*/
public class Note implements Serializable {
/**
*
*/
private static final long serialVersionUID = -5392076713513109152L;
// Data
private Integer id;
private String text;
private Date dateChanged;
private Date dateCreated;
private Integer priority;
private Integer weight;
// Relationships
private Patient patient;
private NoteType noteType;
//private Observation observation;
//private Encounter encounter;
//private User createdBy;
//private User changedBy;
public Note() {
}
public void setId(Integer id) {
this.id = id;
}
public Integer getId() {
return this.id;
}
public Date getDateChanged() {
return dateChanged;
}
public void setDateChanged(Date dateChanged) {
this.dateChanged = dateChanged;
}
public Date getDateCreated() {
return dateCreated;
}
public void setDateCreated(Date dateCreated) {
this.dateCreated = dateCreated;
}
public NoteType getNoteType() {
return noteType;
}
public void setNoteType(NoteType noteType) {
this.noteType = noteType;
}
public Patient getPatient() {
return patient;
}
public void setPatient(Patient patient) {
this.patient = patient;
}
public Integer getPriority() {
return priority;
}
public void setPriority(Integer priority) {
this.priority = priority;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public Integer getWeight() {
return weight;
}
public void setWeight(Integer weight) {
this.weight = weight;
}
}