skills/clinical-decision-support/SKILL.md
This skill produces research, evaluation, documentation, and governance artifacts only.
Never use it to:
If a request could affect care for a person, stop the workflow and route the matter to a licensed healthcare professional using locally validated and appropriately authorized systems. Do not redirect to another skill for patient-specific care.
Outputs remain drafts until qualified humans approve them. Reporting guidance improves transparency; it does not establish study quality, clinical utility, safety, effectiveness, authorization, or compliance.
Before any script:
The scripts cap file size, groups, rows, and text length. They reject URL-like paths and common row-level keys. These controls reduce accidental misuse; they are not a privacy determination.
Every artifact must visibly include:
artifact_type, title, version, status, owner, date, and change summary;Start from assets/artifact_intended_use_template.json.
| Need | Asset | Script |
|---|---|---|
| Intended-use/governance review | assets/artifact_intended_use_template.json | scripts/validate_cds_artifact.py |
| GRADE evidence profile | assets/evidence_profile_template.json | scripts/evidence_profile_check.py |
| Aggregate model/biomarker evaluation | assets/aggregate_model_evaluation_template.json | scripts/model_biomarker_evaluation.py |
| Aggregate cohort table | assets/aggregate_cohort_table_template.json | scripts/cohort_table_generator.py |
| Survival analysis plan | assets/survival_analysis_plan_template.json | scripts/survival_plan_validator.py |
| Logic traceability matrix | assets/decision_logic_traceability_template.json | scripts/decision_logic_traceability.py |
| De-identification process review | assets/deidentification_checklist_template.json | scripts/deidentification_checklist.py |
All helpers are dependency-free:
python3 scripts/validate_cds_artifact.py --help
python3 scripts/evidence_profile_check.py --help
python3 scripts/model_biomarker_evaluation.py --help
python3 scripts/cohort_table_generator.py --help
python3 scripts/survival_plan_validator.py --help
python3 scripts/decision_logic_traceability.py --help
python3 scripts/deidentification_checklist.py --help
Write outputs only to a reviewed local directory. Never place generated reports in an EHR, alerting system, clinical portal, or device workflow.
Require review proportionate to the artifact:
Script success means only that declared fields and internal consistency checks passed.
Do not infer a certainty rating from article text, study design alone, p-values, or keywords. Do not use the legacy 1A/2B shorthand as if it were universal GRADE output.
For each important outcome, a human panel must document:
The checker validates completeness and citation links only. It never calculates certainty or recommendation strength. See references/evidence_profiles.md.
Do not derive thresholds, assign molecular or disease classes, match therapies, or emit person-level predictions.
The evaluator accepts only aggregate confusion counts and calibration bins. It reports bounded descriptive metrics with Wilson intervals, calibration gaps, subgroup differences, and explicit suppression. It does not determine fairness, clinical utility, or fitness for use. Require:
See references/model_biomarker_evaluation.md.
Use aggregate cells only. Do not provide row-level data to the generator.
The default threshold is an operational safeguard, not a HIPAA rule or guarantee. See references/cohort_evaluation.md and references/privacy_and_disclosure.md.
Define time zero, event, competing events, censoring, intercurrent events, estimand, horizon, effect measure, and analysis population together.
The bundled helper validates a plan; it does not analyze survival data. See references/survival_analysis.md.
Only document research or governance logic, such as evidence inclusion, validation gates, release holds, and human-review checkpoints. Each node must link to source IDs, tests, owner, version, and status.
Do not encode care pathways, urgency, medication actions, diagnostic rules, alarms, or patient-facing outputs. See references/decision_logic_traceability.md.
The HHS methods are Expert Determination and Safe Harbor. A checklist cannot perform either method by itself. Do not claim that removing a list of fields, hashing identifiers, using a minimum cell size, or passing this script proves de-identification or HIPAA compliance.
The helper inventories documented human work. It never reads a dataset. Escalate unresolved items, free text, dates, geography, rare combinations, linkage risk, genomics, and longitudinal patterns to qualified privacy review.
These are reporting or appraisal tools, not automatic quality scores. See references/study_reporting.md.
FDA device status turns on intended use and function, not a document label. FDA's January 2026 CDS guidance distinguishes certain non-device CDS functions from device software functions; its examples are not a self-certification checklist. ONC HTI-1 requirements apply within the defined certification scope. ICH E6(R3) and E9/E9(R1) inform trial governance and statistical planning but do not make an artifact compliant.
Use references/regulatory_and_governance.md for dated context. Obtain qualified advice for an actual product, study, submission, deployment, or jurisdiction.
From this skill directory:
python3 -m unittest discover -s tests -p 'test_*.py'
Run AST compilation without bytecode:
python3 -c "import ast,pathlib; [ast.parse(p.read_text()) for p in pathlib.Path('scripts').glob('*.py')]"
references/README.md — scope and navigationreferences/safety_and_scope.md — refusal and escalation rulesreferences/regulatory_and_governance.md — FDA, ONC, ICH contextreferences/evidence_profiles.md — human GRADE workflowreferences/study_reporting.md — EQUATOR and PROBAST+AI selectionreferences/cohort_evaluation.md — aggregate cohort methodsreferences/survival_analysis.md — time-to-event planningreferences/model_biomarker_evaluation.md — model/biomarker evaluationreferences/privacy_and_disclosure.md — de-identification and suppressionreferences/decision_logic_traceability.md — governance logicreferences/sources.md — dated authoritative source ledgerreferences/security_validation.md — scan results and accepted LOW findings