riv.ehr.patientsummary._1.PERSON 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
*
* General demographic information about a person
* corresponding to GPIC 2.006.
*
*
* Java class for PERSON complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PERSON">
* <complexContent>
* <extension base="{urn:riv:ehr:patientsummary:1}IDENTIFIED_ENTITY">
* <sequence>
* <element name="name" type="{urn:riv:ehr:patientsummary:1}EN" maxOccurs="unbounded" minOccurs="0"/>
* <element name="addr" type="{urn:riv:ehr:patientsummary:1}AD" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PERSON", propOrder = {
"name",
"addr"
})
@XmlSeeAlso({
SUBJECTOFCAREPERSONIDENTIFICATION.class,
IDENTIFIEDHEALTHCAREPROFESSIONAL.class
})
public class PERSON
extends IDENTIFIEDENTITY
{
protected List name;
protected List addr;
/**
* Gets the value of the name 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 name property.
*
*
* For example, to add a new item, do as follows:
*
* getName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EN }
*
*
*/
public List getName() {
if (name == null) {
name = new ArrayList();
}
return this.name;
}
/**
* 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;
}
}