HIVIND3Logic
type: Library
node role: treeRoot
id:
  v: HIVIND3Logic
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.3 Logic Id: HIVIND3Logic Version: 0.4.4 Url: HIV.IND.3 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 people prescribed PrEP among those identified as being at elevated risk for HIV acquisition 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 string 0 1 Out Geographic Region Stratifier string 0 1 Out patientGroups Stratifier string 0 * Out Setting Coding 0 1 Out prep product string 0 * Out prep_experience string 0 * Out prep_dosing string 0 * Out Stratification string 0 1 Out Content: text/cql /** * Library: HIV.IND.3 Logic * Ref No: PRV.3 * Short Name: PrEP coverage * * Definition: % of people prescribed PrEP among those identified as being at elevated risk for HIV acquisition * * Numerator: Number of unique individuals prescribed or dispensed any form of PrEP at least once during the reporting period. Individuals prescribed different products or regimens at different times during the reporting period should be counted only once. * Numerator Calculation: Count of clients with "Date medications prescribed" within reporting period AND "Medications prescribed"='PrEP for HIV prevention' * Numerator Exclusions: * * Denominator: a) Programme/service provider level: number of individuals who received a negative HIV test during the reporting period and identified as being at elevated risk for HIV acquisition (includes people requesting/receiving any HIV prevention intervention, people from key populations, people with known risk factors or assessed as being at risk of HIV acquisition) | | b) Population le…
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/HIVIND3Logic
  l: HIVIND3Logic
version:
  v: 0.4.4
name:
  v: HIVIND3Logic
title:
  v: HIV.IND.3 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 people prescribed PrEP among those identified as being at elevated risk for HIV acquisition
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
  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: Setting
  use:
    v: out
  min:
    v: 0
  max:
    v: 1

v: Coding

name:
  v: prep product
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: string

name:
  v: prep_experience
use:
  v: out
min:
  v: 0
max:
  v: *
type:
  v: string

name:
  v: prep_dosing
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

content type:
  v: text/cql

content type:
  v: application/elm+xml

content type:
  v: application/elm+json