Reject loading to CANCELLED investigations

Description

If the DocumentLoaderJob attempts to load content to a CANCELLED investigation that already has a document attached, it tries to version it, yielding:

This is because act.patientInvestigationVersion does not have a CANCELLED option for the status node.
If an act is CANCELLED, and loads to it should be rejected as errors.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure