/** * @param value Sequence in which the items appear on the invoice. */ public InvoiceLineItemComponent setSequence(int value) { if (this.sequence == null) this.sequence = new PositiveIntType(); this.sequence.setValue(value); return this; }
@Override public PositiveIntType copy() { PositiveIntType ret = new PositiveIntType(getValue()); copyValues(ret); return ret; }
/** * @param value {@link #noteNumber} (The numbers associated with notes below which apply to the adjudication of this item.) */ public boolean hasNoteNumber(int value) { if (this.noteNumber == null) return false; for (PositiveIntType v : this.noteNumber) if (v.getValue().equals(value)) // positiveInt return true; return false; }
public ErrorComponent copy() { ErrorComponent dst = new ErrorComponent(); copyValues(dst); dst.itemSequence = itemSequence == null ? null : itemSequence.copy(); dst.detailSequence = detailSequence == null ? null : detailSequence.copy(); dst.subDetailSequence = subDetailSequence == null ? null : subDetailSequence.copy(); dst.code = code == null ? null : code.copy(); return dst; }
public static org.hl7.fhir.dstu2016may.model.PositiveIntType convertPositiveInt(org.hl7.fhir.r4.model.PositiveIntType src) throws FHIRException { org.hl7.fhir.dstu2016may.model.PositiveIntType tgt = new org.hl7.fhir.dstu2016may.model.PositiveIntType(); if (src.hasValue()) tgt.setValue(src.getValue()); copyElement(src, tgt); return tgt; }
/** * @return {@link #rank} (Ranking of the diagnosis (for each role type).). This is the underlying object with id, value and extensions. The accessor "getRank" gives direct access to the value */ public PositiveIntType getRankElement() { if (this.rank == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create DiagnosisComponent.rank"); else if (Configuration.doAutoCreate()) this.rank = new PositiveIntType(); // bb return this.rank; }
public boolean hasCareTeamSequence() { if (this.careTeamSequence == null) return false; for (PositiveIntType item : this.careTeamSequence) if (!item.isEmpty()) return true; return false; }
/** * Constructor * * @param theIntegerAsString * A string representation of an integer * @throws IllegalArgumentException * If the string is not a valid integer representation */ public PositiveIntType(String theIntegerAsString) { setValueAsString(theIntegerAsString); }
/** * @param value {@link #noteNumber} (The numbers associated with notes below which apply to the adjudication of this item.) */ public boolean hasNoteNumber(int value) { if (this.noteNumber == null) return false; for (PositiveIntType v : this.noteNumber) if (v.getValue().equals(value)) // positiveInt return true; return false; }
public TaskRestrictionComponent copy() { TaskRestrictionComponent dst = new TaskRestrictionComponent(); copyValues(dst); dst.repetitions = repetitions == null ? null : repetitions.copy(); dst.period = period == null ? null : period.copy(); if (recipient != null) { dst.recipient = new ArrayList<Reference>(); for (Reference i : recipient) dst.recipient.add(i.copy()); }; return dst; }
public static org.hl7.fhir.dstu2016may.model.PositiveIntType convertPositiveInt(org.hl7.fhir.r4.model.PositiveIntType src) throws FHIRException { org.hl7.fhir.dstu2016may.model.PositiveIntType tgt = new org.hl7.fhir.dstu2016may.model.PositiveIntType(); if (src.hasValue()) tgt.setValue(src.getValue()); copyElement(src, tgt); return tgt; }
if (this.rank == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create DiagnosisComponent.rank"); else if (Configuration.doAutoCreate()) this.rank = new PositiveIntType(); // bb return this.rank; } public boolean hasRankElement() { return this.rank != null && !this.rank.isEmpty(); }
public boolean hasDiagnosisSequence() { if (this.diagnosisSequence == null) return false; for (PositiveIntType item : this.diagnosisSequence) if (!item.isEmpty()) return true; return false; }
/** * Constructor * * @param theIntegerAsString * A string representation of an integer * @throws IllegalArgumentException * If the string is not a valid integer representation */ public PositiveIntType(String theIntegerAsString) { setValueAsString(theIntegerAsString); }
/** * @param value A number to uniquely identify item entries. */ public DetailComponent setSequence(int value) { if (this.sequence == null) this.sequence = new PositiveIntType(); this.sequence.setValue(value); return this; }
/** * @return The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once. */ public int getDimensions() { return this.dimensions == null || this.dimensions.isEmpty() ? 0 : this.dimensions.getValue(); }
@Override public PositiveIntType copy() { PositiveIntType ret = new PositiveIntType(getValue()); copyValues(ret); return ret; }
/** * @param value {@link #detailSequence} (The sequence number of the details within the claim item which this line is intended to replace.) */ public boolean hasDetailSequence(int value) { if (this.detailSequence == null) return false; for (PositiveIntType v : this.detailSequence) if (v.getValue().equals(value)) // positiveInt return true; return false; }
public InvoiceLineItemComponent copy() { InvoiceLineItemComponent dst = new InvoiceLineItemComponent(); copyValues(dst); dst.sequence = sequence == null ? null : sequence.copy(); dst.chargeItem = chargeItem == null ? null : chargeItem.copy(); if (priceComponent != null) { dst.priceComponent = new ArrayList<InvoiceLineItemPriceComponentComponent>(); for (InvoiceLineItemPriceComponentComponent i : priceComponent) dst.priceComponent.add(i.copy()); }; return dst; }