Skip to main content

Platform Components

Stable componentsโ€‹

Auth Serverโ€‹

Spring Authorization Server 1.3 ยท Java 21 ยท PostgreSQL

The SMART App Launch v2.2 authorization server. Handles clinician authentication, EHR launch token creation, PKCE authorize flow, and token issuance with SMART extras.

  • Package: com.akhester.smartfhir.server
  • Port: :9000
  • Tests: 90 (including 14 end-to-end integration tests)
  • Docs: auth.docs.ajsmart.com

Key classes: AuthorizationServerConfig, LaunchContextService, SmartTokenCustomizer, SmartTokenResponseConverter, JpaRegisteredClientRepository

SMART Clientโ€‹

Spring Boot 3.3 ยท HAPI FHIR R4 ยท Thymeleaf

The SMART App Launch v2.2 client. Handles dynamic discovery, PKCE authorize, token exchange, id_token validation, proactive refresh, and FHIR data display.

Key classes: SmartLaunchController, SmartCallbackController, IdTokenValidator, SmartDiscoveryService, TokenRefreshFilter

HAPI FHIR Pluginโ€‹

Spring Boot autoconfiguration ยท Nimbus JOSE+JWT

A drop-in JAR that pre-wires SmartDiscoveryProxyFilter and SmartScopeInterceptor onto any HAPI FHIR JPA server.

Planned componentsโ€‹

14 tasks across 5 phases. FHIR Consent resource lifecycle, patient portal, enforcement interceptor, GDPR/HIPAA/TEFCA audit trail.

ATNA Audit (v1.1.0)โ€‹

IHE ATNA-compliant FHIR AuditEvent logging for every auth event, consent decision, and FHIR access.

Referral Module (v1.2.0)โ€‹

FHIR ServiceRequest + Task based inter-facility referral. Closes the digital information gap between hospitals.