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