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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Repeat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ca.uhn.fhir.model.api.IDatatypegetBounds()Gets the value(s) for bounds[x] ().IntegergetCount()Gets the value(s) for count ().ca.uhn.fhir.model.primitive.IntegerDtgetCountElement()Gets the value(s) for count ().BigDecimalgetDuration()Gets the value(s) for duration ().ca.uhn.fhir.model.primitive.DecimalDtgetDurationElement()Gets the value(s) for duration ().BigDecimalgetDurationMax()Gets the value(s) for durationMax ().ca.uhn.fhir.model.primitive.DecimalDtgetDurationMaxElement()Gets the value(s) for durationMax ().StringgetDurationUnits()Gets the value(s) for durationUnits ().ca.uhn.fhir.model.primitive.BoundCodeDt<UnitsOfTimeEnum>getDurationUnitsElement()Gets the value(s) for durationUnits ().IntegergetFrequency()Gets the value(s) for frequency ().ca.uhn.fhir.model.primitive.IntegerDtgetFrequencyElement()Gets the value(s) for frequency ().IntegergetFrequencyMax()Gets the value(s) for frequencyMax ().ca.uhn.fhir.model.primitive.IntegerDtgetFrequencyMaxElement()Gets the value(s) for frequencyMax ().BigDecimalgetPeriod()Gets the value(s) for period ().ca.uhn.fhir.model.primitive.DecimalDtgetPeriodElement()Gets the value(s) for period ().BigDecimalgetPeriodMax()Gets the value(s) for periodMax ().ca.uhn.fhir.model.primitive.DecimalDtgetPeriodMaxElement()Gets the value(s) for periodMax ().StringgetPeriodUnits()Gets the value(s) for periodUnits ().ca.uhn.fhir.model.primitive.BoundCodeDt<UnitsOfTimeEnum>getPeriodUnitsElement()Gets the value(s) for periodUnits ().StringgetWhen()Gets the value(s) for when ().ca.uhn.fhir.model.primitive.BoundCodeDt<EventTimingEnum>getWhenElement()Gets the value(s) for when ().booleanisEmpty()TimingDt.RepeatsetBounds(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for bounds[x] ()TimingDt.RepeatsetCount(int theInteger)Sets the value for count ()TimingDt.RepeatsetCount(ca.uhn.fhir.model.primitive.IntegerDt theValue)Sets the value(s) for count ()TimingDt.RepeatsetDuration(double theValue)Sets the value for duration ()TimingDt.RepeatsetDuration(long theValue)Sets the value for duration ()TimingDt.RepeatsetDuration(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for duration ()TimingDt.RepeatsetDuration(BigDecimal theValue)Sets the value for duration ()TimingDt.RepeatsetDurationMax(double theValue)Sets the value for durationMax ()TimingDt.RepeatsetDurationMax(long theValue)Sets the value for durationMax ()TimingDt.RepeatsetDurationMax(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for durationMax ()TimingDt.RepeatsetDurationMax(BigDecimal theValue)Sets the value for durationMax ()TimingDt.RepeatsetDurationUnits(UnitsOfTimeEnum theValue)Sets the value(s) for durationUnits ()TimingDt.RepeatsetDurationUnits(ca.uhn.fhir.model.primitive.BoundCodeDt<UnitsOfTimeEnum> theValue)Sets the value(s) for durationUnits ()TimingDt.RepeatsetFrequency(int theInteger)Sets the value for frequency ()TimingDt.RepeatsetFrequency(ca.uhn.fhir.model.primitive.IntegerDt theValue)Sets the value(s) for frequency ()TimingDt.RepeatsetFrequencyMax(int theInteger)Sets the value for frequencyMax ()TimingDt.RepeatsetFrequencyMax(ca.uhn.fhir.model.primitive.IntegerDt theValue)Sets the value(s) for frequencyMax ()TimingDt.RepeatsetPeriod(double theValue)Sets the value for period ()TimingDt.RepeatsetPeriod(long theValue)Sets the value for period ()TimingDt.RepeatsetPeriod(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for period ()TimingDt.RepeatsetPeriod(BigDecimal theValue)Sets the value for period ()TimingDt.RepeatsetPeriodMax(double theValue)Sets the value for periodMax ()TimingDt.RepeatsetPeriodMax(long theValue)Sets the value for periodMax ()TimingDt.RepeatsetPeriodMax(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for periodMax ()TimingDt.RepeatsetPeriodMax(BigDecimal theValue)Sets the value for periodMax ()TimingDt.RepeatsetPeriodUnits(UnitsOfTimeEnum theValue)Sets the value(s) for periodUnits ()TimingDt.RepeatsetPeriodUnits(ca.uhn.fhir.model.primitive.BoundCodeDt<UnitsOfTimeEnum> theValue)Sets the value(s) for periodUnits ()TimingDt.RepeatsetWhen(EventTimingEnum theValue)Sets the value(s) for when ()TimingDt.RepeatsetWhen(ca.uhn.fhir.model.primitive.BoundCodeDt<EventTimingEnum> theValue)Sets the value(s) for when ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
Repeat
public Repeat()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.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 returnnull.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 returnnull.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 returnnull.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 returnnull.Definition: How long this thing happens for when it happens
-
getDuration
public BigDecimal getDuration()
Gets the value(s) for duration (). creating it if it does not exist. This method may returnnull.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
public TimingDt.Repeat setDuration(BigDecimal theValue)
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 returnnull.Definition: The upper limit of how long this thing happens for when it happens
-
getDurationMax
public BigDecimal getDurationMax()
Gets the value(s) for durationMax (). creating it if it does not exist. This method may returnnull.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
public TimingDt.Repeat setDurationMax(BigDecimal theValue)
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 returnnull.Definition: The units of time for the duration, in UCUM units
-
getDurationUnits
public String getDurationUnits()
Gets the value(s) for durationUnits (). creating it if it does not exist. This method may returnnull.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
public TimingDt.Repeat setDurationUnits(UnitsOfTimeEnum theValue)
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 returnnull.Definition: The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided)
-
getFrequency
public Integer getFrequency()
Gets the value(s) for frequency (). creating it if it does not exist. This method may returnnull.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 returnnull.Definition:
-
getFrequencyMax
public Integer getFrequencyMax()
Gets the value(s) for frequencyMax (). creating it if it does not exist. This method may returnnull.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 returnnull.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
public BigDecimal getPeriod()
Gets the value(s) for period (). creating it if it does not exist. This method may returnnull.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
public TimingDt.Repeat setPeriod(BigDecimal 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
-
getPeriodMaxElement
public ca.uhn.fhir.model.primitive.DecimalDt getPeriodMaxElement()
Gets the value(s) for periodMax (). creating it if it does not exist. Will not returnnull.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
public BigDecimal getPeriodMax()
Gets the value(s) for periodMax (). creating it if it does not exist. This method may returnnull.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
public TimingDt.Repeat setPeriodMax(BigDecimal 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
-
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 returnnull.Definition: The units of time for the period in UCUM units
-
getPeriodUnits
public String getPeriodUnits()
Gets the value(s) for periodUnits (). creating it if it does not exist. This method may returnnull.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
public TimingDt.Repeat setPeriodUnits(UnitsOfTimeEnum theValue)
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 returnnull.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 returnnull.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
public TimingDt.Repeat setWhen(EventTimingEnum theValue)
Sets the value(s) for when ()Definition: A real world event that the occurrence of the event should be tied to.
-
-