Package org.hl7.fhir.dstu2016may.model
Class Claim.SubDetailComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2016may.model.Base
-
- org.hl7.fhir.dstu2016may.model.Element
-
- org.hl7.fhir.dstu2016may.model.BackboneElement
-
- org.hl7.fhir.dstu2016may.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 DecimalTypefactorA real number that represents a multiplier used in determining the overall value of services delivered and/or goods received.protected MoneynetThe quantity times the unit price for an addittional service or product or charge.protected DecimalTypepointsAn amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the good or service delivered.protected List<Coding>programCodeFor programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program.protected SimpleQuantityquantityThe number of repetitions of a service or product.protected PositiveIntTypesequenceA service line number.protected CodingserviceThe fee for an addittional service or product or charge.protected CodingtypeThe type of product or service.protected List<Reference>udiList of Unique Device Identifiers associated with this line item.protected List<Device>udiTargetThe actual objects that are the target of the reference (List of Unique Device Identifiers associated with this line item.)protected MoneyunitPriceThe fee for an addittional service or product or charge.-
Fields inherited from class org.hl7.fhir.dstu2016may.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description SubDetailComponent()ConstructorSubDetailComponent(PositiveIntType sequence, Coding type, Coding service)Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2016may.model.Base
castToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, 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 service line number.
-
programCode
protected List<Coding> programCode
For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program.
-
quantity
protected SimpleQuantity quantity
The number of repetitions of a service or product.
-
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.
-
points
protected DecimalType points
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.
-
net
protected Money net
The quantity times the unit price for an addittional 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.
-
-
Constructor Detail
-
SubDetailComponent
public SubDetailComponent()
Constructor
-
SubDetailComponent
public SubDetailComponent(PositiveIntType sequence, Coding type, Coding service)
Constructor
-
-
Method Detail
-
getSequenceElement
public PositiveIntType getSequenceElement()
- Returns:
sequence(A service line number.). 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 service line number.). 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 service line number.
-
setSequence
public Claim.SubDetailComponent setSequence(int value)
- Parameters:
value- A service line number.
-
hasType
public boolean hasType()
-
setType
public Claim.SubDetailComponent setType(Coding value)
- Parameters:
value-type(The type of product or service.)
-
getService
public Coding getService()
- Returns:
service(The fee for an addittional service or product or charge.)
-
hasService
public boolean hasService()
-
setService
public Claim.SubDetailComponent setService(Coding value)
- Parameters:
value-service(The fee for an addittional service or product or charge.)
-
getProgramCode
public List<Coding> getProgramCode()
- Returns:
programCode(For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program.)
-
hasProgramCode
public boolean hasProgramCode()
-
addProgramCode
public Coding addProgramCode()
- Returns:
programCode(For programs which require reson codes for the inclusion, covering, of this billed item under the program or sub-program.)
-
addProgramCode
public Claim.SubDetailComponent addProgramCode(Coding t)
-
getQuantity
public SimpleQuantity getQuantity()
- Returns:
quantity(The number of repetitions of a service or product.)
-
hasQuantity
public boolean hasQuantity()
-
setQuantity
public Claim.SubDetailComponent setQuantity(SimpleQuantity value)
- Parameters:
value-quantity(The number of repetitions of a service or product.)
-
getUnitPrice
public Money getUnitPrice()
- Returns:
unitPrice(The fee for an addittional service or product or charge.)
-
hasUnitPrice
public boolean hasUnitPrice()
-
setUnitPrice
public Claim.SubDetailComponent setUnitPrice(Money value)
- Parameters:
value-unitPrice(The fee for an addittional service or product or charge.)
-
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.
-
getPointsElement
public DecimalType getPointsElement()
- Returns:
points(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.). This is the underlying object with id, value and extensions. The accessor "getPoints" gives direct access to the value
-
hasPointsElement
public boolean hasPointsElement()
-
hasPoints
public boolean hasPoints()
-
setPointsElement
public Claim.SubDetailComponent setPointsElement(DecimalType value)
- Parameters:
value-points(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.). This is the underlying object with id, value and extensions. The accessor "getPoints" gives direct access to the value
-
getPoints
public BigDecimal getPoints()
- Returns:
- 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.SubDetailComponent setPoints(BigDecimal value)
- Parameters:
value- 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.SubDetailComponent setPoints(long value)
- Parameters:
value- 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.SubDetailComponent setPoints(double value)
- Parameters:
value- 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 Money getNet()
- Returns:
net(The quantity times the unit price for an addittional 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.)
-
hasNet
public boolean hasNet()
-
setNet
public Claim.SubDetailComponent setNet(Money value)
- Parameters:
value-net(The quantity times the unit price for an addittional 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 List<Reference> getUdi()
- Returns:
udi(List of Unique Device Identifiers associated with this line item.)
-
hasUdi
public boolean hasUdi()
-
addUdi
public Reference addUdi()
- Returns:
udi(List of Unique Device Identifiers associated with this line item.)
-
addUdi
public Claim.SubDetailComponent addUdi(Reference t)
-
getUdiTarget
public List<Device> getUdiTarget()
- Returns:
udi(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. List of Unique Device Identifiers associated with this line item.)
-
addUdiTarget
public Device addUdiTarget()
- Returns:
udi(Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. List of Unique Device Identifiers associated with this line item.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
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 void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public void 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
Description copied from class:Basemake an instance of a property. If the property is a repeating property, make a new instance. if the property is not repeating, return the property- Overrides:
makePropertyin classBackboneElement- Returns:
- 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
-
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
-
-