Skip to content

Class: Family Member Relationship (FamilyRelationship)

A relationship between two Subjects.

URI: anvil:FamilyRelationship

classDiagram class FamilyRelationship click FamilyRelationship href "../FamilyRelationship" AccessControlledRecord <|-- FamilyRelationship click AccessControlledRecord href "../AccessControlledRecord" FamilyRelationship : external_id FamilyRelationship : family_member FamilyRelationship --> "1" Subject : family_member click Subject href "../Subject" FamilyRelationship : has_access_policy FamilyRelationship --> "0..1" AccessPolicy : has_access_policy click AccessPolicy href "../AccessPolicy" FamilyRelationship : id FamilyRelationship : other_family_member FamilyRelationship --> "1" Subject : other_family_member click Subject href "../Subject" FamilyRelationship : relationship_code

Inheritance

Slots

Name Cardinality and Range Description Inheritance
family_member 1
Subject
The family member Subject who is the relationship "subject" direct
other_family_member 1
Subject
The family member Subject for the relationship "object" direct
relationship_code 1
Uriorcurie
Code definting the relationship predicate direct
has_access_policy 0..1
AccessPolicy
Which access policy applies to this element? AccessControlledRecord
id 1
String
ID associated with a class Thing
external_id *
Uriorcurie
Other identifiers for this entity, eg, from the submitting study or in system... Thing

Usages

used by used in type used
Family family_relationships range FamilyRelationship

Identifier and Mapping Information

Schema Source

  • from schema: https://anvilproject.org/acr-harmonized-data-model

Mappings

Mapping Type Mapped Value
self anvil:FamilyRelationship
native anvil:FamilyRelationship

LinkML Source

Direct

name: FamilyRelationship
description: A relationship between two Subjects.
title: Family Member Relationship
from_schema: https://anvilproject.org/acr-harmonized-data-model
is_a: AccessControlledRecord
slots:
- family_member
- other_family_member
- relationship_code

Induced

name: FamilyRelationship
description: A relationship between two Subjects.
title: Family Member Relationship
from_schema: https://anvilproject.org/acr-harmonized-data-model
is_a: AccessControlledRecord
attributes:
  family_member:
    name: family_member
    description: The family member Subject who is the relationship "subject".
    from_schema: https://anvilproject.org/acr-harmonized-data-model
    rank: 1000
    alias: family_member
    owner: FamilyRelationship
    domain_of:
    - FamilyRelationship
    - FamilyMember
    range: Subject
    required: true
    multivalued: false
    inlined: false
  other_family_member:
    name: other_family_member
    description: The family member Subject for the relationship "object".
    from_schema: https://anvilproject.org/acr-harmonized-data-model
    rank: 1000
    alias: other_family_member
    owner: FamilyRelationship
    domain_of:
    - FamilyRelationship
    range: Subject
    required: true
    multivalued: false
    inlined: false
  relationship_code:
    name: relationship_code
    description: 'Code definting the relationship predicate. Relationship of the "Family
      Member" to the "Other Family Member" (i.e. mother, father, etc). Code must be
      from the HL7 [FamilyMember ValueSet](https://terminology.hl7.org/6.2.0/ValueSet-v3-FamilyMember.html)

      '
    from_schema: https://anvilproject.org/acr-harmonized-data-model
    rank: 1000
    alias: relationship_code
    owner: FamilyRelationship
    domain_of:
    - FamilyRelationship
    range: uriorcurie
    required: true
    multivalued: false
  has_access_policy:
    name: has_access_policy
    description: Which access policy applies to this element?
    from_schema: https://anvilproject.org/acr-harmonized-data-model
    rank: 1000
    alias: has_access_policy
    owner: FamilyRelationship
    domain_of:
    - AccessControlledRecord
    range: AccessPolicy
    inlined: false
  id:
    name: id
    description: ID associated with a class
    title: ID
    from_schema: https://anvilproject.org/acr-harmonized-data-model
    rank: 1000
    identifier: true
    alias: id
    owner: FamilyRelationship
    domain_of:
    - Thing
    range: string
    required: true
    multivalued: false
  external_id:
    name: external_id
    description: Other identifiers for this entity, eg, from the submitting study
      or in systems link dbGaP
    title: External Identifiers
    from_schema: https://anvilproject.org/acr-harmonized-data-model
    rank: 1000
    alias: external_id
    owner: FamilyRelationship
    domain_of:
    - Thing
    range: uriorcurie
    required: false
    multivalued: true