core.hasschedulingparameters | Medplum

hasSchedulingParameters() function

Returns whether a Schedule or HealthcareService has a SchedulingParameters extension.
Unscoped: on a Schedule, where the extension repeats once per service, this reports that some service is configured rather than any particular one. Ask getScheduleParameters about a service.

Signature:

export declare function hasSchedulingParameters(resource: Schedule | HealthcareService): boolean;

Parameters

Parameter Type Description
resource Schedule | HealthcareService Schedule or HealthcareService to inspect

Returns:
boolean
True if the resource has a SchedulingParameters extension