ExplanationOfBenefitItem constructor

const ExplanationOfBenefitItem({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<FhirExtension>? modifierExtension,
  4. FhirPositiveInt? sequence,
  5. @JsonKey(name: '_sequence') Element? sequenceElement,
  6. List<FhirPositiveInt>? careTeamSequence,
  7. @JsonKey(name: '_careTeamSequence') List<Element>? careTeamSequenceElement,
  8. List<FhirPositiveInt>? diagnosisSequence,
  9. @JsonKey(name: '_diagnosisSequence') List<Element>? diagnosisSequenceElement,
  10. List<FhirPositiveInt>? procedureSequence,
  11. @JsonKey(name: '_procedureSequence') List<Element>? procedureSequenceElement,
  12. List<FhirPositiveInt>? informationSequence,
  13. @JsonKey(name: '_informationSequence') List<Element>? informationSequenceElement,
  14. List<Identifier>? traceNumber,
  15. CodeableConcept? revenue,
  16. CodeableConcept? category,
  17. CodeableConcept? productOrService,
  18. CodeableConcept? productOrServiceEnd,
  19. List<Reference>? request,
  20. List<CodeableConcept>? modifier,
  21. List<CodeableConcept>? programCode,
  22. FhirDate? servicedDate,
  23. @JsonKey(name: '_servicedDate') Element? servicedDateElement,
  24. Period? servicedPeriod,
  25. CodeableConcept? locationCodeableConcept,
  26. Address? locationAddress,
  27. Reference? locationReference,
  28. Money? patientPaid,
  29. Quantity? quantity,
  30. Money? unitPrice,
  31. FhirDecimal? factor,
  32. @JsonKey(name: '_factor') Element? factorElement,
  33. Money? tax,
  34. Money? net,
  35. List<Reference>? udi,
  36. List<ExplanationOfBenefitBodySite>? bodySite,
  37. List<Reference>? encounter,
  38. List<FhirPositiveInt>? noteNumber,
  39. @JsonKey(name: '_noteNumber') List<Element>? noteNumberElement,
  40. ExplanationOfBenefitReviewOutcome? reviewOutcome,
  41. List<ExplanationOfBenefitAdjudication>? adjudication,
  42. List<ExplanationOfBenefitDetail>? detail,
})

ExplanationOfBenefitItem This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided.

id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

extension_ ("extension") 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.

modifierExtension 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 and/or 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).

sequence A number to uniquely identify item entries.

sequenceElement ("_sequence") Extensions for sequence

careTeamSequence Care team members related to this service or product.

careTeamSequenceElement ("_careTeamSequence") Extensions for careTeamSequence

diagnosisSequence Diagnoses applicable for this service or product.

diagnosisSequenceElement ("_diagnosisSequence") Extensions for diagnosisSequence

procedureSequence Procedures applicable for this service or product.

procedureSequenceElement ("_procedureSequence") Extensions for procedureSequence

informationSequence Exceptions, special conditions and supporting information applicable for this service or product.

informationSequenceElement ("_informationSequence") Extensions for informationSequence

traceNumber Trace number for tracking purposes. May be defined at the jurisdiction level or between trading partners.

revenue The type of revenue or cost center providing the product and/or service.

category Code to identify the general type of benefits under which products and services are provided.

productOrService 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.

productOrServiceEnd 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.

request Request or Referral for Goods or Service to be rendered.

modifier Item typification or modifiers codes to convey additional context for the product or service.

programCode Identifies the program under which this may be recovered.

servicedDate The date or dates when the service or product was supplied, performed or completed.

servicedDateElement ("_servicedDate") Extensions for servicedDate

servicedPeriod The date or dates when the service or product was supplied, performed or completed.

locationCodeableConcept Where the product or service was provided.

locationAddress Where the product or service was provided.

locationReference Where the product or service was provided.

patientPaid 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.

quantity The number of repetitions of a service or product.

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 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.

factorElement ("_factor") Extensions for factor

tax The total of taxes applicable for this product or service.

net The total amount claimed for the group (if a grouper) or the line item. Net = unit price * quantity * factor.

udi Unique Device Identifiers associated with this line item.

bodySite Physical location where the service is performed or applies.

encounter Healthcare encounters related to this claim.

noteNumber The numbers associated with notes below which apply to the adjudication of this item.

noteNumberElement ("_noteNumber") Extensions for noteNumber

reviewOutcome The high-level results of the adjudication if adjudication has been performed.

adjudication If this item is a group then the values here are a summary of the adjudication of the detail items. If this item is a simple product or service then this is the result of the adjudication of this item.

detail Second-tier of goods and services.

Implementation

