Class: Code (Code)
A symbol or combination of symbols which is assigned to the members of a collection.
URI: https://example.org/usdm/v4/linkml/Code
classDiagram
class Code
click Code href "../../classes/Code/"
Code : code
Code : codeSystem
Code : codeSystemVersion
Code : decode
Code : extensionAttributes
Code --> "*" ExtensionAttribute : extensionAttributes
click ExtensionAttribute href "../../classes/ExtensionAttribute/"
Code : id
Class Properties
| Property | Value |
|---|---|
| Class URI | usdm:Code |
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| id | 1 string |
direct | |
| code | 1 string |
The literal value of a code. | direct |
| codeSystem | 1 string |
The literal identifier (i.e., distinctive designation) of the system used to assign and/or manage codes. | direct |
| codeSystemVersion | 1 string |
The version of the code system. | direct |
| decode | 1 string |
Standardized or dictionary-derived human readable text associated with a code. | direct |
| extensionAttributes | * ExtensionAttribute |
direct |
Usages
Identifier and Mapping Information
Schema Source
- from schema: https://example.org/usdm/v4/linkml
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | https://example.org/usdm/v4/linkml/Code |
| native | https://example.org/usdm/v4/linkml/Code |
| exact | ncit:C25162 |
Examples
Example: Code-03-UCUM-Unit-Instance
id: Code_LOINC_BP_003
code: 35094-2
codeSystem: LOINC
codeSystemVersion: "2.82"
decode: Blood pressure panel
Example: Code-01-NCIT-Instance
id: Code_NCIT_Lab_001
code: C105585
codeSystem: ncit
codeSystemVersion: 24.04e
decode: Glucose Measurement
Example: Code-02-SNOMED-Instance
id: Code_SNOMED_COVID_002
code: "840539006"
codeSystem: SNOMED
codeSystemVersion: "2026-03-01"
decode: COVID-19
LinkML Source
Direct
name: Code
description: A symbol or combination of symbols which is assigned to the members of
a collection.
title: Code
from_schema: https://example.org/usdm/v4/linkml
exact_mappings:
- ncit:C25162
rank: 1000
attributes:
id:
name: id
from_schema: https://example.org/usdm/v4/linkml
identifier: true
domain_of:
- Abbreviation
- Activity
- Address
- AdministrableProduct
- AdministrableProductProperty
- Administration
- AliasCode
- AnalysisPopulation
- AssignedPerson
- BiomedicalConcept
- BiomedicalConceptCategory
- BiomedicalConceptProperty
- BiomedicalConceptSurrogate
- BiospecimenRetention
- Code
- CommentAnnotation
- ConditionAssignment
- DocumentContentReference
- Duration
- EligibilityCriterion
- Encounter
- Estimand
- ExtensionAttribute
- ExtensionClass
- GeographicScope
- GovernanceDate
- Identifier
- Indication
- Ingredient
- Masking
- MedicalDevice
- NarrativeContent
- NarrativeContentItem
- Organization
- ParameterMap
- PersonName
- PopulationDefinition
- Procedure
- ProductOrganizationRole
- QuantityRange
- ResponseCode
- ScheduleTimeline
- ScheduleTimelineExit
- ScheduledInstance
- Strength
- Study
- StudyAmendment
- StudyAmendmentImpact
- StudyAmendmentReason
- StudyArm
- StudyCell
- StudyChange
- StudyDefinitionDocument
- StudyDefinitionDocumentVersion
- StudyDesign
- StudyElement
- StudyEpoch
- StudyIntervention
- StudyRole
- StudySite
- StudyTitle
- StudyVersion
- SubjectEnrollment
- Substance
- SyntaxTemplate
- SyntaxTemplateDictionary
- Timing
- TransitionRule
range: string
required: true
code:
name: code
description: The literal value of a code.
title: Code Value
from_schema: https://example.org/usdm/v4/linkml
exact_mappings:
- ncit:C188858
domain_of:
- BiomedicalConcept
- BiomedicalConceptCategory
- BiomedicalConceptProperty
- Code
- GeographicScope
- Procedure
- ProductOrganizationRole
- ResponseCode
- StudyAmendmentReason
- StudyRole
range: string
required: true
codeSystem:
name: codeSystem
description: The literal identifier (i.e., distinctive designation) of the system
used to assign and/or manage codes.
title: Code System Name
from_schema: https://example.org/usdm/v4/linkml
exact_mappings:
- ncit:C188859
rank: 1000
domain_of:
- Code
range: string
required: true
codeSystemVersion:
name: codeSystemVersion
description: The version of the code system.
title: Code System Version
from_schema: https://example.org/usdm/v4/linkml
exact_mappings:
- ncit:C188868
rank: 1000
domain_of:
- Code
range: string
required: true
decode:
name: decode
description: Standardized or dictionary-derived human readable text associated
with a code.
title: Decode
from_schema: https://example.org/usdm/v4/linkml
exact_mappings:
- ncit:C188861
rank: 1000
domain_of:
- Code
range: string
required: true
extensionAttributes:
name: extensionAttributes
from_schema: https://example.org/usdm/v4/linkml
domain_of:
- Abbreviation
- Activity
- Address
- AdministrableProduct
- AdministrableProductIdentifier
- AdministrableProductProperty
- Administration
- AliasCode
- AnalysisPopulation
- AssignedPerson
- BiomedicalConcept
- BiomedicalConceptCategory
- BiomedicalConceptProperty
- BiomedicalConceptSurrogate
- BiospecimenRetention
- Characteristic
- Code
- CommentAnnotation
- Condition
- ConditionAssignment
- DocumentContentReference
- Duration
- EligibilityCriterion
- EligibilityCriterionItem
- Encounter
- Endpoint
- Estimand
- ExtensionAttribute
- ExtensionClass
- GeographicScope
- GovernanceDate
- Indication
- Ingredient
- IntercurrentEvent
- InterventionalStudyDesign
- Masking
- MedicalDevice
- MedicalDeviceIdentifier
- NarrativeContent
- NarrativeContentItem
- Objective
- ObservationalStudyDesign
- Organization
- ParameterMap
- PersonName
- Procedure
- ProductOrganizationRole
- Quantity
- Range
- ReferenceIdentifier
- ResponseCode
- ScheduleTimeline
- ScheduleTimelineExit
- ScheduledActivityInstance
- ScheduledDecisionInstance
- Strength
- Study
- StudyAmendment
- StudyAmendmentImpact
- StudyAmendmentReason
- StudyArm
- StudyCell
- StudyChange
- StudyCohort
- StudyDefinitionDocument
- StudyDefinitionDocumentVersion
- StudyDesignPopulation
- StudyElement
- StudyEpoch
- StudyIdentifier
- StudyIntervention
- StudyRole
- StudySite
- StudyTitle
- StudyVersion
- SubjectEnrollment
- Substance
- SyntaxTemplateDictionary
- Timing
- TransitionRule
range: ExtensionAttribute
required: false
multivalued: true
inlined: true
inlined_as_list: true
class_uri: usdm:Code
Induced
name: Code
description: A symbol or combination of symbols which is assigned to the members of
a collection.
title: Code
from_schema: https://example.org/usdm/v4/linkml
exact_mappings:
- ncit:C25162
rank: 1000
attributes:
id:
name: id
from_schema: https://example.org/usdm/v4/linkml
identifier: true
alias: id
owner: Code
domain_of:
- Abbreviation
- Activity
- Address
- AdministrableProduct
- AdministrableProductProperty
- Administration
- AliasCode
- AnalysisPopulation
- AssignedPerson
- BiomedicalConcept
- BiomedicalConceptCategory
- BiomedicalConceptProperty
- BiomedicalConceptSurrogate
- BiospecimenRetention
- Code
- CommentAnnotation
- ConditionAssignment
- DocumentContentReference
- Duration
- EligibilityCriterion
- Encounter
- Estimand
- ExtensionAttribute
- ExtensionClass
- GeographicScope
- GovernanceDate
- Identifier
- Indication
- Ingredient
- Masking
- MedicalDevice
- NarrativeContent
- NarrativeContentItem
- Organization
- ParameterMap
- PersonName
- PopulationDefinition
- Procedure
- ProductOrganizationRole
- QuantityRange
- ResponseCode
- ScheduleTimeline
- ScheduleTimelineExit
- ScheduledInstance
- Strength
- Study
- StudyAmendment
- StudyAmendmentImpact
- StudyAmendmentReason
- StudyArm
- StudyCell
- StudyChange
- StudyDefinitionDocument
- StudyDefinitionDocumentVersion
- StudyDesign
- StudyElement
- StudyEpoch
- StudyIntervention
- StudyRole
- StudySite
- StudyTitle
- StudyVersion
- SubjectEnrollment
- Substance
- SyntaxTemplate
- SyntaxTemplateDictionary
- Timing
- TransitionRule
range: string
required: true
code:
name: code
description: The literal value of a code.
title: Code Value
from_schema: https://example.org/usdm/v4/linkml
exact_mappings:
- ncit:C188858
alias: code
owner: Code
domain_of:
- BiomedicalConcept
- BiomedicalConceptCategory
- BiomedicalConceptProperty
- Code
- GeographicScope
- Procedure
- ProductOrganizationRole
- ResponseCode
- StudyAmendmentReason
- StudyRole
range: string
required: true
codeSystem:
name: codeSystem
description: The literal identifier (i.e., distinctive designation) of the system
used to assign and/or manage codes.
title: Code System Name
from_schema: https://example.org/usdm/v4/linkml
exact_mappings:
- ncit:C188859
rank: 1000
alias: codeSystem
owner: Code
domain_of:
- Code
range: string
required: true
codeSystemVersion:
name: codeSystemVersion
description: The version of the code system.
title: Code System Version
from_schema: https://example.org/usdm/v4/linkml
exact_mappings:
- ncit:C188868
rank: 1000
alias: codeSystemVersion
owner: Code
domain_of:
- Code
range: string
required: true
decode:
name: decode
description: Standardized or dictionary-derived human readable text associated
with a code.
title: Decode
from_schema: https://example.org/usdm/v4/linkml
exact_mappings:
- ncit:C188861
rank: 1000
alias: decode
owner: Code
domain_of:
- Code
range: string
required: true
extensionAttributes:
name: extensionAttributes
from_schema: https://example.org/usdm/v4/linkml
alias: extensionAttributes
owner: Code
domain_of:
- Abbreviation
- Activity
- Address
- AdministrableProduct
- AdministrableProductIdentifier
- AdministrableProductProperty
- Administration
- AliasCode
- AnalysisPopulation
- AssignedPerson
- BiomedicalConcept
- BiomedicalConceptCategory
- BiomedicalConceptProperty
- BiomedicalConceptSurrogate
- BiospecimenRetention
- Characteristic
- Code
- CommentAnnotation
- Condition
- ConditionAssignment
- DocumentContentReference
- Duration
- EligibilityCriterion
- EligibilityCriterionItem
- Encounter
- Endpoint
- Estimand
- ExtensionAttribute
- ExtensionClass
- GeographicScope
- GovernanceDate
- Indication
- Ingredient
- IntercurrentEvent
- InterventionalStudyDesign
- Masking
- MedicalDevice
- MedicalDeviceIdentifier
- NarrativeContent
- NarrativeContentItem
- Objective
- ObservationalStudyDesign
- Organization
- ParameterMap
- PersonName
- Procedure
- ProductOrganizationRole
- Quantity
- Range
- ReferenceIdentifier
- ResponseCode
- ScheduleTimeline
- ScheduleTimelineExit
- ScheduledActivityInstance
- ScheduledDecisionInstance
- Strength
- Study
- StudyAmendment
- StudyAmendmentImpact
- StudyAmendmentReason
- StudyArm
- StudyCell
- StudyChange
- StudyCohort
- StudyDefinitionDocument
- StudyDefinitionDocumentVersion
- StudyDesignPopulation
- StudyElement
- StudyEpoch
- StudyIdentifier
- StudyIntervention
- StudyRole
- StudySite
- StudyTitle
- StudyVersion
- SubjectEnrollment
- Substance
- SyntaxTemplateDictionary
- Timing
- TransitionRule
range: ExtensionAttribute
required: false
multivalued: true
inlined: true
inlined_as_list: true
class_uri: usdm:Code