Profile: Code System

The Code System resource bundles codes and their properties into code systems to be used in other resources.

The code systems currently provided by the FHIR API and their content are published here

nametypestatusurl
CodeSystemNOMACodeSystemactivehttps://example.org/fhir/StructureDefinition/CodeSystemNOMA

The Code System FHIR Information Model

The Code System FHIR Pofile Structure

idΣ0..1id
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
text0..1Narrative
contained0..*Resource
extensionC0..*Extension
modifierExtension?! C0..*Extension
urlΣ1..1uri
identifierΣ1..2Identifier
versionΣ0..0string
nameΣ C0..1string
titleΣ0..0string
statusΣ ?!1..1codeBinding
experimentalΣ0..0boolean
dateΣ0..0dateTime
publisherΣ0..0string
contactΣ0..0ContactDetail
description0..0markdown
useContextΣ0..0UsageContext
jurisdictionΣ0..0CodeableConceptBinding
purpose0..0markdown
copyright0..0markdown
caseSensitiveΣ0..0boolean
valueSetΣ0..0canonical(ValueSet)
hierarchyMeaningΣ0..0codeBinding
compositionalΣ0..0boolean
versionNeededΣ0..0boolean
contentΣ1..1codeBinding
supplementsΣ0..0canonical(CodeSystem)
countΣ0..0unsignedInt
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
codeΣ1..1code
uriΣ0..1uri
descriptionΣ0..1string
typeΣ1..1codeBinding
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
code1..1code
display0..1string
definition0..0string
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
language0..1codeBinding
use0..0CodingBinding
value1..1string
id0..1string
extensionC0..*Extension
modifierExtensionΣ ?! C0..*Extension
code1..1code
valueBooleanboolean
valueCodecode
valueCodingCoding
valueDateTimedateTime
valueDecimaldecimal
valueIntegerinteger
valueStringstring
concept0..0see (concept)
CodeSystem
ShortDeclares the existence of and describes a code system or code system supplement
Definition

The CodeSystem resource is used to declare the existence of and describe a code system or code system supplement and its key properties, and optionally define a part or all of its content.

Cardinality0..*
Constraints
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
    contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
  • dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
    contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
  • dom-6: A resource should have narrative for robust management
    text.`div`.exists()
  • dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
    contained.meta.security.empty()
  • csd-1: Within a code system definition, all the codes SHALL be unique
    concept.code.combine($this.descendants().concept.code).isDistinct()
  • csd-0: Name should be usable as an identifier for the module by machine processing applications such as code generation
    name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
Mappings
  • rim: Entity. Role, or Act
  • rim: N/A
CodeSystem.id
ShortLogical id of this artifact
Definition

The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

Cardinality0..1
Typeid
SummaryTrue
Comments

The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.meta
ShortMetadata about the resource
Definition

The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

Cardinality0..1
TypeMeta
SummaryTrue
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.implicitRules
ShortA set of rules under which this content was created
Definition

A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

Cardinality0..1
Typeuri
ModifierTrue
SummaryTrue
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.language
ShortLanguage of the resource content
Definition

The base language in which the resource is written.

Cardinality0..1
Typecode
Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Comments

Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.text
ShortText summary of the resource, for human interpretation
Definition

A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

Cardinality0..1
TypeNarrative
Aliasnarrative, html, xhtml, display
Comments

Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • rim: Act.text?
CodeSystem.contained
ShortContained, inline Resources
Definition

These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

Cardinality0..*
TypeResource
Aliasinline resources, anonymous resources, contained resources
Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.

Mappings
  • rim: Entity. Role, or Act
  • rim: N/A
CodeSystem.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.modifierExtension
ShortExtensions that cannot be ignored
Definition

May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
Aliasextensions, user content
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.url
ShortCanonical identifier for this code system, represented as a URI (globally unique) (Coding.system)
Definition

An absolute URI that is used to identify this code system when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this code system is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the code system is stored on different servers. This is used in Coding.system.

Cardinality1..1
Typeuri
SummaryTrue
Requirements

Allows the code system to be referenced by a single globally unique identifier.

Comments

Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.

The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in Technical and Business Versions.

In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the meta.source element to indicate where the current master source of the resource can be found.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.url
  • w5: FiveWs.identifier
CodeSystem.identifier
ShortAdditional identifier for the code system (business identifier)
Definition

