hapi-fhir-server

Implement FHIR servers with HAPI FHIR Plain Server framework.

133|23|Updated Mar 23, 2020
One-click install
npx skills add https://github.com/aehrc/pathling --skill hapi-fhir-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hapi-fhir-server
Source: https://github.com/aehrc/pathling/tree/main/.claude/skills/hapi-fhir-server
Command: npx skills add https://github.com/aehrc/pathling --skill hapi-fhir-server

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance and code examples for building and configuring FHIR servers using the HAPI FHIR Plain Server framework, simplifying complex FHIR server implementations.

Core Features & Use Cases

  • Resource Provider Implementation: Define how your server handles CRUD operations for FHIR resources.
  • Interceptor Development: Implement custom logic for request/response handling, security, and validation.
  • Search and Operation Handling: Configure advanced search capabilities and custom FHIR operations.
  • Use Case: You need to create a RESTful FHIR server to manage patient data. This Skill will guide you through setting up resource providers for Patient and Observation, implementing authentication, and defining search parameters.

Quick Start

Use the hapi-fhir-server skill to create a basic FHIR server with a Patient resource provider.

Frequently Asked Questions about hapi-fhir-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement a FHIR server using Java?

To implement a FHIR server in Java, define resource providers to handle CRUD operations and configure interceptors for custom request processing. The HAPI FHIR Plain Server framework provides the foundational structure for building RESTful FHIR APIs.

How do I set up CRUD operations for FHIR resources in a Java server?

Setting up CRUD operations for FHIR resources requires implementing resource provider classes. These providers define the specific create, read, update, and delete methods for resource types like Patient and Observation within your HAPI FHIR server.

Can I add custom validation logic to a HAPI FHIR server?

Yes, you can add custom validation logic to a HAPI FHIR server by developing interceptors. Interceptors allow you to inject custom processing into the request and response lifecycle to enforce security and data validation rules.

What is the best way to configure advanced search parameters in a FHIR RESTful API?

Configuring advanced search parameters in a FHIR RESTful API is done by defining search parameters within your resource providers. The HAPI FHIR framework supports complex search operations to query specific healthcare data efficiently.

Does the HAPI FHIR Plain Server framework support custom FHIR operations?

Yes, the HAPI FHIR Plain Server framework supports custom FHIR operations. You can define and handle custom operations alongside standard CRUD interactions to extend server functionality for specific healthcare data requirements.

When do I need to use interceptors in a FHIR server implementation?

You need to use interceptors in a FHIR server implementation when you must apply cross-cutting logic such as authentication, security enforcement, or request auditing across multiple resource interactions without modifying the core resource providers.