public static class Timing.TimingRepeatComponent extends Element implements org.hl7.fhir.instance.model.api.IBaseDatatypeElement
| Modifier and Type | Field and Description |
|---|---|
protected Type |
bounds
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.
|
protected IntegerType |
count
A total count of the desired number of repetitions.
|
protected DecimalType |
duration
How long this thing happens for when it happens.
|
protected DecimalType |
durationMax
The upper limit of how long this thing happens for when it happens.
|
protected Enumeration<Timing.UnitsOfTime> |
durationUnits
The units of time for the duration, in UCUM units.
|
protected IntegerType |
frequency
The number of times to repeat the action within the specified period / period range (i.e.
|
protected IntegerType |
frequencyMax
If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range.
|
protected DecimalType |
period
Indicates the duration of time over which repetitions are to occur; e.g.
|
protected DecimalType |
periodMax
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.
|
protected Enumeration<Timing.UnitsOfTime> |
periodUnits
The units of time for the period in UCUM units.
|
protected Enumeration<Timing.EventTiming> |
when
A real world event that the occurrence of the event should be tied to.
|
| Constructor and Description |
|---|
TimingRepeatComponent() |
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNprotected Type bounds
protected IntegerType count
protected DecimalType duration
protected DecimalType durationMax
protected Enumeration<Timing.UnitsOfTime> durationUnits
protected IntegerType frequency
protected IntegerType frequencyMax
protected DecimalType period
protected DecimalType periodMax
protected Enumeration<Timing.UnitsOfTime> periodUnits
protected Enumeration<Timing.EventTiming> when
public TimingRepeatComponent()
public Type getBounds()
bounds (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.)public Duration getBoundsDuration() throws org.hl7.fhir.exceptions.FHIRException
bounds (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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasBoundsDuration()
public Range getBoundsRange() throws org.hl7.fhir.exceptions.FHIRException
bounds (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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasBoundsRange()
public Period getBoundsPeriod() throws org.hl7.fhir.exceptions.FHIRException
bounds (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.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasBoundsPeriod()
public boolean hasBounds()
public Timing.TimingRepeatComponent setBounds(Type value)
value - bounds (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.)public IntegerType getCountElement()
count (A total count of the desired number of repetitions.). This is the underlying object with id, value and extensions. The accessor "getCount" gives direct access to the valuepublic boolean hasCountElement()
public boolean hasCount()
public Timing.TimingRepeatComponent setCountElement(IntegerType value)
value - count (A total count of the desired number of repetitions.). This is the underlying object with id, value and extensions. The accessor "getCount" gives direct access to the valuepublic int getCount()
public Timing.TimingRepeatComponent setCount(int value)
value - A total count of the desired number of repetitions.public DecimalType getDurationElement()
duration (How long this thing happens for when it happens.). This is the underlying object with id, value and extensions. The accessor "getDuration" gives direct access to the valuepublic boolean hasDurationElement()
public boolean hasDuration()
public Timing.TimingRepeatComponent setDurationElement(DecimalType value)
value - duration (How long this thing happens for when it happens.). This is the underlying object with id, value and extensions. The accessor "getDuration" gives direct access to the valuepublic BigDecimal getDuration()
public Timing.TimingRepeatComponent setDuration(BigDecimal value)
value - How long this thing happens for when it happens.public DecimalType getDurationMaxElement()
durationMax (The upper limit of how long this thing happens for when it happens.). This is the underlying object with id, value and extensions. The accessor "getDurationMax" gives direct access to the valuepublic boolean hasDurationMaxElement()
public boolean hasDurationMax()
public Timing.TimingRepeatComponent setDurationMaxElement(DecimalType value)
value - durationMax (The upper limit of how long this thing happens for when it happens.). This is the underlying object with id, value and extensions. The accessor "getDurationMax" gives direct access to the valuepublic BigDecimal getDurationMax()
public Timing.TimingRepeatComponent setDurationMax(BigDecimal value)
value - The upper limit of how long this thing happens for when it happens.public Enumeration<Timing.UnitsOfTime> getDurationUnitsElement()
durationUnits (The units of time for the duration, in UCUM units.). This is the underlying object with id, value and extensions. The accessor "getDurationUnits" gives direct access to the valuepublic boolean hasDurationUnitsElement()
public boolean hasDurationUnits()
public Timing.TimingRepeatComponent setDurationUnitsElement(Enumeration<Timing.UnitsOfTime> value)
value - durationUnits (The units of time for the duration, in UCUM units.). This is the underlying object with id, value and extensions. The accessor "getDurationUnits" gives direct access to the valuepublic Timing.UnitsOfTime getDurationUnits()
public Timing.TimingRepeatComponent setDurationUnits(Timing.UnitsOfTime value)
value - The units of time for the duration, in UCUM units.public IntegerType getFrequencyElement()
frequency (The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided).). This is the underlying object with id, value and extensions. The accessor "getFrequency" gives direct access to the valuepublic boolean hasFrequencyElement()
public boolean hasFrequency()
public Timing.TimingRepeatComponent setFrequencyElement(IntegerType value)
value - frequency (The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided).). This is the underlying object with id, value and extensions. The accessor "getFrequency" gives direct access to the valuepublic int getFrequency()
public Timing.TimingRepeatComponent setFrequency(int value)
value - The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided).public IntegerType getFrequencyMaxElement()
frequencyMax (If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range.). This is the underlying object with id, value and extensions. The accessor "getFrequencyMax" gives direct access to the valuepublic boolean hasFrequencyMaxElement()
public boolean hasFrequencyMax()
public Timing.TimingRepeatComponent setFrequencyMaxElement(IntegerType value)
value - frequencyMax (If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range.). This is the underlying object with id, value and extensions. The accessor "getFrequencyMax" gives direct access to the valuepublic int getFrequencyMax()
public Timing.TimingRepeatComponent setFrequencyMax(int value)
value - If present, indicates that the frequency is a range - so repeat between [frequency] and [frequencyMax] times within the period or period range.public DecimalType getPeriodElement()
period (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.). This is the underlying object with id, value and extensions. The accessor "getPeriod" gives direct access to the valuepublic boolean hasPeriodElement()
public boolean hasPeriod()
public Timing.TimingRepeatComponent setPeriodElement(DecimalType value)
value - period (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.). This is the underlying object with id, value and extensions. The accessor "getPeriod" gives direct access to the valuepublic BigDecimal getPeriod()
public Timing.TimingRepeatComponent setPeriod(BigDecimal value)
value - 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.public DecimalType getPeriodMaxElement()
periodMax (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.). This is the underlying object with id, value and extensions. The accessor "getPeriodMax" gives direct access to the valuepublic boolean hasPeriodMaxElement()
public boolean hasPeriodMax()
public Timing.TimingRepeatComponent setPeriodMaxElement(DecimalType value)
value - periodMax (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.). This is the underlying object with id, value and extensions. The accessor "getPeriodMax" gives direct access to the valuepublic BigDecimal getPeriodMax()
public Timing.TimingRepeatComponent setPeriodMax(BigDecimal value)
value - 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.public Enumeration<Timing.UnitsOfTime> getPeriodUnitsElement()
periodUnits (The units of time for the period in UCUM units.). This is the underlying object with id, value and extensions. The accessor "getPeriodUnits" gives direct access to the valuepublic boolean hasPeriodUnitsElement()
public boolean hasPeriodUnits()
public Timing.TimingRepeatComponent setPeriodUnitsElement(Enumeration<Timing.UnitsOfTime> value)
value - periodUnits (The units of time for the period in UCUM units.). This is the underlying object with id, value and extensions. The accessor "getPeriodUnits" gives direct access to the valuepublic Timing.UnitsOfTime getPeriodUnits()
public Timing.TimingRepeatComponent setPeriodUnits(Timing.UnitsOfTime value)
value - The units of time for the period in UCUM units.public Enumeration<Timing.EventTiming> getWhenElement()
when (A real world event that the occurrence of the event should be tied to.). This is the underlying object with id, value and extensions. The accessor "getWhen" gives direct access to the valuepublic boolean hasWhenElement()
public boolean hasWhen()
public Timing.TimingRepeatComponent setWhenElement(Enumeration<Timing.EventTiming> value)
value - when (A real world event that the occurrence of the event should be tied to.). This is the underlying object with id, value and extensions. The accessor "getWhen" gives direct access to the valuepublic Timing.EventTiming getWhen()
public Timing.TimingRepeatComponent setWhen(Timing.EventTiming value)
value - A real world event that the occurrence of the event should be tied to.protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Timing.TimingRepeatComponent copy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class Elementpublic boolean isEmpty()
Copyright © 2014–2018 University Health Network. All rights reserved.