Clinical Reports
Purpose
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.
Non-Negotiable Boundary
Never:
- diagnose, recommend treatment, choose or change dosing, triage, or provide return precautions;
- interpret images, specimens, raw laboratory results, symptoms, or other clinical observations;
- invent, infer, normalize, “complete,” or silently reconcile observations, results, dates, units, denominators, causality, expectedness, seriousness, outcomes, or conclusions;
- create an individual case safety report from patient-level narrative or decide reportability;
- sign, attest, approve, file, transmit, submit, amend a source record, or act as a licensed clinician, pathologist, radiologist, laboratorian, safety physician, statistician, privacy officer, attorney, or regulatory professional;
- use real PHI in examples, assets, tests, prompts, logs, or external services;
- call an external LLM, image service, API, or another skill.
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.
Input Gate
Proceed only when all conditions are true:
- Purpose is explicit: publication draft, diagnostic-report scaffold, trial-results manuscript, protocol reporting review, CSR draft, aggregate safety table, or aggregate research summary.
- Data class is allowed:
synthetic, deidentified, or aggregate.
- Authority is documented: the requester is authorized to use the records for the stated purpose.
- Local-only handling is feasible: no upload, remote API, telemetry, or credential is needed.
- Minimum necessary is defined: exclude fields not needed for the artifact.
- Provenance exists: every populated field or claim maps to one or more verified source-fact IDs.
- Review owner is identified: qualified clinical, statistical, safety, privacy, legal, journal, and/or regulatory review as applicable.
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.
Route Before Drafting
| 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.
Safe Drafting Workflow
1. Create a source-fact manifest
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.
2. Generate the correct template
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.
3. Populate verified fields only
- Keep
draft_status unchanged.
- Replace
null only when a verified fact ID supports the field.
- Preserve uncertainty and “not assessed” exactly as recorded.
- Do not translate a raw observation into a diagnosis, code, grade, stage, seriousness, causality, expectedness, or recommendation.
- Use
not_applicable_with_rationale only when a qualified reviewer supplied the rationale.
- Keep source record and draft separate.
4. Run deterministic checks
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.
5. Apply the right review
At minimum:
- clinical facts and interpretations: qualified clinician for the specialty;
- statistical results, populations, estimands, denominators, and missingness: qualified statistician;
- safety coding, seriousness, causality, expectedness, and reportability: qualified safety professional;
- HIPAA, consent, authorization, and disclosure: privacy/legal/institutional review;
- CSR or regulatory safety output: sponsor regulatory and medical review;
- publication: all accountable authors and target-journal checks.
Never sign or submit on another person’s behalf.
Case Reports
Use assets/case_report_template.json and references/case_report_guidelines.md.
- CARE’s current core checklist remains the 2013 checklist.
- Report only what the verified record supports.
- Do not turn a case into clinical advice or generalize causality from one case.
- Patient perspective and informed-consent status must be recorded accurately; do not draft a false consent statement.
- De-identification and consent are separate controls. Consent does not erase privacy risk.
Diagnostic Report Scaffolds
Use the radiology, pathology, or laboratory JSON asset and references/diagnostic_reports_standards.md.
- The assets are field maps, not diagnostic authoring systems.
- Never generate findings, impressions, diagnoses, grades, stages, reference intervals, critical thresholds, or follow-up recommendations.
- Preserve preliminary/final/corrected status and source-system version.
- Use current, exact CAP protocol and version for the specimen; do not maintain a generic cancer staging default.
- Communication and correction actions remain with the responsible clinical service.
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.
Trial, CSR, and Safety Reporting
Read references/clinical_trial_reporting.md and references/safety_reporting.md.
- CONSORT 2025 has 30 minimum items for randomized-trial results; select relevant extensions from the current official catalogue.
- SPIRIT 2025 has 34 minimum items for randomized-trial protocols and supersedes SPIRIT 2013.
- ICH E3 remains the CSR basis; its 2012 Q&A explicitly permits justified adaptation.
- ICH E6(R3) consolidated Principles, Annex 1, and Annex 2 were adopted on 16 June 2026; regional implementation can differ.
- Distinguish seriousness from severity and an adverse event from a suspected adverse reaction.
- ICH E2B(R3) defines electronic ICSR data/message structure; it is not an aggregate-table format or a reportability decision rule.
- ICH E2D(R1), adopted 15 September 2025, addresses post-approval individual case safety reporting; aggregate periodic reporting is addressed separately.
- FDA requirements and electronic submission routes are role-, product-, study-, and date-specific. This skill never files or transmits.
Privacy
Read references/privacy_and_deidentification.md.
- Handle only the minimum necessary data locally.
- HHS recognizes Safe Harbor and Expert Determination under 45 CFR 164.514(b).
- Safe Harbor also requires no actual knowledge that remaining information can identify an individual.
- Expert Determination must be performed and documented by an appropriately qualified expert.
- A checklist or pattern scan cannot establish de-identification or HIPAA compliance.
- Rare conditions, small cells, dates, free text, images, metadata, and combinations of quasi-identifiers can retain re-identification risk.
Assets
All assets contain synthetic schemas only and start blocked:
assets/case_report_template.json
assets/radiology_report_template.json
assets/pathology_report_template.json
assets/lab_report_template.json
assets/clinical_trial_csr_template.json
assets/clinical_trial_results_template.json
assets/trial_protocol_reporting_checklist.json
assets/clinical_trial_safety_aggregate_template.json
assets/adverse_event_aggregate_input_template.csv
assets/research_summary_template.json
assets/deidentification_process_checklist.json
assets/quality_review_checklist.json
assets/provenance_manifest_template.json
assets/terminology_manifest_template.json
assets/consistency_manifest_template.json
References
references/README.md — safe use and file map
references/report_type_routing.md — artifact-to-guidance routing
references/case_report_guidelines.md — CARE structure and publication safeguards
references/diagnostic_reports_standards.md — ACR, CAP, and CLIA boundaries
references/clinical_trial_reporting.md — CONSORT 2025, SPIRIT 2025, ICH E3/E6(R3)
references/safety_reporting.md — ICH E2/FDA safety distinctions
references/privacy_and_deidentification.md — HHS methods and limitations
references/medical_terminology.md — versioned terminology and schema checks
references/data_presentation.md — denominators, units, missingness, and aggregate tables
references/professional_review.md — ethics, accountability, and sign-off
references/sources.md — official source ledger, checked 2026-07-23
Final Handoff
State:
- artifact type and exact guidance/version used;
- allowed data class and local-only handling;
- unresolved
null, missing, conflicts, and unsupported claims;
- provenance and deterministic-check results;
- required qualified reviewers;
- the draft/non-submission warning.
Never say “compliant,” “HIPAA-safe,” “validated clinically,” “approved,” “ready to file,” or “ready to submit.”
1---
2name: clinical-reports
3description: Create safety-bounded draft structures and run local deterministic checks for clinical case, diagnostic, trial, safety, and aggregate research reports. Use only with synthetic, de-identified, or aggregate inputs and verified source-fact manifests; every output requires qualified review.
4license: MIT
5compatibility: Requires Python 3.11+ only for optional dependency-free local scripts; no network access, credentials, external models, or image services.
6metadata:
7 version: "2.0"
8 skill-author: K-Dense Inc.
9---
10
11# Clinical Reports
12
13## Purpose
14
15Prepare **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.
16
17This skill does not establish legal, regulatory, ethical, journal, accreditation, or institutional compliance. Its scripts check structure and internal consistency only.
18
19## Non-Negotiable Boundary
20
21Never:
22
23- diagnose, recommend treatment, choose or change dosing, triage, or provide return precautions;
24- interpret images, specimens, raw laboratory results, symptoms, or other clinical observations;
25- invent, infer, normalize, “complete,” or silently reconcile observations, results, dates, units, denominators, causality, expectedness, seriousness, outcomes, or conclusions;
26- create an individual case safety report from patient-level narrative or decide reportability;
27- sign, attest, approve, file, transmit, submit, amend a source record, or act as a licensed clinician, pathologist, radiologist, laboratorian, safety physician, statistician, privacy officer, attorney, or regulatory professional;
28- use real PHI in examples, assets, tests, prompts, logs, or external services;
29- call an external LLM, image service, API, or another skill.
30
31All generated artifacts must remain visibly marked:
32
33> DRAFT — NOT FOR CLINICAL USE, SIGNATURE, FILING, OR SUBMISSION. Populate only from verified authorized source records. Qualified review and sign-off are required.
34
35If 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.
36
37## Input Gate
38
39Proceed only when all conditions are true:
40
411. **Purpose is explicit**: publication draft, diagnostic-report scaffold, trial-results manuscript, protocol reporting review, CSR draft, aggregate safety table, or aggregate research summary.
422. **Data class is allowed**: `synthetic`, `deidentified`, or `aggregate`.
433. **Authority is documented**: the requester is authorized to use the records for the stated purpose.
444. **Local-only handling is feasible**: no upload, remote API, telemetry, or credential is needed.
455. **Minimum necessary is defined**: exclude fields not needed for the artifact.
466. **Provenance exists**: every populated field or claim maps to one or more verified source-fact IDs.
477. **Review owner is identified**: qualified clinical, statistical, safety, privacy, legal, journal, and/or regulatory review as applicable.
48
49Do 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.
50
51## Route Before Drafting
52
53| Artifact | Primary route | Important boundary |
54|---|---|---|
55| Case report for publication | CARE 2013 checklist and 2017 explanation | Publication consent, privacy, journal policy, and clinical accuracy require human verification |
56| Radiology draft scaffold | ACR 2025 communication practice parameter plus modality-specific ACR material | A qualified radiologist authors findings/impression and handles nonroutine communication |
57| Pathology draft scaffold | Current specimen-specific CAP Cancer Protocol, if applicable | A qualified pathologist selects the protocol/version and authors diagnosis |
58| Laboratory draft scaffold | 42 CFR 493.1291 and laboratory policy | The performing laboratory controls results, reference intervals, corrections, and release |
59| Randomized-trial results report | CONSORT 2025 plus every applicable current extension | CONSORT is reporting guidance, not a conduct or submission standard |
60| Randomized-trial protocol report | SPIRIT 2025 plus applicable extensions | SPIRIT is for protocols, not results or CSRs |
61| 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 |
62| 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 |
63| Post-approval individual safety report | ICH E2D(R1), E2B(R3), and regional requirements | Do not automate case assessment, coding, or submission |
64| Aggregate safety presentation | Protocol/SAP, ICH E3, CONSORT Harms, and applicable FDA/ICH guidance | Aggregate tables never determine individual-case reportability |
65| Aggregate research summary | Study-design-specific reporting guideline and source protocol/SAP | State population, estimand, denominator, missingness, and limitations exactly as verified |
66
67Read `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.
68
69## Safe Drafting Workflow
70
71### 1. Create a source-fact manifest
72
73Use `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.
74
75Every draft claim or populated field must cite one or more fact IDs. Unsupported content remains `null` or `missing`; never replace it with plausible text.
76
77### 2. Generate the correct template
78
79```bash
80PYTHONDONTWRITEBYTECODE=1 python3 scripts/generate_report_template.py --list
81PYTHONDONTWRITEBYTECODE=1 python3 scripts/generate_report_template.py \
82 --type case-report \
83 --output ./case-report-draft.json
84```
85
86The generator copies a fail-closed JSON template. It does not populate clinical content, create directories, overwrite files by default, or certify readiness.
87
88### 3. Populate verified fields only
89
90- Keep `draft_status` unchanged.
91- Replace `null` only when a verified fact ID supports the field.
92- Preserve uncertainty and “not assessed” exactly as recorded.
93- Do not translate a raw observation into a diagnosis, code, grade, stage, seriousness, causality, expectedness, or recommendation.
94- Use `not_applicable_with_rationale` only when a qualified reviewer supplied the rationale.
95- Keep source record and draft separate.
96
97### 4. Run deterministic checks
98
99CARE structure:
100
101```bash
102PYTHONDONTWRITEBYTECODE=1 python3 scripts/validate_case_report.py \
103 ./case-report-draft.json
104```
105
106ICH E3, CONSORT 2025, or SPIRIT 2025 structure:
107
108```bash
109PYTHONDONTWRITEBYTECODE=1 python3 scripts/validate_trial_report.py \
110 ./trial-report-manifest.json
111```
112
113Aggregate adverse-event table:
114
115```bash
116PYTHONDONTWRITEBYTECODE=1 python3 scripts/format_adverse_events.py \
117 ./aggregate-ae.csv --metadata ./safety-aggregate.json \
118 --output ./aggregate-ae-table.md
119```
120
121Terminology schema:
122
123```bash
124PYTHONDONTWRITEBYTECODE=1 python3 scripts/terminology_validator.py \
125 ./terminology-manifest.json
126```
127
128De-identification process documentation:
129
130```bash
131PYTHONDONTWRITEBYTECODE=1 python3 scripts/check_deidentification.py \
132 ./deidentification-process.json
133```
134
135Traceability and consistency:
136
137```bash
138PYTHONDONTWRITEBYTECODE=1 python3 scripts/provenance_validator.py ./provenance.json
139PYTHONDONTWRITEBYTECODE=1 python3 scripts/consistency_checker.py ./consistency.json
140```
141
142These 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.
143
144### 5. Apply the right review
145
146At minimum:
147
148- clinical facts and interpretations: qualified clinician for the specialty;
149- statistical results, populations, estimands, denominators, and missingness: qualified statistician;
150- safety coding, seriousness, causality, expectedness, and reportability: qualified safety professional;
151- HIPAA, consent, authorization, and disclosure: privacy/legal/institutional review;
152- CSR or regulatory safety output: sponsor regulatory and medical review;
153- publication: all accountable authors and target-journal checks.
154
155Never sign or submit on another person’s behalf.
156
157## Case Reports
158
159Use `assets/case_report_template.json` and `references/case_report_guidelines.md`.
160
161- CARE’s current core checklist remains the 2013 checklist.
162- Report only what the verified record supports.
163- Do not turn a case into clinical advice or generalize causality from one case.
164- Patient perspective and informed-consent status must be recorded accurately; do not draft a false consent statement.
165- De-identification and consent are separate controls. Consent does not erase privacy risk.
166
167## Diagnostic Report Scaffolds
168
169Use the radiology, pathology, or laboratory JSON asset and `references/diagnostic_reports_standards.md`.
170
171- The assets are field maps, not diagnostic authoring systems.
172- Never generate findings, impressions, diagnoses, grades, stages, reference intervals, critical thresholds, or follow-up recommendations.
173- Preserve preliminary/final/corrected status and source-system version.
174- Use current, exact CAP protocol and version for the specimen; do not maintain a generic cancer staging default.
175- Communication and correction actions remain with the responsible clinical service.
176
177The 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.
178
179## Trial, CSR, and Safety Reporting
180
181Read `references/clinical_trial_reporting.md` and `references/safety_reporting.md`.
182
183- CONSORT 2025 has 30 minimum items for randomized-trial results; select relevant extensions from the current official catalogue.
184- SPIRIT 2025 has 34 minimum items for randomized-trial protocols and supersedes SPIRIT 2013.
185- ICH E3 remains the CSR basis; its 2012 Q&A explicitly permits justified adaptation.
186- ICH E6(R3) consolidated Principles, Annex 1, and Annex 2 were adopted on 16 June 2026; regional implementation can differ.
187- Distinguish seriousness from severity and an adverse event from a suspected adverse reaction.
188- ICH E2B(R3) defines electronic ICSR data/message structure; it is not an aggregate-table format or a reportability decision rule.
189- ICH E2D(R1), adopted 15 September 2025, addresses post-approval individual case safety reporting; aggregate periodic reporting is addressed separately.
190- FDA requirements and electronic submission routes are role-, product-, study-, and date-specific. This skill never files or transmits.
191
192## Privacy
193
194Read `references/privacy_and_deidentification.md`.
195
196- Handle only the minimum necessary data locally.
197- HHS recognizes Safe Harbor and Expert Determination under 45 CFR 164.514(b).
198- Safe Harbor also requires no actual knowledge that remaining information can identify an individual.
199- Expert Determination must be performed and documented by an appropriately qualified expert.
200- A checklist or pattern scan cannot establish de-identification or HIPAA compliance.
201- Rare conditions, small cells, dates, free text, images, metadata, and combinations of quasi-identifiers can retain re-identification risk.
202
203## Assets
204
205All assets contain synthetic schemas only and start blocked:
206
207- `assets/case_report_template.json`
208- `assets/radiology_report_template.json`
209- `assets/pathology_report_template.json`
210- `assets/lab_report_template.json`
211- `assets/clinical_trial_csr_template.json`
212- `assets/clinical_trial_results_template.json`
213- `assets/trial_protocol_reporting_checklist.json`
214- `assets/clinical_trial_safety_aggregate_template.json`
215- `assets/adverse_event_aggregate_input_template.csv`
216- `assets/research_summary_template.json`
217- `assets/deidentification_process_checklist.json`
218- `assets/quality_review_checklist.json`
219- `assets/provenance_manifest_template.json`
220- `assets/terminology_manifest_template.json`
221- `assets/consistency_manifest_template.json`
222
223## References
224
225- `references/README.md` — safe use and file map
226- `references/report_type_routing.md` — artifact-to-guidance routing
227- `references/case_report_guidelines.md` — CARE structure and publication safeguards
228- `references/diagnostic_reports_standards.md` — ACR, CAP, and CLIA boundaries
229- `references/clinical_trial_reporting.md` — CONSORT 2025, SPIRIT 2025, ICH E3/E6(R3)
230- `references/safety_reporting.md` — ICH E2/FDA safety distinctions
231- `references/privacy_and_deidentification.md` — HHS methods and limitations
232- `references/medical_terminology.md` — versioned terminology and schema checks
233- `references/data_presentation.md` — denominators, units, missingness, and aggregate tables
234- `references/professional_review.md` — ethics, accountability, and sign-off
235- `references/sources.md` — official source ledger, checked 2026-07-23
236
237## Final Handoff
238
239State:
240
2411. artifact type and exact guidance/version used;
2422. allowed data class and local-only handling;
2433. unresolved `null`, `missing`, conflicts, and unsupported claims;
2444. provenance and deterministic-check results;
2455. required qualified reviewers;
2466. the draft/non-submission warning.
247
248Never say “compliant,” “HIPAA-safe,” “validated clinically,” “approved,” “ready to file,” or “ready to submit.”