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

FHIR IG analytics

Packagehl7.fhir.uv.cql
Resource TypeCodeSystem
IdCodeSystem-cql-context-declaration-codes.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/HL7/cql-ig/CodeSystem-cql-context-declaration-codes.html
URLhttp://cql.hl7.org/CodeSystem/cql-context-declaration-codes
Version3.0.0
Statusactive
Date2026-08-03
NameCQLContextDeclarationCodes
TitleCQL Context Declaration Codes
Realmuv
Authorityhl7
DescriptionCodes 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.
Contentcomplete

Resources that use this resource

ValueSet
hl7.fhir.uv.cql#currentcontext-typeContext Type
hl7.fhir.uv.cql#currentcql-context-declarationCQL Context Declaration Value Set

Resources that this resource uses

No resources found


Narrative

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

Generated Narrative: CodeSystem cql-context-declaration-codes

Properties

This code system defines the following properties for its concepts

NameCodeURITypeDescription
statusstatushttp://hl7.org/fhir/concept-properties#statuscodeA 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).

Concepts

This case-sensitive code system http://cql.hl7.org/CodeSystem/cql-context-declaration-codes defines the following codes:

CodeDefinitionstatus
Unfiltered 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.
Population 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.deprecated

Source1

{
  "resourceType": "CodeSystem",
  "id": "cql-context-declaration-codes",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "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"
        }
      ]
    }
  ]
}