Implementation Guide
Health Device Data Transfer
Version 0.1.0 - ballot

Specification of health data transfer from devices to DiGA (§ 374a SGB V)

Authorization Server

Seiteninhalt:

Introduction

This document describes the OAuth 2.0 Authorization Server used to authorize a DiGA to access FHIR resources of medical devices and implants. The Authorization Server is the main component of the pairing procedure. It is responsible for authenticating a DiGA, presenting a consent dialog to the patient, issuing access and refresh tokens, and generating a Pairing ID. The Authorization Server MUST adhere to the prerequisites described in OAuth2 Authorization Server Prerequisites.

The access_token issued by the Authorization Server is used as a Bearer token in the HTTP Authorization header for all requests from the DiGA to the FHIR Resource Server. Resource Servers validate this token and enforce the granted SMART scopes before returning any data.

The OAuth 2.0 Authorization Server has no use-case-specific components. Its behavior and configuration are uniform across all Device Data Recorders. A Device Data Recorder manufacturer MUST implement the core endpoints defined below, but MAY support additional OAuth 2.0 endpoints if desired.

Endpoints

A HiMi manufacturer MUST implement the following endpoints, which form the core of the OAuth 2.0 Authorization Server for pairing: