
Package org.hl7.fhir.r5.model
Class Claim.DetailComponent
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.Element
org.hl7.fhir.r5.model.BackboneElement
org.hl7.fhir.r5.model.Claim.DetailComponent
- 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:
Claim
public static class Claim.DetailComponent
extends BackboneElement
implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r5.model.Base
Base.ProfileSource, Base.ValidationInfo, Base.ValidationMode, Base.ValidationReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CodeableConceptCode to identify the general type of benefits under which products and services are provided.protected DecimalTypeA real number that represents a multiplier used in determining the overall value of services delivered and/or goods received.protected List<CodeableConcept> Item typification or modifiers codes to convey additional context for the product or service.protected MoneyThe total amount claimed for the group (if a grouper) or the line item.detail.protected MoneyThe amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services.protected CodeableConceptWhen the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item.protected CodeableConceptThis contains the end of a range of product, service, drug or other billing codes for the item.protected List<CodeableConcept> Identifies the program under which this may be recovered.protected QuantityThe number of repetitions of a service or product.protected CodeableConceptThe type of revenue or cost center providing the product and/or service.protected PositiveIntTypeA number to uniquely identify item entries.protected List<Claim.SubDetailComponent> A claim detail line.protected MoneyThe total of taxes applicable for this product or service.protected List<Identifier> Trace number for tracking purposes.Unique Device Identifiers associated with this line item.protected MoneyIf the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.Fields inherited from class org.hl7.fhir.r5.model.BackboneElement
modifierExtension -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUdi()copy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) getNet()Base[]getProperty(int hash, String name, boolean checkValid) intgetTax()String[]getTypesForProperty(int hash, String name) getUdi()booleanbooleanbooleanbooleanbooleanhasNet()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasTax()booleanbooleanhasUdi()booleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setCategory(CodeableConcept value) setFactor(double value) setFactor(long value) setFactor(BigDecimal value) setFactorElement(DecimalType value) setModifier(List<CodeableConcept> theModifier) setPatientPaid(Money value) setProgramCode(List<CodeableConcept> theProgramCode) setProperty(int hash, String name, Base value) setProperty(String name, Base value) setQuantity(Quantity value) setRevenue(CodeableConcept value) setSequence(int value) setSubDetail(List<Claim.SubDetailComponent> theSubDetail) setTraceNumber(List<Identifier> theTraceNumber) setUnitPrice(Money value) Methods inherited from class org.hl7.fhir.r5.model.BackboneElement
addModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyExtensions, copyNewExtensions, copyValues, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getExtensionValue, getModifierExtension, getModifierExtensionFirstRep, hasExtension, hasExtension, hasModifierExtension, removeExtension, setModifierExtensionMethods inherited from class org.hl7.fhir.r5.model.Element
addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionString, getExtensionString, getFHIRPublicationVersion, getId, getIdBase, getIdElement, getStandardsStatus, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement, setStandardsStatusMethods inherited from class org.hl7.fhir.r5.model.Base
addDefinition, addFormatCommentsPost, addFormatCommentsPre, addValidationMessage, canHavePrimitiveValue, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyFormatComments, copyUserData, copyValues, dateTimeValue, equals, executeFunction, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getValidationInfo, getValidationMessages, getXhtml, hasFormatComment, hasFormatCommentPost, hasFormatCommentPre, hasPrimitiveValue, hasType, hasUserData, hasValidated, hasValidationInfo, hasValidationMessages, isBooleanPrimitive, isCopyUserData, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setCopyUserData, setUserData, setUserDataINN, setXhtmlMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtensionMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
addModifierExtension, getModifierExtension, hasModifierExtension
-
Field Details
-
sequence
A number to uniquely identify item entries. -
traceNumber
Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners. -
revenue
The type of revenue or cost center providing the product and/or service. -
category
Code to identify the general type of benefits under which products and services are provided. -
productOrService
When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used. -
productOrServiceEnd
This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims. -
modifier
Item typification or modifiers codes to convey additional context for the product or service. -
programCode
Identifies the program under which this may be recovered. -
patientPaid
The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services. -
quantity
The number of repetitions of a service or product. -
unitPrice
If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group. -
factor
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. -
tax
The total of taxes applicable for this product or service. -
net
The total amount claimed for the group (if a grouper) or the line item.detail. Net = unit price * quantity * factor. -
udi
Unique Device Identifiers associated with this line item. -
subDetail
A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.
-
-
Constructor Details
-
DetailComponent
public DetailComponent()Constructor -
DetailComponent
Constructor
-
-
Method Details
-
getSequenceElement
- Returns:
sequence(A number to uniquely identify item entries.). This is the underlying object with id, value and extensions. The accessor "getSequence" gives direct access to the value
-
hasSequenceElement
-
hasSequence
-
setSequenceElement
- Parameters:
value-sequence(A number to uniquely identify item entries.). This is the underlying object with id, value and extensions. The accessor "getSequence" gives direct access to the value
-
getSequence
- Returns:
- A number to uniquely identify item entries.
-
setSequence
- Parameters:
value- A number to uniquely identify item entries.
-
getTraceNumber
- Returns:
traceNumber(Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners.)
-
setTraceNumber
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTraceNumber
-
addTraceNumber
-
addTraceNumber
-
getTraceNumberFirstRep
- Returns:
- The first repetition of repeating field
traceNumber, creating it if it does not already exist {3}
-
getRevenue
- Returns:
revenue(The type of revenue or cost center providing the product and/or service.)
-
hasRevenue
-
setRevenue
- Parameters:
value-revenue(The type of revenue or cost center providing the product and/or service.)
-
getCategory
- Returns:
category(Code to identify the general type of benefits under which products and services are provided.)
-
hasCategory
-
setCategory
- Parameters:
value-category(Code to identify the general type of benefits under which products and services are provided.)
-
getProductOrService
- Returns:
productOrService(When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used.)
-
hasProductOrService
-
setProductOrService
- Parameters:
value-productOrService(When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used.)
-
getProductOrServiceEnd
- Returns:
productOrServiceEnd(This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims.)
-
hasProductOrServiceEnd
-
setProductOrServiceEnd
- Parameters:
value-productOrServiceEnd(This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims.)
-
getModifier
- Returns:
modifier(Item typification or modifiers codes to convey additional context for the product or service.)
-
setModifier
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasModifier
-
addModifier
-
addModifier
-
getModifierFirstRep
- Returns:
- The first repetition of repeating field
modifier, creating it if it does not already exist {3}
-
getProgramCode
- Returns:
programCode(Identifies the program under which this may be recovered.)
-
setProgramCode
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasProgramCode
-
addProgramCode
-
addProgramCode
-
getProgramCodeFirstRep
- Returns:
- The first repetition of repeating field
programCode, creating it if it does not already exist {3}
-
getPatientPaid
- Returns:
patientPaid(The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services.)
-
hasPatientPaid
-
setPatientPaid
- Parameters:
value-patientPaid(The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services.)
-
getQuantity
- Returns:
quantity(The number of repetitions of a service or product.)
-
hasQuantity
-
setQuantity
- Parameters:
value-quantity(The number of repetitions of a service or product.)
-
getUnitPrice
- Returns:
unitPrice(If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.)
-
hasUnitPrice
-
setUnitPrice
- Parameters:
value-unitPrice(If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group.)
-
getFactorElement
- Returns:
factor(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.). This is the underlying object with id, value and extensions. The accessor "getFactor" gives direct access to the value
-
hasFactorElement
-
hasFactor
-
setFactorElement
- Parameters:
value-factor(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.). This is the underlying object with id, value and extensions. The accessor "getFactor" gives direct access to the value
-
getFactor
- Returns:
- 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
- Parameters:
value- 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
- Parameters:
value- 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
- Parameters:
value- 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.
-
getTax
- Returns:
tax(The total of taxes applicable for this product or service.)
-
hasTax
-
setTax
- Parameters:
value-tax(The total of taxes applicable for this product or service.)
-
getNet
- Returns:
net(The total amount claimed for the group (if a grouper) or the line item.detail. Net = unit price * quantity * factor.)
-
hasNet
-
setNet
- Parameters:
value-net(The total amount claimed for the group (if a grouper) or the line item.detail. Net = unit price * quantity * factor.)
-
getUdi
- Returns:
udi(Unique Device Identifiers associated with this line item.)
-
setUdi
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasUdi
-
addUdi
-
addUdi
-
getUdiFirstRep
- Returns:
- The first repetition of repeating field
udi, creating it if it does not already exist {3}
-
getSubDetail
- Returns:
subDetail(A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.)
-
setSubDetail
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSubDetail
-
addSubDetail
-
addSubDetail
-
getSubDetailFirstRep
- Returns:
- The first repetition of repeating field
subDetail, creating it if it does not already exist {3}
-
listChildren
- 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
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- 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
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
- Specified by:
copyin classBackboneElement
-
copyValues
-
equalsDeep
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement- Returns:
- the FHIR type name of the instance (not the java class name)
-