PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@elm-1.3.1
    http://fhir.ch/ig/ch-elm/StructureDefinition/ch-ext-elm-status
description: Extension to define the status of the processing of the document
package_name: ch.fhir.ig.ch
derivation: constraint
name: ChExtElmStatus
type: Extension
elements:
  extension:
    index: 0
    slicing:
      slices:
        status:
          match: {}
          schema:
            short: Status of the processing of the document
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: status}
                index: 3
              value:
                choices: []
                index: 5
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueCode:
                      match: {}
                      schema:
                        short: Code to indicate the status of the processing of the document
                        choices: [valueCode]
                        _required: true
                        index: 7
                      min: 1
                      max: 1
              valueCode:
                type: code
                short: Code to indicate the status of the processing of the document
                choiceOf: value
                index: 8
                slicing:
                  slices:
                    valueCode:
                      match: {}
                      schema: {type: code, short: Code to indicate the status of the processing of the document, choiceOf: value, _required: true, index: 8}
                      min: 1
                      max: 1
            required: [valueCode, value]
        outcome:
          match: {}
          schema:
            short: Timestamp of the authorship/data input
            index: 9
            extensions: {}
            elements:
              extension: {index: 10}
              url:
                pattern: {type: Uri, value: outcome}
                index: 11
              value:
                choices: []
                index: 13
                slicing:
                  rules: open
                  ordered: false
                  discriminator:
                  - {path: $this, type: type}
                  min: 1
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        short: reference to contained OperationOutcome if processing failed
                        choices: [valueReference]
                        _required: true
                        index: 15
                      min: 1
                      max: 1
              valueReference:
                short: reference to contained OperationOutcome if processing failed
                refers: ['http://hl7.org/fhir/StructureDefinition/OperationOutcome']
                type: Reference
                choiceOf: value
                index: 16
                slicing:
                  slices:
                    valueReference:
                      match: {}
                      schema:
                        short: reference to contained OperationOutcome if processing failed
                        refers: ['http://hl7.org/fhir/StructureDefinition/OperationOutcome']
                        type: Reference
                        _required: true
                        choiceOf: value
                        index: 16
                      min: 1
                      max: 1
            required: [valueReference, value]
  url:
    pattern: {type: Uri, value: 'http://fhir.ch/ig/ch-elm/StructureDefinition/ch-ext-elm-status'}
    index: 17
  value:
    choices: []
    index: 19
package_version: elm-1.3.1
extensions:
  status:
    url: null
    short: Status of the processing of the document
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: status}
        index: 3
      value:
        choices: []
        index: 5
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            valueCode:
              match: {}
              schema:
                short: Code to indicate the status of the processing of the document
                choices: [valueCode]
                _required: true
                index: 7
              min: 1
              max: 1
      valueCode:
        type: code
        short: Code to indicate the status of the processing of the document
        choiceOf: value
        index: 8
        slicing:
          slices:
            valueCode:
              match: {}
              schema: {type: code, short: Code to indicate the status of the processing of the document, choiceOf: value, _required: true, index: 8}
              min: 1
              max: 1
    required: [valueCode, value]
  outcome:
    url: null
    short: Timestamp of the authorship/data input
    index: 9
    extensions: {}
    elements:
      extension: {index: 10}
      url:
        pattern: {type: Uri, value: outcome}
        index: 11
      value:
        choices: []
        index: 13
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: $this, type: type}
          min: 1
          slices:
            valueReference:
              match: {}
              schema:
                short: reference to contained OperationOutcome if processing failed
                choices: [valueReference]
                _required: true
                index: 15
              min: 1
              max: 1
      valueReference:
        short: reference to contained OperationOutcome if processing failed
        refers: ['http://hl7.org/fhir/StructureDefinition/OperationOutcome']
        type: Reference
        choiceOf: value
        index: 16
        slicing:
          slices:
            valueReference:
              match: {}
              schema:
                short: reference to contained OperationOutcome if processing failed
                refers: ['http://hl7.org/fhir/StructureDefinition/OperationOutcome']
                type: Reference
                _required: true
                choiceOf: value
                index: 16
              min: 1
              max: 1
    required: [valueReference, value]
class: extension
kind: complex-type
url: http://fhir.ch/ig/ch-elm/StructureDefinition/ch-ext-elm-status
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.3.1
required: [extension]