import { Address } from './Address.js';
import { CodeableConcept } from './CodeableConcept.js';
import { Device } from './Device.js';
import { DeviceRequest } from './DeviceRequest.js';
import { Encounter } from './Encounter.js';
import { ExplanationOfBenefit_Item_Adjudication } from './ExplanationOfBenefit_Item_Adjudication.js';
import { ExplanationOfBenefit_Item_BodySite } from './ExplanationOfBenefit_Item_BodySite.js';
import { ExplanationOfBenefit_Item_Detail } from './ExplanationOfBenefit_Item_Detail.js';
import { ExplanationOfBenefit_Item_ReviewOutcome } from './ExplanationOfBenefit_Item_ReviewOutcome.js';
import { Extension } from './Extension.js';
import { FhirPrimitive } from './FhirPrimitive.js';
import { Identifier } from './Identifier.js';
import { MedicationRequest } from './MedicationRequest.js';
import { Money } from './Money.js';
import { NutritionOrder } from './NutritionOrder.js';
import { Period } from './Period.js';
import { Quantity } from './Quantity.js';
import { Reference } from './Reference.js';
import { ServiceRequest } from './ServiceRequest.js';
import { SupplyRequest } from './SupplyRequest.js';
import { VisionPrescription } from './VisionPrescription.js';
export interface ExplanationOfBenefit_Item {
    /**
     * @description Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
     * @short Unique id for inter-element referencing
     */
    id?: string;
    /**
     * @description May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Additional content defined by implementations
     */
    extension?: Extension[];
    /**
     * @description May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained andor the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.
  
  Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
     * @comment There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
     * @short Extensions that cannot be ignored even if unrecognized
     */
    modifierExtension?: Extension[];
    /**
     * @description A number to uniquely identify item entries.
     * @short Item instance identifier
     */
    sequence: FhirPrimitive<number>;
    /**
     * @description Care team members related to this service or product.
     * @short Applicable care team members
     */
    careTeamSequence?: FhirPrimitive<number>[];
    /**
     * @description Diagnoses applicable for this service or product.
     * @short Applicable diagnoses
     */
    diagnosisSequence?: FhirPrimitive<number>[];
    /**
     * @description Procedures applicable for this service or product.
     * @short Applicable procedures
     */
    procedureSequence?: FhirPrimitive<number>[];
    /**
     * @description Exceptions, special conditions and supporting information applicable for this service or product.
     * @short Applicable exception and supporting information
     */
    informationSequence?: FhirPrimitive<number>[];
    /**
     * @description Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners.
     * @short Number for tracking
     */
    traceNumber?: Identifier[];
    /**
     * @description The type of revenue or cost center providing the product andor service.
     * @short Revenue or cost center code
     */
    revenue?: CodeableConcept;
    /**
     * @description Code to identify the general type of benefits under which products and services are provided.
     * @comment Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.
     * @short Benefit classification
     */
    category?: CodeableConcept;
    /**
     * @description When the value is a group code then this item collects a set of related item details, otherwise this contains the product, service, drug or other billing code for the item. This element may be the start of a range of .productOrService codes used in conjunction with .productOrServiceEnd or it may be a solo element where .productOrServiceEnd is not used.
     * @comment If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.
     * @short Billing, service, product, or drug code
     */
    productOrService?: CodeableConcept;
    /**
     * @description This contains the end of a range of product, service, drug or other billing codes for the item. This element is not used when the .productOrService is a group code. This value may only be present when a .productOfService code has been provided to convey the start of the range. Typically this value may be used only with preauthorizations and not with claims.
     * @short End of a range of codes
     */
    productOrServiceEnd?: CodeableConcept;
    /**
     * @description Request or Referral for Goods or Service to be rendered.
     * @short Request or Referral for Service
     */
    request?: Reference<DeviceRequest | MedicationRequest | NutritionOrder | ServiceRequest | SupplyRequest | VisionPrescription>[];
    /**
     * @description Item typification or modifiers codes to convey additional context for the product or service.
     * @comment For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.
     * @short Product or service billing modifiers
     */
    modifier?: CodeableConcept[];
    /**
     * @description Identifies the program under which this may be recovered.
     * @comment For example: Neonatal program, child dental program or drug users recovery program.
     * @short Program the product or service is provided under
     */
    programCode?: CodeableConcept[];
    /**
     * @choice This is part of the serviced[x] choice.
     * @oneOf servicedDate, servicedPeriod
     */
    servicedDate?: FhirPrimitive<string>;
    /**
     * @choice This is part of the serviced[x] choice.
     * @oneOf servicedDate, servicedPeriod
     */
    servicedPeriod?: Period;
    /**
     * @choice This is part of the location[x] choice.
     * @oneOf locationCodeableConcept, locationAddress, locationReference
     */
    locationCodeableConcept?: CodeableConcept;
    /**
     * @choice This is part of the location[x] choice.
     * @oneOf locationCodeableConcept, locationAddress, locationReference
     */
    locationAddress?: Address;
    /**
     * @choice This is part of the location[x] choice.
     * @oneOf locationCodeableConcept, locationAddress, locationReference
     */
    locationReference?: Reference;
    /**
     * @description The amount paid by the patient, in total at the claim claim level or specifically for the item and detail level, to the provider for goods and services.
     * @short Paid by the patient
     */
    patientPaid?: Money;
    /**
     * @description The number of repetitions of a service or product.
     * @short Count of products or services
     */
    quantity?: Quantity;
    /**
     * @description 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.
     * @short Fee, charge or cost per item
     */
    unitPrice?: Money;
    /**
     * @description A real number that represents a multiplier used in determining the overall value of services delivered andor goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount.
     * @comment To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10).
     * @short Price scaling factor
     */
    factor?: FhirPrimitive<number>;
    /**
     * @description The total of taxes applicable for this product or service.
     * @short Total tax
     */
    tax?: Money;
    /**
     * @description The total amount claimed for the group (if a grouper) or the line item. Net = unit price  quantity  factor.
     * @comment For example, the formula: quantity  unitPrice  factor  = net. Quantity and factor are assumed to be 1 if not supplied.
     * @short Total item cost
     */
    net?: Money;
    /**
     * @description Unique Device Identifiers associated with this line item.
     * @short Unique device identifier
     */
    udi?: Reference<Device>[];
    /**
     * @backbone Nested BackboneElement: bodySite [0..*]
     */
    bodySite?: ExplanationOfBenefit_Item_BodySite[];
    /**
     * @description Healthcare encounters related to this claim.
     * @short Encounters associated with the listed treatments
     */
    encounter?: Reference<Encounter>[];
    /**
     * @description The numbers associated with notes below which apply to the adjudication of this item.
     * @short Applicable note numbers
     */
    noteNumber?: FhirPrimitive<number>[];
    /**
     * @backbone Nested BackboneElement: reviewOutcome [0..1]
     */
    reviewOutcome?: ExplanationOfBenefit_Item_ReviewOutcome;
    /**
     * @backbone Nested BackboneElement: adjudication [0..*]
     */
    adjudication?: ExplanationOfBenefit_Item_Adjudication[];
    /**
     * @backbone Nested BackboneElement: detail [0..*]
     */
    detail?: ExplanationOfBenefit_Item_Detail[];
}
//# sourceMappingURL=ExplanationOfBenefit_Item.d.ts.map