A formal identifier that is used to identify this code system when it is represented in other formats, or referenced in a specification, model, design or an instance.

Cardinality1..2
TypeIdentifier
SummaryTrue
Requirements

Allows externally provided and/or usable business identifiers to be easily associated with the module.

Comments

Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this code system outside of FHIR, where it is not possible to use the logical URI. Note that HL7 defines at least three identifiers for many of its code systems - the FHIR canonical URL, the OID and the V2 Table 0396 mnemonic code.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CX / EI (occasionally, more often EI maps to a resource id or a URL)
  • rim: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
  • servd: Identifier
  • workflow: Definition.identifier
  • w5: FiveWs.identifier
  • objimpl: no-gen-base
CodeSystem.version
ShortBusiness version of the code system (Coding.version)
Definition

The identifier that is used to identify this version of the code system when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the code system author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence. This is used in Coding.version.

Cardinality0..0
Typestring
SummaryTrue
Comments

There may be different code system instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the code system with the format [url]|[version].

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.version
  • w5: FiveWs.version
CodeSystem.name
ShortName for this code system (computer friendly)
Definition

A natural language name identifying the code system. This name should be usable as an identifier for the module by machine processing applications such as code generation.

Cardinality0..1
Typestring
SummaryTrue
Requirements

Support human navigation and code generation.

Comments

The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1, inv-0
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.title
ShortName for this code system (human friendly)
Definition

A short, descriptive, user-friendly title for the code system.

Cardinality0..0
Typestring
SummaryTrue
Comments

This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.title
CodeSystem.status
Shortdraft | active | retired | unknown
Definition

Only code ssystems with status "active" are being published

Cardinality1..1
Typecode
Binding

The lifecycle status of an artifact.

PublicationStatus (required)

ModifierTrue
SummaryTrue
Comments

Allows filtering of code systems that are appropriate for use versus not.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.status
  • w5: FiveWs.status
CodeSystem.experimental
ShortFor testing purposes, not real usage
Definition

A Boolean value to indicate that this code system is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.

Cardinality0..0
Typeboolean
SummaryTrue
Requirements

Enables experimental content to be developed following the same lifecycle that would be used for a production-level code system.

Comments

Allows filtering of code systems that are appropriate for use versus not.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.experimental
  • w5: FiveWs.class
CodeSystem.date
ShortDate last changed
Definition

The date (and optionally time) when the code system was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the code system changes.

Cardinality0..0
TypedateTime
SummaryTrue
AliasRevision Date
Comments

Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the code system. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.date
  • w5: FiveWs.recorded
CodeSystem.publisher
ShortName of the publisher (organization or individual)
Definition

The name of the organization or individual that published the code system.

Cardinality0..0
Typestring
SummaryTrue
Requirements

Helps establish the "authority/credibility" of the code system. May also allow for contact.

Comments

Usually an organization but may be an individual. The publisher (or steward) of the code system is the organization or individual primarily responsible for the maintenance and upkeep of the code system. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the code system. This item SHOULD be populated unless the information is available from context.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.publisher
  • w5: FiveWs.witness
CodeSystem.contact
ShortContact details for the publisher
Definition

Contact details to assist a user in finding and communicating with the publisher.

Cardinality0..0
TypeContactDetail
SummaryTrue
Comments

May be a web site, an email address, a telephone number, etc.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.contact
CodeSystem.description
ShortNatural language description of the code system
Definition

A free text natural language description of the code system from a consumer's perspective.

Cardinality0..0
Typemarkdown
AliasScope, Purpose
Comments

This description can be used to capture details such as why the code system was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the code system as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the code system is presumed to be the predominant language in the place the code system was created).

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.description
  • rim: N/A
CodeSystem.useContext
ShortThe context that the content is intended to support
Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate code system instances.

Cardinality0..0
TypeUsageContext
SummaryTrue
Requirements

Assist in searching for appropriate content.

Comments

When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.useContext
CodeSystem.jurisdiction
ShortIntended jurisdiction for code system (if applicable)
Definition

A legal or geographic region in which the code system is intended to be used.

Cardinality0..0
TypeCodeableConcept
Binding

Countries and regions within which this artifact is targeted for use.

Jurisdiction ValueSet (extensible)

SummaryTrue
Comments

