SMART App Launch
2.2.0 - STU 2.2 International flag

This page is part of the Smart App Launch Implementation Guide (v2.2.0: STU 2.2) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Example Task for Standalone Launch - XML Representation

Raw xml | Download



<Task xmlns="http://hl7.org/fhir">
  <id value="task-for-standalone-launch"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-standalone-launch"/>
  </meta>
  <status value="requested"/>
  <intent value="proposal"/>
  <code>
    <coding>
      <system
              value="http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes"/>
      <code value="launch-app-standalone"/>
      <display value="Launch application using the SMART standalone launch"/>
    </coding>
  </code>
  <for>
    <reference value="https://example.org/fhir/Patient/123"/>
  </for>
  <encounter>
    <reference value="https://example.org/fhir/Encounter/456"/>
  </encounter>
  <input>
    <type>
      <coding>
        <system
                value="http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes"/>
        <code value="smartonfhir-application"/>
        <display value="SMART on FHIR application URL."/>
      </coding>
    </type>
    <valueUrl value="https://www.example.org/myapplication"/>
  </input>
</Task>