Skip to main content

core.validatefhircastsubscriptionrequest

Home > @medplum/core > validateFhircastSubscriptionRequest

validateFhircastSubscriptionRequest() function

Validates that a SubscriptionRequest.

Signature:

export declare function validateFhircastSubscriptionRequest(subscriptionRequest: SubscriptionRequest | PendingSubscriptionRequest): boolean;

Parameters

ParameterTypeDescription
subscriptionRequestSubscriptionRequest | PendingSubscriptionRequestThe SubscriptionRequest to validate.

Returns:

boolean

A boolean indicating whether or not the SubscriptionRequest is valid.