Create Events to Publish and Subscribe to in Integrations

You can create events that you publish in an integration and subscribe to in another integration. The contents of the event must be in JSON format.

  1. In the navigation pane, click Design, then Events.

    The Events page shows a Create button. Below this is a table with columns for Name, Usage, and Last updated.

  2. Click Create.
    The Define new event panel opens.
  3. Enter a name (for this example, Patient Moved is entered) and optional description, then click Continue.
    The Define event structure panel opens.
  4. Click Upload JSON sample to upload a file or drag and drop a JSON file into the box, then click Create. You can also manually edit the JSON sample provided to create your file contents.
    The event is displayed on the Events page.

    Note:

    The Search Search icon feature on the Events page only works on exact matches of names and is case sensitive.
  5. Hover your cursor over the event, and click View details View details icon to view the JSON file contents. The Subscribers and Publishers tabs enable you to view the integrations that have subscribed to the event and published the event.

    The Events page is shown. The name patient appears in the Search field. Below this is the name column. The event Patient Moved appears at the top of the list. To the right is the Details page for Patient Moved. Three tabs are listed: Structure (which is selected), Subscribers, and Publishers. The JSON structure of Patient Moved is shown.

  6. Perform other tasks, as necessary:
    • Click Edit Edit icon to edit the event. You can change the name or replace the contents of the JSON file of the event.
    • Click Actions Actions icon to access options for cloning or deleting the event.
    The event is available for publishing in an integration. See Publish Events in an Integration.