//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.03.18 at 03:48:09 PM CET
//
package ch.fd.invoice440.request;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>Java class for treatmentType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="treatmentType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="diagnosis" type="{http://www.forum-datenaustausch.ch/invoice}diagnosisType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="xtra_hospital" type="{http://www.forum-datenaustausch.ch/invoice}xtraHospitalType" minOccurs="0"/>
* </sequence>
* <attribute name="date_begin" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="date_end" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="canton" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="AG"/>
* <enumeration value="AI"/>
* <enumeration value="AR"/>
* <enumeration value="BE"/>
* <enumeration value="BL"/>
* <enumeration value="BS"/>
* <enumeration value="FR"/>
* <enumeration value="GE"/>
* <enumeration value="GL"/>
* <enumeration value="GR"/>
* <enumeration value="JU"/>
* <enumeration value="LU"/>
* <enumeration value="NE"/>
* <enumeration value="NW"/>
* <enumeration value="OW"/>
* <enumeration value="SG"/>
* <enumeration value="SH"/>
* <enumeration value="SO"/>
* <enumeration value="SZ"/>
* <enumeration value="TI"/>
* <enumeration value="TG"/>
* <enumeration value="UR"/>
* <enumeration value="VD"/>
* <enumeration value="VS"/>
* <enumeration value="ZG"/>
* <enumeration value="ZH"/>
* <enumeration value="LI"/>
* <enumeration value="A"/>
* <enumeration value="D"/>
* <enumeration value="F"/>
* <enumeration value="I"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="reason" use="required">
* <simpleType>
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="disease"/>
* <enumeration value="accident"/>
* <enumeration value="maternity"/>
* <enumeration value="prevention"/>
* <enumeration value="birthdefect"/>
* <enumeration value="unknown"/>
* </restriction>
* </simpleType>
* </attribute>
* <attribute name="apid" type="{http://www.forum-datenaustausch.ch/invoice}stringType1_35" />
* <attribute name="acid" type="{http://www.forum-datenaustausch.ch/invoice}stringType1_35" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "treatmentType", propOrder = {
"diagnosis",
"xtraHospital"
})
public class TreatmentType {
protected List<DiagnosisType> diagnosis;
@XmlElement(name = "xtra_hospital")
protected XtraHospitalType xtraHospital;
@XmlAttribute(name = "date_begin", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dateBegin;
@XmlAttribute(name = "date_end", required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar dateEnd;
@XmlAttribute(name = "canton", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String canton;
@XmlAttribute(name = "reason", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String reason;
@XmlAttribute(name = "apid")
protected String apid;
@XmlAttribute(name = "acid")
protected String acid;
/**
* Gets the value of the diagnosis property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the diagnosis property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getDiagnosis().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DiagnosisType }
*
*
*/
public List<DiagnosisType> getDiagnosis() {
if (diagnosis == null) {
diagnosis = new ArrayList<DiagnosisType>();
}
return this.diagnosis;
}
/**
* Gets the value of the xtraHospital property.
*
* @return
* possible object is
* {@link XtraHospitalType }
*
*/
public XtraHospitalType getXtraHospital() {
return xtraHospital;
}
/**
* Sets the value of the xtraHospital property.
*
* @param value
* allowed object is
* {@link XtraHospitalType }
*
*/
public void setXtraHospital(XtraHospitalType value) {
this.xtraHospital = value;
}
/**
* Gets the value of the dateBegin property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDateBegin() {
return dateBegin;
}
/**
* Sets the value of the dateBegin property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDateBegin(XMLGregorianCalendar value) {
this.dateBegin = value;
}
/**
* Gets the value of the dateEnd property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getDateEnd() {
return dateEnd;
}
/**
* Sets the value of the dateEnd property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setDateEnd(XMLGregorianCalendar value) {
this.dateEnd = value;
}
/**
* Gets the value of the canton property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCanton() {
return canton;
}
/**
* Sets the value of the canton property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCanton(String value) {
this.canton = value;
}
/**
* Gets the value of the reason property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReason() {
return reason;
}
/**
* Sets the value of the reason property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReason(String value) {
this.reason = value;
}
/**
* Gets the value of the apid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getApid() {
return apid;
}
/**
* Sets the value of the apid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setApid(String value) {
this.apid = value;
}
/**
* Gets the value of the acid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcid() {
return acid;
}
/**
* Sets the value of the acid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAcid(String value) {
this.acid = value;
}
}