Skip to main content

core.ismedicationordersetresponse

Home > @medplum/core > isMedicationOrderSetResponse

isMedicationOrderSetResponse() function

Type guard: validates an order-set widget-URL bot response.

Signature:

export declare function isMedicationOrderSetResponse(value: unknown): value is MedicationOrderSetResponse;

Parameters

Parameter

Type

Description

value

unknown

Unknown bot JSON payload.

Returns:

value is MedicationOrderSetResponse

True when the value matches MedicationOrderSetResponse.