Index - Da Vinci Notification Sender



Documentation and Instructions

This is a simple Flask App FHIR Facade which:

For single "real-time" Notifications:

  1. Fetches Admit and Discharge Encoounters from the HAPI UHN R4 Reference Server
  2. Builds the Da Vinci Notifications Message Bundle
  3. Submits the Message to the nominated endpoint using the $process-message operation
  4. Receives and displays the $process-message operation response from the server
  5. If the endpoint is an Intermediary either:
    • Forwards a new Message with no changes to the content to the nominated endpoint using the $process-message operation
    • or Forwards a new changed Message with changes to the content (removal of Coverage reosource and the Organization resource it references) to the nominated endpoint using the $process-message operation

For a Batch Transaction of multiple Notification:

  1. Fetches all the relevant Admit and Discharge Encounters from the HAPI UHN R4 Reference Server
  2. Builds a transaction Bundle with:
    1. the Da Vinci Notifications Message Bundle as entries
    2. POST for the request method
    3. /$process-message for the request url
  3. Submits the transaction Bundle to the nominated endpoint using the POST operation
  4. Receives and displays the "transaction-response" response from the server.

trigger event

For Real-Time Notifications Click on button below to fetch an admit, transfer, or discharge Encounter resource

Encounter id =5fe62cd5-bfcf-4d3b-a1e9-80d6f75d6f82:

Admit Transfer Discharge

Encounter id =542f9e32-4309-4277-81ce-12419f0d1294:

Admit Transfer Discharge

Encounter id =02ba9ec6-0712-4715-8ba4-5485fc571403:

Admit Transfer Discharge

Encounter id =foo:

Admit Transfer Discharge



For Batch Notifications Click on button below to fetch all the admit, transfer, and discharge Encounter resources Note this will take several seconds

Batch Encounters