org.milyn.edi.unedifact.d05a.MEDREQ.SegmentGroup8 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d05a.MEDREQ;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d05a.common.STSStatus;
import org.milyn.edi.unedifact.d05a.common.SEQSequenceDetails;
import org.milyn.edi.unedifact.d05a.common.GEIProcessingInformation;
import org.milyn.edi.unedifact.d05a.common.RSLResult;
import java.util.List;
import org.milyn.edi.unedifact.d05a.common.CCICharacteristicClassId;
import org.milyn.edi.unedifact.d05a.common.CINClinicalInformation;
import org.milyn.edi.unedifact.d05a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d05a.common.FTXFreeText;
import org.milyn.edi.unedifact.d05a.common.RFFReference;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup8 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private STSStatus sTSStatus;
private SEQSequenceDetails sEQSequenceDetails;
private GEIProcessingInformation gEIProcessingInformation;
private RSLResult rSLResult;
private List cCICharacteristicClassId;
private List cINClinicalInformation;
private List dTMDateTimePeriod;
private List fTXFreeText;
private List rFFReference;
private List segmentGroup9;
private List segmentGroup10;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(sTSStatus != null) {
nodeWriter.write("STS");
nodeWriter.write(delimiters.getField());
sTSStatus.write(nodeWriter, delimiters);
}
if(sEQSequenceDetails != null) {
nodeWriter.write("SEQ");
nodeWriter.write(delimiters.getField());
sEQSequenceDetails.write(nodeWriter, delimiters);
}
if(gEIProcessingInformation != null) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformation.write(nodeWriter, delimiters);
}
if(rSLResult != null) {
nodeWriter.write("RSL");
nodeWriter.write(delimiters.getField());
rSLResult.write(nodeWriter, delimiters);
}
if(cCICharacteristicClassId != null && !cCICharacteristicClassId.isEmpty()) {
for(CCICharacteristicClassId cCICharacteristicClassIdInst : cCICharacteristicClassId) {
nodeWriter.write("CCI");
nodeWriter.write(delimiters.getField());
cCICharacteristicClassIdInst.write(nodeWriter, delimiters);
}
}
if(cINClinicalInformation != null && !cINClinicalInformation.isEmpty()) {
for(CINClinicalInformation cINClinicalInformationInst : cINClinicalInformation) {
nodeWriter.write("CIN");
nodeWriter.write(delimiters.getField());
cINClinicalInformationInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup9 != null && !segmentGroup9.isEmpty()) {
for(SegmentGroup9 segmentGroup9Inst : segmentGroup9) {
segmentGroup9Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup10 != null && !segmentGroup10.isEmpty()) {
for(SegmentGroup10 segmentGroup10Inst : segmentGroup10) {
segmentGroup10Inst.write(nodeWriter, delimiters);
}
}
}
public STSStatus getSTSStatus() {
return sTSStatus;
}
public SegmentGroup8 setSTSStatus(STSStatus sTSStatus) {
this.sTSStatus = sTSStatus; return this;
}
public SEQSequenceDetails getSEQSequenceDetails() {
return sEQSequenceDetails;
}
public SegmentGroup8 setSEQSequenceDetails(SEQSequenceDetails sEQSequenceDetails) {
this.sEQSequenceDetails = sEQSequenceDetails; return this;
}
public GEIProcessingInformation getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup8 setGEIProcessingInformation(GEIProcessingInformation gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
public RSLResult getRSLResult() {
return rSLResult;
}
public SegmentGroup8 setRSLResult(RSLResult rSLResult) {
this.rSLResult = rSLResult; return this;
}
public List getCCICharacteristicClassId() {
return cCICharacteristicClassId;
}
public SegmentGroup8 setCCICharacteristicClassId(List cCICharacteristicClassId) {
this.cCICharacteristicClassId = cCICharacteristicClassId; return this;
}
public List getCINClinicalInformation() {
return cINClinicalInformation;
}
public SegmentGroup8 setCINClinicalInformation(List cINClinicalInformation) {
this.cINClinicalInformation = cINClinicalInformation; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup8 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup8 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup8 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getSegmentGroup9() {
return segmentGroup9;
}
public SegmentGroup8 setSegmentGroup9(List segmentGroup9) {
this.segmentGroup9 = segmentGroup9; return this;
}
public List getSegmentGroup10() {
return segmentGroup10;
}
public SegmentGroup8 setSegmentGroup10(List segmentGroup10) {
this.segmentGroup10 = segmentGroup10; return this;
}
}