core.serializefhircastsubscriptionrequest
Home > @medplum/core > serializeFhircastSubscriptionRequest
serializeFhircastSubscriptionRequest() function
Creates a serialized url-encoded payload for a FHIRcast
subscription from a SubscriptionRequest
object that can be directly used in an HTTP request to the Hub.
Signature:
export declare function serializeFhircastSubscriptionRequest(subscriptionRequest: SubscriptionRequest | PendingSubscriptionRequest): string;
Parameters
Parameter | Type | Description |
---|---|---|
subscriptionRequest | SubscriptionRequest | PendingSubscriptionRequest | An object representing a subscription request. |
Returns:
string
A serialized subscription in url-encoded form.