HIVIND28Logic
type: Library
node role: treeRoot
id:
  v: HIVIND28Logic
meta:
  profile:
    v: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablelibrary
    l: crmi-shareablelibrary
  profile:
    v: http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishablelibrary
    l: crmi-publishablelibrary
  profile:
    v: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-library
    l: cql-library
  profile:
    v: http://hl7.org/fhir/uv/cql/StructureDefinition/cql-module
    l: cql-module
text:
  status:
    v: extensions
  div:
    v: Title: HIV.IND.28 Logic Id: HIVIND28Logic Version: 0.4.4 Url: HIV.IND.28 Logic Status: draft Experimental: true Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2025-12-08 16:41:10+0000 Publisher: WHO Description: Number and % of people living with HIV on ART at the end of the last reporting period and those newly initiating ART during the current reporting period who were not on ART at the end of the current reporting period Related Artifacts: Dependencies http://smart.who.int/hiv/Library/HIVCommon|0.0.1 WHOCommon HIVElements HIVIndicatorElements HIVConcepts HIVConfig Parameters: Name Type Min Max In/Out Measurement Period Period 0 1 In Patient Patient 0 1 Out Initial Population boolean 0 1 Out numerator boolean 0 1 Out denominator boolean 0 1 Out Administrative Gender Stratifier Coding 0 1 Out Age Stratifier string 0 1 Out Geographic Region Stratifier string 0 1 Out patientGroups Stratifier string 0 * Out Treatment outcome category Stratifier string 0 * Out Stratification string 0 1 Out Data Requirements: Type Profile MS Code Filter EpisodeOfCare http://hl7.org/fhir/StructureDefinition/EpisodeOfCare EpisodeOfCare http://hl7.org/fhir/StructureDefinition/EpisodeOfCare Content: text/cql /** * Library: HIV.IND.28 Logic * Ref No: ART.2 * Short Name: Total attrition from ART * * Definition: Number and % of people living with HIV on ART at the end of the last reporting period and those newly initiating ART during the current reporting period who were not on ART at the end of the current reporting period * * Numerator: *Number of people living with HIV reported on ART at the end of the last reporting period | plus | Number of people living with HIV newly initiated on ART during the current reporting period | minus | Total number of people living with HIV on ART at the end of the current reporting period * Numerator Calculation: COUNT of clients with "HIV status"='HIV-positive' AND "On ART"=True at the end of previous reporting per…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability
    l: cqf-knowledgeCapability
  value: Code
    v: computable
url:
  v: http://smart.who.int/hiv/Library/HIVIND28Logic
  l: HIVIND28Logic
version:
  v: 0.4.4
name:
  v: HIVIND28Logic
title:
  v: HIV.IND.28 Logic
status:
  v: draft
experimental:
  v: true
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2025-12-08T16:41:10+00:00
publisher:
  v: WHO
contact:
  name:
    v: WHO
  telecom:
    system:
      v: url
    value:
      v: http://who.int
description:
  v: Number and % of people living with HIV on ART at the end of the last reporting period and those newly initiating ART during the current reporting period who were not on ART at the end of the current reporting period
related artifact:
  type:
    v: depends-on
  display:
    v: Library HIC
  resource:
    v: http://smart.who.int/hiv/Library/HIVCommon|0.0.1
    l: http://smart.who.int/hiv/Library/HIVCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library WCom
  resource:
    v: http://smart.who.int/hiv/Library/WHOCommon
    l: WHOCommon
related artifact:
  type:
    v: depends-on
  display:
    v: Library HE
  resource:
    v: http://smart.who.int/hiv/Library/HIVElements
    l: HIVElements
related artifact:
  type:
    v: depends-on
  display:
    v: Library HIE
  resource:
    v: http://smart.who.int/hiv/Library/HIVIndicatorElements
    l: HIVIndicatorElements
related artifact:
  type:
    v: depends-on
  display:
    v: Library Concepts
  resource:
    v: http://smart.who.int/hiv/Library/HIVConcepts
    l: HIVConcepts
related artifact:
  type:
    v: depends-on
  display:
    v: Library Config
  resource:
    v: http://smart.who.int/hiv/Library/HIVConfig
    l: HIVConfig
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: Initial Population
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: numerator
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: denominator
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Administrative Gender Stratifier
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Coding
parameter:
  name:
    v: Age Stratifier
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: string
parameter:
  name:
    v: Geographic Region Stratifier
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: string
parameter:
  name:
    v: patientGroups Stratifier

v: out

v: 0

v: *

v: string

name:
  v: Treatment outcome category Stratifier
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: string

name:
  v: Stratification
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: string

type:
  v: EpisodeOfCare
profile:
  v: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare
  l: EpisodeOfCare

type:
  v: EpisodeOfCare
profile:
  v: http://hl7.org/fhir/StructureDefinition/EpisodeOfCare
  l: EpisodeOfCare

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json