PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.cqm@1.0.0
    http://hl7.org/fhir/uv/cqm/Measure/PVSComponent
{
  "description": "This is an example only.",
  "_filename": "example/Measure-PVSComponent.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": "FB55A109-7AC0-4385-AD01-ED3814C92697",
      "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-pvscomponent-initial-population"
      } ]
    }, {
      "id": "7BFE8E56-FD1F-4E35-A79F-0E2569819358",
      "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-pvscomponent-denominator"
      } ]
    }, {
      "id": "F74BB6AC-40CD-40BB-A9F8-06F4A4A0D2C5",
      "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-pvscomponent-denominator-exclusion"
      } ]
    }, {
      "id": "89B1D5A5-96B6-4002-B962-9989FED8A0E9",
      "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-pvscomponent-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": "PVSComponent",
  "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": "Pneumococcal Vaccination Status for Older Adults",
  "supplementalData": [ {
    "id": "66567b90-12e8-4a1c-8425-2cb8106f9664",
    "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": "pvscomponent-sde-ethnicity"
    } ]
  }, {
    "id": "d431e0e9-8d05-4ca7-a0b2-6cf72313c6d6",
    "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": "pvscomponent-sde-payer"
    } ]
  }, {
    "id": "b5baeb14-bfba-4ad5-a150-8a5442d113f8",
    "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": "54129f83-97a7-4149-82c8-92ab0e8060ed",
    "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/PVSComponent" ],
  "package_version": "1.0.0",
  "extension": [ {
    "url": "http://hl7.org/fhir/uv/cqm/StructureDefinition/cqm-populationBasis",
    "valueCode": "boolean"
  }, {
    "url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-softwaresystem",
    "valueReference": {
      "reference": "Device/software-system-example"
    }
  }, {
    "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": [ "url", "extension", "value" ]
    }, {
      "type": "Immunization",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/Immunization" ],
      "codeFilter": [ {
        "path": "vaccineCode",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1027"
      } ],
      "mustSupport": [ "vaccineCode", "status", "occurrence" ]
    }, {
      "type": "Procedure",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/Procedure" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1034"
      } ],
      "mustSupport": [ "code", "status", "performed" ]
    }, {
      "type": "Procedure",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/Procedure" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"
      } ],
      "mustSupport": [ "code", "status", "performed" ]
    }, {
      "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.464.1003.101.12.1001"
      } ],
      "mustSupport": [ "type", "period", "status" ]
    }, {
      "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.526.3.1240"
      } ],
      "mustSupport": [ "type", "period", "status" ]
    }, {
      "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.464.1003.101.12.1025"
      } ],
      "mustSupport": [ "type", "period", "status" ]
    }, {
      "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.464.1003.101.12.1023"
      } ],
      "mustSupport": [ "type", "period", "status" ]
    }, {
      "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.464.1003.101.12.1016"
      } ],
      "mustSupport": [ "type", "period", "status" ]
    }, {
      "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.464.1003.101.11.1065"
      } ],
      "mustSupport": [ "type", "period", "status" ]
    }, {
      "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.464.1003.101.12.1012"
      } ],
      "mustSupport": [ "type", "period", "status" ]
    }, {
      "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.464.1003.101.12.1014"
      } ],
      "mustSupport": [ "type", "period", "status" ]
    }, {
      "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.666.5.307"
      } ],
      "mustSupport": [ "type", "status", "hospitalization", "hospitalization.dischargeDisposition", "period" ]
    }, {
      "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": "ServiceRequest",
      "profile": [ "http://hl7.org/fhir/StructureDefinition/ServiceRequest" ],
      "codeFilter": [ {
        "path": "code",
        "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"
      } ],
      "mustSupport": [ "code", "intent", "authoredOn" ]
    } ],
    "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": "428361000124107",
        "system": "http://snomed.info/sct",
        "display": "Discharge to home for hospice care (procedure)",
        "version": "http://snomed.info/sct/731000124108/version/201709"
      }
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode",
      "valueCoding": {
        "code": "428371000124100",
        "system": "http://snomed.info/sct",
        "display": "Discharge to healthcare facility for hospice care (procedure)",
        "version": "http://snomed.info/sct/731000124108/version/201709"
      }
    }, {
      "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": "PVSComponent"
      }, {
        "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": "PVSComponent"
      }, {
        "url": "name",
        "valueString": "Numerator"
      }, {
        "url": "statement",
        "valueString": "define \"Numerator\":   exists ( [Immunization: \"Pneumococcal Vaccine\"] PneumococcalVaccine         where PneumococcalVaccine.status = 'completed'           and PneumococcalVaccine.occurrence as dateTime on or before           end of \"Measurement Period\"     )       or exists ( [Procedure: \"Pneumococcal Vaccine Administered\"] PneumococcalVaccineGiven           where PneumococcalVaccineGiven.status = 'completed'             and PneumococcalVaccineGiven.performed as Period on or before             end of \"Measurement Period\"       )"
      }, {
        "url": "displaySequence",
        "valueInteger": 2
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "PVSComponent"
      }, {
        "url": "name",
        "valueString": "Qualifying Encounters"
      }, {
        "url": "statement",
        "valueString": "define \"Qualifying Encounters\":   ( [Encounter: \"Office Visit\"]       union [Encounter: \"Annual Wellness Visit\"]       union [Encounter: \"Preventive Care Services - Established Office Visit, 18 and Up\"]       union [Encounter: \"Preventive Care Services-Initial Office Visit, 18 and Up\"]       union [Encounter: \"Home Healthcare Services\"]       union [Encounter: \"Discharge Services - Nursing Facility\"]       union [Encounter: \"Nursing Facility Visit\"]       union [Encounter: \"Care Services in Long-Term Residential Facility\"] ) ValidEncounter       where ValidEncounter.period during \"Measurement Period\"         and ValidEncounter.status = 'finished'"
      }, {
        "url": "displaySequence",
        "valueInteger": 3
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "PVSComponent"
      }, {
        "url": "name",
        "valueString": "Initial Population"
      }, {
        "url": "statement",
        "valueString": "define \"Initial Population\":   Global.\"CalendarAgeInYearsAt\" ( FHIRHelpers.ToDate ( Patient.birthDate ), start of \"Measurement Period\" ) >= 65       and exists \"Qualifying Encounters\""
      }, {
        "url": "displaySequence",
        "valueInteger": 4
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "PVSComponent"
      }, {
        "url": "name",
        "valueString": "Denominator"
      }, {
        "url": "statement",
        "valueString": "define \"Denominator\":   \"Initial Population\""
      }, {
        "url": "displaySequence",
        "valueInteger": 5
      } ]
    }, {
      "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": 6
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "PVSComponent"
      }, {
        "url": "name",
        "valueString": "SDE Payer"
      }, {
        "url": "statement",
        "valueString": "define \"SDE Payer\":   SDE.\"SDE Payer\""
      }, {
        "url": "displaySequence",
        "valueInteger": 7
      } ]
    }, {
      "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": 8
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "PVSComponent"
      }, {
        "url": "name",
        "valueString": "SDE Ethnicity"
      }, {
        "url": "statement",
        "valueString": "define \"SDE Ethnicity\":   SDE.\"SDE Ethnicity\""
      }, {
        "url": "displaySequence",
        "valueInteger": 9
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "Hospice"
      }, {
        "url": "name",
        "valueString": "Has Hospice"
      }, {
        "url": "statement",
        "valueString": "define \"Has Hospice\":  exists (     [Encounter: \"Encounter Inpatient\"] DischargeHospice    where DischargeHospice.status = 'finished'       and (          DischargeHospice.hospitalization.dischargeDisposition ~ \"Discharge to home for hospice care (procedure)\"         or DischargeHospice.hospitalization.dischargeDisposition ~ \"Discharge to healthcare facility for hospice care (procedure)\"       )     and DischargeHospice.period ends during \"Measurement Period\"  )     or exists (       [ServiceRequest: \"Hospice care ambulatory\"] HospiceOrder         where HospiceOrder.intent = 'order'             and HospiceOrder.authoredOn in \"Measurement Period\"     )     or exists (       [Procedure: \"Hospice care ambulatory\"] HospicePerformed         where HospicePerformed.status = 'completed'           and Global.\"Normalize Interval\"(HospicePerformed.performed) overlaps \"Measurement Period\"     )"
      }, {
        "url": "displaySequence",
        "valueInteger": 10
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "PVSComponent"
      }, {
        "url": "name",
        "valueString": "Denominator Exclusions"
      }, {
        "url": "statement",
        "valueString": "define \"Denominator Exclusions\":   Hospice.\"Has Hospice\""
      }, {
        "url": "displaySequence",
        "valueInteger": 11
      } ]
    }, {
      "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": 12
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "PVSComponent"
      }, {
        "url": "name",
        "valueString": "SDE Race"
      }, {
        "url": "statement",
        "valueString": "define \"SDE Race\":   SDE.\"SDE Race\""
      }, {
        "url": "displaySequence",
        "valueInteger": 13
      } ]
    }, {
      "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": 14
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToString"
      }, {
        "url": "statement",
        "valueString": "define function ToString(value ImmunizationStatus): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 15
      } ]
    }, {
      "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": 16
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToString"
      }, {
        "url": "statement",
        "valueString": "define function ToString(value ProcedureStatus): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 17
      } ]
    }, {
      "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": 18
      } ]
    }, {
      "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": 19
      } ]
    }, {
      "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": 20
      } ]
    }, {
      "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": 21
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToString"
      }, {
        "url": "statement",
        "valueString": "define function ToString(value EncounterStatus): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 22
      } ]
    }, {
      "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": 23
      } ]
    }, {
      "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": 24
      } ]
    }, {
      "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": 25
      } ]
    }, {
      "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition",
      "extension": [ {
        "url": "libraryName",
        "valueString": "FHIRHelpers"
      }, {
        "url": "name",
        "valueString": "ToString"
      }, {
        "url": "statement",
        "valueString": "define function ToString(value ServiceRequestIntent): value.value"
      }, {
        "url": "displaySequence",
        "valueInteger": 26
      } ]
    } ],
    "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": "Library Hospice",
      "resource": "http://hl7.org/fhir/uv/cqm/Library/Hospice|2.0.000"
    }, {
      "type": "depends-on",
      "display": "Code system SNOMEDCT:2017-09",
      "resource": "http://snomed.info/sct|http://snomed.info/sct/731000124108/version/201709"
    }, {
      "type": "depends-on",
      "display": "Value set Pneumococcal Vaccine",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1027"
    }, {
      "type": "depends-on",
      "display": "Value set Pneumococcal Vaccine Administered",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.110.12.1034"
    }, {
      "type": "depends-on",
      "display": "Value set Office Visit",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1001"
    }, {
      "type": "depends-on",
      "display": "Value set Annual Wellness Visit",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.526.3.1240"
    }, {
      "type": "depends-on",
      "display": "Value set Preventive Care Services - Established Office Visit, 18 and Up",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1025"
    }, {
      "type": "depends-on",
      "display": "Value set Preventive Care Services-Initial Office Visit, 18 and Up",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1023"
    }, {
      "type": "depends-on",
      "display": "Value set Home Healthcare Services",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1016"
    }, {
      "type": "depends-on",
      "display": "Value set Discharge Services - Nursing Facility",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.11.1065"
    }, {
      "type": "depends-on",
      "display": "Value set Nursing Facility Visit",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1012"
    }, {
      "type": "depends-on",
      "display": "Value set Care Services in Long-Term Residential Facility",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.464.1003.101.12.1014"
    }, {
      "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 Encounter Inpatient",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.666.5.307"
    }, {
      "type": "depends-on",
      "display": "Value set Hospice care ambulatory",
      "resource": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1108.15"
    } ],
    "parameter": [ {
      "max": "1",
      "min": 0,
      "use": "in",
      "name": "Measurement Period",
      "type": "Period"
    }, {
      "max": "1",
      "min": 0,
      "use": "out",
      "name": "SDE Sex",
      "type": "Coding"
    }, {
      "max": "1",
      "min": 0,
      "use": "out",
      "name": "Numerator",
      "type": "boolean"
    }, {
      "max": "1",
      "min": 0,
      "use": "out",
      "name": "Denominator",
      "type": "boolean"
    }, {
      "max": "*",
      "min": 0,
      "use": "out",
      "name": "SDE Payer",
      "type": "Resource"
    }, {
      "max": "1",
      "min": 0,
      "use": "out",
      "name": "Initial Population",
      "type": "boolean"
    }, {
      "max": "*",
      "min": 0,
      "use": "out",
      "name": "SDE Ethnicity",
      "type": "Coding"
    }, {
      "max": "1",
      "min": 0,
      "use": "out",
      "name": "Denominator Exclusions",
      "type": "boolean"
    }, {
      "max": "*",
      "min": 0,
      "use": "out",
      "name": "SDE Race",
      "type": "Coding"
    } ]
  } ],
  "status": "active",
  "language": "en",
  "id": "7b70e9f4-4b9d-44b8-bca8-d0b97d42fd1c",
  "kind": null,
  "url": "http://hl7.org/fhir/uv/cqm/Measure/PVSComponent",
  "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/127v10",
    "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": "Pneumococcal Vaccination Status"
  }, {
    "value": "urn:oid:2.16.840.1.113883.4.642.40.61.29.13",
    "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"
  }
}