This page is part of the Security for Scalable Registration, Authentication, and Authorization (v1.0.0: STU 1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions
Official URL: http://hl7.org/fhir/us/udap-security/ImplementationGuide/hl7.fhir.us.udap-security | Version: 1.0.0 | |||
Active as of 2021-11-10 | Computable Name: UDAPSecurity |
This Security FHIR® IG has been established upon the recommendations of ONC’s FHIR at Scale Taskforce (FAST) Security Tiger Team, and has been adapted from IGs previously published by UDAP.org. The workflows defined in the Unified Data Access Profiles (UDAP™) have been used in several FHIR IGs, including the Carequality FHIR IG, Carin BB IG, DaVinci HREX IG, and others. The objective of this IG is to harmonize workflows for both consumer-facing and B2B applications to facilitate cross-organizational and cross-network interoperability.
Additional enhancements include a formal definition for a B2B Authorization Extension Object to facilitate these transactions.
This implementation guide describes how to extend OAuth 2.0 using UDAP workflows for both consumer-facing apps that implement the authorization code flow, and business-to-business (B2B) apps that implement the client credentials flow or authorization code flow. This guide covers automating the client application registration process and increasing security using asymmetric cryptographic keys bound to digital certificates to authenticate ecosystem participants. This guide also provides a grammar for communicating metadata critical to healthcare information exchange.
The requirements described in this guide are intended to align with the proposed solutions of the ONC FHIR at Scale Taskforce’s Security Tiger Team, the security model and UDAP workflows outlined in the Carequality FHIR-Based Exchange IG, and implementation guides incorporating UDAP workflows published by the CARIN Alliance and the Da Vinci Project. This guide is also intended to be compatible and harmonious with client and server use of versions 1 or 2 of the HL7 SMART App Launch IG.
This Guide is divided into several pages which are listed at the top of each page in the menu bar.
The requirements in this section are applicable to both consumer-facing and B2B apps and the servers that support them.
All JSON Web Tokens (JWTs) defined in this guide:
Signature algorithm identifiers used in this guide are defined in Section 3.1 of RFC 7518. Implementations supporting the UDAP workflows defined in this guide SHALL support RS256
. In addition to the algorithm required by the referenced UDAP specifications, this guide also permits the use of ES256
and ES384
. Implementations SHOULD support ES256
, and MAY support ES384
and/or RS384
.
All JWTs defined in this guide SHALL contain a Javascript Object Signing and Encryption (JOSE) header as defined in Section 4 of RFC 7515 that conforms to the following requirements:
JWT Header Values | ||
---|---|---|
alg |
required |
A string identifying the signature algorithm used to sign the JWT. For
example:"RS256"
|
x5c |
required |
An array of one or more strings containing the X.509 certificate or
certificate chain, where the leaf certificate corresponds to the
key used to digitally sign the JWT. Each string in the array is the
base64-encoded DER representation of the corresponding certificate, with the leaf
certificate appearing as the first (or only) element of the array. See https://tools.ietf.org/html/rfc7515#section-4.1.6 |
This section lists some additional topics to be addressed by trust communities adopting this guide:
iss
and sub
claims of signed metadata elements (see Section 2.3).iss
and sub
claims of software statements (see Section 3.1).organization_id
in Section 5.2.1.1).subject_role
in Section 5.2.1.1).purpose_of_use
in Section 5.2.1.1).consent_policy
and consent_reference
in Section 5.2.1.1).