Skip to content

Class: CodeList

A type hold a list of codes for business data validation

URI: common_domain_model:CodeList

 classDiagram
    class CodeList
    click CodeList href "../CodeList/"
      CodeList : codes





        CodeList --> "*" CodeValue : codes
        click CodeValue href "../CodeValue/"



      CodeList : identification





        CodeList --> "1" CodeListIdentification : identification
        click CodeListIdentification href "../CodeListIdentification/"



Slots

Name Cardinality and Range Description Inheritance
identification 1
CodeListIdentification
Identification information about the code list direct
codes *
CodeValue
Code values direct

In Subsets

Comments

  • Rosetta func: LoadCodeList — Loads a code list JSON resource into memory in the form of cdm.base.staticdata.codelist.CodeList Rune object

Identifier and Mapping Information

Annotations

property value
rosetta_functions [{"name":"LoadCodeList","description":"Loads a code list JSON resource into memory in the form of cdm.base.staticdata.codelist.CodeList Rune object","inputs":[{"name":"domain","type":"string","cardinality":"1..1"}],"output":{"name":"codelist","type":"CodeList","cardinality":"0..1"},"code_implementation":true}]

Schema Source

Mappings

Mapping Type Mapped Value
self common_domain_model:CodeList
native common_domain_model:CodeList
close fpml_5_10:CodeList

LinkML Source

Direct

name: CodeList
annotations:
  rosetta_functions:
    tag: rosetta_functions
    value: '[{"name":"LoadCodeList","description":"Loads a code list JSON resource
      into memory in the form of cdm.base.staticdata.codelist.CodeList Rune object","inputs":[{"name":"domain","type":"string","cardinality":"1..1"}],"output":{"name":"codelist","type":"CodeList","cardinality":"0..1"},"code_implementation":true}]'
description: A type hold a list of codes for business data validation
comments:
- 'Rosetta func: LoadCodeList  Loads a code list JSON resource into memory in the
  form of cdm.base.staticdata.codelist.CodeList Rune object'
in_subset:
- cdm_base_staticdata_codelist
from_schema: https://w3id.org/lmodel/common-domain-model
close_mappings:
- fpml_5_10:CodeList
slots:
- identification
- codes

Induced

name: CodeList
annotations:
  rosetta_functions:
    tag: rosetta_functions
    value: '[{"name":"LoadCodeList","description":"Loads a code list JSON resource
      into memory in the form of cdm.base.staticdata.codelist.CodeList Rune object","inputs":[{"name":"domain","type":"string","cardinality":"1..1"}],"output":{"name":"codelist","type":"CodeList","cardinality":"0..1"},"code_implementation":true}]'
description: A type hold a list of codes for business data validation
comments:
- 'Rosetta func: LoadCodeList  Loads a code list JSON resource into memory in the
  form of cdm.base.staticdata.codelist.CodeList Rune object'
in_subset:
- cdm_base_staticdata_codelist
from_schema: https://w3id.org/lmodel/common-domain-model
close_mappings:
- fpml_5_10:CodeList
attributes:
  identification:
    name: identification
    description: Identification information about the code list
    from_schema: https://w3id.org/lmodel/common-domain-model
    close_mappings:
    - fpml_5_10:CodeList.identification
    rank: 1000
    owner: CodeList
    domain_of:
    - CodeList
    range: CodeListIdentification
    required: true
  codes:
    name: codes
    description: Code values
    from_schema: https://w3id.org/lmodel/common-domain-model
    close_mappings:
    - fpml_5_10:CodeList.codes
    rank: 1000
    owner: CodeList
    domain_of:
    - CodeList
    range: CodeValue
    multivalued: true
    inlined: true
    inlined_as_list: true