Package org.hl7.fhir.r4.model
Class Claim.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.Claim.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:
- Claim
public static class Claim.SubDetailComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConceptcategoryCode to identify the general type of benefits under which products and services are provided.protected DecimalTypefactorA real number that represents a multiplier used in determining the overall value of services delivered and/or goods received.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 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 QuantityquantityThe number of repetitions of a service or product.protected CodeableConceptrevenueThe type of revenue or cost center providing the product and/or service.protected PositiveIntTypesequenceA number to uniquely identify item entries.protected List<Reference>udiUnique Device Identifiers associated with this line item.protected List<Device>udiTargetThe actual objects that are the target of the reference (Unique Device Identifiers associated with this line item.)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 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 number to uniquely identify item entries.
-
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.
-
-
Constructor Detail
-
SubDetailComponent
public SubDetailComponent()
Constructor
-
SubDetailComponent
public SubDetailComponent(PositiveIntType sequence, CodeableConcept productOrService)
Constructor
-
-
Method Detail
-
getSequenceElement
public PositiveIntType 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
public boolean hasSequenceElement()
-
hasSequence
public boolean hasSequence()
-
setSequenceElement
public Claim.SubDetailComponent setSequenceElement(PositiveIntType value)
- 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
public int getSequence()
- Returns:
- A number to uniquely identify item entries.
-
setSequence
public Claim.SubDetailComponent setSequence(int value)
- Parameters:
value- A number to uniquely identify item entries.
-
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 Claim.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 Claim.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 Claim.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 Claim.SubDetailComponent setModifier(List<CodeableConcept> theModifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasModifier
public boolean hasModifier()
-
addModifier
public CodeableConcept addModifier()
-
addModifier
public Claim.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 Claim.SubDetailComponent setProgramCode(List<CodeableConcept> theProgramCode)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasProgramCode
public boolean hasProgramCode()
-
addProgramCode
public CodeableConcept addProgramCode()
-
addProgramCode
public Claim.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 Claim.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 Claim.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 Claim.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 Claim.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 Claim.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 Claim.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 Claim.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 Claim.SubDetailComponent setUdi(List<Reference> theUdi)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasUdi
public boolean hasUdi()
-
addUdi
public Claim.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
-
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 Claim.SubDetailComponent copy()
- Specified by:
copyin classBackboneElement
-
copyValues
public void copyValues(Claim.SubDetailComponent 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
-
-