PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.smart-app-launch@2.2.0-ballot
    http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-launch
description: Defines a Task that indicates the user should launch an application using the SMART on FHIR EHR launch.
package_name: hl7.fhir.uv.smart-app-launch
derivation: constraint
name: TaskEhrLaunch
type: Task
elements:
  code:
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/smart-app-launch/ValueSet/smart-launch-types'}
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: launch-app-ehr, system: 'http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes'}
    index: 0
  input:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: type, type: value}
      min: 1
      slices:
        launchurl:
          match:
            type:
              coding:
              - {code: smartonfhir-application, system: 'http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes'}
          schema:
            _required: true
            index: 2
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: smartonfhir-application, system: 'http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes'}
                index: 3
              value:
                choices: [valueUrl]
                index: 5
              valueUrl: {type: url, choiceOf: value, index: 6}
        launchcontext:
          match:
            type:
              coding:
              - {code: smartonfhir-appcontext, system: 'http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes'}
          schema:
            index: 7
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: smartonfhir-appcontext, system: 'http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes'}
                index: 8
              value:
                choices: [valueString]
                index: 10
              valueString: {type: string, choiceOf: value, index: 11}
package_version: 2.2.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-launch
base: http://hl7.org/fhir/StructureDefinition/Task
version: 2.2.0-ballot
required: [input, code]