CXCAD2DTScreeningEligibilityLogic
type: Library
node role: treeRoot
id:
  v: CXCAD2DTScreeningEligibilityLogic
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: CXCAD2DTScreeningEligibilityLogic Id: CXCAD2DTScreeningEligibilityLogic Version: 0.0.1 Url: CXCAD2DTScreeningEligibilityLogic Status: draft Type: system: http://terminology.hl7.org/CodeSystem/library-type code: logic-library Date: 2026-05-14 00:50:23+0000 Publisher: Dan Heslinga (independent contributor) Description: Decision support logic for cervical cancer screening eligibility (CXCA.D2). Encodes the binding eligibility rules from Mongolia MOH Order A/641 (2020) section 2.2. Source CQL is at input/cql/CXCAD2DTScreeningEligibilityLogic.cql. Related Artifacts: Dependencies CXCAElements Parameters: Name Type Min Max In/Out Today date 0 1 In HasRecentHPVScreening boolean 0 1 In HasRecentCytologyScreening boolean 0 1 In FacilityHasHPVCapability boolean 0 1 In Patient Patient 0 1 Out Client age integer 0 1 Out Client is at binding target age (35 or 45) boolean 0 1 Out Client is at programmatic target age (30 or 40) boolean 0 1 Out Client is due for HPV screening (legal binding) boolean 0 1 Out Client not due — already screened in current cycle (legal binding) boolean 0 1 Out Client excluded — outside target age range (legal binding) boolean 0 1 Out Client excluded — prior hysterectomy (legal binding) boolean 0 1 Out Client is at cytology pathway target age boolean 0 1 Out Client is due for cytology screening (legal binding) boolean 0 1 Out Client is due for HPV screening (programmatic) boolean 0 1 Out Client is due for HPV screening at age 35 boolean 0 1 Out Client is due for HPV screening at age 30 boolean 0 1 Out Content: text/cql /* * Library: CXCAD2DTScreeningEligibilityLogic * * Decision: Cervical cancer screening eligibility (HPV pathway) * L2 Source: A/641 (2020) section 2.2 — Mongolia binding screening eligibility rules * Trigger: CXCA.D2 — encounter with a woman in primary-care setting * * Phase 5 expansion: implements the full four-outcome eligibility tree * (Due, Not Due in Cycle, Outside Age Range, Excluded - Hysterectomy) * across both binding ages …
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability
    l: cqf-knowledgeCapability
  value: Code
    v: computable
url:
  v: http://smart.who.int/cxca/Library/CXCAD2DTScreeningEligibilityLogic
  l: CXCAD2DTScreeningEligibilityLogic
version:
  v: 0.0.1
name:
  v: CXCAD2DTScreeningEligibilityLogic
title:
  v: CXCAD2DTScreeningEligibilityLogic
status:
  v: draft
experimental:
  v: false
type:
  coding:
    system:
      v: http://terminology.hl7.org/CodeSystem/library-type
      l: library-type
    code:
      v: logic-library
date:
  v: 2026-05-14T00:50:23+00:00
publisher:
  v: Dan Heslinga (independent contributor)
contact:
  name:
    v: Dan Heslinga (independent contributor)
  telecom:
    system:
      v: url
    value:
      v: https://github.com/dhes
description:
  v: Decision support logic for cervical cancer screening eligibility (CXCA.D2). Encodes the binding eligibility rules from Mongolia MOH Order A/641 (2020) section 2.2. Source CQL is at input/cql/CXCAD2DTScreeningEligibilityLogic.cql.
related artifact:
  type:
    v: depends-on
  display:
    v: Library Elements
  resource:
    v: http://smart.who.int/cxca/Library/CXCAElements
    l: CXCAElements
parameter:
  name:
    v: Today
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: date
parameter:
  name:
    v: HasRecentHPVScreening
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: HasRecentCytologyScreening
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: FacilityHasHPVCapability
  use:
    v: in
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Patient
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: Patient
parameter:
  name:
    v: Client age
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: integer
parameter:
  name:
    v: Client is at binding target age (35 or 45)
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Client is at programmatic target age (30 or 40)
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Client is due for HPV screening (legal binding)
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Client not due — already screened in current cycle (legal binding)
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Client excluded — outside target age range (legal binding)
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean
parameter:
  name:
    v: Client excluded — prior hysterectomy (legal binding)
  use:
    v: out
  min:
    v: 0
  max:
    v: 1
  type:
    v: boolean

name:
  v: Client is at cytology pathway target age
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client is due for cytology screening (legal binding)
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client is due for HPV screening (programmatic)
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client is due for HPV screening at age 35
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

name:
  v: Client is due for HPV screening at age 30
use:
  v: out
min:
  v: 0
max:
  v: 1
type:
  v: boolean

content type:
  v: text/cql

content type:
  v: application/elm+xml