Fhir Developer Skill
majiayu000/claude-skill-registry
FHIR API development guide for building healthcare endpoints.
Expert guidance for implementing FHIR RESTful API servers and clients following the HL7 FHIR specification.
$ npx skills add aehrc/pathling --skill fhir-api -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aehrc/pathling fhir-api --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aehrc/pathling.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/fhir-api .claude/skills/fhir-api && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "fhir-api" agent skill from https://github.com/aehrc/pathling/tree/main/.claude/skills/fhir-api into .claude/skills/fhir-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fhir-api", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aehrc/pathling/tree/main/.claude/skills/fhir-apiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aehrc/pathling --skill fhir-api -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aehrc/pathling fhir-api --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aehrc/pathling.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/fhir-api .agents/skills/fhir-api && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "fhir-api" agent skill from https://github.com/aehrc/pathling/tree/main/.claude/skills/fhir-api into .agents/skills/fhir-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fhir-api", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aehrc/pathling --skill fhir-api -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aehrc/pathling fhir-api --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aehrc/pathling.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/fhir-api .cursor/skills/fhir-api && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "fhir-api" agent skill from https://github.com/aehrc/pathling/tree/main/.claude/skills/fhir-api into .cursor/skills/fhir-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fhir-api", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aehrc/pathling.git --path .claude/skills/fhir-api--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aehrc/pathling --skill fhir-api -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aehrc/pathling fhir-api --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aehrc/pathling.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/fhir-api .gemini/skills/fhir-api && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "fhir-api" agent skill from https://github.com/aehrc/pathling/tree/main/.claude/skills/fhir-api into .gemini/skills/fhir-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fhir-api", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aehrc/pathling fhir-apiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aehrc/pathling --skill fhir-api -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aehrc/pathling.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/fhir-api .github/skills/fhir-api && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "fhir-api" agent skill from https://github.com/aehrc/pathling/tree/main/.claude/skills/fhir-api into .github/skills/fhir-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fhir-api", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aehrc/pathling --skill fhir-api -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aehrc/pathling fhir-api --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aehrc/pathling.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/fhir-api .opencode/skills/fhir-api && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "fhir-api" agent skill from https://github.com/aehrc/pathling/tree/main/.claude/skills/fhir-api into .opencode/skills/fhir-api/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "fhir-api", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
fhir-apiExpert guidance for implementing FHIR RESTful API servers and clients following the HL7 FHIR specification.
Fhir API is an agent skill from aehrc/pathling. Expert guidance for implementing FHIR RESTful API servers and clients following the HL7 FHIR specification. Use this skill when implementing a FHIR server with REST endpoints, building a FHIR client, designing FHIR API routes and handlers, implementing FHIR operations (read, create, update, delete, search, history), working with FHIR bundles, batch requests, or transactions, handling FHIR content negotiation, headers, and versioning, or implementing conditional operations. Trigger keywords include "FHIR REST"…
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/batch-transaction.md`, `references/operations.md` and `references/search.md`).
It sits in Research & Science, covering Clinical and healthcare research and REST APIs. The repository describes itself as: Tools that make it easier to use FHIR and clinical terminology within data analytics, built on Apache Spark. The licence is Apache-2.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 56a3b4a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Fhir API loads about 1.5k tokens when it runs, and up to ~7.2k if it reads all its reference files. Until then it costs about 159 tokens; SKILL.md has 388 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from aehrc/pathling at commit 56a3b4a, republished under its Apache-2.0 licence (© aehrc). 388 words, ~1,462 tokens.
.claude/skills/fhir-api/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.This skill provides guidance for implementing FHIR RESTful APIs according to the HL7 FHIR specification (R4/R5).
All FHIR REST URLs follow the pattern:
[base]/[type]/[id][base]: Service base URL (e.g., https://fhir.example.org/r4)[type]: Resource type (e.g., Patient, Observation)[id]: Logical resource IDURLs are case-sensitive and use UTF-8 encoding.
| Operation | HTTP | URL Pattern | Success |
|---|---|---|---|
| Read | GET | [base]/[type]/[id] | 200 |
| VRead | GET | [base]/[type]/[id]/_history/[vid] | 200 |
| Create | POST | [base]/[type] | 201 |
| Update | PUT | [base]/[type]/[id] | 200/201 |
| Patch | PATCH | [base]/[type]/[id] | 200 |
| Delete | DELETE | [base]/[type]/[id] | 200/204 |
| Search | GET/POST | [base]/[type]?params | 200 |
| History | GET | [base]/[type]/[id]/_history | 200 |
| Capabilities | GET | [base]/metadata | 200 |
| Batch/Transaction | POST | [base] | 200 |
For detailed specifications of each operation, see references/operations.md.
| Format | MIME Type |
|---|---|
| JSON | application/fhir+json |
| XML | application/fhir+xml |
| RDF | application/fhir+turtle |
Use the Accept header for response format and Content-Type for request body format.
The _format query parameter overrides Accept when clients cannot set headers.
Specify version via MIME type parameter:
Accept: application/fhir+json; fhirVersion=4.0Version mappings: 1.0 (R2), 3.0 (R3), 4.0 (R4), 4.3 (R4B), 5.0 (R5).
| Header | Purpose | Example |
|---|---|---|
| Accept | Response format | application/fhir+json |
| Content-Type | Request body format | application/fhir+json |
| If-Match | Optimistic locking | W/"123" |
| If-None-Exist | Conditional create | identifier=123 |
| Prefer | Return preference | return=representation |
| Header | Purpose | Example |
|---|---|---|
| ETag | Version identifier | W/"123" |
| Location | New resource URL | [base]/Patient/123/_history/1 |
| Last-Modified | Modification time | RFC 7231 date |
FHIR uses weak ETags for version tracking:
ETag: W/"[versionId]" with responsesIf-Match: W/"[versionId]" with updates412 Precondition Failed if version mismatchImplement version-aware updates when CapabilityStatement.rest.resource.versioning is versioned-update.
Return OperationOutcome resources for all errors:
{
"resourceType": "OperationOutcome",
"issue": [
{
"severity": "error",
"code": "invalid",
"diagnostics": "Patient.birthDate: Invalid date format"
}
]
}| Code | Meaning |
|---|---|
| 400 | Invalid syntax or validation failure |
| 404 | Resource not found |
| 409 | Version conflict |
| 410 | Resource deleted |
| 412 | Precondition failed (version mismatch) |
| 422 | Business rule violation |
Control response content with Prefer:
| Value | Response body |
|---|---|
return=minimal | Empty (headers only) |
return=representation | Full resource |
return=OperationOutcome | Validation outcome |
For async operations, use Prefer: respond-async to get 202 Accepted with status polling URL.
Server implementations should:
/metadataLocation header on create/updateOperationOutcome for all errors_format parameter fallbackPrefer header for response content© aehrc, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in .claude/skills/fhir-api of aehrc/pathling.
Open the folder on GitHubat commit 56a3b4a
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in aehrc/pathling, which our catalogue first saw on October 7, 2026.
Fhir API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Fhir API this skillaehrc/pathling | 137 | 1 repos | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Fhir Developer Skillmajiayu000/claude-skill-registry | 666 | 2 repos | ~2.5k | Automated safety check: Pass | MIT | |
| Database Lookupmajiayu000/claude-skill-registry | 666 | 1 repos | ~7k | Automated safety check: Notes | MIT | |
| Pubchem Databasedavila7/claude-code-templates | 32k | 12 repos | ~4.1k | Automated safety check: Pass | MIT | |
| Claude To MedrixflowCitrus-bit/Anaxa | 120 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Searching Clinicaltrialsmaziyarpanahi/openmed | 5.5k | — | ~2k | Automated safety check: Pass | Apache-2.0 |
majiayu000/claude-skill-registry
FHIR API development guide for building healthcare endpoints.
majiayu000/claude-skill-registry
Search 78 public scientific, biomedical, materials science, and economic databases via REST APIs.
davila7/claude-code-templates
Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). An agent skill from davila7/claude-code-templates.
Citrus-bit/Anaxa
Interact with MedrixFlow AI agent platform via its HTTP API.
maziyarpanahi/openmed
Searches ClinicalTrials.gov for studies by condition, intervention, and recruitment status using the modern v2 REST API with cursor (pageToken) pagination.
GPTomics/bioSkills
Query the Ensembl REST API for gene/transcript/protein lookup, sequence retrieval, comparative genomics (Compara), variant effect prediction (VEP), regulatory features, and cross-species…
aehrc/pathling
Expert guidance for implementing FHIR Bulk Data Access (Flat FHIR) following the HL7 specification.
aehrc/pathling
Expert guidance for using the Databricks CLI to manage Databricks workspaces, clusters, jobs, pipelines, Unity Catalog, SQL warehouses, serving endpoints, secrets, bundles, and all other Databricks…
aehrc/pathling
FHIR RESTful search specification expert with access to the official HL7 search specification text and the formal SearchParameter registry.
aehrc/pathling
Design and generate comprehensive FHIRPath test suites using input domain partitioning and Pathling's DSL test framework.
aehrc/pathling
Expert guidance for implementing FHIR servers using HAPI FHIR Plain Server framework.
aehrc/pathling
Expert guidance for writing end-to-end tests with Playwright Test framework.
Categories
Expert guidance for implementing FHIR RESTful API servers and clients following the HL7 FHIR specification. Fhir API is an agent skill from aehrc/pathling. Expert guidance for implementing FHIR RESTful API servers and clients following the HL7 FHIR specification.
Fhir API fits situations like: implementing a FHIR server with REST endpoints; building a FHIR client; designing FHIR API routes and handlers; implementing FHIR operations (read.
Run `npx skills add aehrc/pathling --skill fhir-api -a claude-code`. Or copy the skill folder (.claude/skills/fhir-api in aehrc/pathling) into .claude/skills/fhir-api in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aehrc/pathling --skill fhir-api -a codex`. Or copy the skill folder (.claude/skills/fhir-api in aehrc/pathling) into .agents/skills/fhir-api in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aehrc/pathling --skill fhir-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fhir-api, .gemini/skills/fhir-api, .github/skills/fhir-api and .opencode/skills/fhir-api in your project.
SKILL.md names no scripts, command-line tools or credentials: Fhir API is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Fhir API is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.7k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Fhir API: Fhir Developer Skill (majiayu000/claude-skill-registry, 666 stars), Database Lookup (majiayu000/claude-skill-registry, 666 stars), Pubchem Database (davila7/claude-code-templates, 32k stars) and Claude To Medrixflow (Citrus-bit/Anaxa, 120 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aehrc (a GitHub organization) maintains it in aehrc/pathling, which has 137 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 8, 2026.
Source: aehrc/pathling on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.