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

Logical Model: CXCAD2 - JSON Profile

Draft as of 2026-05-14

JSON representation of the CXCAD2 logical model.

Raw json | Download

{
  "resourceType" : "StructureDefinition",
  "id" : "CXCAD2",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition CXCAD2</b></p><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CXCAD2-definitions.html#CXCAD2\" title=\"Logical model for the inputs and output of the cervical cancer screening eligibility decision (D2). Paired with the QCXCAD2 Questionnaire for data capture and consumed by the CXCAD2DTScreeningEligibilityLogic CQL library. Reflects the binding eligibility rules in Mongolia MOH Order A/641 (2020) section 2.2. Note: the LogicalModel ID is `CXCAD2` (no period) because periods in LogicalModel IDs collide with FSH path generation; the human-readable title preserves the `CXCA.D2` notation.\">CXCAD2</a><a name=\"CXCAD2\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;; padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints ( cxca-d2-screen-date-not-future )\">C</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/types.html#Base\">Base</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">CXCA.D2 — Cervical Cancer Screening Eligibility<br class=\"constraint\"/><span title=\"null\" class=\"constraint\">Constraints: </span><span style=\"font-weight:bold\" title=\"Last HPV screening date cannot be in the future\" class=\"constraint\">cxca-d2-screen-date-not-future</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CXCAD2-definitions.html#CXCAD2.clientAge\" title=\"Client's age in years on the encounter date\">clientAge</a><a name=\"CXCAD2.clientAge\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Client's age in years on the encounter date</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CXCAD2-definitions.html#CXCAD2.lastHPVScreeningDate\" title=\"Date of the client's most recent HPV high-risk DNA screening, if any. Empty if never screened or unknown.\">lastHPVScreeningDate</a><a name=\"CXCAD2.lastHPVScreeningDate\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#date\">date</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Date of the client's most recent HPV high-risk DNA screening, if any. Empty if never screened or unknown.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CXCAD2-definitions.html#CXCAD2.hadHysterectomy\" title=\"Whether the client has had a hysterectomy. Empty if unknown.\">hadHysterectomy</a><a name=\"CXCAD2.hadHysterectomy\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Whether the client has had a hysterectomy. Empty if unknown.</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-CXCAD2-definitions.html#CXCAD2.eligibilityOutcome\" title=\"The decision output. Bound to CXCA.D codes DE4 (Due), DE5 (Not due — already screened in cycle), DE6 (Excluded — outside target age), or DE7 (Excluded — prior hysterectomy).\">eligibilityOutcome</a><a name=\"CXCAD2.eligibilityOutcome\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">The decision output. Bound to CXCA.D codes DE4 (Due), DE5 (Not due — already screened in cycle), DE6 (Excluded — outside target age), or DE7 (Excluded — prior hysterectomy).</td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
  },
  "url" : "http://smart.who.int/cxca/StructureDefinition/CXCAD2",
  "version" : "0.0.1",
  "name" : "CXCAD2",
  "title" : "CXCA.D2 — Cervical Cancer Screening Eligibility",
  "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" : "Logical model for the inputs and output of the cervical cancer screening eligibility decision (D2). Paired with the QCXCAD2 Questionnaire for data capture and consumed by the CXCAD2DTScreeningEligibilityLogic CQL library. Reflects the binding eligibility rules in Mongolia MOH Order A/641 (2020) section 2.2. Note: the LogicalModel ID is `CXCAD2` (no period) because periods in LogicalModel IDs collide with FSH path generation; the human-readable title preserves the `CXCA.D2` notation.",
  "fhirVersion" : "4.0.1",
  "kind" : "logical",
  "abstract" : false,
  "type" : "http://smart.who.int/cxca/StructureDefinition/CXCAD2",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation" : "specialization",
  "snapshot" : {
    "extension" : [
      {
        "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString" : "4.0.1"
      }
    ],
    "element" : [
      {
        "id" : "CXCAD2",
        "path" : "CXCAD2",
        "short" : "CXCA.D2 — Cervical Cancer Screening Eligibility",
        "definition" : "Logical model for the inputs and output of the cervical cancer screening eligibility decision (D2). Paired with the QCXCAD2 Questionnaire for data capture and consumed by the CXCAD2DTScreeningEligibilityLogic CQL library. Reflects the binding eligibility rules in Mongolia MOH Order A/641 (2020) section 2.2. Note: the LogicalModel ID is `CXCAD2` (no period) because periods in LogicalModel IDs collide with FSH path generation; the human-readable title preserves the `CXCA.D2` notation.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Base",
          "min" : 0,
          "max" : "*"
        },
        "constraint" : [
          {
            "key" : "cxca-d2-screen-date-not-future",
            "severity" : "error",
            "human" : "Last HPV screening date cannot be in the future",
            "expression" : "lastHPVScreeningDate.empty() or lastHPVScreeningDate <= today()",
            "source" : "http://smart.who.int/cxca/StructureDefinition/CXCAD2"
          }
        ],
        "isModifier" : false
      },
      {
        "id" : "CXCAD2.clientAge",
        "path" : "CXCAD2.clientAge",
        "short" : "Client's age in years on the encounter date",
        "definition" : "Client's age in years on the encounter date",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CXCAD2.clientAge",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "CXCAD2.lastHPVScreeningDate",
        "path" : "CXCAD2.lastHPVScreeningDate",
        "short" : "Date of the client's most recent HPV high-risk DNA screening, if any. Empty if never screened or unknown.",
        "definition" : "Date of the client's most recent HPV high-risk DNA screening, if any. Empty if never screened or unknown.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CXCAD2.lastHPVScreeningDate",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "CXCAD2.hadHysterectomy",
        "path" : "CXCAD2.hadHysterectomy",
        "short" : "Whether the client has had a hysterectomy. Empty if unknown.",
        "definition" : "Whether the client has had a hysterectomy. Empty if unknown.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CXCAD2.hadHysterectomy",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "CXCAD2.eligibilityOutcome",
        "path" : "CXCAD2.eligibilityOutcome",
        "short" : "The decision output. Bound to CXCA.D codes DE4 (Due), DE5 (Not due — already screened in cycle), DE6 (Excluded — outside target age), or DE7 (Excluded — prior hysterectomy).",
        "definition" : "The decision output. Bound to CXCA.D codes DE4 (Due), DE5 (Not due — already screened in cycle), DE6 (Excluded — outside target age), or DE7 (Excluded — prior hysterectomy).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CXCAD2.eligibilityOutcome",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "CXCAD2",
        "path" : "CXCAD2",
        "short" : "CXCA.D2 — Cervical Cancer Screening Eligibility",
        "definition" : "Logical model for the inputs and output of the cervical cancer screening eligibility decision (D2). Paired with the QCXCAD2 Questionnaire for data capture and consumed by the CXCAD2DTScreeningEligibilityLogic CQL library. Reflects the binding eligibility rules in Mongolia MOH Order A/641 (2020) section 2.2. Note: the LogicalModel ID is `CXCAD2` (no period) because periods in LogicalModel IDs collide with FSH path generation; the human-readable title preserves the `CXCA.D2` notation.",
        "constraint" : [
          {
            "key" : "cxca-d2-screen-date-not-future",
            "severity" : "error",
            "human" : "Last HPV screening date cannot be in the future",
            "expression" : "lastHPVScreeningDate.empty() or lastHPVScreeningDate <= today()",
            "source" : "http://smart.who.int/cxca/StructureDefinition/CXCAD2"
          }
        ]
      },
      {
        "id" : "CXCAD2.clientAge",
        "path" : "CXCAD2.clientAge",
        "short" : "Client's age in years on the encounter date",
        "definition" : "Client's age in years on the encounter date",
        "min" : 1,
        "max" : "1",
        "type" : [
          {
            "code" : "integer"
          }
        ]
      },
      {
        "id" : "CXCAD2.lastHPVScreeningDate",
        "path" : "CXCAD2.lastHPVScreeningDate",
        "short" : "Date of the client's most recent HPV high-risk DNA screening, if any. Empty if never screened or unknown.",
        "definition" : "Date of the client's most recent HPV high-risk DNA screening, if any. Empty if never screened or unknown.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "date"
          }
        ]
      },
      {
        "id" : "CXCAD2.hadHysterectomy",
        "path" : "CXCAD2.hadHysterectomy",
        "short" : "Whether the client has had a hysterectomy. Empty if unknown.",
        "definition" : "Whether the client has had a hysterectomy. Empty if unknown.",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "boolean"
          }
        ]
      },
      {
        "id" : "CXCAD2.eligibilityOutcome",
        "path" : "CXCAD2.eligibilityOutcome",
        "short" : "The decision output. Bound to CXCA.D codes DE4 (Due), DE5 (Not due — already screened in cycle), DE6 (Excluded — outside target age), or DE7 (Excluded — prior hysterectomy).",
        "definition" : "The decision output. Bound to CXCA.D codes DE4 (Due), DE5 (Not due — already screened in cycle), DE6 (Excluded — outside target age), or DE7 (Excluded — prior hysterectomy).",
        "min" : 0,
        "max" : "1",
        "type" : [
          {
            "code" : "Coding"
          }
        ]
      }
    ]
  }
}