PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.xver@r5.r4-0.0.1-snapshot-2
    http://hl7.org/fhir/5.0/StructureDefinition/extension-Account.procedure
description: This cross-version extension represents Account.procedure from http://hl7.org/fhir/StructureDefinition/Account|5.0.0 for use in FHIR R4.
package_name: hl7.fhir.uv.xver
derivation: constraint
name: Ext_R5_Account_procedure
type: Extension
elements:
  extension:
    base: {max: '*', min: 0, path: Extension.extension}
    array: true
    min: 1
    index: 0
    slicing:
      rules: closed
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        sequence:
          match: {url: sequence}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Ranking of the procedure (for each type)
            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:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: positiveInt
                short: Ranking of the procedure (for each type)
                choiceOf: value
                index: 5
            required: [url]
        code:
          match: {url: code}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: The procedure relevant to the account
            _required: true
            index: 6
            extensions:
              concept:
                url: concept
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a concept (by class)
                index: 8
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: concept}
                    index: 9
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 11
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 12
                required: [url]
              reference:
                url: reference
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a resource (by instance)
                index: 13
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: reference}
                    index: 14
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 16
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 17
                required: [url]
              _datatype:
                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                type: Extension
                short: Data type name for Account.procedure.code from FHIR R5
                index: 18
                elements:
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 20
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 21
                required: [valueString, value]
            elements:
              extension:
                base: {max: '*', min: 0, path: Extension.extension}
                array: true
                index: 7
                slicing:
                  rules: closed
                  ordered: false
                  discriminator:
                  - {path: url, type: value}
                  min: 0
                  slices:
                    concept:
                      match: {url: concept}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a concept (by class)
                        index: 8
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: concept}
                            index: 9
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a concept (by class)
                            choices: [valueCodeableConcept]
                            index: 11
                          valueCodeableConcept:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: CodeableConcept
                            short: Reference to a concept (by class)
                            choiceOf: value
                            index: 12
                        required: [url]
                    reference:
                      match: {url: reference}
                      schema:
                        base: {max: '*', min: 0, path: Extension.extension}
                        short: Reference to a resource (by instance)
                        index: 13
                        elements:
                          url:
                            base: {max: '1', min: 1, path: Extension.url}
                            pattern: {type: Uri, value: reference}
                            index: 14
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            short: Reference to a resource (by instance)
                            choices: [valueReference]
                            index: 16
                          valueReference:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            type: Reference
                            short: Reference to a resource (by instance)
                            choiceOf: value
                            index: 17
                        required: [url]
                    _datatype:
                      match: {url: null}
                      schema:
                        type: Extension
                        short: Data type name for Account.procedure.code from FHIR R5
                        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                        index: 18
                        elements:
                          value:
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            pattern: {type: String, value: CodeableReference}
                            choices: [valueString]
                            index: 20
                          valueString:
                            type: string
                            pattern: {type: String, value: CodeableReference}
                            base: {max: '1', min: 0, path: 'Extension.value[x]'}
                            choiceOf: value
                            index: 21
                        required: [valueString, value]
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: code}
                index: 22
            required: [url]
        dateOfService:
          match: {url: dateOfService}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Date of the procedure (when coded procedure)
            index: 23
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: dateOfService}
                index: 24
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Date of the procedure (when coded procedure)
                choices: [valueDateTime]
                index: 26
              valueDateTime:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: dateTime
                short: Date of the procedure (when coded procedure)
                choiceOf: value
                index: 27
            required: [url]
        type:
          match: {url: type}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: How this procedure value should be used in charging the account
            array: true
            index: 28
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: type}
                index: 29
              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: 31
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: How this procedure value should be used in charging the account
                choiceOf: value
                index: 32
            required: [url]
        packageCode:
          match: {url: packageCode}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Package Code specific for billing
            array: true
            index: 33
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: packageCode}
                index: 34
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Package Code specific for billing
                choices: [valueCodeableConcept]
                index: 36
              valueCodeableConcept:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: CodeableConcept
                short: Package Code specific for billing
                choiceOf: value
                index: 37
            required: [url]
        device:
          match: {url: device}
          schema:
            base: {max: '*', min: 0, path: Extension.extension}
            short: Any devices that were associated with the procedure
            array: true
            index: 38
            elements:
              url:
                base: {max: '1', min: 1, path: Extension.url}
                pattern: {type: Uri, value: device}
                index: 39
              value:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                short: Any devices that were associated with the procedure
                choices: [valueReference]
                index: 41
              valueReference:
                base: {max: '1', min: 0, path: 'Extension.value[x]'}
                type: Reference
                short: Any devices that were associated with the procedure
                choiceOf: value
                index: 42
            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: 43
