CtrlK
BlogDocsLog inGet started
Tessl Logo

fetching-fhir-resources

Fetches and pages FHIR R4 resources (Patient, DocumentReference, DiagnosticReport, Observation, Condition) from a FHIR REST server, decodes base64 attachments, and extracts clinical narrative for OpenMed. Use before OpenMed processing when pulling charts from an EHR FHIR API (Epic, Cerner/Oracle, HAPI, or any US Core server) and you need the note text de-identified and analyzed, then results rejoined by patient. Hand narrative to openmed.deidentify and openmed.analyze_text; openmed.interop.fhir_operations implements a $de-identify operation over Bundles. Trigger keywords: FHIR, R4, US Core, DocumentReference, DiagnosticReport, Bundle, _revinclude, presentedForm, base64, EHR API.

72

Quality

88%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

76%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is highly actionable with executable code and good structure, but the introductory prose explains concepts Claude already knows and the batch workflow lacks explicit validation checkpoints in its main steps, capping workflow clarity.

Suggestions

Add explicit validation checkpoints to the numbered workflow (e.g., cap and dedupe pages in step 3, verify decode succeeded before step 5) rather than relegating them to the gotchas section.

Trim the opening paragraph and 'FHIR REST in one minute' to assume Claude's familiarity with FHIR, keeping only the OpenMed-specific decisions.

Consider moving the server-side $de-identify API surface into a short reference section or file so the hand-off block stays lean.

DimensionReasoningScore

Conciseness

Mostly efficient with a clean quick-start and dense reference section, but the opening paragraph and 'FHIR REST in one minute' explain FHIR concepts Claude largely already knows; minor trimming would reach anchor 5.

4 / 5

Actionability

Provides fully executable, copy-paste-ready Python (iter_bundle, attachment_text, de_identify_bundle) with concrete OpenMed calls and real endpoint examples covering common cases.

5 / 5

Workflow Clarity

A clear six-step sequence is present, but this batch paging operation has no explicit validation/verification checkpoints in the main workflow (page-cap and dedupe live only in the gotchas), so per the batch-operation cap it cannot exceed 3.

3 / 5

Progressive Disclosure

Well-organized into distinct sections with external HL7 references one level deep and no nested file chains; minor gaps only, though some inline reference detail could be split out.

4 / 5

Total

16

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is exemplary: it states concrete capabilities, provides an explicit use-when clause with concrete trigger phrases, and lists a comprehensive keyword set with synonyms. It is distinguishable and unlikely to fire for the wrong skill.

DimensionReasoningScore

Specificity

Lists multiple concrete actions ('Fetches and pages', 'decodes base64 attachments', 'extracts clinical narrative', '$de-identify operation over Bundles') with named resource types, matching the comprehensive-coverage anchor.

5 / 5

Completeness

Clearly states what it does and gives an explicit 'Use before OpenMed processing when pulling charts from an EHR FHIR API... and you need the note text de-identified and analyzed' trigger with concrete phrases.

5 / 5

Trigger Term Quality

Explicit trigger keyword list (FHIR, R4, US Core, DocumentReference, DiagnosticReport, Bundle, _revinclude, presentedForm, base64, EHR API) plus vendor synonyms (Epic, Cerner/Oracle) gives comprehensive natural-term coverage.

5 / 5

Distinctiveness Conflict Risk

Occupies a clear niche (FHIR R4 + OpenMed de-id/NLP) with distinct, specific triggers and minimal overlap with other skills.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
maziyarpanahi/openmed
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.