Interface FHIRPathTemporalValue

    • Method Detail

      • isDateValue

        default boolean isDateValue()
        Indicates whether this FHIRPathTemporalValue is type compatible with FHIRPathDateValue
        Returns:
        true if this FHIRPathTemporalValue is type compatible with FHIRPathDateValue, otherwise false
      • isDateTimeValue

        default boolean isDateTimeValue()
        Indicates whether this FHIRPathTemporalValue is type compatible with FHIRPathDateTimeValue
        Returns:
        true if this FHIRPathTemporalValue is type compatible with FHIRPathDateTimeValue, otherwise false
      • isTimeValue

        default boolean isTimeValue()
        Indicates whether this FHIRPathTemporalValue is type compatible with FHIRPathTimeValue
        Returns:
        true if this FHIRPathTemporalValue is type compatible with FHIRPathDateValue, otherwise false
      • temporalAccessor

        java.time.temporal.TemporalAccessor temporalAccessor()
        The TemporalAcessor value wrapped by this FHIRPathTemporalValue
        Returns:
        the TemporalAccessor value wrapped by this FHIRPathTemporalValue
      • temporal

        java.time.temporal.Temporal temporal()
        The Temporal value wrapped by this FHIRPathTemporalValue
        Returns:
        the Temporal value wrapped by this FHIRPathTemporalValue
      • precision

        java.time.temporal.ChronoField precision()
        The precision of this FHIRPathTemporalValue
        Returns:
        the precision of this FHIRPathTemporalValue
      • getText

        java.lang.String getText()
        The text that this FHIRPathTemporalValue was parsed from (if applicable)
        Returns:
        the text that this FHIRPathTemporvalValue was parsed from (if applicable), otherwise null
      • isSupported

        boolean isSupported​(java.time.temporal.ChronoField field)
        Indicates whether the specified field is supported by this FHIRPathTemporalValue
        Parameters:
        field - the field
        Returns:
        true if the specified field is supported by this FHIRPathTemporalValue, otherwise false
      • isPartial

        boolean isPartial()
        Indicates whether the date/time value wrapped by this FHIRPathTemporalValue node is partial
        Returns:
        true if the date/time value wrapped by this FHIRPathTemporalValue node is partial, otherwise false
      • add

        FHIRPathTemporalValue add​(FHIRPathQuantityValue quantityValue)
        Add a quantity value to this FHIRPathTemporalValue
        Parameters:
        quantityValue - the quantity value to add
        Returns:
        the result of adding a quantityValue to this FHIRPathTemporalValue
      • subtract

        FHIRPathTemporalValue subtract​(FHIRPathQuantityValue quantityValue)
        Subtract a quantity value from this FHIRPathTemporalValue
        Parameters:
        quantityValue - the quantity value to subtract
        Returns:
        the result of subtracting a quantityValue from this FHIRPathTemporalValue