View raw Markdown
type: fhirpath-functionfunction: skipcategory: Subsettingsection: 5.3.6source: fhirpath/functions.json

FHIRPath Function: skip

Returns a collection containing all but the first num items in the input collection. Will return an empty collection if there are no items remaining after the indicated number of items have been skipped, or if the input collection is empty. If num is less than or equal to zero, the input collection is simply returned.

Summary

Description

Returns a collection containing all but the first num items in the input collection.

Arguments

Type Mapping

Example

Patient.name.skip(1) // skips the first name element