Skip to main content

core.resourcearray

Home > @medplum/core > ResourceArray

ResourceArray type

ResourceArray is an array of resources with a bundle property. The bundle property is a FHIR Bundle containing the search results. This is useful for retrieving bundle metadata such as total, offset, and next link.

Signature:

export type ResourceArray<T extends Resource = Resource> = T[] & {
bundle: Bundle<T>;
};