## Union of http://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition and http://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition

This is the set of resources that conform to either of the profiles CQL StructureDefinition (http://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition) and CQL StructureDefinition (http://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition). E.g. what you have to deal with if you get resources conforming to one of them

### Structure

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
StructureDefinition | C | 1..1 |  | Structural Definition Constraints: sdf-0, sdf-1, sdf-15a, sdf-4, sdf-5, sdf-6, sdf-9, sdf-11, sdf-14, sdf-15, sdf-16, sdf-17, sdf-18, sdf-19, sdf-21, sdf-22, sdf-23
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Extension
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
url | Σ | 1..1 | uri | Canonical identifier for this structure definition, represented as a URI (globally unique)
identifier | Σ | 0..* | Identifier | Additional identifier for the structure definition
version | Σ | 0..1 | string | Business version of the structure definition
name | Σ | 1..1 | string | Name for this structure definition (computer friendly)
title | Σ | 0..1 | string | Name for this structure definition (human friendly)
status | ?!Σ | 1..1 | code | draft | active | retired | unknown Binding: ?? (required): The lifecycle status of an artifact.
experimental | Σ | 0..1 | boolean | For testing purposes, not real usage
date | Σ | 0..1 | dateTime | Date last changed
publisher | Σ | 0..1 | string | Name of the publisher (organization or individual)
contact | Σ | 0..* | ContactDetail | Contact details for the publisher
description |  | 0..1 | markdown | Natural language description of the structure definition
useContext | Σ | 0..* | UsageContext | The context that the content is intended to support
jurisdiction | Σ | 0..* | CodeableConcept | Intended jurisdiction for structure definition (if applicable) Binding: ?? (extensible): Countries and regions within which this artifact is targeted for use.
purpose |  | 0..1 | markdown | Why this structure definition is defined
copyright |  | 0..1 | markdown | Use and/or publishing restrictions
keyword | Σ | 0..* | Coding | Assist with indexing and finding Binding: ?? (extensible): Codes for the meaning of the defined structure (SNOMED CT and LOINC codes, as an example).
fhirVersion | Σ | 0..1 | code | FHIR Version this StructureDefinition targets Binding: ?? (required): All published FHIR Versions.
mapping | C | 0..* | BackboneElement | External specification that the content is mapped to Constraints: sdf-2
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
identity |  | 1..1 | id | Internal id when this mapping is used
uri |  | 0..1 | uri | Identifies what this mapping refers to
name |  | 0..1 | string | Names what this mapping refers to
comment |  | 0..1 | string | Versions, Issues, Scope limitations etc.
kind | Σ | 1..1 | code | primitive-type | complex-type | resource | logical Binding: ?? (required): Defines the type of structure that a definition is describing.
abstract | Σ | 1..1 | boolean | Whether the structure is abstract
context | Σ | 0..* | BackboneElement | If an extension, where it can be used in instances
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | Σ | 1..1 | code | fhirpath | element | extension Binding: ?? (required): How an extension context is interpreted.
expression | Σ | 1..1 | string | Where the extension can be used in instances
contextInvariant | Σ | 0..* | string | FHIRPath invariants - when the extension can be used
type | Σ | 1..1 | uri | Type defined or constrained by this structure Binding: ?? (extensible): Either a resource or a data type, including logical model types.
baseDefinition | Σ | 0..1 | canonical(StructureDefinition) | Definition that this type is constrained/specialized from
derivation | Σ | 0..1 | code | specialization | constraint - How relates to base definition Binding: ?? (required): How a type relates to its baseDefinition.
snapshot | C | 0..1 | BackboneElement | Snapshot view of the structure Constraints: sdf-3, sdf-8, sdf-8b
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
element | C | 1..* | ElementDefinition | Definition of elements in the resource (if no StructureDefinition) Constraints: sdf-10
differential | C | 0..1 | BackboneElement | Differential view of the structure Constraints: sdf-20, sdf-8a
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
element |  | 1..* | ElementDefinition | Definition of elements in the resource (if no StructureDefinition)
Documentation for this format