## Profile Comparison between http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablestructuredefinition vs http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablestructuredefinition

Left: | CRMI Shareable StructureDefinition (http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablestructuredefinition)
Right: | CRMI Shareable StructureDefinition (http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablestructuredefinition)

### Messages

Error | StructureDefinition.version | Values for version differ: '1.0.0-snapshot' vs '1.0.0'
Information | StructureDefinition.date | Values for date differ: '2020-12-28T16:55:11+11:00' vs '2024-05-31T16:42:56+00:00'

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/StructureDefinition |
copyright |  |
date | 2020-12-28T16:55:11+11:00 | 2024-05-31T16:42:56+00:00 | Values Differ
description | Enforces the minimum information set for the structure definition metadata required by HL7 and other organizations that share and publish structure definitions |
experimental | false |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#001 |
kind | resource |
name | CRMIShareableStructureDefinition |
publisher | HL7 International / Clinical Decision Support |
purpose |  |
status | active |
title | CRMI Shareable StructureDefinition |
type | StructureDefinition |
url | http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-shareablestructuredefinition |
version | 1.0.0-snapshot | 1.0.0 | Values Differ

### Structure

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.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
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 | S Σ | 1..1 | uri | Canonical identifier for this structure definition, represented as a URI (globally unique) | S Σ | 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 | S Σ | 1..1 | string | Business version of the structure definition | S Σ | 1..1 | string | Business version of the structure definition |
name | S Σ C | 1..1 | string | Name for this structure definition (computer friendly) | S Σ C | 1..1 | string | Name for this structure definition (computer friendly) |
title | S Σ | 1..1 | string | Name for this structure definition (human friendly) | S Σ | 1..1 | string | Name for this structure definition (human friendly) |
status | ?!S Σ | 1..1 | code | draft | active | retired | unknown Binding: ?? (required): The lifecycle status of an artifact. | ?!S Σ | 1..1 | code | draft | active | retired | unknown Binding: ?? (required): The lifecycle status of an artifact. |
experimental | S Σ | 1..1 | boolean | For testing purposes, not real usage | S Σ | 1..1 | boolean | For testing purposes, not real usage |
date | Σ | 0..1 | dateTime | Date last changed | Σ | 0..1 | dateTime | Date last changed |
publisher | S Σ | 0..1 | string | Name of the publisher (organization or individual) | S Σ | 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 | S | 1..1 | markdown | Natural language description of the structure definition | S | 1..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