encounters

encountersingested

Overview

Patient encounters (visits). Central clinical event; most records reference an encounter.

Primary key
Id
Total columns
12

Columns

ColumnTypeDescriptionLineage
BASE_ENCOUNTER_COSTDECIMALBase cost of the encounter, before line items.—
CODEVARCHAREncounter type code (SNOMED-CT).—
DESCRIPTIONVARCHARDescription of the encounter type.—
ENCOUNTERCLASSVARCHARClass of encounter.—
IdVARCHARPrimary key. Unique encounter identifier (UUID).
ORGANIZATIONVARCHARForeign key to the Organization where the encounter took place.—
PATIENTVARCHARForeign key to the Patient seen in this encounter.—
PAYERVARCHARForeign key to the Payer covering this encounter.—
PROVIDERVARCHARForeign key to the Provider who saw the patient.—
STARTDATETIMEEncounter start time (ISO 8601 UTC).—
STOPDATETIMEEncounter stop time (ISO 8601 UTC).—
TOTAL_CLAIM_COSTDECIMALTotal cost of the encounter including line items.—

Engineering detail

Per-column derivations, validations, downstream links. Click any column above to jump.

BASE_ENCOUNTER_COST

DECIMAL

Base cost of the encounter, before line items.

Examples: 142.58

CODE

VARCHARlen ≤ 40

Encounter type code (SNOMED-CT).

Examples: 185349003

DESCRIPTION

VARCHARlen ≤ 200

Description of the encounter type.

Examples: Encounter for check up

ENCOUNTERCLASS

VARCHARlen ≤ 40

Class of encounter.

Validation rules
RuleSeverityDescription
expect_column_values_to_be_in_setwarningEncounter class is one of the known Synthea classes.

Examples: ambulatory, emergency, wellness

Id

VARCHARlen ≤ 36

Primary key. Unique encounter identifier (UUID).

Downstream consumers

ORGANIZATION

VARCHARlen ≤ 36

Foreign key to the Organization where the encounter took place.

PATIENT

VARCHARlen ≤ 36

Foreign key to the Patient seen in this encounter.

PAYER

VARCHARlen ≤ 36

Foreign key to the Payer covering this encounter.

PROVIDER

VARCHARlen ≤ 36

Foreign key to the Provider who saw the patient.

START

DATETIME

Encounter start time (ISO 8601 UTC).

Examples: 2021-03-04T09:00:00Z

STOP

DATETIME

Encounter stop time (ISO 8601 UTC).

TOTAL_CLAIM_COST

DECIMAL

Total cost of the encounter including line items.

Examples: 342.10