Package org.hl7.fhir.r5.model
Class Statistic
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.Statistic
- 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 Statistic
extends BackboneType
implements org.hl7.fhir.instance.model.api.ICompositeType
Base StructureDefinition for Statistic Type: A fact or piece of data from a study of a large quantity of numerical data. A mathematical or quantified characteristic of a group of observations.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
Modifier and TypeFieldDescriptionA statistical attribute of the statistic such as a measure of heterogeneity.protected CodeableConcept
When the measured variable is handled categorically, the category element is used to define which category the statistic is reporting.protected StringType
A description of the content value of the statistic.A component of the method to generate the statistic.protected List
<Annotation> Footnotes and/or explanatory notes.protected UnsignedIntType
The number of participants affected where the unit of analysis is the same as sampleSize.knownDataCount and sampleSize.numberOfParticipants.protected UnsignedIntType
The number of events associated with the statistic, where the unit of analysis is different from numberAffected, sampleSize.knownDataCount and sampleSize.numberOfParticipants.protected Quantity
Statistic value.protected Statistic.StatisticSampleSizeComponent
Number of samples in the statistic.protected CodeableConcept
Type of statistic, eg relative risk.Fields inherited from class org.hl7.fhir.r5.model.BackboneType
modifierExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddNote()
copy()
void
copyValues
(Statistic dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) getNote()
int
int
Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
hasNote()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setAttributeEstimate
(List<Statistic.StatisticAttributeEstimateComponent> theAttributeEstimate) setCategory
(CodeableConcept value) setDescription
(String value) setDescriptionElement
(StringType value) setModelCharacteristic
(List<Statistic.StatisticModelCharacteristicComponent> theModelCharacteristic) setNote
(List<Annotation> theNote) setNumberAffected
(int value) setNumberOfEvents
(int value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setQuantity
(Quantity value) setStatisticType
(CodeableConcept value) protected Statistic
Methods inherited from class org.hl7.fhir.r5.model.BackboneType
addModifierExtension, addModifierExtension, checkNoModifiers, copyExtensions, copyNewExtensions, copyValues, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, hasExtension, hasExtension, hasModifierExtension, setModifierExtension
Methods inherited from class org.hl7.fhir.r5.model.DataType
copyValues, getTranslation, isTranslatable
Methods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getExtensionString, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getStandardsStatus, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement, setStandardsStatus
Methods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtension
-
Field Details
-
description
A description of the content value of the statistic. -
note
Footnotes and/or explanatory notes. -
statisticType
Type of statistic, eg relative risk. -
category
When the measured variable is handled categorically, the category element is used to define which category the statistic is reporting. -
quantity
Statistic value. -
numberOfEvents
The number of events associated with the statistic, where the unit of analysis is different from numberAffected, sampleSize.knownDataCount and sampleSize.numberOfParticipants. -
numberAffected
The number of participants affected where the unit of analysis is the same as sampleSize.knownDataCount and sampleSize.numberOfParticipants. -
sampleSize
Number of samples in the statistic. -
attributeEstimate
A statistical attribute of the statistic such as a measure of heterogeneity. -
modelCharacteristic
A component of the method to generate the statistic.
-
-
Constructor Details
-
Statistic
public Statistic()Constructor
-
-
Method Details
-
getDescriptionElement
- Returns:
description
(A description of the content value of the statistic.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
-
hasDescription
-
setDescriptionElement
- Parameters:
value
-description
(A description of the content value of the statistic.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
- Returns:
- A description of the content value of the statistic.
-
setDescription
- Parameters:
value
- A description of the content value of the statistic.
-
getNote
- Returns:
note
(Footnotes and/or explanatory notes.)
-
setNote
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasNote
-
addNote
-
addNote
-
getNoteFirstRep
- Returns:
- The first repetition of repeating field
note
, creating it if it does not already exist {3}
-
getStatisticType
- Returns:
statisticType
(Type of statistic, eg relative risk.)
-
hasStatisticType
-
setStatisticType
- Parameters:
value
-statisticType
(Type of statistic, eg relative risk.)
-
getCategory
- Returns:
category
(When the measured variable is handled categorically, the category element is used to define which category the statistic is reporting.)
-
hasCategory
-
setCategory
- Parameters:
value
-category
(When the measured variable is handled categorically, the category element is used to define which category the statistic is reporting.)
-
getQuantity
- Returns:
quantity
(Statistic value.)
-
hasQuantity
-
setQuantity
- Parameters:
value
-quantity
(Statistic value.)
-
getNumberOfEventsElement
- Returns:
numberOfEvents
(The number of events associated with the statistic, where the unit of analysis is different from numberAffected, sampleSize.knownDataCount and sampleSize.numberOfParticipants.). This is the underlying object with id, value and extensions. The accessor "getNumberOfEvents" gives direct access to the value
-
hasNumberOfEventsElement
-
hasNumberOfEvents
-
setNumberOfEventsElement
- Parameters:
value
-numberOfEvents
(The number of events associated with the statistic, where the unit of analysis is different from numberAffected, sampleSize.knownDataCount and sampleSize.numberOfParticipants.). This is the underlying object with id, value and extensions. The accessor "getNumberOfEvents" gives direct access to the value
-
getNumberOfEvents
- Returns:
- The number of events associated with the statistic, where the unit of analysis is different from numberAffected, sampleSize.knownDataCount and sampleSize.numberOfParticipants.
-
setNumberOfEvents
- Parameters:
value
- The number of events associated with the statistic, where the unit of analysis is different from numberAffected, sampleSize.knownDataCount and sampleSize.numberOfParticipants.
-
getNumberAffectedElement
- Returns:
numberAffected
(The number of participants affected where the unit of analysis is the same as sampleSize.knownDataCount and sampleSize.numberOfParticipants.). This is the underlying object with id, value and extensions. The accessor "getNumberAffected" gives direct access to the value
-
hasNumberAffectedElement
-
hasNumberAffected
-
setNumberAffectedElement
- Parameters:
value
-numberAffected
(The number of participants affected where the unit of analysis is the same as sampleSize.knownDataCount and sampleSize.numberOfParticipants.). This is the underlying object with id, value and extensions. The accessor "getNumberAffected" gives direct access to the value
-
getNumberAffected
- Returns:
- The number of participants affected where the unit of analysis is the same as sampleSize.knownDataCount and sampleSize.numberOfParticipants.
-
setNumberAffected
- Parameters:
value
- The number of participants affected where the unit of analysis is the same as sampleSize.knownDataCount and sampleSize.numberOfParticipants.
-
getSampleSize
- Returns:
sampleSize
(Number of samples in the statistic.)
-
hasSampleSize
-
setSampleSize
- Parameters:
value
-sampleSize
(Number of samples in the statistic.)
-
getAttributeEstimate
- Returns:
attributeEstimate
(A statistical attribute of the statistic such as a measure of heterogeneity.)
-
setAttributeEstimate
public Statistic setAttributeEstimate(List<Statistic.StatisticAttributeEstimateComponent> theAttributeEstimate) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasAttributeEstimate
-
addAttributeEstimate
-
addAttributeEstimate
-
getAttributeEstimateFirstRep
- Returns:
- The first repetition of repeating field
attributeEstimate
, creating it if it does not already exist {3}
-
getModelCharacteristic
- Returns:
modelCharacteristic
(A component of the method to generate the statistic.)
-
setModelCharacteristic
public Statistic setModelCharacteristic(List<Statistic.StatisticModelCharacteristicComponent> theModelCharacteristic) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasModelCharacteristic
-
addModelCharacteristic
-
addModelCharacteristic
-
getModelCharacteristicFirstRep
- Returns:
- The first repetition of repeating field
modelCharacteristic
, creating it if it does not already exist {3}
-
listChildren
- Overrides:
listChildren
in classBackboneType
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classBackboneType
- 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 classBackboneType
- 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 classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChild
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classBackboneType
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneType
- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copy
in classBackboneType
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classBackboneType
-
equalsShallow
- Overrides:
equalsShallow
in classBackboneType
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneType
-