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 IntegerType |
countMax
A maximum value for the count of the desired repetitions (e.g.
|
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> |
durationUnit
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 UnsignedIntType |
offset
The number of minutes from the event.
|
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> |
periodUnit
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()
Constructor
|
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNprotected Type bounds
protected IntegerType count
protected IntegerType countMax
protected DecimalType duration
protected DecimalType durationMax
protected Enumeration<Timing.UnitsOfTime> durationUnit
protected IntegerType frequency
protected IntegerType frequencyMax
protected DecimalType period
protected DecimalType periodMax
protected Enumeration<Timing.UnitsOfTime> periodUnit
protected Enumeration<Timing.EventTiming> when
protected UnsignedIntType offset
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 IntegerType getCountMaxElement()
countMax (A maximum value for the count of the desired repetitions (e.g. do something 6-8 times).). This is the underlying object with id, value and extensions. The accessor "getCountMax" gives direct access to the valuepublic boolean hasCountMaxElement()
public boolean hasCountMax()
public Timing.TimingRepeatComponent setCountMaxElement(IntegerType value)
value - countMax (A maximum value for the count of the desired repetitions (e.g. do something 6-8 times).). This is the underlying object with id, value and extensions. The accessor "getCountMax" gives direct access to the valuepublic int getCountMax()
public Timing.TimingRepeatComponent setCountMax(int value)
value - A maximum value for the count of the desired repetitions (e.g. do something 6-8 times).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 Timing.TimingRepeatComponent setDuration(long value)
value - How long this thing happens for when it happens.public Timing.TimingRepeatComponent setDuration(double 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 Timing.TimingRepeatComponent setDurationMax(long value)
value - The upper limit of how long this thing happens for when it happens.public Timing.TimingRepeatComponent setDurationMax(double value)
value - The upper limit of how long this thing happens for when it happens.public Enumeration<Timing.UnitsOfTime> getDurationUnitElement()
durationUnit (The units of time for the duration, in UCUM units.). This is the underlying object with id, value and extensions. The accessor "getDurationUnit" gives direct access to the valuepublic boolean hasDurationUnitElement()
public boolean hasDurationUnit()
public Timing.TimingRepeatComponent setDurationUnitElement(Enumeration<Timing.UnitsOfTime> value)
value - durationUnit (The units of time for the duration, in UCUM units.). This is the underlying object with id, value and extensions. The accessor "getDurationUnit" gives direct access to the valuepublic Timing.UnitsOfTime getDurationUnit()
public Timing.TimingRepeatComponent setDurationUnit(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 Timing.TimingRepeatComponent setPeriod(long 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 Timing.TimingRepeatComponent setPeriod(double 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 Timing.TimingRepeatComponent setPeriodMax(long 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 Timing.TimingRepeatComponent setPeriodMax(double 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> getPeriodUnitElement()
periodUnit (The units of time for the period in UCUM units.). This is the underlying object with id, value and extensions. The accessor "getPeriodUnit" gives direct access to the valuepublic boolean hasPeriodUnitElement()
public boolean hasPeriodUnit()
public Timing.TimingRepeatComponent setPeriodUnitElement(Enumeration<Timing.UnitsOfTime> value)
value - periodUnit (The units of time for the period in UCUM units.). This is the underlying object with id, value and extensions. The accessor "getPeriodUnit" gives direct access to the valuepublic Timing.UnitsOfTime getPeriodUnit()
public Timing.TimingRepeatComponent setPeriodUnit(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.public UnsignedIntType getOffsetElement()
offset (The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.). This is the underlying object with id, value and extensions. The accessor "getOffset" gives direct access to the valuepublic boolean hasOffsetElement()
public boolean hasOffset()
public Timing.TimingRepeatComponent setOffsetElement(UnsignedIntType value)
value - offset (The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.). This is the underlying object with id, value and extensions. The accessor "getOffset" gives direct access to the valuepublic int getOffset()
public Timing.TimingRepeatComponent setOffset(int value)
value - The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty 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.