Left: | CQL StructureDefinition (http://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition) |
Right: | CQL StructureDefinition (http://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition) |
Error | StructureDefinition.version | Values for version differ: '1.0.0-ballot' vs '1.0.0-snapshot' |
Information | StructureDefinition.date | Values for date differ: '2023-12-20T01:19:04+00:00' vs '2024-04-06T09:37:49+11:00' |
Name | Value | Comments | |
---|---|---|---|
abstract | false | ||
baseDefinition | http://hl7.org/fhir/StructureDefinition/StructureDefinition | ||
copyright | |||
date | 2023-12-20T01:19:04+00:00 | 2024-04-06T09:37:49+11:00 |
|
description | Supports configuration of model info information for a StructureDefinition | ||
experimental | false | ||
fhirVersion | 4.0.1 | ||
jurisdiction | |||
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#001 | ||
kind | resource | ||
name | CQLStructureDefinition | ||
publisher | HL7 International / Clinical Decision Support | ||
purpose | |||
status | active | ||
title | CQL StructureDefinition | ||
type | StructureDefinition | ||
url | http://hl7.org/fhir/uv/cql/StructureDefinition/cql-structuredefinition | ||
version | 1.0.0-ballot | 1.0.0-snapshot |
|
Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
StructureDefinition | C | 1..1 | StructureDefinition | Structural Definition sdf-0: Name should be usable as an identifier for the module by machine processing applications such as code generation sdf-1: Element paths must be unique unless the structure is a constraint sdf-15a: If the first element in a differential has no "." in the path and it's not a logical model, it has no type sdf-4: If the structure is not abstract, then there SHALL be a baseDefinition sdf-5: If the structure defines an extension then the structure must have context information sdf-6: A structure must have either a differential, or a snapshot (or both) sdf-9: In any snapshot or differential, no label, code or requirements on an element without a "." in the path (e.g. the first element) sdf-11: If there's a type, its content must match the path name in the first element of a snapshot sdf-14: All element definitions must have an id sdf-15: The first element in a snapshot has no type unless model is a logical model. sdf-16: All element definitions must have unique ids (snapshot) sdf-17: All element definitions must have unique ids (diff) sdf-18: Context Invariants can only be used for extensions sdf-19: FHIR Specification models only use FHIR defined types sdf-21: Default values can only be specified on specializations sdf-22: FHIR Specification models never have default values sdf-23: No slice name on root | C | 1..1 | StructureDefinition | Structural Definition sdf-0: Name should be usable as an identifier for the module by machine processing applications such as code generation sdf-1: Element paths must be unique unless the structure is a constraint sdf-15a: If the first element in a differential has no "." in the path and it's not a logical model, it has no type sdf-4: If the structure is not abstract, then there SHALL be a baseDefinition sdf-5: If the structure defines an extension then the structure must have context information sdf-6: A structure must have either a differential, or a snapshot (or both) sdf-9: In any snapshot or differential, no label, code or requirements on an element without a "." in the path (e.g. the first element) sdf-11: If there's a type, its content must match the path name in the first element of a snapshot sdf-14: All element definitions must have an id sdf-15: The first element in a snapshot has no type unless model is a logical model. sdf-16: All element definitions must have unique ids (snapshot) sdf-17: All element definitions must have unique ids (diff) sdf-18: Context Invariants can only be used for extensions sdf-19: FHIR Specification models only use FHIR defined types sdf-21: Default values can only be specified on specializations sdf-22: FHIR Specification models never have default values sdf-23: No slice name on root | |||||||||
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact | |||||||||
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource | |||||||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 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.
| 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 | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||||||||
contained | 0..* | Resource | Contained, inline Resources | 0..* | Resource | Contained, inline Resources | |||||||||||
Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||||||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored | |||||||||
url | Σ | 1..1 | uri | Canonical identifier for this structure definition, represented as a URI (globally unique) | Σ | 1..1 | uri | Canonical identifier for this structure definition, represented as a URI (globally unique) | |||||||||
identifier | Σ | 0..* | Identifier | Additional identifier for the structure definition | Σ | 0..* | Identifier | Additional identifier for the structure definition | |||||||||
version | Σ | 0..1 | string | Business version of the structure definition | Σ | 0..1 | string | Business version of the structure definition | |||||||||
name | ΣC | 1..1 | string | Name for this structure definition (computer friendly) | ΣC | 1..1 | string | Name for this structure definition (computer friendly) | |||||||||
title | Σ | 0..1 | string | Name for this structure definition (human friendly) | Σ | 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. | ?!Σ | 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 | Σ | 0..1 | boolean | For testing purposes, not real usage | |||||||||
date | Σ | 0..1 | dateTime | Date last changed | Σ | 0..1 | dateTime | Date last changed | |||||||||
publisher | Σ | 0..1 | string | Name of the publisher (organization or individual) | Σ | 0..1 | string | Name of the publisher (organization or individual) | |||||||||
contact | Σ | 0..* | ContactDetail | Contact details for the publisher | Σ | 0..* | ContactDetail | Contact details for the publisher | |||||||||
description | 0..1 | markdown | Natural language description of the structure definition | 0..1 | markdown | Natural language description of the structure definition | |||||||||||
useContext | Σ | 0..* | UsageContext | The context that the content is intended to support | Σ | 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. | Σ | 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 | 0..1 | markdown | Why this structure definition is defined | |||||||||||
copyright | 0..1 | markdown | Use and/or publishing restrictions | 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). | Σ | 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. | Σ | 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 sdf-2: Must have at least a name or a uri (or both) | C | 0..* | BackboneElement | External specification that the content is mapped to sdf-2: Must have at least a name or a uri (or both) | |||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
identity | 1..1 | id | Internal id when this mapping is used | 1..1 | id | Internal id when this mapping is used | |||||||||||
uri | C | 0..1 | uri | Identifies what this mapping refers to | C | 0..1 | uri | Identifies what this mapping refers to | |||||||||
name | C | 0..1 | string | Names what this mapping refers to | C | 0..1 | string | Names what this mapping refers to | |||||||||
comment | 0..1 | string | Versions, Issues, Scope limitations etc. | 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. | Σ | 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 | Σ | 1..1 | boolean | Whether the structure is abstract | |||||||||
context | ΣC | 0..* | BackboneElement | If an extension, where it can be used in instances | ΣC | 0..* | BackboneElement | If an extension, where it can be used in instances | |||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 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. | Σ | 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 | Σ | 1..1 | string | Where the extension can be used in instances | |||||||||
contextInvariant | ΣC | 0..* | string | FHIRPath invariants - when the extension can be used | ΣC | 0..* | string | FHIRPath invariants - when the extension can be used | |||||||||
type | ΣC | 1..1 | uri | Type defined or constrained by this structure Binding: ?? (extensible): Either a resource or a data type, including logical model types. | ΣC | 1..1 | uri | Type defined or constrained by this structure Binding: ?? (extensible): Either a resource or a data type, including logical model types. | |||||||||
baseDefinition | ΣC | 0..1 | canonical(StructureDefinition) | Definition that this type is constrained/specialized from | ΣC | 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. | Σ | 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 sdf-3: Each element definition in a snapshot must have a formal definition and cardinalities sdf-8: All snapshot elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models sdf-8b: All snapshot elements must have a base definition | C | 0..1 | BackboneElement | Snapshot view of the structure sdf-3: Each element definition in a snapshot must have a formal definition and cardinalities sdf-8: All snapshot elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models sdf-8b: All snapshot elements must have a base definition | |||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
element | C | 1..* | ElementDefinition | Definition of elements in the resource (if no StructureDefinition) sdf-10: provide either a binding reference or a description (or both) | C | 1..* | ElementDefinition | Definition of elements in the resource (if no StructureDefinition) sdf-10: provide either a binding reference or a description (or both) | |||||||||
differential | C | 0..1 | BackboneElement | Differential view of the structure sdf-20: No slicing on the root element sdf-8a: In any differential, all the elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models | C | 0..1 | BackboneElement | Differential view of the structure sdf-20: No slicing on the root element sdf-8a: In any differential, all the elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models | |||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
element | 1..* | ElementDefinition | Definition of elements in the resource (if no StructureDefinition) | 1..* | ElementDefinition | Definition of elements in the resource (if no StructureDefinition) | |||||||||||
Documentation for this format |