/** * @return {@link #answer} (A value that the referenced question is tested using the specified operator in order for the item to be enabled.) */ public DecimalType getAnswerDecimalType() throws FHIRException { if (this.answer == null) this.answer = new DecimalType(); if (!(this.answer instanceof DecimalType)) throw new FHIRException("Type mismatch: the type DecimalType was expected, but "+this.answer.getClass().getName()+" was encountered"); return (DecimalType) this.answer; }
/** * @return {@link #value} (The actual value to for an initial answer.) */ public DecimalType getValueDecimalType() throws FHIRException { if (this.value == null) this.value = new DecimalType(); if (!(this.value instanceof DecimalType)) throw new FHIRException("Type mismatch: the type DecimalType was expected, but "+this.value.getClass().getName()+" was encountered"); return (DecimalType) this.value; }
/** * @param value Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below). */ public LocationPositionComponent setAltitude(double value) { this.altitude = new DecimalType(); this.altitude.setValue(value); return this; }
/** * @param value The length of time between sampling times, measured in milliseconds. */ public SampledData setPeriod(BigDecimal value) { if (this.period == null) this.period = new DecimalType(); this.period.setValue(value); return this; }
/** * @param value {@link #fMeasure} (Calculated fScore if the GQ score threshold was set to "score" field value.) */ public MolecularSequenceQualityRocComponent addFMeasure(BigDecimal value) { //1 DecimalType t = new DecimalType(); t.setValue(value); if (this.fMeasure == null) this.fMeasure = new ArrayList<DecimalType>(); this.fMeasure.add(t); return this; }
/** * @param value Factor overriding the factor determined by the rules associated with the code. */ public ChargeItem setFactorOverride(long value) { this.factorOverride = new DecimalType(); this.factorOverride.setValue(value); return this; }
/** * @param value Use 95 for a 95% confidence interval. */ public RiskEvidenceSynthesisRiskEstimatePrecisionEstimateComponent setLevel(long value) { this.level = new DecimalType(); this.level.setValue(value); return this; }
/** * @param value A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. */ public DetailComponent setFactor(long value) { this.factor = new DecimalType(); this.factor.setValue(value); return this; }
/** * @param value A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. */ public SubDetailComponent setFactor(double value) { this.factor = new DecimalType(); this.factor.setValue(value); return this; }
/** * @param value When searching, the server's search ranking score for the entry. */ public BundleEntrySearchComponent setScore(long value) { this.score = new DecimalType(); this.score.setValue(value); return this; }
/** * @return {@link #value} (The answer (or one of the answers) provided by the respondent to the question.) */ public DecimalType getValueDecimalType() throws FHIRException { if (this.value == null) this.value = new DecimalType(); if (!(this.value instanceof DecimalType)) throw new FHIRException("Type mismatch: the type DecimalType was expected, but "+this.value.getClass().getName()+" was encountered"); return (DecimalType) this.value; }
/** * @param value A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. */ public ItemComponent setFactor(long value) { this.factor = new DecimalType(); this.factor.setValue(value); return this; }
/** * @param value A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount. */ public ItemComponent setFactor(double value) { this.factor = new DecimalType(); this.factor.setValue(value); return this; }
/** * @param value The value of the measured amount. The value includes an implicit precision in the presentation of the value. */ public Quantity setValue(long value) { this.value = new DecimalType(); this.value.setValue(value); return this; }
/** * @return {@link #factor} (A correction factor that is applied to the sampled data points before they are added to the origin.). This is the underlying object with id, value and extensions. The accessor "getFactor" gives direct access to the value */ public DecimalType getFactorElement() { if (this.factor == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SampledData.factor"); else if (Configuration.doAutoCreate()) this.factor = new DecimalType(); // bb return this.factor; }
/** * @return {@link #factor} (A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.). This is the underlying object with id, value and extensions. The accessor "getFactor" gives direct access to the value */ public DecimalType getFactorElement() { if (this.factor == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create ItemComponent.factor"); else if (Configuration.doAutoCreate()) this.factor = new DecimalType(); // bb return this.factor; }
/** * @return {@link #factor} (A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.). This is the underlying object with id, value and extensions. The accessor "getFactor" gives direct access to the value */ public DecimalType getFactorElement() { if (this.factor == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create DetailComponent.factor"); else if (Configuration.doAutoCreate()) this.factor = new DecimalType(); // bb return this.factor; }
/** * @return {@link #value} (A non-monetary value associated with the category. Mutually exclusive to the amount element above.). This is the underlying object with id, value and extensions. The accessor "getValue" gives direct access to the value */ public DecimalType getValueElement() { if (this.value == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create AdjudicationComponent.value"); else if (Configuration.doAutoCreate()) this.value = new DecimalType(); // bb return this.value; }
/** * @return {@link #factor} (A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.). This is the underlying object with id, value and extensions. The accessor "getFactor" gives direct access to the value */ public DecimalType getFactorElement() { if (this.factor == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create AddedItemDetailComponent.factor"); else if (Configuration.doAutoCreate()) this.factor = new DecimalType(); // bb return this.factor; }
public org.hl7.fhir.r4.model.DecimalType convertDecimal(org.hl7.fhir.instance.model.DecimalType src) throws FHIRException { org.hl7.fhir.r4.model.DecimalType tgt = new org.hl7.fhir.r4.model.DecimalType(src.getValue()); copyElement(src, tgt); return tgt; }