Class Claim.Item
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class Claim.Item extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Claim.item ()Definition: First tier of goods and services
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Item()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Claim.ItemDetailaddDetail()Adds and returns a new value for detail ()Claim.ItemaddDetail(Claim.ItemDetail theValue)Adds a given new value for detail ()ca.uhn.fhir.model.primitive.PositiveIntDtaddDiagnosisLinkId()Adds and returns a new value for diagnosisLinkId ()Claim.ItemaddDiagnosisLinkId(int theInteger)Adds a new value for diagnosisLinkId ()Claim.ItemaddDiagnosisLinkId(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)Adds a given new value for diagnosisLinkId ()CodingDtaddModifier()Adds and returns a new value for modifier ()Claim.ItemaddModifier(CodingDt theValue)Adds a given new value for modifier ()CodingDtaddSubSite()Adds and returns a new value for subSite ()Claim.ItemaddSubSite(CodingDt theValue)Adds a given new value for subSite ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)CodingDtgetBodySite()Gets the value(s) for bodySite ().List<Claim.ItemDetail>getDetail()Gets the value(s) for detail ().Claim.ItemDetailgetDetailFirstRep()Gets the first repetition for detail (), creating it if it does not already exist.List<ca.uhn.fhir.model.primitive.PositiveIntDt>getDiagnosisLinkId()Gets the value(s) for diagnosisLinkId ().ca.uhn.fhir.model.primitive.PositiveIntDtgetDiagnosisLinkIdFirstRep()Gets the first repetition for diagnosisLinkId (), creating it if it does not already exist.BigDecimalgetFactor()Gets the value(s) for factor ().ca.uhn.fhir.model.primitive.DecimalDtgetFactorElement()Gets the value(s) for factor ().List<CodingDt>getModifier()Gets the value(s) for modifier ().CodingDtgetModifierFirstRep()Gets the first repetition for modifier (), creating it if it does not already exist.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 ().Claim.ItemProsthesisgetProsthesis()Gets the value(s) for prosthesis ().ResourceReferenceDtgetProvider()Gets the value(s) for provider ().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 ().DategetServiceDate()Gets the value(s) for serviceDate ().ca.uhn.fhir.model.primitive.DateDtgetServiceDateElement()Gets the value(s) for serviceDate ().List<CodingDt>getSubSite()Gets the value(s) for subSite ().CodingDtgetSubSiteFirstRep()Gets the first repetition for subSite (), 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.ItemsetBodySite(CodingDt theValue)Sets the value(s) for bodySite ()Claim.ItemsetDetail(List<Claim.ItemDetail> theValue)Sets the value(s) for detail ()Claim.ItemsetDiagnosisLinkId(List<ca.uhn.fhir.model.primitive.PositiveIntDt> theValue)Sets the value(s) for diagnosisLinkId ()Claim.ItemsetFactor(double theValue)Sets the value for factor ()Claim.ItemsetFactor(long theValue)Sets the value for factor ()Claim.ItemsetFactor(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for factor ()Claim.ItemsetFactor(BigDecimal theValue)Sets the value for factor ()Claim.ItemsetModifier(List<CodingDt> theValue)Sets the value(s) for modifier ()Claim.ItemsetNet(MoneyDt theValue)Sets the value(s) for net ()Claim.ItemsetPoints(double theValue)Sets the value for points ()Claim.ItemsetPoints(long theValue)Sets the value for points ()Claim.ItemsetPoints(ca.uhn.fhir.model.primitive.DecimalDt theValue)Sets the value(s) for points ()Claim.ItemsetPoints(BigDecimal theValue)Sets the value for points ()Claim.ItemsetProsthesis(Claim.ItemProsthesis theValue)Sets the value(s) for prosthesis ()Claim.ItemsetProvider(ResourceReferenceDt theValue)Sets the value(s) for provider ()Claim.ItemsetQuantity(SimpleQuantityDt theValue)Sets the value(s) for quantity ()Claim.ItemsetSequence(int theInteger)Sets the value for sequence ()Claim.ItemsetSequence(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)Sets the value(s) for sequence ()Claim.ItemsetService(CodingDt theValue)Sets the value(s) for service ()Claim.ItemsetServiceDate(ca.uhn.fhir.model.primitive.DateDt theValue)Sets the value(s) for serviceDate ()Claim.ItemsetServiceDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for serviceDate ()Claim.ItemsetServiceDateWithDayPrecision(Date theDate)Sets the value for serviceDate ()Claim.ItemsetSubSite(List<CodingDt> theValue)Sets the value(s) for subSite ()Claim.ItemsetType(CodingDt theValue)Sets the value(s) for type ()Claim.ItemsetUdi(CodingDt theValue)Sets the value(s) for udi ()Claim.ItemsetUnitPrice(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
-
Item
public Item()
-
-
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.Item setSequence(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)
Sets the value(s) for sequence ()Definition: A service line number.
-
setSequence
public Claim.Item 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.Item setType(CodingDt theValue)
Sets the value(s) for type ()Definition: The type of product or service.
-
getProvider
public ResourceReferenceDt 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
public Claim.Item setProvider(ResourceReferenceDt theValue)
Sets the value(s) for provider ()Definition: The practitioner who is responsible for the services rendered to the patient
-
getDiagnosisLinkId
public List<ca.uhn.fhir.model.primitive.PositiveIntDt> 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
public Claim.Item setDiagnosisLinkId(List<ca.uhn.fhir.model.primitive.PositiveIntDt> theValue)
Sets the value(s) for diagnosisLinkId ()Definition: Diagnosis applicable for this service or product line.
-
addDiagnosisLinkId
public ca.uhn.fhir.model.primitive.PositiveIntDt addDiagnosisLinkId()
Adds and returns a new value for diagnosisLinkId ()Definition: Diagnosis applicable for this service or product line.
-
addDiagnosisLinkId
public Claim.Item addDiagnosisLinkId(ca.uhn.fhir.model.primitive.PositiveIntDt theValue)
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
public ca.uhn.fhir.model.primitive.PositiveIntDt 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
public Claim.Item addDiagnosisLinkId(int theInteger)
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
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.Item 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.
-
getServiceDateElement
public ca.uhn.fhir.model.primitive.DateDt 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
public Date 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
public Claim.Item setServiceDate(ca.uhn.fhir.model.primitive.DateDt theValue)
Sets the value(s) 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
-
setServiceDateWithDayPrecision
public Claim.Item setServiceDateWithDayPrecision(Date theDate)
Sets the value for serviceDate ()Definition: The date when the enclosed suite of services were performed or completed
-
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.Item 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.Item 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.Item 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.Item 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.Item 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.Item 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.Item 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.Item 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.Item 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.Item 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.Item 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.Item setUdi(CodingDt theValue)
Sets the value(s) for udi ()Definition: List of Unique Device Identifiers associated with this line item.
-
getBodySite
public CodingDt 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
public Claim.Item setBodySite(CodingDt theValue)
Sets the value(s) for bodySite ()Definition: Physical service site on the patient (limb, tooth, etc.).
-
getSubSite
public List<CodingDt> 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
public Claim.Item setSubSite(List<CodingDt> theValue)
Sets the value(s) for subSite ()Definition: A region or surface of the site, e.g. limb region or tooth surface(s).
-
addSubSite
public CodingDt 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
public Claim.Item addSubSite(CodingDt theValue)
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
public CodingDt 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
public List<CodingDt> 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
public Claim.Item setModifier(List<CodingDt> theValue)
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
public CodingDt 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
public Claim.Item addModifier(CodingDt theValue)
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
public CodingDt 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
public List<Claim.ItemDetail> 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
public Claim.Item setDetail(List<Claim.ItemDetail> theValue)
Sets the value(s) for detail ()Definition: Second tier of goods and services
-
addDetail
public Claim.ItemDetail addDetail()
Adds and returns a new value for detail ()Definition: Second tier of goods and services
-
addDetail
public Claim.Item addDetail(Claim.ItemDetail theValue)
Adds a given new value for detail ()Definition: Second tier of goods and services
- Parameters:
theValue- The detail to add (must not benull)
-
getDetailFirstRep
public Claim.ItemDetail getDetailFirstRep()
Gets the first repetition for detail (), creating it if it does not already exist.Definition: Second tier of goods and services
-
getProsthesis
public Claim.ItemProsthesis 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
public Claim.Item setProsthesis(Claim.ItemProsthesis theValue)
Sets the value(s) for prosthesis ()Definition: The materials and placement date of prior fixed prosthesis.
-
-