PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver-r5.r3@0.1.0
    http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.procedure
description: 'R5: `Account.procedure` (new:BackboneElement)'
package_name: hl7.fhir.uv.xver-r5.r3
derivation: constraint
name: ExtensionAccount_Procedure
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 1
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        sequence:
          match: {url: sequence}
          schema:
            short: 'R5: Ranking of the procedure (for each type) (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 1
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: sequence}
                index: 2
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Ranking of the procedure (for each type)
                choices: [valuePositiveInt]
                index: 4
              valuePositiveInt:
                short: Ranking of the procedure (for each type)
                type: positiveInt
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 5
            required: [url]
        code:
          match: {url: code}
          schema:
            short: 'R5: The procedure relevant to the account (new)'
            _required: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 6
            extensions:
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype
                base: {max: '*', min: 0, path: Extension.extension}
                short: DataType slice for a FHIR R5 `CodeableReference` value
                _required: true
                index: 8
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                    index: 9
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 11
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 12
                required: [url, valueString, value]
              concept:
                url: concept
                short: 'R5: Reference to a concept (by class)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 13
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: concept}
                    index: 14
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 16
                  valueCodeableConcept:
                    short: Reference to a concept (by class)
                    type: CodeableConcept
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 17
                required: [url]
              reference:
                url: reference
                short: 'R5: Reference to a resource (by instance)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 18
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: reference}
                    index: 19
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference, valueReference]
                    index: 21
                  valueReference:
                    short: Reference to a resource (by instance)
                    refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Procedure|0.1.0']
                    type: Reference
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 22
                required: [url]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                min: 1
                index: 7
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 1
                  slices:
                    _datatype:
                      match: {url: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: DataType slice for a FHIR R5 `CodeableReference` value
                        _required: true
                        index: 8
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                            index: 9
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            pattern: {type: String, value: CodeableReference}
                            choices: [valueString]
                            index: 11
                          valueString:
                            type: string
                            pattern: {type: String, value: CodeableReference}
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 12
                        required: [url, valueString, value]
                    concept:
                      match: {url: concept}
                      schema:
                        short: 'R5: Reference to a concept (by class)'
                        base: {max: '*', min: 0, path: Extension.extension}
                        index: 13
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: concept}
                            index: 14
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 16
                          valueCodeableConcept:
                            short: Reference to a concept (by class)
                            type: CodeableConcept
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 17
                        required: [url]
                    reference:
                      match: {url: reference}
                      schema:
                        short: 'R5: Reference to a resource (by instance)'
                        base: {max: '*', min: 0, path: Extension.extension}
                        index: 18
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: reference}
                            index: 19
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference, valueReference]
                            index: 21
                          valueReference:
                            short: Reference to a resource (by instance)
                            refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Procedure|0.1.0']
                            type: Reference
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 22
                        required: [url]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: code}
                index: 24
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choices: []
                index: 26
            required: [url, extension]
        dateOfService:
          match: {url: dateOfService}
          schema:
            short: 'R5: Date of the procedure (when coded procedure) (new)'
            base: {max: '*', min: 0, path: Extension.extension}
            index: 27
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: dateOfService}
                index: 28
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Date of the procedure (when coded procedure)
                choices: [valueDateTime]
                index: 30
              valueDateTime:
                short: Date of the procedure (when coded procedure)
                type: dateTime
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 31
            required: [url]
        type:
          match: {url: type}
          schema:
            short: 'R5: How this procedure value should be used in charging the account (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 32
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: type}
                index: 33
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: How this procedure value should be used in charging the account
                choices: [valueCodeableConcept]
                index: 35
              valueCodeableConcept:
                short: How this procedure value should be used in charging the account
                type: CodeableConcept
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 36
            required: [url]
        packageCode:
          match: {url: packageCode}
          schema:
            short: 'R5: Package Code specific for billing (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 37
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: packageCode}
                index: 38
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Package Code specific for billing
                choices: [valueCodeableConcept]
                index: 40
              valueCodeableConcept:
                short: Package Code specific for billing
                type: CodeableConcept
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 41
            required: [url]
        device:
          match: {url: device}
          schema:
            short: 'R5: Any devices that were associated with the procedure (new)'
            array: true
            base: {max: '*', min: 0, path: Extension.extension}
            index: 42
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: device}
                index: 43
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Any devices that were associated with the procedure
                choices: [valueReference, valueReference]
                index: 45
              valueReference:
                short: Any devices that were associated with the procedure
                refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Device|0.1.0']
                type: Reference
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                choiceOf: value
                index: 46
            required: [url]
  url:
    base: {max: '1', min: 1, path: Extension.url}
    pattern: {type: Uri, value: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.procedure'}
    index: 48
  value:
    base: {max: '1', min: 0, path: 'Extension.value[x]'}
    choices: []
    index: 50
package_version: 0.1.0
extensions:
  sequence:
    url: sequence
    short: 'R5: Ranking of the procedure (for each type) (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 1
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: sequence}
        index: 2
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Ranking of the procedure (for each type)
        choices: [valuePositiveInt]
        index: 4
      valuePositiveInt:
        short: Ranking of the procedure (for each type)
        type: positiveInt
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 5
    required: [url]
  code:
    url: code
    short: 'R5: The procedure relevant to the account (new)'
    _required: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 6
    extensions:
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype
        base: {max: '*', min: 0, path: Extension.extension}
        short: DataType slice for a FHIR R5 `CodeableReference` value
        _required: true
        index: 8
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
            index: 9
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            pattern: {type: String, value: CodeableReference}
            choices: [valueString]
            index: 11
          valueString:
            type: string
            pattern: {type: String, value: CodeableReference}
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 12
        required: [url, valueString, value]
      concept:
        url: concept
        short: 'R5: Reference to a concept (by class)'
        base: {max: '*', min: 0, path: Extension.extension}
        index: 13
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: concept}
            index: 14
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Reference to a concept (by class)
            choices: [valueCodeableConcept]
            index: 16
          valueCodeableConcept:
            short: Reference to a concept (by class)
            type: CodeableConcept
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 17
        required: [url]
      reference:
        url: reference
        short: 'R5: Reference to a resource (by instance)'
        base: {max: '*', min: 0, path: Extension.extension}
        index: 18
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: reference}
            index: 19
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Reference to a resource (by instance)
            choices: [valueReference, valueReference]
            index: 21
          valueReference:
            short: Reference to a resource (by instance)
            refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Procedure|0.1.0']
            type: Reference
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 22
        required: [url]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        min: 1
        index: 7
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 1
          slices:
            _datatype:
              match: {url: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: DataType slice for a FHIR R5 `CodeableReference` value
                _required: true
                index: 8
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: 'http://hl7.org/fhir/StructureDefinition/_datatype'}
                    index: 9
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 11
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 12
                required: [url, valueString, value]
            concept:
              match: {url: concept}
              schema:
                short: 'R5: Reference to a concept (by class)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 13
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: concept}
                    index: 14
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 16
                  valueCodeableConcept:
                    short: Reference to a concept (by class)
                    type: CodeableConcept
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 17
                required: [url]
            reference:
              match: {url: reference}
              schema:
                short: 'R5: Reference to a resource (by instance)'
                base: {max: '*', min: 0, path: Extension.extension}
                index: 18
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: reference}
                    index: 19
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference, valueReference]
                    index: 21
                  valueReference:
                    short: Reference to a resource (by instance)
                    refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Procedure|0.1.0']
                    type: Reference
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 22
                required: [url]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: code}
        index: 24
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choices: []
        index: 26
    required: [url, extension]
  dateOfService:
    url: dateOfService
    short: 'R5: Date of the procedure (when coded procedure) (new)'
    base: {max: '*', min: 0, path: Extension.extension}
    index: 27
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: dateOfService}
        index: 28
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Date of the procedure (when coded procedure)
        choices: [valueDateTime]
        index: 30
      valueDateTime:
        short: Date of the procedure (when coded procedure)
        type: dateTime
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 31
    required: [url]
  type:
    url: type
    short: 'R5: How this procedure value should be used in charging the account (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 32
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: type}
        index: 33
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: How this procedure value should be used in charging the account
        choices: [valueCodeableConcept]
        index: 35
      valueCodeableConcept:
        short: How this procedure value should be used in charging the account
        type: CodeableConcept
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 36
    required: [url]
  packageCode:
    url: packageCode
    short: 'R5: Package Code specific for billing (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 37
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: packageCode}
        index: 38
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Package Code specific for billing
        choices: [valueCodeableConcept]
        index: 40
      valueCodeableConcept:
        short: Package Code specific for billing
        type: CodeableConcept
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 41
    required: [url]
  device:
    url: device
    short: 'R5: Any devices that were associated with the procedure (new)'
    array: true
    base: {max: '*', min: 0, path: Extension.extension}
    index: 42
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: device}
        index: 43
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Any devices that were associated with the procedure
        choices: [valueReference, valueReference]
        index: 45
      valueReference:
        short: Any devices that were associated with the procedure
        refers: ['http://hl7.org/fhir/5.0/StructureDefinition/profile-Device|0.1.0']
        type: Reference
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        choiceOf: value
        index: 46
    required: [url]
class: extension
kind: complex-type
url: http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.procedure
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.1.0
required: [url, extension]