This page is part of the International Patient Access (v0.1.0: STU 1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions
An application gets access to a patient record using the SMART App Launch Protocol, using the stand alone launch sequence.
A client application gets access a patient record by following this general sequence of steps:
Fetch the system capability statement from [url]/metadata and check that it implements the IPA API:
"instantiates" : ["http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa"]
Fetch the end-point configuration from [url]/.well-known/smart-configuration.json
Follow the Smart App Launch Protocol using the authorization endpoint from the smart-configuration.json file
Scopes work as described in the SMART on FHIR specification, but note that many servers limit a client to the scopes approved on its registration, and/or ignore the requested scopes at the initiation of the stand-alone launch.
Servers that are conformant to the International Patient Access API conform to the following rules:
The server hosts a capability statement at [url]/metadata that is available to both authenticated and unauthenticated clients, and that declares that IPA is supported using CapabilityStatement.imports, as shown in the following fragment:
"instantiates" : ["http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa"]
launch/patient
scope and the server SHALL return a Patient FHIR resource identifier as the patient
SMART launch context parameter.Note that both the CapabilityStatement and the smart configuration file may be different for authenticated and unauthenticated clients.