core.getmedicationorderiframeurl
Home > @medplum/core > getMedicationOrderIframeUrl
getMedicationOrderIframeUrl() function
Reads the medication-order iframe launch URL from MedicationRequest extensions.
Signature:
export declare function getMedicationOrderIframeUrl(medicationRequest: MedicationRequest, ext: MedicationOrderExtensions): string | undefined;
Parameters
Parameter | Type | Description |
|---|---|---|
medicationRequest | MedicationRequest | MR to read. |
ext | Vendor extension URL configuration. |
Returns:
string | undefined
The launch URL, if present.