org.milyn.edi.unedifact.d98a.MEDRPT.SegmentGroup12 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d98a.MEDRPT;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d98a.common.ClinicalIntervention;
import java.util.List;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup12 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private ClinicalIntervention clinicalIntervention;
private List segmentGroup13;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(clinicalIntervention != null) {
nodeWriter.write("CLI");
nodeWriter.write(delimiters.getField());
clinicalIntervention.write(nodeWriter, delimiters);
}
if(segmentGroup13 != null && !segmentGroup13.isEmpty()) {
for(SegmentGroup13 segmentGroup13Inst : segmentGroup13) {
segmentGroup13Inst.write(nodeWriter, delimiters);
}
}
}
public ClinicalIntervention getClinicalIntervention() {
return clinicalIntervention;
}
public SegmentGroup12 setClinicalIntervention(ClinicalIntervention clinicalIntervention) {
this.clinicalIntervention = clinicalIntervention; return this;
}
public List getSegmentGroup13() {
return segmentGroup13;
}
public SegmentGroup12 setSegmentGroup13(List segmentGroup13) {
this.segmentGroup13 = segmentGroup13; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy