Class Claim.ItemDetail
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.Claim.ItemDetail
-
- 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
public static class Claim.ItemDetail extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Claim.item.detail ()Definition: Second tier of goods and services
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ItemDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Claim.ItemDetailSubDetailaddSubDetail()Adds and returns a new value for subDetail ()Claim.ItemDetailaddSubDetail(Claim.ItemDetailSubDetail theValue)Adds a given new value for subDetail ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)BigDecimalgetFactor()Gets the value(s) for factor ().ca.uhn.fhir.model.primitive.DecimalDtgetFactorElement()Gets the value(s) for factor ().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 ().IntegergetSequence()Gets the value(s) for sequence ().ca.uhn.fhir.model.primitive.PositiveIntDtgetSequenceElement()Gets the value(s) for sequence ().CodingDtgetService()Gets the value(s) for service ().List<Claim.ItemDetailSubDetail>getSubDetail()Gets the value(s) for subDetail ().Claim.ItemDetailSubDetailgetSubDetailFirstRep()Gets the first repetition for subDetail (), creating it if it does not already exist.CodingDtgetType()Gets the value(s) for type ().CodingDtgetUdi()Gets the value(s) for udi ().MoneyDtgetUnitPrice()Gets the value(s) for unitPrice ().booleanisEmpty()Claim.ItemDetailsetFactor(double theValue)Sets the value for factor ()Claim.ItemDetailsetFactor(long theValue)Sets the value for factor ()Claim.ItemDetailsetFactor(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for factor ()Claim.ItemDetailsetFactor(BigDecimal theValue)Sets the value for factor ()Claim.ItemDetailsetNet(MoneyDt theValue)Sets the value(s) for net ()Claim.ItemDetailsetPoints(double theValue)Sets the value for points ()Claim.ItemDetailsetPoints(long theValue)Sets the value for points ()Claim.ItemDetailsetPoints(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for points ()Claim.ItemDetailsetPoints(BigDecimal theValue)Sets the value for points ()Claim.ItemDetailsetQuantity(SimpleQuantityDt theValue)Sets the value(s) for quantity ()Claim.ItemDetailsetSequence(int theInteger)Sets the value for sequence ()Claim.ItemDetailsetSequence(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)Sets the value(s) for sequence ()Claim.ItemDetailsetService(CodingDt theValue)Sets the value(s) for service ()Claim.ItemDetailsetSubDetail(List<Claim.ItemDetailSubDetail> theValue)Sets the value(s) for subDetail ()Claim.ItemDetailsetType(CodingDt theValue)Sets the value(s) for type ()Claim.ItemDetailsetUdi(CodingDt theValue)Sets the value(s) for udi ()Claim.ItemDetailsetUnitPrice(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
-
ItemDetail
public ItemDetail()
-
-
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
-
getSequenceElement
public ca.uhn.fhir.model.primitive.PositiveIntDt getSequenceElement()
Gets the value(s) for sequence (). creating it if it does not exist. Will not returnnull.Definition: A service line number.
-
getSequence
public Integer getSequence()
Gets the value(s) for sequence (). creating it if it does not exist. This method may returnnull.Definition: A service line number.
-
setSequence
public Claim.ItemDetail setSequence(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)
Sets the value(s) for sequence ()Definition: A service line number.
-
setSequence
public Claim.ItemDetail setSequence(int theInteger)
Sets the value for sequence ()Definition: A service line number.
-
getType
public CodingDt 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
public Claim.ItemDetail setType(CodingDt theValue)
Sets the value(s) for type ()Definition: The type of product or service.
-
getService
public CodingDt 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
public Claim.ItemDetail setService(CodingDt theValue)
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.
-
getQuantity
public SimpleQuantityDt 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
public Claim.ItemDetail setQuantity(SimpleQuantityDt theValue)
Sets the value(s) for quantity ()Definition: The number of repetitions of a service or product.
-
getUnitPrice
public MoneyDt 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
public Claim.ItemDetail setUnitPrice(MoneyDt theValue)
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
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 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
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 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
public Claim.ItemDetail 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 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
public Claim.ItemDetail setFactor(long theValue)
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
public Claim.ItemDetail setFactor(double theValue)
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
public Claim.ItemDetail setFactor(BigDecimal theValue)
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
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 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
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 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
public Claim.ItemDetail 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 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
public Claim.ItemDetail 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 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
public Claim.ItemDetail 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 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
public Claim.ItemDetail 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 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
public MoneyDt 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
public Claim.ItemDetail setNet(MoneyDt theValue)
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
public CodingDt 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
public Claim.ItemDetail setUdi(CodingDt theValue)
Sets the value(s) for udi ()Definition: List of Unique Device Identifiers associated with this line item.
-
getSubDetail
public List<Claim.ItemDetailSubDetail> getSubDetail()
Gets the value(s) for subDetail (). creating it if it does not exist. Will not returnnull.Definition: Third tier of goods and services
-
setSubDetail
public Claim.ItemDetail setSubDetail(List<Claim.ItemDetailSubDetail> theValue)
Sets the value(s) for subDetail ()Definition: Third tier of goods and services
-
addSubDetail
public Claim.ItemDetailSubDetail addSubDetail()
Adds and returns a new value for subDetail ()Definition: Third tier of goods and services
-
addSubDetail
public Claim.ItemDetail addSubDetail(Claim.ItemDetailSubDetail theValue)
Adds a given new value for subDetail ()Definition: Third tier of goods and services
- Parameters:
theValue- The subDetail to add (must not benull)
-
getSubDetailFirstRep
public Claim.ItemDetailSubDetail getSubDetailFirstRep()
Gets the first repetition for subDetail (), creating it if it does not already exist.Definition: Third tier of goods and services
-
-