ai_cdss.models.ScoringSchema#
- class ai_cdss.models.ScoringSchema(*args, **kwargs)[source]#
Schema for prescription scoring output. Represents the result of a recommendation.
Schema Fields# Column
Type
Validation
PATIENT_ID
int64
> 0
PROTOCOL_ID
int64
> 0
ADHERENCE_RECENT
float64
≥ 0; ≤ 1
DELTA_DM
float64
—
PPF
float64
≥ 0; ≤ 1
CONTRIB
typing.List[float]
—
SCORE
float64
≥ 0
USAGE
int64
≥ 0
DAYS
typing.List[int]
—