
Package org.hl7.fhir.dstu2.model
Class Timing.TimingRepeatComponent
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.Element
org.hl7.fhir.dstu2.model.Timing.TimingRepeatComponent
- All Implemented Interfaces:
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 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 repeat between [frequency] and [frequencyMax] times within the period or period range.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.protected Enumeration<Timing.EventTiming> A real world event that the occurrence of the event should be tied to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()intgetCount()intintgetWhen()booleanbooleanbooleanbooleanbooleanhasCount()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasWhen()booleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setCount(int value) setCountElement(IntegerType value) setDuration(BigDecimal value) setDurationElement(DecimalType value) setDurationMax(BigDecimal value) setDurationMaxElement(DecimalType value) setFrequency(int value) setFrequencyElement(IntegerType value) setFrequencyMax(int value) setPeriod(BigDecimal value) setPeriodElement(DecimalType value) setPeriodMax(BigDecimal value) setPeriodMaxElement(DecimalType value) setPeriodUnits(Timing.UnitsOfTime value) voidsetProperty(String name, Base value) setWhen(Timing.EventTiming value) Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementMethods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, 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, 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. -
duration
How long this thing happens for when it happens. -
durationMax
The upper limit of how long this thing happens for when it happens. -
durationUnits
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 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. -
periodUnits
The units of time for the period in UCUM units. -
when
A real world event that the occurrence of the event should be tied to.
-
-
Constructor Details
-
TimingRepeatComponent
public TimingRepeatComponent()
-
-
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
- 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.)
-
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.
-
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.
-
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.
-
getDurationUnitsElement
- Returns:
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 value
-
hasDurationUnitsElement
-
hasDurationUnits
-
setDurationUnitsElement
- Parameters:
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 value
-
getDurationUnits
- Returns:
- The units of time for the duration, in UCUM units.
-
setDurationUnits
- 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 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 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 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 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.
-
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.
-
getPeriodUnitsElement
- Returns:
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 value
-
hasPeriodUnitsElement
-
hasPeriodUnits
-
setPeriodUnitsElement
- Parameters:
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 value
-
getPeriodUnits
- Returns:
- The units of time for the period in UCUM units.
-
setPeriodUnits
- Parameters:
value- The units of time for the period in UCUM units.
-
getWhenElement
- Returns:
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 value
-
hasWhenElement
-
hasWhen
-
setWhenElement
- Parameters:
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 value
-
getWhen
- Returns:
- A real world event that the occurrence of the event should be tied to.
-
setWhen
- Parameters:
value- A real world event that the occurrence of the event should be tied to.
-
listChildren
- Overrides:
listChildrenin classElement
-
setProperty
- Overrides:
setPropertyin classElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
copy
-
equalsDeep
- Overrides:
equalsDeepin classElement
-
equalsShallow
- Overrides:
equalsShallowin classElement
-
isEmpty
-
fhirType
-