HIVC7DTLogic
type: Library
node role: treeRoot
id:
  v: HIVC7DTLogic
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.C7.DT Logic Id: HIVC7DTLogic Version: 0.4.4 Url: HIV.C7.DT 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: HIV.C7.DT Logic Related Artifacts: Dependencies http://smart.who.int/hiv/Library/HIVCommon|0.0.1 HIVConcepts HIVConfig HIVEncounterElements WHOCommon Parameters: Name Type Min Max In/Out HIV negative boolean 0 1 Out HIV negative or unknown boolean 0 1 Out Estimated creatinine clearance ≥ 60 mL/min boolean 0 1 Out Estimated creatinine clearance < 60 mL/min boolean 0 1 Out No symptoms of Acute HIV infection boolean 0 1 Out Symptoms of Acute HIV infection boolean 0 1 Out No probable recent exposure to HIV boolean 0 1 Out Probable recent exposure to HIV boolean 0 1 Out No contraindications to PrEP usage boolean 0 1 Out Contraindications to PrEP usage boolean 0 1 Out TDF allergy or contraindication boolean 0 1 Out HIV status of partner or contact is positive boolean 0 1 Out Sex partner is on HIV treatment and not virally suppressed boolean 0 1 Out Is Key population member boolean 0 1 Out HIV burden of setting is high HIV burden setting boolean 0 1 Out PrEP requested by client boolean 0 1 Out A sexual partner in the past 6 months had one or more HIV risk factors boolean 0 1 Out STI in the past 6 months boolean 0 1 Out No condom use during sex with more than one partner in the past 6 months boolean 0 1 Out Repeat PEP user boolean 0 1 Out Suitable for PrEP boolean 0 1 Out Not suitable for PrEP boolean 0 1 Out Guidance string 0 1 Out Content: text/cql /** Library: HIV.C7.DT Logic @DecisionID: HIV.C7.DT @BusinessRule: Check suitability for PrEP or PEP @Trigger: HIV.C7 Check suitability for PrEP or PEP @HitPolicy: Rule Order @Description: Check suitability for PrEP or PEP Data Concepts: * HIV.B.DE49: Key population member | Client is a member of a key population that has an increased risk of HIV * HIV.B.DE115: HIV status | HIV s…
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/HIVC7DTLogic
  l: HIVC7DTLogic
version:
  v: 0.4.4
name:
  v: HIVC7DTLogic
title:
  v: HIV.C7.DT 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: HIV.C7.DT Logic
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 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
related artifact:
  type:
    v: depends-on
  display:
    v: Library Elements
  resource:
    v: http://smart.who.int/hiv/Library/HIVEncounterElements
    l: HIVEncounterElements
related artifact:
  type:
    v: depends-on
  display:
    v: Library WCom
  resource:
    v: http://smart.who.int/hiv/Library/WHOCommon
    l: WHOCommon
parameter:
  name:
    v: HIV negative
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: HIV negative or unknown
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Estimated creatinine clearance ≥ 60 mL/min
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Estimated creatinine clearance < 60 mL/min
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: No symptoms of Acute HIV infection
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Symptoms of Acute HIV infection
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: No probable recent exposure to HIV
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Probable recent exposure to HIV
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: No contraindications to PrEP usage
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean

name:
  v: Contraindications to PrEP usage
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: TDF allergy or contraindication
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: HIV status of partner or contact is positive
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Sex partner is on HIV treatment and not virally suppressed
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Is Key population member
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: HIV burden of setting is high HIV burden setting
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: PrEP requested by client
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: A sexual partner in the past 6 months had one or more HIV risk factors
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: STI in the past 6 months
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: No condom use during sex with more than one partner in the past 6 months
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Repeat PEP user
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Suitable for PrEP
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Not suitable for PrEP
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

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