Quality Measure Implementation Guide (STU4)
4.0.0 - STU4 United States of America flag

This page is part of the Quality Measure STU2 for FHIR R4 Implementation Guide (v4.0.0: STU4 (v4.0.0)) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Extension: CQFM Logic Definition

Official URL: http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition Version: 4.0.0
Active as of 2019-02-13 Computable Name: CQFMLogicDefinition

Defines a logic definition used by the measure.

A computable measure must specify all definitions used by the measure in order to provide a complete, human-readable narrative for the measure.

Context of Use

This extension may be used on the following element(s):

  • Element ID Resource

Usage info

Usage:

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

Summary

Complex Extension: Defines a logic definition used by the measure.

  • libraryName: string: The name of the library that contains this definition. This is the library name, not the library alias within any particular library usage, and SHOULD be the fully qualified name of the library (i.e. namespace included).
  • name: string: The name of the definition, e.g. Initial Population. For function definitions, this SHOULD include the function parameters (e.g. "Measure Observation"(Encounter Encounter)).
  • statement: string: The complete declaration statement for the definition. For example, define "Initial Population": [Encounter: "Inpatient"] E where duration in days of E.period > 2.
  • displaySequence: integer: An integer value indicating the order in which this definition should be displayed in any human readable representation.
  • description: string: Description of the logic definition

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionA logic definition used in the measure
... extension:libraryName 1..1ExtensionWhich library
.... url 1..1uri"libraryName"
.... value[x] 0..1stringValue of extension
... extension:name 1..1ExtensionWhich definition
.... url 1..1uri"name"
.... value[x] 0..1stringValue of extension
... extension:statement 1..1ExtensionComplete declaration statement
.... url 1..1uri"statement"
.... value[x] 0..1stringValue of extension
.... url 1..1uri"displaySequence"
.... value[x] 0..1integerValue of extension
... extension:description 0..1ExtensionDescription
.... url 1..1uri"description"
.... value[x] 0..1stringValue of extension
... url 1..1uri"http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionA logic definition used in the measure
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 3..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:libraryName 1..1ExtensionWhich library
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"libraryName"
.... value[x] 0..1stringValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"name"
.... value[x] 0..1stringValue of extension
... extension:statement 1..1ExtensionComplete declaration statement
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"statement"
.... value[x] 0..1stringValue of extension
... extension:displaySequence 0..1ExtensionWhat order?
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"displaySequence"
.... value[x] 0..1integerValue of extension
... extension:description 0..1ExtensionDescription
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"description"
.... value[x] 0..1stringValue of extension
... url 1..1uri"http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Defines a logic definition used by the measure.

  • libraryName: string: The name of the library that contains this definition. This is the library name, not the library alias within any particular library usage, and SHOULD be the fully qualified name of the library (i.e. namespace included).
  • name: string: The name of the definition, e.g. Initial Population. For function definitions, this SHOULD include the function parameters (e.g. "Measure Observation"(Encounter Encounter)).
  • statement: string: The complete declaration statement for the definition. For example, define "Initial Population": [Encounter: "Inpatient"] E where duration in days of E.period > 2.
  • displaySequence: integer: An integer value indicating the order in which this definition should be displayed in any human readable representation.
  • description: string: Description of the logic definition

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionA logic definition used in the measure
... extension:libraryName 1..1ExtensionWhich library
.... url 1..1uri"libraryName"
.... value[x] 0..1stringValue of extension
... extension:name 1..1ExtensionWhich definition
.... url 1..1uri"name"
.... value[x] 0..1stringValue of extension
... extension:statement 1..1ExtensionComplete declaration statement
.... url 1..1uri"statement"
.... value[x] 0..1stringValue of extension
.... url 1..1uri"displaySequence"
.... value[x] 0..1integerValue of extension
... extension:description 0..1ExtensionDescription
.... url 1..1uri"description"
.... value[x] 0..1stringValue of extension
... url 1..1uri"http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionA logic definition used in the measure
... id 0..1stringUnique id for inter-element referencing
... Slices for extension 3..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... extension:libraryName 1..1ExtensionWhich library
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"libraryName"
.... value[x] 0..1stringValue of extension
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"name"
.... value[x] 0..1stringValue of extension
... extension:statement 1..1ExtensionComplete declaration statement
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"statement"
.... value[x] 0..1stringValue of extension
... extension:displaySequence 0..1ExtensionWhat order?
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"displaySequence"
.... value[x] 0..1integerValue of extension
... extension:description 0..1ExtensionDescription
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... url 1..1uri"description"
.... value[x] 0..1stringValue of extension
... url 1..1uri"http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()