Skip to main content

core.hasschedulingparameters

Home > @medplum/core > hasSchedulingParameters

hasSchedulingParameters() function​

Returns whether a Schedule or HealthcareService has a SchedulingParameters extension.

On a Schedule the extension repeats once per service, so this reports only that some service is configured; ask getScheduleSchedulingParameters about a particular one.

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