package_version: r5.r4-0.0.1-snapshot-2
extensions:
  sequence:
    url: sequence
    base: {max: '*', min: 0, path: Extension.extension}
    short: Ranking of the procedure (for each type)
    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:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: positiveInt
        short: Ranking of the procedure (for each type)
        choiceOf: value
        index: 5
    required: [url]
  code:
    url: code
    base: {max: '*', min: 0, path: Extension.extension}
    short: The procedure relevant to the account
    _required: true
    index: 6
    extensions:
      concept:
        url: concept
        base: {max: '*', min: 0, path: Extension.extension}
        short: Reference to a concept (by class)
        index: 8
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: concept}
            index: 9
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Reference to a concept (by class)
            choices: [valueCodeableConcept]
            index: 11
          valueCodeableConcept:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: CodeableConcept
            short: Reference to a concept (by class)
            choiceOf: value
            index: 12
        required: [url]
      reference:
        url: reference
        base: {max: '*', min: 0, path: Extension.extension}
        short: Reference to a resource (by instance)
        index: 13
        elements:
          url:
            base: {max: '1', min: 1, path: Extension.url}
            pattern: {type: Uri, value: reference}
            index: 14
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            short: Reference to a resource (by instance)
            choices: [valueReference]
            index: 16
          valueReference:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            type: Reference
            short: Reference to a resource (by instance)
            choiceOf: value
            index: 17
        required: [url]
      _datatype:
        url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
        type: Extension
        short: Data type name for Account.procedure.code from FHIR R5
        index: 18
        elements:
          value:
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            pattern: {type: String, value: CodeableReference}
            choices: [valueString]
            index: 20
          valueString:
            type: string
            pattern: {type: String, value: CodeableReference}
            base: {max: '1', min: 0, path: 'Extension.value[x]'}
            choiceOf: value
            index: 21
        required: [valueString, value]
    elements:
      extension:
        base: {max: '*', min: 0, path: Extension.extension}
        array: true
        index: 7
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            concept:
              match: {url: concept}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a concept (by class)
                index: 8
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: concept}
                    index: 9
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a concept (by class)
                    choices: [valueCodeableConcept]
                    index: 11
                  valueCodeableConcept:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: CodeableConcept
                    short: Reference to a concept (by class)
                    choiceOf: value
                    index: 12
                required: [url]
            reference:
              match: {url: reference}
              schema:
                base: {max: '*', min: 0, path: Extension.extension}
                short: Reference to a resource (by instance)
                index: 13
                elements:
                  url:
                    base: {max: '1', min: 1, path: Extension.url}
                    pattern: {type: Uri, value: reference}
                    index: 14
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    short: Reference to a resource (by instance)
                    choices: [valueReference]
                    index: 16
                  valueReference:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    type: Reference
                    short: Reference to a resource (by instance)
                    choiceOf: value
                    index: 17
                required: [url]
            _datatype:
              match: {url: null}
              schema:
                type: Extension
                short: Data type name for Account.procedure.code from FHIR R5
                url: http://hl7.org/fhir/StructureDefinition/_datatype|5.2.0
                index: 18
                elements:
                  value:
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    pattern: {type: String, value: CodeableReference}
                    choices: [valueString]
                    index: 20
                  valueString:
                    type: string
                    pattern: {type: String, value: CodeableReference}
                    base: {max: '1', min: 0, path: 'Extension.value[x]'}
                    choiceOf: value
                    index: 21
                required: [valueString, value]
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: code}
        index: 22
    required: [url]
  dateOfService:
    url: dateOfService
    base: {max: '*', min: 0, path: Extension.extension}
    short: Date of the procedure (when coded procedure)
    index: 23
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: dateOfService}
        index: 24
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Date of the procedure (when coded procedure)
        choices: [valueDateTime]
        index: 26
      valueDateTime:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: dateTime
        short: Date of the procedure (when coded procedure)
        choiceOf: value
        index: 27
    required: [url]
  type:
    url: type
    base: {max: '*', min: 0, path: Extension.extension}
    short: How this procedure value should be used in charging the account
    array: true
    index: 28
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: type}
        index: 29
      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: 31
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: How this procedure value should be used in charging the account
        choiceOf: value
        index: 32
    required: [url]
  packageCode:
    url: packageCode
    base: {max: '*', min: 0, path: Extension.extension}
    short: Package Code specific for billing
    array: true
    index: 33
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: packageCode}
        index: 34
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Package Code specific for billing
        choices: [valueCodeableConcept]
        index: 36
      valueCodeableConcept:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: CodeableConcept
        short: Package Code specific for billing
        choiceOf: value
        index: 37
    required: [url]
  device:
    url: device
    base: {max: '*', min: 0, path: Extension.extension}
    short: Any devices that were associated with the procedure
    array: true
    index: 38
    elements:
      url:
        base: {max: '1', min: 1, path: Extension.url}
        pattern: {type: Uri, value: device}
        index: 39
      value:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        short: Any devices that were associated with the procedure
        choices: [valueReference]
        index: 41
      valueReference:
        base: {max: '1', min: 0, path: 'Extension.value[x]'}
        type: Reference
        short: Any devices that were associated with the procedure
        choiceOf: value
        index: 42
    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|4.0.1
version: 0.0.1-snapshot-2
required: [url, extension]