It may be possible for the code system to be used in jurisdictions other than those for which it was originally designed or intended.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • workflow: Definition.jurisdiction
CodeSystem.purpose
ShortWhy this code system is defined
Definition

Explanation of why this code system is needed and why it has been designed as it has.

Cardinality0..0
Typemarkdown
Comments

This element does not describe the usage of the code system. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this code system.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.purpose
  • w5: FiveWs.why[x]
  • objimpl: no-gen-base
CodeSystem.copyright
ShortUse and/or publishing restrictions
Definition

A copyright statement relating to the code system and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the code system.

Cardinality0..0
Typemarkdown
AliasLicense, Restrictions
Requirements

Consumers must be able to determine any legal restrictions on the use of the code system and/or its content.

Comments

Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/ Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required. Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required. Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.copyright
  • objimpl: no-gen-base
CodeSystem.caseSensitive
ShortIf code comparison is case sensitive
Definition

If code comparison is case sensitive when codes within this system are compared to each other.

Cardinality0..0
Typeboolean
SummaryTrue
Comments

If this value is missing, then it is not specified whether a code system is case sensitive or not. When the rule is not known, Postel's law should be followed: produce codes with the correct case, and accept codes in any case. This element is primarily provided to support validation software.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.valueSet
ShortCanonical reference to the value set with entire code system
Definition

Canonical reference to the value set that contains the entire code system.

Cardinality0..0
Typecanonical(ValueSet)
SummaryTrue
Comments

The definition of the value set SHALL include all codes from this code system and only codes from this code system, and it SHALL be immutable.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.hierarchyMeaning
Shortgrouped-by | is-a | part-of | classified-with
Definition

The meaning of the hierarchy of concepts as represented in this resource.

Cardinality0..0
Typecode
Binding

The meaning of the hierarchy of concepts in a code system.

CodeSystemHierarchyMeaning (required)

SummaryTrue
Comments

Note that other representations might have a different hierarchy or none at all, and represent the information using properties.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.compositional
ShortIf code system defines a compositional grammar
Definition

The code system defines a compositional (post-coordination) grammar.

Cardinality0..0
Typeboolean
SummaryTrue
Aliasgrammar
Comments

Note that the code system resource does not define what the compositional grammar is, only whether or not there is one.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.versionNeeded
ShortIf definitions are not stable
Definition

This flag is used to signify that the code system does not commit to concept permanence across versions. If true, a version must be specified when referencing this code system.

Cardinality0..0
Typeboolean
SummaryTrue
Comments

Best practice is that code systems do not redefine concepts, or that if concepts are redefined, a new code system definition is created. But this is not always possible, so some code systems may be defined as 'versionNeeded'.

Most code systems occasionally refine the displays defined for concepts between versions. Contexts in which the concept display values are validated may require that the version be specified for some code systems irrespective of the value of this property.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.content
Shortnot-present | example | fragment | complete | supplement
Definition

The extent of the content of the code system (the concepts and codes it defines) are represented in this resource instance.

Cardinality1..1
Typecode
Binding

The extent of the content of the code system (the concepts and codes it defines) are represented in a code system resource.

CodeSystemContentMode (required)

SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.supplements
ShortCanonical URL of Code System this adds designations and properties to
Definition

The canonical URL of the code system that this code system supplement is adding designations and properties to.

Cardinality0..0
Typecanonical(CodeSystem)
SummaryTrue
Comments

The most common use of a code system supplement is to add additional language support.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.count
ShortTotal concepts in the code system
Definition

The total number of concepts defined by the code system. Where the code system has a compositional grammar, the basis of this count is defined by the system steward.

Cardinality0..0
TypeunsignedInt
SummaryTrue
Comments

The count of concepts defined in this resource cannot be more than this value but may be less for several reasons - see the content element.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.filter
ShortFilter that can be used in a value set
Definition

A filter that can be used in a value set compose statement when selecting concepts using a filter.

Cardinality0..0
TypeBackboneElement
SummaryTrue
Comments

Note that filters defined in code systems usually require custom code on the part of any terminology engine that will make them available for use in value set filters. For this reason, they are generally only seen in high value published terminologies.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.filter.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typestring
Mappings
  • rim: n/a
CodeSystem.filter.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.filter.modifierExtension
ShortExtensions that cannot be ignored even if unrecognized
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.filter.code
ShortCode that identifies the filter
Definition

