/**
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* 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.
*
* The Original Code is OpenELIS code.
*
* Copyright (C) ITECH, University of Washington, Seattle WA. All Rights Reserved.
*
*/
package us.mn.state.health.lims.dataexchange.order.valueholder;
import java.sql.Timestamp;
import us.mn.state.health.lims.common.valueholder.BaseObject;
import us.mn.state.health.lims.common.valueholder.ValueHolder;
import us.mn.state.health.lims.patient.valueholder.Patient;
public class ElectronicOrder extends BaseObject{
private static final long serialVersionUID = 5573858445160470854L;
private String id;
private String externalId;
private ValueHolder patient;
private String statusId;
private Timestamp orderTimestamp;
private String data;
public ElectronicOrder(){
patient = new ValueHolder();
}
public String getId(){
return id;
}
public void setId(String id){
this.id = id;
}
public String getExternalId(){
return externalId;
}
public void setExternalId(String externalId){
this.externalId = externalId;
}
public Patient getPatient(){
return (Patient)patient.getValue();
}
public void setPatient(Patient patient){
this.patient.setValue(patient);
}
public String getStatusId(){
return statusId;
}
public void setStatusId(String statusId){
this.statusId = statusId;
}
public Timestamp getOrderTimestamp(){
return orderTimestamp;
}
public void setOrderTimestamp(Timestamp orderTimestamp){
this.orderTimestamp = orderTimestamp;
}
public String getData(){
return data;
}
public void setData(String data){
this.data = data;
}
}