Package org.hl7.fhir

Class Attachment

java.lang.Object
org.hl7.fhir.Element
org.hl7.fhir.Attachment
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2

public class Attachment
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 Attachment complex type.

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

 <complexType name="Attachment">
   <complexContent>
     <extension base="{http://hl7.org/fhir}Element">
       <sequence>
         <element name="contentType" type="{http://hl7.org/fhir}code" minOccurs="0"/>
         <element name="language" type="{http://hl7.org/fhir}code" minOccurs="0"/>
         <element name="data" type="{http://hl7.org/fhir}base64Binary" minOccurs="0"/>
         <element name="url" type="{http://hl7.org/fhir}uri" minOccurs="0"/>
         <element name="size" type="{http://hl7.org/fhir}unsignedInt" minOccurs="0"/>
         <element name="hash" type="{http://hl7.org/fhir}base64Binary" minOccurs="0"/>
         <element name="title" type="{http://hl7.org/fhir}string" minOccurs="0"/>
         <element name="creation" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>