The code that identifies this filter when it is used as a filter in ValueSet.compose.include.filter.

Cardinality1..1
Typecode
SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.filter.description
ShortHow or why the filter is used
Definition

A description of how or why the filter is used.

Cardinality0..1
Typestring
SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.filter.operator
Short= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | exists
Definition

A list of operators that can be used with the filter.

Cardinality1..*
Typecode
Binding

The kind of operation to perform as a part of a property based filter.

FilterOperator (required)

SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.filter.value
ShortWhat to use for the value
Definition

A description of what the value for the filter should be.

Cardinality1..1
Typestring
SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.property
ShortAdditional information supplied about each concept
Definition

A property defines an additional slot through which additional information can be provided about a concept.

Cardinality0..*
TypeBackboneElement
SummaryTrue
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.property.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typestring
Mappings
  • rim: n/a
CodeSystem.property.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.property.modifierExtension
ShortExtensions that cannot be ignored even if unrecognized
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.property.code
ShortIdentifies the property on the concepts, and when referred to in operations
Definition

A code that is used to identify the property. The code is used internally (in CodeSystem.concept.property.code) and also externally, such as in property filters.

Cardinality1..1
Typecode
SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.property.uri
ShortFormal identifier for the property
Definition

Reference to the formal meaning of the property. One possible source of meaning is the Concept Properties code system.

Cardinality0..1
Typeuri
SummaryTrue
Comments

see http://en.wikipedia.org/wiki/Uniform_resource_identifier

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.property.description
ShortWhy the property is defined, and/or what it conveys
Definition

A description of the property- why it is defined, and how its value might be used.

Cardinality0..1
Typestring
SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.property.type
Shortcode | Coding | string | integer | boolean | dateTime | decimal
Definition

The type of the property value. Properties of type "code" contain a code defined by the code system (e.g. a reference to another defined concept).

Cardinality1..1
Typecode
Binding

The type of a property value.

PropertyType (required)

SummaryTrue
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.concept
ShortConcepts in the code system
Definition

Concepts that are in the code system. The concept definitions are inherently hierarchical, but the definitions must be consulted to determine what the meanings of the hierarchical relationships are.

Cardinality0..*
TypeBackboneElement
Comments

If this is empty, it means that the code system resource does not represent the content of the code system.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.concept.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typestring
Mappings
  • rim: n/a
CodeSystem.concept.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.concept.modifierExtension
ShortExtensions that cannot be ignored even if unrecognized
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.concept.code
ShortCode that identifies concept
Definition

A code - a text symbol - that uniquely identifies the concept within the code system. May be a SPOR RMS, NOMA or FinnKode code

Cardinality1..1
Typecode
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.concept.display
ShortText to display to the user
Definition

A human readable string that is the recommended default way to present this concept to a user.

Cardinality0..1
Typestring
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.concept.definition
ShortFormal definition
Definition

The formal definition of the concept. The code system resource does not make formal definitions required, because of the prevalence of legacy systems. However, they are highly recommended, as without them there is no formal meaning associated with the concept.

Cardinality0..0
Typestring
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.concept.designation
ShortAdditional representations for the concept
Definition

Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc.

Cardinality0..*
TypeBackboneElement
Requirements

Many concept definition systems support multiple representations, in multiple languages, and for multiple purposes.

Comments

Concepts have both a display and an array of designation. The display is equivalent to a special designation with an implied designation.use of "primary code" and a language equal to the Resource Language.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.concept.designation.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typestring
Mappings
  • rim: n/a
CodeSystem.concept.designation.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.concept.designation.modifierExtension
ShortExtensions that cannot be ignored even if unrecognized
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.concept.designation.language
ShortHuman language of the designation
Definition

The language this designation is defined for.

Cardinality0..1
Typecode
Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Comments

In the absence of a language, the resource language applies.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.concept.designation.use
ShortDetails how this designation would be used
Definition

A code that details how this designation would be used.

Cardinality0..0
TypeCoding
Binding

Details of how a designation would be used.

DesignationUse (extensible)

Comments

If no use is provided, the designation can be assumed to be suitable for general display to a human user.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
CodeSystem.concept.designation.value
ShortThe text value for this designation
Definition

The text value for this designation.

Cardinality1..1
Typestring
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.concept.property
ShortProperty value for the concept
Definition

