/** * Gets the first repetition for <b>aggregation</b> (), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle * </p> */ public BoundCodeDt<AggregationModeEnum> getAggregationFirstRep() { if (getAggregation().size() == 0) { addAggregation(); } return getAggregation().get(0); }
/** * Sets the value(s), and clears any existing value(s) for <b>aggregation</b> () * * <p> * <b>Definition:</b> * If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle * </p> */ public Type setAggregation(AggregationModeEnum theValue) { getAggregation().clear(); addAggregation(theValue); return this; }
/** * Add a value for <b>aggregation</b> () * * <p> * <b>Definition:</b> * If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle * </p> */ public BoundCodeDt<AggregationModeEnum> addAggregation() { BoundCodeDt<AggregationModeEnum> retVal = new BoundCodeDt<AggregationModeEnum>(AggregationModeEnum.VALUESET_BINDER); getAggregation().add(retVal); return retVal; }
/** * Add a value for <b>aggregation</b> () using an enumerated type. This * is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory * or contain the desirable codes. If you wish to use codes other than those which are built-in, * you may also use the {@link #addAggregation()} method. * * <p> * <b>Definition:</b> * If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle. * </p> */ public BoundCodeDt<AggregationModeEnum> addAggregation(AggregationModeEnum theValue) { BoundCodeDt<AggregationModeEnum> retVal = new BoundCodeDt<AggregationModeEnum>(AggregationModeEnum.VALUESET_BINDER, theValue); getAggregation().add(retVal); return retVal; }
/** * Gets the first repetition for <b>aggregation</b> (), * creating it if it does not already exist. * * <p> * <b>Definition:</b> * If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle. * </p> */ public BoundCodeDt<AggregationModeEnum> getAggregationFirstRep() { if (getAggregation().size() == 0) { addAggregation(); } return getAggregation().get(0); }
/** * Add a value for <b>aggregation</b> () * * <p> * <b>Definition:</b> * If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle. * </p> */ public BoundCodeDt<AggregationModeEnum> addAggregation() { BoundCodeDt<AggregationModeEnum> retVal = new BoundCodeDt<AggregationModeEnum>(AggregationModeEnum.VALUESET_BINDER); getAggregation().add(retVal); return retVal; }
/** * Sets the value(s), and clears any existing value(s) for <b>aggregation</b> () * * <p> * <b>Definition:</b> * If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle. * </p> */ public Type setAggregation(AggregationModeEnum theValue) { getAggregation().clear(); addAggregation(theValue); return this; }
/** * Add a value for <b>aggregation</b> () using an enumerated type. This * is intended as a convenience method for situations where the FHIR defined ValueSets are mandatory * or contain the desirable codes. If you wish to use codes other than those which are built-in, * you may also use the {@link #addAggregation()} method. * * <p> * <b>Definition:</b> * If the type is a reference to another resource, how the resource is or can be aggreated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle * </p> */ public BoundCodeDt<AggregationModeEnum> addAggregation(AggregationModeEnum theValue) { BoundCodeDt<AggregationModeEnum> retVal = new BoundCodeDt<AggregationModeEnum>(AggregationModeEnum.VALUESET_BINDER, theValue); getAggregation().add(retVal); return retVal; }