Skip to content

Class: CaseEntity

A case (patient) in the matrix

URI: https://w3id.org/monarch/monarch-py/CaseEntity

 classDiagram
    class CaseEntity
    click CaseEntity href "../CaseEntity/"
      CaseEntity : full_id

      CaseEntity : id

      CaseEntity : is_direct

      CaseEntity : label

      CaseEntity : source_disease_id

      CaseEntity : source_disease_label

Slots

Name Cardinality and Range Description Inheritance
id 1
String
direct
label 0..1
String
direct
full_id 0..1
String
The full identifier for an entity direct
source_disease_id 0..1
String
The disease ID that a case is indirectly associated with (for descendant dise... direct
source_disease_label 0..1
String
The label of the source disease for indirect case associations direct
is_direct 1
Boolean
Whether the case is directly associated with the disease or via a descendant direct

Usages

used by used in type used
CasePhenotypeMatrixResponse cases range CaseEntity

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self https://w3id.org/monarch/monarch-py/CaseEntity
native https://w3id.org/monarch/monarch-py/CaseEntity

LinkML Source

Direct

name: CaseEntity
description: A case (patient) in the matrix
from_schema: https://w3id.org/monarch/monarch-py
slots:
- id
- label
- full_id
- source_disease_id
- source_disease_label
- is_direct
slot_usage:
  id:
    name: id
    identifier: true
    required: true
  label:
    name: label
    required: false
  is_direct:
    name: is_direct
    required: true

Induced

name: CaseEntity
description: A case (patient) in the matrix
from_schema: https://w3id.org/monarch/monarch-py
slot_usage:
  id:
    name: id
    identifier: true
    required: true
  label:
    name: label
    required: false
  is_direct:
    name: is_direct
    required: true
attributes:
  id:
    name: id
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    identifier: true
    alias: id
    owner: CaseEntity
    domain_of:
    - Association
    - ExpandedCurie
    - Entity
    - HistoPheno
    - HistoBin
    - Mapping
    - MultiEntityAssociationResults
    - CaseEntity
    - CasePhenotype
    - HistoPhenoBin
    - CasePhenotypeCellData
    - GridColumnEntity
    - GridRowEntity
    - GridBin
    - Qualifier
    - GridCellData
    - TermInfo
    range: string
    required: true
  label:
    name: label
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: label
    owner: CaseEntity
    domain_of:
    - FacetValue
    - FacetField
    - CaseEntity
    - CasePhenotype
    - HistoPhenoBin
    - GridColumnEntity
    - GridRowEntity
    - GridBin
    - Qualifier
    - TermInfo
    range: string
    required: false
  full_id:
    name: full_id
    description: The full identifier for an entity
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: full_id
    owner: CaseEntity
    domain_of:
    - CaseEntity
    range: string
  source_disease_id:
    name: source_disease_id
    description: The disease ID that a case is indirectly associated with (for descendant
      diseases)
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: source_disease_id
    owner: CaseEntity
    domain_of:
    - CaseEntity
    range: string
  source_disease_label:
    name: source_disease_label
    description: The label of the source disease for indirect case associations
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: source_disease_label
    owner: CaseEntity
    domain_of:
    - CaseEntity
    range: string
  is_direct:
    name: is_direct
    description: Whether the case is directly associated with the disease or via a
      descendant
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    alias: is_direct
    owner: CaseEntity
    domain_of:
    - CaseEntity
    - GridColumnEntity
    range: boolean
    required: true