FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagesmart.who.int.cxca
Resource TypePlanDefinition
IdPlanDefinition-CXCAMNGD2DTScreeningEligibility-Programmatic.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/dhes/smart-dak-cxca/PlanDefinition-CXCAMNGD2DTScreeningEligibility-Programmatic.html
URLhttp://smart.who.int/cxca/PlanDefinition/CXCAMNGD2DTScreeningEligibility-Programmatic
Version0.0.1
Statusdraft
Date2026-05-14T00:50:23+00:00
NameCXCAMNGD2DTScreeningEligibilityProgrammatic
TitleCXCAMNG.D2.DT — Mongolia Programmatic Screening Eligibility (30/40 ages)
DescriptionMongolia overlay PlanDefinition encoding the April 2025 Cervical Cancer Elimination Programme launch's announced HPV screening ages (30 and 40). NOT a legally-binding rule — A/641 (2020) section 2.2 remains binding with 35/45 ages. Tagged bindingness = programmatic. Pairs with the legal-binding CXCAD2DTScreeningEligibility PlanDefinition; both reference the same CQL Library, each firing on a different rule.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Id: CXCAMNGD2DTScreeningEligibility-Programmatic
Url: CXCAMNG.D2.DT — Mongolia Programmatic Screening Eligibility (30/40 ages)
Version: 0.0.1
Title: CXCAMNG.D2.DT — Mongolia Programmatic Screening Eligibility (30/40 ages)
Status: draft
Type:

system: http://terminology.hl7.org/CodeSystem/plan-definition-type

code: eca-rule

Date: 2026-05-14 00:50:23+0000
Publisher: Dan Heslinga (independent contributor)
Description:

Mongolia overlay PlanDefinition encoding the April 2025 Cervical Cancer Elimination Programme launch's announced HPV screening ages (30 and 40). NOT a legally-binding rule — A/641 (2020) section 2.2 remains binding with 35/45 ages. Tagged bindingness = programmatic. Pairs with the legal-binding CXCAD2DTScreeningEligibility PlanDefinition; both reference the same CQL Library, each firing on a different rule.

Libraries:
CXCAD2DTScreeningEligibilityLogic
Actions:
Recommend HPV high-risk DNA screening at programmatic target age (Mongolia overlay): Per the April 2025 Cervical Cancer Elimination Programme launch, Mongolia announced HPV screening at ages 30 and 40. If the client is at one of those programmatic target ages, has not had a hysterectomy, and has not been screened in the current cycle, create a proposed ServiceRequest for HPV high-risk DNA testing. Note: this is a programmatic position only; A/641 section 2.2 (35/45) remains legally binding.
If: Applicability: (Client is due for HPV screening (programmatic))
Then: Definition: CXCAD2 — HPV Screening Service Request

Source1

