core.validatefhircastsubscriptionrequest
Home > @medplum/core > validateFhircastSubscriptionRequest
validateFhircastSubscriptionRequest() function
Validates that a SubscriptionRequest
.
Signature:
export declare function validateFhircastSubscriptionRequest(subscriptionRequest: SubscriptionRequest | PendingSubscriptionRequest): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
subscriptionRequest | SubscriptionRequest | PendingSubscriptionRequest | The SubscriptionRequest to validate. |
Returns:
boolean
A boolean
indicating whether or not the SubscriptionRequest
is valid.