Getting started
API
omidb.classificationtools.
filter_studies_by_event_type
Remove studies (omidb.study.Study) from client whose event type includes one or all (if exact_match is True) of those listed by event_type.
omidb.study.Study
client
exact_match
True
event_type
client (Client) – A classified client with more than one episode
Client
event_type (List[Event]) – A list of event types
List
Event
exact_match (bool) – If True the event types of a study must all of those in event_type.
bool
has_prior
Returns True if client has a non-malignant episode earlier than a malignant episode; False otherwise.
False