{
  "resourceType": "Task",
  "id": "specialty-rx-task-smart-launch-1",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/us/specialty-rx/StructureDefinition/specialty-rx-task-smart-launch"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>identifier</b>: SMART App Context ID: launch-context-id-01345005</p><p><b>status</b>: requested</p><p><b>intent</b>: plan</p><p><b>code</b>: <span title=\"Codes: {http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-type complete-app-questionnaire}\">Complete Questionnaire in SMART App</span></p><p><b>description</b>: Launch the My Pharmacy SMART app and complete the questionnaire.</p><p><b>for</b>: <a href=\"Patient-specialty-rx-patient-1.html\">Generated Summary: id: 1234; active; Timothy V. Doe ; Phone: 555-555-5555, tim.doe@example.com; gender: male; birthDate: 1987-02-20</a></p><p><b>authoredOn</b>: 2020-03-11</p><p><b>requester</b>: <a href=\"Organization-specialty-rx-organization-pharmacy-1.html\">Our Pharmacy. Generated Summary: id: 1669512345; active; <span title=\"Codes: {http://terminology.hl7.org/CodeSystem/organization-type prov}\">Healthcare Provider</span>; name: Our Pharmacy; Phone: 952-555-5555, contact-our-pharmacy@example.org</a></p><p><b>owner</b>: <a href=\"Practitioner-specialty-rx-practitioner-1.html\">Jane Smith MD. Generated Summary: id: 9941339108; Jane Smith ; Phone: 555-555-5555, Fax: 555-555-1234, jane.smith@example.org</a></p><p><b>reasonReference</b>: <a href=\"MedicationRequest-specialty-rx-medicationrequest-1.html\">Humira Injector Pen - 2020-03-10. Generated Summary: status: active; intent: order; <span title=\"Codes: {http://www.nlm.nih.gov/research/umls/rxnorm 1872980}, {http://hl7.org/fhir/sid/ndc 00074055401}\">Humira 40 MG in 0.4 ML Auto-Injector</span>; authoredOn: 2020-03-10</a></p><h3>Inputs</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td><span title=\"Codes: {http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-input-type smart-app-launch-url}\">SMART Application Launch URL</span></td><td><a href=\"https://my-pharmacy-smart-app.com\">https://my-pharmacy-smart-app.com</a></td></tr></table></div>"
  },
  "identifier": [
    {
      "type": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-identifier-type",
            "code": "app-context",
            "display": "SMART App Context ID"
          }
        ]
      },
      "system": "https://my-pharmacy-smart-app.com/app-context-id",
      "value": "launch-context-id-01345005"
    }
  ],
  "status": "requested",
  "intent": "plan",
  "code": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-type",
        "code": "complete-app-questionnaire",
        "display": "Complete Questionnaire in SMART App"
      }
    ]
  },
  "description": "Launch the My Pharmacy SMART app and complete the questionnaire.",
  "for": {
    "reference": "Patient/specialty-rx-patient-1"
  },
  "authoredOn": "2020-03-11",
  "requester": {
    "reference": "Organization/specialty-rx-organization-pharmacy-1",
    "display": "Our Pharmacy"
  },
  "owner": {
    "reference": "Practitioner/specialty-rx-practitioner-1",
    "display": "Jane Smith MD"
  },
  "reasonReference": {
    "reference": "MedicationRequest/specialty-rx-medicationrequest-1",
    "display": "Humira Injector Pen - 2020-03-10"
  },
  "input": [
    {
      "type": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/us/specialty-rx/CodeSystem/specialty-rx-task-input-type",
            "code": "smart-app-launch-url",
            "display": "SMART Application Launch URL"
          }
        ]
      },
      "valueUrl": "https://my-pharmacy-smart-app.com"
    }
  ]
}