Skip to main content

core.getappointmentsite

Home > @medplum/core > getAppointmentSite

getAppointmentSite() function

Reads the site an appointment is held at.

Finds the entry toAppointmentSiteReference() stamped.

Signature:

export declare function getAppointmentSite(appointment: Appointment): Reference<Location> | undefined;

Parameters

Parameter

Type

Description

appointment

Appointment

The appointment to read.

Returns:

Reference<Location> | undefined

The site, or undefined for an appointment holding none.