Class BaseExtension

  • 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
    Direct Known Subclasses:
    Extension

    public abstract class BaseExtension
    extends DataType
    implements org.hl7.fhir.instance.model.api.IBaseExtension<Extension,​DataType>, org.hl7.fhir.instance.model.api.IBaseHasExtensions
    See Also:
    Serialized Form
    • Method Detail

      • setValue

        public Extension setValue​(org.hl7.fhir.instance.model.api.IBaseDatatype theValue)
        Specified by:
        setValue in interface org.hl7.fhir.instance.model.api.IBaseExtension<Extension,​DataType>
      • getValueAsPrimitive

        public org.hl7.fhir.instance.model.api.IPrimitiveType<?> getValueAsPrimitive()
        Returns the value of this extension cast as a IPrimitiveType. This method is just a convenience method for easy chaining.