oncology-treatment-timeline — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited oncology-treatment-timeline (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Construct a comprehensive cancer treatment timeline from FHIR resources. Pull cancer diagnosis Conditions with staging data, chemotherapy MedicationRequests, surgical and radiation Procedures, tumor marker Observations, and imaging DiagnosticReports. Organize chronologically into phases: diagnosis/staging, neoadjuvant treatment, definitive treatment (surgery/radiation), adjuvant treatment, response assessment, and surveillance. Track treatment response through tumor marker trends and imaging results using RECIST criteria where applicable. Identify current treatment phase and upcoming milestones.
| Resource | Purpose | Key Fields |
|---|---|---|
| Patient | Demographics, age | birthDate, gender |
| Condition | Cancer diagnosis, staging, comorbidities | code, stage, clinicalStatus, onsetDateTime |
| MedicationRequest | Chemotherapy regimens, supportive care | medicationCodeableConcept, status, dosageInstruction, authoredOn |
| Procedure | Surgery, radiation, biopsy | code, performedDateTime, status, outcome |
| Observation | Tumor markers, performance status, lab values | code, valueQuantity, effectiveDateTime, interpretation |
| DiagnosticReport | Pathology, imaging | code, conclusion, result, effectiveDateTime |
| CarePlan | Treatment plan documentation | category, activity, status |
Tool: fhir_read
resourceType: "Patient"
id: "[patient-id]"Extract age, gender. Relevant for gender-specific cancers and age-adjusted treatment protocols.
Tool: fhir_search
resourceType: "Condition"
queryParams: "patient=[patient-id]&category=encounter-diagnosis&code:below=363346000"SNOMED 363346000 = Malignant neoplastic disease (parent concept). This captures all malignant neoplasm subtypes.
If SNOMED search fails, try ICD-10 range:
Tool: fhir_search
resourceType: "Condition"
queryParams: "patient=[patient-id]&code:below=C00"ICD-10 C00-C97 covers all malignant neoplasms.
For each cancer Condition, extract:
code.coding -- cancer type (SNOMED or ICD-10)onsetDateTime -- date of diagnosisstage.summary -- staging information (TNM)stage.type -- staging system usedclinicalStatus -- active, remission, recurrenceevidence -- references to supporting diagnostic resourcesIf stage is not populated in the Condition, search for staging Observations:
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=21908-9,21902-2,21914-7,21913-9&_sort=-date"LOINC staging codes:
Also pull performance status:
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=89247-1,89262-0&_sort=-date&_count=5"See references/staging-systems.md for TNM staging interpretation and performance status scales.
Tool: fhir_search
resourceType: "MedicationRequest"
queryParams: "patient=[patient-id]&category=outpatient,inpatient&_sort=-date&_count=100"Filter for antineoplastic agents. Common chemotherapy RxNorm codes by cancer type -- see references/oncology-treatment.md.
For each MedicationRequest:
medicationCodeableConcept.coding -- drug nameauthoredOn -- start datedosageInstruction -- dose, route, frequencystatus -- active, completed, stoppedstatusReason -- reason for stopping (toxicity, progression, completed course)reasonReference -- link to cancer ConditionGroup into regimen names when multiple agents started on the same date (e.g., FOLFOX = 5-FU + leucovorin + oxaliplatin).
Tool: fhir_search
resourceType: "Procedure"
queryParams: "patient=[patient-id]&_sort=-date&_count=50"Filter for cancer-related procedures:
For each Procedure:
code.coding -- procedure nameperformedDateTime or performedPeriod -- date(s)outcome -- result/outcomereport -- reference to pathology reportreasonReference -- link to cancer ConditionTool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=2857-1,10466-1,19167-7,24108-3,1834-1,21198-7&_sort=date&_count=100"Common tumor marker LOINC codes:
For each marker, build a time series: date, value, unit, interpretation. Calculate percent change between consecutive values. See references/oncology-treatment.md for reference values and trending interpretation.
Tool: fhir_search
resourceType: "DiagnosticReport"
queryParams: "patient=[patient-id]&category=imaging&_sort=-date&_count=20"Extract:
code.coding -- imaging type (CT, MRI, PET-CT)effectiveDateTime -- dateconclusion -- radiologist impressionresult -- references to Observation resources with measurementsLook for RECIST response criteria in conclusions:
Tool: fhir_search
resourceType: "MedicationRequest"
queryParams: "patient=[patient-id]&status=active"Identify supportive care:
Organize all events chronologically into phases:
ONCOLOGY TREATMENT TIMELINE -- [Patient Name]
Diagnosis: [Cancer type] | Stage: [stage] | Diagnosed: [date]
ECOG: [score] | Current status: [active treatment / surveillance / remission]
==========================================================================
PHASE 1: DIAGNOSIS & STAGING ([date range])
[date] Biopsy: [pathology result]
[date] Staging: [TNM stage, grade, biomarkers]
[date] Imaging: [baseline scan results]
[date] Tumor markers: [baseline values]
PHASE 2: NEOADJUVANT THERAPY ([date range]) [if applicable]
[date]-[date] [Regimen name]: [drugs, doses, # cycles]
Response: [marker trend, imaging response]
PHASE 3: DEFINITIVE TREATMENT ([date range])
[date] Surgery: [procedure, pathology outcome, margins]
[date]-[date] Radiation: [dose, fractions, field]
PHASE 4: ADJUVANT THERAPY ([date range]) [if applicable]
[date]-[date] [Regimen name]: [drugs, doses, # cycles]
Toxicities: [noted adverse effects]
Dose modifications: [if any]
PHASE 5: RESPONSE ASSESSMENT
[date] Imaging: [RECIST response category]
Tumor markers: [trend summary]
Performance status: ECOG [score]
PHASE 6: SURVEILLANCE ([date range - ongoing])
[date] Follow-up imaging: [result]
[date] Tumor markers: [values and trend]
Next scheduled: [upcoming appointments/scans]
TUMOR MARKER TREND
==================
[Marker]: [date1]=[val1] -> [date2]=[val2] -> [date3]=[val3] [trend direction]
CURRENT STATUS
==============
Phase: [active treatment / surveillance / progression]
Current regimen: [if active] or Last treatment: [if surveillance]
Next action: [scan/visit/treatment due date]User says: "Review oncology treatment history for patient ONC-3301"
Actions:
fhir_read Patient/ONC-3301 -- 61-year-old malefhir_search Condition?patient=ONC-3301&category=encounter-diagnosis&code:below=363346000 -- Stage III colon adenocarcinoma (SNOMED 93761005), diagnosed 2025-06-15fhir_search Observation?patient=ONC-3301&code=21908-9,21902-2,21914-7,21913-9&_sort=-date -- T3N1M0, Stage IIIBfhir_search Procedure?patient=ONC-3301&_sort=-date&_count=50 -- right hemicolectomy 2025-07-10, port placement 2025-08-01fhir_search MedicationRequest?patient=ONC-3301&_sort=-date&_count=100 -- FOLFOX regimen started 2025-08-15 (5-FU, leucovorin, oxaliplatin), completed 12 cycles 2026-01-20fhir_search Observation?patient=ONC-3301&code=10466-1&_sort=date&_count=100 -- CEA: pre-op 12.4, post-op 2.1, nadir 1.0, current 1.2fhir_search DiagnosticReport?patient=ONC-3301&category=imaging&_sort=-date -- CT chest/abdomen/pelvis at 3-month intervalsResult:
ONCOLOGY TREATMENT TIMELINE -- James Wilson
Diagnosis: Colon adenocarcinoma | Stage IIIB (T3N1M0) | Diagnosed: 2025-06-15
ECOG: 0 | Current status: Surveillance (adjuvant completed)
==========================================================================
PHASE 1: DIAGNOSIS & STAGING (2025-06)
2025-06-10 Colonoscopy with biopsy: moderately differentiated adenocarcinoma, ascending colon
2025-06-15 CT C/A/P: 4.2cm ascending colon mass, 2 enlarged pericolic lymph nodes, no distant metastasis
2025-06-15 CEA: 12.4 ng/mL (elevated, ref <5.0)
Staging: T3N1M0, Stage IIIB, MSI-stable, KRAS wild-type
PHASE 3: DEFINITIVE TREATMENT (2025-07)
2025-07-10 Right hemicolectomy: R0 resection, clear margins (>5cm), 2/18 lymph nodes positive
Post-op CEA (2025-07-25): 2.1 ng/mL (declining)
PHASE 4: ADJUVANT THERAPY (2025-08 to 2026-01)
2025-08-15 to 2026-01-20: FOLFOX x12 cycles
- 5-FU 400mg/m2 bolus + 2400mg/m2 46-hr infusion
- Leucovorin 400mg/m2
- Oxaliplatin 85mg/m2
Toxicities: Grade 2 peripheral neuropathy (oxaliplatin), dose reduced to 65mg/m2 for cycles 10-12
CEA nadir: 1.0 ng/mL (cycle 8)
PHASE 6: SURVEILLANCE (2026-01 - ongoing)
2026-01-30 CT C/A/P: No evidence of recurrence
2026-01-30 CEA: 1.2 ng/mL (stable, within normal)
ECOG: 0
TUMOR MARKER TREND (CEA, ref <5.0 ng/mL)
2025-06-15: 12.4 -> 2025-07-25: 2.1 -> 2025-10-15: 1.0 -> 2026-01-30: 1.2 [STABLE AT NORMAL]
NEXT SCHEDULED
- CT C/A/P: due 2026-04 (3-month surveillance scan)
- CEA: due 2026-04
- Colonoscopy: due 2026-07 (1-year post-op)User says: "Pull cancer timeline for patient ONC-7784"
Actions:
fhir_read Patient/ONC-7784 -- 55-year-old femalefhir_search Condition?patient=ONC-7784&code:below=363346000 -- Stage IV NSCLC (SNOMED 254637007), diagnosed 2025-03-01, adenocarcinoma, EGFR mutation positivefhir_search MedicationRequest?patient=ONC-7784&_sort=-date&_count=100 -- osimertinib (1st line) started 2025-04-01, stopped 2025-11-15 (progression); carboplatin + pemetrexed started 2025-12-01 (2nd line, active)fhir_search DiagnosticReport?patient=ONC-7784&category=imaging&_sort=-date -- serial CT scans showing initial response then progressionfhir_search Observation?patient=ONC-7784&code=89247-1&_sort=-date -- ECOG 1Result:
ONCOLOGY TREATMENT TIMELINE -- Linda Park
Diagnosis: NSCLC adenocarcinoma | Stage IV (T2N2M1a) | Diagnosed: 2025-03-01
Biomarkers: EGFR exon 19 deletion positive | PD-L1 TPS 40%
ECOG: 1 | Current status: Active treatment (2nd line)
==========================================================================
PHASE 1: DIAGNOSIS & STAGING (2025-03)
2025-03-01 CT-guided lung biopsy: adenocarcinoma, EGFR exon 19 deletion
2025-03-05 PET-CT: 3.5cm RUL mass, mediastinal LN, bilateral pulmonary nodules (M1a)
PHASE 2: 1ST LINE THERAPY (2025-04 to 2025-11)
2025-04-01 to 2025-11-15: Osimertinib 80mg PO daily (EGFR-TKI)
2025-06-15 CT: Partial response (PR) -- primary tumor 2.1cm (40% decrease)
2025-09-15 CT: Stable disease (SD) -- 2.3cm
2025-11-15 CT: Progressive disease (PD) -- primary 3.8cm, new liver metastasis
Duration of response: 7.5 months
PHASE 3: 2ND LINE THERAPY (2025-12 - ongoing)
2025-12-01: Carboplatin AUC 5 + Pemetrexed 500mg/m2 q21d
Cycle 3 completed 2026-01-25
Restaging CT due after cycle 4
ECOG PERFORMANCE STATUS TREND
2025-03: ECOG 0 -> 2025-11: ECOG 1 -> 2026-01: ECOG 1
CURRENT STATUS
Phase: Active 2nd-line treatment, cycle 3 of 4-6 planned
Next restaging: CT C/A/P due ~2026-02-20 (after cycle 4)
Considerations: If progression, consider immunotherapy or clinical trialconclusion text.category=outpatient and look for known antineoplastic RxNorm codes.fhir_search CarePlan?patient=[id]&category=assess-plan.MedicationRequest.reasonReference for links to the cancer Condition -- this distinguishes chemo from other medications.medicationCodeableConcept.text for display name matching.fhir_search Observation?patient=[id]&category=laboratory&_sort=-date&_count=50 and inspect for marker-like results.lab-result-interpreter -- for detailed interpretation of tumor marker panels and treatment-related labsmedication-reconciliation -- for comprehensive medication review including supportive careclinical-summary-generator -- for full patient summary with oncology contextchronic-pain-management-review -- for cancer pain management assessment~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.