
Package org.hl7.fhir.r5.openehr
Class HISTORY
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseDatatype
,org.hl7.fhir.instance.model.api.ICompositeType
public class HISTORY
extends DATA_STRUCTURE
implements org.hl7.fhir.instance.model.api.ICompositeType
Root object of a linear history, i.e. time series structure. This is a generic class whose type parameter must be a descendant of ITEM_STRUCTURE, ensuring that each Event in the events of a given instance is of the same structural type, i.e. ITEM_TREE, ITEM_LIST etc. For a periodic series of events, period will be set, and the time of each Event in the History must correspond; i.e. the EVENT.offset must be a multiple of period for each Event. Missing events in a period History are however allowed.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DV_DURATION
Duration of the entire History; either corresponds to the duration of all the events, and/or the duration represented by the summary, if it exists.The events in the series.protected DV_DATE_TIME
Time origin of this event history.protected DV_DURATION
Period between samples in this segment if periodic.protected ITEM_STRUCTURE
Optional summary data that aggregates, organizes, reduces and transforms the event series.Fields inherited from class org.hl7.fhir.r5.openehr.PATHABLE
archetype_details, archetype_node_id, feeder_audit, linksList, name, uid
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyValues
(HISTORY dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setDuration
(DV_DURATION value) setEventsList
(List<EVENT> theEvents) setOrigin
(DV_DATE_TIME value) setPeriod
(DV_DURATION value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setSummary
(ITEM_STRUCTURE value) protected HISTORY
Methods inherited from class org.hl7.fhir.r5.openehr.DATA_STRUCTURE
copyValues
Methods inherited from class org.hl7.fhir.r5.openehr.LOCATABLE
copyValues
Methods inherited from class org.hl7.fhir.r5.openehr.PATHABLE
addLinks, addLinks, copyValues, getArchetype_details, getArchetype_node_id, getArchetype_node_idElement, getFeeder_audit, getLinksFirstRep, getLinksList, getName, getUid, hasArchetype_details, hasArchetype_node_id, hasArchetype_node_idElement, hasFeeder_audit, hasLinks, hasName, hasUid, setArchetype_details, setArchetype_node_id, setArchetype_node_idElement, setFeeder_audit, setLinksList, setName, setUid
Methods inherited from class org.hl7.fhir.r5.openehr.Any
copyValues
Methods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBase
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, executeFunction, 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, removeChild, setCopyUserData, setUserData, setUserDataINN, setXhtml
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 Details
-
origin
Time origin of this event history. The first event is not necessarily at the origin point. -
period
Period between samples in this segment if periodic. -
duration
Duration of the entire History; either corresponds to the duration of all the events, and/or the duration represented by the summary, if it exists. -
summary
Optional summary data that aggregates, organizes, reduces and transforms the event series. This may be a text or image that presents a graphical presentation, or some data that assists with the interpretation of the data -
eventsList
The events in the series. This attribute is of a generic type whose parameter must be a descendant of ITEM_STRUCTURE
-
-
Constructor Details
-
HISTORY
public HISTORY()Constructor -
HISTORY
Constructor
-
-
Method Details
-
getOrigin
- Returns:
origin
(Time origin of this event history. The first event is not necessarily at the origin point.)
-
hasOrigin
-
setOrigin
- Parameters:
value
-origin
(Time origin of this event history. The first event is not necessarily at the origin point.)
-
getPeriod
- Returns:
period
(Period between samples in this segment if periodic.)
-
hasPeriod
-
setPeriod
- Parameters:
value
-period
(Period between samples in this segment if periodic.)
-
getDuration
- Returns:
duration
(Duration of the entire History; either corresponds to the duration of all the events, and/or the duration represented by the summary, if it exists.)
-
hasDuration
-
setDuration
- Parameters:
value
-duration
(Duration of the entire History; either corresponds to the duration of all the events, and/or the duration represented by the summary, if it exists.)
-
getSummary
- Returns:
summary
(Optional summary data that aggregates, organizes, reduces and transforms the event series. This may be a text or image that presents a graphical presentation, or some data that assists with the interpretation of the data)
-
hasSummary
-
setSummary
- Parameters:
value
-summary
(Optional summary data that aggregates, organizes, reduces and transforms the event series. This may be a text or image that presents a graphical presentation, or some data that assists with the interpretation of the data)
-
getEventsList
- Returns:
-
invalid reference
#events
-
setEventsList
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasEvents
-
addEvents
-
listChildren
- Overrides:
listChildren
in classPATHABLE
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classPATHABLE
- 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 classPATHABLE
- 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 classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classPATHABLE
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDATA_STRUCTURE
- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copy
in classDATA_STRUCTURE
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classPATHABLE
-
equalsShallow
- Overrides:
equalsShallow
in classPATHABLE
-
isEmpty
-