Skip to main content

core.getscheduleparameters

Home > @medplum/core > getScheduleParameters

getScheduleParameters() function

Warning: This API is now obsolete.

Use getScheduleSchedulingParameters() instead.

Reads one scheduling parameter a Schedule sets for a HealthcareService.

Signature:

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

Parameters

Parameter

Type

Description

schedule

Schedule

Schedule to inspect

service

WithId<HealthcareService>

HealthcareService the parameters are scoped to

url

string

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

Returns:

Extension[]

Every matching sub-extension, in document order