type: fhirpath-functionfunction: toTimecategory: Conversionsection: 5.5.9.1source: fhirpath/functions.json
FHIRPath Function: toTime
No canonical section match found in index.md.
Summary
- Category: Conversion
- Section:
5.5.9.1 - Return Type:
Time - Empty Input Result:
empty - Errors on Multiple Input:
true
Description
If the input collection contains a single item, this function will return a single time if the item is a Time or a String convertible to a Time.
Arguments
Type Mapping
Example
'12:00:00'.toTime() // returns @T12:00:00