StratificationEncounterExample
type: Library
node role: treeRoot
id:
  v: StratificationEncounterExample
text:
  status:
    v: extensions
  div:
    v: Exception generating Narrative: Malformed XHTML: Found "" expecting "</DateTime>" at line 612 column 8
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
  value: integer
    v: 1
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
  value: code
    v: cds
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
  value: code
    v: informative
url:
  v: https://madie.cms.gov/Library/StratificationEncounterExample
version:
  v: 2026.1.0
name:
  v: StratificationEncounterExample
title:
  v: Stratification Encounter Example
status:
  v: active
experimental:
  v: false
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
    code:
      v: logic-library
date:
  v: 2026-06-16T17:19:32+00:00
description:
  v: StratificationEncounterExample logic.
topic:
  text:
    v: FHIR
topic:
  text:
    v: CQL
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRHelpers
  resource:
    v: http://hl7.org/fhir/uv/cql/Library/FHIRHelpers|4.0.1
    link: 4.0
    link: .1
related artifact:
  type:
    v: depends-on
  display:
    v: Library FHIRCommon
  resource:
    v: http://hl7.org/fhir/uv/cql/Library/FHIRCommon|2.0.0
    link: 2.0
    link: .0
related artifact:
  type:
    v: depends-on
  display:
    v: Library PatientCommon
  resource:
    v: https://madie.cms.gov/Library/PatientCommon
    link: https://madie.cms.gov/Library/PatientCommon
parameter:
  name:
    v: Measurement Period
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: Period
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Well-Visit Encounter
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Encounter
parameter:
  name:
    v: Blood Pressure Observation
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Observation
parameter:
  name:
    v: Initial Population
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Encounter
parameter:
  name:
    v: Denominator
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Encounter
parameter:
  name:
    v: Numerator
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Encounter
parameter:
  name:
    v: Stratifier P0Y--P21Y
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Encounter
parameter:
  name:
    v: Stratifier P21Y--P41Y
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Encounter
parameter:
  name:
    v: Stratifier P41Y--P9999Y
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: Encounter
data requirement:
  type:
    v: Encounter
  profile:
    v: http://hl7.org/fhir/StructureDefinition/Encounter
    link: http://hl7.org/fhir/StructureDefinition/Encounter
data requirement:
  type:
    v: Observation
  profile:
    v: http://hl7.org/fhir/StructureDefinition/Observation
    link: http://hl7.org/fhir/StructureDefinition/Observation

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json