org.milyn.edi.unedifact.d99a.MEDRPT.SegmentGroup9 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d99a.MEDRPT;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d99a.common.STSStatus;
import org.milyn.edi.unedifact.d99a.common.SEQSequenceDetails;
import org.milyn.edi.unedifact.d99a.common.GISGeneralIndicator;
import org.milyn.edi.unedifact.d99a.common.RSLResult;
import java.util.List;
import org.milyn.edi.unedifact.d99a.common.CCICharacteristicClassId;
import org.milyn.edi.unedifact.d99a.common.CINClinicalInformation;
import org.milyn.edi.unedifact.d99a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d99a.common.FTXFreeText;
import org.milyn.edi.unedifact.d99a.common.RFFReference;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup9 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private STSStatus sTSStatus;
private SEQSequenceDetails sEQSequenceDetails;
private GISGeneralIndicator gISGeneralIndicator;
private RSLResult rSLResult;
private List cCICharacteristicClassId;
private List cINClinicalInformation;
private List dTMDateTimePeriod;
private List fTXFreeText;
private List rFFReference;
private List segmentGroup10;
private List segmentGroup11;
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(gISGeneralIndicator != null) {
nodeWriter.write("GIS");
nodeWriter.write(delimiters.getField());
gISGeneralIndicator.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(segmentGroup10 != null && !segmentGroup10.isEmpty()) {
for(SegmentGroup10 segmentGroup10Inst : segmentGroup10) {
segmentGroup10Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup11 != null && !segmentGroup11.isEmpty()) {
for(SegmentGroup11 segmentGroup11Inst : segmentGroup11) {
segmentGroup11Inst.write(nodeWriter, delimiters);
}
}
}
public STSStatus getSTSStatus() {
return sTSStatus;
}
public SegmentGroup9 setSTSStatus(STSStatus sTSStatus) {
this.sTSStatus = sTSStatus; return this;
}
public SEQSequenceDetails getSEQSequenceDetails() {
return sEQSequenceDetails;
}
public SegmentGroup9 setSEQSequenceDetails(SEQSequenceDetails sEQSequenceDetails) {
this.sEQSequenceDetails = sEQSequenceDetails; return this;
}
public GISGeneralIndicator getGISGeneralIndicator() {
return gISGeneralIndicator;
}
public SegmentGroup9 setGISGeneralIndicator(GISGeneralIndicator gISGeneralIndicator) {
this.gISGeneralIndicator = gISGeneralIndicator; return this;
}
public RSLResult getRSLResult() {
return rSLResult;
}
public SegmentGroup9 setRSLResult(RSLResult rSLResult) {
this.rSLResult = rSLResult; return this;
}
public List getCCICharacteristicClassId() {
return cCICharacteristicClassId;
}
public SegmentGroup9 setCCICharacteristicClassId(List cCICharacteristicClassId) {
this.cCICharacteristicClassId = cCICharacteristicClassId; return this;
}
public List getCINClinicalInformation() {
return cINClinicalInformation;
}
public SegmentGroup9 setCINClinicalInformation(List cINClinicalInformation) {
this.cINClinicalInformation = cINClinicalInformation; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup9 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup9 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup9 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getSegmentGroup10() {
return segmentGroup10;
}
public SegmentGroup9 setSegmentGroup10(List segmentGroup10) {
this.segmentGroup10 = segmentGroup10; return this;
}
public List getSegmentGroup11() {
return segmentGroup11;
}
public SegmentGroup9 setSegmentGroup11(List segmentGroup11) {
this.segmentGroup11 = segmentGroup11; return this;
}
}