package ch.docbox.ws.cdachservicesv2;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.hl7.v3.ClinicalDocumentType;
/**
* <p>Java-Klasse für anonymous complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="document" type="{urn:hl7-org:v3}ClinicalDocumentType"/>
* <element name="attachment" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"document",
"attachment"
})
@XmlRootElement(name = "sendClinicalDocument")
public class SendClinicalDocument {
@XmlElement(required = true)
protected ClinicalDocumentType document;
protected byte[] attachment;
/**
* Ruft den Wert der document-Eigenschaft ab.
*
* @return
* possible object is
* {@link ClinicalDocumentType }
*
*/
public ClinicalDocumentType getDocument() {
return document;
}
/**
* Legt den Wert der document-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link ClinicalDocumentType }
*
*/
public void setDocument(ClinicalDocumentType value) {
this.document = value;
}
/**
* Ruft den Wert der attachment-Eigenschaft ab.
*
* @return
* possible object is
* byte[]
*/
public byte[] getAttachment() {
return attachment;
}
/**
* Legt den Wert der attachment-Eigenschaft fest.
*
* @param value
* allowed object is
* byte[]
*/
public void setAttachment(byte[] value) {
this.attachment = value;
}
}