Data & ReproClinical MedicineFreedomIntelligence/OpenClaw-Medical-SkillsData & Reproduction
FH

fhir-developer-skill

Maintainer FreedomIntelligence · Last updated April 1, 2026

FHIR API development guide for building healthcare endpoints. Use when: (1) Creating FHIR REST endpoints (Patient, Observation, Encounter, Condition, MedicationRequest), (2) Validating FHIR resources and returning proper HTTP status codes and error responses, (3) Implementing SMART on FHIR authorization and OAuth scopes, (4) Working with Bundles, transactions, batch operations, or search pagination. Covers FHIR R4 r….

OpenClawNanoClawAnalysisReproductionfhir-developer-skill🏥 medical & clinicalmedical toolsfhir

Original source

FreedomIntelligence/OpenClaw-Medical-Skills

https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/fhir-developer-skill

Maintainer
FreedomIntelligence
License
MIT
Last updated
April 1, 2026

Skill Snapshot

Key Details From SKILL.md

2 min

Key Notes

  • Only validate fields with cardinality starting with "1" as required.
  • Common mistake: Making subject or period required on Encounter. They are 0..1 (optional).
  • Invalid enum values must return 422 Unprocessable Entity.

Source Doc

Excerpt From SKILL.md

HTTP Status Codes

CodeWhen to Use
200 OKSuccessful read, update, or search
201 CreatedSuccessful create (include Location header)
204 No ContentSuccessful delete
400 Bad RequestMalformed JSON, wrong resourceType
401 UnauthorizedMissing, expired, revoked, or malformed token (RFC 6750)
403 ForbiddenValid token but insufficient scopes
404 Not FoundResource doesn't exist
412 Precondition FailedIf-Match ETag mismatch (NOT 400!)
422 Unprocessable EntityMissing required fields, invalid enum values, business rule violations

Required Fields by Resource (FHIR R4)

ResourceRequired FieldsEverything Else
Patient(none)All optional
Observationstatus, codeOptional
Encounterstatus, classOptional (including subject, period)
ConditionsubjectOptional (including code, clinicalStatus)
MedicationRequeststatus, intent, medication[x], subjectOptional
Medication(none)All optional
BundletypeOptional

Observation.status

registered | preliminary | final | amended | corrected | cancelled | entered-in-error | unknown

Use cases

  • Use when: (1) Creating FHIR REST endpoints (Patient, Observation, Encounter, Condition, MedicationRequest), (2) Validating FHIR resources and returning proper HTTP status codes and error responses, (3) Implementing SMART on FHIR authorization and OAuth scopes, (4) Working with Bundles, transactions, batch operations, or search pagination.

Not for

  • Do not rely on this catalog entry alone for installation or maintenance details.

Related skills

Related skills

Back to directory
AR
Data & ReproClinical Medicine

armored-cart-design-agent

Design armored CAR-T cells with cytokine payloads and resistance mechanisms.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
AR
Data & ReproClinical Medicine

arxiv-search

Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
AU
Data & ReproClinical Medicine

autonomous-oncology-agent

Autonomous oncology research agent: literature mining, trial matching, biomarker analysis, and treatment hypothesis generation.

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView
BI
Data & ReproClinical Medicine

bio-cfdna-preprocessing

Preprocesses cell-free DNA sequencing data including adapter trimming, alignment optimized for short fragments, and UMI-aware duplicate remo…

OpenClawNanoClawAnalysis
FreedomIntelligence/OpenClaw-Medical-SkillsView