riv.ehr.patientsummary._1.ORGANISATION Maven / Gradle / Ivy
package riv.ehr.patientsummary._1;
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.XmlType;
/**
*
* An organisation corresponding to GPIC 2.008 (2008 in the
* printed standard).
*
*
* Java class for ORGANISATION complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ORGANISATION">
* <complexContent>
* <extension base="{urn:riv:ehr:patientsummary:1}IDENTIFIED_ENTITY">
* <sequence>
* <element name="code" type="{urn:riv:ehr:patientsummary:1}CD"/>
* <element name="desc" type="{urn:riv:ehr:patientsummary:1}ST"/>
* <element name="name" type="{urn:riv:ehr:patientsummary:1}ST"/>
* <element name="addr" type="{urn:riv:ehr:patientsummary:1}AD" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ORGANISATION", propOrder = {
"code",
"desc",
"name",
"addr"
})
public class ORGANISATION
extends IDENTIFIEDENTITY
{
@XmlElement(required = true)
protected CD code;
@XmlElement(required = true)
protected ST desc;
@XmlElement(required = true)
protected ST name;
protected List addr;
/**
* Gets the value of the code property.
*
* @return
* possible object is
* {@link CD }
*
*/
public CD getCode() {
return code;
}
/**
* Sets the value of the code property.
*
* @param value
* allowed object is
* {@link CD }
*
*/
public void setCode(CD value) {
this.code = value;
}
/**
* Gets the value of the desc property.
*
* @return
* possible object is
* {@link ST }
*
*/
public ST getDesc() {
return desc;
}
/**
* Sets the value of the desc property.
*
* @param value
* allowed object is
* {@link ST }
*
*/
public void setDesc(ST value) {
this.desc = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link ST }
*
*/
public ST getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link ST }
*
*/
public void setName(ST value) {
this.name = value;
}
/**
* Gets the value of the addr property.
*
*
* 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 set
method for the addr property.
*
*
* For example, to add a new item, do as follows:
*
* getAddr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AD }
*
*
*/
public List getAddr() {
if (addr == null) {
addr = new ArrayList();
}
return this.addr;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy