Fixes
Search Cancellation Zeroes Out Package Price
Currently, if the CRA cancels a search in a package, the package price for the other pending searches is also canceled out. This is because when canceling a search, the exception price field does not persist the package price. The "0" exception price is also applied to all remaining searches in the package.
We are deploying an update to improve this area of the system. Going forward you'll see the following behavior:
If a single search is being cancelled, the price defaults to zero in the form
If a search is being cancelled in a package, and there are other non-cancelled searches in the package, then the price should NOT default to zero in the form. It should reflect the current price.
If a search is being cancelled in a package, and all the searches in the package have been cancelled, then the price should default to zero in the form
LabCorp Direct Integration - Expiration Date Updated to Use Business Days
The LabCorp direct integration was using calendar days to calculate the expiration period. This has been updated to use business days and will mirror the i3 integration's expiration logic.
Convert the number of hours entered in client editor configuration to number of days (24hrs = 1 day, 36hrs = 1.5 day).
We take that number and add it to the current day, but only use Monday - Fridays. Holidays not included.
We then set the expiration data to the end of that business day (11:59 pm to be exact).
LabCorp Direct Integration - Use HR Contact Email if No Applicant Email
As launched, the integration CC'd the HR user's contact email on registrations, but we found that if no applicant email was provided, the CC process wasn't triggered and the user was not copied. We have updated the integration to use the HR user's contact email in the event no applicant email is provided. Note: the applicant email is mandated in admin & HR ordering, but the same validation is not built into the API, meaning that an order could be sent to deverus by an ATS without an applicant email.

