{
  "resourceType" : "Task",
  "id" : "request-rf-scenario2",
  "meta" : {
    "profile" : ["http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-reportflagtask",
    "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-task"]
  },
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task request-rf-scenario2</b></p><a name=\"request-rf-scenario2\"> </a><a name=\"hcrequest-rf-scenario2\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profiles: <a href=\"StructureDefinition-cpg-reportflagtask.html\">CPG Report Flag Task</a>, <a href=\"StructureDefinition-cpg-task.html\">CPG Task</a></p></div><p><b>instantiatesCanonical</b>: <a href=\"ActivityDefinition-activity-example-reportflag-ad.html\">Activity Example Report Flag AD</a></p><p><b>status</b>: Draft</p><p><b>intent</b>: proposal</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs report-flag}\">Report a flag</span></p><p><b>for</b>: <a href=\"Patient-rf-scenario2-patient.html\">Example Patient Female, DoB: 1990-10-01</a></p><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs report-flag}\">Report a flag</span></td><td><a href=\"#hcrequest-rf-scenario2/flag\">Flag </a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Flag #flag</b></p><a name=\"request-rf-scenario2/flag\"> </a><a name=\"hcrequest-rf-scenario2/flag\"> </a><p><b>status</b>: Active</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/flag-category admin}\">Administrative</span></p><p><b>code</b>: <span title=\"Codes:\">Flag</span></p><p><b>subject</b>: <a href=\"Patient-rf-scenario2-patient.html\">Example Patient Female, DoB: 1990-10-01</a></p></blockquote></div>"
  },
  "contained" : [{
    "resourceType" : "Flag",
    "id" : "flag",
    "status" : "active",
    "category" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/flag-category",
        "code" : "admin",
        "display" : "Administrative"
      }]
    }],
    "code" : {
      "text" : "Flag"
    },
    "subject" : {
      "reference" : "Patient/rf-scenario2-patient"
    }
  }],
  "instantiatesCanonical" : "http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-reportflag-ad",
  "status" : "draft",
  "intent" : "proposal",
  "code" : {
    "coding" : [{
      "system" : "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs",
      "code" : "report-flag",
      "display" : "Report a flag"
    }]
  },
  "for" : {
    "reference" : "Patient/rf-scenario2-patient"
  },
  "input" : [{
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/uv/cpg/CodeSystem/cpg-activity-type-cs",
        "code" : "report-flag",
        "display" : "Report a flag"
      }]
    },
    "valueReference" : {
      "reference" : "#flag"
    }
  }]
}