public class NarrativeDt extends BaseIdentifiableElement implements ICompositeDatatype
Definition: A human-readable formatted text, including images
Requirements:
| Constructor and Description |
|---|
NarrativeDt() |
NarrativeDt(XhtmlDt theDiv,
NarrativeStatusEnum theStatus) |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
XhtmlDt |
getDiv()
Gets the value(s) for div (Limited xhtml content).
|
BoundCodeDt<NarrativeStatusEnum> |
getStatus()
Gets the value(s) for status (generated | extensions | additional).
|
boolean |
isEmpty() |
void |
setDiv(String theTextDiv)
Sets the value using a textual DIV (or simple text block which will be
converted to XHTML)
|
void |
setDiv(XhtmlDt theValue)
Sets the value(s) for div (Limited xhtml content)
|
void |
setStatus(BoundCodeDt<NarrativeStatusEnum> theValue)
Sets the value(s) for status (generated | extensions | additional)
|
void |
setStatus(NarrativeStatusEnum theValue)
Sets the value(s) for status (generated | extensions | additional)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptypublic NarrativeDt()
public NarrativeDt(XhtmlDt theDiv, NarrativeStatusEnum theStatus)
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic BoundCodeDt<NarrativeStatusEnum> getStatus()
null.
Definition: The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data
public void setStatus(BoundCodeDt<NarrativeStatusEnum> theValue)
Definition: The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data
public void setStatus(NarrativeStatusEnum theValue)
Definition: The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data
public XhtmlDt getDiv()
null.
Definition: The actual narrative content, a stripped down version of XHTML
public void setDiv(XhtmlDt theValue)
Definition: The actual narrative content, a stripped down version of XHTML
public void setDiv(String theTextDiv)
Copyright © 2014 University Health Network. All rights reserved.