PackagesCanonicalsLogsProblems
    Packages
    smart.who.int.base@1.0.0
    http://smart.who.int/base/StructureDefinition/SGTask
description: Extension to reference SMART Guidelines task type
package_name: smart.who.int.base
derivation: constraint
name: SGTask
type: Extension
elements:
  extension: {index: 0}
  url:
    pattern: {type: Uri, value: 'http://smart.who.int/base/StructureDefinition/SGTask'}
    index: 1
  value:
    choices: []
    index: 3
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        valueCoding:
          match: {}
          schema:
            choices: [valueCoding]
            _required: true
            index: 5
          min: 1
          max: 1
  valueCoding:
    type: Coding
    choiceOf: value
    index: 6
    slicing:
      slices:
        valueCoding:
          match: {}
          schema: {type: Coding, choiceOf: value, _required: true, index: 6}
          min: 1
          max: 1
  value[x]:
    elements:
      system:
        pattern: {type: Uri, value: 'http://smart.who.int/base/CodeSystem/SGTasks'}
        mustSupport: true
        index: 7
      code: {mustSupport: true, index: 8}
    required: [system, code]
package_version: 1.0.0
extensions: {}
class: extension
kind: complex-type
url: http://smart.who.int/base/StructureDefinition/SGTask
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0
required: [valueCoding, value]