
Package org.hl7.fhir.r5.openehr
Class CONTRIBUTION
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.openehr.CONTRIBUTION
- 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 CONTRIBUTION
extends LogicalBase
implements org.hl7.fhir.instance.model.api.ICompositeType
Documents a Contribution (change set) of one or more versions added to a change-controlled repository.
- 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 AUDIT_DETAILS
Audit trail corresponding to the committal of this Contribution.protected HIER_OBJECT_ID
Unique identifier for this Contribution.protected List
<OBJECT_REF> Set of references to Versions causing changes to this EHR. -
Constructor Summary
ConstructorsConstructorDescriptionConstructorCONTRIBUTION
(HIER_OBJECT_ID uid, OBJECT_REF versions, AUDIT_DETAILS audit) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyValues
(CONTRIBUTION dst) boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getAudit()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) getUid()
boolean
hasAudit()
boolean
hasUid()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setAudit
(AUDIT_DETAILS value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setUid
(HIER_OBJECT_ID value) setVersionsList
(List<OBJECT_REF> theVersions) protected CONTRIBUTION
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 for this Contribution. -
versionsList
Set of references to Versions causing changes to this EHR. Each contribution contains a list of versions, which may include paths pointing to any number of versionable items, i.e. items of types such as COMPOSITION and FOLDER. -
audit
Audit trail corresponding to the committal of this Contribution.
-
-
Constructor Details
-
CONTRIBUTION
public CONTRIBUTION()Constructor -
CONTRIBUTION
Constructor
-
-
Method Details
-
getUid
- Returns:
uid
(Unique identifier for this Contribution.)
-
hasUid
-
setUid
- Parameters:
value
-uid
(Unique identifier for this Contribution.)
-
getVersionsList
- Returns:
-
invalid reference
#versions
-
setVersionsList
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasVersions
-
addVersions
-
addVersions
-
getVersionsFirstRep
- Returns:
- The first repetition of repeating field
invalid reference
#versions
-
getAudit
- Returns:
audit
(Audit trail corresponding to the committal of this Contribution.)
-
hasAudit
-
setAudit
- Parameters:
value
-audit
(Audit trail corresponding to the committal of this Contribution.)
-
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
-