public class Narrative extends BaseNarrative implements INarrative
| Modifier and Type | Class and Description |
|---|---|
static class |
Narrative.NarrativeStatus |
static class |
Narrative.NarrativeStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected XhtmlNode |
div
The actual narrative content, a stripped down version of XHTML.
|
protected Enumeration<Narrative.NarrativeStatus> |
status
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.
|
| Constructor and Description |
|---|
Narrative()
Constructor
|
Narrative(Enumeration<Narrative.NarrativeStatus> status,
XhtmlNode div)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Narrative |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
XhtmlNode |
getDiv() |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
Narrative.NarrativeStatus |
getStatus() |
Enumeration<Narrative.NarrativeStatus> |
getStatusElement() |
String[] |
getTypesForProperty(int hash,
String name) |
boolean |
hasDiv() |
boolean |
hasStatus() |
boolean |
hasStatusElement() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
Narrative |
setDiv(XhtmlNode value) |
Base |
setProperty(int hash,
String name,
Base value) |
Base |
setProperty(String name,
Base value) |
Narrative |
setStatus(Narrative.NarrativeStatus value) |
Narrative |
setStatusElement(Enumeration<Narrative.NarrativeStatus> value) |
protected Narrative |
typedCopy() |
getDivAsString, getStatusAsString, setDivAsString, setStatusAsStringaddExtension, addExtension, addExtension, copyValues, getExtension, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDivAsString, getStatusAsString, setDivAsString, setStatusAsStringgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected Enumeration<Narrative.NarrativeStatus> status
public Narrative()
public Narrative(Enumeration<Narrative.NarrativeStatus> status, XhtmlNode div)
public Enumeration<Narrative.NarrativeStatus> getStatusElement()
getStatusElement in class BaseNarrativestatus (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.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public Narrative setStatusElement(Enumeration<Narrative.NarrativeStatus> value)
value - status (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.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic Narrative.NarrativeStatus getStatus()
public Narrative setStatus(Narrative.NarrativeStatus value)
value - 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 XhtmlNode getDiv()
getDiv in class BaseNarrativediv (The actual narrative content, a stripped down version of XHTML.)public boolean hasDiv()
public Narrative setDiv(XhtmlNode value)
setDiv in class BaseNarrativevalue - div (The actual narrative content, a stripped down version of XHTML.)protected void listChildren(List<Property> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class ElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ElementFHIRExceptionpublic boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2017 University Health Network. All rights reserved.