Skip to main content

In the EHR

A practice has one lab vendor integration for each lab vendor it uses. Together they make up the practice’s vendor list in lab settings, where each vendor shows whether it appears on the Lab Order Form and how far each of its electronic interfaces has progressed. Interfaces are requested from Elation, which moves them through setup with the lab. See Managing lab vendors.

Working with lab vendor integrations via the API

Creating an integration for a vendor the practice already has resets it. A practice has one integration per vendor. A POST for a vendor that already has one, archived or not, returns that same integration restored, with any of allow_print, orders_status, and results_status left out of the request set back to their defaults. To change an existing integration, look it up by lab_vendor and PATCH it. orders_status determines whether orders are sent electronically. When it is live and the vendor offers an orders interface, lab orders to the vendor are transmitted electronically. Writing the status sets nothing up with the lab, so set it to live only for an interface that Elation has completed with the vendor. Deleting an integration archives it. DELETE sets the integration’s deleted_date rather than removing it. Archived integrations stay retrievable by id and continue to appear in list responses. Check deleted_date when you need only active integrations.

Field notes

  • allow_print is the Printed Orders setting, which shows the vendor on the Lab Order Form.
  • orders_status and results_status are the Electronic Ordering and Electronic Results statuses in lab settings.