Package com.ibm.fhir.model.resource
Class CoverageEligibilityRequest.Item
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.BackboneElement
-
- com.ibm.fhir.model.resource.CoverageEligibilityRequest.Item
-
- All Implemented Interfaces:
Visitable
- Enclosing class:
- CoverageEligibilityRequest
public static class CoverageEligibilityRequest.Item extends BackboneElement
Service categories or billable services for which benefit details and/or an authorization prior to service delivery may be required by the payor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCoverageEligibilityRequest.Item.Builderstatic classCoverageEligibilityRequest.Item.DiagnosisPatient diagnosis for which care is sought.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.type.BackboneElement
modifierExtension
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static CoverageEligibilityRequest.Item.Builderbuilder()booleanequals(Object obj)CodeableConceptgetCategory()Code to identify the general type of benefits under which products and services are provided.List<Reference>getDetail()The plan/proposal/order describing the proposed service in detail.List<CoverageEligibilityRequest.Item.Diagnosis>getDiagnosis()Patient diagnosis for which care is sought.ReferencegetFacility()Facility where the services will be provided.List<CodeableConcept>getModifier()Item typification or modifiers codes to convey additional context for the product or service.CodeableConceptgetProductOrService()This contains the product, service, drug or other billing code for the item.ReferencegetProvider()The practitioner who is responsible for the product or service to be rendered to the patient.SimpleQuantitygetQuantity()The number of repetitions of a service or product.List<PositiveInt>getSupportingInfoSequence()Exceptions, special conditions and supporting information applicable for this service or product line.MoneygetUnitPrice()The amount charged to the patient by the provider for a single unit.booleanhasChildren()inthashCode()CoverageEligibilityRequest.Item.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.BackboneElement
getModifierExtension
-
-
-
-
Method Detail
-
getSupportingInfoSequence
public List<PositiveInt> getSupportingInfoSequence()
Exceptions, special conditions and supporting information applicable for this service or product line.- Returns:
- An unmodifiable list containing immutable objects of type
PositiveIntthat may be empty.
-
getCategory
public CodeableConcept getCategory()
Code to identify the general type of benefits under which products and services are provided.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getProductOrService
public CodeableConcept getProductOrService()
This contains the product, service, drug or other billing code for the item.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getModifier
public List<CodeableConcept> getModifier()
Item typification or modifiers codes to convey additional context for the product or service.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getProvider
public Reference getProvider()
The practitioner who is responsible for the product or service to be rendered to the patient.- Returns:
- An immutable object of type
Referencethat may be null.
-
getQuantity
public SimpleQuantity getQuantity()
The number of repetitions of a service or product.- Returns:
- An immutable object of type
SimpleQuantitythat may be null.
-
getUnitPrice
public Money getUnitPrice()
The amount charged to the patient by the provider for a single unit.- Returns:
- An immutable object of type
Moneythat may be null.
-
getFacility
public Reference getFacility()
Facility where the services will be provided.- Returns:
- An immutable object of type
Referencethat may be null.
-
getDiagnosis
public List<CoverageEligibilityRequest.Item.Diagnosis> getDiagnosis()
Patient diagnosis for which care is sought.- Returns:
- An unmodifiable list containing immutable objects of type
CoverageEligibilityRequest.Item.Diagnosisthat may be empty.
-
getDetail
public List<Reference> getDetail()
The plan/proposal/order describing the proposed service in detail.- Returns:
- An unmodifiable list containing immutable objects of type
Referencethat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classBackboneElement
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
toBuilder
public CoverageEligibilityRequest.Item.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element- Specified by:
toBuilderin classBackboneElement
-
builder
public static CoverageEligibilityRequest.Item.Builder builder()
-
-