/** * Sets the value for <b>count</b> () * * <p> * <b>Definition:</b> * A total count of the desired number of repetitions * </p> */ public Repeat setCount( int theInteger) { myCount = new IntegerDt(theInteger); return this; }
/** * Sets the value for <b>frequencyMax</b> () * * <p> * <b>Definition:</b> * * </p> */ public Repeat setFrequencyMax( int theInteger) { myFrequencyMax = new IntegerDt(theInteger); return this; }
/** * Sets the value for <b>min</b> () * * <p> * <b>Definition:</b> * Minimum cardinality of the base element identified by the path * </p> */ public Base setMin( int theInteger) { myMin = new IntegerDt(theInteger); return this; }
/** * Sets the value for <b>min</b> () * * <p> * <b>Definition:</b> * Minimum cardinality of the base element identified by the path * </p> */ public Base setMin( int theInteger) { myMin = new IntegerDt(theInteger); return this; }
/** * Sets the value for <b>maxLength</b> () * * <p> * <b>Definition:</b> * Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element * </p> */ public ElementDefinitionDt setMaxLength( int theInteger) { myMaxLength = new IntegerDt(theInteger); return this; }
/** * Sets the value for <b>offset</b> () * * <p> * <b>Definition:</b> * If paging is being used, the offset at which this resource starts. I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present * </p> */ public Expansion setOffset( int theInteger) { myOffset = new IntegerDt(theInteger); return this; }
/** * Sets the value for <b>min</b> () * * <p> * <b>Definition:</b> * The minimum number of times this element SHALL appear in the instance * </p> */ public ElementDefinitionDt setMin( int theInteger) { myMin = new IntegerDt(theInteger); return this; }
/** * Sets the value for <b>frequency</b> () * * <p> * <b>Definition:</b> * The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided) * </p> */ public Repeat setFrequency( int theInteger) { myFrequency = new IntegerDt(theInteger); return this; }
/** * Sets the value for <b>min</b> () * * <p> * <b>Definition:</b> * The minimum number of times this element SHALL appear in the instance * </p> */ public ElementDefinitionDt setMin( int theInteger) { myMin = new IntegerDt(theInteger); return this; }
/** * Sets the value for <b>total</b> () * * <p> * <b>Definition:</b> * The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter * </p> */ public Expansion setTotal( int theInteger) { myTotal = new IntegerDt(theInteger); return this; }
/** * Sets the value for <b>maxLength</b> () * * <p> * <b>Definition:</b> * Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element * </p> */ public ElementDefinitionDt setMaxLength( int theInteger) { myMaxLength = new IntegerDt(theInteger); return this; }
/** * Gets the value(s) for <b>min</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The minimum number of times this element SHALL appear in the instance * </p> */ public IntegerDt getMinElement() { if (myMin == null) { myMin = new IntegerDt(); } return myMin; }
/** * Gets the value(s) for <b>min</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Minimum cardinality of the base element identified by the path * </p> */ public IntegerDt getMinElement() { if (myMin == null) { myMin = new IntegerDt(); } return myMin; }
/** * Gets the value(s) for <b>min</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The minimum number of times this element SHALL appear in the instance * </p> */ public IntegerDt getMinElement() { if (myMin == null) { myMin = new IntegerDt(); } return myMin; }
/** * Gets the value(s) for <b>offset</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * If paging is being used, the offset at which this resource starts. I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL not be present * </p> */ public IntegerDt getOffsetElement() { if (myOffset == null) { myOffset = new IntegerDt(); } return myOffset; }
/** * Gets the value(s) for <b>frequency</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The number of times to repeat the action within the specified period / period range (i.e. both period and periodMax provided) * </p> */ public IntegerDt getFrequencyElement() { if (myFrequency == null) { myFrequency = new IntegerDt(); } return myFrequency; }
/** * Gets the value(s) for <b>min</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * Minimum cardinality of the base element identified by the path * </p> */ public IntegerDt getMinElement() { if (myMin == null) { myMin = new IntegerDt(); } return myMin; }
/** * Gets the value(s) for <b>total</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter * </p> */ public IntegerDt getTotalElement() { if (myTotal == null) { myTotal = new IntegerDt(); } return myTotal; }
public static IntegerDt toInteger(Object theArgument) { if (theArgument instanceof IntegerDt) { return (IntegerDt) theArgument; } if (theArgument instanceof Integer) { return new IntegerDt((Integer) theArgument); } if (theArgument instanceof IPrimitiveType) { IPrimitiveType<?> pt = (IPrimitiveType<?>) theArgument; return new IntegerDt(pt.getValueAsString()); } return null; }
public static Parameters toExpungeResponse(org.hl7.fhir.r4.model.Parameters theRetVal) { Integer count = ((IntegerType) theRetVal.getParameterFirstRep().getValue()).getValue(); return new Parameters() .addParameter(new Parameter().setName("count").setValue(new IntegerDt(count))); }