PackagesCanonicalsLogsProblems
    Packages
    rs/ndhm.in@6.0.0
    https://nrces.in/ndhm/fhir/r4/StructureDefinition/InvoiceRecord
description: The billing artifact represents the invoice details such as pharmacy invoice, consultation invoice etc. along with the support for scanned documents attached for the patient which can be shared across the health ecosystem.
package_name: rs/ndhm.in
derivation: constraint
name: InvoiceRecord
type: Composition
elements:
  date: {mustSupport: true, index: 6}
  encounter:
    type: Reference
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Encounter']
    index: 5
  section:
    mustSupport: true
    index: 13
    elements:
      author:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Practitioner', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/PractitionerRole']
        index: 14
      text: {mustSupport: true, index: 15}
      entry:
        type: Reference
        refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Invoice']
        index: 16
        slicing:
          rules: closed
          discriminator:
          - {path: type, type: value}
          min: 1
          slices:
            Invoice:
              match: {type: Invoice}
              schema:
                type: Reference
                short: This profile sets the minium expectations for the details to be added in order to generate invoices for various healthcare process or workflows.
                refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Invoice']
                index: 17
                elements:
                  reference: {index: 18}
                  type:
                    pattern: {type: uri, value: Invoice}
                    type: uri
                    index: 19
                required: [reference, type]
    required: [entry]
  attester:
    mustSupport: true
    index: 10
    elements:
      party:
        type: Reference
        refers: ['http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Practitioner', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/PractitionerRole']
        index: 11
  type:
    short: Kind of composition ("Invoice Record")
    mustSupport: true
    index: 1
    elements:
      text:
        pattern: {type: string, value: Invoice Record}
        mustSupport: true
        type: string
        index: 2
  title: {mustSupport: true, index: 9}
  author:
    type: Reference
    short: Who and/or what authored the composition/Invoice Record
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/Practitioner', 'https://nrces.in/ndhm/fhir/r4/StructureDefinition/PractitionerRole']
    index: 7
    elements:
      reference: {index: 8}
    required: [reference]
  custodian:
    type: Reference
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Organization']
    index: 12
  status: {mustSupport: true, index: 0}
  subject:
    type: Reference
    short: Who and/or what the composition/Invoice Record is about
    mustSupport: true
    refers: ['https://nrces.in/ndhm/fhir/r4/StructureDefinition/Patient']
    index: 3
    elements:
      reference: {index: 4}
    required: [reference]
package_version: 6.0.0
class: profile
kind: resource
url: https://nrces.in/ndhm/fhir/r4/StructureDefinition/InvoiceRecord
base: http://hl7.org/fhir/StructureDefinition/Composition
version: 6.0.0
required: [section, subject]