core.getscheduleparameters | Medplum

getScheduleParameters() function

Reads one scheduling parameter a Schedule sets for a HealthcareService, taking precedence over the service-level parameter of the same name. Pairs with setScheduleParameter and clearScheduleParameter.

The result is a list rather than a single extension because a Schedule may carry more than one SchedulingParameters extension matching the service, and because a parameter may legitimately repeat.

Signature:

export declare function getScheduleParameters(schedule: Schedule, service: WithId<HealthcareService>, url: string): Extension[];

Parameters [​](/content/docs/sdk/core.getscheduleparameters#parameters "Direct link to Parameters"/index.html)

Parameter Type Description
schedule Schedule Schedule to inspect
service WithId HealthcareService referenced by the parameters
url string Url of the SchedulingParameters sub-extension to read, for example availability

Returns:

Extension[]

Every matching sub-extension, in document order