SMART DAK Cervical Cancer Screening
0.0.1 - ci-build

SMART DAK Cervical Cancer Screening, published by Dan Heslinga (independent contributor). This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/dhes/smart-dak-cxca/ and changes regularly. See the Directory of published versions

: CXCAMNG.D2.DT — Mongolia Programmatic Screening Eligibility (30/40 ages) - JSON Representation

Draft as of 2026-05-14

Raw json | Download

{
  "resourceType" : "PlanDefinition",
  "id" : "CXCAMNGD2DTScreeningEligibility-Programmatic",
  "meta" : {
    "profile" : [
      🔗 "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-recommendationdefinition"
    ]
  },
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<div>\n    <table class=\"grid dict\">\n        \n        <tr>\n            <th scope=\"row\"><b>Id: </b></th>\n            <td style=\"padding-left: 4px;\">CXCAMNGD2DTScreeningEligibility-Programmatic</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Url: </b></th>\n            <td style=\"padding-left: 4px;\"><a href=\"PlanDefinition-CXCAMNGD2DTScreeningEligibility-Programmatic.html\">CXCAMNG.D2.DT — Mongolia Programmatic Screening Eligibility (30/40 ages)</a></td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Version: </b></th>\n            <td style=\"padding-left: 4px;\">0.0.1</td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Title: </b></th>\n            <td style=\"padding-left: 4px;\">CXCAMNG.D2.DT — Mongolia Programmatic Screening Eligibility (30/40 ages)</td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Status: </b></th>\n            <td style=\"padding-left: 4px;\">draft</td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Type: </b></th>\n            <td style=\"padding-left: 4px;\">\n                \n                    \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>system: </b> <span><a href=\"http://terminology.hl7.org/7.1.0/CodeSystem-plan-definition-type.html\">http://terminology.hl7.org/CodeSystem/plan-definition-type</a></span>\n                        </p>\n                        \n                        \n                        <p style=\"margin-bottom: 5px;\">\n                            <b>code: </b> <span>eca-rule</span>\n                        </p>\n                        \n                        \n                    \n                \n                \n            </td>\n        </tr>\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Date: </b></th>\n            <td style=\"padding-left: 4px;\">2026-05-14 00:50:23+0000</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Publisher: </b></th>\n            <td style=\"padding-left: 4px;\">Dan Heslinga (independent contributor)</td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Description: </b></th>\n            <td style=\"padding-left: 4px;\"><div><p>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.</p>\n</div></td>\n        </tr>\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Libraries: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    \n                    <tr>\n                        <td><a href=\"Library-CXCAD2DTScreeningEligibilityLogic.html\">CXCAD2DTScreeningEligibilityLogic</a></td>\n                    </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n\n        \n        <tr>\n            <th scope=\"row\"><b>Actions: </b></th>\n            <td style=\"padding-left: 4px;\">\n                <table class=\"grid-dict\">\n                    \n                    <tr>\n                        <td>\n                            \n                            <b> Recommend HPV high-risk DNA screening at programmatic target age (Mongolia overlay):</b> 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.\n                            \n                            <br/>\n                            \n                            \n                            <b>If:</b>\n                            \n                            <i>Applicability:</i>\n                            \n                            <i>(Client is due for HPV screening (programmatic))</i>\n                            <br/>\n                            \n                            \n                            \n                            \n                            <b>Then:</b> <i>Definition:</i> <a href=\"ActivityDefinition-CXCAD2HPVScreeningServiceRequest.html\">CXCAD2 — HPV Screening Service Request</a><br/>\n                            \n                            \n                            \n                        </td>\n                    </tr>\n                    \n                </table>\n            </td>\n        </tr>\n        \n    </table>\n</div>\n</div>"
  },
  "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"
    }
  ]
}