Skip to main content

CodeSystem

ResourceFoundation · TerminologyNormativeMaturity 5

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.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
17 of 20 parameters tested

Structure​

ElementCard.TypeDescription
urlΣ
0..1uriCanonical identifier for this code system, represented as a URI (globally unique) (Coding.system)
identifierΣ
0..*IdentifierAdditional identifier for the code system (business identifier)
versionΣ
0..1stringBusiness version of the code system (Coding.version)
nameΣ
0..1stringName for this code system (computer friendly)
titleΣ
0..1stringName for this code system (human friendly)
statusRequired?!Σ
1..1codedraft | active | retired | unknownBinding (required): publication-status
experimentalΣ
0..1booleanFor testing purposes, not real usage
dateΣ
0..1dateTimeDate last changed
publisherΣ
0..1stringName of the publisher (organization or individual)
contactΣ
0..*ContactDetailContact details for the publisher
description
0..1markdownNatural language description of the code system
useContextΣ
0..*UsageContextThe context that the content is intended to support
jurisdictionΣ
0..*CodeableConceptIntended jurisdiction for code system (if applicable)Binding (extensible): jurisdiction
purpose
0..1markdownWhy this code system is defined
copyright
0..1markdownUse and/or publishing restrictions
caseSensitiveΣ
0..1booleanIf code comparison is case sensitive
valueSetΣ
0..1canonical(ValueSet)Canonical reference to the value set with entire code system
hierarchyMeaningΣ
0..1codegrouped-by | is-a | part-of | classified-withBinding (required): codesystem-hierarchy-meaning
compositionalΣ
0..1booleanIf code system defines a compositional grammar
versionNeededΣ
0..1booleanIf definitions are not stable
contentRequiredΣ
1..1codenot-present | example | fragment | complete | supplementBinding (required): codesystem-content-mode
supplementsΣ
0..1canonical(CodeSystem)Canonical URL of Code System this adds designations and properties to
countΣ
0..1unsignedIntTotal concepts in the code system
filterΣ
0..*BackboneElementFilter that can be used in a value set
codeRequiredΣ
1..1codeCode that identifies the filter
descriptionΣ
0..1stringHow or why the filter is used
operatorRequiredΣ
1..*code= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | existsBinding (required): filter-operator
valueRequiredΣ
1..1stringWhat to use for the value
propertyΣ
0..*BackboneElementAdditional information supplied about each concept
codeRequiredΣ
1..1codeIdentifies the property on the concepts, and when referred to in operations
uriΣ
0..1uriFormal identifier for the property
descriptionΣ
0..1stringWhy the property is defined, and/or what it conveys
typeRequiredΣ
1..1codecode | Coding | string | integer | boolean | dateTime | decimalBinding (required): concept-property-type
concept
0..*BackboneElementConcepts in the code system
codeRequired
1..1codeCode that identifies concept
display
0..1stringText to display to the user
definition
0..1stringFormal definition
designation
0..*BackboneElementAdditional representations for the concept
language
0..1codeHuman language of the designationBinding (preferred): languages
use
0..1CodingDetails how this designation would be usedBinding (extensible): designation-use
valueRequired
1..1stringThe text value for this designation
property
0..*BackboneElementProperty value for the concept
codeRequired
1..1codeReference to CodeSystem.property.code
value[x]Required
1..1code | Coding | string | integer | boolean | dateTime | decimalValue of the property for this concept
concept
0..*Same as CodeSystem.conceptChild Concepts (is-a/contains/categorizes)

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/CodeSystem?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
codetoken

A code defined in the code system

CodeSystem.concept.code
content-modetoken

not-present | example | fragment | complete | supplement

CodeSystem.content
contexttoken

A use context assigned to the code system

(CodeSystem.useContext.value.ofType(CodeableConcept))
context-quantityquantity

A quantity- or range-valued use context assigned to the code system

(CodeSystem.useContext.value.ofType(Quantity)) | (CodeSystem.useContext.value.ofType(Range))
context-typetoken

A type of use context assigned to the code system

CodeSystem.useContext.code
context-type-quantitycomposite

A use context type and quantity- or range-based value assigned to the code system

CodeSystem.useContext
context-type-valuecomposite

A use context type and value assigned to the code system

CodeSystem.useContext
datedate

The code system publication date

CodeSystem.date
descriptionstring

The description of the code system

CodeSystem.description
identifiertoken

External identifier for the code system

CodeSystem.identifier
jurisdictiontoken

Intended jurisdiction for the code system

CodeSystem.jurisdiction
languagetoken

A language in which a designation is provided

CodeSystem.concept.designation.language
namestring

Computationally friendly name of the code system

CodeSystem.name
publisherstring

Name of the publisher of the code system

CodeSystem.publisher
statustoken

The current status of the code system

CodeSystem.status
supplementsreference

Find code system supplements for the referenced code system

CodeSystem.supplements
systemuri

The system for any codes defined by this code system (same as 'url')

CodeSystem.url
titlestring

The human-friendly name of the code system

CodeSystem.title
urluri

The uri that identifies the code system

CodeSystem.url
versiontoken

The business version of the code system

CodeSystem.version

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition