Template phenotype for identifying measurement events for a specified quantity
This template phenotype identifies measurement events for a specified quantity from longitudinal primary care records using a SNOMED CT codelist. The phenotype returns a list of events per patient. Applied across populations, it supports estimation of monitoring rates, cohort construction, and derivation of a patient-level variable for downstream analysis.
| Parameter | Description |
|---|---|
patient_record |
A single patient's longitudinal record |
observation_window |
Timeframe within which events are to be identified |
measurement_codelist |
SNOMED CT codes identifying measurement of the specific quantity |
Let candidate_events be all events in patient_record with codes from measurement_codelist within observation_window that have an associated recorded value.
Return the list of all candidate_events including the associated recorded value.
Section will be removed