Class Contract.Term.Asset.ValuedItem
- java.lang.Object
-
- org.linuxforhealth.fhir.model.visitor.AbstractVisitable
-
- org.linuxforhealth.fhir.model.type.Element
-
- org.linuxforhealth.fhir.model.type.BackboneElement
-
- org.linuxforhealth.fhir.model.resource.Contract.Term.Asset.ValuedItem
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- Contract.Term.Asset
public static class Contract.Term.Asset.ValuedItem extends BackboneElement
Contract Valued Item List.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Contract.Term.Asset.ValuedItem.Builder
-
Field Summary
-
Fields inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Accept a Visitor and invoke the appropriate visit methods.static Contract.Term.Asset.ValuedItem.Builder
builder()
boolean
equals(java.lang.Object obj)
DateTime
getEffectiveTime()
Indicates the time during which this Contract ValuedItem information is effective.Element
getEntity()
Specific type of Contract Valued Item that may be priced.Decimal
getFactor()
A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered.Identifier
getIdentifier()
Identifies a Contract Valued Item instance.java.util.List<String>
getLinkId()
Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.Money
getNet()
Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt.String
getPayment()
Terms of valuation.DateTime
getPaymentDate()
When payment is due.Decimal
getPoints()
An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered.SimpleQuantity
getQuantity()
Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.Reference
getRecipient()
Who will receive payment.Reference
getResponsible()
Who will make payment.java.util.List<UnsignedInt>
getSecurityLabelNumber()
A set of security labels that define which terms are controlled by this condition.Money
getUnitPrice()
A Contract Valued Item unit valuation measure.boolean
hasChildren()
int
hashCode()
Contract.Term.Asset.ValuedItem.Builder
toBuilder()
Create a new Builder from the contents of this Element-
Methods inherited from class org.linuxforhealth.fhir.model.type.BackboneElement
getModifierExtension
-
Methods inherited from class org.linuxforhealth.fhir.model.type.Element
as, getExtension, getId, hasValue, is
-
-
-
-
Method Detail
-
getEntity
public Element getEntity()
Specific type of Contract Valued Item that may be priced.- Returns:
- An immutable object of type
CodeableConcept
orReference
that may be null.
-
getIdentifier
public Identifier getIdentifier()
Identifies a Contract Valued Item instance.- Returns:
- An immutable object of type
Identifier
that may be null.
-
getEffectiveTime
public DateTime getEffectiveTime()
Indicates the time during which this Contract ValuedItem information is effective.- Returns:
- An immutable object of type
DateTime
that may be null.
-
getQuantity
public SimpleQuantity getQuantity()
Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.- Returns:
- An immutable object of type
SimpleQuantity
that may be null.
-
getUnitPrice
public Money getUnitPrice()
A Contract Valued Item unit valuation measure.- Returns:
- An immutable object of type
Money
that may be null.
-
getFactor
public Decimal getFactor()
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.- Returns:
- An immutable object of type
Decimal
that may be null.
-
getPoints
public Decimal getPoints()
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.- Returns:
- An immutable object of type
Decimal
that may be null.
-
getNet
public Money getNet()
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.- Returns:
- An immutable object of type
Money
that may be null.
-
getPayment
public String getPayment()
Terms of valuation.- Returns:
- An immutable object of type
String
that may be null.
-
getPaymentDate
public DateTime getPaymentDate()
When payment is due.- Returns:
- An immutable object of type
DateTime
that may be null.
-
getResponsible
public Reference getResponsible()
Who will make payment.- Returns:
- An immutable object of type
Reference
that may be null.
-
getRecipient
public Reference getRecipient()
Who will receive payment.- Returns:
- An immutable object of type
Reference
that may be null.
-
getLinkId
public java.util.List<String> getLinkId()
Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.- Returns:
- An unmodifiable list containing immutable objects of type
String
that may be empty.
-
getSecurityLabelNumber
public java.util.List<UnsignedInt> getSecurityLabelNumber()
A set of security labels that define which terms are controlled by this condition.- Returns:
- An unmodifiable list containing immutable objects of type
UnsignedInt
that may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildren
in classBackboneElement
-
accept
public void accept(java.lang.String elementName, int elementIndex, Visitor visitor)
Description copied from interface:Visitable
Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }
- Specified by:
accept
in interfaceVisitable
- Specified by:
accept
in classAbstractVisitable
- Parameters:
elementName
- the name of the element in the context of this visitelementIndex
- the index of the element in a list or -1 if it is not contained within a Listvisitor
- the visitor to use
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public Contract.Term.Asset.ValuedItem.Builder toBuilder()
Description copied from class:Element
Create a new Builder from the contents of this Element- Specified by:
toBuilder
in classBackboneElement
-
builder
public static Contract.Term.Asset.ValuedItem.Builder builder()
-
-