Package org.hl7.fhir.r5.model
Class OrderedDistribution
- java.lang.Object
-
- org.hl7.fhir.r5.model.Base
-
- org.hl7.fhir.r5.model.Element
-
- org.hl7.fhir.r5.model.DataType
-
- org.hl7.fhir.r5.model.BackboneType
-
- org.hl7.fhir.r5.model.OrderedDistribution
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.ICompositeType
public class OrderedDistribution extends BackboneType implements org.hl7.fhir.instance.model.api.ICompositeType
Base StructureDefinition for OrderedDistribution Type: An ordered list (distribution) of statistics.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOrderedDistribution.OrderedDistributionIntervalComponent
-
Field Summary
Fields Modifier and Type Field Description protected QuantitybottomOfFirstIntervalBottom of first interval.protected StringTypedescriptionA description of the content and value of the statistic.protected List<OrderedDistribution.OrderedDistributionIntervalComponent>intervalInterval.protected List<Annotation>noteFootnotes and/or explanatory notes.protected IntegerTypenumberOfIntervalsNumber of intervals in an array, eg 4 for quartiles.protected QuantitytopOfIntervalSingular value of the statistic at the upper bound of the interval.-
Fields inherited from class org.hl7.fhir.r5.model.BackboneType
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description OrderedDistribution()ConstructorOrderedDistribution(int numberOfIntervals, OrderedDistribution.OrderedDistributionIntervalComponent interval)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r5.model.BackboneType
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r5.model.DataType
copyValues
-
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, 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
-
-
-
-
Field Detail
-
description
protected StringType description
A description of the content and value of the statistic.
-
note
protected List<Annotation> note
Footnotes and/or explanatory notes.
-
numberOfIntervals
protected IntegerType numberOfIntervals
Number of intervals in an array, eg 4 for quartiles.
-
bottomOfFirstInterval
protected Quantity bottomOfFirstInterval
Bottom of first interval.
-
interval
protected List<OrderedDistribution.OrderedDistributionIntervalComponent> interval
Interval.
-
topOfInterval
protected Quantity topOfInterval
Singular value of the statistic at the upper bound of the interval.
-
-
Constructor Detail
-
OrderedDistribution
public OrderedDistribution()
Constructor
-
OrderedDistribution
public OrderedDistribution(int numberOfIntervals, OrderedDistribution.OrderedDistributionIntervalComponent interval)
Constructor
-
-
Method Detail
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
description(A description of the content and value of the statistic.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public OrderedDistribution setDescriptionElement(StringType value)
- Parameters:
value-description(A description of the content and value of the statistic.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
public String getDescription()
- Returns:
- A description of the content and value of the statistic.
-
setDescription
public OrderedDistribution setDescription(String value)
- Parameters:
value- A description of the content and value of the statistic.
-
getNote
public List<Annotation> getNote()
- Returns:
note(Footnotes and/or explanatory notes.)
-
setNote
public OrderedDistribution setNote(List<Annotation> theNote)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasNote
public boolean hasNote()
-
addNote
public Annotation addNote()
-
addNote
public OrderedDistribution addNote(Annotation t)
-
getNoteFirstRep
public Annotation getNoteFirstRep()
- Returns:
- The first repetition of repeating field
note, creating it if it does not already exist {3}
-
getNumberOfIntervalsElement
public IntegerType getNumberOfIntervalsElement()
- Returns:
numberOfIntervals(Number of intervals in an array, eg 4 for quartiles.). This is the underlying object with id, value and extensions. The accessor "getNumberOfIntervals" gives direct access to the value
-
hasNumberOfIntervalsElement
public boolean hasNumberOfIntervalsElement()
-
hasNumberOfIntervals
public boolean hasNumberOfIntervals()
-
setNumberOfIntervalsElement
public OrderedDistribution setNumberOfIntervalsElement(IntegerType value)
- Parameters:
value-numberOfIntervals(Number of intervals in an array, eg 4 for quartiles.). This is the underlying object with id, value and extensions. The accessor "getNumberOfIntervals" gives direct access to the value
-
getNumberOfIntervals
public int getNumberOfIntervals()
- Returns:
- Number of intervals in an array, eg 4 for quartiles.
-
setNumberOfIntervals
public OrderedDistribution setNumberOfIntervals(int value)
- Parameters:
value- Number of intervals in an array, eg 4 for quartiles.
-
getBottomOfFirstInterval
public Quantity getBottomOfFirstInterval()
- Returns:
bottomOfFirstInterval(Bottom of first interval.)
-
hasBottomOfFirstInterval
public boolean hasBottomOfFirstInterval()
-
setBottomOfFirstInterval
public OrderedDistribution setBottomOfFirstInterval(Quantity value)
- Parameters:
value-bottomOfFirstInterval(Bottom of first interval.)
-
getInterval
public List<OrderedDistribution.OrderedDistributionIntervalComponent> getInterval()
- Returns:
interval(Interval.)
-
setInterval
public OrderedDistribution setInterval(List<OrderedDistribution.OrderedDistributionIntervalComponent> theInterval)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInterval
public boolean hasInterval()
-
addInterval
public OrderedDistribution.OrderedDistributionIntervalComponent addInterval()
-
addInterval
public OrderedDistribution addInterval(OrderedDistribution.OrderedDistributionIntervalComponent t)
-
getIntervalFirstRep
public OrderedDistribution.OrderedDistributionIntervalComponent getIntervalFirstRep()
- Returns:
- The first repetition of repeating field
interval, creating it if it does not already exist {3}
-
getTopOfInterval
public Quantity getTopOfInterval()
- Returns:
topOfInterval(Singular value of the statistic at the upper bound of the interval.)
-
hasTopOfInterval
public boolean hasTopOfInterval()
-
setTopOfInterval
public OrderedDistribution setTopOfInterval(Quantity value)
- Parameters:
value-topOfInterval(Singular value of the statistic at the upper bound of the interval.)
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneType
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneType- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneType- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneType- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneType- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneType- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin classBackboneType- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneType- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneType
-
copy
public OrderedDistribution copy()
- Specified by:
copyin classBackboneType
-
copyValues
public void copyValues(OrderedDistribution dst)
-
typedCopy
protected OrderedDistribution typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneType
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneType
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneType
-
-