Need help? Contact us:
...
The AthenaHealth Athenahealth adapter is designed to provide a template for getting started with Athenahealth API integrations, including. It leverages the ATHENA Library to:
Authenticating Authenticate with the Athenahealth API Server via OAuth2.0 using the OAUTH Library.
Demo AthenaOne APIs Integration: saerchPatient searchPatient and createPatient
Demo FHIR APIs Integration: searchPatientsFhir
This component can be customized and adapted according to your workflow needs.
How to use it:
Expand | ||
---|---|---|
| ||
Refer to Set up your Epic FHIR Setup Athenahealth Sandbox for the sign up process, creating and client and gathering the authentication details needed for the Epic FHIR Athenahealth Adapter. |
Expand | ||
---|---|---|
| ||
See Create a Component if this is your first time! |
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 | ||
---|---|---|
| ||
| ||
Component Configurations
You can get ClientId, Client Secret, and Scopes from App Setup: Setup Athenahealth Sandbox Upon start up, the component will take the provided credentials to retrieve an access token from Athenahealth and store it in an encrypted file for use on subsequent API requests. |
Expand | ||
---|---|---|
| ||
Click Edit > Make a Copy and Edit to open the Translator. You can verify the connection from the Translator by clicking on the results of the patient searches in the annotations. You can also verify the created patient by starting the component, checking the logs for the newly created patient’s ID, and checking the Athenahealth sandbox How to use Athenahealth Sandbox or the updated search results in the Translator. |