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

FHIR IG analytics

Packagesmart.who.int.cxca
Resource TypeStructureDefinition
IdStructureDefinition-CXCAD2.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/dhes/smart-dak-cxca/StructureDefinition-CXCAD2.html
URLhttp://smart.who.int/cxca/StructureDefinition/CXCAD2
Version0.0.1
Statusdraft
Date2026-05-14T00:50:23+00:00
NameCXCAD2
TitleCXCA.D2 — Cervical Cancer Screening Eligibility
DescriptionLogical 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.
Typehttp://smart.who.int/cxca/StructureDefinition/CXCAD2
Kindlogical

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

Generated Narrative: StructureDefinition CXCAD2

NameFlagsCard.TypeDescription & Constraintsdoco
.. CXCAD2 C0..*BaseCXCA.D2 — Cervical Cancer Screening Eligibility
Constraints: cxca-d2-screen-date-not-future
... clientAge 1..1integerClient's age in years on the encounter date
... lastHPVScreeningDate 0..1dateDate of the client's most recent HPV high-risk DNA screening, if any. Empty if never screened or unknown.
... hadHysterectomy 0..1booleanWhether the client has had a hysterectomy. Empty if unknown.
... eligibilityOutcome 0..1CodingThe 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).

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "CXCAD2",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "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"
          }
        ]
      }
    ]
  }
}