HIVIND35Logic
type: Library
node role: treeRoot
id:
  v: HIVIND35Logic
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.35 Logic Id: HIVIND35Logic Version: 0.4.4 Url: HIV.IND.35 Logic Status: draft Experimental: true Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2025-12-10 09:22:27+0000 Publisher: WHO Description: % of ART patients with treatment-limiting ARV toxicity Related Artifacts: Dependencies http://smart.who.int/hiv/Library/HIVCommon|0.0.1 WHOCommon HIVElements HIVIndicatorElements 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 6 string 0 1 Out Geographic Region Stratifier string 0 1 Out patientGroups Stratifier string 0 * Out Current ART regimen Coding 0 1 Out pregnancy stratifier Coding 0 1 Out Type of treatment-limiting toxicity Coding 0 1 Out Stratification string 0 1 Out Content: text/cql /** * Library: HIV.IND.35 Logic * Ref No: ART.9 * Short Name: ARV toxicity prevalence * * Definition: % of ART patients with treatment-limiting ARV toxicity * * Numerator: Number of ART patients who have stopped treatment or switched regimen due to toxicity in the reporting period * Numerator Calculation: COUNT of clients with "HIV status"='HIV-positive' with a "Date ART stopped" in the reporting period AND "Reason ART stopped"='Toxicity/side effects' | PLUS | COUNT of clients with "HIV status"='HIV-positive' AND "On ART"=True AND either "Date of switch to second-line regimen" OR "Date of switch to third-line regimen" in the reporting period with a "Reason for regimen switch"='Toxicity/side effects' | PLUS | COUNT of clients with "HIV status"='HIV-positive' AND "On ART"=True AND either "Date(s) of substitution within second-line regimen" OR "Date(s) of substitution within third-line regimen" in the reporting period AND "Reason for ARV drug regimen substitution"='Toxicity/side effects' * Numerator Exclusions: * * Denominator: Number …
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/HIVIND35Logic
  l: HIVIND35Logic
version:
  v: 0.4.4
name:
  v: HIVIND35Logic
title:
  v: HIV.IND.35 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-10T09:22:27+00:00
publisher:
  v: WHO
contact:
  name:
    v: WHO
  telecom:
    system:
      v: url
    value:
      v: http://who.int
description:
  v: % of ART patients with treatment-limiting ARV toxicity
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
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 6
  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
  use:
    v: out
  min:
    v: 0
  max:
    v: *
  type:
    v: string
parameter:
  name:
    v: Current ART regimen
  use:
    v: out
  min:
    v: 0
  max:
    v: 1

v: Coding

name:
  v: pregnancy stratifier
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Coding

name:
  v: Type of treatment-limiting toxicity
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: Coding

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

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json