Package org.hl7.fhir

Class Extension

  • All Implemented Interfaces:
    org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

    public class Extension
    extends Element
    implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
    If the element is present, it must have a value for at least one of the defined elements, an @id referenced from the Narrative, or extensions

    Java class for Extension complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="Extension">
       <complexContent>
         <extension base="{http://hl7.org/fhir}Element">
           <sequence>
             <choice minOccurs="0">
               <element name="valueBoolean" type="{http://hl7.org/fhir}boolean"/>
               <element name="valueInteger" type="{http://hl7.org/fhir}integer"/>
               <element name="valueDecimal" type="{http://hl7.org/fhir}decimal"/>
               <element name="valueBase64Binary" type="{http://hl7.org/fhir}base64Binary"/>
               <element name="valueInstant" type="{http://hl7.org/fhir}instant"/>
               <element name="valueString" type="{http://hl7.org/fhir}string"/>
               <element name="valueUri" type="{http://hl7.org/fhir}uri"/>
               <element name="valueDate" type="{http://hl7.org/fhir}date"/>
               <element name="valueDateTime" type="{http://hl7.org/fhir}dateTime"/>
               <element name="valueTime" type="{http://hl7.org/fhir}time"/>
               <element name="valueCode" type="{http://hl7.org/fhir}code"/>
               <element name="valueOid" type="{http://hl7.org/fhir}oid"/>
               <element name="valueUuid" type="{http://hl7.org/fhir}uuid"/>
               <element name="valueId" type="{http://hl7.org/fhir}id"/>
               <element name="valueUnsignedInt" type="{http://hl7.org/fhir}unsignedInt"/>
               <element name="valuePositiveInt" type="{http://hl7.org/fhir}positiveInt"/>
               <element name="valueMarkdown" type="{http://hl7.org/fhir}markdown"/>
               <element name="valueAnnotation" type="{http://hl7.org/fhir}Annotation"/>
               <element name="valueAttachment" type="{http://hl7.org/fhir}Attachment"/>
               <element name="valueIdentifier" type="{http://hl7.org/fhir}Identifier"/>
               <element name="valueCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
               <element name="valueCoding" type="{http://hl7.org/fhir}Coding"/>
               <element name="valueQuantity" type="{http://hl7.org/fhir}Quantity"/>
               <element name="valueRange" type="{http://hl7.org/fhir}Range"/>
               <element name="valuePeriod" type="{http://hl7.org/fhir}Period"/>
               <element name="valueRatio" type="{http://hl7.org/fhir}Ratio"/>
               <element name="valueReference" type="{http://hl7.org/fhir}Reference"/>
               <element name="valueSampledData" type="{http://hl7.org/fhir}SampledData"/>
               <element name="valueSignature" type="{http://hl7.org/fhir}Signature"/>
               <element name="valueHumanName" type="{http://hl7.org/fhir}HumanName"/>
               <element name="valueAddress" type="{http://hl7.org/fhir}Address"/>
               <element name="valueContactPoint" type="{http://hl7.org/fhir}ContactPoint"/>
               <element name="valueTiming" type="{http://hl7.org/fhir}Timing"/>
               <element name="valueMeta" type="{http://hl7.org/fhir}Meta"/>
             </choice>
           </sequence>
           <attribute name="url" use="required" type="{http://hl7.org/fhir}uri-primitive" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • valueBoolean

        protected Boolean valueBoolean
      • valueInteger

        protected Integer valueInteger
      • valueDecimal

        protected Decimal valueDecimal
      • valueBase64Binary

        protected Base64Binary valueBase64Binary
      • valueInstant

        protected Instant valueInstant
      • valueString

        protected String valueString
      • valueUri

        protected Uri valueUri
      • valueDate

        protected Date valueDate
      • valueDateTime

        protected DateTime valueDateTime
      • valueTime

        protected Time valueTime
      • valueCode

        protected Code valueCode
      • valueOid

        protected Oid valueOid
      • valueUuid

        protected Uuid valueUuid
      • valueId

        protected Id valueId
      • valueUnsignedInt

        protected UnsignedInt valueUnsignedInt
      • valuePositiveInt

        protected PositiveInt valuePositiveInt
      • valueMarkdown

        protected Markdown valueMarkdown
      • valueAnnotation

        protected Annotation valueAnnotation
      • valueAttachment

        protected Attachment valueAttachment
      • valueIdentifier

        protected Identifier valueIdentifier
      • valueCoding

        protected Coding valueCoding
      • valueQuantity

        protected Quantity valueQuantity
      • valueRange

        protected Range valueRange
      • valuePeriod

        protected Period valuePeriod
      • valueRatio

        protected Ratio valueRatio
      • valueReference

        protected Reference valueReference
      • valueSampledData

        protected SampledData valueSampledData
      • valueSignature

        protected Signature valueSignature
      • valueHumanName

        protected HumanName valueHumanName
      • valueAddress

        protected Address valueAddress
      • valueContactPoint

        protected ContactPoint valueContactPoint
      • valueTiming

        protected Timing valueTiming
      • valueMeta

        protected Meta valueMeta
      • url

        protected java.lang.String url
    • Constructor Detail

      • Extension

        public Extension()
    • Method Detail

      • getValueBoolean

        public Boolean getValueBoolean()
        Gets the value of the valueBoolean property.
        Returns:
        possible object is Boolean
      • setValueBoolean

        public void setValueBoolean​(Boolean value)
        Sets the value of the valueBoolean property.
        Parameters:
        value - allowed object is Boolean
      • getValueInteger

        public Integer getValueInteger()
        Gets the value of the valueInteger property.
        Returns:
        possible object is Integer
      • setValueInteger

        public void setValueInteger​(Integer value)
        Sets the value of the valueInteger property.
        Parameters:
        value - allowed object is Integer
      • getValueDecimal

        public Decimal getValueDecimal()
        Gets the value of the valueDecimal property.
        Returns:
        possible object is Decimal
      • setValueDecimal

        public void setValueDecimal​(Decimal value)
        Sets the value of the valueDecimal property.
        Parameters:
        value - allowed object is Decimal
      • getValueBase64Binary

        public Base64Binary getValueBase64Binary()
        Gets the value of the valueBase64Binary property.
        Returns:
        possible object is Base64Binary
      • setValueBase64Binary

        public void setValueBase64Binary​(Base64Binary value)
        Sets the value of the valueBase64Binary property.
        Parameters:
        value - allowed object is Base64Binary
      • getValueInstant

        public Instant getValueInstant()
        Gets the value of the valueInstant property.
        Returns:
        possible object is Instant
      • setValueInstant

        public void setValueInstant​(Instant value)
        Sets the value of the valueInstant property.
        Parameters:
        value - allowed object is Instant
      • getValueString

        public String getValueString()
        Gets the value of the valueString property.
        Returns:
        possible object is String
      • setValueString

        public void setValueString​(String value)
        Sets the value of the valueString property.
        Parameters:
        value - allowed object is String
      • getValueUri

        public Uri getValueUri()
        Gets the value of the valueUri property.
        Returns:
        possible object is Uri
      • setValueUri

        public void setValueUri​(Uri value)
        Sets the value of the valueUri property.
        Parameters:
        value - allowed object is Uri
      • getValueDate

        public Date getValueDate()
        Gets the value of the valueDate property.
        Returns:
        possible object is Date
      • setValueDate

        public void setValueDate​(Date value)
        Sets the value of the valueDate property.
        Parameters:
        value - allowed object is Date
      • getValueDateTime

        public DateTime getValueDateTime()
        Gets the value of the valueDateTime property.
        Returns:
        possible object is DateTime
      • setValueDateTime

        public void setValueDateTime​(DateTime value)
        Sets the value of the valueDateTime property.
        Parameters:
        value - allowed object is DateTime
      • getValueTime

        public Time getValueTime()
        Gets the value of the valueTime property.
        Returns:
        possible object is Time
      • setValueTime

        public void setValueTime​(Time value)
        Sets the value of the valueTime property.
        Parameters:
        value - allowed object is Time
      • getValueCode

        public Code getValueCode()
        Gets the value of the valueCode property.
        Returns:
        possible object is Code
      • setValueCode

        public void setValueCode​(Code value)
        Sets the value of the valueCode property.
        Parameters:
        value - allowed object is Code
      • getValueOid

        public Oid getValueOid()
        Gets the value of the valueOid property.
        Returns:
        possible object is Oid
      • setValueOid

        public void setValueOid​(Oid value)
        Sets the value of the valueOid property.
        Parameters:
        value - allowed object is Oid
      • getValueUuid

        public Uuid getValueUuid()
        Gets the value of the valueUuid property.
        Returns:
        possible object is Uuid
      • setValueUuid

        public void setValueUuid​(Uuid value)
        Sets the value of the valueUuid property.
        Parameters:
        value - allowed object is Uuid
      • getValueId

        public Id getValueId()
        Gets the value of the valueId property.
        Returns:
        possible object is Id
      • setValueId

        public void setValueId​(Id value)
        Sets the value of the valueId property.
        Parameters:
        value - allowed object is Id
      • getValueUnsignedInt

        public UnsignedInt getValueUnsignedInt()
        Gets the value of the valueUnsignedInt property.
        Returns:
        possible object is UnsignedInt
      • setValueUnsignedInt

        public void setValueUnsignedInt​(UnsignedInt value)
        Sets the value of the valueUnsignedInt property.
        Parameters:
        value - allowed object is UnsignedInt
      • getValuePositiveInt

        public PositiveInt getValuePositiveInt()
        Gets the value of the valuePositiveInt property.
        Returns:
        possible object is PositiveInt
      • setValuePositiveInt

        public void setValuePositiveInt​(PositiveInt value)
        Sets the value of the valuePositiveInt property.
        Parameters:
        value - allowed object is PositiveInt
      • getValueMarkdown

        public Markdown getValueMarkdown()
        Gets the value of the valueMarkdown property.
        Returns:
        possible object is Markdown
      • setValueMarkdown

        public void setValueMarkdown​(Markdown value)
        Sets the value of the valueMarkdown property.
        Parameters:
        value - allowed object is Markdown
      • getValueAnnotation

        public Annotation getValueAnnotation()
        Gets the value of the valueAnnotation property.
        Returns:
        possible object is Annotation
      • setValueAnnotation

        public void setValueAnnotation​(Annotation value)
        Sets the value of the valueAnnotation property.
        Parameters:
        value - allowed object is Annotation
      • getValueAttachment

        public Attachment getValueAttachment()
        Gets the value of the valueAttachment property.
        Returns:
        possible object is Attachment
      • setValueAttachment

        public void setValueAttachment​(Attachment value)
        Sets the value of the valueAttachment property.
        Parameters:
        value - allowed object is Attachment
      • getValueIdentifier

        public Identifier getValueIdentifier()
        Gets the value of the valueIdentifier property.
        Returns:
        possible object is Identifier
      • setValueIdentifier

        public void setValueIdentifier​(Identifier value)
        Sets the value of the valueIdentifier property.
        Parameters:
        value - allowed object is Identifier
      • getValueCodeableConcept

        public CodeableConcept getValueCodeableConcept()
        Gets the value of the valueCodeableConcept property.
        Returns:
        possible object is CodeableConcept
      • setValueCodeableConcept

        public void setValueCodeableConcept​(CodeableConcept value)
        Sets the value of the valueCodeableConcept property.
        Parameters:
        value - allowed object is CodeableConcept
      • getValueCoding

        public Coding getValueCoding()
        Gets the value of the valueCoding property.
        Returns:
        possible object is Coding
      • setValueCoding

        public void setValueCoding​(Coding value)
        Sets the value of the valueCoding property.
        Parameters:
        value - allowed object is Coding
      • getValueQuantity

        public Quantity getValueQuantity()
        Gets the value of the valueQuantity property.
        Returns:
        possible object is Quantity
      • setValueQuantity

        public void setValueQuantity​(Quantity value)
        Sets the value of the valueQuantity property.
        Parameters:
        value - allowed object is Quantity
      • getValueRange

        public Range getValueRange()
        Gets the value of the valueRange property.
        Returns:
        possible object is Range
      • setValueRange

        public void setValueRange​(Range value)
        Sets the value of the valueRange property.
        Parameters:
        value - allowed object is Range
      • getValuePeriod

        public Period getValuePeriod()
        Gets the value of the valuePeriod property.
        Returns:
        possible object is Period
      • setValuePeriod

        public void setValuePeriod​(Period value)
        Sets the value of the valuePeriod property.
        Parameters:
        value - allowed object is Period
      • getValueRatio

        public Ratio getValueRatio()
        Gets the value of the valueRatio property.
        Returns:
        possible object is Ratio
      • setValueRatio

        public void setValueRatio​(Ratio value)
        Sets the value of the valueRatio property.
        Parameters:
        value - allowed object is Ratio
      • getValueReference

        public Reference getValueReference()
        Gets the value of the valueReference property.
        Returns:
        possible object is Reference
      • setValueReference

        public void setValueReference​(Reference value)
        Sets the value of the valueReference property.
        Parameters:
        value - allowed object is Reference
      • getValueSampledData

        public SampledData getValueSampledData()
        Gets the value of the valueSampledData property.
        Returns:
        possible object is SampledData
      • setValueSampledData

        public void setValueSampledData​(SampledData value)
        Sets the value of the valueSampledData property.
        Parameters:
        value - allowed object is SampledData
      • getValueSignature

        public Signature getValueSignature()
        Gets the value of the valueSignature property.
        Returns:
        possible object is Signature
      • setValueSignature

        public void setValueSignature​(Signature value)
        Sets the value of the valueSignature property.
        Parameters:
        value - allowed object is Signature
      • getValueHumanName

        public HumanName getValueHumanName()
        Gets the value of the valueHumanName property.
        Returns:
        possible object is HumanName
      • setValueHumanName

        public void setValueHumanName​(HumanName value)
        Sets the value of the valueHumanName property.
        Parameters:
        value - allowed object is HumanName
      • getValueAddress

        public Address getValueAddress()
        Gets the value of the valueAddress property.
        Returns:
        possible object is Address
      • setValueAddress

        public void setValueAddress​(Address value)
        Sets the value of the valueAddress property.
        Parameters:
        value - allowed object is Address
      • getValueContactPoint

        public ContactPoint getValueContactPoint()
        Gets the value of the valueContactPoint property.
        Returns:
        possible object is ContactPoint
      • setValueContactPoint

        public void setValueContactPoint​(ContactPoint value)
        Sets the value of the valueContactPoint property.
        Parameters:
        value - allowed object is ContactPoint
      • getValueTiming

        public Timing getValueTiming()
        Gets the value of the valueTiming property.
        Returns:
        possible object is Timing
      • setValueTiming

        public void setValueTiming​(Timing value)
        Sets the value of the valueTiming property.
        Parameters:
        value - allowed object is Timing
      • getValueMeta

        public Meta getValueMeta()
        Gets the value of the valueMeta property.
        Returns:
        possible object is Meta
      • setValueMeta

        public void setValueMeta​(Meta value)
        Sets the value of the valueMeta property.
        Parameters:
        value - allowed object is Meta
      • getUrl

        public java.lang.String getUrl()
        Gets the value of the url property.
        Returns:
        possible object is String
      • setUrl

        public void setUrl​(java.lang.String value)
        Sets the value of the url property.
        Parameters:
        value - allowed object is String
      • withValueUri

        public Extension withValueUri​(Uri value)
      • withValueOid

        public Extension withValueOid​(Oid value)
      • withValueId

        public Extension withValueId​(Id value)
      • withUrl

        public Extension withUrl​(java.lang.String value)
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
        Overrides:
        equals in class Element
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class Element
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
        Overrides:
        hashCode in class Element
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class Element
      • append

        public java.lang.StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                              java.lang.StringBuilder buffer,
                                              org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        append in class Element
      • appendFields

        public java.lang.StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                                    java.lang.StringBuilder buffer,
                                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
        Overrides:
        appendFields in class Element