Package org.hl7.fhir.r4.model
Class ExplanationOfBenefit.SubDetailComponent
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.Element
-
- org.hl7.fhir.r4.model.BackboneElement
-
- org.hl7.fhir.r4.model.ExplanationOfBenefit.SubDetailComponent
-
- 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:
- ExplanationOfBenefit
public static class ExplanationOfBenefit.SubDetailComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ExplanationOfBenefit.AdjudicationComponent>
adjudication
The adjudication results.protected CodeableConcept
category
Code to identify the general type of benefits under which products and services are provided.protected DecimalType
factor
A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received.protected List<CodeableConcept>
modifier
Item typification or modifiers codes to convey additional context for the product or service.protected Money
net
The quantity times the unit price for an additional service or product or charge.protected List<PositiveIntType>
noteNumber
The numbers associated with notes below which apply to the adjudication of this item.protected CodeableConcept
productOrService
When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.protected List<CodeableConcept>
programCode
Identifies the program under which this may be recovered.protected Quantity
quantity
The number of repetitions of a service or product.protected CodeableConcept
revenue
The type of revenue or cost center providing the product and/or service.protected PositiveIntType
sequence
A claim detail line.protected List<Reference>
udi
Unique Device Identifiers associated with this line item.protected List<Device>
udiTarget
The actual objects that are the target of the reference (Unique Device Identifiers associated with this line item.)protected Money
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.-
Fields inherited from class org.hl7.fhir.r4.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description SubDetailComponent()
ConstructorSubDetailComponent(PositiveIntType sequence, CodeableConcept productOrService)
Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.BackboneElement
addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
-
Methods inherited from class org.hl7.fhir.r4.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
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
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
sequence
protected PositiveIntType sequence
A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.
-
revenue
protected CodeableConcept revenue
The type of revenue or cost center providing the product and/or service.
-
category
protected CodeableConcept category
Code to identify the general type of benefits under which products and services are provided.
-
productOrService
protected CodeableConcept productOrService
When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.
-
modifier
protected List<CodeableConcept> modifier
Item typification or modifiers codes to convey additional context for the product or service.
-
programCode
protected List<CodeableConcept> programCode
Identifies the program under which this may be recovered.
-
unitPrice
protected Money 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
protected DecimalType 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.
-
net
protected Money net
The quantity times the unit price for an additional service or product or charge.
-
udiTarget
protected List<Device> udiTarget
The actual objects that are the target of the reference (Unique Device Identifiers associated with this line item.)
-
noteNumber
protected List<PositiveIntType> noteNumber
The numbers associated with notes below which apply to the adjudication of this item.
-
adjudication
protected List<ExplanationOfBenefit.AdjudicationComponent> adjudication
The adjudication results.
-
-
Constructor Detail
-
SubDetailComponent
public SubDetailComponent()
Constructor
-
SubDetailComponent
public SubDetailComponent(PositiveIntType sequence, CodeableConcept productOrService)
Constructor
-
-
Method Detail
-
getSequenceElement
public PositiveIntType getSequenceElement()
- Returns:
sequence
(A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.). This is the underlying object with id, value and extensions. The accessor "getSequence" gives direct access to the value
-
hasSequenceElement
public boolean hasSequenceElement()
-
hasSequence
public boolean hasSequence()
-
setSequenceElement
public ExplanationOfBenefit.SubDetailComponent setSequenceElement(PositiveIntType value)
- Parameters:
value
-sequence
(A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.). This is the underlying object with id, value and extensions. The accessor "getSequence" gives direct access to the value
-
getSequence
public int getSequence()
- Returns:
- A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.
-
setSequence
public ExplanationOfBenefit.SubDetailComponent setSequence(int value)
- Parameters:
value
- A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.
-
getRevenue
public CodeableConcept getRevenue()
- Returns:
revenue
(The type of revenue or cost center providing the product and/or service.)
-
hasRevenue
public boolean hasRevenue()
-
setRevenue
public ExplanationOfBenefit.SubDetailComponent setRevenue(CodeableConcept value)
- Parameters:
value
-revenue
(The type of revenue or cost center providing the product and/or service.)
-
getCategory
public CodeableConcept getCategory()
- Returns:
category
(Code to identify the general type of benefits under which products and services are provided.)
-
hasCategory
public boolean hasCategory()
-
setCategory
public ExplanationOfBenefit.SubDetailComponent setCategory(CodeableConcept value)
- Parameters:
value
-category
(Code to identify the general type of benefits under which products and services are provided.)
-
getProductOrService
public CodeableConcept getProductOrService()
- Returns:
productOrService
(When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.)
-
hasProductOrService
public boolean hasProductOrService()
-
setProductOrService
public ExplanationOfBenefit.SubDetailComponent setProductOrService(CodeableConcept value)
- Parameters:
value
-productOrService
(When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item.)
-
getModifier
public List<CodeableConcept> getModifier()
- Returns:
modifier
(Item typification or modifiers codes to convey additional context for the product or service.)
-
setModifier
public ExplanationOfBenefit.SubDetailComponent setModifier(List<CodeableConcept> theModifier)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasModifier
public boolean hasModifier()
-
addModifier
public CodeableConcept addModifier()
-
addModifier
public ExplanationOfBenefit.SubDetailComponent addModifier(CodeableConcept t)
-
getModifierFirstRep
public CodeableConcept getModifierFirstRep()
- Returns:
- The first repetition of repeating field
modifier
, creating it if it does not already exist
-
getProgramCode
public List<CodeableConcept> getProgramCode()
- Returns:
programCode
(Identifies the program under which this may be recovered.)
-
setProgramCode
public ExplanationOfBenefit.SubDetailComponent setProgramCode(List<CodeableConcept> theProgramCode)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasProgramCode
public boolean hasProgramCode()
-
addProgramCode
public CodeableConcept addProgramCode()
-
addProgramCode
public ExplanationOfBenefit.SubDetailComponent addProgramCode(CodeableConcept t)
-
getProgramCodeFirstRep
public CodeableConcept getProgramCodeFirstRep()
- Returns:
- The first repetition of repeating field
programCode
, creating it if it does not already exist
-
getQuantity
public Quantity getQuantity()
- Returns:
quantity
(The number of repetitions of a service or product.)
-
hasQuantity
public boolean hasQuantity()
-
setQuantity
public ExplanationOfBenefit.SubDetailComponent setQuantity(Quantity value)
- Parameters:
value
-quantity
(The number of repetitions of a service or product.)
-
getUnitPrice
public Money 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
public boolean hasUnitPrice()
-
setUnitPrice
public ExplanationOfBenefit.SubDetailComponent setUnitPrice(Money value)
- 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
public DecimalType 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
public boolean hasFactorElement()
-
hasFactor
public boolean hasFactor()
-
setFactorElement
public ExplanationOfBenefit.SubDetailComponent setFactorElement(DecimalType value)
- 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
public BigDecimal 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
public ExplanationOfBenefit.SubDetailComponent setFactor(BigDecimal value)
- 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
public ExplanationOfBenefit.SubDetailComponent setFactor(long value)
- 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
public ExplanationOfBenefit.SubDetailComponent setFactor(double value)
- 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.
-
getNet
public Money getNet()
- Returns:
net
(The quantity times the unit price for an additional service or product or charge.)
-
hasNet
public boolean hasNet()
-
setNet
public ExplanationOfBenefit.SubDetailComponent setNet(Money value)
- Parameters:
value
-net
(The quantity times the unit price for an additional service or product or charge.)
-
getUdi
public List<Reference> getUdi()
- Returns:
udi
(Unique Device Identifiers associated with this line item.)
-
setUdi
public ExplanationOfBenefit.SubDetailComponent setUdi(List<Reference> theUdi)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasUdi
public boolean hasUdi()
-
addUdi
public ExplanationOfBenefit.SubDetailComponent addUdi(Reference t)
-
getUdiFirstRep
public Reference getUdiFirstRep()
- Returns:
- The first repetition of repeating field
udi
, creating it if it does not already exist
-
getUdiTarget
@Deprecated public List<Device> getUdiTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addUdiTarget
@Deprecated public Device addUdiTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getNoteNumber
public List<PositiveIntType> getNoteNumber()
- Returns:
noteNumber
(The numbers associated with notes below which apply to the adjudication of this item.)
-
setNoteNumber
public ExplanationOfBenefit.SubDetailComponent setNoteNumber(List<PositiveIntType> theNoteNumber)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasNoteNumber
public boolean hasNoteNumber()
-
addNoteNumberElement
public PositiveIntType addNoteNumberElement()
- Returns:
noteNumber
(The numbers associated with notes below which apply to the adjudication of this item.)
-
addNoteNumber
public ExplanationOfBenefit.SubDetailComponent addNoteNumber(int value)
- Parameters:
value
-noteNumber
(The numbers associated with notes below which apply to the adjudication of this item.)
-
hasNoteNumber
public boolean hasNoteNumber(int value)
- Parameters:
value
-noteNumber
(The numbers associated with notes below which apply to the adjudication of this item.)
-
getAdjudication
public List<ExplanationOfBenefit.AdjudicationComponent> getAdjudication()
- Returns:
adjudication
(The adjudication results.)
-
setAdjudication
public ExplanationOfBenefit.SubDetailComponent setAdjudication(List<ExplanationOfBenefit.AdjudicationComponent> theAdjudication)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAdjudication
public boolean hasAdjudication()
-
addAdjudication
public ExplanationOfBenefit.AdjudicationComponent addAdjudication()
-
addAdjudication
public ExplanationOfBenefit.SubDetailComponent addAdjudication(ExplanationOfBenefit.AdjudicationComponent t)
-
getAdjudicationFirstRep
public ExplanationOfBenefit.AdjudicationComponent getAdjudicationFirstRep()
- Returns:
- The first repetition of repeating field
adjudication
, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- Overrides:
listChildren
in classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getNamedProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
makeProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
getTypesForProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public ExplanationOfBenefit.SubDetailComponent copy()
- Specified by:
copy
in classBackboneElement
-
copyValues
public void copyValues(ExplanationOfBenefit.SubDetailComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-
-