View raw Markdown
type: fhirpath-functionfunction: yearOfcategory: Utility functionssection: 5.10.8.1source: fhirpath/functions.json

FHIRPath Function: yearOf

No canonical section match found in index.md.

Summary

Description

If the input collection contains a single Date or DateTime, this function will return the year component.

Arguments

Type Mapping

Example

@2014-01-05T10:30:00.000.yearOf() // 2014