PackagesCanonicalsLogsProblems
    Packages
    signal.core.r4@0.2.1
    http://signalbhn.org/fhir/StructureDefinition/qualification
description: An extension to add qualifications for an organization (e.g. accreditation) or practitionerRole (e.g. registered to prescribe controlled substances).  Originally from http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/qualification (FHIR R4, to fit need until R5 available)
package_name: signal.core.r4
derivation: constraint
name: SignalQualification
type: Extension
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 2
      slices:
        identifier:
          match: {url: identifier}
          schema:
            mustSupport: true
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: identifier}
                index: 2
              value:
                choices: [valueIdentifier]
                index: 4
              valueIdentifier: {type: Identifier, choiceOf: value, index: 5}
            required: [valueIdentifier, value]
        code:
          match: {url: code}
          schema:
            mustSupport: true
            _required: true
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: code}
                index: 7
              value:
                choices: [valueCodeableConcept]
                index: 9
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10}
            required: [value, valueCodeableConcept]
        issuer:
          match: {url: issuer}
          schema:
            mustSupport: true
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: issuer}
                index: 12
              value:
                choices: [valueReference]
                index: 14
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Organization']
                index: 15
            required: [valueReference, value]
        status:
          match: {url: status}
          schema:
            mustSupport: true
            _required: true
            index: 16
            elements:
              url:
                pattern: {type: Uri, value: status}
                index: 17
              value:
                pattern: {type: Code, value: active}
                choices: [valueCode]
                index: 22
                slicing:
                  slices:
                    valueCode:
                      match: {}
                      schema:
                        pattern: {type: Code, value: active}
                        choices: [valueCode]
                        _required: true
                        index: 22
                      min: 1
              valueCode:
                type: code
                pattern: {type: Code, value: active}
                choiceOf: value
                index: 23
                slicing:
                  slices:
                    valueCode:
                      match: {}
                      schema:
                        type: code
                        pattern: {type: Code, value: active}
                        choiceOf: value
                        _required: true
                        index: 23
                      min: 1
            required: [valueCode, value]
        period:
          match: {url: period}
          schema:
            mustSupport: true
            index: 24
            elements:
              url:
                pattern: {type: Uri, value: period}
                index: 25
              value:
                choices: [valuePeriod]
                index: 27
              valuePeriod: {type: Period, choiceOf: value, index: 28}
            required: [valuePeriod, value]
        whereValid:
          match: {url: whereValid}
          schema:
            mustSupport: true
            index: 29
            elements:
              url:
                pattern: {type: Uri, value: whereValid}
                index: 30
              value:
                choices: [valueCodeableConcept, valueReference]
                index: 32
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 33}
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Location']
                index: 34
            required: [valueReference, value, valueCodeableConcept]
  url:
    pattern: {type: Uri, value: 'http://signalbhn.org/fhir/StructureDefinition/qualification'}
    index: 35
  value:
    choices: []
    index: 37
package_version: 0.2.1
extensions:
  identifier:
    url: identifier
    mustSupport: true
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: identifier}
        index: 2
      value:
        choices: [valueIdentifier]
        index: 4
      valueIdentifier: {type: Identifier, choiceOf: value, index: 5}
    required: [valueIdentifier, value]
  code:
    url: code
    mustSupport: true
    _required: true
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: code}
        index: 7
      value:
        choices: [valueCodeableConcept]
        index: 9
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10}
    required: [value, valueCodeableConcept]
  issuer:
    url: issuer
    mustSupport: true
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: issuer}
        index: 12
      value:
        choices: [valueReference]
        index: 14
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Organization']
        index: 15
    required: [valueReference, value]
  status:
    url: status
    mustSupport: true
    _required: true
    index: 16
    elements:
      url:
        pattern: {type: Uri, value: status}
        index: 17
      value:
        pattern: {type: Code, value: active}
        choices: [valueCode]
        index: 22
        slicing:
          slices:
            valueCode:
              match: {}
              schema:
                pattern: {type: Code, value: active}
                choices: [valueCode]
                _required: true
                index: 22
              min: 1
      valueCode:
        type: code
        pattern: {type: Code, value: active}
        choiceOf: value
        index: 23
        slicing:
          slices:
            valueCode:
              match: {}
              schema:
                type: code
                pattern: {type: Code, value: active}
                choiceOf: value
                _required: true
                index: 23
              min: 1
    required: [valueCode, value]
  period:
    url: period
    mustSupport: true
    index: 24
    elements:
      url:
        pattern: {type: Uri, value: period}
        index: 25
      value:
        choices: [valuePeriod]
        index: 27
      valuePeriod: {type: Period, choiceOf: value, index: 28}
    required: [valuePeriod, value]
  whereValid:
    url: whereValid
    mustSupport: true
    index: 29
    elements:
      url:
        pattern: {type: Uri, value: whereValid}
        index: 30
      value:
        choices: [valueCodeableConcept, valueReference]
        index: 32
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 33}
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/davinci-pdex-plan-net/StructureDefinition/plannet-Location']
        index: 34
    required: [valueReference, value, valueCodeableConcept]
class: extension
kind: complex-type
url: http://signalbhn.org/fhir/StructureDefinition/qualification
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.1.0