SMART App Launch
2.2.0 - STU 2.2 International flag

SMART App Launch, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 2.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/smart-app-launch/ and changes regularly. See the Directory of published versions

: Example Task for EHR Launch - XML Representation

Raw xml | Download



<Task xmlns="http://hl7.org/fhir">
  <id value="task-for-ehr-launch"/>
  <meta>
    <profile
             value="http://hl7.org/fhir/smart-app-launch/StructureDefinition/task-ehr-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-ehr"/>
      <display value="Launch application using the SMART EHR 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>
  <input>
    <type>
      <coding>
        <system
                value="http://hl7.org/fhir/smart-app-launch/CodeSystem/smart-codes"/>
        <code value="smartonfhir-appcontext"/>
        <display value="Application context related to this launch."/>
      </coding>
    </type>
    <valueString value="{&quot;field1&quot;:&quot;value&quot;}"/>
  </input>
</Task>