International Patient Access, published by HL7. This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/grahamegrieve/ipa-candidate/ and changes regularly. 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:
"imports" : ["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 server to the scopes approved on it’s 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:
"imports" : ["http://hl7.org/fhir/uv/ipa/CapabilityStatement/ipa"]
Note that both the CapabilityStatement and the smart configuration file may be different for authenticated and unauthenticated clients.