Skip to content

Class: Source Data (SourceData)

Reference to submitted data used to generate harmonized data. Applying the query_parameter(s) to the data_source.parameterized_query should return the specific data of interest.

URI: anvil:SourceData

classDiagram class SourceData click SourceData href "../SourceData" AccessControlledRecord <|-- SourceData click AccessControlledRecord href "../AccessControlledRecord" SourceData : data_source SourceData --> "0..1" DataSource : data_source click DataSource href "../DataSource" SourceData : external_id SourceData : has_access_policy SourceData --> "0..1" AccessPolicy : has_access_policy click AccessPolicy href "../AccessPolicy" SourceData : id SourceData : query_parameter

Inheritance

Slots

Name Cardinality and Range Description Inheritance
data_source 0..1
DataSource
Defines the location of data and how to query it direct
query_parameter *
String
One or more query parameters used to select the specific row 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
Demographics source_data range SourceData
SubjectAssertion source_data range SourceData

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: SourceData
description: Reference to submitted data used to generate harmonized data. Applying
  the query_parameter(s) to the data_source.parameterized_query should return the
  specific data of interest.
title: Source Data
from_schema: https://anvilproject.org/acr-harmonized-data-model
is_a: AccessControlledRecord
slots:
- data_source
- query_parameter

Induced

name: SourceData
description: Reference to submitted data used to generate harmonized data. Applying
  the query_parameter(s) to the data_source.parameterized_query should return the
  specific data of interest.
title: Source Data
from_schema: https://anvilproject.org/acr-harmonized-data-model
is_a: AccessControlledRecord
attributes:
  data_source:
    name: data_source
    description: Defines the location of data and how to query it.
    title: Data Source
    from_schema: https://anvilproject.org/acr-harmonized-data-model
    rank: 1000
    alias: data_source
    owner: SourceData
    domain_of:
    - SourceData
    range: DataSource
  query_parameter:
    name: query_parameter
    description: One or more query parameters used to select the specific row. It
      will leverage the parameterized_query defined by a data_source. This should
      be formatted according to (https://cloud.google.com/bigquery/docs/parameterized-queries)[BigQuery
      instructions], specifically the bq CLI version with named parameters, ie, "<parameter
      name>:<data type>:<value>".
    title: Query Parameter
    from_schema: https://anvilproject.org/acr-harmonized-data-model
    rank: 1000
    alias: query_parameter
    owner: SourceData
    domain_of:
    - SourceData
    range: string
    multivalued: true
  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: SourceData
    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: SourceData
    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: SourceData
    domain_of:
    - Thing
    range: uriorcurie
    required: false
    multivalued: true