Class Extension

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseDatatype, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseExtension<Extension,DataType>, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.ICompositeType

public class Extension extends BaseExtension implements org.hl7.fhir.instance.model.api.IBaseExtension<Extension,DataType>, org.hl7.fhir.instance.model.api.IBaseHasExtensions
Extension Type: Optional Extension Element - found in all resources.
See Also:
  • Field Details

    • url

      protected UriType url
      Source of the definition for the extension code - a logical name or a URL.
    • value

      protected DataType value
      Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
  • Constructor Details

    • Extension

      public Extension()
      Constructor
    • Extension

      public Extension(String url)
      Constructor
    • Extension

      public Extension(String theUrl, org.hl7.fhir.instance.model.api.IBaseDatatype theValue)
      Constructor
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getUrlElement

      Returns:
      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 value
    • hasUrlElement

      public boolean hasUrlElement()
    • hasUrl

      public boolean hasUrl()
    • setUrlElement

      Parameters:
      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 value
    • getUrl

      public String getUrl()
      Specified by:
      getUrl in interface org.hl7.fhir.instance.model.api.IBaseExtension<Extension,DataType>
      Returns:
      Source of the definition for the extension code - a logical name or a URL.
    • setUrl

      public Extension setUrl(String value)
      Specified by:
      setUrl in interface org.hl7.fhir.instance.model.api.IBaseExtension<Extension,DataType>
      Parameters:
      value - Source of the definition for the extension code - a logical name or a URL.
    • getValue

      public DataType getValue()
      Specified by:
      getValue in interface org.hl7.fhir.instance.model.api.IBaseExtension<Extension,DataType>
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
    • getValueBase64BinaryType

      public Base64BinaryType getValueBase64BinaryType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueBase64BinaryType

      public boolean hasValueBase64BinaryType()
    • getValueBooleanType

      public BooleanType getValueBooleanType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueBooleanType

      public boolean hasValueBooleanType()
    • getValueCanonicalType

      public CanonicalType getValueCanonicalType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCanonicalType

      public boolean hasValueCanonicalType()
    • getValueCodeType

      public CodeType getValueCodeType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCodeType

      public boolean hasValueCodeType()
    • getValueDateType

      public DateType getValueDateType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDateType

      public boolean hasValueDateType()
    • getValueDateTimeType

      public DateTimeType getValueDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDateTimeType

      public boolean hasValueDateTimeType()
    • getValueDecimalType

      public DecimalType getValueDecimalType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDecimalType

      public boolean hasValueDecimalType()
    • getValueIdType

      public IdType getValueIdType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueIdType

      public boolean hasValueIdType()
    • getValueInstantType

      public InstantType getValueInstantType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueInstantType

      public boolean hasValueInstantType()
    • getValueIntegerType

      public IntegerType getValueIntegerType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueIntegerType

      public boolean hasValueIntegerType()
    • getValueInteger64Type

      public Integer64Type getValueInteger64Type() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueInteger64Type

      public boolean hasValueInteger64Type()
    • getValueMarkdownType

      public MarkdownType getValueMarkdownType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueMarkdownType

      public boolean hasValueMarkdownType()
    • getValueOidType

      public OidType getValueOidType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueOidType

      public boolean hasValueOidType()
    • getValuePositiveIntType

      public PositiveIntType getValuePositiveIntType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValuePositiveIntType

      public boolean hasValuePositiveIntType()
    • getValueStringType

      public StringType getValueStringType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueStringType

      public boolean hasValueStringType()
    • getValueTimeType

      public TimeType getValueTimeType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueTimeType

      public boolean hasValueTimeType()
    • getValueUnsignedIntType

      public UnsignedIntType getValueUnsignedIntType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueUnsignedIntType

      public boolean hasValueUnsignedIntType()
    • getValueUriType

      public UriType getValueUriType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueUriType

      public boolean hasValueUriType()
    • getValueUrlType

      public UrlType getValueUrlType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueUrlType

      public boolean hasValueUrlType()
    • getValueUuidType

      public UuidType getValueUuidType() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueUuidType

      public boolean hasValueUuidType()
    • getValueAddress

      public Address getValueAddress() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueAddress

      public boolean hasValueAddress()
    • getValueAge

      public Age getValueAge() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueAge

      public boolean hasValueAge()
    • getValueAnnotation

      public Annotation getValueAnnotation() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueAnnotation

      public boolean hasValueAnnotation()
    • getValueAttachment

      public Attachment getValueAttachment() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueAttachment

      public boolean hasValueAttachment()
    • getValueCodeableConcept

      public CodeableConcept getValueCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCodeableConcept

      public boolean hasValueCodeableConcept()
    • getValueCodeableReference

      public CodeableReference getValueCodeableReference() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCodeableReference

      public boolean hasValueCodeableReference()
    • getValueCoding

      public Coding getValueCoding() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCoding

      public boolean hasValueCoding()
    • getValueContactPoint

      public ContactPoint getValueContactPoint() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueContactPoint

      public boolean hasValueContactPoint()
    • getValueCount

      public Count getValueCount() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueCount

      public boolean hasValueCount()
    • getValueDistance

      public Distance getValueDistance() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDistance

      public boolean hasValueDistance()
    • getValueDuration

      public Duration getValueDuration() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDuration

      public boolean hasValueDuration()
    • getValueHumanName

      public HumanName getValueHumanName() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueHumanName

      public boolean hasValueHumanName()
    • getValueIdentifier

      public Identifier getValueIdentifier() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueIdentifier

      public boolean hasValueIdentifier()
    • getValueMoney

      public Money getValueMoney() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueMoney

      public boolean hasValueMoney()
    • getValuePeriod

      public Period getValuePeriod() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValuePeriod

      public boolean hasValuePeriod()
    • getValueQuantity

      public Quantity getValueQuantity() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueQuantity

      public boolean hasValueQuantity()
    • getValueRange

      public Range getValueRange() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueRange

      public boolean hasValueRange()
    • getValueRatio

      public Ratio getValueRatio() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueRatio

      public boolean hasValueRatio()
    • getValueRatioRange

      public RatioRange getValueRatioRange() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueRatioRange

      public boolean hasValueRatioRange()
    • getValueReference

      public Reference getValueReference() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueReference

      public boolean hasValueReference()
    • getValueSampledData

      public SampledData getValueSampledData() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueSampledData

      public boolean hasValueSampledData()
    • getValueSignature

      public Signature getValueSignature() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueSignature

      public boolean hasValueSignature()
    • getValueTiming

      public Timing getValueTiming() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueTiming

      public boolean hasValueTiming()
    • getValueContactDetail

      public ContactDetail getValueContactDetail() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueContactDetail

      public boolean hasValueContactDetail()
    • getValueDataRequirement

      public DataRequirement getValueDataRequirement() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDataRequirement

      public boolean hasValueDataRequirement()
    • getValueExpression

      public Expression getValueExpression() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueExpression

      public boolean hasValueExpression()
    • getValueParameterDefinition

      public ParameterDefinition getValueParameterDefinition() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueParameterDefinition

      public boolean hasValueParameterDefinition()
    • getValueRelatedArtifact

      public RelatedArtifact getValueRelatedArtifact() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueRelatedArtifact

      public boolean hasValueRelatedArtifact()
    • getValueTriggerDefinition

      public TriggerDefinition getValueTriggerDefinition() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueTriggerDefinition

      public boolean hasValueTriggerDefinition()
    • getValueUsageContext

      public UsageContext getValueUsageContext() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueUsageContext

      public boolean hasValueUsageContext()
    • getValueAvailability

      public Availability getValueAvailability() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueAvailability

      public boolean hasValueAvailability()
    • getValueExtendedContactDetail

      public ExtendedContactDetail getValueExtendedContactDetail() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueExtendedContactDetail

    • getValueDosage

      public Dosage getValueDosage() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueDosage

      public boolean hasValueDosage()
    • getValueMeta

      public Meta getValueMeta() throws org.hl7.fhir.exceptions.FHIRException
      Returns:
      value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • hasValueMeta

      public boolean hasValueMeta()
    • hasValue

      public boolean hasValue()
    • setValue

      public Extension setValue(DataType value)
      Specified by:
      setValue in class BaseExtension
      Parameters:
      value - value (Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).)
    • listChildren

      protected void listChildren(List<Property> children)
      Overrides:
      listChildren in class Element
    • getNamedProperty

      public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getNamedProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getProperty

      public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • removeChild

      public void removeChild(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      removeChild in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • makeProperty

      public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      makeProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getTypesForProperty

      public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getTypesForProperty in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class Element
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class DataType
      Returns:
      the FHIR type name of the instance (not the java class name)
    • copy

      public Extension copy()
      Specified by:
      copy in class DataType
    • copyValues

      public void copyValues(Extension dst)
    • typedCopy

      protected Extension typedCopy()
    • equalsDeep

      public boolean equalsDeep(Base other_)
      Overrides:
      equalsDeep in class Element
    • equalsShallow

      public boolean equalsShallow(Base other_)
      Overrides:
      equalsShallow in class Element
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class Element