All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.milyn.edi.unedifact.d11b.MEDPRE.SegmentGroup16 Maven / Gradle / Ivy

There is a newer version: 1.7.1.0
Show newest version
/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d11b.MEDPRE;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d11b.common.SEQSequenceDetails;    
import java.util.List;    
import org.milyn.edi.unedifact.d11b.common.DSGDosageAdministration;    
import org.milyn.edi.unedifact.d11b.common.QTYQuantity;    
import org.milyn.edi.unedifact.d11b.common.INPPartiesAndInstruction;    
import org.milyn.edi.unedifact.d11b.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d11b.common.FTXFreeText;    
import org.milyn.edi.unedifact.d11b.common.SCCSchedulingConditions;    
import org.milyn.edi.unedifact.d11b.common.CINClinicalInformation;    
import org.milyn.edi.unedifact.d11b.common.PCIPackageIdentification;    
import org.milyn.edi.unedifact.d11b.common.LANLanguage;    
import org.milyn.edi.unedifact.d11b.common.EQAAttachedEquipment;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup16 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private SEQSequenceDetails sEQSequenceDetails;
    private List dSGDosageAdministration;
    private List qTYQuantity;
    private List iNPPartiesAndInstruction;
    private List dTMDateTimePeriod;
    private List fTXFreeText;
    private List sCCSchedulingConditions;
    private List cINClinicalInformation;
    private List pCIPackageIdentification;
    private LANLanguage lANLanguage;
    private List eQAAttachedEquipment;

    public void write(Writer writer, Delimiters delimiters) throws IOException {
        
        Writer nodeWriter = writer;

        if(sEQSequenceDetails != null) {
            nodeWriter.write("SEQ");
            nodeWriter.write(delimiters.getField());
            sEQSequenceDetails.write(nodeWriter, delimiters);
        }
        if(dSGDosageAdministration != null && !dSGDosageAdministration.isEmpty()) {
            for(DSGDosageAdministration dSGDosageAdministrationInst : dSGDosageAdministration) {
                nodeWriter.write("DSG");
                nodeWriter.write(delimiters.getField());
                dSGDosageAdministrationInst.write(nodeWriter, delimiters);
            }
        }
        if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
            for(QTYQuantity qTYQuantityInst : qTYQuantity) {
                nodeWriter.write("QTY");
                nodeWriter.write(delimiters.getField());
                qTYQuantityInst.write(nodeWriter, delimiters);
            }
        }
        if(iNPPartiesAndInstruction != null && !iNPPartiesAndInstruction.isEmpty()) {
            for(INPPartiesAndInstruction iNPPartiesAndInstructionInst : iNPPartiesAndInstruction) {
                nodeWriter.write("INP");
                nodeWriter.write(delimiters.getField());
                iNPPartiesAndInstructionInst.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(sCCSchedulingConditions != null && !sCCSchedulingConditions.isEmpty()) {
            for(SCCSchedulingConditions sCCSchedulingConditionsInst : sCCSchedulingConditions) {
                nodeWriter.write("SCC");
                nodeWriter.write(delimiters.getField());
                sCCSchedulingConditionsInst.write(nodeWriter, delimiters);
            }
        }
        if(cINClinicalInformation != null && !cINClinicalInformation.isEmpty()) {
            for(CINClinicalInformation cINClinicalInformationInst : cINClinicalInformation) {
                nodeWriter.write("CIN");
                nodeWriter.write(delimiters.getField());
                cINClinicalInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(pCIPackageIdentification != null && !pCIPackageIdentification.isEmpty()) {
            for(PCIPackageIdentification pCIPackageIdentificationInst : pCIPackageIdentification) {
                nodeWriter.write("PCI");
                nodeWriter.write(delimiters.getField());
                pCIPackageIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(lANLanguage != null) {
            nodeWriter.write("LAN");
            nodeWriter.write(delimiters.getField());
            lANLanguage.write(nodeWriter, delimiters);
        }
        if(eQAAttachedEquipment != null && !eQAAttachedEquipment.isEmpty()) {
            for(EQAAttachedEquipment eQAAttachedEquipmentInst : eQAAttachedEquipment) {
                nodeWriter.write("EQA");
                nodeWriter.write(delimiters.getField());
                eQAAttachedEquipmentInst.write(nodeWriter, delimiters);
            }
        }
    }

    public SEQSequenceDetails getSEQSequenceDetails() {
        return sEQSequenceDetails;
    }

    public SegmentGroup16 setSEQSequenceDetails(SEQSequenceDetails sEQSequenceDetails) {
        this.sEQSequenceDetails = sEQSequenceDetails;  return this;
    }

    public List getDSGDosageAdministration() {
        return dSGDosageAdministration;
    }

    public SegmentGroup16 setDSGDosageAdministration(List dSGDosageAdministration) {
        this.dSGDosageAdministration = dSGDosageAdministration;  return this;
    }

    public List getQTYQuantity() {
        return qTYQuantity;
    }

    public SegmentGroup16 setQTYQuantity(List qTYQuantity) {
        this.qTYQuantity = qTYQuantity;  return this;
    }

    public List getINPPartiesAndInstruction() {
        return iNPPartiesAndInstruction;
    }

    public SegmentGroup16 setINPPartiesAndInstruction(List iNPPartiesAndInstruction) {
        this.iNPPartiesAndInstruction = iNPPartiesAndInstruction;  return this;
    }

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

    public SegmentGroup16 setDTMDateTimePeriod(List dTMDateTimePeriod) {
        this.dTMDateTimePeriod = dTMDateTimePeriod;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

    public SegmentGroup16 setFTXFreeText(List fTXFreeText) {
        this.fTXFreeText = fTXFreeText;  return this;
    }

    public List getSCCSchedulingConditions() {
        return sCCSchedulingConditions;
    }

    public SegmentGroup16 setSCCSchedulingConditions(List sCCSchedulingConditions) {
        this.sCCSchedulingConditions = sCCSchedulingConditions;  return this;
    }

    public List getCINClinicalInformation() {
        return cINClinicalInformation;
    }

    public SegmentGroup16 setCINClinicalInformation(List cINClinicalInformation) {
        this.cINClinicalInformation = cINClinicalInformation;  return this;
    }

    public List getPCIPackageIdentification() {
        return pCIPackageIdentification;
    }

    public SegmentGroup16 setPCIPackageIdentification(List pCIPackageIdentification) {
        this.pCIPackageIdentification = pCIPackageIdentification;  return this;
    }

    public LANLanguage getLANLanguage() {
        return lANLanguage;
    }

    public SegmentGroup16 setLANLanguage(LANLanguage lANLanguage) {
        this.lANLanguage = lANLanguage;  return this;
    }

    public List getEQAAttachedEquipment() {
        return eQAAttachedEquipment;
    }

    public SegmentGroup16 setEQAAttachedEquipment(List eQAAttachedEquipment) {
        this.eQAAttachedEquipment = eQAAttachedEquipment;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy