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.dstu2.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NarrativeDt()NarrativeDt(ca.uhn.fhir.model.primitive.XhtmlDt theDiv, NarrativeStatusEnum theStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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.XhtmlDtgetDivElement()Gets the value(s) for div (Limited xhtml content).ca.uhn.fhir.model.primitive.BoundCodeDt<NarrativeStatusEnum>getStatus()Gets the value(s) for status (generated | extensions | additional).ca.uhn.fhir.model.primitive.BoundCodeDt<NarrativeStatusEnum>getStatusElement()Gets the value(s) for status (generated | extensions | additional).booleanisEmpty()voidsetDiv(ca.uhn.fhir.model.primitive.XhtmlDt theValue)Sets the value(s) for div (Limited xhtml content)voidsetDiv(String theTextDiv)Sets the value using a textual DIV (or simple text block which will be converted to XHTML)voidsetStatus(NarrativeStatusEnum theValue)Sets the value(s) for status (generated | extensions | additional)voidsetStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<NarrativeStatusEnum> theValue)Sets the value(s) for status (generated | extensions | additional)-
Methods inherited from class ca.uhn.fhir.model.base.composite.BaseNarrativeDt
getDivAsString, getStatusAsString, setDivAsString, setStatusAsString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
-
-
-
Constructor Detail
-
NarrativeDt
public NarrativeDt()
-
NarrativeDt
public NarrativeDt(ca.uhn.fhir.model.primitive.XhtmlDt theDiv, NarrativeStatusEnum theStatus)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
-
getStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<NarrativeStatusEnum> getStatusElement()
Gets the value(s) for status (generated | extensions | additional). creating it if it does not exist. Will not returnnull.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
-
getStatus
public ca.uhn.fhir.model.primitive.BoundCodeDt<NarrativeStatusEnum> getStatus()
Gets the value(s) for status (generated | extensions | additional). creating it if it does not exist. Will not returnnull.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
- Specified by:
getStatusin classca.uhn.fhir.model.base.composite.BaseNarrativeDt
-
setStatus
public void setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<NarrativeStatusEnum> theValue)
Sets the value(s) for status (generated | extensions | additional)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
-
setStatus
public void setStatus(NarrativeStatusEnum theValue)
Sets the value(s) for status (generated | extensions | additional)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
-
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
-
-