public class Narrative extends BaseNarrative implements org.hl7.fhir.instance.model.api.INarrative
| Modifier and Type | Class and Description |
|---|---|
static class |
Narrative.NarrativeStatus |
static class |
Narrative.NarrativeStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected org.hl7.fhir.utilities.xhtml.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() |
Narrative(Enumeration<Narrative.NarrativeStatus> status,
org.hl7.fhir.utilities.xhtml.XhtmlNode div) |
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Narrative |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
org.hl7.fhir.utilities.xhtml.XhtmlNode |
getDiv() |
Narrative.NarrativeStatus |
getStatus() |
String |
getStatusAsString() |
Enumeration<Narrative.NarrativeStatus> |
getStatusElement() |
boolean |
hasDiv() |
boolean |
hasStatus() |
boolean |
hasStatusElement() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Narrative |
setDiv(org.hl7.fhir.utilities.xhtml.XhtmlNode value) |
void |
setProperty(String name,
Base value) |
Narrative |
setStatus(Narrative.NarrativeStatus value) |
org.hl7.fhir.instance.model.api.INarrative |
setStatusAsString(String theString) |
Narrative |
setStatusElement(Enumeration<Narrative.NarrativeStatus> value) |
protected Narrative |
typedCopy() |
getDivAsString, setDivAsStringaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected Enumeration<Narrative.NarrativeStatus> status
protected org.hl7.fhir.utilities.xhtml.XhtmlNode div
public Narrative()
public Narrative(Enumeration<Narrative.NarrativeStatus> status, org.hl7.fhir.utilities.xhtml.XhtmlNode div)
public Enumeration<Narrative.NarrativeStatus> getStatusElement()
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 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 org.hl7.fhir.utilities.xhtml.XhtmlNode getDiv()
getDiv in class BaseNarrativediv (The actual narrative content, a stripped down version of XHTML.)public boolean hasDiv()
public Narrative setDiv(org.hl7.fhir.utilities.xhtml.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 void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class Elementpublic boolean isEmpty()
public org.hl7.fhir.instance.model.api.INarrative setStatusAsString(String theString)
setStatusAsString in interface org.hl7.fhir.instance.model.api.INarrativepublic String getStatusAsString()
getStatusAsString in interface org.hl7.fhir.instance.model.api.INarrativeCopyright © 2014–2018 University Health Network. All rights reserved.