
Package org.hl7.fhir.r5.openehr
Class VERSIONED_OBJECT
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.openehr.VERSIONED_OBJECT
- 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:
VERSIONED_COMPOSITION
,VERSIONED_EHR_ACCESS
,VERSIONED_EHR_STATUS
,VERSIONED_FOLDER
,VERSIONED_PARTY
public class VERSIONED_OBJECT
extends LogicalBase
implements org.hl7.fhir.instance.model.api.ICompositeType
Version control abstraction, defining semantics for versioning one complex object.
- 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 OBJECT_REF
Reference to object to which this version container belongs, e.g. the id of the containing EHR or other relevant owning entity.protected DV_DATE_TIME
Time of initial creation of this versioned object.protected HIER_OBJECT_ID
Unique identifier of this version container in the form of a UID with no extension. -
Constructor Summary
ConstructorsConstructorDescriptionConstructorVERSIONED_OBJECT
(HIER_OBJECT_ID uid, OBJECT_REF owner_id, DV_DATE_TIME time_created) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
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) getUid()
boolean
boolean
boolean
hasUid()
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setOwner_id
(OBJECT_REF value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setTime_created
(DV_DATE_TIME value) setUid
(HIER_OBJECT_ID value) protected VERSIONED_OBJECT
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
-
uid
Unique identifier of this version container in the form of a UID with no extension. This id will be the same in all instances of the same container in a distributed environment, meaning that it can be understood as the uid of the virtual version tree. -
owner_id
Reference to object to which this version container belongs, e.g. the id of the containing EHR or other relevant owning entity. -
time_created
Time of initial creation of this versioned object.
-
-
Constructor Details
-
VERSIONED_OBJECT
public VERSIONED_OBJECT()Constructor -
VERSIONED_OBJECT
Constructor
-
-
Method Details
-
getUid
- Returns:
uid
(Unique identifier of this version container in the form of a UID with no extension. This id will be the same in all instances of the same container in a distributed environment, meaning that it can be understood as the uid of the virtual version tree.)
-
hasUid
-
setUid
- Parameters:
value
-uid
(Unique identifier of this version container in the form of a UID with no extension. This id will be the same in all instances of the same container in a distributed environment, meaning that it can be understood as the uid of the virtual version tree.)
-
getOwner_id
- Returns:
owner_id
(Reference to object to which this version container belongs, e.g. the id of the containing EHR or other relevant owning entity.)
-
hasOwner_id
-
setOwner_id
- Parameters:
value
-owner_id
(Reference to object to which this version container belongs, e.g. the id of the containing EHR or other relevant owning entity.)
-
getTime_created
- Returns:
time_created
(Time of initial creation of this versioned object.)
-
hasTime_created
-
setTime_created
- Parameters:
value
-time_created
(Time of initial creation of this versioned object.)
-
listChildren
- Overrides:
listChildren
in classBase
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classBase
- 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 classBase
- 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 classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classBase
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classBase
-
equalsShallow
- Overrides:
equalsShallow
in classBase
-
isEmpty
-