igia

igia

  • Documentation
  • Stay Informed
  • Community

›SMART on FHIR

igia

  • Platform Overview
  • Getting Started
  • Architecture
  • How To Create An App
  • FAQ
  • Contributing
  • Licensing
  • Healthcare Disclaimer
  • HIPAA Support
  • Component List
  • Releases

    • Release-0.3.1
    • Release-0.3.2
    • Release-0.3.3
  • Known Issues
  • Acknowledgements

Sample App

  • Sample App API
  • Sample App UI

Microservice Platform

  • Microservice Gateway
  • Key Cloak (OAuth)

    • README
    • Usage
    • Introduction
  • Orchestrator

SMART on FHIR

  • Overview
  • FHIR API Example
  • FHIR API HAPI Config

    • README
    • Usage
    • Introduction

    SMART Launch App

    • README
    • Usage

Care Management

  • Overview
  • Care Management
  • Camunda Workflow Engine

Data Integration

  • Overview
  • Data Integration App
  • Data Integration Config
  • Data Integration Worker

Tools

  • igia Common Libs
  • Docs Website
  • Data Masking

I2b2 & CDI

  • Overview
  • CDI Usage

igia-platform / igia-fhir-autoconfigure

Spring boot autoconfiguration library designed to give HAPI FHIR servlet capability to a JHipster generated microservice. Includes additional components to support SMART-on-FHIR launch.

HAPI FHIR server Spring boot autoconfiguration

This library is based on the hapi-fhir-spring-boot-autoconfigure project. Any Spring components in your microservice that implement HAPI IResourceProvider, IServerInterceptor, or IPagingProvider will be registered as providers with the HAPI FHIR server. At least one component implementing IResourceProvider must be available in order for the HAPI FHIR RestController to be created.

The server will be configured with default HAPI interceptors including a ResponseHighlighterInterceptor, LoggingInterceptor, ExceptionHandlingInterceptor, and a CorsInterceptor, as well as a DefaultThymeleafNarrativeGenerator. The SMART components described below are included if the server configuration property hspc.platform.api.security.mode is set to 'secured' or 'mock'.

Any of these components can be customized by providing your own beans that override those in the igia-fhir-auto-configuration class. In addition, custom server configuration can be added by implementing the FhirRestfulServerCustomizer interface or extending the igiarestfulServerCustomizer class.

Capability statement enhancement

The autoconfiguration library includes a Conformance provider component that uses the HSPC hspc-reference-api-smart-support library to add authorize, token, and register endpoint URLs to capability statement, as described in the SMART official documentation. Implementation also adds a new property hspc.platform.authorization.smart.capabilities to include the http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities extensions that describe the server's SMART conformance.

Scope-based authorization interceptor

A default implementation of a HAPI FHIR AuthorizationInterceptor to apply SMART scopes to API requests. The interceptor allows read/search/history operations to run then intercepts results to apply allowed scopes. If returned records are not permitted based on the client's scopes, it will return an unauthorized error to the client. See the SMART-on-FHIR documentation for details describing the level of scope enforcement.

Last updated on 7/29/2019
← UsageREADME →
igia    igia
Enabling the development, deployment, and sharing of healthcare technology.

Logo Design By GillFishmanDesign.com Cambridge, Massachusetts

Copyright © 2020
"igia" is a trademark of the igia.io project.
Documentation
Getting StartedLicenseDisclaimerFAQ
Community
Discussion ForumPlatform Users
Contact us at
More
GitHubStar