Package org.hl7.fhir.r4.model
Class ClaimResponse.AddedItemComponent
- 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.ClaimResponse.AddedItemComponent
-
- 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:
- ClaimResponse
public static class ClaimResponse.AddedItemComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ClaimResponse.AdjudicationComponent>adjudicationThe adjudication results.protected CodeableConceptbodySitePhysical service site on the patient (limb, tooth, etc.).protected List<ClaimResponse.AddedItemDetailComponent>detailThe second-tier service adjudications for payor added services.protected List<PositiveIntType>detailSequenceThe sequence number of the details within the claim item which this line is intended to replace.protected DecimalTypefactorA real number that represents a multiplier used in determining the overall value of services delivered and/or goods received.protected List<PositiveIntType>itemSequenceClaim items which this service line is intended to replace.protected TypelocationWhere the product or service was provided.protected List<CodeableConcept>modifierItem typification or modifiers codes to convey additional context for the product or service.protected MoneynetThe quantity times the unit price for an additional service or product or charge.protected List<PositiveIntType>noteNumberThe numbers associated with notes below which apply to the adjudication of this item.protected CodeableConceptproductOrServiceWhen 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>programCodeIdentifies the program under which this may be recovered.protected List<Reference>providerThe providers who are authorized for the services rendered to the patient.protected List<Resource>providerTargetThe actual objects that are the target of the reference (The providers who are authorized for the services rendered to the patient.)protected QuantityquantityThe number of repetitions of a service or product.protected TypeservicedThe date or dates when the service or product was supplied, performed or completed.protected List<PositiveIntType>subdetailSequenceThe sequence number of the sub-details within the details within the claim item which this line is intended to replace.protected List<CodeableConcept>subSiteA region or surface of the bodySite, e.g.protected MoneyunitPriceIf 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 AddedItemComponent()ConstructorAddedItemComponent(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
-
itemSequence
protected List<PositiveIntType> itemSequence
Claim items which this service line is intended to replace.
-
detailSequence
protected List<PositiveIntType> detailSequence
The sequence number of the details within the claim item which this line is intended to replace.
-
subdetailSequence
protected List<PositiveIntType> subdetailSequence
The sequence number of the sub-details within the details within the claim item which this line is intended to replace.
-
provider
protected List<Reference> provider
The providers who are authorized for the services rendered to the patient.
-
providerTarget
protected List<Resource> providerTarget
The actual objects that are the target of the reference (The providers who are authorized for the services rendered to the patient.)
-
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.
-
serviced
protected Type serviced
The date or dates when the service or product was supplied, performed or completed.
-
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.
-
bodySite
protected CodeableConcept bodySite
Physical service site on the patient (limb, tooth, etc.).
-
subSite
protected List<CodeableConcept> subSite
A region or surface of the bodySite, e.g. limb region or tooth surface(s).
-
noteNumber
protected List<PositiveIntType> noteNumber
The numbers associated with notes below which apply to the adjudication of this item.
-
adjudication
protected List<ClaimResponse.AdjudicationComponent> adjudication
The adjudication results.
-
detail
protected List<ClaimResponse.AddedItemDetailComponent> detail
The second-tier service adjudications for payor added services.
-
-
Constructor Detail
-
AddedItemComponent
public AddedItemComponent()
Constructor
-
AddedItemComponent
public AddedItemComponent(CodeableConcept productOrService)
Constructor
-
-
Method Detail
-
getItemSequence
public List<PositiveIntType> getItemSequence()
- Returns:
itemSequence(Claim items which this service line is intended to replace.)
-
setItemSequence
public ClaimResponse.AddedItemComponent setItemSequence(List<PositiveIntType> theItemSequence)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasItemSequence
public boolean hasItemSequence()
-
addItemSequenceElement
public PositiveIntType addItemSequenceElement()
- Returns:
itemSequence(Claim items which this service line is intended to replace.)
-
addItemSequence
public ClaimResponse.AddedItemComponent addItemSequence(int value)
- Parameters:
value-itemSequence(Claim items which this service line is intended to replace.)
-
hasItemSequence
public boolean hasItemSequence(int value)
- Parameters:
value-itemSequence(Claim items which this service line is intended to replace.)
-
getDetailSequence
public List<PositiveIntType> getDetailSequence()
- Returns:
detailSequence(The sequence number of the details within the claim item which this line is intended to replace.)
-
setDetailSequence
public ClaimResponse.AddedItemComponent setDetailSequence(List<PositiveIntType> theDetailSequence)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDetailSequence
public boolean hasDetailSequence()
-
addDetailSequenceElement
public PositiveIntType addDetailSequenceElement()
- Returns:
detailSequence(The sequence number of the details within the claim item which this line is intended to replace.)
-
addDetailSequence
public ClaimResponse.AddedItemComponent addDetailSequence(int value)
- Parameters:
value-detailSequence(The sequence number of the details within the claim item which this line is intended to replace.)
-
hasDetailSequence
public boolean hasDetailSequence(int value)
- Parameters:
value-detailSequence(The sequence number of the details within the claim item which this line is intended to replace.)
-
getSubdetailSequence
public List<PositiveIntType> getSubdetailSequence()
- Returns:
subdetailSequence(The sequence number of the sub-details within the details within the claim item which this line is intended to replace.)
-
setSubdetailSequence
public ClaimResponse.AddedItemComponent setSubdetailSequence(List<PositiveIntType> theSubdetailSequence)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSubdetailSequence
public boolean hasSubdetailSequence()
-
addSubdetailSequenceElement
public PositiveIntType addSubdetailSequenceElement()
- Returns:
subdetailSequence(The sequence number of the sub-details within the details within the claim item which this line is intended to replace.)
-
addSubdetailSequence
public ClaimResponse.AddedItemComponent addSubdetailSequence(int value)
- Parameters:
value-subdetailSequence(The sequence number of the sub-details within the details within the claim item which this line is intended to replace.)
-
hasSubdetailSequence
public boolean hasSubdetailSequence(int value)
- Parameters:
value-subdetailSequence(The sequence number of the sub-details within the details within the claim item which this line is intended to replace.)
-
getProvider
public List<Reference> getProvider()
- Returns:
provider(The providers who are authorized for the services rendered to the patient.)
-
setProvider
public ClaimResponse.AddedItemComponent setProvider(List<Reference> theProvider)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasProvider
public boolean hasProvider()
-
addProvider
public Reference addProvider()
-
addProvider
public ClaimResponse.AddedItemComponent addProvider(Reference t)
-
getProviderFirstRep
public Reference getProviderFirstRep()
- Returns:
- The first repetition of repeating field
provider, creating it if it does not already exist
-
getProviderTarget
@Deprecated public List<Resource> getProviderTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
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 ClaimResponse.AddedItemComponent 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 ClaimResponse.AddedItemComponent setModifier(List<CodeableConcept> theModifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasModifier
public boolean hasModifier()
-
addModifier
public CodeableConcept addModifier()
-
addModifier
public ClaimResponse.AddedItemComponent 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 ClaimResponse.AddedItemComponent setProgramCode(List<CodeableConcept> theProgramCode)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasProgramCode
public boolean hasProgramCode()
-
addProgramCode
public CodeableConcept addProgramCode()
-
addProgramCode
public ClaimResponse.AddedItemComponent addProgramCode(CodeableConcept t)
-
getProgramCodeFirstRep
public CodeableConcept getProgramCodeFirstRep()
- Returns:
- The first repetition of repeating field
programCode, creating it if it does not already exist
-
getServiced
public Type getServiced()
- Returns:
serviced(The date or dates when the service or product was supplied, performed or completed.)
-
getServicedDateType
public DateType getServicedDateType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
serviced(The date or dates when the service or product was supplied, performed or completed.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasServicedDateType
public boolean hasServicedDateType()
-
getServicedPeriod
public Period getServicedPeriod() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
serviced(The date or dates when the service or product was supplied, performed or completed.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasServicedPeriod
public boolean hasServicedPeriod()
-
hasServiced
public boolean hasServiced()
-
setServiced
public ClaimResponse.AddedItemComponent setServiced(Type value)
- Parameters:
value-serviced(The date or dates when the service or product was supplied, performed or completed.)
-
getLocation
public Type getLocation()
- Returns:
location(Where the product or service was provided.)
-
getLocationCodeableConcept
public CodeableConcept getLocationCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
location(Where the product or service was provided.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasLocationCodeableConcept
public boolean hasLocationCodeableConcept()
-
getLocationAddress
public Address getLocationAddress() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
location(Where the product or service was provided.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasLocationAddress
public boolean hasLocationAddress()
-
getLocationReference
public Reference getLocationReference() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
location(Where the product or service was provided.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasLocationReference
public boolean hasLocationReference()
-
hasLocation
public boolean hasLocation()
-
setLocation
public ClaimResponse.AddedItemComponent setLocation(Type value)
- Parameters:
value-location(Where the product or service was provided.)
-
getQuantity
public Quantity getQuantity()
- Returns:
quantity(The number of repetitions of a service or product.)
-
hasQuantity
public boolean hasQuantity()
-
setQuantity
public ClaimResponse.AddedItemComponent 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 ClaimResponse.AddedItemComponent 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 ClaimResponse.AddedItemComponent 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 ClaimResponse.AddedItemComponent 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 ClaimResponse.AddedItemComponent 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 ClaimResponse.AddedItemComponent 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 ClaimResponse.AddedItemComponent setNet(Money value)
- Parameters:
value-net(The quantity times the unit price for an additional service or product or charge.)
-
getBodySite
public CodeableConcept getBodySite()
- Returns:
bodySite(Physical service site on the patient (limb, tooth, etc.).)
-
hasBodySite
public boolean hasBodySite()
-
setBodySite
public ClaimResponse.AddedItemComponent setBodySite(CodeableConcept value)
- Parameters:
value-bodySite(Physical service site on the patient (limb, tooth, etc.).)
-
getSubSite
public List<CodeableConcept> getSubSite()
- Returns:
subSite(A region or surface of the bodySite, e.g. limb region or tooth surface(s).)
-
setSubSite
public ClaimResponse.AddedItemComponent setSubSite(List<CodeableConcept> theSubSite)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSubSite
public boolean hasSubSite()
-
addSubSite
public CodeableConcept addSubSite()
-
addSubSite
public ClaimResponse.AddedItemComponent addSubSite(CodeableConcept t)
-
getSubSiteFirstRep
public CodeableConcept getSubSiteFirstRep()
- Returns:
- The first repetition of repeating field
subSite, creating it if it does not already exist
-
getNoteNumber
public List<PositiveIntType> getNoteNumber()
- Returns:
noteNumber(The numbers associated with notes below which apply to the adjudication of this item.)
-
setNoteNumber
public ClaimResponse.AddedItemComponent setNoteNumber(List<PositiveIntType> theNoteNumber)
- Returns:
- Returns a reference to
thisfor 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 ClaimResponse.AddedItemComponent 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<ClaimResponse.AdjudicationComponent> getAdjudication()
- Returns:
adjudication(The adjudication results.)
-
setAdjudication
public ClaimResponse.AddedItemComponent setAdjudication(List<ClaimResponse.AdjudicationComponent> theAdjudication)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasAdjudication
public boolean hasAdjudication()
-
addAdjudication
public ClaimResponse.AdjudicationComponent addAdjudication()
-
addAdjudication
public ClaimResponse.AddedItemComponent addAdjudication(ClaimResponse.AdjudicationComponent t)
-
getAdjudicationFirstRep
public ClaimResponse.AdjudicationComponent getAdjudicationFirstRep()
- Returns:
- The first repetition of repeating field
adjudication, creating it if it does not already exist
-
getDetail
public List<ClaimResponse.AddedItemDetailComponent> getDetail()
- Returns:
detail(The second-tier service adjudications for payor added services.)
-
setDetail
public ClaimResponse.AddedItemComponent setDetail(List<ClaimResponse.AddedItemDetailComponent> theDetail)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasDetail
public boolean hasDetail()
-
addDetail
public ClaimResponse.AddedItemDetailComponent addDetail()
-
addDetail
public ClaimResponse.AddedItemComponent addDetail(ClaimResponse.AddedItemDetailComponent t)
-
getDetailFirstRep
public ClaimResponse.AddedItemDetailComponent getDetailFirstRep()
- Returns:
- The first repetition of repeating field
detail, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- 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
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- 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
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public ClaimResponse.AddedItemComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(ClaimResponse.AddedItemComponent dst)
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-