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 PositiveIntType |
count
A total count of the desired number of repetitions across the duration of the entire timing specification.
|
protected PositiveIntType |
countMax
If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.
|
protected List<Enumeration<Timing.DayOfWeek>> |
dayOfWeek
If one or more days of week is provided, then the action happens only on the specified day(s).
|
protected DecimalType |
duration
How long this thing happens for when it happens.
|
protected DecimalType |
durationMax
If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.
|
protected Enumeration<Timing.UnitsOfTime> |
durationUnit
The units of time for the duration, in UCUM units.
|
protected PositiveIntType |
frequency
The number of times to repeat the action within the specified period.
|
protected PositiveIntType |
frequencyMax
If present, indicates that the frequency is a range - so to 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 List<TimeType> |
timeOfDay
Specified time of day for action to take place.
|
protected List<Enumeration<Timing.EventTiming>> |
when
An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.
|
| Constructor and Description |
|---|
TimingRepeatComponent()
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected Type bounds
protected PositiveIntType count
protected PositiveIntType countMax
protected DecimalType duration
protected DecimalType durationMax
protected Enumeration<Timing.UnitsOfTime> durationUnit
protected PositiveIntType frequency
protected PositiveIntType frequencyMax
protected DecimalType period
protected DecimalType periodMax
protected Enumeration<Timing.UnitsOfTime> periodUnit
protected List<Enumeration<Timing.DayOfWeek>> dayOfWeek
protected List<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 PositiveIntType getCountElement()
count (A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.). 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(PositiveIntType value)
value - count (A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.). 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 across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.public PositiveIntType getCountMaxElement()
countMax (If present, indicates that the count is a range - so to perform the action between [count] and [countMax] 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(PositiveIntType value)
value - countMax (If present, indicates that the count is a range - so to perform the action between [count] and [countMax] 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 - If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.public DecimalType getDurationElement()
duration (How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.). 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. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.). 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. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.public Timing.TimingRepeatComponent setDuration(long value)
value - How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.public Timing.TimingRepeatComponent setDuration(double value)
value - How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.public DecimalType getDurationMaxElement()
durationMax (If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.). 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 (If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.). 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 - If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.public Timing.TimingRepeatComponent setDurationMax(long value)
value - If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.public Timing.TimingRepeatComponent setDurationMax(double value)
value - If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.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 PositiveIntType getFrequencyElement()
frequency (The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.). 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(PositiveIntType value)
value - frequency (The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.). 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. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.public PositiveIntType getFrequencyMaxElement()
frequencyMax (If present, indicates that the frequency is a range - so to 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(PositiveIntType value)
value - frequencyMax (If present, indicates that the frequency is a range - so to 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 to 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. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.). 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. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.). 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. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.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. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.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. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.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 List<Enumeration<Timing.DayOfWeek>> getDayOfWeek()
dayOfWeek (If one or more days of week is provided, then the action happens only on the specified day(s).)public Timing.TimingRepeatComponent setDayOfWeek(List<Enumeration<Timing.DayOfWeek>> theDayOfWeek)
this for easy method chainingpublic boolean hasDayOfWeek()
public Enumeration<Timing.DayOfWeek> addDayOfWeekElement()
dayOfWeek (If one or more days of week is provided, then the action happens only on the specified day(s).)public Timing.TimingRepeatComponent addDayOfWeek(Timing.DayOfWeek value)
value - dayOfWeek (If one or more days of week is provided, then the action happens only on the specified day(s).)public boolean hasDayOfWeek(Timing.DayOfWeek value)
value - dayOfWeek (If one or more days of week is provided, then the action happens only on the specified day(s).)public List<TimeType> getTimeOfDay()
timeOfDay (Specified time of day for action to take place.)public Timing.TimingRepeatComponent setTimeOfDay(List<TimeType> theTimeOfDay)
this for easy method chainingpublic boolean hasTimeOfDay()
public TimeType addTimeOfDayElement()
timeOfDay (Specified time of day for action to take place.)public Timing.TimingRepeatComponent addTimeOfDay(String value)
value - timeOfDay (Specified time of day for action to take place.)public boolean hasTimeOfDay(String value)
value - timeOfDay (Specified time of day for action to take place.)public List<Enumeration<Timing.EventTiming>> getWhen()
when (An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.)public Timing.TimingRepeatComponent setWhen(List<Enumeration<Timing.EventTiming>> theWhen)
this for easy method chainingpublic boolean hasWhen()
public Enumeration<Timing.EventTiming> addWhenElement()
when (An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.)public Timing.TimingRepeatComponent addWhen(Timing.EventTiming value)
value - when (An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.)public boolean hasWhen(Timing.EventTiming value)
value - when (An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.)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> children)
listChildren in class Elementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base 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 String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Timing.TimingRepeatComponent copy()
public void copyValues(Timing.TimingRepeatComponent dst)
public boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class Elementpublic boolean isEmpty()
Copyright © 2014–2021 Health Level 7. All rights reserved.