New Disease Reporting API Job

Objectives

  • To have a chron job on a timer that checks for positive results from flagged Lab tests

  • To format the email appropriately for the users

  • To send as an XML message for machine reading when indicated

Mockups

This API job will be modeled after the Comm Worklist in Hospital.

The Settings tab will control the frequency of the job. The Disease Reporting Log will show the status of the messages and if there are any failed messages. It should also give the option to resend.

Email Communications must be enabled for this feature to work.

Database Storage - Disease Reporting Log

The API job, upon finding a flagged Disease Reporting test that meets the conditions, should create a message log in the database, and then attempt to send the email.

This message log should be modeled after the Hospital Communications Log.

 

Settings Tab

Disease Reporting Log Tab

This tab contains a list of any failed messages, and the reasons why they failed.

Model this after the Hospital Communications Log tab.

If an email address was bad, the specific email that was returned should load in parenthesis.