Class Claim.Item
- 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:
Claim
Definition: First tier of goods and services
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for detail ()addDetail
(Claim.ItemDetail theValue) Adds a given new value for detail ()ca.uhn.fhir.model.primitive.PositiveIntDt
Adds and returns a new value for diagnosisLinkId ()addDiagnosisLinkId
(int theInteger) Adds a new value for diagnosisLinkId ()addDiagnosisLinkId
(ca.uhn.fhir.model.primitive.PositiveIntDt theValue) Adds a given new value for diagnosisLinkId ()Adds and returns a new value for modifier ()addModifier
(CodingDt theValue) Adds a given new value for modifier ()Adds and returns a new value for subSite ()addSubSite
(CodingDt theValue) Adds a given new value for subSite ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for bodySite ().Gets the value(s) for detail ().Gets the first repetition for detail (), creating it if it does not already exist.List
<ca.uhn.fhir.model.primitive.PositiveIntDt> Gets the value(s) for diagnosisLinkId ().ca.uhn.fhir.model.primitive.PositiveIntDt
Gets the first repetition for diagnosisLinkId (), creating it if it does not already exist.Gets the value(s) for factor ().ca.uhn.fhir.model.primitive.DecimalDt
Gets the value(s) for factor ().Gets the value(s) for modifier ().Gets the first repetition for modifier (), creating it if it does not already exist.getNet()
Gets the value(s) for net ().Gets the value(s) for points ().ca.uhn.fhir.model.primitive.DecimalDt
Gets the value(s) for points ().Gets the value(s) for prosthesis ().Gets the value(s) for provider ().Gets the value(s) for quantity ().Gets the value(s) for sequence ().ca.uhn.fhir.model.primitive.PositiveIntDt
Gets the value(s) for sequence ().Gets the value(s) for service ().Gets the value(s) for serviceDate ().ca.uhn.fhir.model.primitive.DateDt
Gets the value(s) for serviceDate ().Gets the value(s) for subSite ().Gets the first repetition for subSite (), creating it if it does not already exist.getType()
Gets the value(s) for type ().getUdi()
Gets the value(s) for udi ().Gets the value(s) for unitPrice ().boolean
isEmpty()
setBodySite
(CodingDt theValue) Sets the value(s) for bodySite ()setDetail
(List<Claim.ItemDetail> theValue) Sets the value(s) for detail ()setDiagnosisLinkId
(List<ca.uhn.fhir.model.primitive.PositiveIntDt> theValue) Sets the value(s) for diagnosisLinkId ()setFactor
(double theValue) Sets the value for factor ()setFactor
(long theValue) Sets the value for factor ()setFactor
(ca.uhn.fhir.model.primitive.DecimalDt theValue) Sets the value(s) for factor ()setFactor
(BigDecimal theValue) Sets the value for factor ()setModifier
(List<CodingDt> theValue) Sets the value(s) for modifier ()Sets the value(s) for net ()setPoints
(double theValue) Sets the value for points ()setPoints
(long theValue) Sets the value for points ()setPoints
(ca.uhn.fhir.model.primitive.DecimalDt theValue) Sets the value(s) for points ()setPoints
(BigDecimal theValue) Sets the value for points ()setProsthesis
(Claim.ItemProsthesis theValue) Sets the value(s) for prosthesis ()setProvider
(ResourceReferenceDt theValue) Sets the value(s) for provider ()setQuantity
(SimpleQuantityDt theValue) Sets the value(s) for quantity ()setSequence
(int theInteger) Sets the value for sequence ()setSequence
(ca.uhn.fhir.model.primitive.PositiveIntDt theValue) Sets the value(s) for sequence ()setService
(CodingDt theValue) Sets the value(s) for service ()setServiceDate
(ca.uhn.fhir.model.primitive.DateDt theValue) Sets the value(s) for serviceDate ()setServiceDate
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for serviceDate ()setServiceDateWithDayPrecision
(Date theDate) Sets the value for serviceDate ()setSubSite
(List<CodingDt> theValue) Sets the value(s) for subSite ()Sets the value(s) for type ()Sets the value(s) for udi ()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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Item
public Item()
-
-
Method Details
-
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
-
getSequenceElement
Gets the value(s) for sequence (). creating it if it does not exist. Will not returnnull
.Definition: A service line number.
-
getSequence
Gets the value(s) for sequence (). creating it if it does not exist. This method may returnnull
.Definition: A service line number.
-
setSequence
Sets the value(s) for sequence ()Definition: A service line number.
-
setSequence
Sets the value for sequence ()Definition: A service line number.
-
getType
Gets the value(s) for type (). creating it if it does not exist. Will not returnnull
.Definition: The type of product or service.
-
setType
Sets the value(s) for type ()Definition: The type of product or service.
-
getProvider
Gets the value(s) for provider (). creating it if it does not exist. Will not returnnull
.Definition: The practitioner who is responsible for the services rendered to the patient
-
setProvider
Sets the value(s) for provider ()Definition: The practitioner who is responsible for the services rendered to the patient
-
getDiagnosisLinkId
Gets the value(s) for diagnosisLinkId (). creating it if it does not exist. Will not returnnull
.Definition: Diagnosis applicable for this service or product line.
-
setDiagnosisLinkId
Sets the value(s) for diagnosisLinkId ()Definition: Diagnosis applicable for this service or product line.
-
addDiagnosisLinkId
Adds and returns a new value for diagnosisLinkId ()Definition: Diagnosis applicable for this service or product line.
-
addDiagnosisLinkId
Adds a given new value for diagnosisLinkId ()Definition: Diagnosis applicable for this service or product line.
- Parameters:
theValue
- The diagnosisLinkId to add (must not benull
)
-
getDiagnosisLinkIdFirstRep
Gets the first repetition for diagnosisLinkId (), creating it if it does not already exist.Definition: Diagnosis applicable for this service or product line.
-
addDiagnosisLinkId
Adds a new value for diagnosisLinkId ()Definition: Diagnosis applicable for this service or product line.
- Returns:
- Returns a reference to this object, to allow for simple chaining.
-
getService
Gets the value(s) for service (). creating it if it does not exist. Will not returnnull
.Definition: If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied.
-
setService
Sets the value(s) for service ()Definition: If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied.
-
getServiceDateElement
Gets the value(s) for serviceDate (). creating it if it does not exist. Will not returnnull
.Definition: The date when the enclosed suite of services were performed or completed
-
getServiceDate
Gets the value(s) for serviceDate (). creating it if it does not exist. This method may returnnull
.Definition: The date when the enclosed suite of services were performed or completed
-
setServiceDate
Sets the value(s) for serviceDate ()Definition: The date when the enclosed suite of services were performed or completed
-
setServiceDateWithDayPrecision
Sets the value for serviceDate ()Definition: The date when the enclosed suite of services were performed or completed
-
setServiceDate
public Claim.Item setServiceDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for serviceDate ()Definition: The date when the enclosed suite of services were performed or completed
-
getQuantity
Gets the value(s) for quantity (). creating it if it does not exist. Will not returnnull
.Definition: The number of repetitions of a service or product.
-
setQuantity
Sets the value(s) for quantity ()Definition: The number of repetitions of a service or product.
-
getUnitPrice
Gets the value(s) for unitPrice (). creating it if it does not exist. Will not returnnull
.Definition: If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group.
-
setUnitPrice
Sets the value(s) for unitPrice ()Definition: If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group.
-
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 services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
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 services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
setFactor
Sets the value(s) for factor ()Definition: A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
setFactor
Sets the value for factor ()Definition: A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
setFactor
Sets the value for factor ()Definition: A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
setFactor
Sets the value for factor ()Definition: A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
-
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 good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point.
-
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 good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point.
-
setPoints
Sets the value(s) for points ()Definition: An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point.
-
setPoints
Sets the value for points ()Definition: An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point.
-
setPoints
Sets the value for points ()Definition: An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point.
-
setPoints
Sets the value for points ()Definition: An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, such that a monetary amount can be assigned to each point.
-
getNet
Gets the value(s) for net (). creating it if it does not exist. Will not returnnull
.Definition: The quantity times the unit price for an additional service or product or charge. 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
Sets the value(s) for net ()Definition: The quantity times the unit price for an additional service or product or charge. 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.
-
getUdi
Gets the value(s) for udi (). creating it if it does not exist. Will not returnnull
.Definition: List of Unique Device Identifiers associated with this line item.
-
setUdi
Sets the value(s) for udi ()Definition: List of Unique Device Identifiers associated with this line item.
-
getBodySite
Gets the value(s) for bodySite (). creating it if it does not exist. Will not returnnull
.Definition: Physical service site on the patient (limb, tooth, etc.).
-
setBodySite
Sets the value(s) for bodySite ()Definition: Physical service site on the patient (limb, tooth, etc.).
-
getSubSite
Gets the value(s) for subSite (). creating it if it does not exist. Will not returnnull
.Definition: A region or surface of the site, e.g. limb region or tooth surface(s).
-
setSubSite
Sets the value(s) for subSite ()Definition: A region or surface of the site, e.g. limb region or tooth surface(s).
-
addSubSite
Adds and returns a new value for subSite ()Definition: A region or surface of the site, e.g. limb region or tooth surface(s).
-
addSubSite
Adds a given new value for subSite ()Definition: A region or surface of the site, e.g. limb region or tooth surface(s).
- Parameters:
theValue
- The subSite to add (must not benull
)
-
getSubSiteFirstRep
Gets the first repetition for subSite (), creating it if it does not already exist.Definition: A region or surface of the site, e.g. limb region or tooth surface(s).
-
getModifier
Gets the value(s) for modifier (). creating it if it does not exist. Will not returnnull
.Definition: Item typification or modifiers codes, e.g. for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.
-
setModifier
Sets the value(s) for modifier ()Definition: Item typification or modifiers codes, e.g. for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.
-
addModifier
Adds and returns a new value for modifier ()Definition: Item typification or modifiers codes, e.g. for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.
-
addModifier
Adds a given new value for modifier ()Definition: Item typification or modifiers codes, e.g. for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.
- Parameters:
theValue
- The modifier to add (must not benull
)
-
getModifierFirstRep
Gets the first repetition for modifier (), creating it if it does not already exist.Definition: Item typification or modifiers codes, e.g. for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.
-
getDetail
Gets the value(s) for detail (). creating it if it does not exist. Will not returnnull
.Definition: Second tier of goods and services
-
setDetail
Sets the value(s) for detail ()Definition: Second tier of goods and services
-
addDetail
Adds and returns a new value for detail ()Definition: Second tier of goods and services
-
addDetail
Adds a given new value for detail ()Definition: Second tier of goods and services
- Parameters:
theValue
- The detail to add (must not benull
)
-
getDetailFirstRep
Gets the first repetition for detail (), creating it if it does not already exist.Definition: Second tier of goods and services
-
getProsthesis
Gets the value(s) for prosthesis (). creating it if it does not exist. Will not returnnull
.Definition: The materials and placement date of prior fixed prosthesis.
-
setProsthesis
Sets the value(s) for prosthesis ()Definition: The materials and placement date of prior fixed prosthesis.
-