public class Event extends Object implements Comparable<Event>
| Modifier and Type | Class and Description |
|---|---|
static class |
Event.Builder
The builder for Event
|
| Modifier and Type | Method and Description |
|---|---|
void |
addObservation(Observation o)
Adds an observation to this event's list of associated observations.
|
int |
compareTo(Event other) |
String |
getActiveStatus()
Gets the active status property of the event.
|
Date |
getEndDate()
Gets the end date of the event.
|
String |
getEventId()
Gets the event ID.
|
String |
getInOut()
Gets the in-out property of the event.
|
String |
getLocation()
Gets the location of the event.
|
List<Observation> |
getObservations()
Gets the list of i2b2 observations associated with this event
|
Patient |
getPatient()
Gets the patient who had this event.
|
Date |
getStartDate()
Gets the start date of the event.
|
public int compareTo(Event other)
compareTo in interface Comparable<Event>public String getEventId()
public Date getStartDate()
Datepublic Date getEndDate()
Datepublic String getInOut()
public String getLocation()
public String getActiveStatus()
public List<Observation> getObservations()
Observationspublic void addObservation(Observation o)
o - the Observation to addCopyright © 2016–2019 Emory University. All rights reserved.