17.3 Dataset schema, records, and prepared datasets
screen expects longitudinal event data: one or more dose records and observation records per subject, ordered by subject and time. The essential roles are subject identifier (ID), time (TIME), dependent variable (DV), amount (AMT), and an event or missing-dependent-variable indicator (EVID/MDV). CMT, RATE, SS, II, and ADDL describe dose destination, infusion, steady state, interval, and additional doses.
Observation rows ordinarily have a usable DV, zero amount, and an observation event code. Dose rows have an amount and should not contribute a residual. A time of zero is valid; a negative time, impossible amount, ambiguous event role, duplicate contradictory record, or observation before the relevant dose needs deliberate handling. Units must be consistent within each role.
The command maps nonstandard column names, applies filters and censoring rules, resolves routes, and writes prepared data beneath the output bundle. That prepared representation is the actual analysis population. Compare its subject count, observation count, dose count and route summary with the source data before interpreting any fit.
Keep time ordering deterministic. When several events share a timestamp, the intended dose-before-observation semantics must be represented unambiguously. Repeated dosing can be explicit or encoded with II/ADDL; steady-state records require a consistent SS meaning. Infusion rows need a valid rate convention. Mixed oral/IV data need dose-level compartment or route evidence, not merely a subject-level label.
Common mistakes
Do not put concentrations on dose rows, use zero as a universal missing value, mix hours and minutes, or silently convert dose units for only one cohort. A column named CMT is not self-validating: its numeric mapping must agree with the generated model. Sorting by time alone can interleave subjects.
Checklist
- Define every column role and unit in a data specification.
- Count subjects, doses, observations, BLQ records and routes independently.
- Verify same-time event ordering and repeated-dose expansion.
- Compare the prepared dataset with the intended population.
- Archive the source checksum and all transformation rules.
Further reading
See route, filters, and censoring, Chapter 11 on qc-data, and Chapter 12 on qc-nm before screening a new study.