Prevent users making claims if the selected policy is for a different customer

Description

If a user makes a claim with a policy that is linked to a different customer, an exception is thrown:

This can occur if the patient has changed owner, and the policy applies to the prior owner.
To avoid, prevent creation of the claim and display an error message instead, e.g.

Environment

None

Activity

Fixed

Details

Assignee

Reporter

Time tracking

3.5h logged

Components

Fix versions

Affects versions

Priority

Who's Looking?

Open Who's Looking?

Created March 27, 2020 at 2:02 AM
Updated April 1, 2020 at 3:16 AM
Resolved April 1, 2020 at 3:15 AM
Who's Looking?