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
Modifier and TypeFieldDescriptionprotected Type
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
A total count of the desired number of repetitions.protected IntegerType
A maximum value for the count of the desired repetitions (e.g.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 DecimalType
How long this thing happens for when it happens.protected DecimalType
The 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 IntegerType
The number of times to repeat the action within the specified period / period range (i.e.protected IntegerType
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
The number of minutes from the event.protected DecimalType
Indicates the duration of time over which repetitions are to occur; e.g.protected DecimalType
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> 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
-
Method Summary
Modifier and TypeMethodDescriptionaddDayOfWeek
(Timing.DayOfWeek value) addTimeOfDay
(String value) addWhen
(Timing.EventTiming value) copy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
int
getCount()
int
int
int
getNamedProperty
(int _hash, String _name, boolean _checkValid) int
Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) getWhen()
boolean
boolean
boolean
boolean
boolean
hasCount()
boolean
boolean
boolean
boolean
boolean
hasDayOfWeek
(Timing.DayOfWeek value) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasTimeOfDay
(String value) boolean
hasWhen()
boolean
hasWhen
(Timing.EventTiming value) boolean
isEmpty()
protected void
listChildren
(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, setIdElement
Methods 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, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods 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
this
for 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
this
for 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
this
for 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:
listChildren
in classElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
copy
-
equalsDeep
- Overrides:
equalsDeep
in classElement
-
equalsShallow
- Overrides:
equalsShallow
in classElement
-
isEmpty
-
fhirType
-