public class Extension extends BaseExtension implements org.hl7.fhir.instance.model.api.IBaseExtension<Extension,Type>, org.hl7.fhir.instance.model.api.IBaseHasExtensions
| Modifier and Type | Field and Description |
|---|---|
protected UriType |
url
Source of the definition for the extension code - a logical name or a URL.
|
protected Type |
value
Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
|
| Modifier and Type | Method and Description |
|---|---|
Base |
addChild(String name) |
Extension |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
String |
fhirType() |
String |
getUrl() |
UriType |
getUrlElement() |
Type |
getValue() |
boolean |
hasUrl() |
boolean |
hasUrlElement() |
boolean |
hasValue() |
boolean |
isEmpty() |
protected void |
listChildren(List<Property> childrenList) |
void |
setProperty(String name,
Base value) |
Extension |
setUrl(String value) |
Extension |
setUrlElement(UriType value) |
Extension |
setValue(Type value) |
protected Extension |
typedCopy() |
setValueaddExtension, 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, waitgetExtension, setValueprotected UriType url
public UriType getUrlElement()
url (Source of the definition for the extension code - a logical name or a URL.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic boolean hasUrlElement()
public boolean hasUrl()
public Extension setUrlElement(UriType value)
value - url (Source of the definition for the extension code - a logical name or a URL.). This is the underlying object with id, value and extensions. The accessor "getUrl" gives direct access to the valuepublic boolean hasValue()
public Extension setValue(Type value)
setValue in class BaseExtensionvalue - value (Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).)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 ElementCopyright © 2014–2018 University Health Network. All rights reserved.