> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.emtelligent.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.emtelligent.com/_mcp/server.

# 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

| Name                                                                   | Description                                                               |
| ---------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| [`EntityRowType`](#emtelliprodbschemaslegacyrowtypesentityrowtype)     | Enumeration of valid values for the `type_` column in the entity table.   |
| [`LocationRowType`](#emtelliprodbschemaslegacyrowtypeslocationrowtype) | Enumeration of valid values for the `type_` column in the location table. |
| [`RelationRowType`](#emtelliprodbschemaslegacyrowtypesrelationrowtype) | Enumeration of valid values for the `type_` column in the relation table. |

### API

#### `emtellipro.db.schemas.legacy.rowtypes.EntityRowType`

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

**Bases:** `Enum`

**Bases**: `enum.Enum`

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

##### `EntityRowType.found`

```python
found
```

**Value**: `found`

##### `EntityRowType.assumed`

```python
assumed
```

**Value**: `assumed`

#### `emtellipro.db.schemas.legacy.rowtypes.LocationRowType`

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

**Bases:** `Enum`

**Bases**: `enum.Enum`

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

##### `LocationRowType.sentence`

```python
sentence
```

**Value**: `sentence`

##### `LocationRowType.section`

```python
section
```

**Value**: `section`

##### `LocationRowType.heading`

```python
heading
```

**Value**: `heading`

##### `LocationRowType.page`

```python
page
```

**Value**: `page`

#### `emtellipro.db.schemas.legacy.rowtypes.RelationRowType`

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

**Bases:** `Enum`

**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`

```python
experiencer
```

**Value**: `experiencer`

##### `RelationRowType.followup`

```python
followup
```

**Value**: `follow-up`

##### `RelationRowType.measurement`

```python
measurement
```

**Value**: `measurement`

##### `RelationRowType.imagelink`

```python
imagelink
```

**Value**: `imagelink`

##### `RelationRowType.qualifier`

```python
qualifier
```

**Value**: `qualifier`

##### `RelationRowType.medication`

```python
medication
```

**Value**: `medication`

##### `RelationRowType.temporality`

```python
temporality
```

**Value**: `temporality`

##### `RelationRowType.reportedevent`

```python
reportedevent
```

**Value**: `reportedevent`

##### `RelationRowType.anatomicsite`

```python
anatomicsite
```

**Value**: `anatomic-site`