/** * @return {@link #modalityList} (A list of all the Series.ImageModality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).) */ // syntactic sugar public Coding addModalityList() { //3 Coding t = new Coding(); if (this.modalityList == null) this.modalityList = new ArrayList<Coding>(); this.modalityList.add(t); return t; }
/** * @return {@link #code} (Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.) */ public Coding getCode() { if (this.code == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ItemAdjudicationComponent.code"); else if (Configuration.doAutoCreate()) this.code = new Coding(); // cc return this.code; }
/** * @return {@link #code} (Code indicating: Co-Pay, deductible, eligible, benefit, tax, etc.) */ public Coding getCode() { if (this.code == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create AddedItemAdjudicationComponent.code"); else if (Configuration.doAutoCreate()) this.code = new Coding(); // cc return this.code; }
/** * @return {@link #service} (A code to indicate the Professional Service or Product supplied.) */ public Coding getService() { if (this.service == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create AddedItemsDetailComponent.service"); else if (Configuration.doAutoCreate()) this.service = new Coding(); // cc return this.service; }
/** * @return {@link #paymentAdjustmentReason} (Reason for the payment adjustment.) */ public Coding getPaymentAdjustmentReason() { if (this.paymentAdjustmentReason == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ClaimResponse.paymentAdjustmentReason"); else if (Configuration.doAutoCreate()) this.paymentAdjustmentReason = new Coding(); // cc return this.paymentAdjustmentReason; }
/** * @return {@link #relationship} (The relationship of the patient to the subscriber.) */ public Coding getRelationship() { if (this.relationship == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create CoverageComponent.relationship"); else if (Configuration.doAutoCreate()) this.relationship = new Coding(); // cc return this.relationship; }
/** * @return {@link #type} (The type of product or service.) */ public Coding getType() { if (this.type == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ItemsComponent.type"); else if (Configuration.doAutoCreate()) this.type = new Coding(); // cc return this.type; }
/** * @return {@link #type} (The type of product or service.) */ public Coding getType() { if (this.type == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create DetailComponent.type"); else if (Configuration.doAutoCreate()) this.type = new Coding(); // cc return this.type; }
/** * @return {@link #ruleset} (The version of the specification on which this instance relies.) */ public Coding getRuleset() { if (this.ruleset == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Claim.ruleset"); else if (Configuration.doAutoCreate()) this.ruleset = new Coding(); // cc return this.ruleset; }
/** * @return {@link #accidentType} (Type of accident: work, auto, etc.) */ public Coding getAccidentType() { if (this.accidentType == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Claim.accidentType"); else if (Configuration.doAutoCreate()) this.accidentType = new Coding(); // cc return this.accidentType; }
/** * @return {@link #ruleset} (The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.) */ public Coding getRuleset() { if (this.ruleset == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create EligibilityRequest.ruleset"); else if (Configuration.doAutoCreate()) this.ruleset = new Coding(); // cc return this.ruleset; }
/** * @return {@link #ruleset} (The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.) */ public Coding getRuleset() { if (this.ruleset == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create EnrollmentRequest.ruleset"); else if (Configuration.doAutoCreate()) this.ruleset = new Coding(); // cc return this.ruleset; }
/** * @return {@link #originalRuleset} (The style (standard) and version of the original material which was converted into this resource.) */ public Coding getOriginalRuleset() { if (this.originalRuleset == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create EnrollmentRequest.originalRuleset"); else if (Configuration.doAutoCreate()) this.originalRuleset = new Coding(); // cc return this.originalRuleset; }
/** * @return {@link #outcome} (Transaction status: error, complete, held.) */ public Coding getOutcome() { if (this.outcome == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ProcessResponse.outcome"); else if (Configuration.doAutoCreate()) this.outcome = new Coding(); // cc return this.outcome; }
/** * @return {@link #type} (The type of the object that was involved in this audit event.) */ public Coding getType() { if (this.type == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create AuditEventObjectComponent.type"); else if (Configuration.doAutoCreate()) this.type = new Coding(); // cc return this.type; }
/** * @return {@link #lifecycle} (Identifier for the data life-cycle stage for the participant object.) */ public Coding getLifecycle() { if (this.lifecycle == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create AuditEventObjectComponent.lifecycle"); else if (Configuration.doAutoCreate()) this.lifecycle = new Coding(); // cc return this.lifecycle; }
/** * @return {@link #type} (Party to be reimbursed: Subscriber, provider, other.) */ public Coding getType() { if (this.type == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create PayeeComponent.type"); else if (Configuration.doAutoCreate()) this.type = new Coding(); // cc return this.type; }
/** * @return {@link #udi} (List of Unique Device Identifiers associated with this line item.) */ public Coding getUdi() { if (this.udi == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubDetailComponent.udi"); else if (Configuration.doAutoCreate()) this.udi = new Coding(); // cc return this.udi; }
public Coding copy() { Coding dst = new Coding(); copyValues(dst); dst.system = system == null ? null : system.copy(); dst.version = version == null ? null : version.copy(); dst.code = code == null ? null : code.copy(); dst.display = display == null ? null : display.copy(); dst.userSelected = userSelected == null ? null : userSelected.copy(); return dst; }
private Coding readAsCoding(WrapperElement item) { Coding c = new Coding(); c.setSystem(item.getNamedChildValue("system")); c.setVersion(item.getNamedChildValue("version")); c.setCode(item.getNamedChildValue("code")); c.setDisplay(item.getNamedChildValue("display")); return c; }