API and Integration Recipes

An integration recipe explains what one application sends to another system and how it interprets the response. Providers, hospitals and developers can share recipes so that teams designing similar connections can start from a common example.

Where are recipes used?

Patient communication

Describe the fields sent to an SMS, email, interactive voice response (IVR) or call-centre provider and the status returned.

Data exchange through a REST API

Document which fields carry a report or algorithm output to the target application, the format it expects and its error response.

MSSQL operations

For a supported database operation, define its input parameters and the result fields it returns.

What goes into a good recipe?

Inputs and scope

State the provider, supported product version, required fields and their data types. Explain the expected format for fields such as a phone number, timestamp or reporting period.

Request and response mapping

Document the request method and endpoint template. Show how application fields enter the request and how the response status, operation identifier and error fields are mapped.

Synthetic test cases

Alongside a successful example, illustrate cases such as a missing field or a timeout. Explain how the expected outcome should appear in the application.

Example workflow · Appointment reminder SMS

  1. Prepare channel inputs

    Define a sample phone number, message and, where applicable, send time for an appointment reminder. The mapping converts those fields to the provider’s expected format.

  2. Interpret the provider’s response

    Map the operation identifier and status from the response to the channel record. If the provider reports request acceptance and delivery separately, the recipe documents them as distinct fields.

  3. Validate in the institution’s environment

    Preview the mapping with synthetic requests and responses first. Configure the actual endpoint and credentials in authorised institutional settings. Retest response mappings when the provider version changes.

Share your recipe with the community

Include the provider version, scope and synthetic test examples when sharing a recipe. Keep real patient information, institutional connection details and access credentials in the institution’s authorised environment.