HTTP status 409. Only the Affinity app gets this code.
Affinity has not sent the order to the pharmacy, so staff cannot set it processing, shipped or delivered.
Recovery
Send the order from its held panel, or mark it failed or cancelled.
Branch on code, not on the text of detail. Give Affinity the requestId when you report a problem.