Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-37501

CDS should define Task profiles for launching applications

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Not Persuasive
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • R4
    • Clinical Decision Support
    • STU
    • Clinical Reasoning Module
    • 14.0
    • Hide

      SMART has created a profile to support this and CDS Hooks has included auto launch capability, so this ticket has no changes required.

      Show
      SMART has created a profile to support this and CDS Hooks has included auto launch capability, so this ticket has no changes required.
    • Ben Hamlin/Vadim Peretokin: 16-0-0

    Description

      It should be possible to launch a smart application (or URL) using a Task (see https://jira.hl7.org/browse/FHIR-28681 and https://jira.hl7.org/browse/FHIR-36319).
      CDS should define a profile and example that shows how this could be done. When such task is defined, one should also define a profile to launch Questionnaires.

      This would allow CDS hooks PlanDefinitions and CDS Services to request launch of applications as a Suggestion or system action.

      Such profile definition may look like the shorthand samples below.

       

      Profile: CdsTask
      Parent: Task

      • code 1..1 MS
      • code from CdsTaskTypes
      • input 1..*

      Profile: LaunchAppTask
      Description: "Defines a Task that indicates the user should launch an application."
      Parent: CdsTask

      • code 1..1 MS
      • code
      • coding 1..*
      • coding[0] = CdsTaskTypes#launch-app
      • input 1..*
      • input ^slicing.discriminator.type = #value
      • input ^slicing.discriminator.path= "coding.system"
      • input ^slicing.discriminator.rules = #open
      • input contains apptype 1..1
      • input[apptype].coding 1..*
      • input[apptype].coding from CdsApplicationTypes (extensible)
      • input[apptype].value[x] only url

      Profile: LaunchQuestionnaireTask
      Description: "Defines a Task that indicates the user should launch a Questionnaire."
      Parent: CdsTask

      • code 1..1 MS
      • code
      • coding 1..*
      • coding[0] = CdsTaskTypes#launch-app
      • input 1..*
      • input ^slicing.discriminator.type = #value
      • input ^slicing.discriminator.path= "coding.system"
      • input ^slicing.discriminator.rules = #open
      • input contains questionnaire 1..1
      • Input[questionnaire].coding 1..*
      • Input[questionnaire].coding = CdsTasksCodes#launch-questionnaire
      • Input[questionnaire].value[x] only Reference(Questionnaire)

      ValueSet: CdsApplicationTypes
      Id: cds-application-types
      Title: "Application launch types"
      Description: "Defines mechanisms to launch applications".

      • CdsTasksCodes#smartonfhir-application "SMART on FHIR application URL."
        "The URL of a SMART on FHIR application."
      • CdsTasksCodes#web-page "Webpage URL."
        "The URL of a webpage."

      ValueSet: CdsTaskTypes
      Id: cds-task-types
      Title: "Tasks to perform typical CDS tasks."
      Description: "Defines codes for Tasks typically used in CDS deployments.".

      • CdsTasksCodes#launch-questionnaire "Launch Questionnaire"
        "The task suggest launching an questionnaire"
      • CdsTasksCodes#launch-app "Launch Applications"
        "The task suggest launching an application"

      CodeSystem: CdsTasksCodes
      Id: cds-tasks
      Title: "CDS Task types"
      Description: "Codes used to indicate specific task types used in CDS context."

      • #launch-questionnaire "Launch Questionnaire"
        "The task suggest launching an questionnaire"
      • #launch-app "Launch Applications"
        "The task suggest launching an application"
      • #smartonfhir-application "SMART on FHIR application URL."
        "The URL of a SMART on FHIR application."
      • #web-page "Webpage URL."
        "The URL of a webpage."

      Attachments

        Activity

          People

            Unassigned Unassigned
            bvdh Bas van den Heuvel
            Isaac Vetter
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: