package org.hl7.v3; 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.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name="POCD_MT000040.EncompassingEncounter", propOrder={"realmCode", "typeId", "templateId", "id", "code", "effectiveTime", "dischargeDispositionCode", "responsibleParty", "encounterParticipant", "location"}) public class POCDMT000040EncompassingEncounter { protected List<CS> realmCode; protected POCDMT000040InfrastructureRootTypeId typeId; protected List<II> templateId; protected List<II> id; protected CE code; @XmlElement(required=true) protected IVLTS effectiveTime; protected CE dischargeDispositionCode; protected POCDMT000040ResponsibleParty responsibleParty; protected List<POCDMT000040EncounterParticipant> encounterParticipant; protected POCDMT000040Location location; @XmlAttribute(name="nullFlavor") protected List<String> nullFlavor; @XmlAttribute(name="classCode") protected List<String> classCode; @XmlAttribute(name="moodCode") protected List<String> moodCode; public List<CS> getRealmCode() { if (this.realmCode == null) { this.realmCode = new ArrayList(); } return this.realmCode; } public POCDMT000040InfrastructureRootTypeId getTypeId() { return this.typeId; } public void setTypeId(POCDMT000040InfrastructureRootTypeId value) { this.typeId = value; } public List<II> getTemplateId() { if (this.templateId == null) { this.templateId = new ArrayList(); } return this.templateId; } public List<II> getId() { if (this.id == null) { this.id = new ArrayList(); } return this.id; } public CE getCode() { return this.code; } public void setCode(CE value) { this.code = value; } public IVLTS getEffectiveTime() { return this.effectiveTime; } public void setEffectiveTime(IVLTS value) { this.effectiveTime = value; } public CE getDischargeDispositionCode() { return this.dischargeDispositionCode; } public void setDischargeDispositionCode(CE value) { this.dischargeDispositionCode = value; } public POCDMT000040ResponsibleParty getResponsibleParty() { return this.responsibleParty; } public void setResponsibleParty(POCDMT000040ResponsibleParty value) { this.responsibleParty = value; } public List<POCDMT000040EncounterParticipant> getEncounterParticipant() { if (this.encounterParticipant == null) { this.encounterParticipant = new ArrayList(); } return this.encounterParticipant; } public POCDMT000040Location getLocation() { return this.location; } public void setLocation(POCDMT000040Location value) { this.location = value; } public List<String> getNullFlavor() { if (this.nullFlavor == null) { this.nullFlavor = new ArrayList(); } return this.nullFlavor; } public List<String> getClassCode() { if (this.classCode == null) { this.classCode = new ArrayList(); } return this.classCode; } public List<String> getMoodCode() { if (this.moodCode == null) { this.moodCode = new ArrayList(); } return this.moodCode; } }