Need help? Contact us:
...
The AthenaHealth adapter is designed to provide a template for getting started with Epic FHIR Athenahealth API integrations, including:
Authenticating with the Epic FHIR Athenahealth API Server via OAuth2.0 using the OAUTH Library.
Generating FHIR Resources using the FHIR Library.
Performing various interactions against the Epic FHIR Server including create, read, search, and extended $operations.Demo AthenaOne APIs Integration: saerchPatient and createPatient
Demo FHIR APIs Integration: searchPatientsFhir
This component can be customized and adapted according to your workflow needs.
...
Expand | ||
---|---|---|
| ||
Enter the ClientId and PrivateKey certificate path. Using the information provided, the component will run through the authentication workflow and set the Key and KeyExpiry value of the obtained access token automatically. |
How the EPICFHIR Library works:
Expand | ||
---|---|---|
| ||
Sets up the EPIC FHIR adapter framework, adding the various method modules to a metatable and storing the configurations added to the custom fields. |
Expand | ||
---|---|---|
| ||
The EPICFHIRauth function, builds and makes the HTTP POST token request to obtain the access token required for any resource requests against the FHIR Server. A separate CreateJWT function creates the JSON Header and Payload components of the JWT and calls the OAUTH Library to sign and return the JWT required for the token request. If the token requests is successful (HTTP 200 response), the token and token expiry returned are set to the Key and KeyExpiry custom fields respectively. |
Expand | ||
---|---|---|
| ||
EPICcustom takes in any API requests and parameters to make the API call and return the response.
|