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()
Constructor
|
Narrative(Enumeration<Narrative.NarrativeStatus> status,
org.hl7.fhir.utilities.xhtml.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() |
org.hl7.fhir.utilities.xhtml.XhtmlNode |
getDiv() |
Base[] |
getProperty(int hash,
String name,
boolean checkValid) |
Narrative.NarrativeStatus |
getStatus() |
Enumeration<Narrative.NarrativeStatus> |
getStatusElement() |
boolean |
hasDiv() |
boolean |
hasStatus() |
boolean |
hasStatusElement() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
Base |
makeProperty(int hash,
String name) |
Narrative |
setDiv(org.hl7.fhir.utilities.xhtml.XhtmlNode value) |
void |
setProperty(int hash,
String name,
Base value) |
void |
setProperty(String name,
Base value) |
Narrative |
setStatus(Narrative.NarrativeStatus value) |
Narrative |
setStatusElement(Enumeration<Narrative.NarrativeStatus> value) |
protected Narrative |
typedCopy() |
getDivAsString, getStatusAsString, setDivAsString, setStatusAsStringaddExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, 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()
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 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 Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2018 University Health Network. All rights reserved.