PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.cqm@1.0.0
    http://hl7.org/fhir/uv/cqm/Measure/HBPComponent
{
  "description": "This is an example only.",
  "_filename": "example/Measure-HBPComponent.json",
  "package_name": "hl7.fhir.uv.cqm",
  "date": "2025-08-13T17:14:51-06:00",
  "group": [ {
    "extension": [ {
      "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.linkId",
      "valueString": "primary"
    } ],
    "population": [ {
      "id": "53248B01-E1CF-4C67-AE39-8483F8114CAE",
      "code": {
        "coding": [ {
          "code": "initial-population",
          "system": "http://terminology.hl7.org/CodeSystem/measure-population",
          "display": "Initial Population"
        } ]
      },
      "criteria": {
        "language": "text/cql-identifier",
        "expression": "Initial Population"
      },
      "extension": [ {
        "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId",
        "valueString": "primary-hbpcomponent-initial-population"
      } ]
    }, {
      "id": "9D2AB719-A4D5-41D3-8785-7DBE8CA10FD3",
      "code": {
        "coding": [ {
          "code": "denominator",
          "system": "http://terminology.hl7.org/CodeSystem/measure-population",
          "display": "Denominator"
        } ]
      },
      "criteria": {
        "language": "text/cql-identifier",
        "expression": "Denominator"
      },
      "extension": [ {
        "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId",
        "valueString": "primary-hbpcomponent-denominator"
      } ]
    }, {
      "id": "165DEA75-8DF1-4F2C-9F8A-BBEE1A02A5D6",
      "code": {
        "coding": [ {
          "code": "denominator-exclusion",
          "system": "http://terminology.hl7.org/CodeSystem/measure-population",
          "display": "Denominator Exclusion"
        } ]
      },
      "criteria": {
        "language": "text/cql-identifier",
        "expression": "Denominator Exclusions"
      },
      "extension": [ {
        "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId",
        "valueString": "primary-hbpcomponent-denominator-exclusion"
      } ]
    }, {
      "id": "BF70F2AC-568C-4587-AF54-E4F54E6FCC83",
      "code": {
        "coding": [ {
          "code": "denominator-exception",
          "system": "http://terminology.hl7.org/CodeSystem/measure-population",
          "display": "Denominator Exception"
        } ]
      },
      "criteria": {
        "language": "text/cql-identifier",
        "expression": "Denominator Exceptions"
      },
      "extension": [ {
        "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId",
        "valueString": "primary-hbpcomponent-denominator-exception"
      } ]
    }, {
      "id": "7B0319A6-913B-4F39-8D3C-04FA0A6B5C3A",
      "code": {
        "coding": [ {
          "code": "numerator",
          "system": "http://terminology.hl7.org/CodeSystem/measure-population",
          "display": "Numerator"
        } ]
      },
      "criteria": {
        "language": "text/cql-identifier",
        "expression": "Numerator"
      },
      "extension": [ {
        "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.group.population.linkId",
        "valueString": "primary-hbpcomponent-numerator"
      } ]
    } ]
  } ],
  "meta": {
    "profile": [ "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-publishablemeasure", "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-computablemeasure", "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-proportionmeasure" ]
  },
  "publisher": "HL7 International / Clinical Quality Information",
  "jurisdiction": [ {
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
    } ]
  } ],
  "name": "HBPComponent",
  "useContext": [ {
    "code": {
      "code": "venue",
      "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
      "display": "Clinical Venue"
    },
    "valueCodeableConcept": {
      "coding": [ {
        "code": "ec",
        "system": "http://hl7.org/fhir/uv/cqm/CodeSystem/intended-venue-codes",
        "display": "EC"
      } ]
    }
  } ],
  "type": "[{:coding [{:system \\\"http://terminology.hl7.org/CodeSystem/measure-type\\\", :code \\\"process\\\"}]}]",
  "experimental": "true",
  "resourceType": "Measure",
  "title": "Preventive Care and Screening: Screening for High Blood Pressure and Follow-Up Documented",
  "supplementalData": [ {
    "id": "cd02ebb6-a0bf-4196-90f9-80f2a8a79bbf",
    "usage": [ {
      "coding": [ {
        "code": "supplemental-data",
        "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage"
      } ]
    } ],
    "criteria": {
      "language": "text/cql-identifier",
      "expression": "SDE Ethnicity"
    },
    "extension": [ {
      "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId",
      "valueString": "hbpcomponent-sde-ethnicity"
    } ]
  }, {
    "id": "a67a3fc7-cedd-4d78-b7b0-4718fa7f3e2b",
    "usage": [ {
      "coding": [ {
        "code": "supplemental-data",
        "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage"
      } ]
    } ],
    "criteria": {
      "language": "text/cql-identifier",
      "expression": "SDE Payer"
    },
    "extension": [ {
      "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId",
      "valueString": "hbpcomponent-sde-payer"
    } ]
  }, {
    "id": "3dc8840d-cc30-44af-a233-3b2b6c602060",
    "usage": [ {
      "coding": [ {
        "code": "supplemental-data",
        "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage"
      } ]
    } ],
    "criteria": {
      "language": "text/cql-identifier",
      "expression": "SDE Race"
    },
    "extension": [ {
      "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId",
      "valueString": "hbpcomponent-sde-race"
    } ]
  }, {
    "id": "5a4e95aa-f8b3-400f-89b3-02555a361251",
    "usage": [ {
      "coding": [ {
        "code": "supplemental-data",
        "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage"
      } ]
    } ],
    "criteria": {
      "language": "text/cql-identifier",
      "expression": "SDE Sex"
    },
    "extension": [ {
      "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Measure.supplementalData.linkId",
      "valueString": "ccscomponent-sde-sex"
    } ]
  } ],
  "library": [ "http://hl7.org/fhir/uv/cqm/Library/HBPComponent" ],
  "package_version": "1.0.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-populationBasis",
    "valueCode": "Encounter"
  }, {
    "url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem",
    "valueReference": {
      "reference": "Device/software-system-example"
    }
  }, {
    "url": "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-supplementalDataGuidance",
    "extension": [ {
      "url": "usage",
      "valueCodeableConcept": {
        "coding": [ {
          "code": "supplemental-data",
          "system": "http://terminology.hl7.org/CodeSystem/measure-data-usage"
        } ]
      }
    }, {
      "url": "guidance",
      "valueMarkdown": "This guidance provides instructions on how to collect and report supplemental data elements for this measure."
    } ]
  }, {
    "id": "effective-data-requirements",
    "url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements",
    "valueCanonical": "#effective-data-requirements"
  } ],
  "contained": [ {
    "dataRequirement": [ {
      "type": "Patient",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/Patient" ],
      "mustSupport": [ "birthDate", "url", "extension", "value" ]
    }, {
      "type": "Encounter",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/Encounter" ],
      "codeFilter": [ {
        "path": "type",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920"
      } ],
      "mustSupport": [ "type", "period" ]
    }, {
      "type": "Observation",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/Observation" ],
      "codeFilter": [ {
        "code": [ {
          "code": "8480-6",
          "system": "http://loinc.org",
          "display": "Systolic blood pressure"
        } ],
        "path": "code"
      } ],
      "mustSupport": [ "code", "effective", "status", "value" ]
    }, {
      "type": "Observation",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/Observation" ],
      "codeFilter": [ {
        "code": [ {
          "code": "8462-4",
          "system": "http://loinc.org",
          "display": "Diastolic blood pressure"
        } ],
        "path": "code"
      } ],
      "mustSupport": [ "code", "effective", "status", "value" ]
    }, {
      "type": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "code": [ {
          "code": "34534-8",
          "system": "http://loinc.org",
          "display": "12 lead EKG panel"
        } ],
        "path": "code"
      } ],
      "mustSupport": [ "code", "authoredOn" ]
    }, {
      "type": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "code": [ {
          "code": "11524-6",
          "system": "http://loinc.org",
          "display": "EKG study"
        } ],
        "path": "code"
      } ],
      "mustSupport": [ "code", "authoredOn" ]
    }, {
      "type": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579"
      } ],
      "mustSupport": [ "code", "authoredOn" ]
    }, {
      "type": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578"
      } ],
      "mustSupport": [ "code", "authoredOn" ]
    }, {
      "type": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580"
      } ],
      "mustSupport": [ "code", "authoredOn", "reasonCode" ]
    }, {
      "type": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581"
      } ],
      "mustSupport": [ "code", "authoredOn" ]
    }, {
      "type": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510"
      } ],
      "mustSupport": [ "code", "authoredOn" ]
    }, {
      "type": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515"
      } ],
      "mustSupport": [ "code", "authoredOn" ]
    }, {
      "type": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518"
      } ],
      "mustSupport": [ "code", "authoredOn" ]
    }, {
      "type": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583"
      } ],
      "mustSupport": [ "code", "authoredOn" ]
    }, {
      "type": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482"
      } ],
      "mustSupport": [ "code", "authoredOn" ]
    }, {
      "type": "MedicationRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ],
      "codeFilter": [ {
        "path": "medication",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577"
      } ],
      "mustSupport": [ "medication", "authoredOn" ]
    }, {
      "type": "MedicationRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ],
      "mustSupport": [ "medication.reference", "authoredOn" ]
    }, {
      "type": "Medication",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/Medication" ],
      "mustSupport": [ "id", "code" ]
    }, {
      "type": "Coverage",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/Coverage" ],
      "codeFilter": [ {
        "path": "type",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
      } ],
      "mustSupport": [ "type", "period" ]
    }, {
      "type": "Condition",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/Condition" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263"
      } ],
      "mustSupport": [ "code" ]
    } ],
    "name": "EffectiveDataRequirements",
    "type": {
      "coding": [ {
        "code": "module-definition",
        "system": "http://terminology.hl7.org/CodeSystem/library-type"
      } ]
    },
    "resourceType": "Library",
    "extension": [ {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding": {
        "code": "8480-6",
        "system": "http://loinc.org",
        "display": "Systolic blood pressure"
      }
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding": {
        "code": "8462-4",
        "system": "http://loinc.org",
        "display": "Diastolic blood pressure"
      }
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding": {
        "code": "34534-8",
        "system": "http://loinc.org",
        "display": "12 lead EKG panel"
      }
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding": {
        "code": "11524-6",
        "system": "http://loinc.org",
        "display": "EKG study"
      }
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "SupplementalDataElements"
      }, {
        "url": "name",
        "valueString": "SDE Sex"
      }, {
        "url": "statement",
        "valueString": "define \"SDE Sex\":   case       when Patient.gender = 'male' then Code { code: 'M', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Male' }       when Patient.gender = 'female' then Code { code: 'F', system: 'http://hl7.org/fhir/v3/AdministrativeGender', display: 'Female' }       else null     end"
      }, {
        "url": "displaySequence",
        "valueInteger": 0
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "SDE Sex"
      }, {
        "url": "statement",
        "valueString": "define \"SDE Sex\":   SDE.\"SDE Sex\""
      }, {
        "url": "displaySequence",
        "valueInteger": 1
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Qualifying Encounter During Measurement Period"
      }, {
        "url": "statement",
        "valueString": "define \"Qualifying Encounter During Measurement Period\":   [Encounter: \"Encounter to Screen for Blood Pressure\"] ValidEncounter       where ValidEncounter.period during \"Measurement Period\""
      }, {
        "url": "displaySequence",
        "valueInteger": 2
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Normal Blood Pressure Reading"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Normal Blood Pressure Reading\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP           where SystolicBP.effective during QualifyingEncounter.period           sort by effective       ),       EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP           where DiastolicBP.effective during QualifyingEncounter.period           sort by effective       )       where EncounterLastSystolicBP.value included in Interval[1 'mm[Hg]', 120 'mm[Hg]' )         and EncounterLastDiastolicBP.value included in Interval[1 'mm[Hg]', 80 'mm[Hg]' )"
      }, {
        "url": "displaySequence",
        "valueInteger": 3
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Prehypertensive Blood Pressure Reading"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Prehypertensive Blood Pressure Reading\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP           where SystolicBP.effective during QualifyingEncounter.period           sort by effective       ),       EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP           where DiastolicBP.effective during QualifyingEncounter.period           sort by effective       )       where EncounterLastSystolicBP.value included in Interval[1 'mm[Hg]', 140 'mm[Hg]' )         and EncounterLastDiastolicBP.value included in Interval[1 'mm[Hg]', 90 'mm[Hg]' )         and ( EncounterLastSystolicBP.value >= 120 'mm[Hg]'             or EncounterLastDiastolicBP.value >= 80 'mm[Hg]'         )"
      }, {
        "url": "displaySequence",
        "valueInteger": 4
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Order for Intervention for Hypertension"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Order for Intervention for Hypertension\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       with ( [ServiceRequest: \"Lifestyle Recommendation\"]         union [ServiceRequest: \"Weight Reduction Recommended\"]         union [ServiceRequest: \"Dietary Recommendations\"]         union [ServiceRequest: \"Recommendation to Increase Physical Activity\"]         union [ServiceRequest: \"Referral or Counseling for Alcohol Consumption\"] ) HighBloodPressureIntervention         such that HighBloodPressureIntervention.authoredOn same day as start of QualifyingEncounter.period"
      }, {
        "url": "displaySequence",
        "valueInteger": 5
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Order for Follow Up Within One Year"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Order for Follow Up Within One Year\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       with [ServiceRequest: \"Follow Up Within One Year\"] FollowupOneYear         such that FollowupOneYear.authoredOn same day as start of QualifyingEncounter.period"
      }, {
        "url": "displaySequence",
        "valueInteger": 6
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Referral to Alternate Provider for High Blood Pressure Reading"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       with [ServiceRequest: \"Referral to Primary Care or Alternate Provider\"] Referral         such that Referral.authoredOn same day as start of QualifyingEncounter.period           and Referral.reasonCode in \"Finding of Elevated Blood Pressure or Hypertension\""
      }, {
        "url": "displaySequence",
        "valueInteger": 7
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with High Blood Pressure Reading"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with High Blood Pressure Reading\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP           where SystolicBP.effective during QualifyingEncounter.period           sort by effective       ),       EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP           where DiastolicBP.effective during QualifyingEncounter.period           sort by effective       )       where EncounterLastSystolicBP.value > 0 'mm[Hg]'         and EncounterLastDiastolicBP.value > 0 'mm[Hg]'         and ( EncounterLastSystolicBP.value >= 140 'mm[Hg]'             or EncounterLastDiastolicBP.value >= 90 'mm[Hg]'         )"
      }, {
        "url": "displaySequence",
        "valueInteger": 8
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with High Blood Pressure Reading Within Year Prior"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with High Blood Pressure Reading Within Year Prior\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       let EncounterLastSystolicBP: Last([Observation: \"Systolic blood pressure\"] SystolicBP           where SystolicBP.effective 1 year or less before start of QualifyingEncounter.period           sort by effective       ),       EncounterLastDiastolicBP: Last([Observation: \"Diastolic blood pressure\"] DiastolicBP           where DiastolicBP.effective 1 year or less before start of QualifyingEncounter.period           sort by effective       )       where EncounterLastSystolicBP.value > 0 'mm[Hg]'         and EncounterLastDiastolicBP.value > 0 'mm[Hg]'         and ( EncounterLastSystolicBP.value >= 140 'mm[Hg]'             or EncounterLastDiastolicBP.value >= 90 'mm[Hg]'         )"
      }, {
        "url": "displaySequence",
        "valueInteger": 9
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with First Hypertensive Reading"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with First Hypertensive Reading\":   \"Encounter with High Blood Pressure Reading\"       except \"Encounter with High Blood Pressure Reading Within Year Prior\""
      }, {
        "url": "displaySequence",
        "valueInteger": 10
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Order for Follow Up Within 4 Weeks"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Order for Follow Up Within 4 Weeks\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       with [ServiceRequest: \"Follow Up Within 4 Weeks\"] Followup4Weeks         such that Followup4Weeks.authoredOn same day as start of QualifyingEncounter.period"
      }, {
        "url": "displaySequence",
        "valueInteger": 11
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Second Hypertensive Reading"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Second Hypertensive Reading\":   \"Encounter with High Blood Pressure Reading\"       intersect \"Encounter with High Blood Pressure Reading Within Year Prior\""
      }, {
        "url": "displaySequence",
        "valueInteger": 12
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Order for Laboratory Test for Hypertension"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Order for Laboratory Test for Hypertension\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       with [ServiceRequest: \"Laboratory Tests for Hypertension\"] HypertensionLabs         such that HypertensionLabs.authoredOn same day as start of QualifyingEncounter.period"
      }, {
        "url": "displaySequence",
        "valueInteger": 13
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Order for Electrocardiogram for Hypertension"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Order for Electrocardiogram for Hypertension\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       with ( [ServiceRequest: \"12 lead EKG panel\"]         union [ServiceRequest: \"EKG study\"] ) ECG         such that ECG.authoredOn same day as start of QualifyingEncounter.period"
      }, {
        "url": "displaySequence",
        "valueInteger": 14
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Order for Hypertension Medication"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Order for Hypertension Medication\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       with [MedicationRequest: \"Pharmacologic Therapy for Hypertension\"] AntihypertensiveMedication         such that AntihypertensiveMedication.authoredOn same day as start of QualifyingEncounter.period"
      }, {
        "url": "displaySequence",
        "valueInteger": 15
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Numerator"
      }, {
        "url": "statement",
        "valueString": "define \"Numerator\":   \"Encounter with Normal Blood Pressure Reading\"       union ( \"Encounter with Prehypertensive Blood Pressure Reading\"           intersect ( ( \"Encounter with Order for Intervention for Hypertension\"                 intersect \"Encounter with Order for Follow Up Within One Year\"             )               union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\"           )       )       union ( \"Encounter with First Hypertensive Reading\"           intersect ( ( \"Encounter with Order for Intervention for Hypertension\"                 intersect \"Encounter with Order for Follow Up Within 4 Weeks\"             )               union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\"           )       )       union ( \"Encounter with Second Hypertensive Reading\"           intersect ( ( \"Encounter with Order for Intervention for Hypertension\"                 intersect ( \"Encounter with Order for Laboratory Test for Hypertension\"                     union \"Encounter with Order for Electrocardiogram for Hypertension\"                     union \"Encounter with Order for Hypertension Medication\"                 )             )               union \"Encounter with Referral to Alternate Provider for High Blood Pressure Reading\"           )       )"
      }, {
        "url": "displaySequence",
        "valueInteger": 16
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Initial Population"
      }, {
        "url": "statement",
        "valueString": "define \"Initial Population\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       with [Patient] BirthDate         such that Global.\"CalendarAgeInYearsAt\" ( FHIRHelpers.ToDate ( BirthDate.birthDate ), start of \"Measurement Period\" ) >= 18"
      }, {
        "url": "displaySequence",
        "valueInteger": 17
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Denominator"
      }, {
        "url": "statement",
        "valueString": "define \"Denominator\":   \"Initial Population\""
      }, {
        "url": "displaySequence",
        "valueInteger": 18
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "SupplementalDataElements"
      }, {
        "url": "name",
        "valueString": "SDE Payer"
      }, {
        "url": "statement",
        "valueString": "define \"SDE Payer\":   [Coverage: type in \"Payer\"] Payer         return {           code: Payer.type,           period: Payer.period         }"
      }, {
        "url": "displaySequence",
        "valueInteger": 19
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "SDE Payer"
      }, {
        "url": "statement",
        "valueString": "define \"SDE Payer\":   SDE.\"SDE Payer\""
      }, {
        "url": "displaySequence",
        "valueInteger": 20
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "SupplementalDataElements"
      }, {
        "url": "name",
        "valueString": "SDE Ethnicity"
      }, {
        "url": "statement",
        "valueString": "define \"SDE Ethnicity\":   (flatten (       Patient.extension Extension         where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'           return Extension.extension     )) E       where E.url = 'ombCategory'         or E.url = 'detailed'       return E.value as Coding"
      }, {
        "url": "displaySequence",
        "valueInteger": 21
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "SDE Ethnicity"
      }, {
        "url": "statement",
        "valueString": "define \"SDE Ethnicity\":   SDE.\"SDE Ethnicity\""
      }, {
        "url": "displaySequence",
        "valueInteger": 22
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Denominator Exclusions"
      }, {
        "url": "statement",
        "valueString": "define \"Denominator Exclusions\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       with [Condition: \"Diagnosis of Hypertension\"] Hypertension         such that Global.\"Prevalence Period\" ( Hypertension ) overlaps before QualifyingEncounter.period"
      }, {
        "url": "displaySequence",
        "valueInteger": 23
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "SupplementalDataElements"
      }, {
        "url": "name",
        "valueString": "SDE Race"
      }, {
        "url": "statement",
        "valueString": "define \"SDE Race\":   (flatten (       Patient.extension Extension         where Extension.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'           return Extension.extension     )) E       where E.url = 'ombCategory'         or E.url = 'detailed'       return E.value as Coding"
      }, {
        "url": "displaySequence",
        "valueInteger": 24
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "SDE Race"
      }, {
        "url": "statement",
        "valueString": "define \"SDE Race\":   SDE.\"SDE Race\""
      }, {
        "url": "displaySequence",
        "valueInteger": 25
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Medical Reason for Not Obtaining or Patient Declined Blood Pressure Measurement"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Medical Reason for Not Obtaining or Patient Declined Blood Pressure Measurement\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       with ( [Observation: \"Systolic blood pressure\"]         union [Observation: \"Diastolic blood pressure\"] ) NoBPScreen         such that ( NoBPScreen.code in \"Medical Reason\"             or NoBPScreen.code in \"Patient Declined\"         )           and NoBPScreen.effective same day as start of QualifyingEncounter.period           and \"Not Done\"(NoBPScreen)           and NoBPScreen.status = 'final'"
      }, {
        "url": "displaySequence",
        "valueInteger": 26
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Encounter with Order for Hypertension Follow Up Declined by Patient"
      }, {
        "url": "statement",
        "valueString": "define \"Encounter with Order for Hypertension Follow Up Declined by Patient\":   \"Qualifying Encounter During Measurement Period\" QualifyingEncounter       with ( [ServiceRequest: \"12 lead EKG panel\"]         union [ServiceRequest: \"EKG study\"]         union [ServiceRequest: \"Follow Up Within One Year\"]         union [ServiceRequest: \"Follow Up Within 4 Weeks\"]         union [ServiceRequest: \"Referral to Primary Care or Alternate Provider\"]         union [ServiceRequest: \"Lifestyle Recommendation\"]         union [ServiceRequest: \"Weight Reduction Recommended\"]         union [ServiceRequest: \"Dietary Recommendations\"]         union [ServiceRequest: \"Recommendation to Increase Physical Activity\"]         union [ServiceRequest: \"Referral or Counseling for Alcohol Consumption\"]         union [ServiceRequest: \"Laboratory Tests for Hypertension\"]         union [MedicationRequest: \"Pharmacologic Therapy for Hypertension\"] ) NoFollowUpOrdered         such that NoFollowUpOrdered.doNotPerform is true           and NoFollowUpOrdered.code in \"Patient Declined\"           and NoFollowUpOrdered.authoredOn same day as start of QualifyingEncounter.period"
      }, {
        "url": "displaySequence",
        "valueInteger": 27
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Denominator Exceptions"
      }, {
        "url": "statement",
        "valueString": "define \"Denominator Exceptions\":   \"Encounter with Medical Reason for Not Obtaining or Patient Declined Blood Pressure Measurement\"       union \"Encounter with Order for Hypertension Follow Up Declined by Patient\""
      }, {
        "url": "displaySequence",
        "valueInteger": 28
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToString"
      }, {
        "url": "statement",
        "valueString": "define function ToString(value AdministrativeGender): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 29
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToInterval"
      }, {
        "url": "statement",
        "valueString": "/* @description: Converts the given [Period](https://hl7.org/fhir/datatypes.html#Period) value to a CQL DateTime Interval @comment: If the start value of the given period is unspecified, the starting boundary of the resulting interval will be open (meaning the start of the interval is unknown, as opposed to interpreted as the beginning of time). */ define function ToInterval(period FHIR.Period):     if period is null then         null     else         if period.\"start\" is null then             Interval(period.\"start\".value, period.\"end\".value]         else             Interval[period.\"start\".value, period.\"end\".value]"
      }, {
        "url": "displaySequence",
        "valueInteger": 30
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToDateTime"
      }, {
        "url": "statement",
        "valueString": "define function ToDateTime(value dateTime): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 31
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToDateTime"
      }, {
        "url": "statement",
        "valueString": "define function ToDateTime(value instant): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 32
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToInterval"
      }, {
        "url": "statement",
        "valueString": "/* @description: Converts the given FHIR [Range](https://hl7.org/fhir/datatypes.html#Range) value to a CQL Interval of Quantity */ define function ToInterval(range FHIR.Range):     if range is null then         null     else         Interval[ToQuantity(range.low), ToQuantity(range.high)]"
      }, {
        "url": "displaySequence",
        "valueInteger": 33
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToQuantity"
      }, {
        "url": "statement",
        "valueString": "/* @description: Converts the given FHIR [Quantity](https://hl7.org/fhir/datatypes.html#Quantity)  value to a CQL Quantity @comment: If the given quantity has a comparator specified, a runtime error is raised. If the given quantity has a system other than UCUM (i.e. `http://unitsofmeasure.org`) or CQL calendar units (i.e. `http://hl7.org/fhirpath/CodeSystem/calendar-units`) an error is raised. For UCUM to calendar units, the `ToCalendarUnit` function is used. @seealso: ToCalendarUnit */ define function ToQuantity(quantity FHIR.Quantity):     case         when quantity is null then null         when quantity.value is null then null         when quantity.comparator is not null then             Message(null, true, 'FHIRHelpers.ToQuantity.ComparatorQuantityNotSupported', 'Error', 'FHIR Quantity value has a comparator and cannot be converted to a System.Quantity value.')         when quantity.system is null or quantity.system.value = 'http://unitsofmeasure.org'               or quantity.system.value = 'http://hl7.org/fhirpath/CodeSystem/calendar-units' then             System.Quantity { value: quantity.value.value, unit: ToCalendarUnit(Coalesce(quantity.code.value, quantity.unit.value, '1')) }         else             Message(null, true, 'FHIRHelpers.ToQuantity.InvalidFHIRQuantity', 'Error', 'Invalid FHIR Quantity code: ' & quantity.unit.value & ' (' & quantity.system.value & '|' & quantity.code.value & ')')     end"
      }, {
        "url": "displaySequence",
        "valueInteger": 34
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToCalendarUnit"
      }, {
        "url": "statement",
        "valueString": "/* @description: Converts a UCUM definite duration unit to a CQL calendar duration unit using conversions specified in the [quantities](https://cql.hl7.org/02-authorsguide.html#quantities)  topic of the CQL specification. @comment: Note that for durations above days (or weeks), the conversion is understood to be approximate */ define function ToCalendarUnit(unit System.String):     case unit         when 'ms' then 'millisecond'         when 's' then 'second'         when 'min' then 'minute'         when 'h' then 'hour'         when 'd' then 'day'         when 'wk' then 'week'         when 'mo' then 'month'         when 'a' then 'year'         else unit     end"
      }, {
        "url": "displaySequence",
        "valueInteger": 35
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToConcept"
      }, {
        "url": "statement",
        "valueString": "/* @description: Converts the given FHIR [CodeableConcept](https://hl7.org/fhir/datatypes.html#CodeableConcept) value to a CQL Concept. */ define function ToConcept(concept FHIR.CodeableConcept):     if concept is null then         null     else         System.Concept {             codes: concept.coding C return ToCode(C),             display: concept.text.value         }"
      }, {
        "url": "displaySequence",
        "valueInteger": 36
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToCode"
      }, {
        "url": "statement",
        "valueString": "/* @description: Converts the given FHIR [Coding](https://hl7.org/fhir/datatypes.html#Coding) value to a CQL Code. */ define function ToCode(coding FHIR.Coding):     if coding is null then         null     else         System.Code {           code: coding.code.value,           system: coding.system.value,           version: coding.version.value,           display: coding.display.value         }"
      }, {
        "url": "displaySequence",
        "valueInteger": 37
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToString"
      }, {
        "url": "statement",
        "valueString": "define function ToString(value string): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 38
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "MATGlobalCommonFunctions"
      }, {
        "url": "name",
        "valueString": "CalendarAgeInYearsAt"
      }, {
        "url": "statement",
        "valueString": "define function \"CalendarAgeInYearsAt\"(BirthDateTime DateTime, AsOf DateTime):  years between ToDate(BirthDateTime)and ToDate(AsOf)"
      }, {
        "url": "displaySequence",
        "valueInteger": 39
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "MATGlobalCommonFunctions"
      }, {
        "url": "name",
        "valueString": "ToDate"
      }, {
        "url": "statement",
        "valueString": "define function \"ToDate\"(Value DateTime):  DateTime(year from Value, month from Value, day from Value, 0, 0, 0, 0, timezoneoffset from Value)"
      }, {
        "url": "displaySequence",
        "valueInteger": 40
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToDate"
      }, {
        "url": "statement",
        "valueString": "define function ToDate(value date): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 41
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToString"
      }, {
        "url": "statement",
        "valueString": "define function ToString(value uri): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 42
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "MATGlobalCommonFunctions"
      }, {
        "url": "name",
        "valueString": "Prevalence Period"
      }, {
        "url": "statement",
        "valueString": "define function \"Prevalence Period\"(condition Condition):   Interval[start of \"Normalize Interval\"(condition.onset), end of \"Normalize Abatement\"(condition))"
      }, {
        "url": "displaySequence",
        "valueInteger": 43
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "MATGlobalCommonFunctions"
      }, {
        "url": "name",
        "valueString": "Normalize Abatement"
      }, {
        "url": "statement",
        "valueString": "define function \"Normalize Abatement\"(condition Condition):  if condition.abatement is FHIR.dateTime then    Interval[FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime), FHIRHelpers.ToDateTime(condition.abatement as FHIR.dateTime)]  else if condition.abatement is FHIR.Period then    FHIRHelpers.ToInterval(condition.abatement as FHIR.Period)  else if condition.abatement is FHIR.string then     Message(null as Interval, true, '1', 'Error', 'Cannot compute an interval from a String value')  else if condition.abatement is FHIR.Age then   Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age),    FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity(condition.abatement as FHIR.Age) + 1 year)  else if condition.abatement is FHIR.Range then    Interval[FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).low),     FHIRHelpers.ToDate(Patient.birthDate) + FHIRHelpers.ToQuantity((condition.abatement as FHIR.Range).high) + 1 year)  else if condition.abatement is FHIR.boolean then    Interval[end of \"Normalize Interval\"(condition.onset), condition.recordedDate)  else null"
      }, {
        "url": "displaySequence",
        "valueInteger": 44
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "Not Done"
      }, {
        "url": "statement",
        "valueString": "define function \"Not Done\"(res DomainResource ):   if ( res R       where ( \"GetModiferExtension\"(R, 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDone').value = true )   ) is not null then true     else false"
      }, {
        "url": "displaySequence",
        "valueInteger": 45
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToBoolean"
      }, {
        "url": "statement",
        "valueString": "define function ToBoolean(value boolean): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 46
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "GetModiferExtension"
      }, {
        "url": "statement",
        "valueString": "define function \"GetModiferExtension\"(res DomainResource, url String ):   singleton from \"GetModifierExtensions\"(res, url)"
      }, {
        "url": "displaySequence",
        "valueInteger": 47
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "HBPComponent"
      }, {
        "url": "name",
        "valueString": "GetModifierExtensions"
      }, {
        "url": "statement",
        "valueString": "define function \"GetModifierExtensions\"(res DomainResource, url String ):   res.modifierExtension E     where E.url = ( url )     return E"
      }, {
        "url": "displaySequence",
        "valueInteger": 48
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToString"
      }, {
        "url": "statement",
        "valueString": "define function ToString(value ObservationStatus): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 49
      } ]
    } ],
    "status": "active",
    "id": "effective-data-requirements",
    "relatedArtifact": [ {
      "type": "depends-on",
      "display": "Library SDE",
      "resource": "http://hl7.org/fhir/uv/cqm/Library/SupplementalDataElements|2.0.000"
    }, {
      "type": "depends-on",
      "display": "Library FHIRHelpers",
      "resource": "http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1"
    }, {
      "type": "depends-on",
      "display": "Library Global",
      "resource": "http://hl7.org/fhir/uv/cqm/Library/MATGlobalCommonFunctions|5.0.000"
    }, {
      "type": "depends-on",
      "display": "Code system LOINC",
      "resource": "http://loinc.org"
    }, {
      "type": "depends-on",
      "display": "Value set Encounter to Screen for Blood Pressure",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1920"
    }, {
      "type": "depends-on",
      "display": "Value set Lifestyle Recommendation",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1581"
    }, {
      "type": "depends-on",
      "display": "Value set Weight Reduction Recommended",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1510"
    }, {
      "type": "depends-on",
      "display": "Value set Dietary Recommendations",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1515"
    }, {
      "type": "depends-on",
      "display": "Value set Recommendation to Increase Physical Activity",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1518"
    }, {
      "type": "depends-on",
      "display": "Value set Referral or Counseling for Alcohol Consumption",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1583"
    }, {
      "type": "depends-on",
      "display": "Value set Follow Up Within One Year",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1579"
    }, {
      "type": "depends-on",
      "display": "Value set Referral to Primary Care or Alternate Provider",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1580"
    }, {
      "type": "depends-on",
      "display": "Value set Finding of Elevated Blood Pressure or Hypertension",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1047.514"
    }, {
      "type": "depends-on",
      "display": "Value set Follow Up Within 4 Weeks",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1578"
    }, {
      "type": "depends-on",
      "display": "Value set Laboratory Tests for Hypertension",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.1482"
    }, {
      "type": "depends-on",
      "display": "Value set Pharmacologic Therapy for Hypertension",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.1577"
    }, {
      "type": "depends-on",
      "display": "Value set Payer",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.3591"
    }, {
      "type": "depends-on",
      "display": "Value set Diagnosis of Hypertension",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.600.263"
    }, {
      "type": "depends-on",
      "display": "Value set Medical Reason",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1007"
    }, {
      "type": "depends-on",
      "display": "Value set Patient Declined",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1582"
    } ],
    "parameter": [ {
      "max": "1",
      "min": 0,
      "use": "in",
      "name": "Measurement Period",
      "type": "Period"
    }, {
      "max": "1",
      "min": 0,
      "use": "out",
      "name": "SDE Sex",
      "type": "Coding"
    }, {
      "max": "*",
      "min": 0,
      "use": "out",
      "name": "Numerator",
      "type": "Encounter"
    }, {
      "max": "*",
      "min": 0,
      "use": "out",
      "name": "Denominator",
      "type": "Encounter"
    }, {
      "max": "*",
      "min": 0,
      "use": "out",
      "name": "SDE Payer",
      "type": "Resource"
    }, {
      "max": "*",
      "min": 0,
      "use": "out",
      "name": "Initial Population",
      "type": "Encounter"
    }, {
      "max": "*",
      "min": 0,
      "use": "out",
      "name": "SDE Ethnicity",
      "type": "Coding"
    }, {
      "max": "*",
      "min": 0,
      "use": "out",
      "name": "Denominator Exclusions",
      "type": "Encounter"
    }, {
      "max": "*",
      "min": 0,
      "use": "out",
      "name": "SDE Race",
      "type": "Coding"
    }, {
      "max": "*",
      "min": 0,
      "use": "out",
      "name": "Denominator Exceptions",
      "type": "Encounter"
    } ]
  } ],
  "status": "active",
  "language": "en",
  "id": "717dcf1e-08c0-4831-ad23-8916bb0f1d74",
  "kind": null,
  "url": "http://hl7.org/fhir/uv/cqm/Measure/HBPComponent",
  "identifier": [ {
    "use": "official",
    "type": {
      "coding": [ {
        "code": "version-independent",
        "system": "http://terminology.hl7.org/CodeSystem/artifact-identifier-type",
        "display": "Version Independent"
      } ]
    },
    "value": "http://example.org/fhir/us/cqm/Measure/HBPComponent",
    "system": "urn:ietf:rfc:3986"
  }, {
    "use": "official",
    "type": {
      "coding": [ {
        "code": "version-specific",
        "system": "http://terminology.hl7.org/CodeSystem/artifact-identifier-type",
        "display": "Version Specific"
      } ]
    },
    "value": "http://example.org/fhir/us/cqm/Measure/22v11",
    "system": "urn:ietf:rfc:3986"
  }, {
    "use": "usual",
    "type": {
      "coding": [ {
        "code": "short-name",
        "system": "http://terminology.hl7.org/CodeSystem/artifact-identifier-type",
        "display": "Short Name"
      } ]
    },
    "value": "High Blood Pressure Screening"
  }, {
    "value": "urn:oid:2.16.840.1.113883.4.642.40.61.29.11",
    "system": "urn:ietf:rfc:3986"
  } ],
  "scoring": {
    "coding": [ {
      "code": "proportion",
      "system": "http://terminology.hl7.org/CodeSystem/measure-scoring",
      "display": "Proportion"
    } ]
  },
  "version": "0.0.001",
  "contact": [ {
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/cqi",
      "system": "url"
    } ]
  } ],
  "improvementNotation": {
    "coding": [ {
      "code": "increase",
      "system": "http://terminology.hl7.org/CodeSystem/measure-improvement-notation"
    } ]
  },
  "effectivePeriod": {
    "end": "2022-12-31",
    "start": "2022-01-01"
  }
}