vte-risk-assessment — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited vte-risk-assessment (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.
Calculate VTE risk scores from FHIR Patient, Condition, Observation, Procedure, and MedicationRequest resources. Supports Wells Criteria for DVT, Wells Criteria for PE, Revised Geneva Score for PE, and Caprini Score for surgical VTE prophylaxis. Generate prophylaxis and diagnostic recommendations based on risk stratification. Create a RiskAssessment FHIR resource documenting findings.
| Resource | Purpose | Key Fields |
|---|---|---|
| Patient | Age, gender | birthDate, gender |
| Condition | Active diagnoses, cancer, prior VTE, immobilization | code, clinicalStatus, onsetDateTime |
| Observation | Vitals (HR, SpO2), D-dimer, labs | code, valueQuantity, effectiveDateTime |
| Procedure | Recent surgeries, immobilization, central lines | code, status, performedDateTime |
| MedicationRequest | Hormonal therapy, anticoagulants, contraceptives | medicationCodeableConcept, status |
| RiskAssessment | Output: VTE risk scores | method, prediction, basis |
Tool: fhir_read
resourceType: "Patient"
id: "[patient-id]"Extract age and gender. Age >40 and >60 have incremental Caprini points.
Tool: fhir_search
resourceType: "Condition"
queryParams: "patient=[patient-id]&clinical-status=active,recurrence,remission"Key SNOMED codes for scoring:
Tool: fhir_search
resourceType: "Procedure"
queryParams: "patient=[patient-id]&date=ge[30-days-ago]&status=completed"Identify:
Heart Rate:
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=8867-4&_sort=-date&_count=3"LOINC 8867-4 = Heart rate. Used in Revised Geneva Score (75-94 bpm = 3 pts, >=95 = 5 pts).
SpO2:
Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=2708-6&_sort=-date&_count=1"Tool: fhir_search
resourceType: "Observation"
queryParams: "patient=[patient-id]&code=48066-5&_sort=-date&_count=1"LOINC 48066-5 = D-dimer (FEU). Also check 48065-7 (DDU units). Used in diagnostic pathway after clinical probability assessment.
Tool: fhir_search
resourceType: "MedicationRequest"
queryParams: "patient=[patient-id]&status=active"Identify:
| Clinical Scenario | Score(s) |
|---|---|
| Suspected DVT (leg swelling, pain) | Wells DVT |
| Suspected PE (dyspnea, chest pain, tachycardia) | Wells PE + Revised Geneva |
| Pre-operative VTE prophylaxis | Caprini |
| Hospitalized medical patient | Caprini or Padua (use Caprini) |
| Post-operative patient | Caprini |
Refer to references/vte-scoring.md for complete criteria.
Apply scoring from reference tables. Map to diagnostic pathways and prophylaxis recommendations per references/vte-management.md.
Tool: fhir_create
resourceType: "RiskAssessment"
resource: {
"resourceType": "RiskAssessment",
"status": "final",
"subject": {"reference": "Patient/[patient-id]"},
"occurrenceDateTime": "[current-datetime]",
"method": {
"coding": [{"system": "http://snomed.info/sct", "code": "225338004", "display": "Risk assessment"}]
},
"prediction": [
{
"outcome": {"text": "[Score name]: [value] - [risk level]"},
"qualitativeRisk": {"coding": [{"system": "http://terminology.hl7.org/CodeSystem/risk-probability", "code": "[low|moderate|high]"}]}
}
],
"note": [{"text": "[Diagnostic/prophylaxis recommendations]"}]
}VTE RISK ASSESSMENT
====================
Patient: [name] | Age: [age] | Sex: [sex]
Assessment Date: [datetime]
Clinical Context: [suspected DVT / suspected PE / pre-operative / hospitalized medical]
SCORES
------
[Score Name]: [value] - [risk level]
Components: [list scored items with individual points]
DIAGNOSTIC PATHWAY
------------------
[Based on score: D-dimer indicated / Imaging indicated / Alternative diagnosis likely]
PROPHYLAXIS RECOMMENDATIONS
----------------------------
[If applicable: pharmacologic / mechanical / combined]
CURRENT ANTICOAGULATION
-----------------------
[Current therapy or none]
RISK FACTORS IDENTIFIED
-----------------------
[List all VTE risk factors found in patient data]User says: "Assess DVT risk for patient 44556, has leg swelling"
Actions:
fhir_read Patient/44556 -- 62Mfhir_search Condition -- active cancer (colon), prior DVT (2022), no immobilization documentedfhir_search Procedure recent -- none in last 30 daysfhir_search Observation D-dimer -- 1.8 mcg/mL FEU (elevated)fhir_search MedicationRequest -- chemotherapy active (oxaliplatin), no anticoagulantResult:
VTE RISK ASSESSMENT
====================
Patient: Richard Cole | Age: 62 | Sex: Male
Clinical Context: Suspected DVT
SCORES
------
Wells DVT: 4 - HIGH PROBABILITY (DVT likely)
Active cancer (+1): Colon cancer, on chemotherapy
Prior documented DVT (+1): DVT 2022
Entire leg swollen (+1): Per clinical assessment
Calf swelling >3cm (+1): Per clinical assessment
Paralysis/paresis (0), Recently bedridden (0), Localized tenderness (0)
Pitting edema (0), Collateral veins (0), Alternative diagnosis (-2): NOT applied
DIAGNOSTIC PATHWAY
------------------
Wells >= 2 (DVT likely): Proceed directly to compression ultrasound.
D-dimer (1.8 mcg/mL FEU): Elevated, but D-dimer not useful in "likely" category -- imaging required regardless.
If ultrasound negative but high suspicion: repeat in 5-7 days or consider venography.
RISK FACTORS IDENTIFIED
-----------------------
- Active malignancy (colon cancer)
- Prior VTE history
- Active chemotherapy
- Age >60User says: "Caprini score for patient 78901, scheduled for hip replacement"
Actions:
fhir_read Patient/78901 -- 71F, BMI 34fhir_search Condition -- obesity, varicose veins, HTN, no prior VTE, no cancerfhir_search Procedure -- elective total hip arthroplasty scheduledfhir_search MedicationRequest -- HRT (conjugated estrogens) activeResult:
VTE RISK ASSESSMENT
====================
Patient: Patricia Wong | Age: 71 | Sex: Female
Clinical Context: Pre-operative (total hip arthroplasty)
SCORES
------
Caprini: 9 - HIGHEST RISK
Age 61-74 (+2), Female (+1 if applicable in scoring), BMI >25 (+1),
Varicose veins (+1), Major surgery >45min (+2),
Hip arthroplasty (+5)
Note: Score may vary by institutional Caprini version.
PROPHYLAXIS RECOMMENDATIONS
----------------------------
Caprini >= 5 (Highest Risk):
- Pharmacologic: LMWH (enoxaparin 40mg SQ daily) or rivaroxaban 10mg daily
- Start: 12 hours pre-op or 6-12 hours post-op per protocol
- Duration: Extended prophylaxis 35 days for hip arthroplasty
- Mechanical: Intermittent pneumatic compression devices intra-op and post-op
- Discontinue HRT: Recommend stopping conjugated estrogens >=4 weeks pre-op if elective
- Early mobilization protocol Tool: fhir_search
resourceType: "Condition"
queryParams: "patient=[patient-id]&code=128053003,59282003"http://hl7.org/fhir/sid/icd-10-cm.valueQuantity.unit to determine which unit system. LOINC 48066-5 = FEU, 48065-7 = DDU.clinical-summary-generator -- for full patient context before VTE assessmentmedication-reconciliation -- to verify anticoagulation therapy and identify hormonal risk factorsdrug-interaction-checker -- when initiating anticoagulant therapy~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.