Package org.hl7.fhir

Class Extension

java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.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>