The ATHENA Library is an importable library containing functions to connect, authenticate, and interact with the Athenahealth API. This library is used in the Athenahealth Adapter.
Import the ATHENA library into your project and use the built in help to review how to use each function. On importWhen imported, typically only the ATHENAclient module needs to be required in order to create the client and access the API methods.
Code Block | ||
---|---|---|
| ||
require "ATHENA.ATHENAclient" |
How it works:
Use the Translator’s built in help to review how to use each function:
Expand | ||
---|---|---|
| ||
Expand | ||
---|---|---|
| ||
Sets up the ATHENA adapter framework, adding the various method modules to a metatable and storing the configurations added to the custom fields. It also loads the key and key_expiry configurations from the encrypted file via ATHENAencrypt if available. |
...