-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from ga4gh/issue-80
Add MappableConcept
- Loading branch information
Showing
15 changed files
with
205 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
**Computational Definition** | ||
|
||
The base definition for all identifiable data objects. | ||
|
||
**Information Model** | ||
|
||
|
||
.. list-table:: | ||
:class: clean-wrap | ||
:header-rows: 1 | ||
:align: left | ||
:widths: auto | ||
|
||
* - Field | ||
- Type | ||
- Limits | ||
- Description | ||
* - id | ||
- string | ||
- 0..1 | ||
- The 'logical' identifier of the data element in the system of record, e.g. a UUID. This 'id' is unique within a given system, but may or may not be globally unique outside the system. It is used within a system to reference an object from another. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
**Computational Definition** | ||
|
||
A concept label that may be mapped to one or more :ref:`Codings <Coding>`. | ||
|
||
**Information Model** | ||
|
||
Some MappableConcept attributes are inherited from :ref:`Entity`. | ||
|
||
.. list-table:: | ||
:class: clean-wrap | ||
:header-rows: 1 | ||
:align: left | ||
:widths: auto | ||
|
||
* - Field | ||
- Type | ||
- Limits | ||
- Description | ||
* - id | ||
- string | ||
- 0..1 | ||
- The 'logical' identifier of the Entity in the system of record, e.g. a UUID. This 'id' is unique within a given system, but may or may not be globally unique outside the system. It is used within a system to reference an object from another. | ||
* - type | ||
- string | ||
- 1..1 | ||
- The name of the class that is instantiated by a data object representing the Entity. | ||
* - label | ||
- string | ||
- 0..1 | ||
- A primary name for the entity. | ||
* - description | ||
- string | ||
- 0..1 | ||
- A free-text description of the Entity. | ||
* - alternativeLabels | ||
- string | ||
- 0..m | ||
- Alternative name(s) for the Entity. | ||
* - extensions | ||
- :ref:`Extension` | ||
- 0..m | ||
- A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model. | ||
* - mappings | ||
- :ref:`ConceptMapping` | ||
- 0..m | ||
- A list of mappings to concepts in terminologies or code systems. Each mapping should include a coding and a relation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://w3id.org/ga4gh/schema/gks-common/1.x/core-im/json/MappableConcept", | ||
"title": "MappableConcept", | ||
"type": "object", | ||
"maturity": "trial use", | ||
"description": "A concept label that may be mapped to one or more Codings.", | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"description": "The 'logical' identifier of the Entity in the system of record, e.g. a UUID. This 'id' is unique within a given system, but may or may not be globally unique outside the system. It is used within a system to reference an object from another.", | ||
"$comment": "Note that it is common for implementers to create their own internal logical ids - typically a serially or randomly generated value like a UUID that is assigned to the data object as it is created in a system. But an implementer may choose to re-use an existing, globally unique id from an external system or authority for this purpose (e.g. an HGNC id for a Gene object) - as long as it is unique within the implementing system, and can be used to reference the identified object in this context." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"description": "The name of the class that is instantiated by a data object representing the Entity.", | ||
"$comment": "MUST be the label of a concrete class from the data model." | ||
}, | ||
"label": { | ||
"type": "string", | ||
"description": "A primary name for the entity." | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "A free-text description of the Entity." | ||
}, | ||
"alternativeLabels": { | ||
"type": "array", | ||
"ordered": false, | ||
"items": { | ||
"type": "string" | ||
}, | ||
"description": "Alternative name(s) for the Entity." | ||
}, | ||
"extensions": { | ||
"type": "array", | ||
"ordered": false, | ||
"items": { | ||
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/json/Extension" | ||
}, | ||
"description": "A list of extensions to the Entity, that allow for capture of information not directly supported by elements defined in the model.", | ||
"$comment": "Extension objects have a key-value data structure that allows definition of custom fields in the data itself. Extensions are not expected to be natively understood, but may be used for pre-negotiated exchange of message attributes between systems." | ||
}, | ||
"mappings": { | ||
"type": "array", | ||
"ordered": false, | ||
"items": { | ||
"$ref": "/ga4gh/schema/gks-common/1.x/core-im/json/ConceptMapping" | ||
}, | ||
"description": "A list of mappings to concepts in terminologies or code systems. Each mapping should include a coding and a relation." | ||
} | ||
}, | ||
"required": [ | ||
"type" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters