Skip to content

Class: Relative Date Time (RelativeDateTime)

In FHIR, we can express events using relative date/times from the participant's DOB to avoid exposing sensitive information

URI: kfi_fhir_sparks:RelativeDateTime

classDiagram class RelativeDateTime click RelativeDateTime href "../RelativeDateTime/" Record <|-- RelativeDateTime click Record href "../Record/" RelativeDateTime : external_id RelativeDateTime : id RelativeDateTime : offset RelativeDateTime : offset_end RelativeDateTime : offset_type RelativeDateTime --> "1" EnumOffsetType : offset_type click EnumOffsetType href "../EnumOffsetType/"

Inheritance

Slots

Name Cardinality and Range Description Inheritance
offset 1
Integer
The point after the target being described direct
offset_end 0..1
Integer
The end of a relative date/time range direct
offset_type 1
EnumOffsetType
What is the datatype associated with the offset (days, years, etc) direct
id 1
String
Unique Identifier for a table entry Record
external_id *
Uriorcurie
Other identifiers for this entity, eg, from the submitting study or in system... HasExternalId

Usages

used by used in type used
AgeAt age range RelativeDateTime
Participant deceased_rel range RelativeDateTime

Identifier and Mapping Information

Schema Source

  • from schema: https://carrollaboratory.github.io/kfi-fhir-input

Mappings

Mapping Type Mapped Value
self kfi_fhir_sparks:RelativeDateTime
native kfi_fhir_sparks:RelativeDateTime

LinkML Source

Direct

name: RelativeDateTime
description: In FHIR, we can express events using relative date/times from the participant's
  DOB to avoid exposing sensitive information
title: Relative Date Time
from_schema: https://carrollaboratory.github.io/kfi-fhir-input
is_a: Record
slots:
- offset
- offset_end
- offset_type

Induced

name: RelativeDateTime
description: In FHIR, we can express events using relative date/times from the participant's
  DOB to avoid exposing sensitive information
title: Relative Date Time
from_schema: https://carrollaboratory.github.io/kfi-fhir-input
is_a: Record
attributes:
  offset:
    name: offset
    description: The point after the target being described. For ranges, this can
      be used for the starting point
    title: Offset
    from_schema: https://carrollaboratory.github.io/kfi-fhir-input
    rank: 1000
    alias: offset
    owner: RelativeDateTime
    domain_of:
    - RelativeDateTime
    range: integer
    required: true
    multivalued: false
  offset_end:
    name: offset_end
    description: The end of a relative date/time range
    title: Offset End
    from_schema: https://carrollaboratory.github.io/kfi-fhir-input
    rank: 1000
    alias: offset_end
    owner: RelativeDateTime
    domain_of:
    - RelativeDateTime
    range: integer
    required: false
    multivalued: false
  offset_type:
    name: offset_type
    description: What is the datatype associated with the offset (days, years, etc)
    title: Offset Type
    from_schema: https://carrollaboratory.github.io/kfi-fhir-input
    rank: 1000
    alias: offset_type
    owner: RelativeDateTime
    domain_of:
    - RelativeDateTime
    range: EnumOffsetType
    required: true
    multivalued: false
  id:
    name: id
    description: Unique Identifier for a table entry. This is probably not the Global
      ID
    title: ID
    from_schema: https://carrollaboratory.github.io/kfi-fhir-input
    rank: 1000
    identifier: true
    alias: id
    owner: RelativeDateTime
    domain_of:
    - Record
    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://carrollaboratory.github.io/kfi-fhir-input
    rank: 1000
    alias: external_id
    owner: RelativeDateTime
    domain_of:
    - HasExternalId
    range: uriorcurie
    required: false
    multivalued: true