Skip to main content

core.getscheduleschedulingparameters

Home > @medplum/core > getScheduleSchedulingParameters

getScheduleSchedulingParameters() function

Reads one scheduling parameter a Schedule sets for a HealthcareService, which overrides the service-level parameter of the same name.

This is the raw sub-extension as stored. The server resolves what a calendar actually schedules by, applying defaults and service-level inheritance, in its own getScheduleSchedulingParameters.

Signature:

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

Parameters

Parameter

Type

Description

schedule

Schedule

Schedule to inspect

service

WithId<HealthcareService>

HealthcareService the parameters are scoped to

url

SchedulingParameterUrl

Url of the SchedulingParameters sub-extension to read, for example availability

Returns:

Extension[]

Every matching sub-extension, in document order