skills/treatment-plans/SKILL.md
This skill only formats and validates documentation of decisions already made, supplied, and verified by authorized licensed professionals.
Never use it to:
If a request crosses a boundary, stop. Ask for a locally verified clinician-authored record or route the matter to the responsible licensed professional. Do not redirect to another skill to obtain a patient-specific recommendation.
If a concern may be urgent or emergent, stop this workflow and route it through the institution's current clinical escalation or emergency process. This skill does not decide urgency and does not provide emergency instructions.
Every component and derived schedule must display:
DRAFT — NOT MEDICAL ADVICE — DOCUMENTATION-ONLY — AUTHORIZED CLINICIAN SIGN-OFF REQUIRED
Structural success never removes this notice. Only the authorized local workflow may set the release gate.
Prefer synthetic or qualified de-identified structured manifests. Do not place patient names, medical-record numbers, contact details, dates of birth, addresses, free-text notes, images, or other direct identifiers in examples.
For any real-patient or patient-derived data:
If these conditions are not documented, do not read or process the content. Use synthetic templates only.
Accept only bounded UTF-8 JSON objects built from these generic templates:
assets/source_fact_manifest_template.jsonassets/clinician_authored_intervention_template.jsonassets/goals_monitoring_checkpoint_template.jsonassets/informed_preference_shared_decision_template.jsonassets/transition_reconciliation_template.jsonassets/intended_use_handoff_template.jsonThe templates contain no disease-specific recommendations, example patients, clinical intervals, doses, targets, thresholds, or inferred care pathways. Empty template arrays and pending attestations are intentional release blockers.
blocked until every required review is complete.Read references/safety_scope.md and references/privacy_governance.md before processing patient-derived material.
python3 scripts/generate_template.py \
--output-dir ./local-plan-package \
--subject-ref SYNTHETIC-CASE-001 \
--classification synthetic
The generator copies all six templates. It does not create clinical content and does not overwrite existing files.
See references/documentation_workflow.md, references/source_boundaries.md, and references/shared_decision_handoff.md.
From the skill directory:
python3 scripts/validate_treatment_plan.py ./local-plan-package
python3 scripts/validate_traceability.py ./local-plan-package
python3 scripts/check_completeness.py ./local-plan-package
python3 scripts/privacy_process_check.py ./local-plan-package
python3 scripts/check_consistency.py ./local-plan-package
python3 scripts/timeline_generator.py ./local-plan-package \
--output ./local-plan-package/explicit-date-schedule.json
The scripts:
Require the accountable authorized team to:
The final handoff must retain provenance and unresolved-item routing. A script pass is not authorization to use the package for care.
See references/source_ledger.md for the dated official-source ledger.
PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover \
-s tests -p 'test_*.py' -v
Run AST parsing without bytecode:
PYTHONDONTWRITEBYTECODE=1 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_scope.md — refusal, routing, and release boundariesreferences/privacy_governance.md — local handling and de-identification limitsreferences/documentation_workflow.md — package lifecycle and review gatesreferences/source_boundaries.md — FDA labeling, REMS, and governance boundariesreferences/shared_decision_handoff.md — informed preferences, reconciliation, and transitionsreferences/source_ledger.md — dated authoritative sourcesreferences/security_validation.md — baseline findings and validation record