Package org.hl7.fhir.r4.model
Class Contract.ValuedItemComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.Contract.ValuedItemComponent
-
- 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.ValuedItemComponent 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 ValuedItem information is effective.protected TypeentitySpecific type of Contract Valued Item that may be priced.protected DecimalTypefactorA real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered.protected IdentifieridentifierIdentifies a Contract Valued Item instance.protected List<StringType>linkIdId of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.protected MoneynetExpresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt.protected StringTypepaymentTerms of valuation.protected DateTimeTypepaymentDateWhen payment is due.protected DecimalTypepointsAn amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered.protected QuantityquantitySpecifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.protected ReferencerecipientWho will receive payment.protected ResourcerecipientTargetThe actual object that is the target of the reference (Who will receive payment.)protected ReferenceresponsibleWho will make payment.protected ResourceresponsibleTargetThe actual object that is the target of the reference (Who will make payment.)protected List<UnsignedIntType>securityLabelNumberA set of security labels that define which terms are controlled by this condition.protected MoneyunitPriceA Contract Valued Item unit valuation measure.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ValuedItemComponent()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, 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 Valued Item instance.
-
effectiveTime
protected DateTimeType effectiveTime
Indicates the time during which this Contract ValuedItem information is effective.
-
quantity
protected Quantity quantity
Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.
-
factor
protected DecimalType factor
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.
-
points
protected DecimalType points
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.
-
net
protected Money net
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.
-
payment
protected StringType payment
Terms of valuation.
-
paymentDate
protected DateTimeType paymentDate
When payment is due.
-
responsible
protected Reference responsible
Who will make payment.
-
responsibleTarget
protected Resource responsibleTarget
The actual object that is the target of the reference (Who will make payment.)
-
recipientTarget
protected Resource recipientTarget
The actual object that is the target of the reference (Who will receive payment.)
-
linkId
protected List<StringType> linkId
Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.
-
securityLabelNumber
protected List<UnsignedIntType> securityLabelNumber
A set of security labels that define which terms are controlled by this condition.
-
-
Constructor Detail
-
ValuedItemComponent
public ValuedItemComponent()
Constructor
-
-
Method Detail
-
getEntity
public Type getEntity()
- Returns:
entity(Specific type of Contract Valued Item that may be priced.)
-
getEntityCodeableConcept
public CodeableConcept getEntityCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
entity(Specific type of Contract 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 Valued Item that may be priced.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasEntityReference
public boolean hasEntityReference()
-
hasEntity
public boolean hasEntity()
-
setEntity
public Contract.ValuedItemComponent setEntity(Type value)
- Parameters:
value-entity(Specific type of Contract Valued Item that may be priced.)
-
getIdentifier
public Identifier getIdentifier()
- Returns:
identifier(Identifies a Contract Valued Item instance.)
-
hasIdentifier
public boolean hasIdentifier()
-
setIdentifier
public Contract.ValuedItemComponent setIdentifier(Identifier value)
- Parameters:
value-identifier(Identifies a Contract Valued Item instance.)
-
getEffectiveTimeElement
public DateTimeType getEffectiveTimeElement()
- Returns:
effectiveTime(Indicates the time during which this Contract 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.ValuedItemComponent setEffectiveTimeElement(DateTimeType value)
- Parameters:
value-effectiveTime(Indicates the time during which this Contract 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 ValuedItem information is effective.
-
setEffectiveTime
public Contract.ValuedItemComponent setEffectiveTime(Date value)
- Parameters:
value- Indicates the time during which this Contract ValuedItem information is effective.
-
getQuantity
public Quantity getQuantity()
- Returns:
quantity(Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.)
-
hasQuantity
public boolean hasQuantity()
-
setQuantity
public Contract.ValuedItemComponent setQuantity(Quantity value)
- Parameters:
value-quantity(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 Money getUnitPrice()
- Returns:
unitPrice(A Contract Valued Item unit valuation measure.)
-
hasUnitPrice
public boolean hasUnitPrice()
-
setUnitPrice
public Contract.ValuedItemComponent setUnitPrice(Money value)
- Parameters:
value-unitPrice(A Contract 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 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.ValuedItemComponent setFactorElement(DecimalType value)
- Parameters:
value-factor(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.). 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 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.ValuedItemComponent setFactor(BigDecimal value)
- Parameters:
value- 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.ValuedItemComponent setFactor(long value)
- Parameters:
value- 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.ValuedItemComponent setFactor(double value)
- Parameters:
value- 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 DecimalType getPointsElement()
- Returns:
points(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.). 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.ValuedItemComponent setPointsElement(DecimalType value)
- Parameters:
value-points(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.). 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 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.ValuedItemComponent setPoints(BigDecimal value)
- Parameters:
value- 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.ValuedItemComponent setPoints(long value)
- Parameters:
value- 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.ValuedItemComponent setPoints(double value)
- Parameters:
value- 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 Money getNet()
- Returns:
net(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.)
-
hasNet
public boolean hasNet()
-
setNet
public Contract.ValuedItemComponent setNet(Money value)
- Parameters:
value-net(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.)
-
getPaymentElement
public StringType getPaymentElement()
- Returns:
payment(Terms of valuation.). This is the underlying object with id, value and extensions. The accessor "getPayment" gives direct access to the value
-
hasPaymentElement
public boolean hasPaymentElement()
-
hasPayment
public boolean hasPayment()
-
setPaymentElement
public Contract.ValuedItemComponent setPaymentElement(StringType value)
- Parameters:
value-payment(Terms of valuation.). This is the underlying object with id, value and extensions. The accessor "getPayment" gives direct access to the value
-
getPayment
public String getPayment()
- Returns:
- Terms of valuation.
-
setPayment
public Contract.ValuedItemComponent setPayment(String value)
- Parameters:
value- Terms of valuation.
-
getPaymentDateElement
public DateTimeType getPaymentDateElement()
- Returns:
paymentDate(When payment is due.). This is the underlying object with id, value and extensions. The accessor "getPaymentDate" gives direct access to the value
-
hasPaymentDateElement
public boolean hasPaymentDateElement()
-
hasPaymentDate
public boolean hasPaymentDate()
-
setPaymentDateElement
public Contract.ValuedItemComponent setPaymentDateElement(DateTimeType value)
- Parameters:
value-paymentDate(When payment is due.). This is the underlying object with id, value and extensions. The accessor "getPaymentDate" gives direct access to the value
-
getPaymentDate
public Date getPaymentDate()
- Returns:
- When payment is due.
-
setPaymentDate
public Contract.ValuedItemComponent setPaymentDate(Date value)
- Parameters:
value- When payment is due.
-
getResponsible
public Reference getResponsible()
- Returns:
responsible(Who will make payment.)
-
hasResponsible
public boolean hasResponsible()
-
setResponsible
public Contract.ValuedItemComponent setResponsible(Reference value)
- Parameters:
value-responsible(Who will make payment.)
-
getResponsibleTarget
public Resource getResponsibleTarget()
- Returns:
responsibleThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Who will make payment.)
-
setResponsibleTarget
public Contract.ValuedItemComponent setResponsibleTarget(Resource value)
- Parameters:
value-responsibleThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Who will make payment.)
-
getRecipient
public Reference getRecipient()
- Returns:
recipient(Who will receive payment.)
-
hasRecipient
public boolean hasRecipient()
-
setRecipient
public Contract.ValuedItemComponent setRecipient(Reference value)
- Parameters:
value-recipient(Who will receive payment.)
-
getRecipientTarget
public Resource getRecipientTarget()
- Returns:
recipientThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Who will receive payment.)
-
setRecipientTarget
public Contract.ValuedItemComponent setRecipientTarget(Resource value)
- Parameters:
value-recipientThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Who will receive payment.)
-
getLinkId
public List<StringType> getLinkId()
- Returns:
linkId(Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.)
-
setLinkId
public Contract.ValuedItemComponent setLinkId(List<StringType> theLinkId)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasLinkId
public boolean hasLinkId()
-
addLinkIdElement
public StringType addLinkIdElement()
- Returns:
linkId(Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.)
-
addLinkId
public Contract.ValuedItemComponent addLinkId(String value)
- Parameters:
value-linkId(Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.)
-
hasLinkId
public boolean hasLinkId(String value)
- Parameters:
value-linkId(Id of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.)
-
getSecurityLabelNumber
public List<UnsignedIntType> getSecurityLabelNumber()
- Returns:
securityLabelNumber(A set of security labels that define which terms are controlled by this condition.)
-
setSecurityLabelNumber
public Contract.ValuedItemComponent setSecurityLabelNumber(List<UnsignedIntType> theSecurityLabelNumber)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSecurityLabelNumber
public boolean hasSecurityLabelNumber()
-
addSecurityLabelNumberElement
public UnsignedIntType addSecurityLabelNumberElement()
- Returns:
securityLabelNumber(A set of security labels that define which terms are controlled by this condition.)
-
addSecurityLabelNumber
public Contract.ValuedItemComponent addSecurityLabelNumber(int value)
- Parameters:
value-securityLabelNumber(A set of security labels that define which terms are controlled by this condition.)
-
hasSecurityLabelNumber
public boolean hasSecurityLabelNumber(int value)
- Parameters:
value-securityLabelNumber(A set of security labels that define which terms are controlled by this condition.)
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildrenin classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makePropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForPropertyin 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.ValuedItemComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(Contract.ValuedItemComponent dst)
-
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
-
-