Skip to main content

date_time_range

Function date_time_range 

Source
pub fn date_time_range(
    value: &DateTime,
) -> Result<DateRange, InsertableIndexError>
Expand description

Converts a FHIR date/time value into a date range suitable for indexing.

ยงErrors

Returns an InsertableIndexError if the supplied year, year/month, or year/month/day value cannot be converted into a valid date range.