HIVIND19Logic
type: Library
node role: treeRoot
id:
  v: HIVIND19Logic
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.19 Logic Id: HIVIND19Logic Version: 0.4.4 Url: HIV.IND.19 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: Number of HIV tests performed (volume) and the % of HIV-positive results returned to people (positivity) 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 integer 0 1 Out denominator integer 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 TB Stratifier Coding 0 1 Out Stratification string 0 1 Out Content: text/cql /** * Library: HIV.IND.19 Logic * Ref No: HTS.2 * Short Name: HTS test volume and positivity * * Definition: Number of HIV tests performed (volume) and the % of HIV-positive results returned to people (positivity) * * Numerator: Number of tests conducted in which a new HIV-positive result or diagnosis was returned to a person during the reporting period (positivity) * Numerator Calculation: COUNT of tests with "HIV test result"='HIV-positive' AND (("Date HIV test results returned" in the reporting period) OR ("HIV diagnosis date" in the reporting period)) * Numerator Exclusions: Self-testing * * Denominator: Number of tests performed where results were returned to a person during the reporting period (testing volume) * Denominator Calculation: COUNT of tests with "HIV test date" AND "Date HIV test results returned" in the reporting period * Denominator Exclusions: Self-testing * * Disaggregations: * • Gender (female, male, other*) * • Age (0–4, 5–9, 10–14, 15–19, 20–24, 25–29, 30–34, 35–39, 40–44, 45–49, 50+ years)** * • Key populations (men who have sex…
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/HIVIND19Logic
  l: HIVIND19Logic
version:
  v: 0.4.4
name:
  v: HIVIND19Logic
title:
  v: HIV.IND.19 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: Number of HIV tests performed (volume) and the % of HIV-positive results returned to people (positivity)
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: integer
parameter:
  name:
    v: denominator
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: integer
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: TB Stratifier
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