This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
The official URL for this profile is:
http://hl7.org/fhir/StructureDefinition/shareablecodesystem
Enforces the minimum information set for the value set metadata required by HL7 and other organisations that share and publish value sets
This profile was published on [no date] as a draft by HL7.
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from CodeSystem.
This structure is derived from CodeSystem.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CodeSystem | 1..1 | CodeSystem | ||
immutable | 0..1 | boolean | ||
url | 1..1 | uri | ||
version | 1..1 | string | ||
name | 1..1 | string | ||
status | 1..1 | code | ||
experimental | 1..1 | boolean | ||
publisher | 1..1 | string | ||
description | 1..1 | string | ||
caseSensitive | 1..1 | boolean | ||
concept | 1..* | BackboneElement | ||
abstract | 0..1 | boolean | ||
code | 1..1 | code | ||
display | 1..1 | string | ||
definition | 1..1 | string | ||
concept | 0..* | Unknown reference to #concept | ||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CodeSystem | I | 1..1 | CodeSystem | A set of codes drawn from one or more code systems csd-1: Within a code system definition, all the codes SHALL be unique |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?! ∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: IETF BCP-47 (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
url | ∑ | 1..1 | uri | Globally unique logical identifier for code system (Coding.system) |
identifier | ∑ | 0..1 | Identifier | Additional identifier for the code system (e.g. HL7 v2 / CDA) |
version | ∑ | 1..1 | string | Logical identifier for this version (Coding.version) |
name | ∑ | 1..1 | string | Informal name for this code system |
status | ?! ∑ | 1..1 | code | draft | active | retired Binding: ConformanceResourceStatus (required) |
experimental | ∑ | 1..1 | boolean | If for testing purposes, not real usage |
publisher | ∑ | 1..1 | string | Name of the publisher (organization or individual) |
contact | ∑ | 0..* | BackboneElement | Contact details of the publisher |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
name | ∑ | 0..1 | string | Name of an individual to contact |
telecom | ∑ | 0..* | ContactPoint | Contact details for individual or publisher |
date | ∑ | 0..1 | dateTime | Date for given status |
description | ∑ | 1..1 | string | Human language description of the code system |
useContext | ∑ | 0..* | CodeableConcept | Content intends to support these contexts Binding: Context of Use ValueSet (extensible) |
requirements | 0..1 | string | Why needed | |
copyright | 0..1 | string | Use and/or publishing restrictions | |
caseSensitive | ∑ | 1..1 | boolean | If code comparison is case sensitive |
valueSet | ∑ | 0..1 | uri | Canonical URL for value set with entire code system |
compositional | ∑ | 0..1 | boolean | If code system defines a post-composition grammar |
versionNeeded | ∑ | 0..1 | boolean | If definitions are not stable |
content | ∑ | 1..1 | code | not-present | examplar | fragment | complete Binding: CodeSystemContentMode (required) |
count | ∑ | 0..1 | unsignedInt | Total concepts in the code system |
filter | ∑ | 0..* | BackboneElement | Filter that can be used in a value set |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
code | ∑ | 1..1 | code | Code that identifies the filter |
description | ∑ | 0..1 | string | How or why the filter is used |
operator | ∑ | 1..* | code | Operators that can be used with filter Binding: FilterOperator (required) |
value | ∑ | 1..1 | string | What to use for the value |
property | ∑ | 0..* | BackboneElement | Additional information supplied about each concept |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
code | ∑ | 1..1 | code | Identifies the property, both internally and externally |
description | ∑ | 0..1 | string | Why the property is defined, and/or what it conveys |
type | ∑ | 1..1 | code | code | Coding | string | integer | boolean | dateTime Binding: PropertyType (required) |
concept | 1..* | BackboneElement | Concepts in the code system | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
code | 1..1 | code | Code that identifies concept | |
display | 1..1 | string | Text to display to the user | |
definition | 1..1 | string | Formal definition | |
designation | 0..* | BackboneElement | Additional representations for the concept | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
language | 0..1 | code | Human language of the designation Binding: IETF BCP-47 (required) | |
use | 0..1 | Coding | Details how this designation would be used Binding: Designation Use (extensible) | |
value | 1..1 | string | The text value for this designation | |
property | 0..* | BackboneElement | Property value for the concept | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
code | 1..1 | code | Reference to CodeSystem.property.code | |
value[x] | 1..1 | code, Coding, string, integer, boolean, dateTime | Value of the property for this concept | |
concept | 0..* | Unknown reference to #concept Child Concepts (is-a/contains/categorizes) | ||
Documentation for this format |
todo
This structure is derived from CodeSystem.
Differential View
This structure is derived from CodeSystem.
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CodeSystem | 1..1 | CodeSystem | ||
immutable | 0..1 | boolean | ||
url | 1..1 | uri | ||
version | 1..1 | string | ||
name | 1..1 | string | ||
status | 1..1 | code | ||
experimental | 1..1 | boolean | ||
publisher | 1..1 | string | ||
description | 1..1 | string | ||
caseSensitive | 1..1 | boolean | ||
concept | 1..* | BackboneElement | ||
abstract | 0..1 | boolean | ||
code | 1..1 | code | ||
display | 1..1 | string | ||
definition | 1..1 | string | ||
concept | 0..* | Unknown reference to #concept | ||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
CodeSystem | I | 1..1 | CodeSystem | A set of codes drawn from one or more code systems csd-1: Within a code system definition, all the codes SHALL be unique |
meta | ∑ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?! ∑ | 0..1 | uri | A set of rules under which this content was created |
language | 0..1 | code | Language of the resource content Binding: IETF BCP-47 (required) | |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored |
url | ∑ | 1..1 | uri | Globally unique logical identifier for code system (Coding.system) |
identifier | ∑ | 0..1 | Identifier | Additional identifier for the code system (e.g. HL7 v2 / CDA) |
version | ∑ | 1..1 | string | Logical identifier for this version (Coding.version) |
name | ∑ | 1..1 | string | Informal name for this code system |
status | ?! ∑ | 1..1 | code | draft | active | retired Binding: ConformanceResourceStatus (required) |
experimental | ∑ | 1..1 | boolean | If for testing purposes, not real usage |
publisher | ∑ | 1..1 | string | Name of the publisher (organization or individual) |
contact | ∑ | 0..* | BackboneElement | Contact details of the publisher |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
name | ∑ | 0..1 | string | Name of an individual to contact |
telecom | ∑ | 0..* | ContactPoint | Contact details for individual or publisher |
date | ∑ | 0..1 | dateTime | Date for given status |
description | ∑ | 1..1 | string | Human language description of the code system |
useContext | ∑ | 0..* | CodeableConcept | Content intends to support these contexts Binding: Context of Use ValueSet (extensible) |
requirements | 0..1 | string | Why needed | |
copyright | 0..1 | string | Use and/or publishing restrictions | |
caseSensitive | ∑ | 1..1 | boolean | If code comparison is case sensitive |
valueSet | ∑ | 0..1 | uri | Canonical URL for value set with entire code system |
compositional | ∑ | 0..1 | boolean | If code system defines a post-composition grammar |
versionNeeded | ∑ | 0..1 | boolean | If definitions are not stable |
content | ∑ | 1..1 | code | not-present | examplar | fragment | complete Binding: CodeSystemContentMode (required) |
count | ∑ | 0..1 | unsignedInt | Total concepts in the code system |
filter | ∑ | 0..* | BackboneElement | Filter that can be used in a value set |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
code | ∑ | 1..1 | code | Code that identifies the filter |
description | ∑ | 0..1 | string | How or why the filter is used |
operator | ∑ | 1..* | code | Operators that can be used with filter Binding: FilterOperator (required) |
value | ∑ | 1..1 | string | What to use for the value |
property | ∑ | 0..* | BackboneElement | Additional information supplied about each concept |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
code | ∑ | 1..1 | code | Identifies the property, both internally and externally |
description | ∑ | 0..1 | string | Why the property is defined, and/or what it conveys |
type | ∑ | 1..1 | code | code | Coding | string | integer | boolean | dateTime Binding: PropertyType (required) |
concept | 1..* | BackboneElement | Concepts in the code system | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
code | 1..1 | code | Code that identifies concept | |
display | 1..1 | string | Text to display to the user | |
definition | 1..1 | string | Formal definition | |
designation | 0..* | BackboneElement | Additional representations for the concept | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
language | 0..1 | code | Human language of the designation Binding: IETF BCP-47 (required) | |
use | 0..1 | Coding | Details how this designation would be used Binding: Designation Use (extensible) | |
value | 1..1 | string | The text value for this designation | |
property | 0..* | BackboneElement | Property value for the concept | |
extension | 0..* | Extension | Additional Content defined by implementations | |
modifierExtension | ?! ∑ | 0..* | Extension | Extensions that cannot be ignored |
code | 1..1 | code | Reference to CodeSystem.property.code | |
value[x] | 1..1 | code, Coding, string, integer, boolean, dateTime | Value of the property for this concept | |
concept | 0..* | Unknown reference to #concept Child Concepts (is-a/contains/categorizes) | ||
Documentation for this format |
XML Template
JSON Template
todo
Other representations of profile: Schematron
Path | Name | Conformance | ValueSet |
CodeSystem.language | ?ext | required | http://tools.ietf.org/html/bcp47 |
CodeSystem.status | ConformanceResourceStatus | required | ConformanceResourceStatus |
CodeSystem.useContext | Context of Use ValueSet | extensible | Context of Use ValueSet |
CodeSystem.content | CodeSystemContentMode | required | CodeSystemContentMode |
CodeSystem.filter.operator | FilterOperator | required | FilterOperator |
CodeSystem.property.type | PropertyType | required | PropertyType |
CodeSystem.concept.designation.language | ?ext | required | http://tools.ietf.org/html/bcp47 |
CodeSystem.concept.designation.use | Designation Use | extensible | Designation Use |
Id | Path | Details | Requirements |
csd-1 | CodeSystem | Within a code system definition, all the codes SHALL be unique XPath: count(distinct-values(descendant::f:concept/f:code/@value))=count(descendant::f:concept) |