![JAR search and dependency download from the Maven repository](/logo.png)
org.milyn.edi.unedifact.d99b.MEDPRE.SegmentGroup14 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d99b.MEDPRE;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d99b.common.LineItem;
import java.util.List;
import org.milyn.edi.unedifact.d99b.common.DosageAdministration;
import org.milyn.edi.unedifact.d99b.common.ItemDescription;
import org.milyn.edi.unedifact.d99b.common.Quantity;
import org.milyn.edi.unedifact.d99b.common.ProductGroupInformation;
import org.milyn.edi.unedifact.d99b.common.PartyIdentification;
import org.milyn.edi.unedifact.d99b.common.Package;
import org.milyn.edi.unedifact.d99b.common.Identity;
import org.milyn.edi.unedifact.d99b.common.DeliveryLimitations;
import org.milyn.edi.unedifact.d99b.common.NumberOfUnits;
import org.milyn.edi.unedifact.d99b.common.ProcessIdentification;
import org.milyn.edi.unedifact.d99b.common.DateTimePeriod;
import org.milyn.edi.unedifact.d99b.common.Status;
import org.milyn.edi.unedifact.d99b.common.ClinicalInformation;
import org.milyn.edi.unedifact.d99b.common.FreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup14 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private LineItem lineItem;
private List dosageAdministration;
private ItemDescription itemDescription;
private List quantity;
private List productGroupInformation;
private List partyIdentification;
private Package _package;
private List identity;
private List deliveryLimitations;
private NumberOfUnits numberOfUnits;
private List processIdentification;
private List dateTimePeriod;
private Status status;
private List clinicalInformation;
private List freeText;
private List segmentGroup15;
private List segmentGroup16;
private List segmentGroup17;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(lineItem != null) {
nodeWriter.write("LIN");
nodeWriter.write(delimiters.getField());
lineItem.write(nodeWriter, delimiters);
}
if(dosageAdministration != null && !dosageAdministration.isEmpty()) {
for(DosageAdministration dosageAdministrationInst : dosageAdministration) {
nodeWriter.write("DSG");
nodeWriter.write(delimiters.getField());
dosageAdministrationInst.write(nodeWriter, delimiters);
}
}
if(itemDescription != null) {
nodeWriter.write("IMD");
nodeWriter.write(delimiters.getField());
itemDescription.write(nodeWriter, delimiters);
}
if(quantity != null && !quantity.isEmpty()) {
for(Quantity quantityInst : quantity) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
quantityInst.write(nodeWriter, delimiters);
}
}
if(productGroupInformation != null && !productGroupInformation.isEmpty()) {
for(ProductGroupInformation productGroupInformationInst : productGroupInformation) {
nodeWriter.write("PGI");
nodeWriter.write(delimiters.getField());
productGroupInformationInst.write(nodeWriter, delimiters);
}
}
if(partyIdentification != null && !partyIdentification.isEmpty()) {
for(PartyIdentification partyIdentificationInst : partyIdentification) {
nodeWriter.write("PNA");
nodeWriter.write(delimiters.getField());
partyIdentificationInst.write(nodeWriter, delimiters);
}
}
if(_package != null) {
nodeWriter.write("PAC");
nodeWriter.write(delimiters.getField());
_package.write(nodeWriter, delimiters);
}
if(identity != null && !identity.isEmpty()) {
for(Identity identityInst : identity) {
nodeWriter.write("IDE");
nodeWriter.write(delimiters.getField());
identityInst.write(nodeWriter, delimiters);
}
}
if(deliveryLimitations != null && !deliveryLimitations.isEmpty()) {
for(DeliveryLimitations deliveryLimitationsInst : deliveryLimitations) {
nodeWriter.write("DLM");
nodeWriter.write(delimiters.getField());
deliveryLimitationsInst.write(nodeWriter, delimiters);
}
}
if(numberOfUnits != null) {
nodeWriter.write("EQN");
nodeWriter.write(delimiters.getField());
numberOfUnits.write(nodeWriter, delimiters);
}
if(processIdentification != null && !processIdentification.isEmpty()) {
for(ProcessIdentification processIdentificationInst : processIdentification) {
nodeWriter.write("PRC");
nodeWriter.write(delimiters.getField());
processIdentificationInst.write(nodeWriter, delimiters);
}
}
if(dateTimePeriod != null && !dateTimePeriod.isEmpty()) {
for(DateTimePeriod dateTimePeriodInst : dateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(status != null) {
nodeWriter.write("STS");
nodeWriter.write(delimiters.getField());
status.write(nodeWriter, delimiters);
}
if(clinicalInformation != null && !clinicalInformation.isEmpty()) {
for(ClinicalInformation clinicalInformationInst : clinicalInformation) {
nodeWriter.write("CIN");
nodeWriter.write(delimiters.getField());
clinicalInformationInst.write(nodeWriter, delimiters);
}
}
if(freeText != null && !freeText.isEmpty()) {
for(FreeText freeTextInst : freeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
freeTextInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup15 != null && !segmentGroup15.isEmpty()) {
for(SegmentGroup15 segmentGroup15Inst : segmentGroup15) {
segmentGroup15Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup16 != null && !segmentGroup16.isEmpty()) {
for(SegmentGroup16 segmentGroup16Inst : segmentGroup16) {
segmentGroup16Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup17 != null && !segmentGroup17.isEmpty()) {
for(SegmentGroup17 segmentGroup17Inst : segmentGroup17) {
segmentGroup17Inst.write(nodeWriter, delimiters);
}
}
}
public LineItem getLineItem() {
return lineItem;
}
public SegmentGroup14 setLineItem(LineItem lineItem) {
this.lineItem = lineItem; return this;
}
public List getDosageAdministration() {
return dosageAdministration;
}
public SegmentGroup14 setDosageAdministration(List dosageAdministration) {
this.dosageAdministration = dosageAdministration; return this;
}
public ItemDescription getItemDescription() {
return itemDescription;
}
public SegmentGroup14 setItemDescription(ItemDescription itemDescription) {
this.itemDescription = itemDescription; return this;
}
public List getQuantity() {
return quantity;
}
public SegmentGroup14 setQuantity(List quantity) {
this.quantity = quantity; return this;
}
public List getProductGroupInformation() {
return productGroupInformation;
}
public SegmentGroup14 setProductGroupInformation(List productGroupInformation) {
this.productGroupInformation = productGroupInformation; return this;
}
public List getPartyIdentification() {
return partyIdentification;
}
public SegmentGroup14 setPartyIdentification(List partyIdentification) {
this.partyIdentification = partyIdentification; return this;
}
public Package get_package() {
return _package;
}
public SegmentGroup14 set_package(Package _package) {
this._package = _package; return this;
}
public List getIdentity() {
return identity;
}
public SegmentGroup14 setIdentity(List identity) {
this.identity = identity; return this;
}
public List getDeliveryLimitations() {
return deliveryLimitations;
}
public SegmentGroup14 setDeliveryLimitations(List deliveryLimitations) {
this.deliveryLimitations = deliveryLimitations; return this;
}
public NumberOfUnits getNumberOfUnits() {
return numberOfUnits;
}
public SegmentGroup14 setNumberOfUnits(NumberOfUnits numberOfUnits) {
this.numberOfUnits = numberOfUnits; return this;
}
public List getProcessIdentification() {
return processIdentification;
}
public SegmentGroup14 setProcessIdentification(List processIdentification) {
this.processIdentification = processIdentification; return this;
}
public List getDateTimePeriod() {
return dateTimePeriod;
}
public SegmentGroup14 setDateTimePeriod(List dateTimePeriod) {
this.dateTimePeriod = dateTimePeriod; return this;
}
public Status getStatus() {
return status;
}
public SegmentGroup14 setStatus(Status status) {
this.status = status; return this;
}
public List getClinicalInformation() {
return clinicalInformation;
}
public SegmentGroup14 setClinicalInformation(List clinicalInformation) {
this.clinicalInformation = clinicalInformation; return this;
}
public List getFreeText() {
return freeText;
}
public SegmentGroup14 setFreeText(List freeText) {
this.freeText = freeText; return this;
}
public List getSegmentGroup15() {
return segmentGroup15;
}
public SegmentGroup14 setSegmentGroup15(List segmentGroup15) {
this.segmentGroup15 = segmentGroup15; return this;
}
public List getSegmentGroup16() {
return segmentGroup16;
}
public SegmentGroup14 setSegmentGroup16(List segmentGroup16) {
this.segmentGroup16 = segmentGroup16; return this;
}
public List getSegmentGroup17() {
return segmentGroup17;
}
public SegmentGroup14 setSegmentGroup17(List segmentGroup17) {
this.segmentGroup17 = segmentGroup17; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy