// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 // 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: 2010.01.18 at 06:14:35 PM CST // package org.astm.ccr; 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.XmlElement; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for EncounterType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="EncounterType"> * <complexContent> * <extension base="{urn:astm-org:CCR}CCRCodedDataObjectType"> * <sequence> * <element ref="{urn:astm-org:CCR}Locations" minOccurs="0"/> * <element ref="{urn:astm-org:CCR}Practitioners" minOccurs="0"/> * <element name="Frequency" type="{urn:astm-org:CCR}FrequencyType" maxOccurs="unbounded" minOccurs="0"/> * <element name="Interval" type="{urn:astm-org:CCR}IntervalType" maxOccurs="unbounded" minOccurs="0"/> * <element name="Duration" type="{urn:astm-org:CCR}DurationType" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{urn:astm-org:CCR}Indications" maxOccurs="unbounded" minOccurs="0"/> * <element ref="{urn:astm-org:CCR}Instructions" minOccurs="0"/> * <element name="Consent" type="{urn:astm-org:CCR}CCRCodedDataObjectType" minOccurs="0"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "EncounterType", propOrder = { "locations", "practitioners", "frequency", "interval", "duration", "indications", "instructions", "consent" }) @XmlSeeAlso({ GoalType.class }) public class EncounterType extends CCRCodedDataObjectType { @XmlElement(name = "Locations") protected Locations locations; @XmlElement(name = "Practitioners") protected Practitioners practitioners; @XmlElement(name = "Frequency") protected List<FrequencyType> frequency; @XmlElement(name = "Interval") protected List<IntervalType> interval; @XmlElement(name = "Duration") protected List<DurationType> duration; @XmlElement(name = "Indications") protected List<Indications> indications; @XmlElement(name = "Instructions") protected Instructions instructions; @XmlElement(name = "Consent") protected CCRCodedDataObjectType consent; /** * Gets the value of the locations property. * * @return * possible object is * {@link Locations } * */ public Locations getLocations() { return locations; } /** * Sets the value of the locations property. * * @param value * allowed object is * {@link Locations } * */ public void setLocations(Locations value) { this.locations = value; } /** * Gets the value of the practitioners property. * * @return * possible object is * {@link Practitioners } * */ public Practitioners getPractitioners() { return practitioners; } /** * Sets the value of the practitioners property. * * @param value * allowed object is * {@link Practitioners } * */ public void setPractitioners(Practitioners value) { this.practitioners = value; } /** * Gets the value of the frequency 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 frequency property. * * <p> * For example, to add a new item, do as follows: * <pre> * getFrequency().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link FrequencyType } * * */ public List<FrequencyType> getFrequency() { if (frequency == null) { frequency = new ArrayList<FrequencyType>(); } return this.frequency; } /** * Gets the value of the interval 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 interval property. * * <p> * For example, to add a new item, do as follows: * <pre> * getInterval().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link IntervalType } * * */ public List<IntervalType> getInterval() { if (interval == null) { interval = new ArrayList<IntervalType>(); } return this.interval; } /** * Gets the value of the duration 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 duration property. * * <p> * For example, to add a new item, do as follows: * <pre> * getDuration().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link DurationType } * * */ public List<DurationType> getDuration() { if (duration == null) { duration = new ArrayList<DurationType>(); } return this.duration; } /** * Gets the value of the indications 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 indications property. * * <p> * For example, to add a new item, do as follows: * <pre> * getIndications().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Indications } * * */ public List<Indications> getIndications() { if (indications == null) { indications = new ArrayList<Indications>(); } return this.indications; } /** * Gets the value of the instructions property. * * @return * possible object is * {@link Instructions } * */ public Instructions getInstructions() { return instructions; } /** * Sets the value of the instructions property. * * @param value * allowed object is * {@link Instructions } * */ public void setInstructions(Instructions value) { this.instructions = value; } /** * Gets the value of the consent property. * * @return * possible object is * {@link CCRCodedDataObjectType } * */ public CCRCodedDataObjectType getConsent() { return consent; } /** * Sets the value of the consent property. * * @param value * allowed object is * {@link CCRCodedDataObjectType } * */ public void setConsent(CCRCodedDataObjectType value) { this.consent = value; } }