patient.ehi_export_success
This is a an array containing a URL to download the medical records that Fasten has collected for the Patient.
Your http client should be able to follow the redirect and download the file.By default, this will be a JSONL(NDJSON) file containing FHIR resources in newline-delimited format (each line is a independent JSON object).
The array will only contain one entry by default, but you may enable multiple formats by contacting Fasten support.
This is an object containing statistics about the resources processed and collected by Fasten.
patient.ehi_export_failed
Failure reason for the EHI export. This is a
enum that describes the failure.
The possible values are:token_refresh_failure: An error is encountered while trying to refresh the Access Token.scope_patient_missing: The Access Token does not have the requiredpatient/*.readorpatient/Patient.readscope. This is usually due to the patient unchecking the “Demographics” permission during the Consent flow.resource_patient_failure: An error occurred while trying to fetch a patient resource. This is unusual because the token (likely) refreshed successfully.resource_invalid_content: Parsing issue in a critical FHIR resourcesuppressed_please_contact: The error was suppressed, as it may contain PII or PHI. This is the default value forfailure_reason. Please contact Fasten support for more information.
webhook.test
patient.connection_success (beta)
This event is emitted when the patient has successfully connected to the health system and the popup window has closed. Failures are not yet available as a webhook event.Organization Connection Id is a unique identifier for the connection between the patient and the organization.
You must store this value in your system to identify the patient in future API calls.
Endpoint Id is a unique identifier for the endpoint that the patient has connected to.
This value can be used to retrieve metadata about the endpoint (e.g. name, description, endpoint url information, etc.)
Portal Id is a unique identifier for the Portal that the patient has connected to.
This value can be used to retrieve branding information about the institution
Brand Id is a unique identifier for the Brand that the patient has connected to.
This value can be used to retrieve branding information about the institution
The status of the connection. Possible values are
authorized, rejected.An identifier for the EHR type associated with the connected endpoint.
An correlation id. This should be sent with any support ticket queries to the Fasten Connect support team.
(Optional) An Opaque identifier, used to identify the patient in your system.
This value will be only be returned if it was previously provided to the stitch html element.
Usually a generated identifier, can use it to identify unique connection attempts.
patient.authorization_revoked (beta)
This event is emitted when the patient consent has been revoked or expired. Fasten connect will refresh patient tokens on a regular basis, and if the refresh fails due to revoked or expired consent, this event will be emitted. Your system should be prepared to handle multiple revocation events in a short period of time, as Fasten may revoke connections in bulk for multiple patients at once.Organization Connection Id is a unique identifier for the connection between the patient and the organization.
You must store this value in your system to identify the patient in future API calls.
Endpoint Id is a unique identifier for the endpoint that the patient has connected to.
This value can be used to retrieve metadata about the endpoint (e.g. name, description, endpoint url information, etc.)
Portal Id is a unique identifier for the Portal that the patient has connected to.
This value can be used to retrieve branding information about the institution
Brand Id is a unique identifier for the Brand that the patient has connected to.
This value can be used to retrieve branding information about the institution
An identifier for the EHR type associated with the connected endpoint.
The status of the connection. Will always be
revoked.patient.request_health_system
This event is emitted when a patient initiates a request to add a missing health system.The email address provided by the patient to contact them about their request.
The name of the health system requested by the patient.
The website URL of the health system requested by the patient.
The street address of the health system requested by the patient.
patient.request_support (beta)
This event is emitted when a patient requests support during the connection processThe email address provided by the patient to contact them about their support request.
The name of the health system the patient was trying to connect to when they requested support.
The body of the support request, containing the patient’s message and any relevant metadata. The format of this data is arbitrary and subject to change.Warning: This field may contain Personally Identifiable Information (PII) or Protected Health Information (PHI). Handle with care and in accordance with applicable regulations & your security policy.

