public class ScheduledNotification extends AbstractNotification
| Constructor and Description |
|---|
ScheduledNotification() |
ScheduledNotification(String data)
Create a scheduled notification from raw data.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDelete()
All scheduled notifications may be deleted.
|
String |
getDfn()
Returns the internal entry number of the associated patient, or null if no associated
patient.
|
long |
getIen()
Returns the internal entry number of the notification.
|
Priority |
getPriority()
Returns the priority of this notification.
|
boolean |
isActionable()
Scheduled notifications are not currently actionable.
|
protected void |
setDfn(String dfn)
Sets the internal entry number of the associated patient.
|
protected void |
setIen(long ien)
Sets the internal entry number of the notification.
|
protected void |
setPriority(Priority priority)
Sets the priority of this notification.
|
findParam, getDeliveryDate, getDisplayText, getExtraInfo, getMessage, getParam, getPatientName, getSenderName, getSubject, hasPatient, setDeliveryDate, setExtraInfo, setMessage, setParam, setPatientName, setSenderName, setSubjectpublic ScheduledNotification()
public ScheduledNotification(String data)
data - Format is
1 2 3 4 5
IEN ^ Date ^ Patient Name ^ Subject ^ Extra Info
public long getIen()
protected void setIen(long ien)
ien - The internal entry number. Will be 0 if this is a new notification.public Priority getPriority()
getPriority in class AbstractNotificationprotected void setPriority(Priority priority)
setPriority in class AbstractNotificationpriority - Notification priority.public String getDfn()
getDfn in class AbstractNotificationprotected void setDfn(String dfn)
setDfn in class AbstractNotificationdfn - DFN of the associated patient (null if no patient association).public boolean isActionable()
isActionable in class AbstractNotificationpublic boolean canDelete()
canDelete in class AbstractNotificationCopyright © 2014 Regenstrief Center for Biomedical Informatics. All rights reserved.