@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/uv/cqm/Measure/HBPComponent> a fhir:Measure ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "HBPComponent"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-publishablemeasure" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-publishablemeasure>
     ], [
       fhir:value "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-computablemeasure" ;
       fhir:index 1 ;
       fhir:link <http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-computablemeasure>
     ], [
       fhir:value "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-proportionmeasure" ;
       fhir:index 2 ;
       fhir:link <http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-proportionmeasure>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\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\">Preventive Care and Screening: Screening for High Blood Pressure and Follow-Up Documented</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.0.001</td>\n\n\n</tr>\n\n\n  \n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Short Name</th>\n\n\n\n<td class=\"content-container\">High Blood Pressure Screening</td>\n\n\n</tr>\n\n\n\n  \n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">GUID (Version Independent)</th>\n\n\n\n<td class=\"content-container\">http://example.org/fhir/us/cqm/Measure/HBPComponent</td>\n\n\n</tr>\n\n\n\n  \n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">GUID (Version Specific)</th>\n\n\n\n<td class=\"content-container\">http://example.org/fhir/us/cqm/Measure/22v11</td>\n\n\n</tr>\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\">urn:oid:2.16.840.1.113883.4.642.40.61.29.11</td>\n\n\n</tr>\n\n\n\n  \n    \n    \n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Effective Period</th>\n\n\n\n<td class=\"content-container\">2022-01-01 through 2022-12-31</td>\n\n\n</tr>\n\n  \n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Experimental</th>\n\n\n\n<td class=\"content-container\">true</td>\n\n\n</tr>\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 Venue\n\n = \n    EC\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    001 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\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\">HL7 International / Clinical Quality Information</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\">Description</th>\n\n\n\n<td class=\"content-container\"><div><p>This is an example only.</p>\n</div></td>\n\n\n</tr>\n\n\n\n\n\n\n  \n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Measure Basis</th>\n\n\n\n<td class=\"content-container\">Encounter</td>\n\n\n</tr>\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Measure Scoring</th>\n\n\n\n<td class=\"content-container\">\n    Proportion\n\n\n</td>\n\n\n</tr>\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Improvement Notation</th>\n\n\n\n<td class=\"content-container\">\n    increase from <a href=\"http://terminology.hl7.org/7.2.0/CodeSystem-measure-improvement-notation.html\">http://terminology.hl7.org/CodeSystem/measure-improvement-notation</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Measure Type</th>\n\n\n\n<td class=\"content-container\">\n    process from <a href=\"http://terminology.hl7.org/7.2.0/CodeSystem-measure-type.html\">http://terminology.hl7.org/CodeSystem/measure-type</a> \n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n  \n  \n  \n    \n    <tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Group (Rate) (ID: primary)</th>\n\n\n</tr>\n  \n  \n  \n\n\n\n\n\n\n\n\n\n\n\n  \n\n  \n\n\n\n\n\n\n\n  \n    \n    \n    \n    \n    \n<tr>\n\n\n<th scope=\"row\" class=\"row-header\"/>\n\n\n\n<td class=\"content-container\"><div><p>This guidance provides instructions on how to collect and report supplemental data elements for this measure.</p>\n</div></td>\n\n\n</tr>\n\n  \n\n\n\n\n  <tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Supplemental Data Elements</th>\n\n\n</tr>\n\n\n<tr>\n  \n\n<th scope=\"row\" class=\"row-header\">Supplemental Data Element</th>\n\n\n  <td class=\"content-container\">\n    \n      <em>ID</em>: cd02ebb6-a0bf-4196-90f9-80f2a8a79bbf\n      \n      <br/>\n      \n    \n    \n      \n        \n          <em>Usage Code</em>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}\">Supplemental Data</span>\n        \n        <br/>\n      \n    \n    \n      <em>Description</em>: No description provided\n    \n    \n      \n        <br/>\n        \n          \n          <em>Logic Definition</em>: <a href=\"#hbpcomponent-sde-ethnicity\">SDE Ethnicity</a> \n        \n      \n    \n  </td>\n</tr>\n\n<tr>\n  \n\n<th scope=\"row\" class=\"row-header\">Supplemental Data Element</th>\n\n\n  <td class=\"content-container\">\n    \n      <em>ID</em>: a67a3fc7-cedd-4d78-b7b0-4718fa7f3e2b\n      \n      <br/>\n      \n    \n    \n      \n        \n          <em>Usage Code</em>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}\">Supplemental Data</span>\n        \n        <br/>\n      \n    \n    \n      <em>Description</em>: No description provided\n    \n    \n      \n        <br/>\n        \n          \n          <em>Logic Definition</em>: <a href=\"#hbpcomponent-sde-payer\">SDE Payer</a> \n        \n      \n    \n  </td>\n</tr>\n\n<tr>\n  \n\n<th scope=\"row\" class=\"row-header\">Supplemental Data Element</th>\n\n\n  <td class=\"content-container\">\n    \n      <em>ID</em>: 3dc8840d-cc30-44af-a233-3b2b6c602060\n      \n      <br/>\n      \n    \n    \n      \n        \n          <em>Usage Code</em>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}\">Supplemental Data</span>\n        \n        <br/>\n      \n    \n    \n      <em>Description</em>: No description provided\n    \n    \n      \n        <br/>\n        \n          \n          <em>Logic Definition</em>: <a href=\"#hbpcomponent-sde-race\">SDE Race</a> \n        \n      \n    \n  </td>\n</tr>\n\n<tr>\n  \n\n<th scope=\"row\" class=\"row-header\">Supplemental Data Element</th>\n\n\n  <td class=\"content-container\">\n    \n      <em>ID</em>: 5a4e95aa-f8b3-400f-89b3-02555a361251\n      \n      <br/>\n      \n    \n    \n      \n        \n          <em>Usage Code</em>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/measure-data-usage supplemental-data}\">Supplemental Data</span>\n        \n        <br/>\n      \n    \n    \n      <em>Description</em>: No description provided\n    \n    \n      \n        <br/>\n        \n          \n          <em>Logic Definition</em>: <a href=\"#hbpcomponent-sde-sex\">SDE Sex</a> \n        \n      \n    \n  </td>\n</tr>\n\n\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure 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-HBPComponent.html\">HBP Component Library</a></td>\n\n\n</tr>\n\n\n\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Contents</th>\n  <td class=\"content-container\">\n    <em><a href=\"#population-criteria\">Population Criteria</a></em>\n    <br/>\n    <em><a href=\"#definitions\">Logic Definitions</a></em>\n    <br/>\n    <em><a href=\"#terminology\">Terminology</a></em>\n    <br/>\n    <em><a href=\"#dependencies\">Dependencies</a></em>\n    <br/>\n    <em><a href=\"#data-requirements\">Data Requirements</a></em>\n    <br/>\n    <em><a href=\"#parameters\">Parameters</a></em>\n    <br/>\n  </td>\n</tr>\n\n\n  <tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"population-criteria\"> </a>Population Criteria</th>\n\n\n</tr>\n  \n  \n  \n\n  \n  \n  \n    \n    <tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\">Measure Group (Rate) (ID: primary)</th>\n\n\n</tr>\n  \n  \n  \n\n  \n\n\n  \n\n  \n  \n\n\n  <tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"definitions\"> </a>Logic Definitions</th>\n\n\n</tr>\n  \n  \n          \n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> SupplementalDataElements</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"supplementaldataelements-sde-sex\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"SDE Sex\":\n  case\n      when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n      when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n      else null\n    end</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> SupplementalDataElements</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"supplementaldataelements-sde-payer\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"SDE Payer\":\n  [Coverage: type in \"Payer\"] Payer\n        return {\n          code: Payer.type,\n          period: Payer.period\n        }</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> SupplementalDataElements</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"supplementaldataelements-sde-ethnicity\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"SDE Ethnicity\":\n  (flatten (\n      Patient.extension Extension\n        where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'\n          return Extension.extension\n    )) E\n      where E.url = 'ombCategory'\n        or E.url = 'detailed'\n      return E.value as Coding</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> SupplementalDataElements</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"supplementaldataelements-sde-race\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"SDE Race\":\n  (flatten (\n      Patient.extension Extension\n        where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'\n          return Extension.extension\n    )) E\n      where E.url = 'ombCategory'\n        or E.url = 'detailed'\n      return E.value as Coding</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n\n        \n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> MATGlobalCommonFunctions</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"matglobalcommonfunctions-calendarageinyearsat\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function \"CalendarAgeInYearsAt\"(BirthDateTime DateTime, AsOf DateTime):\n	years between ToDate(BirthDateTime)and ToDate(AsOf)</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> MATGlobalCommonFunctions</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"matglobalcommonfunctions-todate\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function \"ToDate\"(Value DateTime):\n	DateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezoneoffset from Value)</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> MATGlobalCommonFunctions</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"matglobalcommonfunctions-prevalence-period\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function \"Prevalence Period\"(condition Condition):\n  Interval[start of \"Normalize Interval\"(condition.onset), end of \"Normalize Abatement\"(condition))</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> MATGlobalCommonFunctions</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"matglobalcommonfunctions-normalize-interval\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">/*\n*\n*    CQFMeasures Common Logic\n*\n*/\n\ndefine function \"Normalize Interval\"(choice Choice&lt;FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range&gt;):\n  case\n	  when choice is FHIR.dateTime then\n    	Interval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]\n		when choice is FHIR.Period then\n  		FHIRHelpers.ToInterval(choice as FHIR.Period)\n		when choice is FHIR.instant then\n			Interval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]\n		when choice is FHIR.Age then\n		  Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age),\n			  FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year)\n		when choice is FHIR.Range then\n		  Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low),\n			  FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year)\n		when choice is FHIR.Timing then\n		  Message(null as Interval&lt;DateTime&gt;, true, '1', 'Error', 'Cannot compute a single interval from a Timing type')\n    when choice is FHIR.string then\n      Message(null as Interval&lt;DateTime&gt;, true, '1', 'Error', 'Cannot compute an interval from a String value')\n		else\n			null as Interval&lt;DateTime&gt;\n	end</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> MATGlobalCommonFunctions</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"matglobalcommonfunctions-normalize-abatement\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function \"Normalize Abatement\"(condition Condition):\n	if condition.abatement is FHIR.dateTime then\n	  Interval[FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime), FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime)]\n	else if condition.abatement is FHIR.Period then\n	  FHIRHelpers.ToInterval(condition.abatement as FHIR.Period)\n	else if condition.abatement is FHIR.string then\n    Message(null as Interval&lt;DateTime&gt;, true, '1', 'Error', 'Cannot compute an interval from a String value')\n	else if condition.abatement is FHIR.Age then\n		Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age),\n			FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age) + 1 year)\n	else if condition.abatement is FHIR.Range then\n	  Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).low),\n		  FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).high) + 1 year)\n	else if condition.abatement is FHIR.boolean then\n	  Interval[end of \"Normalize Interval\"(condition.onset), condition.recordedDate)\n	else null</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n\n        \n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-sde-sex\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"SDE Sex\":\n  SDE.\"SDE Sex\"</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-qualifying-encounter-during-measurement-period\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Qualifying Encounter During Measurement Period\":\n  [Encounter: \"Encounter to Screen for Blood Pressure\"] ValidEncounter\n      where ValidEncounter.period during \"Measurement Period\"</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-normal-blood-pressure-reading\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Normal Blood Pressure Reading\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP\n          where SystolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      ),\n      EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP\n          where DiastolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      )\n      where EncounterLastSystolicBP.value included in Interval[1 'mm[Hg]', 120 'mm[Hg]' )\n        and EncounterLastDiastolicBP.value included in Interval[1 'mm[Hg]', 80 'mm[Hg]' )</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-prehypertensive-blood-pressure-reading\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Prehypertensive Blood Pressure Reading\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP\n          where SystolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      ),\n      EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP\n          where DiastolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      )\n      where EncounterLastSystolicBP.value included in Interval[1 'mm[Hg]', 140 'mm[Hg]' )\n        and EncounterLastDiastolicBP.value included in Interval[1 'mm[Hg]', 90 'mm[Hg]' )\n        and ( EncounterLastSystolicBP.value &gt;= 120 'mm[Hg]'\n            or EncounterLastDiastolicBP.value &gt;= 80 'mm[Hg]'\n        )</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-order-for-intervention-for-hypertension\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Order for Intervention for Hypertension\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with ( [ServiceRequest: \"Lifestyle Recommendation\"]\n        union [ServiceRequest: \"Weight Reduction Recommended\"]\n        union [ServiceRequest: \"Dietary Recommendations\"]\n        union [ServiceRequest: \"Recommendation to Increase Physical Activity\"]\n        union [ServiceRequest: \"Referral or Counseling for Alcohol Consumption\"] ) HighBloodPressureIntervention\n        such that HighBloodPressureIntervention.authoredOn same day as start of QualifyingEncounter.period</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-order-for-follow-up-within-one-year\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Order for Follow Up Within One Year\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [ServiceRequest: \"Follow Up Within One Year\"] FollowupOneYear\n        such that FollowupOneYear.authoredOn same day as start of QualifyingEncounter.period</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-referral-to-alternate-provider-for-high-blood-pressure-reading\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [ServiceRequest: \"Referral to Primary Care or Alternate Provider\"] Referral\n        such that Referral.authoredOn same day as start of QualifyingEncounter.period\n          and Referral.reasonCode in \"Finding of Elevated Blood Pressure or Hypertension\"</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-high-blood-pressure-reading\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with High Blood Pressure Reading\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP\n          where SystolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      ),\n      EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP\n          where DiastolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      )\n      where EncounterLastSystolicBP.value &gt; 0 'mm[Hg]'\n        and EncounterLastDiastolicBP.value &gt; 0 'mm[Hg]'\n        and ( EncounterLastSystolicBP.value &gt;= 140 'mm[Hg]'\n            or EncounterLastDiastolicBP.value &gt;= 90 'mm[Hg]'\n        )</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-high-blood-pressure-reading-within-year-prior\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with High Blood Pressure Reading Within Year Prior\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP\n          where SystolicBP.effective 1 year or less before start of QualifyingEncounter.period\n          sort by effective\n      ),\n      EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP\n          where DiastolicBP.effective 1 year or less before start of QualifyingEncounter.period\n          sort by effective\n      )\n      where EncounterLastSystolicBP.value &gt; 0 'mm[Hg]'\n        and EncounterLastDiastolicBP.value &gt; 0 'mm[Hg]'\n        and ( EncounterLastSystolicBP.value &gt;= 140 'mm[Hg]'\n            or EncounterLastDiastolicBP.value &gt;= 90 'mm[Hg]'\n        )</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-first-hypertensive-reading\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with First Hypertensive Reading\":\n  \"Encounter with High Blood Pressure Reading\"\n      except \"Encounter with High Blood Pressure Reading Within Year Prior\"</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-order-for-follow-up-within-4-weeks\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Order for Follow Up Within 4 Weeks\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [ServiceRequest: \"Follow Up Within 4 Weeks\"] Followup4Weeks\n        such that Followup4Weeks.authoredOn same day as start of QualifyingEncounter.period</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-second-hypertensive-reading\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Second Hypertensive Reading\":\n  \"Encounter with High Blood Pressure Reading\"\n      intersect \"Encounter with High Blood Pressure Reading Within Year Prior\"</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-order-for-laboratory-test-for-hypertension\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Order for Laboratory Test for Hypertension\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [ServiceRequest: \"Laboratory Tests for Hypertension\"] HypertensionLabs\n        such that HypertensionLabs.authoredOn same day as start of QualifyingEncounter.period</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-order-for-electrocardiogram-for-hypertension\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Order for Electrocardiogram for Hypertension\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with ( [ServiceRequest: \"12 lead EKG panel\"]\n        union [ServiceRequest: \"EKG study\"] ) ECG\n        such that ECG.authoredOn same day as start of QualifyingEncounter.period</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-order-for-hypertension-medication\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Order for Hypertension Medication\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [MedicationRequest: \"Pharmacologic Therapy for Hypertension\"] AntihypertensiveMedication\n        such that AntihypertensiveMedication.authoredOn same day as start of QualifyingEncounter.period</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-numerator\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Numerator\":\n  \"Encounter with Normal Blood Pressure Reading\"\n      union ( \"Encounter with Prehypertensive Blood Pressure Reading\"\n          intersect ( ( \"Encounter with Order for Intervention for Hypertension\"\n                intersect \"Encounter with Order for Follow Up Within One Year\"\n            )\n              union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\"\n          )\n      )\n      union ( \"Encounter with First Hypertensive Reading\"\n          intersect ( ( \"Encounter with Order for Intervention for Hypertension\"\n                intersect \"Encounter with Order for Follow Up Within 4 Weeks\"\n            )\n              union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\"\n          )\n      )\n      union ( \"Encounter with Second Hypertensive Reading\"\n          intersect ( ( \"Encounter with Order for Intervention for Hypertension\"\n                intersect ( \"Encounter with Order for Laboratory Test for Hypertension\"\n                    union \"Encounter with Order for Electrocardiogram for Hypertension\"\n                    union \"Encounter with Order for Hypertension Medication\"\n                )\n            )\n              union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\"\n          )\n      )</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-initial-population\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Initial Population\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [Patient] BirthDate\n        such that Global.\"CalendarAgeInYearsAt\" ( FHIRHelpers.ToDate ( BirthDate.birthDate ), start of \"Measurement Period\" ) &gt;= 18</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-denominator\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Denominator\":\n  \"Initial Population\"</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-sde-payer\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"SDE Payer\":\n  SDE.\"SDE Payer\"</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-sde-ethnicity\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"SDE Ethnicity\":\n  SDE.\"SDE Ethnicity\"</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-denominator-exclusions\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Denominator Exclusions\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [Condition: \"Diagnosis of Hypertension\"] Hypertension\n        such that Global.\"Prevalence Period\" ( Hypertension ) overlaps before QualifyingEncounter.period</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-sde-race\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"SDE Race\":\n  SDE.\"SDE Race\"</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-medical-reason-for-not-obtaining-or-patient-declined-blood-pressure-measurement\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Medical Reason for Not Obtaining or Patient Declined Blood Pressure Measurement\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with ( [Observation: \"Systolic blood pressure\"]\n        union [Observation: \"Diastolic blood pressure\"] ) NoBPScreen\n        such that ( NoBPScreen.code in \"Medical Reason\"\n            or NoBPScreen.code in \"Patient Declined\"\n        )\n          and NoBPScreen.effective same day as start of QualifyingEncounter.period\n          and \"Not Done\"(NoBPScreen)\n          and NoBPScreen.status = 'final'</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-encounter-with-order-for-hypertension-follow-up-declined-by-patient\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Encounter with Order for Hypertension Follow Up Declined by Patient\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with ( [ServiceRequest: \"12 lead EKG panel\"]\n        union [ServiceRequest: \"EKG study\"]\n        union [ServiceRequest: \"Follow Up Within One Year\"]\n        union [ServiceRequest: \"Follow Up Within 4 Weeks\"]\n        union [ServiceRequest: \"Referral to Primary Care or Alternate Provider\"]\n        union [ServiceRequest: \"Lifestyle Recommendation\"]\n        union [ServiceRequest: \"Weight Reduction Recommended\"]\n        union [ServiceRequest: \"Dietary Recommendations\"]\n        union [ServiceRequest: \"Recommendation to Increase Physical Activity\"]\n        union [ServiceRequest: \"Referral or Counseling for Alcohol Consumption\"]\n        union [ServiceRequest: \"Laboratory Tests for Hypertension\"]\n        union [MedicationRequest: \"Pharmacologic Therapy for Hypertension\"] ) NoFollowUpOrdered\n        such that NoFollowUpOrdered.doNotPerform is true\n          and NoFollowUpOrdered.code in \"Patient Declined\"\n          and NoFollowUpOrdered.authoredOn same day as start of QualifyingEncounter.period</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-denominator-exceptions\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define \"Denominator Exceptions\":\n  \"Encounter with Medical Reason for Not Obtaining or Patient Declined Blood Pressure Measurement\"\n      union \"Encounter with Order for Hypertension Follow Up Declined by Patient\"</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-not-done\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function \"Not Done\"(res DomainResource ):\n  if ( res R\n      where ( \"GetModiferExtension\"(R, 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDone').value = true )\n  ) is not null then true\n    else false</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-getmodiferextension\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function \"GetModiferExtension\"(res DomainResource, url String ):\n  singleton from \"GetModifierExtensions\"(res, url)</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> HBPComponent</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"hbpcomponent-getmodifierextensions\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function \"GetModifierExtensions\"(res DomainResource, url String ):\n  res.modifierExtension E\n    where E.url = ( url )\n    return E</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n\n        \n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-tostring\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function ToString(value AdministrativeGender): value.value</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-tointerval\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">/*\n@description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period)\nvalue to a CQL DateTime Interval\n@comment: If the start value of the given period is unspecified, the starting\nboundary of the resulting interval will be open (meaning the start of the interval\nis unknown, as opposed to interpreted as the beginning of time).\n*/\ndefine function ToInterval(period FHIR.Period):\n    if period is null then\n        null\n    else\n        if period.\"start\" is null then\n            Interval(period.\"start\".value, period.\"end\".value]\n        else\n            Interval[period.\"start\".value, period.\"end\".value]</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-todatetime\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function ToDateTime(value dateTime): value.value</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-todatetime\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function ToDateTime(value instant): value.value</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-tointerval\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">/*\n@description: Converts the given FHIR [Range](https://hl7.org/fhir/datatypes.html#Range) value to a CQL Interval of Quantity\n*/\ndefine function ToInterval(range FHIR.Range):\n    if range is null then\n        null\n    else\n        Interval[ToQuantity(range.low), ToQuantity(range.high)]</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-toquantity\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">/*\n@description: Converts the given FHIR [Quantity](https://hl7.org/fhir/datatypes.html#Quantity) \nvalue to a CQL Quantity\n@comment: If the given quantity has a comparator specified, a runtime error is raised. If the given quantity\nhas a system other than UCUM (i.e. `http://unitsofmeasure.org`) or CQL calendar units (i.e. `http://hl7.org/fhirpath/CodeSystem/calendar-units`)\nan error is raised. For UCUM to calendar units, the `ToCalendarUnit` function is used.\n@seealso: ToCalendarUnit\n*/\ndefine function ToQuantity(quantity FHIR.Quantity):\n    case\n        when quantity is null then null\n        when quantity.value is null then null\n        when quantity.comparator is not null then\n            Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.')\n        when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org'\n              or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then\n            System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) }\n        else\n            Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' &amp; quantity.unit.value &amp; ' (' &amp; quantity.system.value &amp; '|' &amp; quantity.code.value &amp; ')')\n    end</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-tocalendarunit\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">/*\n@description: Converts a UCUM definite duration unit to a CQL calendar duration\nunit using conversions specified in the [quantities](https://cql.hl7.org/02-authorsguide.html#quantities) \ntopic of the CQL specification.\n@comment: Note that for durations above days (or weeks), the conversion is understood to be approximate\n*/\ndefine function ToCalendarUnit(unit System.String):\n    case unit\n        when 'ms' then 'millisecond'\n        when 's' then 'second'\n        when 'min' then 'minute'\n        when 'h' then 'hour'\n        when 'd' then 'day'\n        when 'wk' then 'week'\n        when 'mo' then 'month'\n        when 'a' then 'year'\n        else unit\n    end</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-toconcept\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">/*\n@description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept.\n*/\ndefine function ToConcept(concept FHIR.CodeableConcept):\n    if concept is null then\n        null\n    else\n        System.Concept {\n            codes: concept.coding C return ToCode(C),\n            display: concept.text.value\n        }</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-tocode\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">/*\n@description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code.\n*/\ndefine function ToCode(coding FHIR.Coding):\n    if coding is null then\n        null\n    else\n        System.Code {\n          code: coding.code.value,\n          system: coding.system.value,\n          version: coding.version.value,\n          display: coding.display.value\n        }</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-tostring\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function ToString(value string): value.value</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-todate\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function ToDate(value date): value.value</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-tostring\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function ToString(value uri): value.value</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-toboolean\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function ToBoolean(value boolean): value.value</code></pre>\n  </td>\n\n</tr>\n\n\n\n        \n\n\n\n        \n\n\n\n        \n\n\n<tr>\n  <th scope=\"row\" rowspan=\"2\" class=\"row-header\">\n    Logic Definition\n  </th>\n\n  <td class=\"content-container\"><em>Library Name:</em> FHIRHelpers</td>\n\n</tr>\n<tr>\n\n  <td>\n    \n    \n    \n    \n      <a name=\"fhirhelpers-tostring\"> </a>\n    \n    <pre style=\"border: none;\" class=\"content-container highlight language-cql\"><code class=\"language-cql\">define function ToString(value ObservationStatus): value.value</code></pre>\n  </td>\n\n</tr>\n\n\n\n\n\n  \n  \n\n\n  <tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"terminology\"> </a>Terminology</th>\n\n\n</tr>\n  \n  \n  \n\n \n\n \n\n \n\n \n\n\n<tr>\n  \n  \n  \n\n<th scope=\"row\" class=\"row-header\">Code System</th>\n\n\n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Code system LOINC\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"http://terminology.hl7.org/6.5.0/CodeSystem-v3-loinc.html\">Logical Observation Identifiers, Names and Codes (LOINC)</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://loinc.org</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Encounter to Screen for Blood Pressure\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1920/expansion\">Encounter to Screen for Blood Pressure</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Lifestyle Recommendation\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1581/expansion\">Lifestyle Recommendation</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Weight Reduction Recommended\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1510/expansion\">Weight Reduction Recommended</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Dietary Recommendations\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1515/expansion\">Dietary Recommendations</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Recommendation to Increase Physical Activity\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1518/expansion\">Recommendation to Increase Physical Activity</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Referral or Counseling for Alcohol Consumption\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1583/expansion\">Referral or Counseling for Alcohol Consumption</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Follow Up Within One Year\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1579/expansion\">Follow Up Within One Year</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Referral to Primary Care or Alternate Provider\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1580/expansion\">Referral to Primary Care or Alternate Provider</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Finding of Elevated Blood Pressure or Hypertension\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1047.514/expansion\">Finding of Elevated Blood Pressure or Hypertension</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.514</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Follow Up Within 4 Weeks\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1578/expansion\">Follow Up Within 4 Weeks</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Laboratory Tests for Hypertension\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1482/expansion\">Laboratory Tests for Hypertension</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Pharmacologic Therapy for Hypertension\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.1577/expansion\">Pharmacologic Therapy for Hypertension</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Payer\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer Type</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Diagnosis of Hypertension\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.263/expansion\">Diagnosis of Hypertension</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Medical Reason\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1007/expansion\">Medical Reason</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n  \n\n<th scope=\"row\" class=\"row-header\">Value Set</th>\n\n\n  \n  \n  <td class=\"content-container\">\n    \n    <em>Description</em>: Value set Patient Declined\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1582/expansion\">Patient Declined</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1582</tt>\n    \n  </td>\n</tr>\n \n\n\n  \n  <tr>\n    <th scope=\"row\" class=\"row-header\">Direct Reference Code</th>\n    <td class=\"content-container\">\n      \n        <em>Display</em>: Systolic blood pressure\n        <br/>\n      \n      <em>Code</em>: 8480-6\n      <br/>\n      <em>System</em>: <tt>http://loinc.org</tt>\n    </td>\n  </tr>\n\n  <tr>\n    <th scope=\"row\" class=\"row-header\">Direct Reference Code</th>\n    <td class=\"content-container\">\n      \n        <em>Display</em>: Diastolic blood pressure\n        <br/>\n      \n      <em>Code</em>: 8462-4\n      <br/>\n      <em>System</em>: <tt>http://loinc.org</tt>\n    </td>\n  </tr>\n\n  <tr>\n    <th scope=\"row\" class=\"row-header\">Direct Reference Code</th>\n    <td class=\"content-container\">\n      \n        <em>Display</em>: 12 lead EKG panel\n        <br/>\n      \n      <em>Code</em>: 34534-8\n      <br/>\n      <em>System</em>: <tt>http://loinc.org</tt>\n    </td>\n  </tr>\n\n  <tr>\n    <th scope=\"row\" class=\"row-header\">Direct Reference Code</th>\n    <td class=\"content-container\">\n      \n        <em>Display</em>: EKG study\n        <br/>\n      \n      <em>Code</em>: 11524-6\n      <br/>\n      <em>System</em>: <tt>http://loinc.org</tt>\n    </td>\n  </tr>\n\n  \n  \n\n\n  <tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"dependencies\"> </a>Dependencies</th>\n\n\n</tr>\n  \n  \n  \n\n\n<tr>\n  \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n  <td class=\"content-container\">\n    \n    <em>Description</em>: FHIR model information\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"http://hl7.org/fhir/uv/cql/STU2/Library-FHIR-ModelInfo.html\">http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n  <td class=\"content-container\">\n    \n    <em>Description</em>: Library SDE\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"Library-SupplementalDataElements.html\">Supplemental Data Elements</a> version: 2.0.000\n    <br/>\n    <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cqm/Library/SupplementalDataElements|2.0.000</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n  <td class=\"content-container\">\n    \n    <em>Description</em>: Library FHIRHelpers\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"http://hl7.org/fhir/uv/cql/STU2/Library-FHIRHelpers.html\">http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1</a>\n    <br/>\n    <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1</tt>\n    \n  </td>\n</tr>\n \n\n\n<tr>\n  \n\n<th scope=\"row\" class=\"row-header\">Dependency</th>\n\n\n  <td class=\"content-container\">\n    \n    <em>Description</em>: Library Global\n    \n    <br/>\n    \n    \n    \n    \n    \n    \n    <em>Resource</em>: <a href=\"Library-MATGlobalCommonFunctions.html\">MAT Global Common Functions FHIR Library</a> version: 5.0.000\n    <br/>\n    <em>Canonical URL</em>: <tt>http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions|5.0.000</tt>\n    \n  </td>\n</tr>\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n  \n  \n\n\n\n\n\n\n  <tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"data-requirements\"> </a>Data Requirements</th>\n\n\n</tr>\n  \n  \n  \n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Patient\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/patient.html\">Patient</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: birthDate, url, extension, value\n    <br/>\n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Encounter\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/encounter.html\">Encounter</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: type, period\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: type</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1920/expansion\">Encounter to Screen for Blood Pressure</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Observation\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, effective, status, value\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n  \n    <span class=\"tab-one\"><em>Code(s)</em>: \n    \n      \n      <a href=\"https://loinc.org/8480-6\">LOINC: 8480-6</a> (Systolic blood pressure)\n      \n    \n    </span>\n    <br/>\n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Observation\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/observation.html\">Observation</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, effective, status, value\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n  \n    <span class=\"tab-one\"><em>Code(s)</em>: \n    \n      \n      <a href=\"https://loinc.org/8462-4\">LOINC: 8462-4</a> (Diastolic blood pressure)\n      \n    \n    </span>\n    <br/>\n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: ServiceRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, authoredOn\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n  \n    <span class=\"tab-one\"><em>Code(s)</em>: \n    \n      \n      <a href=\"https://loinc.org/34534-8\">LOINC: 34534-8</a> (12 lead EKG panel)\n      \n    \n    </span>\n    <br/>\n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: ServiceRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, authoredOn\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n  \n    <span class=\"tab-one\"><em>Code(s)</em>: \n    \n      \n      <a href=\"https://loinc.org/11524-6\">LOINC: 11524-6</a> (EKG study)\n      \n    \n    </span>\n    <br/>\n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: ServiceRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, authoredOn\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1579/expansion\">Follow Up Within One Year</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: ServiceRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, authoredOn\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1578/expansion\">Follow Up Within 4 Weeks</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: ServiceRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, authoredOn, reasonCode\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1580/expansion\">Referral to Primary Care or Alternate Provider</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: ServiceRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, authoredOn\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1581/expansion\">Lifestyle Recommendation</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: ServiceRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, authoredOn\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1510/expansion\">Weight Reduction Recommended</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: ServiceRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, authoredOn\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1515/expansion\">Dietary Recommendations</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: ServiceRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, authoredOn\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1518/expansion\">Recommendation to Increase Physical Activity</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: ServiceRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, authoredOn\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.3.1583/expansion\">Referral or Counseling for Alcohol Consumption</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: ServiceRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/servicerequest.html\">ServiceRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code, authoredOn\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.1482/expansion\">Laboratory Tests for Hypertension</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MedicationRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: medication, authoredOn\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: medication</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.526.1577/expansion\">Pharmacologic Therapy for Hypertension</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: MedicationRequest\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/medicationrequest.html\">MedicationRequest</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: medication.reference, authoredOn\n    <br/>\n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Medication\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/medication.html\">Medication</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: id, code\n    <br/>\n   \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Coverage\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/coverage.html\">Coverage</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: type, period\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: type</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.114222.4.11.3591/expansion\">Payer Type</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n<tr>\n  <th scope=\"row\" class=\"row-header\">Data Requirement</th>\n  <td class=\"content-container\">\n    <em>Type</em>: Condition\n    <br/>\n  \n    <em>Profile(s)</em>: \n  \n    <a href=\"http://hl7.org/fhir/R4/condition.html\">Condition</a>\n    <br/>        \n  \n   \n   \n    <em>Must Support Elements</em>: code\n    <br/>\n   \n  \n    <em>Code Filter(s)</em>: \n    <br/>\n  \n  \n    <span class=\"tab-one\"><em>Path</em>: code</span>\n    <br/>\n  \n  \n  \n    <span class=\"tab-one\"><em>ValueSet</em>:</span> <a href=\"https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.600.263/expansion\">Diagnosis of Hypertension</a>\n    <br/> \n  \n  \n  \n   \n  </td>\n</tr>\n\n  \n  \n\n\n  <tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"parameters\"> </a>Parameters</th>\n\n\n</tr>\n  \n  \n  <tr>\n  \n\n<th scope=\"row\" class=\"row-header\"/>\n\n\n  <td class=\"content-container\">\n    <table>\n      <thead>\n        <tr>\n          <td><em>Name</em></td>\n          <td><em>Use</em></td>\n          <td><em>Card.</em></td>\n          <td><em>Type</em></td>\n          <td><em>Documentation</em></td>\n        </tr>\n      </thead>\n      <tbody>\n      \n        <tr>\n          <td>Measurement Period</td>\n          <td>In</td>\n          <td>0..1</td>\n          <td>Period</td>\n          <td/>\n        </tr>\n      \n        <tr>\n          <td>SDE Sex</td>\n          <td>Out</td>\n          <td>0..1</td>\n          <td>Coding</td>\n          <td/>\n        </tr>\n      \n        <tr>\n          <td>Numerator</td>\n          <td>Out</td>\n          <td>0..*</td>\n          <td>Encounter</td>\n          <td/>\n        </tr>\n      \n        <tr>\n          <td>Denominator</td>\n          <td>Out</td>\n          <td>0..*</td>\n          <td>Encounter</td>\n          <td/>\n        </tr>\n      \n        <tr>\n          <td>SDE Payer</td>\n          <td>Out</td>\n          <td>0..*</td>\n          <td>Resource</td>\n          <td/>\n        </tr>\n      \n        <tr>\n          <td>Initial Population</td>\n          <td>Out</td>\n          <td>0..*</td>\n          <td>Encounter</td>\n          <td/>\n        </tr>\n      \n        <tr>\n          <td>SDE Ethnicity</td>\n          <td>Out</td>\n          <td>0..*</td>\n          <td>Coding</td>\n          <td/>\n        </tr>\n      \n        <tr>\n          <td>Denominator Exclusions</td>\n          <td>Out</td>\n          <td>0..*</td>\n          <td>Encounter</td>\n          <td/>\n        </tr>\n      \n        <tr>\n          <td>SDE Race</td>\n          <td>Out</td>\n          <td>0..*</td>\n          <td>Coding</td>\n          <td/>\n        </tr>\n      \n        <tr>\n          <td>Denominator Exceptions</td>\n          <td>Out</td>\n          <td>0..*</td>\n          <td>Encounter</td>\n          <td/>\n        </tr>\n      \n      </tbody>\n    </table>\n  </td>\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>"
  ] ;
  fhir:DomainResource.contained [
     a fhir:Library ;
     fhir:index 0 ;
     fhir:Resource.id [ fhir:value "effective-data-requirements" ] ;
     fhir:DomainResource.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode" ] ;
       fhir:Extension.valueCoding [
         a loinc:8480-6 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "8480-6" ] ;
         fhir:Coding.display [ fhir:value "Systolic blood pressure" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode" ] ;
       fhir:Extension.valueCoding [
         a loinc:8462-4 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "8462-4" ] ;
         fhir:Coding.display [ fhir:value "Diastolic blood pressure" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode" ] ;
       fhir:Extension.valueCoding [
         a loinc:34534-8 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "34534-8" ] ;
         fhir:Coding.display [ fhir:value "12 lead EKG panel" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode" ] ;
       fhir:Extension.valueCoding [
         a loinc:11524-6 ;
         fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
         fhir:Coding.code [ fhir:value "11524-6" ] ;
         fhir:Coding.display [ fhir:value "EKG study" ]
       ]
     ], [
       fhir:index 4 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "SupplementalDataElements" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "SDE Sex" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"SDE Sex\":\n  case\n      when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }\n      when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }\n      else null\n    end" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "0"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 5 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "SDE Sex" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"SDE Sex\":\n  SDE.\"SDE Sex\"" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "1"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 6 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Qualifying Encounter During Measurement Period" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Qualifying Encounter During Measurement Period\":\n  [Encounter: \"Encounter to Screen for Blood Pressure\"] ValidEncounter\n      where ValidEncounter.period during \"Measurement Period\"" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "2"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 7 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Normal Blood Pressure Reading" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Normal Blood Pressure Reading\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP\n          where SystolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      ),\n      EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP\n          where DiastolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      )\n      where EncounterLastSystolicBP.value included in Interval[1 'mm[Hg]', 120 'mm[Hg]' )\n        and EncounterLastDiastolicBP.value included in Interval[1 'mm[Hg]', 80 'mm[Hg]' )" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "3"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 8 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Prehypertensive Blood Pressure Reading" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Prehypertensive Blood Pressure Reading\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP\n          where SystolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      ),\n      EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP\n          where DiastolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      )\n      where EncounterLastSystolicBP.value included in Interval[1 'mm[Hg]', 140 'mm[Hg]' )\n        and EncounterLastDiastolicBP.value included in Interval[1 'mm[Hg]', 90 'mm[Hg]' )\n        and ( EncounterLastSystolicBP.value >= 120 'mm[Hg]'\n            or EncounterLastDiastolicBP.value >= 80 'mm[Hg]'\n        )" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "4"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 9 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Order for Intervention for Hypertension" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Order for Intervention for Hypertension\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with ( [ServiceRequest: \"Lifestyle Recommendation\"]\n        union [ServiceRequest: \"Weight Reduction Recommended\"]\n        union [ServiceRequest: \"Dietary Recommendations\"]\n        union [ServiceRequest: \"Recommendation to Increase Physical Activity\"]\n        union [ServiceRequest: \"Referral or Counseling for Alcohol Consumption\"] ) HighBloodPressureIntervention\n        such that HighBloodPressureIntervention.authoredOn same day as start of QualifyingEncounter.period" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "5"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 10 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Order for Follow Up Within One Year" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Order for Follow Up Within One Year\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [ServiceRequest: \"Follow Up Within One Year\"] FollowupOneYear\n        such that FollowupOneYear.authoredOn same day as start of QualifyingEncounter.period" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "6"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 11 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Referral to Alternate Provider for High Blood Pressure Reading" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [ServiceRequest: \"Referral to Primary Care or Alternate Provider\"] Referral\n        such that Referral.authoredOn same day as start of QualifyingEncounter.period\n          and Referral.reasonCode in \"Finding of Elevated Blood Pressure or Hypertension\"" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "7"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 12 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with High Blood Pressure Reading" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with High Blood Pressure Reading\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP\n          where SystolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      ),\n      EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP\n          where DiastolicBP.effective during QualifyingEncounter.period\n          sort by effective\n      )\n      where EncounterLastSystolicBP.value > 0 'mm[Hg]'\n        and EncounterLastDiastolicBP.value > 0 'mm[Hg]'\n        and ( EncounterLastSystolicBP.value >= 140 'mm[Hg]'\n            or EncounterLastDiastolicBP.value >= 90 'mm[Hg]'\n        )" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "8"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 13 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with High Blood Pressure Reading Within Year Prior" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with High Blood Pressure Reading Within Year Prior\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP\n          where SystolicBP.effective 1 year or less before start of QualifyingEncounter.period\n          sort by effective\n      ),\n      EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP\n          where DiastolicBP.effective 1 year or less before start of QualifyingEncounter.period\n          sort by effective\n      )\n      where EncounterLastSystolicBP.value > 0 'mm[Hg]'\n        and EncounterLastDiastolicBP.value > 0 'mm[Hg]'\n        and ( EncounterLastSystolicBP.value >= 140 'mm[Hg]'\n            or EncounterLastDiastolicBP.value >= 90 'mm[Hg]'\n        )" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "9"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 14 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with First Hypertensive Reading" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with First Hypertensive Reading\":\n  \"Encounter with High Blood Pressure Reading\"\n      except \"Encounter with High Blood Pressure Reading Within Year Prior\"" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "10"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 15 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Order for Follow Up Within 4 Weeks" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Order for Follow Up Within 4 Weeks\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [ServiceRequest: \"Follow Up Within 4 Weeks\"] Followup4Weeks\n        such that Followup4Weeks.authoredOn same day as start of QualifyingEncounter.period" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "11"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 16 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Second Hypertensive Reading" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Second Hypertensive Reading\":\n  \"Encounter with High Blood Pressure Reading\"\n      intersect \"Encounter with High Blood Pressure Reading Within Year Prior\"" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "12"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 17 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Order for Laboratory Test for Hypertension" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Order for Laboratory Test for Hypertension\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [ServiceRequest: \"Laboratory Tests for Hypertension\"] HypertensionLabs\n        such that HypertensionLabs.authoredOn same day as start of QualifyingEncounter.period" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "13"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 18 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Order for Electrocardiogram for Hypertension" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Order for Electrocardiogram for Hypertension\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with ( [ServiceRequest: \"12 lead EKG panel\"]\n        union [ServiceRequest: \"EKG study\"] ) ECG\n        such that ECG.authoredOn same day as start of QualifyingEncounter.period" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "14"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 19 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Order for Hypertension Medication" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Order for Hypertension Medication\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [MedicationRequest: \"Pharmacologic Therapy for Hypertension\"] AntihypertensiveMedication\n        such that AntihypertensiveMedication.authoredOn same day as start of QualifyingEncounter.period" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "15"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 20 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Numerator" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Numerator\":\n  \"Encounter with Normal Blood Pressure Reading\"\n      union ( \"Encounter with Prehypertensive Blood Pressure Reading\"\n          intersect ( ( \"Encounter with Order for Intervention for Hypertension\"\n                intersect \"Encounter with Order for Follow Up Within One Year\"\n            )\n              union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\"\n          )\n      )\n      union ( \"Encounter with First Hypertensive Reading\"\n          intersect ( ( \"Encounter with Order for Intervention for Hypertension\"\n                intersect \"Encounter with Order for Follow Up Within 4 Weeks\"\n            )\n              union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\"\n          )\n      )\n      union ( \"Encounter with Second Hypertensive Reading\"\n          intersect ( ( \"Encounter with Order for Intervention for Hypertension\"\n                intersect ( \"Encounter with Order for Laboratory Test for Hypertension\"\n                    union \"Encounter with Order for Electrocardiogram for Hypertension\"\n                    union \"Encounter with Order for Hypertension Medication\"\n                )\n            )\n              union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\"\n          )\n      )" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "16"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 21 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Initial Population" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Initial Population\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [Patient] BirthDate\n        such that Global.\"CalendarAgeInYearsAt\" ( FHIRHelpers.ToDate ( BirthDate.birthDate ), start of \"Measurement Period\" ) >= 18" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "17"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 22 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Denominator" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Denominator\":\n  \"Initial Population\"" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "18"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 23 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "SupplementalDataElements" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "SDE Payer" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"SDE Payer\":\n  [Coverage: type in \"Payer\"] Payer\n        return {\n          code: Payer.type,\n          period: Payer.period\n        }" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "19"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 24 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "SDE Payer" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"SDE Payer\":\n  SDE.\"SDE Payer\"" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "20"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 25 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "SupplementalDataElements" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "SDE Ethnicity" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"SDE Ethnicity\":\n  (flatten (\n      Patient.extension Extension\n        where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'\n          return Extension.extension\n    )) E\n      where E.url = 'ombCategory'\n        or E.url = 'detailed'\n      return E.value as Coding" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "21"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 26 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "SDE Ethnicity" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"SDE Ethnicity\":\n  SDE.\"SDE Ethnicity\"" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "22"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 27 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Denominator Exclusions" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Denominator Exclusions\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with [Condition: \"Diagnosis of Hypertension\"] Hypertension\n        such that Global.\"Prevalence Period\" ( Hypertension ) overlaps before QualifyingEncounter.period" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "23"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 28 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "SupplementalDataElements" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "SDE Race" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"SDE Race\":\n  (flatten (\n      Patient.extension Extension\n        where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'\n          return Extension.extension\n    )) E\n      where E.url = 'ombCategory'\n        or E.url = 'detailed'\n      return E.value as Coding" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "24"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 29 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "SDE Race" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"SDE Race\":\n  SDE.\"SDE Race\"" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "25"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 30 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Medical Reason for Not Obtaining or Patient Declined Blood Pressure Measurement" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Medical Reason for Not Obtaining or Patient Declined Blood Pressure Measurement\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with ( [Observation: \"Systolic blood pressure\"]\n        union [Observation: \"Diastolic blood pressure\"] ) NoBPScreen\n        such that ( NoBPScreen.code in \"Medical Reason\"\n            or NoBPScreen.code in \"Patient Declined\"\n        )\n          and NoBPScreen.effective same day as start of QualifyingEncounter.period\n          and \"Not Done\"(NoBPScreen)\n          and NoBPScreen.status = 'final'" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "26"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 31 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Encounter with Order for Hypertension Follow Up Declined by Patient" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Encounter with Order for Hypertension Follow Up Declined by Patient\":\n  \"Qualifying Encounter During Measurement Period\" QualifyingEncounter\n      with ( [ServiceRequest: \"12 lead EKG panel\"]\n        union [ServiceRequest: \"EKG study\"]\n        union [ServiceRequest: \"Follow Up Within One Year\"]\n        union [ServiceRequest: \"Follow Up Within 4 Weeks\"]\n        union [ServiceRequest: \"Referral to Primary Care or Alternate Provider\"]\n        union [ServiceRequest: \"Lifestyle Recommendation\"]\n        union [ServiceRequest: \"Weight Reduction Recommended\"]\n        union [ServiceRequest: \"Dietary Recommendations\"]\n        union [ServiceRequest: \"Recommendation to Increase Physical Activity\"]\n        union [ServiceRequest: \"Referral or Counseling for Alcohol Consumption\"]\n        union [ServiceRequest: \"Laboratory Tests for Hypertension\"]\n        union [MedicationRequest: \"Pharmacologic Therapy for Hypertension\"] ) NoFollowUpOrdered\n        such that NoFollowUpOrdered.doNotPerform is true\n          and NoFollowUpOrdered.code in \"Patient Declined\"\n          and NoFollowUpOrdered.authoredOn same day as start of QualifyingEncounter.period" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "27"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 32 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Denominator Exceptions" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define \"Denominator Exceptions\":\n  \"Encounter with Medical Reason for Not Obtaining or Patient Declined Blood Pressure Measurement\"\n      union \"Encounter with Order for Hypertension Follow Up Declined by Patient\"" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "28"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 33 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToString" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function ToString(value AdministrativeGender): value.value" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "29"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 34 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToInterval" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "/*\n@description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period)\nvalue to a CQL DateTime Interval\n@comment: If the start value of the given period is unspecified, the starting\nboundary of the resulting interval will be open (meaning the start of the interval\nis unknown, as opposed to interpreted as the beginning of time).\n*/\ndefine function ToInterval(period FHIR.Period):\n    if period is null then\n        null\n    else\n        if period.\"start\" is null then\n            Interval(period.\"start\".value, period.\"end\".value]\n        else\n            Interval[period.\"start\".value, period.\"end\".value]" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "30"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 35 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToDateTime" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function ToDateTime(value dateTime): value.value" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "31"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 36 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToDateTime" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function ToDateTime(value instant): value.value" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "32"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 37 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToInterval" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "/*\n@description: Converts the given FHIR [Range](https://hl7.org/fhir/datatypes.html#Range) value to a CQL Interval of Quantity\n*/\ndefine function ToInterval(range FHIR.Range):\n    if range is null then\n        null\n    else\n        Interval[ToQuantity(range.low), ToQuantity(range.high)]" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "33"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 38 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToQuantity" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "/*\n@description: Converts the given FHIR [Quantity](https://hl7.org/fhir/datatypes.html#Quantity) \nvalue to a CQL Quantity\n@comment: If the given quantity has a comparator specified, a runtime error is raised. If the given quantity\nhas a system other than UCUM (i.e. `http://unitsofmeasure.org`) or CQL calendar units (i.e. `http://hl7.org/fhirpath/CodeSystem/calendar-units`)\nan error is raised. For UCUM to calendar units, the `ToCalendarUnit` function is used.\n@seealso: ToCalendarUnit\n*/\ndefine function ToQuantity(quantity FHIR.Quantity):\n    case\n        when quantity is null then null\n        when quantity.value is null then null\n        when quantity.comparator is not null then\n            Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.')\n        when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org'\n              or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then\n            System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) }\n        else\n            Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' & quantity.unit.value & ' (' & quantity.system.value & '|' & quantity.code.value & ')')\n    end" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "34"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 39 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToCalendarUnit" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "/*\n@description: Converts a UCUM definite duration unit to a CQL calendar duration\nunit using conversions specified in the [quantities](https://cql.hl7.org/02-authorsguide.html#quantities) \ntopic of the CQL specification.\n@comment: Note that for durations above days (or weeks), the conversion is understood to be approximate\n*/\ndefine function ToCalendarUnit(unit System.String):\n    case unit\n        when 'ms' then 'millisecond'\n        when 's' then 'second'\n        when 'min' then 'minute'\n        when 'h' then 'hour'\n        when 'd' then 'day'\n        when 'wk' then 'week'\n        when 'mo' then 'month'\n        when 'a' then 'year'\n        else unit\n    end" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "35"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 40 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToConcept" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "/*\n@description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept.\n*/\ndefine function ToConcept(concept FHIR.CodeableConcept):\n    if concept is null then\n        null\n    else\n        System.Concept {\n            codes: concept.coding C return ToCode(C),\n            display: concept.text.value\n        }" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "36"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 41 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToCode" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "/*\n@description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code.\n*/\ndefine function ToCode(coding FHIR.Coding):\n    if coding is null then\n        null\n    else\n        System.Code {\n          code: coding.code.value,\n          system: coding.system.value,\n          version: coding.version.value,\n          display: coding.display.value\n        }" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "37"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 42 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToString" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function ToString(value string): value.value" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "38"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 43 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "MATGlobalCommonFunctions" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "CalendarAgeInYearsAt" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function \"CalendarAgeInYearsAt\"(BirthDateTime DateTime, AsOf DateTime):\n	years between ToDate(BirthDateTime)and ToDate(AsOf)" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "39"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 44 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "MATGlobalCommonFunctions" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToDate" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function \"ToDate\"(Value DateTime):\n	DateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezoneoffset from Value)" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "40"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 45 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToDate" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function ToDate(value date): value.value" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "41"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 46 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToString" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function ToString(value uri): value.value" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "42"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 47 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "MATGlobalCommonFunctions" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Prevalence Period" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function \"Prevalence Period\"(condition Condition):\n  Interval[start of \"Normalize Interval\"(condition.onset), end of \"Normalize Abatement\"(condition))" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "43"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 48 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "MATGlobalCommonFunctions" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Normalize Interval" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "/*\n*\n*    CQFMeasures Common Logic\n*\n*/\n\ndefine function \"Normalize Interval\"(choice Choice<FHIR.dateTime, FHIR.Period, FHIR.Timing, FHIR.instant, FHIR.string, FHIR.Age, FHIR.Range>):\n  case\n	  when choice is FHIR.dateTime then\n    	Interval[FHIRHelpers.ToDateTime(choice as FHIR.dateTime), FHIRHelpers.ToDateTime(choice as FHIR.dateTime)]\n		when choice is FHIR.Period then\n  		FHIRHelpers.ToInterval(choice as FHIR.Period)\n		when choice is FHIR.instant then\n			Interval[FHIRHelpers.ToDateTime(choice as FHIR.instant), FHIRHelpers.ToDateTime(choice as FHIR.instant)]\n		when choice is FHIR.Age then\n		  Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age),\n			  FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(choice as FHIR.Age) + 1 year)\n		when choice is FHIR.Range then\n		  Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).low),\n			  FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((choice as FHIR.Range).high) + 1 year)\n		when choice is FHIR.Timing then\n		  Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute a single interval from a Timing type')\n    when choice is FHIR.string then\n      Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')\n		else\n			null as Interval<DateTime>\n	end" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "44"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 49 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "MATGlobalCommonFunctions" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Normalize Abatement" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function \"Normalize Abatement\"(condition Condition):\n	if condition.abatement is FHIR.dateTime then\n	  Interval[FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime), FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime)]\n	else if condition.abatement is FHIR.Period then\n	  FHIRHelpers.ToInterval(condition.abatement as FHIR.Period)\n	else if condition.abatement is FHIR.string then\n    Message(null as Interval<DateTime>, true, '1', 'Error', 'Cannot compute an interval from a String value')\n	else if condition.abatement is FHIR.Age then\n		Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age),\n			FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age) + 1 year)\n	else if condition.abatement is FHIR.Range then\n	  Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).low),\n		  FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).high) + 1 year)\n	else if condition.abatement is FHIR.boolean then\n	  Interval[end of \"Normalize Interval\"(condition.onset), condition.recordedDate)\n	else null" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "45"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 50 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "Not Done" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function \"Not Done\"(res DomainResource ):\n  if ( res R\n      where ( \"GetModiferExtension\"(R, 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDone').value = true )\n  ) is not null then true\n    else false" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "46"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 51 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToBoolean" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function ToBoolean(value boolean): value.value" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "47"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 52 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "GetModiferExtension" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function \"GetModiferExtension\"(res DomainResource, url String ):\n  singleton from \"GetModifierExtensions\"(res, url)" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "48"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 53 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "HBPComponent" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "GetModifierExtensions" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function \"GetModifierExtensions\"(res DomainResource, url String ):\n  res.modifierExtension E\n    where E.url = ( url )\n    return E" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "49"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ], [
       fhir:index 54 ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "libraryName" ] ;
         fhir:Extension.valueString [ fhir:value "FHIRHelpers" ]
       ], [
         fhir:index 1 ;
         fhir:Extension.url [ fhir:value "name" ] ;
         fhir:Extension.valueString [ fhir:value "ToString" ]
       ], [
         fhir:index 2 ;
         fhir:Extension.url [ fhir:value "statement" ] ;
         fhir:Extension.valueString [ fhir:value "define function ToString(value ObservationStatus): value.value" ]
       ], [
         fhir:index 3 ;
         fhir:Extension.url [ fhir:value "displaySequence" ] ;
         fhir:Extension.valueInteger [ fhir:value "50"^^xsd:integer ]
       ] ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition" ]
     ] ;
     fhir:Library.name [ fhir:value "EffectiveDataRequirements" ] ;
     fhir:Library.status [ fhir:value "active" ] ;
     fhir:Library.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/library-type" ] ;
         fhir:Coding.code [ fhir:value "module-definition" ]
       ]
     ] ;
     fhir:Library.relatedArtifact [
       fhir:index 0 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "FHIR model information" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1" ;
         fhir:link <http://hl7.org/fhir/uv/cql/Library/FHIR-ModelInfo|4.0.1>
       ]
     ], [
       fhir:index 1 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Library SDE" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://hl7.org/fhir/uv/cqm/Library/SupplementalDataElements|2.0.000" ;
         fhir:link <http://hl7.org/fhir/uv/cqm/Library/SupplementalDataElements|2.0.000>
       ]
     ], [
       fhir:index 2 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Library FHIRHelpers" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1" ;
         fhir:link <http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1>
       ]
     ], [
       fhir:index 3 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Library Global" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions|5.0.000" ;
         fhir:link <http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions|5.0.000>
       ]
     ], [
       fhir:index 4 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Code system LOINC" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://loinc.org" ;
         fhir:link <http://loinc.org>
       ]
     ], [
       fhir:index 5 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Encounter to Screen for Blood Pressure" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920>
       ]
     ], [
       fhir:index 6 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Lifestyle Recommendation" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581>
       ]
     ], [
       fhir:index 7 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Weight Reduction Recommended" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510>
       ]
     ], [
       fhir:index 8 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Dietary Recommendations" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515>
       ]
     ], [
       fhir:index 9 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Recommendation to Increase Physical Activity" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518>
       ]
     ], [
       fhir:index 10 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Referral or Counseling for Alcohol Consumption" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583>
       ]
     ], [
       fhir:index 11 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Follow Up Within One Year" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579>
       ]
     ], [
       fhir:index 12 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Referral to Primary Care or Alternate Provider" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580>
       ]
     ], [
       fhir:index 13 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Finding of Elevated Blood Pressure or Hypertension" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.514" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.514>
       ]
     ], [
       fhir:index 14 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Follow Up Within 4 Weeks" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578>
       ]
     ], [
       fhir:index 15 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Laboratory Tests for Hypertension" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482>
       ]
     ], [
       fhir:index 16 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Pharmacologic Therapy for Hypertension" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577>
       ]
     ], [
       fhir:index 17 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Payer" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>
       ]
     ], [
       fhir:index 18 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Diagnosis of Hypertension" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263>
       ]
     ], [
       fhir:index 19 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Medical Reason" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007>
       ]
     ], [
       fhir:index 20 ;
       fhir:RelatedArtifact.type [ fhir:value "depends-on" ] ;
       fhir:RelatedArtifact.display [ fhir:value "Value set Patient Declined" ] ;
       fhir:RelatedArtifact.resource [
         fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1582" ;
         fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1582>
       ]
     ] ;
     fhir:Library.parameter [
       fhir:index 0 ;
       fhir:ParameterDefinition.name [ fhir:value "Measurement Period" ] ;
       fhir:ParameterDefinition.use [ fhir:value "in" ] ;
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ;
       fhir:ParameterDefinition.max [ fhir:value "1" ] ;
       fhir:ParameterDefinition.type [ fhir:value "Period" ]
     ], [
       fhir:index 1 ;
       fhir:ParameterDefinition.name [ fhir:value "SDE Sex" ] ;
       fhir:ParameterDefinition.use [ fhir:value "out" ] ;
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ;
       fhir:ParameterDefinition.max [ fhir:value "1" ] ;
       fhir:ParameterDefinition.type [ fhir:value "Coding" ]
     ], [
       fhir:index 2 ;
       fhir:ParameterDefinition.name [ fhir:value "Numerator" ] ;
       fhir:ParameterDefinition.use [ fhir:value "out" ] ;
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ;
       fhir:ParameterDefinition.max [ fhir:value "*" ] ;
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]
     ], [
       fhir:index 3 ;
       fhir:ParameterDefinition.name [ fhir:value "Denominator" ] ;
       fhir:ParameterDefinition.use [ fhir:value "out" ] ;
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ;
       fhir:ParameterDefinition.max [ fhir:value "*" ] ;
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]
     ], [
       fhir:index 4 ;
       fhir:ParameterDefinition.name [ fhir:value "SDE Payer" ] ;
       fhir:ParameterDefinition.use [ fhir:value "out" ] ;
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ;
       fhir:ParameterDefinition.max [ fhir:value "*" ] ;
       fhir:ParameterDefinition.type [ fhir:value "Resource" ]
     ], [
       fhir:index 5 ;
       fhir:ParameterDefinition.name [ fhir:value "Initial Population" ] ;
       fhir:ParameterDefinition.use [ fhir:value "out" ] ;
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ;
       fhir:ParameterDefinition.max [ fhir:value "*" ] ;
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]
     ], [
       fhir:index 6 ;
       fhir:ParameterDefinition.name [ fhir:value "SDE Ethnicity" ] ;
       fhir:ParameterDefinition.use [ fhir:value "out" ] ;
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ;
       fhir:ParameterDefinition.max [ fhir:value "*" ] ;
       fhir:ParameterDefinition.type [ fhir:value "Coding" ]
     ], [
       fhir:index 7 ;
       fhir:ParameterDefinition.name [ fhir:value "Denominator Exclusions" ] ;
       fhir:ParameterDefinition.use [ fhir:value "out" ] ;
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ;
       fhir:ParameterDefinition.max [ fhir:value "*" ] ;
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]
     ], [
       fhir:index 8 ;
       fhir:ParameterDefinition.name [ fhir:value "SDE Race" ] ;
       fhir:ParameterDefinition.use [ fhir:value "out" ] ;
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ;
       fhir:ParameterDefinition.max [ fhir:value "*" ] ;
       fhir:ParameterDefinition.type [ fhir:value "Coding" ]
     ], [
       fhir:index 9 ;
       fhir:ParameterDefinition.name [ fhir:value "Denominator Exceptions" ] ;
       fhir:ParameterDefinition.use [ fhir:value "out" ] ;
       fhir:ParameterDefinition.min [ fhir:value "0"^^xsd:integer ] ;
       fhir:ParameterDefinition.max [ fhir:value "*" ] ;
       fhir:ParameterDefinition.type [ fhir:value "Encounter" ]
     ] ;
     fhir:Library.dataRequirement [
       fhir:index 0 ;
       fhir:DataRequirement.type [ fhir:value "Patient" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Patient>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "birthDate" ;
         fhir:index 0
       ], [
         fhir:value "url" ;
         fhir:index 1
       ], [
         fhir:value "extension" ;
         fhir:index 2
       ], [
         fhir:value "value" ;
         fhir:index 3
       ]
     ], [
       fhir:index 1 ;
       fhir:DataRequirement.type [ fhir:value "Encounter" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Encounter" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Encounter>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "type" ;
         fhir:index 0
       ], [
         fhir:value "period" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "type" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920>
         ]
       ]
     ], [
       fhir:index 2 ;
       fhir:DataRequirement.type [ fhir:value "Observation" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Observation" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "effective" ;
         fhir:index 1
       ], [
         fhir:value "status" ;
         fhir:index 2
       ], [
         fhir:value "value" ;
         fhir:index 3
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.code [
           fhir:index 0 ;
           a loinc:8480-6 ;
           fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
           fhir:Coding.code [ fhir:value "8480-6" ] ;
           fhir:Coding.display [ fhir:value "Systolic blood pressure" ]
         ]
       ]
     ], [
       fhir:index 3 ;
       fhir:DataRequirement.type [ fhir:value "Observation" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Observation" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Observation>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "effective" ;
         fhir:index 1
       ], [
         fhir:value "status" ;
         fhir:index 2
       ], [
         fhir:value "value" ;
         fhir:index 3
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.code [
           fhir:index 0 ;
           a loinc:8462-4 ;
           fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
           fhir:Coding.code [ fhir:value "8462-4" ] ;
           fhir:Coding.display [ fhir:value "Diastolic blood pressure" ]
         ]
       ]
     ], [
       fhir:index 4 ;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.code [
           fhir:index 0 ;
           a loinc:34534-8 ;
           fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
           fhir:Coding.code [ fhir:value "34534-8" ] ;
           fhir:Coding.display [ fhir:value "12 lead EKG panel" ]
         ]
       ]
     ], [
       fhir:index 5 ;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.code [
           fhir:index 0 ;
           a loinc:11524-6 ;
           fhir:Coding.system [ fhir:value "http://loinc.org" ] ;
           fhir:Coding.code [ fhir:value "11524-6" ] ;
           fhir:Coding.display [ fhir:value "EKG study" ]
         ]
       ]
     ], [
       fhir:index 6 ;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579>
         ]
       ]
     ], [
       fhir:index 7 ;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578>
         ]
       ]
     ], [
       fhir:index 8 ;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ], [
         fhir:value "reasonCode" ;
         fhir:index 2
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580>
         ]
       ]
     ], [
       fhir:index 9 ;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581>
         ]
       ]
     ], [
       fhir:index 10 ;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510>
         ]
       ]
     ], [
       fhir:index 11 ;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515>
         ]
       ]
     ], [
       fhir:index 12 ;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518>
         ]
       ]
     ], [
       fhir:index 13 ;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583>
         ]
       ]
     ], [
       fhir:index 14 ;
       fhir:DataRequirement.type [ fhir:value "ServiceRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482>
         ]
       ]
     ], [
       fhir:index 15 ;
       fhir:DataRequirement.type [ fhir:value "MedicationRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "medication" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "medication" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577>
         ]
       ]
     ], [
       fhir:index 16 ;
       fhir:DataRequirement.type [ fhir:value "MedicationRequest" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/MedicationRequest>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "medication.reference" ;
         fhir:index 0
       ], [
         fhir:value "authoredOn" ;
         fhir:index 1
       ]
     ], [
       fhir:index 17 ;
       fhir:DataRequirement.type [ fhir:value "Medication" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Medication" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Medication>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "id" ;
         fhir:index 0
       ], [
         fhir:value "code" ;
         fhir:index 1
       ]
     ], [
       fhir:index 18 ;
       fhir:DataRequirement.type [ fhir:value "Coverage" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Coverage" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Coverage>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "type" ;
         fhir:index 0
       ], [
         fhir:value "period" ;
         fhir:index 1
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "type" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591>
         ]
       ]
     ], [
       fhir:index 19 ;
       fhir:DataRequirement.type [ fhir:value "Condition" ] ;
       fhir:DataRequirement.profile [
         fhir:value "http://hl7.org/fhir/StructureDefinition/Condition" ;
         fhir:index 0 ;
         fhir:link <http://hl7.org/fhir/StructureDefinition/Condition>
       ] ;
       fhir:DataRequirement.mustSupport [
         fhir:value "code" ;
         fhir:index 0
       ] ;
       fhir:DataRequirement.codeFilter [
         fhir:index 0 ;
         fhir:DataRequirement.codeFilter.path [ fhir:value "code" ] ;
         fhir:DataRequirement.codeFilter.valueSet [
           fhir:value "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263" ;
           fhir:link <http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263>
         ]
       ]
     ]
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-populationBasis" ] ;
     fhir:Extension.valueCode [ fhir:value "Encounter" ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem" ] ;
     fhir:Extension.valueReference [
       fhir:link <http://hl7.org/fhir/uv/cqm/Device/software-system-example> ;
       fhir:Reference.reference [ fhir:value "Device/software-system-example" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "usage" ] ;
       fhir:Extension.valueCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ] ;
           fhir:Coding.code [ fhir:value "supplemental-data" ]
         ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Extension.url [ fhir:value "guidance" ] ;
       fhir:Extension.valueMarkdown [ fhir:value "This guidance provides instructions on how to collect and report supplemental data elements for this measure." ]
     ] ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-supplementalDataGuidance" ]
  ], [
     fhir:index 3 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements" ] ;
     fhir:Extension.valueCanonical [ fhir:value "#effective-data-requirements" ]
  ] ;
  fhir:Measure.url [ fhir:value "http://hl7.org/fhir/uv/cqm/Measure/HBPComponent"] ;
  fhir:Measure.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/artifact-identifier-type" ] ;
         fhir:Coding.code [ fhir:value "version-independent" ] ;
         fhir:Coding.display [ fhir:value "Version Independent" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "http://example.org/fhir/us/cqm/Measure/HBPComponent" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/artifact-identifier-type" ] ;
         fhir:Coding.code [ fhir:value "version-specific" ] ;
         fhir:Coding.display [ fhir:value "Version Specific" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "http://example.org/fhir/us/cqm/Measure/22v11" ]
  ], [
     fhir:index 2 ;
     fhir:Identifier.use [ fhir:value "usual" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/artifact-identifier-type" ] ;
         fhir:Coding.code [ fhir:value "short-name" ] ;
         fhir:Coding.display [ fhir:value "Short Name" ]
       ]
     ] ;
     fhir:Identifier.value [ fhir:value "High Blood Pressure Screening" ]
  ], [
     fhir:index 3 ;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ] ;
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.40.61.29.11" ]
  ] ;
  fhir:Measure.version [ fhir:value "0.0.001"] ;
  fhir:Measure.name [ fhir:value "HBPComponent"] ;
  fhir:Measure.title [ fhir:value "Preventive Care and Screening: Screening for High Blood Pressure and Follow-Up Documented"] ;
  fhir:Measure.status [ fhir:value "active"] ;
  fhir:Measure.experimental [ fhir:value "true"^^xsd:boolean] ;
  fhir:Measure.date [ fhir:value "2025-08-13T17:14:51-06:00"^^xsd:dateTime] ;
  fhir:Measure.publisher [ fhir:value "HL7 International / Clinical Quality Information"] ;
  fhir:Measure.contact [
     fhir:index 0 ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/cqi" ]
     ]
  ] ;
  fhir:Measure.description [ fhir:value "This is an example only."] ;
  fhir:Measure.useContext [
     fhir:index 0 ;
     fhir:UsageContext.code [
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/usage-context-type" ] ;
       fhir:Coding.code [ fhir:value "venue" ] ;
       fhir:Coding.display [ fhir:value "Clinical Venue" ]
     ] ;
     fhir:UsageContext.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://hl7.org/fhir/uv/cqm/CodeSystem/intended-venue-codes" ] ;
         fhir:Coding.code [ fhir:value "ec" ] ;
         fhir:Coding.display [ fhir:value "EC" ]
       ]
     ]
  ] ;
  fhir:Measure.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:Coding.code [ fhir:value "001" ]
     ]
  ] ;
  fhir:Measure.effectivePeriod [
     fhir:Period.start [ fhir:value "2022-01-01"^^xsd:date ] ;
     fhir:Period.end [ fhir:value "2022-12-31"^^xsd:date ]
  ] ;
  fhir:Measure.library [
     fhir:value "http://hl7.org/fhir/uv/cqm/Library/HBPComponent" ;
     fhir:index 0 ;
     fhir:link <http://hl7.org/fhir/uv/cqm/Library/HBPComponent>
  ] ;
  fhir:Measure.scoring [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-scoring" ] ;
       fhir:Coding.code [ fhir:value "proportion" ] ;
       fhir:Coding.display [ fhir:value "Proportion" ]
     ]
  ] ;
  fhir:Measure.type [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-type" ] ;
       fhir:Coding.code [ fhir:value "process" ]
     ]
  ] ;
  fhir:Measure.improvementNotation [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-improvement-notation" ] ;
       fhir:Coding.code [ fhir:value "increase" ]
     ]
  ] ;
  fhir:Measure.group [
     fhir:index 0 ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.linkId" ] ;
       fhir:Extension.valueString [ fhir:value "primary" ]
     ] ;
     fhir:Measure.group.population [
       fhir:index 0 ;
       fhir:Element.id [ fhir:value "53248B01-E1CF-4C67-AE39-8483F8114CAE" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId" ] ;
         fhir:Extension.valueString [ fhir:value "primary-hbpcomponent-initial-population" ]
       ] ;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ] ;
           fhir:Coding.code [ fhir:value "initial-population" ] ;
           fhir:Coding.display [ fhir:value "Initial Population" ]
         ]
       ] ;
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ] ;
         fhir:Expression.expression [ fhir:value "Initial Population" ]
       ]
     ], [
       fhir:index 1 ;
       fhir:Element.id [ fhir:value "9D2AB719-A4D5-41D3-8785-7DBE8CA10FD3" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId" ] ;
         fhir:Extension.valueString [ fhir:value "primary-hbpcomponent-denominator" ]
       ] ;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ] ;
           fhir:Coding.code [ fhir:value "denominator" ] ;
           fhir:Coding.display [ fhir:value "Denominator" ]
         ]
       ] ;
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ] ;
         fhir:Expression.expression [ fhir:value "Denominator" ]
       ]
     ], [
       fhir:index 2 ;
       fhir:Element.id [ fhir:value "165DEA75-8DF1-4F2C-9F8A-BBEE1A02A5D6" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId" ] ;
         fhir:Extension.valueString [ fhir:value "primary-hbpcomponent-denominator-exclusion" ]
       ] ;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ] ;
           fhir:Coding.code [ fhir:value "denominator-exclusion" ] ;
           fhir:Coding.display [ fhir:value "Denominator Exclusion" ]
         ]
       ] ;
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ] ;
         fhir:Expression.expression [ fhir:value "Denominator Exclusions" ]
       ]
     ], [
       fhir:index 3 ;
       fhir:Element.id [ fhir:value "BF70F2AC-568C-4587-AF54-E4F54E6FCC83" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId" ] ;
         fhir:Extension.valueString [ fhir:value "primary-hbpcomponent-denominator-exception" ]
       ] ;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ] ;
           fhir:Coding.code [ fhir:value "denominator-exception" ] ;
           fhir:Coding.display [ fhir:value "Denominator Exception" ]
         ]
       ] ;
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ] ;
         fhir:Expression.expression [ fhir:value "Denominator Exceptions" ]
       ]
     ], [
       fhir:index 4 ;
       fhir:Element.id [ fhir:value "7B0319A6-913B-4F39-8D3C-04FA0A6B5C3A" ] ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId" ] ;
         fhir:Extension.valueString [ fhir:value "primary-hbpcomponent-numerator" ]
       ] ;
       fhir:Measure.group.population.code [
         fhir:CodeableConcept.coding [
           fhir:index 0 ;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-population" ] ;
           fhir:Coding.code [ fhir:value "numerator" ] ;
           fhir:Coding.display [ fhir:value "Numerator" ]
         ]
       ] ;
       fhir:Measure.group.population.criteria [
         fhir:Expression.language [ fhir:value "text/cql-identifier" ] ;
         fhir:Expression.expression [ fhir:value "Numerator" ]
       ]
     ]
  ] ;
  fhir:Measure.supplementalData [
     fhir:index 0 ;
     fhir:Element.id [ fhir:value "cd02ebb6-a0bf-4196-90f9-80f2a8a79bbf" ] ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId" ] ;
       fhir:Extension.valueString [ fhir:value "hbpcomponent-sde-ethnicity" ]
     ] ;
     fhir:Measure.supplementalData.usage [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ] ;
         fhir:Coding.code [ fhir:value "supplemental-data" ]
       ]
     ] ;
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ] ;
       fhir:Expression.expression [ fhir:value "SDE Ethnicity" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Element.id [ fhir:value "a67a3fc7-cedd-4d78-b7b0-4718fa7f3e2b" ] ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId" ] ;
       fhir:Extension.valueString [ fhir:value "hbpcomponent-sde-payer" ]
     ] ;
     fhir:Measure.supplementalData.usage [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ] ;
         fhir:Coding.code [ fhir:value "supplemental-data" ]
       ]
     ] ;
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ] ;
       fhir:Expression.expression [ fhir:value "SDE Payer" ]
     ]
  ], [
     fhir:index 2 ;
     fhir:Element.id [ fhir:value "3dc8840d-cc30-44af-a233-3b2b6c602060" ] ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId" ] ;
       fhir:Extension.valueString [ fhir:value "hbpcomponent-sde-race" ]
     ] ;
     fhir:Measure.supplementalData.usage [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ] ;
         fhir:Coding.code [ fhir:value "supplemental-data" ]
       ]
     ] ;
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ] ;
       fhir:Expression.expression [ fhir:value "SDE Race" ]
     ]
  ], [
     fhir:index 3 ;
     fhir:Element.id [ fhir:value "5a4e95aa-f8b3-400f-89b3-02555a361251" ] ;
     fhir:Element.extension [
       fhir:index 0 ;
       fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId" ] ;
       fhir:Extension.valueString [ fhir:value "ccscomponent-sde-sex" ]
     ] ;
     fhir:Measure.supplementalData.usage [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/measure-data-usage" ] ;
         fhir:Coding.code [ fhir:value "supplemental-data" ]
       ]
     ] ;
     fhir:Measure.supplementalData.criteria [
       fhir:Expression.language [ fhir:value "text/cql-identifier" ] ;
       fhir:Expression.expression [ fhir:value "SDE Sex" ]
     ]
  ] .

<http://hl7.org/fhir/uv/cqm/Device/software-system-example> a fhir:uv .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/uv/cqm/Measure/HBPComponent.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/uv/cqm/Measure/HBPComponent.ttl> .

# -------------------------------------------------------------------------------------

