
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_DESCRIPTION
Description and lifecycle information of the resource.protected BooleanType
True if this resource is under any kind of change control (even file copying), in which case revision history is created.protected CODE_PHRASE
Language in which this resource was initially authored.protected REVISION_HISTORY
The 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_RESOURCE
copy()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
boolean
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
boolean
isEmpty()
protected void
listChildren
(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, 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
-
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:
-
invalid reference
#translations
-
setTranslationsList
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasTranslations
-
addTranslations
-
addTranslations
-
getTranslationsFirstRep
- Returns:
- The first repetition of repeating field
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:
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
-
equalsDeep
- Overrides:
equalsDeep
in classBase
-
equalsShallow
- Overrides:
equalsShallow
in classBase
-
isEmpty
-