SMART App Launch
2.1.0 - Release International flag

This page is part of the Smart App Launch Implementation Guide (v2.1.0: STU 2.1) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Example Task for EHR Launch - JSON Representation

Raw json | Download


{
  "resourceType" : "Task",
  "id" : "task-for-ehr-launch",
  "meta" : {
    "profile" : [
      "http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-launch"
    ]
  },
  "status" : "requested",
  "intent" : "proposal",
  "code" : {
    "coding" : [
      {
        "system" : "http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes",
        "code" : "launch-app-ehr",
        "display" : "Launch application using the SMART EHR launch"
      }
    ]
  },
  "for" : {
    "reference" : "https://example.org/fhir/Patient/123"
  },
  "encounter" : {
    "reference" : "https://example.org/fhir/Encounter/456"
  },
  "input" : [
    {
      "type" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes",
            "code" : "smartonfhir-application",
            "display" : "SMART on FHIR application URL."
          }
        ]
      },
      "valueUrl" : "https://www.example.org/myapplication"
    },
    {
      "type" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes",
            "code" : "smartonfhir-appcontext",
            "display" : "Application context related to this launch."
          }
        ]
      },
      "valueString" : "{\"field1\":\"value\"}"
    }
  ]
}