
Package org.hl7.fhir.r5.openehr
Class DV_TEXT
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.LogicalBase
org.hl7.fhir.r5.openehr.DATA_VALUE
org.hl7.fhir.r5.openehr.DV_TEXT
- 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:
DV_CODED_TEXT
A text item, which may contain any amount of legal characters arranged as e.g. words, sentences etc (i.e. one DV_TEXT may be more than one word). Visual formatting and hyperlinks may be included via markdown.
- 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 CODE_PHRASE
Name of character encoding scheme in which this value is encoded.protected StringType
If set, contains one of the following values: 'plain': use for plain text, possibly containing newlines, but otherwise unformatted (same as Void); 'plain_no_newlines': use for text containing no newlines or other formatting; 'markdown': use for markdown formatted text, strongly recommended in the format of the CommonMark specification.protected DV_URI
DEPRECATED: this field is deprecated; use markdown link/text in the value attribute, and 'markdown' as the value of the formatting field.protected CODE_PHRASE
Optional indicator of the localised language in which the value is written.protected List
<TERM_MAPPING> Terms from other terminologies most closely matching this term, typically used where the originator (e.g. pathology lab) of information uses a local terminology but also supplies one or more equivalents from well known terminologies (e.g.protected StringType
Displayable rendition of the item, regardless of its underlying structure. -
Constructor Summary
ConstructorsConstructorDescriptionDV_TEXT()
ConstructorDV_TEXT
(String value, TERM_MAPPING mappings) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
copyValues
(DV_TEXT dst) 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) getValue()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasValue()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setEncoding
(CODE_PHRASE value) setFormatting
(String value) setFormattingElement
(StringType value) setHyperlink
(DV_URI value) setLanguage
(CODE_PHRASE value) setMappingsList
(List<TERM_MAPPING> theMappings) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setValueElement
(StringType value) protected DV_TEXT
Methods inherited from class org.hl7.fhir.r5.openehr.DATA_VALUE
copyValues
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
-
value
Displayable rendition of the item, regardless of its underlying structure. For DV_CODED_TEXT, this is the rubric of the complete term as provided by the terminology service. -
hyperlink
DEPRECATED: this field is deprecated; use markdown link/text in the value attribute, and 'markdown' as the value of the formatting field. -
formatting
If set, contains one of the following values: 'plain': use for plain text, possibly containing newlines, but otherwise unformatted (same as Void); 'plain_no_newlines': use for text containing no newlines or other formatting; 'markdown': use for markdown formatted text, strongly recommended in the format of the CommonMark specification. DEPRECATED usage: contains a string of the form ```'name:value; name:value??'``` , e.g. ```'font-weight : bold; font-family : Arial; font-size : 12pt;'```. Values taken from W3C CSS2 properties lists for background and font -
mappingsList
Terms from other terminologies most closely matching this term, typically used where the originator (e.g. pathology lab) of information uses a local terminology but also supplies one or more equivalents from well known terminologies (e.g. LOINC). -
language
Optional indicator of the localised language in which the value is written. Coded from openEHR Code Set languages . Only used when either the text object is in a different language from the enclosing ENTRY, or else the text object is being used outside of an ENTRY or other enclosing structure which indicates the language. -
encoding
Name of character encoding scheme in which this value is encoded. Coded from openEHR Code Set character sets . Unicode is the default assumption in openEHR, with UTF-8 being the assumed encoding. This attribute allows for variations from these assumptions.
-
-
Constructor Details
-
DV_TEXT
public DV_TEXT()Constructor -
DV_TEXT
Constructor
-
-
Method Details
-
getValueElement
- Returns:
value
(Displayable rendition of the item, regardless of its underlying structure. For DV_CODED_TEXT, this is the rubric of the complete term as provided by the terminology service.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value
-
hasValueElement
-
hasValue
-
setValueElement
- Parameters:
value
-value
(Displayable rendition of the item, regardless of its underlying structure. For DV_CODED_TEXT, this is the rubric of the complete term as provided by the terminology service.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value
-
getValue
- Returns:
- Displayable rendition of the item, regardless of its underlying structure. For DV_CODED_TEXT, this is the rubric of the complete term as provided by the terminology service.
-
setValue
- Parameters:
value
- Displayable rendition of the item, regardless of its underlying structure. For DV_CODED_TEXT, this is the rubric of the complete term as provided by the terminology service.
-
getHyperlink
- Returns:
hyperlink
(DEPRECATED: this field is deprecated; use markdown link/text in the value attribute, and 'markdown' as the value of the formatting field.)
-
hasHyperlink
-
setHyperlink
- Parameters:
value
-hyperlink
(DEPRECATED: this field is deprecated; use markdown link/text in the value attribute, and 'markdown' as the value of the formatting field.)
-
getFormattingElement
- Returns:
formatting
(If set, contains one of the following values: 'plain': use for plain text, possibly containing newlines, but otherwise unformatted (same as Void); 'plain_no_newlines': use for text containing no newlines or other formatting; 'markdown': use for markdown formatted text, strongly recommended in the format of the CommonMark specification. DEPRECATED usage: contains a string of the form ```'name:value; name:value??'``` , e.g. ```'font-weight : bold; font-family : Arial; font-size : 12pt;'```. Values taken from W3C CSS2 properties lists for background and font). This is the underlying object with id, value and extensions. The accessor "getFormatting" gives direct access to the value
-
hasFormattingElement
-
hasFormatting
-
setFormattingElement
- Parameters:
value
-formatting
(If set, contains one of the following values: 'plain': use for plain text, possibly containing newlines, but otherwise unformatted (same as Void); 'plain_no_newlines': use for text containing no newlines or other formatting; 'markdown': use for markdown formatted text, strongly recommended in the format of the CommonMark specification. DEPRECATED usage: contains a string of the form ```'name:value; name:value??'``` , e.g. ```'font-weight : bold; font-family : Arial; font-size : 12pt;'```. Values taken from W3C CSS2 properties lists for background and font). This is the underlying object with id, value and extensions. The accessor "getFormatting" gives direct access to the value
-
getFormatting
- Returns:
- If set, contains one of the following values: 'plain': use for plain text, possibly containing newlines, but otherwise unformatted (same as Void); 'plain_no_newlines': use for text containing no newlines or other formatting; 'markdown': use for markdown formatted text, strongly recommended in the format of the CommonMark specification. DEPRECATED usage: contains a string of the form ```'name:value; name:value??'``` , e.g. ```'font-weight : bold; font-family : Arial; font-size : 12pt;'```. Values taken from W3C CSS2 properties lists for background and font
-
setFormatting
- Parameters:
value
- If set, contains one of the following values: 'plain': use for plain text, possibly containing newlines, but otherwise unformatted (same as Void); 'plain_no_newlines': use for text containing no newlines or other formatting; 'markdown': use for markdown formatted text, strongly recommended in the format of the CommonMark specification. DEPRECATED usage: contains a string of the form ```'name:value; name:value??'``` , e.g. ```'font-weight : bold; font-family : Arial; font-size : 12pt;'```. Values taken from W3C CSS2 properties lists for background and font
-
getMappingsList
- Returns:
-
invalid reference
#mappings
-
setMappingsList
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasMappings
-
addMappings
-
addMappings
-
getMappingsFirstRep
- Returns:
- The first repetition of repeating field
invalid reference
#mappings
-
getLanguage
- Returns:
language
(Optional indicator of the localised language in which the value is written. Coded from openEHR Code Set languages . Only used when either the text object is in a different language from the enclosing ENTRY, or else the text object is being used outside of an ENTRY or other enclosing structure which indicates the language.)
-
hasLanguage
-
setLanguage
- Parameters:
value
-language
(Optional indicator of the localised language in which the value is written. Coded from openEHR Code Set languages . Only used when either the text object is in a different language from the enclosing ENTRY, or else the text object is being used outside of an ENTRY or other enclosing structure which indicates the language.)
-
getEncoding
- Returns:
encoding
(Name of character encoding scheme in which this value is encoded. Coded from openEHR Code Set character sets . Unicode is the default assumption in openEHR, with UTF-8 being the assumed encoding. This attribute allows for variations from these assumptions.)
-
hasEncoding
-
setEncoding
- Parameters:
value
-encoding
(Name of character encoding scheme in which this value is encoded. Coded from openEHR Code Set character sets . Unicode is the default assumption in openEHR, with UTF-8 being the assumed encoding. This attribute allows for variations from these assumptions.)
-
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
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDATA_VALUE
- Returns:
- the FHIR type name of the instance (not the java class name)
-
copy
- Specified by:
copy
in classDATA_VALUE
-
copyValues
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classBase
-
equalsShallow
- Overrides:
equalsShallow
in classBase
-
isEmpty
-