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 Details

    • Item

      public Item()
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.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 interface ca.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 return null.

      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 return null.

      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 return null.

      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

      Gets the value(s) for provider (). creating it if it does not exist. Will not return null.

      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

      public List<ca.uhn.fhir.model.primitive.PositiveIntDt> getDiagnosisLinkId()
      Gets the value(s) for diagnosisLinkId (). creating it if it does not exist. Will not return null.

      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 be null)
    • 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 return null.

      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 return null.

      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 return null.

      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

      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 return null.

      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

      Gets the value(s) for unitPrice (). creating it if it does not exist. Will not return null.

      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 return null.

      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 return null.

      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 return null.

      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 return null.

      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 return null.

      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 return null.

      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

      Gets the value(s) for bodySite (). creating it if it does not exist. Will not return null.

      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

      Gets the value(s) for subSite (). creating it if it does not exist. Will not return null.

      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 be null)
    • 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 return null.

      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

      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 be null)
    • 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 return null.

      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

      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 be null)
    • 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 return null.

      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.