public abstract class Element extends Base implements org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseElement
| Modifier and Type | Field and Description |
|---|---|
protected List<Extension> |
extension
May be used to represent additional information that is not part of the basic definition of the element.
|
protected IdType |
id
unique id for the element within a resource (for internal references).
|
| Constructor and Description |
|---|
Element()
Constructor
|
castToActionDefinition, 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, setUserDataINNprotected List<Extension> extension
public Element()
public IdType getIdElement()
id (unique id for the element within a resource (for internal references).). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the valuepublic boolean hasIdElement()
public boolean hasId()
public Element setIdElement(IdType value)
value - id (unique id for the element within a resource (for internal references).). This is the underlying object with id, value and extensions. The accessor "getId" gives direct access to the valuepublic String getId()
getId in interface org.hl7.fhir.instance.model.api.IBaseElementpublic Element setId(String value)
setId in interface org.hl7.fhir.instance.model.api.IBaseElementvalue - unique id for the element within a resource (for internal references).public List<Extension> getExtension()
getExtension in interface org.hl7.fhir.instance.model.api.IBaseHasExtensionsextension (May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.)public boolean hasExtension()
hasExtension in interface org.hl7.fhir.instance.model.api.IBaseHasExtensionspublic Extension addExtension()
addExtension in interface org.hl7.fhir.instance.model.api.IBaseHasExtensionsextension (May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.)public Element addExtension(Extension t)
public List<Extension> getExtensionsByUrl(String theUrl)
theUrl - The URL. Must not be blank or null.public boolean hasExtension(String theUrl)
public String getExtensionString(String theUrl) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionprotected void listChildren(List<Property> childrenList)
listChildren in class Basepublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Baseorg.hl7.fhir.exceptions.FHIRExceptionpublic void copyValues(Element dst)
public boolean equalsDeep(Base other)
equalsDeep in class Basepublic boolean equalsShallow(Base other)
equalsShallow in class BaseCopyright © 2014–2018 University Health Network. All rights reserved.