{
  "resourceType": "PlanDefinition",
  "id": "CXCAMNGD2DTScreeningEligibility-Programmatic",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recommendationdefinition"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "contained": [
    {
      "resourceType": "Library",
      "id": "effective-data-requirements",
      "extension": [
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CXCAD2DTScreeningEligibilityLogic"
            },
            {
              "url": "name",
              "valueString": "Client age"
            },
            {
              "url": "statement",
              "valueString": "// =============================================================================\n// Helper definitions\n// =============================================================================\n\n/*\n * Client age in years at the encounter date.\n */\ndefine \"Client age\":\n  AgeInYearsAt(Today)"
            },
            {
              "url": "displaySequence",
              "valueInteger": 0
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CXCAD2DTScreeningEligibilityLogic"
            },
            {
              "url": "name",
              "valueString": "Client is at programmatic target age (30 or 40)"
            },
            {
              "url": "statement",
              "valueString": "/*\n * The client is at one of the programmatic-overlay target ages per the\n * April 2025 Cervical Cancer Elimination Programme launch announcement\n * (ages 30 and 40).\n */\ndefine \"Client is at programmatic target age (30 or 40)\":\n  \"Client age\" = 30 or \"Client age\" = 40"
            },
            {
              "url": "displaySequence",
              "valueInteger": 1
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CXCAElements"
            },
            {
              "url": "name",
              "valueString": "Hysterectomy Procedures"
            },
            {
              "url": "statement",
              "valueString": "// =============================================================================\n// Hysterectomy history\n// =============================================================================\n\n/*\n * @internal: All recorded hysterectomy procedures for this patient,\n *   filtered to status = completed.\n */\ndefine \"Hysterectomy Procedures\":\n  [Procedure] P\n    where P.status = 'completed'\n      and exists (P.code.coding C where C.code = 'DE45'\n                                     and C.system = 'http://smart.who.int/cxca/CodeSystem/CXCA.D')"
            },
            {
              "url": "displaySequence",
              "valueInteger": 2
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CXCAElements"
            },
            {
              "url": "name",
              "valueString": "Has Had Hysterectomy"
            },
            {
              "url": "statement",
              "valueString": "/*\n * The patient has a documented completed hysterectomy.\n *\n * NOTE: A/641 section 2.2 only excludes hysterectomy for non-cervical-cancer indication\n * with a documented negative post-op vaginal-smear cytology. This define\n * captures only the hysterectomy fact; the indication and post-op cytology\n * checks live in higher-layer logic that combines this define with others.\n */\ndefine \"Has Had Hysterectomy\":\n  exists \"Hysterectomy Procedures\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 3
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "CXCAD2DTScreeningEligibilityLogic"
            },
            {
              "url": "name",
              "valueString": "Client is due for HPV screening (programmatic)"
            },
            {
              "url": "statement",
              "valueString": "// =============================================================================\n// Programmatic-overlay eligibility — April 2025 launch's 30/40 announcement\n// Bindingness: programmatic (Mongolia overlay)\n// =============================================================================\n\n/*\n * @output: CXCA.D#DE4 \"Due for HPV screening\"\n * @bindingness: programmatic — Mongolia overlay\n * @source: WHO Mongolia news release, 22 April 2025.\n */\ndefine \"Client is due for HPV screening (programmatic)\":\n  \"Client is at programmatic target age (30 or 40)\"\n    and not Elements.\"Has Had Hysterectomy\"\n    and not \"HasRecentHPVScreening\""
            },
            {
              "url": "displaySequence",
              "valueInteger": 4
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToString"
            },
            {
              "url": "statement",
              "valueString": "define function ToString(value ProcedureStatus): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 5
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToString"
            },
            {
              "url": "statement",
              "valueString": "define function ToString(value string): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 6
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        },
        {
          "extension": [
            {
              "url": "libraryName",
              "valueString": "FHIRHelpers"
            },
            {
              "url": "name",
              "valueString": "ToString"
            },
            {
              "url": "statement",
              "valueString": "define function ToString(value uri): value.value"
            },
            {
              "url": "displaySequence",
              "valueInteger": 7
            }
          ],
          "url": "http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition"
        }
      ],
      "name": "EffectiveDataRequirements",
      "status": "active",
      "type": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/library-type",
            "code": "module-definition"
          }
        ]
      },
      "relatedArtifact": [
        {
          "type": "depends-on",
          "display": "FHIR model information",
          "resource": "http://fhir.org/guides/cqf/common/Library/FHIR-ModelInfo|4.0.1"
        },
        {
          "type": "depends-on",
          "display": "Library Elements",
          "resource": "http://smart.who.int/cxca/Library/CXCAElements"
        },
        {
          "type": "depends-on",
          "display": "Library FHIRHelpers",
          "resource": "http://fhir.org/guides/cqf/common/Library/FHIRHelpers|4.0.1"
        }
      ],
      "parameter": [
        {
          "name": "Today",
          "use": "in",
          "min": 0,
          "max": "1",
          "type": "date"
        },
        {
          "name": "HasRecentHPVScreening",
          "use": "in",
          "min": 0,
          "max": "1",
          "type": "boolean"
        },
        {
          "name": "Client is due for HPV screening (programmatic)",
          "use": "out",
          "min": 0,
          "max": "1",
          "type": "boolean"
        }
      ],
      "dataRequirement": [
        {
          "type": "Patient",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Patient"
          ]
        },
        {
          "type": "Procedure",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Procedure"
          ],
          "mustSupport": [
            "status",
            "code",
            "code.coding"
          ]
        },
        {
          "type": "Procedure",
          "profile": [
            "http://hl7.org/fhir/StructureDefinition/Procedure"
          ],
          "mustSupport": [
            "status",
            "code",
            "code.coding"
          ]
        }
      ]
    }
  ],
  "extension": [
    {
      "url": "http://smart.who.int/cxca/StructureDefinition/cxca-bindingness",
      "valueCoding": {
        "system": "http://smart.who.int/cxca/CodeSystem/CXCA.Bindingness",
        "code": "programmatic",
        "display": "Programmatic — announced position not yet binding"
      }
    },
    {
      "url": "http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements",
      "valueCanonical": "#effective-data-requirements"
    }
  ],
  "url": "http://smart.who.int/cxca/PlanDefinition/CXCAMNGD2DTScreeningEligibility-Programmatic",
  "version": "0.0.1",
  "name": "CXCAMNGD2DTScreeningEligibilityProgrammatic",
  "title": "CXCAMNG.D2.DT — Mongolia Programmatic Screening Eligibility (30/40 ages)",
  "type": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/plan-definition-type",
        "code": "eca-rule"
      }
    ]
  },
  "status": "draft",
  "experimental": false,
  "date": "2026-05-14T00:50:23+00:00",
  "publisher": "Dan Heslinga (independent contributor)",
  "contact": [
    {
      "name": "Dan Heslinga (independent contributor)",
      "telecom": [
        {
          "system": "url",
          "value": "https://github.com/dhes"
        }
      ]
    }
  ],
  "description": "Mongolia overlay PlanDefinition encoding the April 2025 Cervical Cancer Elimination Programme launch's announced HPV screening ages (30 and 40). NOT a legally-binding rule — A/641 (2020) section 2.2 remains binding with 35/45 ages. Tagged bindingness = programmatic. Pairs with the legal-binding CXCAD2DTScreeningEligibility PlanDefinition; both reference the same CQL Library, each firing on a different rule.",
  "library": [
    "http://smart.who.int/cxca/Library/CXCAD2DTScreeningEligibilityLogic"
  ],
  "action": [
    {
      "title": "Recommend HPV high-risk DNA screening at programmatic target age (Mongolia overlay)",
      "description": "Per the April 2025 Cervical Cancer Elimination Programme launch, Mongolia announced HPV screening at ages 30 and 40. If the client is at one of those programmatic target ages, has not had a hysterectomy, and has not been screened in the current cycle, create a proposed ServiceRequest for HPV high-risk DNA testing. Note: this is a programmatic position only; A/641 section 2.2 (35/45) remains legally binding.",
      "condition": [
        {
          "kind": "applicability",
          "expression": {
            "language": "text/cql-identifier",
            "expression": "Client is due for HPV screening (programmatic)"
          }
        }
      ],
      "definitionCanonical": "http://smart.who.int/cxca/ActivityDefinition/CXCAD2HPVScreeningServiceRequest"
    }
  ]
}