Class Contract.TermValuedItem
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Contract.TermValuedItem
-
- 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.TermValuedItem extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Contract.term.valuedItem ()Definition: Contract Provision Valued Item List
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TermValuedItem()
-
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)DategetEffectiveTime()Gets the value(s) for effectiveTime ().ca.uhn.fhir.model.primitive.DateTimeDtgetEffectiveTimeElement()Gets the value(s) for effectiveTime ().ca.uhn.fhir.model.api.IDatatypegetEntity()Gets the value(s) for entity[x] ().BigDecimalgetFactor()Gets the value(s) for factor ().ca.uhn.fhir.model.primitive.DecimalDtgetFactorElement()Gets the value(s) for factor ().IdentifierDtgetIdentifier()Gets the value(s) for identifier ().MoneyDtgetNet()Gets the value(s) for net ().BigDecimalgetPoints()Gets the value(s) for points ().ca.uhn.fhir.model.primitive.DecimalDtgetPointsElement()Gets the value(s) for points ().SimpleQuantityDtgetQuantity()Gets the value(s) for quantity ().MoneyDtgetUnitPrice()Gets the value(s) for unitPrice ().booleanisEmpty()Contract.TermValuedItemsetEffectiveTime(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for effectiveTime ()Contract.TermValuedItemsetEffectiveTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for effectiveTime ()Contract.TermValuedItemsetEffectiveTimeWithSecondsPrecision(Date theDate)Sets the value for effectiveTime ()Contract.TermValuedItemsetEntity(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for entity[x] ()Contract.TermValuedItemsetFactor(double theValue)Sets the value for factor ()Contract.TermValuedItemsetFactor(long theValue)Sets the value for factor ()Contract.TermValuedItemsetFactor(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for factor ()Contract.TermValuedItemsetFactor(BigDecimal theValue)Sets the value for factor ()Contract.TermValuedItemsetIdentifier(IdentifierDt theValue)Sets the value(s) for identifier ()Contract.TermValuedItemsetNet(MoneyDt theValue)Sets the value(s) for net ()Contract.TermValuedItemsetPoints(double theValue)Sets the value for points ()Contract.TermValuedItemsetPoints(long theValue)Sets the value for points ()Contract.TermValuedItemsetPoints(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for points ()Contract.TermValuedItemsetPoints(BigDecimal theValue)Sets the value for points ()Contract.TermValuedItemsetQuantity(SimpleQuantityDt theValue)Sets the value(s) for quantity ()Contract.TermValuedItemsetUnitPrice(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
-
TermValuedItem
public TermValuedItem()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein 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 Provision Valued Item that may be priced.
-
setEntity
public Contract.TermValuedItem setEntity(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for entity[x] ()Definition: Specific type of Contract Provision 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 Provision Valued Item instance.
-
setIdentifier
public Contract.TermValuedItem setIdentifier(IdentifierDt theValue)
Sets the value(s) for identifier ()Definition: Identifies a Contract Provision 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 Term 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 Term ValuedItem information is effective.
-
setEffectiveTime
public Contract.TermValuedItem setEffectiveTime(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for effectiveTime ()Definition: Indicates the time during which this Contract Term ValuedItem information is effective.
-
setEffectiveTime
public Contract.TermValuedItem setEffectiveTime(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for effectiveTime ()Definition: Indicates the time during which this Contract Term ValuedItem information is effective.
-
setEffectiveTimeWithSecondsPrecision
public Contract.TermValuedItem setEffectiveTimeWithSecondsPrecision(Date theDate)
Sets the value for effectiveTime ()Definition: Indicates the time during which this Contract Term 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 Provision Valued Item is measured or counted, and quantifies the countable or measurable Contract Term Valued Item instances.
-
setQuantity
public Contract.TermValuedItem setQuantity(SimpleQuantityDt theValue)
Sets the value(s) for quantity ()Definition: Specifies the units by which the Contract Provision Valued Item is measured or counted, and quantifies the countable or measurable Contract Term 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 Provision Valued Item unit valuation measure.
-
setUnitPrice
public Contract.TermValuedItem setUnitPrice(MoneyDt theValue)
Sets the value(s) for unitPrice ()Definition: A Contract Provision 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 Provision 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 Provision 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.TermValuedItem 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 Provision 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.TermValuedItem 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 Provision 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.TermValuedItem 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 Provision 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.TermValuedItem 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 Provision 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 Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued 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 Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point.
-
setPoints
public Contract.TermValuedItem 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 Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point.
-
setPoints
public Contract.TermValuedItem 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 Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point.
-
setPoints
public Contract.TermValuedItem 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 Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point.
-
setPoints
public Contract.TermValuedItem 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 Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued 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 Provision 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.TermValuedItem setNet(MoneyDt theValue)
Sets the value(s) for net ()Definition: Expresses the product of the Contract Provision 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.
-
-