Package org.hl7.fhir.dstu2.model
Class Claim.ItemsComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.Element
-
- org.hl7.fhir.dstu2.model.BackboneElement
-
- org.hl7.fhir.dstu2.model.Claim.ItemsComponent
-
- 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.ItemsComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CodingbodySitePhysical service site on the patient (limb, tooth, etc.).protected List<Claim.DetailComponent>detailSecond tier of goods and services.protected List<PositiveIntType>diagnosisLinkIdDiagnosis applicable for this service or product line.protected DecimalTypefactorA real number that represents a multiplier used in determining the overall value of services delivered and/or goods received.protected List<Coding>modifierItem typification or modifiers codes, e.g.protected MoneynetThe quantity times the unit price for an additional 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 Claim.ProsthesisComponentprosthesisThe materials and placement date of prior fixed prosthesis.protected ReferenceproviderThe practitioner who is responsible for the services rendered to the patient.protected PractitionerproviderTargetThe actual object that is the target of the reference (The practitioner who is responsible for the services rendered to the patient.)protected SimpleQuantityquantityThe number of repetitions of a service or product.protected PositiveIntTypesequenceA service line number.protected CodingserviceIf a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied.protected DateTypeserviceDateThe date when the enclosed suite of services were performed or completed.protected List<Coding>subSiteA region or surface of the site, e.g.protected CodingtypeThe type of product or service.protected CodingudiList of Unique Device Identifiers associated with this line item.protected MoneyunitPriceIf the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group.-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ItemsComponent()ItemsComponent(PositiveIntType sequence, Coding type, Coding service)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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.
-
provider
protected Reference provider
The practitioner who is responsible for the services rendered to the patient.
-
providerTarget
protected Practitioner providerTarget
The actual object that is the target of the reference (The practitioner who is responsible for the services rendered to the patient.)
-
diagnosisLinkId
protected List<PositiveIntType> diagnosisLinkId
Diagnosis applicable for this service or product line.
-
service
protected Coding service
If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied.
-
serviceDate
protected DateType serviceDate
The date when the enclosed suite of services were performed or completed.
-
quantity
protected SimpleQuantity quantity
The number of repetitions of a service or product.
-
unitPrice
protected Money unitPrice
If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children 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.
-
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 additional 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.
-
subSite
protected List<Coding> subSite
A region or surface of the site, e.g. limb region or tooth surface(s).
-
modifier
protected List<Coding> modifier
Item typification or modifiers codes, e.g. for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.
-
detail
protected List<Claim.DetailComponent> detail
Second tier of goods and services.
-
prosthesis
protected Claim.ProsthesisComponent prosthesis
The materials and placement date of prior fixed prosthesis.
-
-
Constructor Detail
-
ItemsComponent
public ItemsComponent()
-
ItemsComponent
public ItemsComponent(PositiveIntType sequence, Coding type, Coding service)
-
-
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.ItemsComponent 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.ItemsComponent setSequence(int value)
- Parameters:
value- A service line number.
-
hasType
public boolean hasType()
-
setType
public Claim.ItemsComponent setType(Coding value)
- Parameters:
value-type(The type of product or service.)
-
getProvider
public Reference getProvider()
- Returns:
provider(The practitioner who is responsible for the services rendered to the patient.)
-
hasProvider
public boolean hasProvider()
-
setProvider
public Claim.ItemsComponent setProvider(Reference value)
- Parameters:
value-provider(The practitioner who is responsible for the services rendered to the patient.)
-
getProviderTarget
public Practitioner getProviderTarget()
- Returns:
providerThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The practitioner who is responsible for the services rendered to the patient.)
-
setProviderTarget
public Claim.ItemsComponent setProviderTarget(Practitioner value)
- Parameters:
value-providerThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The practitioner who is responsible for the services rendered to the patient.)
-
getDiagnosisLinkId
public List<PositiveIntType> getDiagnosisLinkId()
- Returns:
diagnosisLinkId(Diagnosis applicable for this service or product line.)
-
hasDiagnosisLinkId
public boolean hasDiagnosisLinkId()
-
addDiagnosisLinkIdElement
public PositiveIntType addDiagnosisLinkIdElement()
- Returns:
diagnosisLinkId(Diagnosis applicable for this service or product line.)
-
addDiagnosisLinkId
public Claim.ItemsComponent addDiagnosisLinkId(int value)
- Parameters:
value-diagnosisLinkId(Diagnosis applicable for this service or product line.)
-
hasDiagnosisLinkId
public boolean hasDiagnosisLinkId(int value)
- Parameters:
value-diagnosisLinkId(Diagnosis applicable for this service or product line.)
-
getService
public Coding getService()
- Returns:
service(If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied.)
-
hasService
public boolean hasService()
-
setService
public Claim.ItemsComponent setService(Coding value)
- Parameters:
value-service(If a grouping item then 'GROUP' otherwise it is a node therefore a code to indicate the Professional Service or Product supplied.)
-
getServiceDateElement
public DateType getServiceDateElement()
- Returns:
serviceDate(The date when the enclosed suite of services were performed or completed.). This is the underlying object with id, value and extensions. The accessor "getServiceDate" gives direct access to the value
-
hasServiceDateElement
public boolean hasServiceDateElement()
-
hasServiceDate
public boolean hasServiceDate()
-
setServiceDateElement
public Claim.ItemsComponent setServiceDateElement(DateType value)
- Parameters:
value-serviceDate(The date when the enclosed suite of services were performed or completed.). This is the underlying object with id, value and extensions. The accessor "getServiceDate" gives direct access to the value
-
getServiceDate
public Date getServiceDate()
- Returns:
- The date when the enclosed suite of services were performed or completed.
-
setServiceDate
public Claim.ItemsComponent setServiceDate(Date value)
- Parameters:
value- The date when the enclosed suite of services were performed or completed.
-
getQuantity
public SimpleQuantity getQuantity()
- Returns:
quantity(The number of repetitions of a service or product.)
-
hasQuantity
public boolean hasQuantity()
-
setQuantity
public Claim.ItemsComponent setQuantity(SimpleQuantity value)
- Parameters:
value-quantity(The number of repetitions of a service or product.)
-
getUnitPrice
public Money getUnitPrice()
- Returns:
unitPrice(If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children of the group.)
-
hasUnitPrice
public boolean hasUnitPrice()
-
setUnitPrice
public Claim.ItemsComponent setUnitPrice(Money value)
- Parameters:
value-unitPrice(If the item is a node then this is the fee for the product or service, otherwise this is the total of the fees for the children 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.ItemsComponent 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.ItemsComponent 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.
-
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.ItemsComponent 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.ItemsComponent 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.
-
getNet
public Money getNet()
- Returns:
net(The quantity times the unit price for an additional 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.ItemsComponent setNet(Money value)
- Parameters:
value-net(The quantity times the unit price for an additional 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 Coding getUdi()
- Returns:
udi(List of Unique Device Identifiers associated with this line item.)
-
hasUdi
public boolean hasUdi()
-
setUdi
public Claim.ItemsComponent setUdi(Coding value)
- Parameters:
value-udi(List of Unique Device Identifiers associated with this line item.)
-
getBodySite
public Coding getBodySite()
- Returns:
bodySite(Physical service site on the patient (limb, tooth, etc.).)
-
hasBodySite
public boolean hasBodySite()
-
setBodySite
public Claim.ItemsComponent setBodySite(Coding value)
- Parameters:
value-bodySite(Physical service site on the patient (limb, tooth, etc.).)
-
getSubSite
public List<Coding> getSubSite()
- Returns:
subSite(A region or surface of the site, e.g. limb region or tooth surface(s).)
-
hasSubSite
public boolean hasSubSite()
-
addSubSite
public Coding addSubSite()
- Returns:
subSite(A region or surface of the site, e.g. limb region or tooth surface(s).)
-
addSubSite
public Claim.ItemsComponent addSubSite(Coding t)
-
getModifier
public List<Coding> getModifier()
- Returns:
modifier(Item typification or modifiers codes, e.g. for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.)
-
hasModifier
public boolean hasModifier()
-
addModifier
public Coding addModifier()
- Returns:
modifier(Item typification or modifiers codes, e.g. for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen.)
-
addModifier
public Claim.ItemsComponent addModifier(Coding t)
-
getDetail
public List<Claim.DetailComponent> getDetail()
- Returns:
detail(Second tier of goods and services.)
-
hasDetail
public boolean hasDetail()
-
addDetail
public Claim.DetailComponent addDetail()
- Returns:
detail(Second tier of goods and services.)
-
addDetail
public Claim.ItemsComponent addDetail(Claim.DetailComponent t)
-
getProsthesis
public Claim.ProsthesisComponent getProsthesis()
- Returns:
prosthesis(The materials and placement date of prior fixed prosthesis.)
-
hasProsthesis
public boolean hasProsthesis()
-
setProsthesis
public Claim.ItemsComponent setProsthesis(Claim.ProsthesisComponent value)
- Parameters:
value-prosthesis(The materials and placement date of prior fixed prosthesis.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin 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.ItemsComponent 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
-
-