This page is part of the FHIR Specification (v5.0.0-ballot: FHIR R5 Ballot Preview). 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 |
---|---|---|---|---|
CanonicalResource | «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 | |
url | Σ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 |
identifier | Σ | 0..* | Identifier | Additional identifier for the {{title}} |
version | Σ | 0..1 | string | Business version of the {{title}} |
versionAlgorithm[x] | Σ | 0..1 | How to compare versions Version Algorithm (Extensible) | |
versionAlgorithmString | string | |||
versionAlgorithmCoding | Coding | |||
name | ΣC | 0..1 | string | Name for this {{title}} (computer friendly) |
title | Σ | 0..1 | string | Name for this {{title}} (human friendly) |
status | ?!Σ | 1..1 | code | draft | active | retired | unknown PublicationStatus (Required) |
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/steward (organization or individual) |
contact | Σ | 0..* | ContactDetail | Contact details for the publisher |
description | 0..1 | markdown | Natural language description of the {{title}} | |
useContext | Σ | 0..* | UsageContext | The context that the content is intended to support |
jurisdiction | Σ | 0..* | CodeableConcept | Intended jurisdiction for {{title}} (if applicable) Jurisdiction (Extensible) |
purpose | 0..1 | markdown | Why this {{title}} is defined | |
copyright | 0..1 | markdown | Use and/or publishing restrictions | |
copyrightLabel | 0..1 | string | Copyright holder and year(s) | |
Documentation for this format |
UML Diagram (Legend)
Structure
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CanonicalResource | «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 | |
url | Σ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 |
identifier | Σ | 0..* | Identifier | Additional identifier for the {{title}} |
version | Σ | 0..1 | string | Business version of the {{title}} |
versionAlgorithm[x] | Σ | 0..1 | How to compare versions Version Algorithm (Extensible) | |
versionAlgorithmString | string | |||
versionAlgorithmCoding | Coding | |||
name | ΣC | 0..1 | string | Name for this {{title}} (computer friendly) |
title | Σ | 0..1 | string | Name for this {{title}} (human friendly) |
status | ?!Σ | 1..1 | code | draft | active | retired | unknown PublicationStatus (Required) |
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/steward (organization or individual) |
contact | Σ | 0..* | ContactDetail | Contact details for the publisher |
description | 0..1 | markdown | Natural language description of the {{title}} | |
useContext | Σ | 0..* | UsageContext | The context that the content is intended to support |
jurisdiction | Σ | 0..* | CodeableConcept | Intended jurisdiction for {{title}} (if applicable) Jurisdiction (Extensible) |
purpose | 0..1 | markdown | Why this {{title}} is defined | |
copyright | 0..1 | markdown | Use and/or publishing restrictions | |
copyrightLabel | 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 while the codes for "supra-national" regions are from UN Standard country or area codes for statistical use (M49) . | Extensible | Jurisdiction ValueSet |
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('([^|#])*') |
Common search parameters defined by this resource. 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 |