37.7 Control-stream-QC settings: purpose, structure, and workflow
.qcn is the settings format for qc-nm. It controls NONMEM control-stream checks, dataset reconciliation, correction policy, severities and retained review outputs. The template snapshot used here was generated by nlmx 4.16.2; its SHA-256 is 871e0aa265b3331b0d9266d7dea6b400473cdf0f0ca1be481139a5ed9fd7a1fe.
Why this file matters
Automatic corrections create a new control stream, but a syntactically improved file still requires pharmacometric review. Treat the file as controlled analysis source. A reviewer should be able to connect each active value to a design decision, data convention, method choice, output requirement or operational guardrail.
Generate and begin safely
nlmx qc-nm --print-config study.qcn
nlmx qc-nm -c study.qcn --output disposable-review
For .covar, generate the reference with nlmx schema --format toml and save it with the required extension. For every format, compare command-specific help before relying on the generic example above; commands differ in positional inputs, validation modes and whether --output is appropriate.
Template map
The snapshot represents 151 unique dotted key paths across 10 tables or top-level groups. Commented assignments are possibilities or examples; uncommented assignments form the generated example. The next page catalogs every represented key.
| Table | Unique keys represented | Review focus |
|---|---|---|
input |
5 | values and interactions inside this settings group |
nonmem |
5 | values and interactions inside this settings group |
code |
7 | values and interactions inside this settings group |
parameters |
5 | values and interactions inside this settings group |
estimation |
5 | values and interactions inside this settings group |
tables |
4 | values and interactions inside this settings group |
fix |
29 | values and interactions inside this settings group |
checks |
2 | values and interactions inside this settings group |
severity |
81 | values and interactions inside this settings group |
output |
8 | values and interactions inside this settings group |
Important interactions
- Keep the original control stream immutable and compare the corrected copy line by line.
- Dataset overrides change the artifact against which
$INPUTand$DATAare checked. - A check can be enabled yet assigned a non-blocking severity.
- Use no-fix/report-only operation when qualifying findings independently from corrections.
Novice workflow
First identify the input population and artifact version. Second, delete or leave commented every option you do not intend to control. Third, edit one table at a time and keep short comments explaining study-specific values. Fourth, run into a new disposable folder and verify resolved inputs, paths, warnings and output count. Fifth, compare the result with the scientific question and expected behavior. Finally, retain the settings, command transcript and reviewed outputs together.
What validation can and cannot prove
Parsing proves that TOML syntax and recognized keys are acceptable. Command validation may prove that referenced data and values satisfy implemented checks. Neither proves that the selected population, endpoint, method, threshold or model is scientifically justified. That judgment belongs in the analysis plan and review record.
The exact generated snapshot is available at documents/ch37/reference/templates/nlmx.qcn.
Navigation
See the previous page, next page, and complete settings reference.