PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.cpg@1.0.0
    http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrollmenttask
description: Proposal to enroll the patient in a strategy or pathway as part of a computable clinical practice guideline
package_name: hl7.fhir.uv.cpg
derivation: constraint
name: CPGEnrollmentTask
type: Task
elements:
  extension:
    type: Extension
    mustSupport: true
    url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-isUnenrollment
    index: 0
    slicing:
      slices:
        isUnenrollment:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-isUnenrollment', index: 0}
          min: 0
          max: 1
  code:
    type: CodeableConcept
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: enrollment, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type'}
    index: 1
  input:
    mustSupport: true
    array: true
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: 0
      slices:
        pathway:
          match:
            type:
              coding:
              - {code: enrollment, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type'}
          schema:
            short: Pathway or Strategy
            mustSupport: true
            _required: true
            index: 3
            elements:
              type:
                type: CodeableConcept
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: enrollment, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type'}
                index: 4
              value:
                mustSupport: true
                choices: [valueCanonical]
                index: 6
              valueCanonical: {type: canonical, mustSupport: true, choiceOf: value, index: 7}
  output:
    mustSupport: true
    array: true
    index: 8
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: 0
      slices:
        case:
          match:
            type:
              coding:
              - {code: enrollment, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type'}
          schema:
            short: Response
            mustSupport: true
            index: 9
            elements:
              type:
                type: CodeableConcept
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: enrollment, system: 'http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type'}
                index: 10
              value:
                mustSupport: true
                choices: [valueReference]
                index: 12
              valueReference:
                type: Reference
                mustSupport: true
                choiceOf: value
                refers: ['http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-case']
                index: 13
package_version: 1.0.0
extensions:
  isUnenrollment: {url: 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-isUnenrollment', min: 0, max: 1, type: Extension, mustSupport: true, index: 0}
class: profile
kind: resource
url: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-enrollmenttask
base: http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task
version: 1.0.0