Introduction
ASP.MD FHIR
What Is FHIR? The HL7 FHIR (Fast Healthcare Interoperability Resources) standard
defines how healthcare information can be exchanged between different computer
systems regardless of how it is stored in those systems.
To learn more about the HL7 FHIR specification, click here.
To visit the ASP.MD website, click here.
API Endpoints
Single Patient API
The single patient API specifies methods pertaining to a patient by search parameters. The Patient
Resource may be returned using this API. Additionally, bundled Resources pertaining to the Patient
may be requested: For example, a Patient's CarePlan, CareTeam, or Observations.
Single patient documentation link: Single Patient
API.
Multi Patient (Bulk) API
The Bulk API allows for the export of multiple Patients according to search parameters, as well any
specified Resources applicable to these Patients. Results of a bulk export are created as secured
NDJSON files. Multi patient documentation link:
Multi Patient API
Mandatory Software Components
Components and Configurations
- Web applications MUST support the HTTPS 1.1 protocol
- Application MUST use only port 443 for TLS
- Application MUST support and prefer TLS 1.2 or higher
- Application MUST read and parse FHIR-based JSON responses
- Application MUST utilize OAuth2.0 for client authentication and authorization
- For Patient Facing applications, an AMOS Patient Portal acccount is required
- For Provider-facing applications, an AMOS Provider account is required
- Application SHOULD have a valid, non-expired TLS certificate issued from a trusted authority
Refresh Token
Obtaining a new access token using a refresh token
Prepare a request containing the following parameters:
- grant_type=refresh_token (this expression is a literal string)
- refresh_token=[your refresh token value]
- redirect_uri=[your redirect uri] (Note, this must match the redirect uri that was saved during the registration of your app)
Create an authorization header in the following manner:
- "Basic " + [your Base64-encoded Client ID] + ":" + [your Client Secret]
- POST the request to our token server with this Authorization Header
Our token endpoint will return JSON with a new access_token with a new expires_in, and a new refresh_token. You can utilize this new token in subsequent requests.
New Client Registration
Use your custom app in AMOS
We support two uses of our FHIR API:
- A patient can launch the app for themselves
- A provider can launch the app for themselves
If an application is already registered in the system:
- If the doctor is already registered in our system, they can log in as usual to use the app
- If the patient is already registered in our system, they can lon in to the Portal as usual to use the app
Registering a new application
To register a new application, you will be asked to provide the following details on the registration form:
- Your name
- The name of your application
- What your application does
- Your website link
- Your phone number
- Who will use your application (patient vs provider)
- Whether the application needs to use its data in an offline setting
Upon filling out this registration form, we will set you up with your app ID and client secret (if it applies).
Registration form
Click here to register your new app