Class TimingDt.Repeat

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.composite.TimingDt.Repeat
All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement, ca.uhn.fhir.model.api.IElement, ca.uhn.fhir.model.api.IIdentifiableElement, ca.uhn.fhir.model.api.IResourceBlock, ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions, Serializable, org.hl7.fhir.instance.model.api.IBase
Enclosing class:
TimingDt

public static class TimingDt.Repeat extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Timing.repeat ()

Definition: A set of rules that describe when the event should occur

See Also:
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
    • getAllPopulatedChildElementsOfType

      public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
      Specified by:
      getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.ICompositeElement
    • getBounds

      public ca.uhn.fhir.model.api.IDatatype getBounds()
      Gets the value(s) for bounds[x] (). creating it if it does not exist. Will not return null.

      Definition: Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule

    • setBounds

      public TimingDt.Repeat setBounds(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for bounds[x] ()

      Definition: Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule

    • getCountElement

      public ca.uhn.fhir.model.primitive.IntegerDt getCountElement()
      Gets the value(s) for count (). creating it if it does not exist. Will not return null.

      Definition: A total count of the desired number of repetitions

    • getCount

      public Integer getCount()
      Gets the value(s) for count (). creating it if it does not exist. This method may return null.

      Definition: A total count of the desired number of repetitions

    • setCount

      public TimingDt.Repeat setCount(ca.uhn.fhir.model.primitive.IntegerDt theValue)
      Sets the value(s) for count ()

      Definition: A total count of the desired number of repetitions

    • setCount

      public TimingDt.Repeat setCount(int theInteger)
      Sets the value for count ()

      Definition: A total count of the desired number of repetitions

    • getDurationElement

      public ca.uhn.fhir.model.primitive.DecimalDt getDurationElement()
      Gets the value(s) for duration (). creating it if it does not exist. Will not return null.

      Definition: How long this thing happens for when it happens

    • getDuration

      Gets the value(s) for duration (). creating it if it does not exist. This method may return null.

      Definition: How long this thing happens for when it happens

    • setDuration

      public TimingDt.Repeat setDuration(ca.uhn.fhir.model.primitive.DecimalDt theValue)
      Sets the value(s) for duration ()

      Definition: How long this thing happens for when it happens

    • setDuration

      public TimingDt.Repeat setDuration(long theValue)
      Sets the value for duration ()

      Definition: How long this thing happens for when it happens

    • setDuration

      public TimingDt.Repeat setDuration(double theValue)
      Sets the value for duration ()

      Definition: How long this thing happens for when it happens

    • setDuration

      Sets the value for duration ()

      Definition: How long this thing happens for when it happens

    • getDurationMaxElement

      public ca.uhn.fhir.model.primitive.DecimalDt getDurationMaxElement()
      Gets the value(s) for durationMax (). creating it if it does not exist. Will not return null.

      Definition: The upper limit of how long this thing happens for when it happens

    • getDurationMax

      Gets the value(s) for durationMax (). creating it if it does not exist. This method may return null.

      Definition: The upper limit of how long this thing happens for when it happens

    • setDurationMax

      public TimingDt.Repeat setDurationMax(ca.uhn.fhir.model.primitive.DecimalDt theValue)
      Sets the value(s) for durationMax ()

      Definition: The upper limit of how long this thing happens for when it happens

    • setDurationMax

      public TimingDt.Repeat setDurationMax(long theValue)
      Sets the value for durationMax ()

      Definition: The upper limit of how long this thing happens for when it happens

    • setDurationMax

      public TimingDt.Repeat setDurationMax(double theValue)
      Sets the value for durationMax ()

      Definition: The upper limit of how long this thing happens for when it happens

    • setDurationMax

      Sets the value for durationMax ()

      Definition: The upper limit of how long this thing happens for when it happens

    • getDurationUnitsElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<UnitsOfTimeEnum> getDurationUnitsElement()
      Gets the value(s) for durationUnits (). creating it if it does not exist. Will not return null.

      Definition: The units of time for the duration, in UCUM units

    • getDurationUnits

      Gets the value(s) for durationUnits (). creating it if it does not exist. This method may return null.

      Definition: The units of time for the duration, in UCUM units

    • setDurationUnits

      public TimingDt.Repeat setDurationUnits(ca.uhn.fhir.model.primitive.BoundCodeDt<UnitsOfTimeEnum> theValue)
      Sets the value(s) for durationUnits ()

      Definition: The units of time for the duration, in UCUM units

    • setDurationUnits

      Sets the value(s) for durationUnits ()

      Definition: The units of time for the duration, in UCUM units

    • getFrequencyElement

      public ca.uhn.fhir.model.primitive.IntegerDt getFrequencyElement()
      Gets the value(s) for frequency (). creating it if it does not exist. Will not return null.

      Definition: The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided)

    • getFrequency

      Gets the value(s) for frequency (). creating it if it does not exist. This method may return null.

      Definition: The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided)

    • setFrequency

      public TimingDt.Repeat setFrequency(ca.uhn.fhir.model.primitive.IntegerDt theValue)
      Sets the value(s) for frequency ()

      Definition: The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided)

    • setFrequency

      public TimingDt.Repeat setFrequency(int theInteger)
      Sets the value for frequency ()

      Definition: The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided)

    • getFrequencyMaxElement

      public ca.uhn.fhir.model.primitive.IntegerDt getFrequencyMaxElement()
      Gets the value(s) for frequencyMax (). creating it if it does not exist. Will not return null.

      Definition:

    • getFrequencyMax

      Gets the value(s) for frequencyMax (). creating it if it does not exist. This method may return null.

      Definition:

    • setFrequencyMax

      public TimingDt.Repeat setFrequencyMax(ca.uhn.fhir.model.primitive.IntegerDt theValue)
      Sets the value(s) for frequencyMax ()

      Definition:

    • setFrequencyMax

      public TimingDt.Repeat setFrequencyMax(int theInteger)
      Sets the value for frequencyMax ()

      Definition:

    • getPeriodElement

      public ca.uhn.fhir.model.primitive.DecimalDt getPeriodElement()
      Gets the value(s) for period (). creating it if it does not exist. Will not return null.

      Definition: Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period

    • getPeriod

      Gets the value(s) for period (). creating it if it does not exist. This method may return null.

      Definition: Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period

    • setPeriod

      public TimingDt.Repeat setPeriod(ca.uhn.fhir.model.primitive.DecimalDt theValue)
      Sets the value(s) for period ()

      Definition: Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period

    • setPeriod

      public TimingDt.Repeat setPeriod(long theValue)
      Sets the value for period ()

      Definition: Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period

    • setPeriod

      public TimingDt.Repeat setPeriod(double theValue)
      Sets the value for period ()

      Definition: Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period

    • setPeriod

      Sets the value for period ()

      Definition: Indicates the duration of time over which repetitions are to occur; e.g. to express \"3 times per day\", 3 would be the frequency and \"1 day\" would be the period

    • getPeriodMaxElement

      public ca.uhn.fhir.model.primitive.DecimalDt getPeriodMaxElement()
      Gets the value(s) for periodMax (). creating it if it does not exist. Will not return null.

      Definition: If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days

    • getPeriodMax

      Gets the value(s) for periodMax (). creating it if it does not exist. This method may return null.

      Definition: If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days

    • setPeriodMax

      public TimingDt.Repeat setPeriodMax(ca.uhn.fhir.model.primitive.DecimalDt theValue)
      Sets the value(s) for periodMax ()

      Definition: If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days

    • setPeriodMax

      public TimingDt.Repeat setPeriodMax(long theValue)
      Sets the value for periodMax ()

      Definition: If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days

    • setPeriodMax

      public TimingDt.Repeat setPeriodMax(double theValue)
      Sets the value for periodMax ()

      Definition: If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days

    • setPeriodMax

      Sets the value for periodMax ()

      Definition: If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days

    • getPeriodUnitsElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<UnitsOfTimeEnum> getPeriodUnitsElement()
      Gets the value(s) for periodUnits (). creating it if it does not exist. Will not return null.

      Definition: The units of time for the period in UCUM units

    • getPeriodUnits

      Gets the value(s) for periodUnits (). creating it if it does not exist. This method may return null.

      Definition: The units of time for the period in UCUM units

    • setPeriodUnits

      public TimingDt.Repeat setPeriodUnits(ca.uhn.fhir.model.primitive.BoundCodeDt<UnitsOfTimeEnum> theValue)
      Sets the value(s) for periodUnits ()

      Definition: The units of time for the period in UCUM units

    • setPeriodUnits

      Sets the value(s) for periodUnits ()

      Definition: The units of time for the period in UCUM units

    • getWhenElement

      public ca.uhn.fhir.model.primitive.BoundCodeDt<EventTimingEnum> getWhenElement()
      Gets the value(s) for when (). creating it if it does not exist. Will not return null.

      Definition: A real world event that the occurrence of the event should be tied to.

    • getWhen

      public String getWhen()
      Gets the value(s) for when (). creating it if it does not exist. This method may return null.

      Definition: A real world event that the occurrence of the event should be tied to.

    • setWhen

      public TimingDt.Repeat setWhen(ca.uhn.fhir.model.primitive.BoundCodeDt<EventTimingEnum> theValue)
      Sets the value(s) for when ()

      Definition: A real world event that the occurrence of the event should be tied to.

    • setWhen

      Sets the value(s) for when ()

      Definition: A real world event that the occurrence of the event should be tied to.