skills/clinical-reports/SKILL.md
Prepare draft reporting structures, aggregate tables, and review manifests from verified authorized facts. Route each artifact to the correct reporting guidance, preserve provenance, and stop when source support or qualified review is missing.
This skill does not establish legal, regulatory, ethical, journal, accreditation, or institutional compliance. Its scripts check structure and internal consistency only.
Never:
All generated artifacts must remain visibly marked:
DRAFT — NOT FOR CLINICAL USE, SIGNATURE, FILING, OR SUBMISSION. Populate only from verified authorized source records. Qualified review and sign-off are required.
If the request crosses a boundary, stop the unsafe portion. Offer a blank structured template, a source-fact manifest, or a deterministic structural check. Direct clinical or regulatory decisions to the responsible qualified professional.
Proceed only when all conditions are true:
synthetic, deidentified, or aggregate.Do not accept raw free-text patient records when a structured source-fact manifest can be supplied. Do not copy direct identifiers into this skill’s templates or scripts.
| Artifact | Primary route | Important boundary |
|---|---|---|
| Case report for publication | CARE 2013 checklist and 2017 explanation | Publication consent, privacy, journal policy, and clinical accuracy require human verification |
| Radiology draft scaffold | ACR 2025 communication practice parameter plus modality-specific ACR material | A qualified radiologist authors findings/impression and handles nonroutine communication |
| Pathology draft scaffold | Current specimen-specific CAP Cancer Protocol, if applicable | A qualified pathologist selects the protocol/version and authors diagnosis |
| Laboratory draft scaffold | 42 CFR 493.1291 and laboratory policy | The performing laboratory controls results, reference intervals, corrections, and release |
| Randomized-trial results report | CONSORT 2025 plus every applicable current extension | CONSORT is reporting guidance, not a conduct or submission standard |
| Randomized-trial protocol report | SPIRIT 2025 plus applicable extensions | SPIRIT is for protocols, not results or CSRs |
| Clinical Study Report | ICH E3 plus E3 Q&A; consider ICH E6(R3) and regional requirements | E3 is adaptable guidance, not a rigid universal template |
| Pre-approval safety report | ICH E2A; E2B(R3) for electronic ICSR data; applicable regional law/guidance | Qualified sponsor/investigator safety assessment controls reportability and timing |
| Post-approval individual safety report | ICH E2D(R1), E2B(R3), and regional requirements | Do not automate case assessment, coding, or submission |
| Aggregate safety presentation | Protocol/SAP, ICH E3, CONSORT Harms, and applicable FDA/ICH guidance | Aggregate tables never determine individual-case reportability |
| Aggregate research summary | Study-design-specific reporting guideline and source protocol/SAP | State population, estimand, denominator, missingness, and limitations exactly as verified |
Read references/report_type_routing.md before choosing a route. Use the dated primary-source ledger in references/sources.md; check the live official source when requirements could have changed.
Use assets/provenance_manifest_template.json. Record only local record locators, field paths, verification state, verifier role, verification date, and a SHA-256 value hash. Do not duplicate source content or direct identifiers.
Every draft claim or populated field must cite one or more fact IDs. Unsupported content remains null or missing; never replace it with plausible text.
PYTHONDONTWRITEBYTECODE=1 python3 scripts/generate_report_template.py --list
PYTHONDONTWRITEBYTECODE=1 python3 scripts/generate_report_template.py \
--type case-report \
--output ./case-report-draft.json
The generator copies a fail-closed JSON template. It does not populate clinical content, create directories, overwrite files by default, or certify readiness.
draft_status unchanged.null only when a verified fact ID supports the field.not_applicable_with_rationale only when a qualified reviewer supplied the rationale.CARE structure:
PYTHONDONTWRITEBYTECODE=1 python3 scripts/validate_case_report.py \
./case-report-draft.json
ICH E3, CONSORT 2025, or SPIRIT 2025 structure:
PYTHONDONTWRITEBYTECODE=1 python3 scripts/validate_trial_report.py \
./trial-report-manifest.json
Aggregate adverse-event table:
PYTHONDONTWRITEBYTECODE=1 python3 scripts/format_adverse_events.py \
./aggregate-ae.csv --metadata ./safety-aggregate.json \
--output ./aggregate-ae-table.md
Terminology schema:
PYTHONDONTWRITEBYTECODE=1 python3 scripts/terminology_validator.py \
./terminology-manifest.json
De-identification process documentation:
PYTHONDONTWRITEBYTECODE=1 python3 scripts/check_deidentification.py \
./deidentification-process.json
Traceability and consistency:
PYTHONDONTWRITEBYTECODE=1 python3 scripts/provenance_validator.py ./provenance.json
PYTHONDONTWRITEBYTECODE=1 python3 scripts/consistency_checker.py ./consistency.json
These tools use the Python standard library, local bounded files, and no network, dynamic evaluation, serialization code execution, or patient-record extraction. A successful result still says review is required.
At minimum:
Never sign or submit on another person’s behalf.
Use assets/case_report_template.json and references/case_report_guidelines.md.
Use the radiology, pathology, or laboratory JSON asset and references/diagnostic_reports_standards.md.
The former SOAP, H&P, consultation, and discharge-summary interfaces were removed. Do not recreate patient-care notes, medication plans, triage instructions, billing support, or disposition advice.
Read references/clinical_trial_reporting.md and references/safety_reporting.md.
Read references/privacy_and_deidentification.md.
All assets contain synthetic schemas only and start blocked:
assets/case_report_template.jsonassets/radiology_report_template.jsonassets/pathology_report_template.jsonassets/lab_report_template.jsonassets/clinical_trial_csr_template.jsonassets/clinical_trial_results_template.jsonassets/trial_protocol_reporting_checklist.jsonassets/clinical_trial_safety_aggregate_template.jsonassets/adverse_event_aggregate_input_template.csvassets/research_summary_template.jsonassets/deidentification_process_checklist.jsonassets/quality_review_checklist.jsonassets/provenance_manifest_template.jsonassets/terminology_manifest_template.jsonassets/consistency_manifest_template.jsonreferences/README.md — safe use and file mapreferences/report_type_routing.md — artifact-to-guidance routingreferences/case_report_guidelines.md — CARE structure and publication safeguardsreferences/diagnostic_reports_standards.md — ACR, CAP, and CLIA boundariesreferences/clinical_trial_reporting.md — CONSORT 2025, SPIRIT 2025, ICH E3/E6(R3)references/safety_reporting.md — ICH E2/FDA safety distinctionsreferences/privacy_and_deidentification.md — HHS methods and limitationsreferences/medical_terminology.md — versioned terminology and schema checksreferences/data_presentation.md — denominators, units, missingness, and aggregate tablesreferences/professional_review.md — ethics, accountability, and sign-offreferences/sources.md — official source ledger, checked 2026-07-23State:
null, missing, conflicts, and unsupported claims;Never say “compliant,” “HIPAA-safe,” “validated clinically,” “approved,” “ready to file,” or “ready to submit.”