db.schemas.legacy.rowtypes

emtellipro.db.schemas.legacy.rowtypes

This module contains enums that define the values of the type_ columns in the tables that have them.

Module Contents

Classes

NameDescription
EntityRowTypeEnumeration of valid values for the type_ column in the entity table.
LocationRowTypeEnumeration of valid values for the type_ column in the location table.
RelationRowTypeEnumeration of valid values for the type_ column in the relation table.

API

emtellipro.db.schemas.legacy.rowtypes.EntityRowType

1class emtellipro.db.schemas.legacy.rowtypes.EntityRowType(*args, **kwds)

Bases: enum.Enum

Enumeration of valid values for the type_ column in the entity table.

EntityRowType.found
1found

Value: found

EntityRowType.assumed
1assumed

Value: assumed

emtellipro.db.schemas.legacy.rowtypes.LocationRowType

1class emtellipro.db.schemas.legacy.rowtypes.LocationRowType(*args, **kwds)

Bases: enum.Enum

Enumeration of valid values for the type_ column in the location table.

LocationRowType.sentence
1sentence

Value: sentence

LocationRowType.section
1section

Value: section

LocationRowType.heading
1heading

Value: heading

LocationRowType.page
1page

Value: page

emtellipro.db.schemas.legacy.rowtypes.RelationRowType

1class emtellipro.db.schemas.legacy.rowtypes.RelationRowType(*args, **kwds)

Bases: enum.Enum

Enumeration of valid values for the type_ column in the relation table.

Note that these exactly match the keys in emtellipro.data.AnnotatedDocument.relations.

RelationRowType.experiencer
1experiencer

Value: experiencer

RelationRowType.followup
1followup

Value: follow-up

RelationRowType.measurement
1measurement

Value: measurement

1imagelink

Value: imagelink

RelationRowType.qualifier
1qualifier

Value: qualifier

RelationRowType.medication
1medication

Value: medication

RelationRowType.temporality
1temporality

Value: temporality

RelationRowType.reportedevent
1reportedevent

Value: reportedevent

RelationRowType.anatomicsite
1anatomicsite

Value: anatomic-site