Referral prerequisites or invitation timing prevent the request.
Recovery
Follow the detail message to complete the agreement or wait for the invitation cooldown.
Branch on code, not on the text of detail. The HTTP status, requestId, and optional data.issues describe this occurrence.
Do not log patient or prescription bodies. Give support the request ID when investigating a failure.