{
  "resourceType" : "PlanDefinition",
  "id" : "plandefinition-BPTimeInRange",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <table class=\"narrative-table\">\n    <tbody>\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Metadata</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Title</th>\n\n\n\n<td class=\"content-container\">Blood Pressure Time-in-Range</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Version</th>\n\n\n\n<td class=\"content-container\">0.1.0</td>\n\n\n</tr>\n\n\n\n\n\n\n\n  \n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Identifier</th>\n\n\n\n<td class=\"content-container\">ohsu-BPTimeInRange</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Status</th>\n\n\n\n<td class=\"content-container\">Draft</td>\n\n\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Use Context</th>\n\n\n\n<td class=\"content-container\">\n    Clinical Focus\n\n = \n    Elevated BP without HTN diagnosis\n\n\n</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Jurisdiction</th>\n\n\n\n<td class=\"content-container\">\n    840 from <a href=\"http://unstats.un.org/unsd/methods/m49/m49.htm\">http://unstats.un.org/unsd/methods/m49/m49.htm</a> \n\n\n</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Topic</th>\n\n\n\n<td class=\"content-container\">Hypertension Management\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Steward (Publisher)</th>\n\n\n\n<td class=\"content-container\">Oregon Health and Science University</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Steward Contact</th>\n\n\n\n<td class=\"content-container\">Oregon Health and Science University</td>\n\n\n</tr>\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\"><div><p>This PlanDefinition provides patient recommendations for blood-pressure time-in-range logic.</p>\n</div></td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Purpose</th>\n\n\n\n<td class=\"content-container\"><div><p>REVISE THIS</p>\n</div></td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Copyright</th>\n\n\n\n<td class=\"content-container\"><div><p>© OHSU 2026+.</p>\n</div></td>\n\n\n</tr>\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Type</th>\n\n\n\n<td class=\"content-container\">\n    ECA Rule\n\n\n</td>\n\n\n</tr>\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Action</th>\n\n\n</tr>\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Title</th>\n\n\n\n<td class=\"content-container\">Recommendation</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Description</th>\n\n\n\n<td class=\"content-container\">REVISE THIS</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Trigger Type</th>\n\n\n\n<td class=\"content-container\">Named Event</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Trigger Name</th>\n\n\n\n<td class=\"content-container\">patient-view</td>\n\n\n</tr>\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Condition</th>\n  <td class=\"content-container\">\n  <em>Kind</em>: Applicability\n  \n    <br/>\n    \n      \n      <em>Logic Definition</em>: <a href=\"#bptimeinrange-provide-recommendation\">Provide Recommendation</a> \n    \n   \n  </td>\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: action.title\n    \n    \n    \n    <br/>\n    \n    \n    \n    \n    <em>Logic Definition</em>: <a href=\"#bptimeinrange-recommendation\">Recommendation</a>\n    \n    \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: action.description\n    \n    \n    \n    <br/>\n    \n    \n    \n    \n    <em>Logic Definition</em>: <a href=\"#bptimeinrange-rationale-combined-data\">Rationale Combined Data</a>\n    \n    \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Dynamic Value</th>\n  <td class=\"content-container\">\n    \n    <em>Path</em>: action.extension\n    \n    \n    \n    <br/>\n    \n    \n    \n    \n    <em>Logic Definition</em>: <a href=\"#bptimeinrange-indicator-status\">Indicator Status</a>\n    \n    \n  </td>\n</tr>\n\n\n\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">PlanDefinition Logic</th>\n\n\n</tr>\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Primary Library</th>\n\n\n\n<td class=\"content-container\"><a href=\"Library-BPTimeInRange.html\">BPTimeInRange</a></td>\n\n\n</tr>\n\n\n\n\n<tr>\n  <th colspan=\"2\" scope=\"row\" class=\"row-header\">Generated using version 0.5.4 of the sample-content-ig Liquid templates</th>\n</tr>\n\n    </tbody>\n  </table>\n</div>"
  },
  "url" : "http://fhir.org/guides/ohsuhypertensionig/PlanDefinition/plandefinition-BPTimeInRange",
  "identifier" : [{
    "use" : "official",
    "value" : "ohsu-BPTimeInRange"
  }],
  "version" : "0.1.0",
  "name" : "Blood Pressure Time-in-Range",
  "title" : "Blood Pressure Time-in-Range",
  "type" : {
    "coding" : [{
      "system" : "http://hl7.org/fhir/plan-definition-type",
      "code" : "eca-rule",
      "display" : "ECA Rule"
    }]
  },
  "status" : "draft",
  "date" : "2020-02-04T00:00:00-08:00",
  "publisher" : "Oregon Health and Science University",
  "contact" : [{
    "name" : "Oregon Health and Science University",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.ohsu.edu/"
    }]
  }],
  "description" : "This PlanDefinition provides patient recommendations for blood-pressure time-in-range logic.",
  "useContext" : [{
    "code" : {
      "system" : "http://hl7.org/fhir/usage-context-type",
      "code" : "focus",
      "display" : "Clinical Focus"
    },
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "http://snomed.info/sct",
        "code" : "371622005",
        "display" : "Elevated BP without HTN diagnosis"
      }]
    }
  }],
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "840"
    }]
  }],
  "purpose" : "REVISE THIS",
  "usage" : "This is to be used in conjunction with a patient-facing FHIR application.",
  "copyright" : "© OHSU 2026+.",
  "topic" : [{
    "text" : "Hypertension Management"
  }],
  "library" : ["http://fhir.org/guides/ohsuhypertensionig/Library/BPTimeInRange"],
  "action" : [{
    "title" : "Recommendation",
    "description" : "REVISE THIS",
    "trigger" : [{
      "type" : "named-event",
      "name" : "patient-view"
    }],
    "condition" : [{
      "kind" : "applicability",
      "expression" : {
        "description" : "If the patient is in the population",
        "language" : "text/cql.identifier",
        "expression" : "Provide Recommendation"
      }
    }],
    "dynamicValue" : [{
      "path" : "action.title",
      "expression" : {
        "description" : "Patient Recommendation",
        "language" : "text/cql.identifier",
        "expression" : "Recommendation"
      }
    },
    {
      "path" : "action.description",
      "expression" : {
        "description" : "Rationale for recommendation type.",
        "language" : "text/cql.identifier",
        "expression" : "Rationale Combined Data"
      }
    },
    {
      "path" : "action.extension",
      "expression" : {
        "language" : "text/cql.identifier",
        "expression" : "Indicator Status"
      }
    }]
  }]
}