public class Annotation extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Field and Description |
|---|---|
protected Type |
author
The individual responsible for making the annotation.
|
protected StringType |
text
The text of the annotation.
|
protected DateTimeType |
time
Indicates when this particular annotation was made.
|
| Constructor and Description |
|---|
Annotation()
Constructor
|
Annotation(StringType text)
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNprotected DateTimeType time
protected StringType text
public Annotation()
public Annotation(StringType text)
public Type getAuthor()
author (The individual responsible for making the annotation.)public Reference getAuthorReference() throws org.hl7.fhir.exceptions.FHIRException
author (The individual responsible for making the annotation.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAuthorReference()
public StringType getAuthorStringType() throws org.hl7.fhir.exceptions.FHIRException
author (The individual responsible for making the annotation.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAuthorStringType()
public boolean hasAuthor()
public Annotation setAuthor(Type value)
value - author (The individual responsible for making the annotation.)public DateTimeType getTimeElement()
time (Indicates when this particular annotation was made.). This is the underlying object with id, value and extensions. The accessor "getTime" gives direct access to the valuepublic boolean hasTimeElement()
public boolean hasTime()
public Annotation setTimeElement(DateTimeType value)
value - time (Indicates when this particular annotation was made.). This is the underlying object with id, value and extensions. The accessor "getTime" gives direct access to the valuepublic Annotation setTime(Date value)
value - Indicates when this particular annotation was made.public StringType getTextElement()
text (The text of the annotation.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic boolean hasTextElement()
public boolean hasText()
public Annotation setTextElement(StringType value)
value - text (The text of the annotation.). This is the underlying object with id, value and extensions. The accessor "getText" gives direct access to the valuepublic Annotation setText(String value)
value - The text of the annotation.protected void listChildren(List<Property> children)
listChildren in class Elementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base 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 String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Annotation copy()
protected Annotation typedCopy()
public boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class ElementCopyright © 2014–2018 University Health Network. All rights reserved.