Class NarrativeDt
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.base.composite.BaseNarrativeDt
ca.uhn.fhir.model.dstu3.composite.NarrativeDt
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeDatatype,ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IDatatype,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseDatatype,org.hl7.fhir.instance.model.api.ICompositeType,org.hl7.fhir.instance.model.api.INarrative
public class NarrativeDt
extends ca.uhn.fhir.model.base.composite.BaseNarrativeDt
HAPI/FHIR Narrative Datatype
(A human-readable formatted text, including images)
Definition: A human-readable formatted text, including images
Requirements:
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType) ca.uhn.fhir.model.primitive.XhtmlDtgetDiv()Gets the value(s) for div (Limited xhtml content).ca.uhn.fhir.model.primitive.XhtmlDtGets the value(s) for div (Limited xhtml content).ca.uhn.fhir.model.primitive.BoundCodeDtbooleanisEmpty()voidsetDiv(ca.uhn.fhir.model.primitive.XhtmlDt theValue) Sets the value(s) for div (Limited xhtml content)voidSets the value using a textual DIV (or simple text block which will be converted to XHTML)Methods inherited from class ca.uhn.fhir.model.base.composite.BaseNarrativeDt
getDivAsString, getStatusAsString, setDivAsString, setStatusAsStringMethods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setIdMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserDataMethods 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
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Constructor Details
-
NarrativeDt
public NarrativeDt()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
getAllPopulatedChildElementsOfType
-
getDivElement
public ca.uhn.fhir.model.primitive.XhtmlDt getDivElement()Gets the value(s) for div (Limited xhtml content). creating it if it does not exist. Will not returnnull.Definition: The actual narrative content, a stripped down version of XHTML
-
getDiv
public ca.uhn.fhir.model.primitive.XhtmlDt getDiv()Gets the value(s) for div (Limited xhtml content). creating it if it does not exist. Will not returnnull.Definition: The actual narrative content, a stripped down version of XHTML
- Specified by:
getDivin classca.uhn.fhir.model.base.composite.BaseNarrativeDt
-
setDiv
public void setDiv(ca.uhn.fhir.model.primitive.XhtmlDt theValue) Sets the value(s) for div (Limited xhtml content)Definition: The actual narrative content, a stripped down version of XHTML
-
setDiv
Sets the value using a textual DIV (or simple text block which will be converted to XHTML) -
getStatus
public ca.uhn.fhir.model.primitive.BoundCodeDt getStatus()- Specified by:
getStatusin classca.uhn.fhir.model.base.composite.BaseNarrativeDt
-