Using CQL with FHIR
1.0.0-snapshot - Snapshot International flag

This page is part of the Using CQL with FHIR Implementation Guide (v1.0.0-snapshot: STU1 Draft) based on FHIR (HL7® FHIR® Standard) R4. . For a full list of available versions, see the Directory of published versions

Extension: Is Empty List

Official URL: http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList Version: 1.0.0-snapshot
Standards status: Trial-use Maturity Level: 1 Computable Name: IsEmptyList
Other Identifiers: OID:2.16.840.1.113883.4.642.40.37.42.5

Indicates that the value of the parameter is an empty list. Because the parameter element of a Parameters resource must have a value, the value element must be present with either an actual value, or an extension, this extension supports the case when the actual parameter value being represented is an empty list. The type of the value element used should be appropriate to the element type of the list-valued expression.

Context of Use

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

  • Element ID base64Binary
  • Element ID boolean
  • Element ID canonical
  • Element ID code
  • Element ID date
  • Element ID dateTime
  • Element ID decimal
  • Element ID id
  • Element ID instant
  • Element ID integer
  • Element ID markdown
  • Element ID oid
  • Element ID positiveInt
  • Element ID string
  • Element ID time
  • Element ID unsignedInt
  • Element ID uri
  • Element ID url
  • Element ID uuid
  • Element ID Address
  • Element ID Age
  • Element ID Annotation
  • Element ID Attachment
  • Element ID CodeableConcept
  • Element ID Coding
  • Element ID ContactPoint
  • Element ID Count
  • Element ID Distance
  • Element ID Duration
  • Element ID HumanName
  • Element ID Identifier
  • Element ID Money
  • Element ID Period
  • Element ID Quantity
  • Element ID Range
  • Element ID Ratio
  • Element ID Reference
  • Element ID SampledData
  • Element ID Signature
  • Element ID Timing
  • Element ID ContactDetail
  • Element ID DataRequirement
  • Element ID Expression
  • Element ID ParameterDefinition
  • Element ID RelatedArtifact
  • Element ID TriggerDefinition
  • Element ID UsageContext
  • Element ID Dosage
  • Element ID Meta

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

Simple Extension of type boolean: Indicates that the value of the parameter is an empty list. Because the parameter element of a Parameters resource must have a value, the value element must be present with either an actual value, or an extension, this extension supports the case when the actual parameter value being represented is an empty list. The type of the value element used should be appropriate to the element type of the list-valued expression.

Maturity: 1

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1 Extension Empty list
... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList"
... value[x] 0..1 boolean Value of extension
Fixed Value: true

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1 Extension Empty list
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type boolean: Indicates that the value of the parameter is an empty list. Because the parameter element of a Parameters resource must have a value, the value element must be present with either an actual value, or an extension, this extension supports the case when the actual parameter value being represented is an empty list. The type of the value element used should be appropriate to the element type of the list-valued expression.

Maturity: 1

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1 Extension Empty list
... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList"
... value[x] 0..1 boolean Value of extension
Fixed Value: true

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1 Extension Empty list
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1 uri "http://hl7.org/fhir/StructureDefinition/cqf-isEmptyList"

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()