medications

medicationsingested

Overview

Medications prescribed to patients, with payer coverage and cost.

Total columns
9

Columns

ColumnTypeDescriptionLineage
BASE_COSTDECIMALPer-dispense base cost of the medication.—
CODEVARCHARMedication code (RxNorm).—
DESCRIPTIONVARCHARDescription of the medication.—
ENCOUNTERVARCHARForeign key to the Encounter where the medication was prescribed.—
PATIENTVARCHARForeign key to the Patient taking the medication.—
PAYERVARCHARForeign key to the Payer covering the medication.—
STARTDATETIMEDate the medication was prescribed.—
STOPDATETIMEDate the prescription ended, if applicable.—
TOTALCOSTDECIMALTotal cost of all dispenses of this medication.—

Engineering detail

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

BASE_COST

DECIMAL

Per-dispense base cost of the medication.

Examples: 12.00

CODE

VARCHARlen ≤ 40

Medication code (RxNorm).

Examples: 860975

DESCRIPTION

VARCHARlen ≤ 200

Description of the medication.

Examples: Metformin 500 MG Oral Tablet

ENCOUNTER

VARCHARlen ≤ 36

Foreign key to the Encounter where the medication was prescribed.

PATIENT

VARCHARlen ≤ 36

Foreign key to the Patient taking the medication.

PAYER

VARCHARlen ≤ 36

Foreign key to the Payer covering the medication.

START

DATETIME

Date the medication was prescribed.

STOP

DATETIME

Date the prescription ended, if applicable.

TOTALCOST

DECIMAL

Total cost of all dispenses of this medication.

Examples: 144.00