A property value for this concept.

Cardinality0..*
TypeBackboneElement
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.concept.property.id
ShortUnique id for inter-element referencing
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Cardinality0..1
Typestring
Mappings
  • rim: n/a
CodeSystem.concept.property.extension
ShortAdditional content defined by implementations
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Cardinality0..*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.concept.property.modifierExtension
ShortExtensions that cannot be ignored even if unrecognized
Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Cardinality0..*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
CodeSystem.concept.property.code
ShortReference to CodeSystem.property.code
Definition

A code that is a reference to CodeSystem.property.code.

Cardinality1..1
Typecode
Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.concept.property.value[x]
ShortValue of the property for this concept
Definition

The value of this property.

Cardinality1..1
Typeboolean | code | Coding | dateTime | decimal | integer | string
ConditionsThe cardinality or value of this element may be affected by these constraints: ele-1
Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
CodeSystem.concept.concept
ShortChild Concepts (is-a/contains/categorizes)
Definition

Defines children of a concept to produce a hierarchy of concepts. The nature of the relationships is variable (is-a/contains/categorizes) - see hierarchyMeaning.

Cardinality0..0
Typesee (concept)
<StructureDefinition xmlns="http://hl7.org/fhir">
<url value="https://example.org/fhir/StructureDefinition/CodeSystemNOMA" />
<name value="CodeSystemNOMA" />
<status value="active" />
<fhirVersion value="4.0.1" />
<kind value="resource" />
<abstract value="false" />
<type value="CodeSystem" />
<baseDefinition value="http://hl7.org/fhir/StructureDefinition/CodeSystem" />
<derivation value="constraint" />
<element id="CodeSystem.url">
<path value="CodeSystem.url" />
<min value="1" />
</element>
<element id="CodeSystem.identifier">
<path value="CodeSystem.identifier" />
<min value="1" />
<max value="2" />
</element>
<element id="CodeSystem.version">
<path value="CodeSystem.version" />
<max value="0" />
</element>
<element id="CodeSystem.title">
<path value="CodeSystem.title" />
<max value="0" />
</element>
<element id="CodeSystem.status">
<path value="CodeSystem.status" />
<definition value="Only code ssystems with status "active" are being published" />
</element>
<element id="CodeSystem.experimental">
<path value="CodeSystem.experimental" />
<max value="0" />
</element>
<element id="CodeSystem.date">
<path value="CodeSystem.date" />
<max value="0" />
</element>
<element id="CodeSystem.publisher">
<path value="CodeSystem.publisher" />
<max value="0" />
</element>
<element id="CodeSystem.contact">
<path value="CodeSystem.contact" />
<max value="0" />
</element>
<element id="CodeSystem.description">
<path value="CodeSystem.description" />
<max value="0" />
</element>
<element id="CodeSystem.useContext">
<path value="CodeSystem.useContext" />
<max value="0" />
</element>
<element id="CodeSystem.jurisdiction">
<path value="CodeSystem.jurisdiction" />
<max value="0" />
</element>
<element id="CodeSystem.purpose">
<path value="CodeSystem.purpose" />
<max value="0" />
</element>
<element id="CodeSystem.copyright">
<path value="CodeSystem.copyright" />
<comment value="Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/\n Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.\n Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.\n Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required." />
<max value="0" />
</element>
<element id="CodeSystem.caseSensitive">
<path value="CodeSystem.caseSensitive" />
<max value="0" />
</element>
<element id="CodeSystem.valueSet">
<path value="CodeSystem.valueSet" />
<max value="0" />
</element>
<element id="CodeSystem.hierarchyMeaning">
<path value="CodeSystem.hierarchyMeaning" />
<max value="0" />
</element>
<element id="CodeSystem.compositional">
<path value="CodeSystem.compositional" />
<max value="0" />
</element>
<element id="CodeSystem.versionNeeded">
<path value="CodeSystem.versionNeeded" />
<max value="0" />
</element>
<element id="CodeSystem.supplements">
<path value="CodeSystem.supplements" />
<max value="0" />
</element>
<element id="CodeSystem.count">
<path value="CodeSystem.count" />
<max value="0" />
</element>
<element id="CodeSystem.filter">
<path value="CodeSystem.filter" />
<max value="0" />
</element>
<element id="CodeSystem.concept.code">
<path value="CodeSystem.concept.code" />
<definition value="A code - a text symbol - that uniquely identifies the concept within the code system.\nMay be a [SPOR RMS](https://spor.ema.europa.eu/rmswi/#/), NOMA or [FinnKode](https://finnkode.helsedirektoratet.no/) code" />
</element>
<element id="CodeSystem.concept.definition">
<path value="CodeSystem.concept.definition" />
<max value="0" />
</element>
<element id="CodeSystem.concept.designation.use">
<path value="CodeSystem.concept.designation.use" />
<max value="0" />
</element>
<element id="CodeSystem.concept.concept">
<path value="CodeSystem.concept.concept" />
<max value="0" />
</element>
</differential>
</StructureDefinition>
{
"resourceType": "StructureDefinition",
"url": "https://example.org/fhir/StructureDefinition/CodeSystemNOMA",
"name": "CodeSystemNOMA",
"status": "active",
"fhirVersion": "4.0.1",
"kind": "resource",
"abstract": false,
"type": "CodeSystem",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/CodeSystem",
"derivation": "constraint",
"element": [
{
"id": "CodeSystem.url",
"path": "CodeSystem.url",
"min": 1
},
{
"id": "CodeSystem.identifier",
"path": "CodeSystem.identifier",
"min": 1,
"max": "2"
},
{
"id": "CodeSystem.version",
"path": "CodeSystem.version",
"max": "0"
},
{
"id": "CodeSystem.title",
"path": "CodeSystem.title",
"max": "0"
},
{
"id": "CodeSystem.status",
"path": "CodeSystem.status",
"definition": "Only code ssystems with status \"active\" are being published"
},
{
"id": "CodeSystem.experimental",
"path": "CodeSystem.experimental",
"max": "0"
},
{
"id": "CodeSystem.date",
"path": "CodeSystem.date",
"max": "0"
},
{
"id": "CodeSystem.publisher",
"path": "CodeSystem.publisher",
"max": "0"
},
{
"id": "CodeSystem.contact",
"path": "CodeSystem.contact",
"max": "0"
},
{
"id": "CodeSystem.description",
"path": "CodeSystem.description",
"max": "0"
},
{
"id": "CodeSystem.useContext",
"path": "CodeSystem.useContext",
"max": "0"
},
{
"id": "CodeSystem.jurisdiction",
"path": "CodeSystem.jurisdiction",
"max": "0"
},
{
"id": "CodeSystem.purpose",
"path": "CodeSystem.purpose",
"max": "0"
},
{
"id": "CodeSystem.copyright",
"path": "CodeSystem.copyright",
"comment": "Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/\n Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.\n Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.\n Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required.",
"max": "0"
},
{
"id": "CodeSystem.caseSensitive",
"path": "CodeSystem.caseSensitive",
"max": "0"
},
{
"id": "CodeSystem.valueSet",
"path": "CodeSystem.valueSet",
"max": "0"
},
{
"id": "CodeSystem.hierarchyMeaning",
"path": "CodeSystem.hierarchyMeaning",
"max": "0"
},
{
"id": "CodeSystem.compositional",
"path": "CodeSystem.compositional",
"max": "0"
},
{
"id": "CodeSystem.versionNeeded",
"path": "CodeSystem.versionNeeded",
"max": "0"
},
{
"id": "CodeSystem.supplements",
"path": "CodeSystem.supplements",
"max": "0"
},
{
"id": "CodeSystem.count",
"path": "CodeSystem.count",
"max": "0"
},
{
"id": "CodeSystem.filter",
"path": "CodeSystem.filter",
"max": "0"
},
{
"id": "CodeSystem.concept.code",
"path": "CodeSystem.concept.code",
"definition": "A code - a text symbol - that uniquely identifies the concept within the code system.\nMay be a [SPOR RMS](https://spor.ema.europa.eu/rmswi/#/), NOMA or [FinnKode](https://finnkode.helsedirektoratet.no/) code"
},
{
"id": "CodeSystem.concept.definition",
"path": "CodeSystem.concept.definition",
"max": "0"
},
{
"id": "CodeSystem.concept.designation.use",
"path": "CodeSystem.concept.designation.use",
"max": "0"
},
{
"id": "CodeSystem.concept.concept",
"path": "CodeSystem.concept.concept",
"max": "0"
}
]
}
}