const factory ExplanationOfBenefitItem({
  /// [id] Unique id for the element within a resource (for internal
  ///  references). This may be any string value that does not contain spaces.
  @JsonKey(name: 'id') String? fhirId,

  /// [extension_] ("extension") 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.
  @JsonKey(name: 'extension') List<FhirExtension>? extension_,

  /// [modifierExtension] 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
  ///  and/or 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).
  List<FhirExtension>? modifierExtension,

  /// [sequence] A number to uniquely identify item entries.
  FhirPositiveInt? sequence,

  /// [sequenceElement] ("_sequence") Extensions for sequence
  @JsonKey(name: '_sequence') Element? sequenceElement,

  /// [careTeamSequence] Care team members related to this service or product.
  List<FhirPositiveInt>? careTeamSequence,

  /// [careTeamSequenceElement] ("_careTeamSequence") Extensions for
  ///  careTeamSequence
  @JsonKey(name: '_careTeamSequence') List<Element>? careTeamSequenceElement,

  /// [diagnosisSequence] Diagnoses applicable for this service or product.
  List<FhirPositiveInt>? diagnosisSequence,

  /// [diagnosisSequenceElement] ("_diagnosisSequence") Extensions for
  ///  diagnosisSequence
  @JsonKey(name: '_diagnosisSequence')
  List<Element>? diagnosisSequenceElement,

  /// [procedureSequence] Procedures applicable for this service or product.
  List<FhirPositiveInt>? procedureSequence,

  /// [procedureSequenceElement] ("_procedureSequence") Extensions for
  ///  procedureSequence
  @JsonKey(name: '_procedureSequence')
  List<Element>? procedureSequenceElement,

  /// [informationSequence] Exceptions, special conditions and supporting
  ///  information applicable for this service or product.
  List<FhirPositiveInt>? informationSequence,

  /// [informationSequenceElement] ("_informationSequence") Extensions for
  ///  informationSequence
  @JsonKey(name: '_informationSequence')
  List<Element>? informationSequenceElement,

  /// [traceNumber] Trace number for tracking purposes. May be defined at the
  ///  jurisdiction level or between trading partners.
  List<Identifier>? traceNumber,

  /// [revenue] The type of revenue or cost center providing the product
  ///  and/or service.
  CodeableConcept? revenue,

  /// [category] Code to identify the general type of benefits under which
  ///  products and services are provided.
  CodeableConcept? category,

  /// [productOrService] 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.
  CodeableConcept? productOrService,

  /// [productOrServiceEnd] 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.
  CodeableConcept? productOrServiceEnd,

  /// [request] Request or Referral for Goods or Service to be rendered.
  List<Reference>? request,

  /// [modifier] Item typification or modifiers codes to convey additional
  ///  context for the product or service.
  List<CodeableConcept>? modifier,

  /// [programCode] Identifies the program under which this may be recovered.
  List<CodeableConcept>? programCode,

  /// [servicedDate] The date or dates when the service or product was
  ///  supplied, performed or completed.
  FhirDate? servicedDate,

  /// [servicedDateElement] ("_servicedDate") Extensions for servicedDate
  @JsonKey(name: '_servicedDate') Element? servicedDateElement,

  /// [servicedPeriod] The date or dates when the service or product was
  ///  supplied, performed or completed.
  Period? servicedPeriod,

  /// [locationCodeableConcept] Where the product or service was provided.
  CodeableConcept? locationCodeableConcept,

  /// [locationAddress] Where the product or service was provided.
  Address? locationAddress,

  /// [locationReference] Where the product or service was provided.
  Reference? locationReference,

  /// [patientPaid] 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.
  Money? patientPaid,

  /// [quantity] The number of repetitions of a service or product.
  Quantity? quantity,

  /// [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.
  Money? unitPrice,

  /// [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.
  FhirDecimal? factor,

  /// [factorElement] ("_factor") Extensions for factor
  @JsonKey(name: '_factor') Element? factorElement,

  /// [tax] The total of taxes applicable for this product or service.
  Money? tax,

  /// [net] The total amount claimed for the group (if a grouper) or the line
  ///  item. Net = unit price * quantity * factor.
  Money? net,

  /// [udi] Unique Device Identifiers associated with this line item.
  List<Reference>? udi,

  /// [bodySite] Physical location where the service is performed or applies.
  List<ExplanationOfBenefitBodySite>? bodySite,

  /// [encounter] Healthcare encounters related to this claim.
  List<Reference>? encounter,

  /// [noteNumber] The numbers associated with notes below which apply to the
  ///  adjudication of this item.
  List<FhirPositiveInt>? noteNumber,

  /// [noteNumberElement] ("_noteNumber") Extensions for noteNumber
  @JsonKey(name: '_noteNumber') List<Element>? noteNumberElement,

  /// [reviewOutcome] The high-level results of the adjudication if
  ///  adjudication has been performed.
  ExplanationOfBenefitReviewOutcome? reviewOutcome,

  /// [adjudication] If this item is a group then the values here are a
  ///  summary of the adjudication of the detail items. If this item is a
  ///  simple product or service then this is the result of the adjudication
  ///  of this item.
  List<ExplanationOfBenefitAdjudication>? adjudication,

  /// [detail] Second-tier of goods and services.
  List<ExplanationOfBenefitDetail>? detail,
}) = _ExplanationOfBenefitItem;