phenopacket_mapper.data_standards.code_system module
- class phenopacket_mapper.data_standards.code_system.CodeSystem(name: str, namespace_prefix: str, url: str = None, iri_prefix: str = None, version: str = '0.0.0', synonyms: ~typing.List[str] = <factory>)[source]
Bases:
object
Data class for a CodeSystem
- version: str
List typical alternative abbreviations or names for the resource, to better parse its usage (e.g. ‘HPO’ for the Human Phenotype Ontology, even if its name space prefix is commonly ‘HP’)
- set_version(value) CodeSystem [source]