What problem does it solve?
This Skill helps you implement and validate HL7 FHIR R4 REST endpoints without subtle protocol mistakes that lead to wrong status codes, invalid enums, or malformed OperationOutcome errors.
Core Features & Use Cases
- FHIR R4 validation rules: Enforces which fields are truly required (by cardinality) and which enum values are acceptable for common resources like Patient, Observation, Encounter, Condition, and MedicationRequest.
- Correct HTTP + FHIR error handling: Maps validation failures to the right HTTP status codes (e.g., 422 for invalid enum values) and standardizes error responses using OperationOutcome with proper content type.
- SMART on FHIR authorization guidance: Supports implementation considerations for SMART on FHIR authorization, OAuth scopes, and token/scopes enforcement patterns, including common scope format expectations.
Quick Start
Use the fhir-developer-skill to validate a proposed FHIR create/read/update/delete API contract and generate the required HTTP status codes and OperationOutcome error responses for invalid inputs.