
Package org.hl7.fhir.dstu3.model
Class Timing.TimingRepeatComponent
java.lang.Object
org.hl7.fhir.dstu3.model.Base
org.hl7.fhir.dstu3.model.Element
org.hl7.fhir.dstu3.model.Timing.TimingRepeatComponent
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatypeElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions
- Enclosing class:
Timing
public static class Timing.TimingRepeatComponent
extends Element
implements org.hl7.fhir.instance.model.api.IBaseDatatypeElement
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TypeEither 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 IntegerTypeA total count of the desired number of repetitions.protected IntegerTypeA maximum value for the count of the desired repetitions (e.g. do something 6-8 times).protected List<Enumeration<Timing.DayOfWeek>> If one or more days of week is provided, then the action happens only on the specified day(s).protected DecimalTypeHow long this thing happens for when it happens.protected DecimalTypeThe upper limit of how long this thing happens for when it happens.protected Enumeration<Timing.UnitsOfTime> The units of time for the duration, in UCUM units.protected IntegerTypeThe number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided).protected IntegerTypeIf present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.protected UnsignedIntTypeThe number of minutes from the event.protected DecimalTypeIndicates 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.protected DecimalTypeIf 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> The units of time for the period in UCUM units.Specified time of day for action to take place.protected List<Enumeration<Timing.EventTiming>> Real world events that the occurrence of the event should be tied to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDayOfWeek(Timing.DayOfWeek value) addTimeOfDay(String value) addWhen(Timing.EventTiming value) copy()booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()intgetCount()intintintgetNamedProperty(int _hash, String _name, boolean _checkValid) intBase[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) getWhen()booleanbooleanbooleanbooleanbooleanhasCount()booleanbooleanbooleanbooleanbooleanhasDayOfWeek(Timing.DayOfWeek value) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasTimeOfDay(String value) booleanhasWhen()booleanhasWhen(Timing.EventTiming value) booleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setCount(int value) setCountElement(IntegerType value) setCountMax(int value) setCountMaxElement(IntegerType value) setDayOfWeek(List<Enumeration<Timing.DayOfWeek>> theDayOfWeek) setDuration(double value) setDuration(long value) setDuration(BigDecimal value) setDurationElement(DecimalType value) setDurationMax(double value) setDurationMax(long value) setDurationMax(BigDecimal value) setDurationMaxElement(DecimalType value) setFrequency(int value) setFrequencyElement(IntegerType value) setFrequencyMax(int value) setOffset(int value) setOffsetElement(UnsignedIntType value) setPeriod(double value) setPeriod(long value) setPeriod(BigDecimal value) setPeriodElement(DecimalType value) setPeriodMax(double value) setPeriodMax(long value) setPeriodMax(BigDecimal value) setPeriodMaxElement(DecimalType value) setPeriodUnit(Timing.UnitsOfTime value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setTimeOfDay(List<TimeType> theTimeOfDay) setWhen(List<Enumeration<Timing.EventTiming>> theWhen) Methods inherited from class org.hl7.fhir.dstu3.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementMethods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
Field Details
-
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. -
count
A total count of the desired number of repetitions. -
countMax
A maximum value for the count of the desired repetitions (e.g. do something 6-8 times). -
duration
How long this thing happens for when it happens. -
durationMax
The upper limit of how long this thing happens for when it happens. -
durationUnit
The units of time for the duration, in UCUM units. -
frequency
The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided). -
frequencyMax
If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range. -
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. -
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. -
periodUnit
The units of time for the period in UCUM units. -
dayOfWeek
If one or more days of week is provided, then the action happens only on the specified day(s). -
timeOfDay
Specified time of day for action to take place. -
when
Real world events that the occurrence of the event should be tied to. -
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.
-
-
Constructor Details
-
TimingRepeatComponent
public TimingRepeatComponent()Constructor
-
-
Method Details
-
getBounds
- Returns:
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.)
-
getBoundsDuration
- Returns:
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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasBoundsDuration
-
getBoundsRange
- Returns:
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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasBoundsRange
-
getBoundsPeriod
- Returns:
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.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasBoundsPeriod
-
hasBounds
-
setBounds
public Timing.TimingRepeatComponent setBounds(Type value) throws org.hl7.fhir.exceptions.FHIRFormatError - Parameters:
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.)- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
getCountElement
- Returns:
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 value
-
hasCountElement
-
hasCount
-
setCountElement
- Parameters:
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 value
-
getCount
- Returns:
- A total count of the desired number of repetitions.
-
setCount
- Parameters:
value- A total count of the desired number of repetitions.
-
getCountMaxElement
- Returns:
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 value
-
hasCountMaxElement
-
hasCountMax
-
setCountMaxElement
- Parameters:
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 value
-
getCountMax
- Returns:
- A maximum value for the count of the desired repetitions (e.g. do something 6-8 times).
-
setCountMax
- Parameters:
value- A maximum value for the count of the desired repetitions (e.g. do something 6-8 times).
-
getDurationElement
- Returns:
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 value
-
hasDurationElement
-
hasDuration
-
setDurationElement
- Parameters:
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 value
-
getDuration
- Returns:
- How long this thing happens for when it happens.
-
setDuration
- Parameters:
value- How long this thing happens for when it happens.
-
setDuration
- Parameters:
value- How long this thing happens for when it happens.
-
setDuration
- Parameters:
value- How long this thing happens for when it happens.
-
getDurationMaxElement
- Returns:
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 value
-
hasDurationMaxElement
-
hasDurationMax
-
setDurationMaxElement
- Parameters:
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 value
-
getDurationMax
- Returns:
- The upper limit of how long this thing happens for when it happens.
-
setDurationMax
- Parameters:
value- The upper limit of how long this thing happens for when it happens.
-
setDurationMax
- Parameters:
value- The upper limit of how long this thing happens for when it happens.
-
setDurationMax
- Parameters:
value- The upper limit of how long this thing happens for when it happens.
-
getDurationUnitElement
- Returns:
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 value
-
hasDurationUnitElement
-
hasDurationUnit
-
setDurationUnitElement
- Parameters:
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 value
-
getDurationUnit
- Returns:
- The units of time for the duration, in UCUM units.
-
setDurationUnit
- Parameters:
value- The units of time for the duration, in UCUM units.
-
getFrequencyElement
- Returns:
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 value
-
hasFrequencyElement
-
hasFrequency
-
setFrequencyElement
- Parameters:
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 value
-
getFrequency
- Returns:
- The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided).
-
setFrequency
- Parameters:
value- The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided).
-
getFrequencyMaxElement
- Returns:
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 value
-
hasFrequencyMaxElement
-
hasFrequencyMax
-
setFrequencyMaxElement
- Parameters:
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 value
-
getFrequencyMax
- Returns:
- If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.
-
setFrequencyMax
- Parameters:
value- If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.
-
getPeriodElement
- Returns:
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 value
-
hasPeriodElement
-
hasPeriod
-
setPeriodElement
- Parameters:
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 value
-
getPeriod
- Returns:
- 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
- Parameters:
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.
-
setPeriod
- Parameters:
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.
-
setPeriod
- Parameters:
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.
-
getPeriodMaxElement
- Returns:
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 value
-
hasPeriodMaxElement
-
hasPeriodMax
-
setPeriodMaxElement
- Parameters:
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 value
-
getPeriodMax
- Returns:
- 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
- Parameters:
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.
-
setPeriodMax
- Parameters:
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.
-
setPeriodMax
- Parameters:
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.
-
getPeriodUnitElement
- Returns:
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 value
-
hasPeriodUnitElement
-
hasPeriodUnit
-
setPeriodUnitElement
- Parameters:
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 value
-
getPeriodUnit
- Returns:
- The units of time for the period in UCUM units.
-
setPeriodUnit
- Parameters:
value- The units of time for the period in UCUM units.
-
getDayOfWeek
- Returns:
dayOfWeek(If one or more days of week is provided, then the action happens only on the specified day(s).)
-
setDayOfWeek
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDayOfWeek
-
addDayOfWeekElement
- Returns:
dayOfWeek(If one or more days of week is provided, then the action happens only on the specified day(s).)
-
addDayOfWeek
- Parameters:
value-dayOfWeek(If one or more days of week is provided, then the action happens only on the specified day(s).)
-
hasDayOfWeek
- Parameters:
value-dayOfWeek(If one or more days of week is provided, then the action happens only on the specified day(s).)
-
getTimeOfDay
- Returns:
timeOfDay(Specified time of day for action to take place.)
-
setTimeOfDay
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTimeOfDay
-
addTimeOfDayElement
- Returns:
timeOfDay(Specified time of day for action to take place.)
-
addTimeOfDay
- Parameters:
value-timeOfDay(Specified time of day for action to take place.)
-
hasTimeOfDay
- Parameters:
value-timeOfDay(Specified time of day for action to take place.)
-
getWhen
- Returns:
when(Real world events that the occurrence of the event should be tied to.)
-
setWhen
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasWhen
-
addWhenElement
- Returns:
when(Real world events that the occurrence of the event should be tied to.)
-
addWhen
- Parameters:
value-when(Real world events that the occurrence of the event should be tied to.)
-
hasWhen
- Parameters:
value-when(Real world events that the occurrence of the event should be tied to.)
-
getOffsetElement
- Returns:
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 value
-
hasOffsetElement
-
hasOffset
-
setOffsetElement
- Parameters:
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 value
-
getOffset
- Returns:
- 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.
-
setOffset
- Parameters:
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.
-
listChildren
- Overrides:
listChildrenin classElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
copy
-
equalsDeep
- Overrides:
equalsDeepin classElement
-
equalsShallow
- Overrides:
equalsShallowin classElement
-
isEmpty
-
fhirType
-