
Package org.hl7.fhir.r5.openehr
Class EVENT
- 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
- Direct Known Subclasses:
INTERVAL_EVENT,POINT_EVENT
public abstract class EVENT
extends LOCATABLE
implements org.hl7.fhir.instance.model.api.ICompositeType
Defines the abstract notion of a single event in a series. This class is generic, allowing types to be generated which are locked to particular spatial types, such as EVENT. Subtypes express point or intveral data.
- 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 AnyThe data of this event.protected ITEM_STRUCTUREOptional state data for this event.protected DV_DATE_TIMETime of this event.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 TypeMethodDescriptionabstract EVENTcopy()voidcopyValues(EVENT dst) booleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getData()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) getState()getTime()String[]getTypesForProperty(int hash, String name) booleanhasData()booleanhasState()booleanhasTime()booleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setState(ITEM_STRUCTURE value) setTime(DV_DATE_TIME value) Methods inherited from class org.hl7.fhir.r5.openehr.LOCATABLE
copyValuesMethods 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, setUidMethods inherited from class org.hl7.fhir.r5.openehr.Any
copyValuesMethods inherited from class org.hl7.fhir.r5.model.LogicalBase
getFHIRPublicationVersion, getIdBase, setIdBaseMethods 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, setXhtmlMethods 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, setUserData
-
Field Details
-
time
Time of this event. If the width is non-zero, it is the time point of the trailing edge of the event -
state
Optional state data for this event. -
data
The data of this event.
-
-
Constructor Details
-
EVENT
public EVENT()Constructor -
EVENT
Constructor
-
-
Method Details
-
getTime
- Returns:
time(Time of this event. If the width is non-zero, it is the time point of the trailing edge of the event)
-
hasTime
-
setTime
- Parameters:
value-time(Time of this event. If the width is non-zero, it is the time point of the trailing edge of the event)
-
getState
- Returns:
state(Optional state data for this event.)
-
hasState
-
setState
- Parameters:
value-state(Optional state data for this event.)
-
getData
- Returns:
data(The data of this event.)
-
hasData
-
setData
- Parameters:
value-data(The data of this event.)
-
listChildren
- Overrides:
listChildrenin classPATHABLE
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classPATHABLE- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
copyValues
-
equalsDeep
- Overrides:
equalsDeepin classPATHABLE
-
equalsShallow
- Overrides:
equalsShallowin classPATHABLE
-
isEmpty
-