
Class Contract.ValuedItem
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Contract.ValuedItem
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- Contract
public static class Contract.ValuedItem extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Contract.valuedItem ()Definition: Contract Valued Item List
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValuedItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)
Date
getEffectiveTime()
Gets the value(s) for effectiveTime ().ca.uhn.fhir.model.primitive.DateTimeDt
getEffectiveTimeElement()
Gets the value(s) for effectiveTime ().ca.uhn.fhir.model.api.IDatatype
getEntity()
Gets the value(s) for entity[x] ().BigDecimal
getFactor()
Gets the value(s) for factor ().ca.uhn.fhir.model.primitive.DecimalDt
getFactorElement()
Gets the value(s) for factor ().IdentifierDt
getIdentifier()
Gets the value(s) for identifier ().MoneyDt
getNet()
Gets the value(s) for net ().BigDecimal
getPoints()
Gets the value(s) for points ().ca.uhn.fhir.model.primitive.DecimalDt
getPointsElement()
Gets the value(s) for points ().SimpleQuantityDt
getQuantity()
Gets the value(s) for quantity ().MoneyDt
getUnitPrice()
Gets the value(s) for unitPrice ().boolean
isEmpty()
Contract.ValuedItem
setEffectiveTime(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for effectiveTime ()Contract.ValuedItem
setEffectiveTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for effectiveTime ()Contract.ValuedItem
setEffectiveTimeWithSecondsPrecision(Date theDate)
Sets the value for effectiveTime ()Contract.ValuedItem
setEntity(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for entity[x] ()Contract.ValuedItem
setFactor(double theValue)
Sets the value for factor ()Contract.ValuedItem
setFactor(long theValue)
Sets the value for factor ()Contract.ValuedItem
setFactor(ca.uhn.fhir.model.primitive.DecimalDt theValue)
Sets the value(s) for factor ()Contract.ValuedItem
setFactor(BigDecimal theValue)
Sets the value for factor ()Contract.ValuedItem
setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier ()Contract.ValuedItem
setNet(MoneyDt theValue)
Sets the value(s) for net ()Contract.ValuedItem
setPoints(double theValue)
Sets the value for points ()Contract.ValuedItem
setPoints(long theValue)
Sets the value for points ()Contract.ValuedItem
setPoints(ca.uhn.fhir.model.primitive.DecimalDt theValue)
Sets the value(s) for points ()Contract.ValuedItem
setPoints(BigDecimal theValue)
Sets the value for points ()Contract.ValuedItem
setQuantity(SimpleQuantityDt theValue)
Sets the value(s) for quantity ()Contract.ValuedItem
setUnitPrice(MoneyDt theValue)
Sets the value(s) for unitPrice ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
ValuedItem
public ValuedItem()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getEntity
public ca.uhn.fhir.model.api.IDatatype getEntity()
Gets the value(s) for entity[x] (). creating it if it does not exist. Will not returnnull
.Definition: Specific type of Contract Valued Item that may be priced.
-
setEntity
public Contract.ValuedItem setEntity(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for entity[x] ()Definition: Specific type of Contract Valued Item that may be priced.
-
getIdentifier
public IdentifierDt getIdentifier()
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.Definition: Identifies a Contract Valued Item instance.
-
setIdentifier
public Contract.ValuedItem setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier ()Definition: Identifies a Contract Valued Item instance.
-
getEffectiveTimeElement
public ca.uhn.fhir.model.primitive.DateTimeDt getEffectiveTimeElement()
Gets the value(s) for effectiveTime (). creating it if it does not exist. Will not returnnull
.Definition: Indicates the time during which this Contract ValuedItem information is effective.
-
getEffectiveTime
public Date getEffectiveTime()
Gets the value(s) for effectiveTime (). creating it if it does not exist. This method may returnnull
.Definition: Indicates the time during which this Contract ValuedItem information is effective.
-
setEffectiveTime
public Contract.ValuedItem setEffectiveTime(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for effectiveTime ()Definition: Indicates the time during which this Contract ValuedItem information is effective.
-
setEffectiveTimeWithSecondsPrecision
public Contract.ValuedItem setEffectiveTimeWithSecondsPrecision(Date theDate)
Sets the value for effectiveTime ()Definition: Indicates the time during which this Contract ValuedItem information is effective.
-
setEffectiveTime
public Contract.ValuedItem setEffectiveTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for effectiveTime ()Definition: Indicates the time during which this Contract ValuedItem information is effective.
-
getQuantity
public SimpleQuantityDt getQuantity()
Gets the value(s) for quantity (). creating it if it does not exist. Will not returnnull
.Definition: Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.
-
setQuantity
public Contract.ValuedItem setQuantity(SimpleQuantityDt theValue)
Sets the value(s) for quantity ()Definition: Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.
-
getUnitPrice
public MoneyDt getUnitPrice()
Gets the value(s) for unitPrice (). creating it if it does not exist. Will not returnnull
.Definition: A Contract Valued Item unit valuation measure.
-
setUnitPrice
public Contract.ValuedItem setUnitPrice(MoneyDt theValue)
Sets the value(s) for unitPrice ()Definition: A Contract Valued Item unit valuation measure.
-
getFactorElement
public ca.uhn.fhir.model.primitive.DecimalDt getFactorElement()
Gets the value(s) for factor (). creating it if it does not exist. Will not returnnull
.Definition: A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
getFactor
public BigDecimal getFactor()
Gets the value(s) for factor (). creating it if it does not exist. This method may returnnull
.Definition: A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
setFactor
public Contract.ValuedItem setFactor(ca.uhn.fhir.model.primitive.DecimalDt theValue)
Sets the value(s) for factor ()Definition: A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
setFactor
public Contract.ValuedItem setFactor(double theValue)
Sets the value for factor ()Definition: A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
setFactor
public Contract.ValuedItem setFactor(long theValue)
Sets the value for factor ()Definition: A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
setFactor
public Contract.ValuedItem setFactor(BigDecimal theValue)
Sets the value for factor ()Definition: A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
getPointsElement
public ca.uhn.fhir.model.primitive.DecimalDt getPointsElement()
Gets the value(s) for points (). creating it if it does not exist. Will not returnnull
.Definition: An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point.
-
getPoints
public BigDecimal getPoints()
Gets the value(s) for points (). creating it if it does not exist. This method may returnnull
.Definition: An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point.
-
setPoints
public Contract.ValuedItem setPoints(ca.uhn.fhir.model.primitive.DecimalDt theValue)
Sets the value(s) for points ()Definition: An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point.
-
setPoints
public Contract.ValuedItem setPoints(double theValue)
Sets the value for points ()Definition: An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point.
-
setPoints
public Contract.ValuedItem setPoints(long theValue)
Sets the value for points ()Definition: An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point.
-
setPoints
public Contract.ValuedItem setPoints(BigDecimal theValue)
Sets the value for points ()Definition: An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point.
-
getNet
public MoneyDt getNet()
Gets the value(s) for net (). creating it if it does not exist. Will not returnnull
.Definition: Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.
-
setNet
public Contract.ValuedItem setNet(MoneyDt theValue)
Sets the value(s) for net ()Definition: Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied.
-
-