Function: rxRenewalResponse()
rxRenewalResponse(
message):RxRenewalResponse|undefined
Convenience accessor: the RxRenewalResponse body, or undefined. Read
.outcome for the prescriber's decision: a denial never reads as an approval.
Parameters
message
A parsed ScriptMessage.
Returns
RxRenewalResponse | undefined
The renewal-response body, or undefined.
Example
rxRenewalResponse(parseScript(xml))?.outcome; // "approved" | "denied" | …