This page is part of the FHIR Specification (v5.0.0-snapshot3: R5 Snapshot #3, to support Connectathon 32). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions 
FHIR Infrastructure Work Group | Maturity Level: N | Normative (from v4.2.0) | Security Category: N/A | Compartments: Not linked to any defined compartments |
Common Interface declaration for conformance and knowledge artifact resources.
The CanonicalResource represents resources that have a canonical URL:
As an interface, this type is never created directly - see Resource Interfaces for more details.
This interface extends the base DomainResource. The following resources implement this interface:
Structure
Name ![]() | Flags ![]() | Card. ![]() | Type ![]() | Description & Constraints ![]() ![]() |
|---|---|---|---|---|
![]() | «I»N | DomainResource | Common Interface declaration for definitional resources + Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation Elements defined in Ancestor Resources: id, meta, implicitRules, language, text, contained, extension, modifierExtension | |
![]() ![]() | ΣC | 0..1 | uri | Canonical identifier for this {{title}}, represented as an absolute URI (globally unique) + Warning: URL should not contain | or # - these characters make processing canonical references problematic |
![]() ![]() | Σ | 0..* | Identifier | Additional identifier for the {{title}} |
![]() ![]() | Σ | 0..1 | string | Business version of the {{title}} |
![]() ![]() | Σ | 0..1 | How to compare versions Version Algorithm (Extensible) | |
![]() ![]() ![]() | string | |||
![]() ![]() ![]() | Coding | |||
![]() ![]() | ΣC | 0..1 | string | Name for this {{title}} (computer friendly) |
![]() ![]() | Σ | 0..1 | string | Name for this {{title}} (human friendly) |
![]() ![]() | ?!Σ | 1..1 | code | draft | active | retired | unknown PublicationStatus (Required) |
![]() ![]() | Σ | 0..1 | boolean | For testing purposes, not real usage |
![]() ![]() | Σ | 0..1 | dateTime | Date last changed |
![]() ![]() | Σ | 0..1 | string | Name of the publisher/steward (organization or individual) |
![]() ![]() | Σ | 0..* | ContactDetail | Contact details for the publisher |
![]() ![]() | 0..1 | markdown | Natural language description of the {{title}} | |
![]() ![]() | Σ | 0..* | UsageContext | The context that the content is intended to support |
![]() ![]() | Σ | 0..* | CodeableConcept | Intended jurisdiction for {{title}} (if applicable) Jurisdiction ValueSet (Extensible) |
![]() ![]() | 0..1 | markdown | Why this {{title}} is defined | |
![]() ![]() | 0..1 | markdown | Use and/or publishing restrictions | |
![]() ![]() | T | 0..1 | string | Copyright holder and year(s) |
Documentation for this format ![]() | ||||
UML Diagram (Legend)
Structure
Name ![]() | Flags ![]() | Card. ![]() | Type ![]() | Description & Constraints ![]() ![]() |
|---|---|---|---|---|
![]() | «I»N | DomainResource | Common Interface declaration for definitional resources + Warning: Name should be usable as an identifier for the module by machine processing applications such as code generation Elements defined in Ancestor Resources: id, meta, implicitRules, language, text, contained, extension, modifierExtension | |
![]() ![]() | ΣC | 0..1 | uri | Canonical identifier for this {{title}}, represented as an absolute URI (globally unique) + Warning: URL should not contain | or # - these characters make processing canonical references problematic |
![]() ![]() | Σ | 0..* | Identifier | Additional identifier for the {{title}} |
![]() ![]() | Σ | 0..1 | string | Business version of the {{title}} |
![]() ![]() | Σ | 0..1 | How to compare versions Version Algorithm (Extensible) | |
![]() ![]() ![]() | string | |||
![]() ![]() ![]() | Coding | |||
![]() ![]() | ΣC | 0..1 | string | Name for this {{title}} (computer friendly) |
![]() ![]() | Σ | 0..1 | string | Name for this {{title}} (human friendly) |
![]() ![]() | ?!Σ | 1..1 | code | draft | active | retired | unknown PublicationStatus (Required) |
![]() ![]() | Σ | 0..1 | boolean | For testing purposes, not real usage |
![]() ![]() | Σ | 0..1 | dateTime | Date last changed |
![]() ![]() | Σ | 0..1 | string | Name of the publisher/steward (organization or individual) |
![]() ![]() | Σ | 0..* | ContactDetail | Contact details for the publisher |
![]() ![]() | 0..1 | markdown | Natural language description of the {{title}} | |
![]() ![]() | Σ | 0..* | UsageContext | The context that the content is intended to support |
![]() ![]() | Σ | 0..* | CodeableConcept | Intended jurisdiction for {{title}} (if applicable) Jurisdiction ValueSet (Extensible) |
![]() ![]() | 0..1 | markdown | Why this {{title}} is defined | |
![]() ![]() | 0..1 | markdown | Use and/or publishing restrictions | |
![]() ![]() | T | 0..1 | string | Copyright holder and year(s) |
Documentation for this format ![]() | ||||
Additional definitions: Master Definition XML + JSON, the spreadsheet version & the dependency analysis
| Path | Definition | Type | Reference |
|---|---|---|---|
| CanonicalResource.versionAlgorithm[x] | Indicates the mechanism used to compare versions to determine which is more current. | Extensible | VersionAlgorithm |
| CanonicalResource.status | The lifecycle status of an artifact. | Required | PublicationStatus |
| CanonicalResource.jurisdiction | This value set defines a base set of codes for country, country subdivision and region for indicating where a resource is intended to be used. Note: The codes for countries and country subdivisions are taken from ISO 3166 | Extensible | JurisdictionValueSet |
| UniqueKey | Level | Location | Description | Expression |
cnl-0 | Warning | (base) | Name should be usable as an identifier for the module by machine processing applications such as code generation | name.exists() implies name.matches('[A-Z]([A-Za-z0-9_]){1,254}') |
cnl-1 | Warning | CanonicalResource.url | URL should not contain | or # - these characters make processing canonical references problematic | url.matches('([^|#])*') |
Search parameters defined by this interface for all implementations. See Searching for more information about searching in REST, messaging, and services.
| Name | Type | Description | Paths |
| context | token | A use context assigned to the {{title}} | {{name}}.useContext.valueCodeableConcept |
| context-quantity | quantity | A quantity- or range-valued use context assigned to the {{title}} | {{name}}.useContext.valueQuantity, {{name}}.useContext.valueRange |
| context-reference | reference | A use context reference assigned to the {{title}} | |
| context-type | token | A type of use context assigned to the {{title}} | {{name}}.useContext.code |
| context-type-quantity | composite | A use context type and quantity- or range-based value assigned to the {{title}} | |
| context-type-value | composite | A use context type and value assigned to the {{title}} | |
| date | date | The {{title}} publication date | {{name}}.date |
| description | string | The description of the {{title}} | {{name}}.description |
| identifier | token | External identifier for the {{title}} | {{name}}.identifier |
| jurisdiction | token | Intended jurisdiction for the {{title}} | {{name}}.jurisdiction |
| name | string | Computationally friendly name of the {{title}} | {{name}}.name |
| publisher | string | Name of the publisher of the {{title}} | {{name}}.publisher |
| status | token | The current status of the {{title}} | {{name}}.status |
| title | string | The human-friendly name of the {{title}} | {{name}}.title |
| url | uri | The uri that identifies the {{title}} | {{name}}.url |
| version | token | The business version of the {{title}} | {{name}}.version |