Package org.hl7.fhir.dstu2.model
Class Contract.TermValuedItemComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.Element
-
- org.hl7.fhir.dstu2.model.BackboneElement
-
- org.hl7.fhir.dstu2.model.Contract.TermValuedItemComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- Contract
public static class Contract.TermValuedItemComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DateTimeTypeeffectiveTimeIndicates the time during which this Contract Term ValuedItem information is effective.protected TypeentitySpecific type of Contract Provision Valued Item that may be priced.protected DecimalTypefactorA real number that represents a multiplier used in determining the overall value of the Contract Provision Valued Item delivered.protected IdentifieridentifierIdentifies a Contract Provision Valued Item instance.protected MoneynetExpresses the product of the Contract Provision Valued Item unitQuantity and the unitPriceAmt.protected DecimalTypepointsAn amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Provision Valued Item delivered.protected SimpleQuantityquantitySpecifies the units by which the Contract Provision Valued Item is measured or counted, and quantifies the countable or measurable Contract Term Valued Item instances.protected MoneyunitPriceA Contract Provision Valued Item unit valuation measure.-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description TermValuedItemComponent()
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
identifier
protected Identifier identifier
Identifies a Contract Provision Valued Item instance.
-
effectiveTime
protected DateTimeType effectiveTime
Indicates the time during which this Contract Term ValuedItem information is effective.
-
quantity
protected SimpleQuantity quantity
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.
-
factor
protected DecimalType factor
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.
-
points
protected DecimalType points
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.
-
-
Constructor Detail
-
TermValuedItemComponent
public TermValuedItemComponent()
-
-
Method Detail
-
getEntity
public Type getEntity()
- Returns:
entity(Specific type of Contract Provision Valued Item that may be priced.)
-
getEntityCodeableConcept
public CodeableConcept getEntityCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
entity(Specific type of Contract Provision Valued Item that may be priced.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasEntityCodeableConcept
public boolean hasEntityCodeableConcept()
-
getEntityReference
public Reference getEntityReference() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
entity(Specific type of Contract Provision Valued Item that may be priced.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasEntityReference
public boolean hasEntityReference()
-
hasEntity
public boolean hasEntity()
-
setEntity
public Contract.TermValuedItemComponent setEntity(Type value)
- Parameters:
value-entity(Specific type of Contract Provision Valued Item that may be priced.)
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier(Identifies a Contract Provision Valued Item instance.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public Contract.TermValuedItemComponent setIdentifier(Identifier value)
- Parameters:
value-identifier(Identifies a Contract Provision Valued Item instance.)
-
getEffectiveTimeElement
public DateTimeType getEffectiveTimeElement()
- Returns:
effectiveTime(Indicates the time during which this Contract Term ValuedItem information is effective.). This is the underlying object with id, value and extensions. The accessor "getEffectiveTime" gives direct access to the value
-
hasEffectiveTimeElement
public boolean hasEffectiveTimeElement()
-
hasEffectiveTime
public boolean hasEffectiveTime()
-
setEffectiveTimeElement
public Contract.TermValuedItemComponent setEffectiveTimeElement(DateTimeType value)
- Parameters:
value-effectiveTime(Indicates the time during which this Contract Term ValuedItem information is effective.). This is the underlying object with id, value and extensions. The accessor "getEffectiveTime" gives direct access to the value
-
getEffectiveTime
public Date getEffectiveTime()
- Returns:
- Indicates the time during which this Contract Term ValuedItem information is effective.
-
setEffectiveTime
public Contract.TermValuedItemComponent setEffectiveTime(Date value)
- Parameters:
value- Indicates the time during which this Contract Term ValuedItem information is effective.
-
getQuantity
public SimpleQuantity getQuantity()
- Returns:
quantity(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.)
-
hasQuantity
public boolean hasQuantity()
-
setQuantity
public Contract.TermValuedItemComponent setQuantity(SimpleQuantity value)
- Parameters:
value-quantity(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 Money getUnitPrice()
- Returns:
unitPrice(A Contract Provision Valued Item unit valuation measure.)
-
hasUnitPrice
public boolean hasUnitPrice()
-
setUnitPrice
public Contract.TermValuedItemComponent setUnitPrice(Money value)
- Parameters:
value-unitPrice(A Contract Provision Valued Item unit valuation measure.)
-
getFactorElement
public DecimalType getFactorElement()
- Returns:
factor(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.). This is the underlying object with id, value and extensions. The accessor "getFactor" gives direct access to the value
-
hasFactorElement
public boolean hasFactorElement()
-
hasFactor
public boolean hasFactor()
-
setFactorElement
public Contract.TermValuedItemComponent setFactorElement(DecimalType value)
- Parameters:
value-factor(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.). This is the underlying object with id, value and extensions. The accessor "getFactor" gives direct access to the value
-
getFactor
public BigDecimal getFactor()
- Returns:
- 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.TermValuedItemComponent setFactor(BigDecimal value)
- Parameters:
value- 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 DecimalType getPointsElement()
- Returns:
points(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.). This is the underlying object with id, value and extensions. The accessor "getPoints" gives direct access to the value
-
hasPointsElement
public boolean hasPointsElement()
-
hasPoints
public boolean hasPoints()
-
setPointsElement
public Contract.TermValuedItemComponent setPointsElement(DecimalType value)
- Parameters:
value-points(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.). This is the underlying object with id, value and extensions. The accessor "getPoints" gives direct access to the value
-
getPoints
public BigDecimal getPoints()
- Returns:
- 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.TermValuedItemComponent setPoints(BigDecimal value)
- Parameters:
value- 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 Money getNet()
- Returns:
net(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.)
-
hasNet
public boolean hasNet()
-
setNet
public Contract.TermValuedItemComponent setNet(Money value)
- Parameters:
value-net(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.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public Contract.TermValuedItemComponent copy()
- Specified by:
copyin classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-