
Package org.hl7.fhir.r5.openehr
Class AUTHORED_RESOURCE
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.openehr.AUTHORED_RESOURCE
- 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 abstract class AUTHORED_RESOURCE
extends LogicalBase
implements org.hl7.fhir.instance.model.api.ICompositeType
Abstract idea of an online resource created by a human author.
- 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 RESOURCE_DESCRIPTIONDescription and lifecycle information of the resource.protected BooleanTypeTrue if this resource is under any kind of change control (even file copying), in which case revision history is created.protected CODE_PHRASELanguage in which this resource was initially authored.protected REVISION_HISTORYThe revision history of the resource.protected List<TRANSLATION_DETAILS> List of details for each natural-language translation made of this resource, keyed by language. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AUTHORED_RESOURCEcopy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()booleangetNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) setIs_controlled(boolean value) setOriginal_language(CODE_PHRASE value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setTranslationsList(List<TRANSLATION_DETAILS> theTranslations) Methods 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
-
original_language
Language in which this resource was initially authored. Although there is no language primacy of resources overall, the language of original authoring is required to ensure natural language translations can preserve quality. Language is relevant in both the description and ontology sections. -
is_controlled
True if this resource is under any kind of change control (even file copying), in which case revision history is created. -
translationsList
List of details for each natural-language translation made of this resource, keyed by language. For each translation listed here, there must be corresponding sections in all language-dependent parts of the resource. The original_language does not appear in this list. -
description
Description and lifecycle information of the resource. -
revision_history
The revision history of the resource. Only required if is_controlled = True (avoids large revision histories for informal or private editing situations).
-
-
Constructor Details
-
AUTHORED_RESOURCE
public AUTHORED_RESOURCE()Constructor -
AUTHORED_RESOURCE
Constructor
-
-
Method Details
-
getOriginal_language
- Returns:
original_language(Language in which this resource was initially authored. Although there is no language primacy of resources overall, the language of original authoring is required to ensure natural language translations can preserve quality. Language is relevant in both the description and ontology sections.)
-
hasOriginal_language
-
setOriginal_language
- Parameters:
value-original_language(Language in which this resource was initially authored. Although there is no language primacy of resources overall, the language of original authoring is required to ensure natural language translations can preserve quality. Language is relevant in both the description and ontology sections.)
-
getIs_controlledElement
- Returns:
is_controlled(True if this resource is under any kind of change control (even file copying), in which case revision history is created.). This is the underlying object with id, value and extensions. The accessor "getIs_controlled" gives direct access to the value
-
hasIs_controlledElement
-
hasIs_controlled
-
setIs_controlledElement
- Parameters:
value-is_controlled(True if this resource is under any kind of change control (even file copying), in which case revision history is created.). This is the underlying object with id, value and extensions. The accessor "getIs_controlled" gives direct access to the value
-
getIs_controlled
- Returns:
- True if this resource is under any kind of change control (even file copying), in which case revision history is created.
-
setIs_controlled
- Parameters:
value- True if this resource is under any kind of change control (even file copying), in which case revision history is created.
-
getTranslationsList
- Returns:
-
(List of details for each natural-language translation made of this resource, keyed by language. For each translation listed here, there must be corresponding sections in all language-dependent parts of the resource. The original_language does not appear in this list.)
invalid reference
#translations
-
setTranslationsList
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTranslations
-
addTranslations
-
addTranslations
-
getTranslationsFirstRep
- Returns:
- The first repetition of repeating field
, creating it if it does not already exist {3}
invalid reference
#translations
-
getDescription
- Returns:
description(Description and lifecycle information of the resource.)
-
hasDescription
-
setDescription
- Parameters:
value-description(Description and lifecycle information of the resource.)
-
getRevision_history
- Returns:
revision_history(The revision history of the resource. Only required if is_controlled = True (avoids large revision histories for informal or private editing situations).)
-
hasRevision_history
-
setRevision_history
- Parameters:
value-revision_history(The revision history of the resource. Only required if is_controlled = True (avoids large revision histories for informal or private editing situations).)
-
listChildren
- Overrides:
listChildrenin classBase
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin classBase- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
-
fhirType
-
copy
-
copyValues
-
equalsDeep
- Overrides:
equalsDeepin classBase
-
equalsShallow
- Overrides:
equalsShallowin classBase
-
isEmpty
-