Using CQL With FHIR
3.0.0-ballot - STU 3 Ballot

Using CQL With FHIR - Downloaded Version null See the Directory of published versions

## : CQL Context Declaration Codes

Page standards status: Trial-use | Maturity Level: 1

Raw json | Download

    {
      "resourceType" : "CodeSystem",
      "id" : "cql-context-declaration-codes",
      "meta" : {
        "profile" : [
          🔗 "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"
        ]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem cql-context-declaration-codes</b></p><a name=\"cql-context-declaration-codes\"> </a><a name=\"hccql-context-declaration-codes\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/R4/shareablecodesystem.html\">Shareable CodeSystem</a></p></div><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>status</td><td>status</td><td>http://hl7.org/fhir/concept-properties#status</td><td>code</td><td>A property that indicates the status of the concept. If the property is identified by this URL, then it SHALL use at least these status values (where appropriate):\\n\\n* active - the concept is for normal use\\n* experimental - provided for trial, but may be removed in the future\\n* deprecated - planned to be removed from use\\n* retired - still present for historical reasons, but no longer allowed to be used\\n\\nThe HL7 defined code systems (whether defined by the FHIR project, the V3 framework, or the V2 standard) all use this property to define their status. HL7 uses `active` (and considers this the default status), and deprecated and retired (= inactive).</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://cql.hl7.org/CodeSystem/cql-context-declaration-codes</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Definition</b></td><td><b>status</b></td></tr><tr><td style=\"white-space:nowrap\">Unfiltered<a name=\"cql-context-declaration-codes-Unfiltered\"> </a></td><td>Indicates that the expressions and function definitions that follow in the library are not restricted to a particular context, as opposed to, for example, a model-defined Patient context, indicating that statements will be filtered to the particular patient in context.</td><td/></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">Population<a name=\"cql-context-declaration-codes-Population\"> </a></td><td>Indicates that the expressions and function definitions that follow in the library are not restricted to a particular context, as opposed to, for example, a model-defined Patient context, indicating that statements will be filtered to the particular patient in context.</td><td>deprecated</td></tr></table></div>"
      },
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability",
          "valueCode" : "shareable"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability",
          "valueCode" : "computable"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability",
          "valueCode" : "publishable"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel",
          "valueCode" : "structured"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
          "valueCode" : "trial-use"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
          "valueInteger" : 1
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
          "valueCode" : "cds"
        }
      ],
      "url" : "http://cql.hl7.org/CodeSystem/cql-context-declaration-codes",
      "identifier" : [
        {
          "system" : "urn:ietf:rfc:3986",
          "value" : "urn:oid:2.16.840.1.113883.4.642.40.37.16.2"
        }
      ],
      "version" : "3.0.0",
      "name" : "CQLContextDeclarationCodes",
      "title" : "CQL Context Declaration Codes",
      "status" : "active",
      "experimental" : false,
      "date" : "2026-08-03",
      "publisher" : "HL7 International / Clinical Decision Support",
      "contact" : [
        {
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://www.hl7.org/Special/committees/dss"
            }
          ]
        }
      ],
      "description" : "Codes for specification-defined CQL context declarations. Models define what contexts are available beyond the ones defined here. See the [Context](https://cql.hl7.org/02-authorsguide.html#context) discussion in the CQL specification for complete details.",
      "jurisdiction" : [
        {
          "coding" : [
            {
              "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
              "code" : "001",
              "display" : "World"
            }
          ]
        }
      ],
      "caseSensitive" : true,
      "valueSet" : "http://cql.hl7.org/ValueSet/cql-context-declaration",
      "content" : "complete",
      "property" : [
        {
          "code" : "status",
          "uri" : "http://hl7.org/fhir/concept-properties#status",
          "description" : "A property that indicates the status of the concept. If the property is identified by this URL, then it SHALL use at least these status values (where appropriate):\\n\\n* active - the concept is for normal use\\n* experimental - provided for trial, but may be removed in the future\\n* deprecated - planned to be removed from use\\n* retired - still present for historical reasons, but no longer allowed to be used\\n\\nThe HL7 defined code systems (whether defined by the FHIR project, the V3 framework, or the V2 standard) all use this property to define their status. HL7 uses `active` (and considers this the default status), and deprecated and retired (= inactive).",
          "type" : "code"
        }
      ],
      "concept" : [
        {
          "code" : "Unfiltered",
          "display" : "Unfiltered",
          "definition" : "Indicates that the expressions and function definitions that follow in the library are not restricted to a particular context, as opposed to, for example, a model-defined Patient context, indicating that statements will be filtered to the particular patient in context."
        },
        {
          "code" : "Population",
          "display" : "Population",
          "definition" : "Indicates that the expressions and function definitions that follow in the library are not restricted to a particular context, as opposed to, for example, a model-defined Patient context, indicating that statements will be filtered to the particular patient in context.",
          "property" : [
            {
              "code" : "status",
              "valueCode" : "deprecated"
            }
          ]
        }
      ]
    }