Skip to main content
Version: v0.0.3

Type Alias: ResponseOutcome

ResponseOutcome = "approved" | "approvedWithChanges" | "denied" | "deniedNewToFollow" | "replace" | "validated" | "unknown"

The prescriber's decision on a lifecycle request, detected purely from the <Response> choice element. The mapping is one-directional and fail-safe: a <Denied> is always "denied" and is never read as an approval, and a response with no recognized choice is "unknown": never assumed approved.

  • approved: <Approved>: the request is granted as written.
  • approvedWithChanges: <ApprovedWithChanges>: granted, but the prescriber altered the medication; the changed medication is carried in LifecycleResponseFields.medicationPrescribed.
  • denied: <Denied>: the request is refused.
  • deniedNewToFollow: <DenyNewToFollow> (renewal): denied, a new prescription will follow separately.
  • replace: <Replace>: the prescriber is replacing the prescription.
  • validated: <Validated> (change): the prescriber validated the request without approving or denying it.
  • unknown: no recognized outcome choice was present.