diff --git a/.DS_Store b/.DS_Store
index 5dd2e137..3b275751 100755
Binary files a/.DS_Store and b/.DS_Store differ
diff --git a/.gitignore b/.gitignore
index 53f351c6..52fa51f5 100755
--- a/.gitignore
+++ b/.gitignore
@@ -190,4 +190,7 @@ rarelink-cdm-processed.json
rarelink_apiconfig.json
# Local FHIR server configuration
-hapi-fhir
\ No newline at end of file
+hapi-fhir
+
+# test data
+.res/phenopackets_test/
\ No newline at end of file
diff --git a/docs/.DS_Store b/docs/.DS_Store
index 62ebef5e..0e870220 100755
Binary files a/docs/.DS_Store and b/docs/.DS_Store differ
diff --git a/docs/1_background/1_0_background_file.rst b/docs/1_background/1_0_background_file.rst
index 67b5ff1e..ba5a3d5f 100755
--- a/docs/1_background/1_0_background_file.rst
+++ b/docs/1_background/1_0_background_file.rst
@@ -1,7 +1,7 @@
.. _1_0:
Background
-==========
+=============
RareLink was developed as a response to the widespread challenges in rare
disease (RD) data management, specifically the lack of interoperability and
diff --git a/docs/1_background/1_2_ontologies.rst b/docs/1_background/1_2_ontologies.rst
index e06842ec..e234930e 100755
--- a/docs/1_background/1_2_ontologies.rst
+++ b/docs/1_background/1_2_ontologies.rst
@@ -34,6 +34,7 @@ Ontologies used in RareLink
The following codesystems are used in the RareLink Core Framework:
.. fields: Ontologies Used in RareLink
+
:`ICD-10 & ICD-11 `_:
The **International Statistical Classification of Diseases** is used for
documenting morbidity in healthcare systems, encoding mortality statistics,
@@ -92,9 +93,8 @@ The following codesystems are used in the RareLink Core Framework:
The **Sequence Ontology** provides standardized vocabulary for genomic
annotation components, enhancing sharing and analysis of genomic information.
-
.. note:: The versions used by the RareLink Core Framework can be found here:
- `RareLink Ontologies <
+ `RareLink Ontologies `_.
Further Reading
---------------
diff --git a/docs/2_rarelink_framework/2_0_rarelink_file.rst b/docs/2_rarelink_framework/2_0_rarelink_file.rst
index 867c4479..ba3ea932 100755
--- a/docs/2_rarelink_framework/2_0_rarelink_file.rst
+++ b/docs/2_rarelink_framework/2_0_rarelink_file.rst
@@ -3,11 +3,6 @@
RareLink Framework
==================
-.. attention::
- To use your local REDCap project, you will need to set up a local REDCap
- instance. For this please contact your local REDCap administratior. A project
- name could for example be "RareLink - Your local REDCap location".
-
In this section we elaborate on the development of the RareLink framework, how
it is designed to facilitate the management of rare disease data, and how it
supports the creation of interoperable and reusable datasets. We provide an
diff --git a/docs/2_rarelink_framework/2_2_rarelink_cdm.rst b/docs/2_rarelink_framework/2_2_rarelink_cdm.rst
index 53f60a09..a4e680b1 100755
--- a/docs/2_rarelink_framework/2_2_rarelink_cdm.rst
+++ b/docs/2_rarelink_framework/2_2_rarelink_cdm.rst
@@ -1,9 +1,9 @@
.. _2_2:
RareLink-CDM
-=============================
+=============
-.. warning::
+.. attention::
RareLink v2.0.0.dev0 is under development (the REDCap sheets may be subject
to change). Please :ref:`12` us before using it to ensure you have the latest
updates and guidance.
@@ -21,20 +21,108 @@ instrument, ensuring consistency and comprehensive data capture.
- Read the :ref:`1_5` page for more information on the Rare Disease Common Data Model.
-RareLink-CDM Data Dictionary
-----------------------------
+Contents
+----------
-- :download:`RareLink-CDM Data Dictionary (v2.0.0.dev0) <../../res/rarelink_cdm_datadictionary - v2_0_0_dev0.csv>`
+- :ref:`rarelink_cdm_datadictionary`
+- :ref:`rarelink_cdm_linkml`
+- :ref:`rule-set`
+- :ref:`field-anotations`
+- :ref:`cdm_overview`
-RuleSet for Codes and Codesystems
-__________________________________
+_____________________________________________________________________________________
+
+.. _rarelink_cdm_datadictionary:
+
+REDCap Data Dictionary
+-----------------------
+
+The RareLink CDM Data Dictionary is available for download as a CSV file:
+
+:download:`Download: RareLink-CDM Data Dictionary (v2.0.0.dev0) <../../res/rarelink_cdm_datadictionary - v2_0_0_dev0.csv>`
+
+... Next steps
+________________
+
+- ... read :ref:`3_1` for more information on how to manually import and set up
+ the RareLink-CDM Data Dictionary into your local REDCap project.
+- ... or run the following commands to directly import the data dictionary into
+ your REDCap project using the :ref:`2_3`:
+
+.. code-block:: bash
+
+ rarelink setup keys
+ rarelink setup data-dictionary
+
+Return to `Top <#top>`_.
+
+_____________________________________________________________________________________
+
+.. _rarelink_cdm_linkml:
+
+LinkML Schema
+---------------
+
+The RareLink-CDM has been encoded in the LinkML schema format to allow for
+interoperability with other data models and standards. The LinkML schema
+is an open-data modeling language and provides a machine-readable representation
+of the RareLink-CDM, including the data elements, codes, and mappings to other
+standards. In other words, the RareLink REDCap instruments are displayed in a
+structured format that so that LinkML modules and functionalities can be used.
+
+
+- Here you can view the `LinkML schema of the RareLink-CDM v2.0.0.dev0 `_.
+
+Usage
+_______
+
+We use RareLink-CDM-LinkML schema and functionalities in various RareLink
+modules, for example:
+
+- When running ``rarelink redcap export-records`` you will see, that the data
+ from the REDCap project is automatically processed to the LinkML presentation
+ of the RareLink-CDM and validated against it. This ensures the data is ready
+ to :ref:`4_3`.
+- Within the data model itself, we use its `python classes and properties `_
+ automatically generated by LinkML schema to ensure consistent use of code
+ systems, versions and codes within one RareLink-CDM version and its mappings.
+- Since our RareLink-CDM is modeled and defined with LinkML, we can make use
+ of the `LinkML Schema Automator `_
+ for :ref:`4_2` from existing (tabular) databases. This allows import it into
+ a REDCap project and allow you to :ref:`4_3` or :ref:`4_4`.
+
+LinkML - furhther links
+________________________
+
+To know more about LinkML, check out:
+
+- The `LinkML GitHub repository `_ or
+- the `LinkML Schema Documentation `_.
+
+Feel free to :ref:`12` us in case you would like to be connected to the LinkML
+community or our colleagues from the `Monarch Initiative `_.
+
+
+
+Return to `top <#top>`_.
+
+
+_____________________________________________________________________________________
+
+.. _rule-set:
+
+Rules for REDCap codes and codesystems
+---------------------------------------
REDCap variables and choice codes have specific limitations and requirements:
-- REDCap recommends a maximum of 26 characters for variable names. We have shortened the variable names to adhere to this limitation.
-- REDCap variables must be unique and must not contain spaces or special characters, i.e. only alphanumeric characters and underscores.
-- REDCap choice codes must be unique and must not contain spaces or special characters, i.e. only alphanumeric characters and underscores.
+- REDCap recommends a maximum of 26 characters for variable names. We have
+ shortened the variable names to adhere to this limitation.
+- REDCap variables must be unique and must not contain spaces or special
+ characters, i.e. only alphanumeric characters and underscores.
+- REDCap choice codes must be unique and must not contain spaces or special
+ characters, i.e. only alphanumeric characters and underscores.
To address these, we have defined a set of rules for the REDCap variables and
choice codes in the RareLink CDM Data Dictionary. The rules are as follows:
@@ -47,22 +135,14 @@ choice codes in the RareLink CDM Data Dictionary. The rules are as follows:
6) All codes begin with the official codesystem prefix (e.g. HP, SNOMED, etc.) as a lower case string followed by an underscore and the code.
7) All codes are defined in the Field Annotations of each data element.
-Return to `Top <#top>`_.
-
-Download
-________
-
-The RareLink CDM Data Dictionary is available for download as a CSV file:
-
-:download:`Download RareLink CDM Data Dictionary v2.0.0.dev0 <../..//res/rarelink_v2_0_0_dev0_datadictionary.csv>`
+Return to `top <#top>`_.
-.. tip::
- Read :ref:`3_1` for more information on how to import the RareLink CDM Data Dictionary into your local REDCap project.
+_____________________________________________________________________________________
-Return to `Top <#top>`_.
+.. _field-anotations:
-Field Annotations
-_________________
+REDCap Field Annotations
+-------------------------
Witin the Field Annotation field of each REDCap element, we have defined each
element's metadata according to the :ref:`1_5` standard, including the following:
@@ -74,31 +154,30 @@ element's metadata according to the :ref:`1_5` standard, including the following
Example Field Annotation of 6.2.6 Temporal Pattern:
-.. code-block:: text
-
+.. code-block:: bash
+
Variable:
- HP:0011008 | Temporal Pattern
+ HP:0012824 | Severity
Choices:
- - HP:0011009 | Acute
- - HP:0011010 | Chronic
- - HP:0031914 | Fluctuating
- - HP:0025297 | Prolonged
- - HP:0031796 | Recurrent
- - HP:0031915 | Stable
- - HP:0011011 | Subactue
- - HP:0025153 | Transient
+ - HP:0012827 | Borderline
+ - HP:0012825 | Mild
+ - HP:0012826 | Moderate
+ - HP:0012829 | Profound
+ - HP:0012828 | Severe
Version(s):
- HPO Version 2024-08-13
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.interpretation
- - GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifiers
+ - GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.severity
-Return to `Top <#top>`_.
+Return to `top <#top>`_.
+
+_____________________________________________________________________________________
-.. _cdm-instruments-overview:
+.. _cdm_overview:
RareLink-CDM Instruments
-------------------------
+-------------------------
The RareLink-CDM instruments translate the `ontology-based Rare Disease Common Data Model (RD-CDM) `_
into REDCap instruments, ensuring usability for registry implementation while
@@ -107,17 +186,17 @@ and the `GA4GH Phenopacket Schema `_
-- `2. Personal Information <#personal-information>`_
-- `3. Patient Status <#patient-status>`_
-- `4. Care Pathway <#care-pathway>`_
-- `5. Disease <#disease>`_
-- `6.1 Genetic Findings <#genetic-findings>`_
-- `6.2 Phenotypic Features <#phenotypic-features>`_
-- `6.3 Measurements <#measurements>`_
-- `6.4 Family History <#family-history>`_
-- `7. Consent <#consent>`_
-- `8. Disability <#disability>`_
+- :ref:`formal-criteria`
+- :ref:`personal-information`
+- :ref:`patient-status`
+- :ref:`care-pathway`
+- :ref:`disease`
+- :ref:`genetic-findings`
+- :ref:`phenotypic-features`
+- :ref:`measurements`
+- :ref:`family-history`
+- :ref:`consent`
+- :ref:`disability`
Return to `Top <#top>`_.
@@ -127,7 +206,7 @@ Return to `Top <#top>`_.
.. _formal-criteria:
(1) Formal Criteria
--------------------
+_____________________
**Purpose**: Captures eligibility and registration information for individuals.
@@ -140,12 +219,12 @@ Return to `Top <#top>`_.
**Adjustments from the RD-CDM**:
- [Insert Adjustments from the RD-CDM Here]
-Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
.. _personal-information:
(2) Personal Information
-------------------------
+__________________________
**Purpose**: Records demographic and personal data.
@@ -158,12 +237,12 @@ Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
**Adjustments from the RD-CDM**:
- [Insert Adjustments from the RD-CDM Here]
-Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
.. _patient-status:
(3) Patient Status
-------------------
+____________________
**Purpose**: Tracks changes in patient conditions over time.
@@ -176,12 +255,12 @@ Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
**Adjustments from the RD-CDM**:
- [Insert Adjustments from the RD-CDM Here]
-Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
.. _care-pathway:
(4) Care Pathway
-----------------
+__________________
**Purpose**: Logs encounter-specific data.
@@ -194,12 +273,12 @@ Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
**Adjustments from the RD-CDM**:
- [Insert Adjustments from the RD-CDM Here]
-Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
.. _disease:
(5) Disease
------------
+____________
**Purpose**: Details disease history and ontology mappings.
@@ -212,12 +291,12 @@ Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
**Adjustments from the RD-CDM**:
- [Insert Adjustments from the RD-CDM Here]
-Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
.. _genetic-findings:
(6.1) Genetic Findings
------------------------
+_________________________
**Purpose**: Captures genetic variant information.
@@ -230,12 +309,12 @@ Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
**Adjustments from the RD-CDM**:
- [Insert Adjustments from the RD-CDM Here]
-Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
.. _phenotypic-features:
(6.2) Phenotypic Features
--------------------------
+__________________________
**Purpose**: Encodes phenotypes and their modifiers.
@@ -243,32 +322,42 @@ Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
- [Insert Core Variables Here]
**Adjustments for REDCap**:
+
- **Simplified Field Names**: Shortened and formatted for REDCap constraints:
+
- `snomed_439272007_704321009_363778006` -> `snomed_8116006_date`
- `ga4gh_phenotypicfeature_excluded` -> `ga4gh_pheno_excluded`
+
- **Modifiers Grouping**: Introduced consistent naming for modifiers:
+
- HPO Modifiers:
+
- `ga4gh_phenotypicfeature_modifier_hp_1` -> `ga4gh_pheno_mod_hp1`
- `ga4gh_phenotypicfeature_modifier_hp_2` -> `ga4gh_pheno_mod_hp2`
- `ga4gh_phenotypicfeature_modifier_hp_3` -> `ga4gh_pheno_mod_hp3`
+
- NCBITaxon Modifiers:
+
- `ga4gh_phenotypicfeature_modifier_ncbitaxon_1` -> `ga4gh_pheno_mod_ncbitax1`
- `ga4gh_phenotypicfeature_modifier_ncbitaxon_2` -> `ga4gh_pheno_mod_ncbitax2`
- `ga4gh_phenotypicfeature_modifier_ncbitaxon_3` -> `ga4gh_pheno_mod_ncbitax3`
+
- SNOMED Modifiers:
+
- `ga4gh_phenotypicfeature_modifier_snomed_1` -> `ga4gh_pheno_mod_snomed1`
- `ga4gh_phenotypicfeature_modifier_snomed_2` -> `ga4gh_pheno_mod_snomed2`
- `ga4gh_phenotypicfeature_modifier_snomed_3` -> `ga4gh_pheno_mod_snomed3`
**Adjustments from the RD-CDM**:
+
- [Insert Adjustments from the RD-CDM Here]
-Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
.. _measurements:
(6.3) Measurements
-------------------
+____________________
**Purpose**: Records clinical and laboratory data.
@@ -281,12 +370,12 @@ Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
**Adjustments from the RD-CDM**:
- [Insert Adjustments from the RD-CDM Here]
-Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
.. _family-history:
(6.4) Family History
---------------------
+______________________
**Purpose**: Details familial relationships and genetic predispositions.
@@ -299,12 +388,12 @@ Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
**Adjustments from the RD-CDM**:
- [Insert Adjustments from the RD-CDM Here]
-Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
.. _consent:
(7) Consent
------------
+_____________
**Purpose**: Documents patient consent details.
@@ -317,12 +406,12 @@ Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
**Adjustments from the RD-CDM**:
- [Insert Adjustments from the RD-CDM Here]
-Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
.. _disability:
(8) Disability
---------------
+_______________
**Purpose**: Captures ICF-encoded functional and disability data.
@@ -335,4 +424,4 @@ Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
**Adjustments from the RD-CDM**:
- [Insert Adjustments from the RD-CDM Here]
-Return to `RareLink-CDM Instruments Overview <#cdm-instruments-overview>`_.
\ No newline at end of file
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
\ No newline at end of file
diff --git a/docs/2_rarelink_framework/2_3_rarelink_cli.rst b/docs/2_rarelink_framework/2_3_rarelink_cli.rst
index c7dfd986..498ee87b 100755
--- a/docs/2_rarelink_framework/2_3_rarelink_cli.rst
+++ b/docs/2_rarelink_framework/2_3_rarelink_cli.rst
@@ -119,7 +119,7 @@ ________________________________________________________________________________
file to prevent accidental sharing of sensitive information.
-3. REDCap Tools (``redcap-tools``)
+3. REDCap Tools (``redcap``)
___________________________________
Commands for interacting with an already-configured REDCap instance, i.e. your
@@ -147,6 +147,14 @@ Download records from your REDCap project as JSON files and save them locally.
_____________________________________________________________________________________
+.. code-block:: console
+
+ rarelink redcap-tools fetch-metadata
+
+- Fetch all metadata from your current REDCap project.
+
+_____________________________________________________________________________________
+
.. code-block:: console
rarelink redcap-tools upload-records (to be implemented)
@@ -208,3 +216,15 @@ ________________________________________________________________________________
redcap-api-setup start` to set up a REDCap project and API access.
- `download-records` (fetch records as JSON files)
+
+
+5. Phenopacket Export (``phenopacket``)
+________________________________________
+
+Export data to Phenopackets using the ToPhenopacket pipeline.
+
+.. code-block:: console
+
+ rarelink phenopacket export
+
+- Exports REDCap from your configured project data to local Phenopackets.
\ No newline at end of file
diff --git a/docs/3_installation/3_0_install_file.rst b/docs/3_installation/3_0_install_file.rst
index 7140ba8d..196692a4 100755
--- a/docs/3_installation/3_0_install_file.rst
+++ b/docs/3_installation/3_0_install_file.rst
@@ -1,19 +1,19 @@
.. _3_0:
-Installation Guide
+Installation
====================
+This section provides installation guides for all components of the RareLink
+framework.
.. toctree::
- :maxdepth: 4
- :caption: Contents:
-
+ :hidden:
+
3_1_setup_rarelink_framework
3_2_setup_redcap_project
3_3_data_dictionary
3_4_redcap_api
-
\ No newline at end of file
diff --git a/docs/3_installation/3_2_setup_redcap_project.rst b/docs/3_installation/3_2_setup_redcap_project.rst
index 0494cd3c..2ba0cea4 100755
--- a/docs/3_installation/3_2_setup_redcap_project.rst
+++ b/docs/3_installation/3_2_setup_redcap_project.rst
@@ -9,8 +9,8 @@ Set up a REDCap Project
-How to set up a REDCap project:
--------------------------------
+Steps
+------
To create a REDCap project, please follow these steps:
@@ -31,7 +31,7 @@ To create a REDCap project, please follow these steps:
_____________________________________________________________________________________
-Next Steps and further reading:
+Next Steps and further reading
-------------------------------
- Read the :ref:`1_6` section to learn more about the REDCap API access.
@@ -40,8 +40,8 @@ Next Steps and further reading:
_____________________________________________________________________________________
-RareLink CLI Commands:
----------------------
+RareLink CLI Commands
+----------------------
.. code-block:: bash
diff --git a/docs/3_installation/3_3_data_dictionary.rst b/docs/3_installation/3_3_data_dictionary.rst
index 7899adaa..237d7de1 100755
--- a/docs/3_installation/3_3_data_dictionary.rst
+++ b/docs/3_installation/3_3_data_dictionary.rst
@@ -1,8 +1,8 @@
.. _3_3:
-Data Dictionary
-================
+Set up the Data Dictionary
+==========================
.. warning::
RareLink v2.0.0.dev0 is under development. Please :ref:`12` us before using
@@ -15,6 +15,9 @@ REDCap project. Read the :ref:`2_2` section to learn more about the RareLink CDM
Instruments. In case you have any questions, please contact your local REDCap
administrator, or :ref:`12` us.
+Installation
+-------------
+
_____________________________________________________________________________________
1. **Download the instruments from the RareLink REDCap project.**
@@ -33,24 +36,26 @@ Otherwise you can also import the instruments manually:
- Go to your REDCap project.
- Click on the "Designer" tab on the left side of the screen.
-- Click on the "Data Dictionary" tab on the top of the screen.
-- Select the RareLink CDM Data Dictionary CSV file, or the separate instrument csv files.
-- Click on the "Import" button.
-
-_____________________________________________________________________________________
.. image:: ../_static/res/redcap_gui_screenshots/DesignerTab.jpg
:alt: Designer tab
:align: center
:width: 400px
- :height: 250px
_____________________________________________________________________________________
+- Click on the "Data Dictionary" tab on the top of the screen.
+
+
.. image:: ../_static/res/redcap_gui_screenshots/DataDictionary.jpg
:alt: Data Dictionary tab
:align: center
- :width: 600px
+ :width: 400px
+
+_____________________________________________________________________________________
+
+- Select the RareLink CDM Data Dictionary CSV file, or the separate instrument csv files.
+- Click on the "Import" button.
_____________________________________________________________________________________
@@ -62,9 +67,24 @@ ________________________________________________________________________________
- the instruments are consistent with the RareLink CDM Data Dictionary.
- the fields with BioPortal are connected properly.
+
+_____________________________________________________________________________________
+
+4. **Activate the repeating instruments feature**
+
+- Go to the ``Project Setup`` tab.
+- Within the section Enable optional modules and customizations click
+ on the **`Enable` Repeating Instruments** checkbox.
+- Enable repeating instruments for the following instruments:
+
+.. image:: ../_static/res/rarelink-cdm-repeating-instruments.jpg
+ :alt: RareLink CDM Repeating Instruments
+ :align: center
+ :width: 400px
+
_____________________________________________________________________________________
-4. **Start capturing data with the RareLink CDM instruments.**
+5. **Start capturing data with the RareLink CDM instruments.**
Check out the :ref:`4_1` or the :ref:`4_2` section to learn more about the
semi-automatic import of data.
diff --git a/docs/4_user_guide/4_0_guide_file.rst b/docs/4_user_guide/4_0_guide_file.rst
index 35fb20a2..4e72a9e1 100755
--- a/docs/4_user_guide/4_0_guide_file.rst
+++ b/docs/4_user_guide/4_0_guide_file.rst
@@ -3,16 +3,19 @@
RareLink User Guide
====================
+This section provides user guides for all components of the RareLink framework.
+
.. toctree::
:maxdepth: 4
:caption: Contents:
4_1_manual_data_capture
4_2_import_mapper
- 4_3_phenopacket_mapper
+ 4_3_phenopackets
4_4_tofhir_module
4_5_develop_redcap_instruments
- 4_6_redcap_project_interaction
+ 4_6_redcap_tools
+
diff --git a/docs/4_user_guide/4_1_manual_data_capture.rst b/docs/4_user_guide/4_1_manual_data_capture.rst
index 3b1e5abe..eb19d6aa 100755
--- a/docs/4_user_guide/4_1_manual_data_capture.rst
+++ b/docs/4_user_guide/4_1_manual_data_capture.rst
@@ -1,7 +1,7 @@
.. _4_1:
-Guide for Manual Data Capture
-===============================
+Manual Data Capture Guide
+==========================
.. hint::
This section offers detailed guidance for manually entering data into
@@ -245,6 +245,10 @@ This section provides details about genetic findings:
- **6.1.2 Progress Status of Interpretation**: recommended when creating GA4GH Phenopackets.
- **6.1.3 Interpretation Status**: recommended when creating GA4GH Phenopackets.
+- Phenopacket Value Sets:
+ - Progress Status: ga4gh_unknown_progress, No information is available about the diagnosis | ga4gh_in_progress, No diagnosis has been found to date but additional differential diagnostic work is in progress. | ga4gh_completed, The work on the interpretation is complete. | ga4gh_solved, The interpretation is complete and also considered to be a definitive diagnosis | ga4gh_unsolved, The interpretation is complete but no definitive diagnosis was found
+ - Interpretation Status: ga4gh_unknown_status, No information is available about the status | ga4gh_rejected, The variant or gene reported here is interpreted not to be related to the diagnosis | ga4gh_candidate, The variant or gene reported here is interpreted to possibly be related to the diagnosis | ga4gh_contributory, The variant or gene reported here is interpreted to be related to the diagnosis | ga4gh_causative, The variant or gene reported here is interpreted to be causative of the diagnosis
+ - Therapeutic Actionability: ga4gh_unknown_actionability, There is not enough information at this time to support any therapeutic actionability for this variant | ga4gh_not_actionable, This variant has no therapeutic actionability. | ga4gh_actionable, This variant is known to be therapeutically actionable.
.. attention::
The quality of the variant's validated HGVS expression is crucial for the
diff --git a/docs/4_user_guide/4_2_import_mapper.rst b/docs/4_user_guide/4_2_import_mapper.rst
index 2544bdcf..5d927fb7 100755
--- a/docs/4_user_guide/4_2_import_mapper.rst
+++ b/docs/4_user_guide/4_2_import_mapper.rst
@@ -9,18 +9,44 @@ Semi-Automatic Data Capture
While there are many existing data bases in rare disease centres and hospitals,
-the data is often not in a structured format. RareLink provides a semi-automatic
-data capture configuration using the Schema Automator that allows users to
-capture data from existing databases and convert it into a structured format -
-in our case the RareLink-CDM LinkML schema.
+the data is often not in a structured format. As the RareLink-CDM is a modeled
+with LinkML, there are tools to convert existing data into a LinkML schema.
+While we currently have not implemented a full conversion tool, we are happy
+to assist you in converting your data into a LinkML schema.
-.. attention::
- This section is still to be implemented in the docuemntation and the RareLink
- command line interface.
+Although the semi-automation can speed up the process of capturing existing data
+bases, the semantic mapping will still have to be done by you.
+The semantic mapping and encoding of all data elements and value sets
+to :ref:`1_2` and validating genetic mutations with HGVS is a crucial step
+in the process of converting data into the RareLink-CDM format for
+Phenopackets of FHIR export.
-Via the RareLink CLI type:
+RareLink-CDM LinkML
+-------------------
+
+In this seciton :ref:`rarelink_cdm_linkml` we elaborate on the development of the
+RareLink-CDM LinkML schema, how it is designed and where it can be found.
+This schema is the basis for REDCap data to be converted to and validated
+against when running ``rarelink redcap export-records``. It was designed to be
+light-weight and as close as possible to the original REDCap data model so that
+other REDCap projects can also use the :ref:`rarelink-phenopacket-module`.
+
+
+LinkML schema-automator
+------------------------
+The LinkML schema-automator is a toolkit that assists with generating and
+enhancing schemas and data models from a variety of sources. The primary end
+target is a LinkML schema, but the framework can be used to generate
+JSON-Schema, SHACL, SQL DDL etc via the LinkML Generator framework. All
+functionality is available via a cli. The functionality is also available
+by using the relevant Python Packages.
+
+- `LinkML Schema-Automator documentation `_
+- `LinkML Schema-Automator GitHub repository `_
+
+.. note::
+ Feel free to :ref:`12` us in case you would like to be connected to the LinkML
+ community or our colleagues from the `Monarch Initiative `_.
-.. code-block:: bash
- rarelink import -file -map
diff --git a/docs/4_user_guide/4_3_phenopacket_mapper.rst b/docs/4_user_guide/4_3_phenopacket_mapper.rst
deleted file mode 100755
index 500d02cb..00000000
--- a/docs/4_user_guide/4_3_phenopacket_mapper.rst
+++ /dev/null
@@ -1,81 +0,0 @@
-.. _4_3:
-
-Generate GA4GH Phenopackets
-============================
-
-.. attention::
- This section is still to be implemented in the docuemntation and the RareLink
- command line interface.
-
-The Phenopacket Mapper allows users to generate validated GA4GH Phenopackets
-from any tabular data. Rarelink specifies the how the data should be formatted
-and coded and sheet should be built within REDCap to generate validated GA4GH
-Phenopackets. These specifications were preconfigured into the Phenopacket
-Mapper for seamless generation of GA4GH Phenopackets from REDCap data.
-
-Via the RareLink CLI type:
-
-.. code-block:: bash
-
- rarelink phenopackets setup
- rarelink phenopackets export
-
-RareLink Phenopacket Mapper Configuration
-_________________________________________
-
-RareLink - RD CDM v2.0
-----------------------
-
-RareLink provides all REDCap sheets that displa data in the Rare Disease
-Common Data Model v2.0 (RD CDM) with predefined mappings to generate GA4GH
-Phenopackets. These mappings are defined in a configuration file that is
-provided with the Phenopacket Mapper module. All data from the RD CDM can be
-exported to GA4GH Phenopackets using the Phenopacket Mapper module.
-
-RD CDM v2.0 -> RareLink Sheets -> preconfigured Phenopacket
---> validated GA4GH Phenopackets
-
-
-RareLink - Data Extending RD CDM
---------------------------------
-
-For all data extending the RD CDM, we predefined a set of rules that can be used
-to develop further REDCap forms. If these rules are followed, the sheet
-variables can be used to map the REDCap data to the GA4GH Phenopackets Schema.
-We provide example sheets that can be used to capture data that extends the RD
-CDM to capture specific Phenopacket Building Blocks.
-
-
-Extensions around RD CDM --> Rules for REDCap Sheets -> (example sheets to
-download and use) -> RareLink preconfiguration in Phenopacket Mapper
---> validated GA4GH Phenopackets
-
-
-
-Definition REDCap variable suffixes for Phenopacket Mapper
-__________________________________________________________
-
-The Phenopacket Mapper can prinicapally process any kind of data to generate GA4GH Phenopackets
-if mapped and processed correctly.
-As elaborated in the REDCap section, REDCap variables and choice codes have specific
-limitations and requirements:
-
-- REDCap variables
- - must be unique
- - must not contain spaces or special characters, i.e. only alphanumeric characters and underscores
- - should not be longer than 26 characters
-
-
-
-Disease Block
--------------
-
-
-PhenotypicFeature Block
-------------------------
-
-
-
-
-
-
diff --git a/docs/4_user_guide/4_3_phenopackets.rst b/docs/4_user_guide/4_3_phenopackets.rst
new file mode 100755
index 00000000..2fe78c4a
--- /dev/null
+++ b/docs/4_user_guide/4_3_phenopackets.rst
@@ -0,0 +1,296 @@
+.. _4_3:
+
+Generate Phenopackets
+======================
+
+The RareLink-Phenopacket module allows users to generate (validated) :ref:`1_3`
+from data stored in a local REDCap project. For the :ref:`2_2` all mappings and
+configurations except the :ref:`family-history` section are predefined so that
+Phenopackets can be instantly exported via the :ref:`2_3`.
+
+The RareLink-Phenopacket module is designed to be modular and flexible so that
+it can be adapted to other REDCap data structures. Please see the section below.
+
+_____________________________________________________________________________________
+
+**Overview**:
+
+- :ref:`get_started`
+- :ref:`rarelink-phenopacket-export`
+- :ref:`rarelink-phenopacket-module`
+
+ - :ref:`phenopackets-other-redcap-data-models`
+ - :ref:`phenopacket-mappings`
+ - :ref:`label-dicts`
+ - :ref:`mapping-dicts`
+
+
+.. _get_started:
+
+Get started
+-------------------
+
+To use the Phenopacket export, you need a running REDCap project with API access
+and the RareLink-CDM instruments set up. You also need the framework and all its
+components running. You can run the following commands to set everything up:
+
+- ``rarelink framework update`` to update the framework and all components.
+- ``rarelink setup redcap-project`` to set up a REDCap project with your REDCap
+ administrator.
+- ``rarelink setup keys`` to set up the REDCap API access locally.
+
+_____________________________________________________________________________________
+
+
+.. _rarelink-phenopacket-export:
+
+
+RareLink-CDM to Phenopackets
+-----------------------------
+
+Once you have data captured in you REDCap project using the :ref:`2_2` REDCap
+instruments, you can export the data to Phenopackets. The data is exported to
+one Phenopacket JSON file per individual and can be used for further analysis.
+
+- For this, simply run:
+
+.. code-block:: bash
+
+ rarelink phenopackets export
+
+
+And you will be guided through the exporting process. The Phenopackets will be
+exported to the configured output directory (default is your Downloads folder).
+
+.. note::
+ Make sure you comply with your local data protection regulations and ethical
+ agreements before exporting the data!
+
+_____________________________________________________________________________________
+
+
+.. _rarelink-phenopacket-module:
+
+
+RareLink-Phenopacket module
+---------------------------
+
+The RareLink-Phenopacket module is developed in a modular way to allow for easy
+adaptation to other REDCap data structures. All data model specific
+configurations and mappings of the :ref:`2_2` are within its `GitHub folder `_.
+Therefore, all functions and modules we developed can be used or adapted for
+other REDCap data models extending the :ref:`2_2` once the data model is
+converted to a similar :ref:`LinkML schema `.
+
+Overview
+_________
+
+To provide an overview, the RareLink-Phenopacket module consists of the following
+components:
+
+- ``mappings`` (`GitHub Folder `_):
+ Contains all the mappings from the REDCap data model to the
+ respective blocks in the Phenopacket schema without containing data-model
+ specific values or codes.
+- ``DataProcessor`` Class (`GitHub Folder `_):
+ Contains all functions to process any REDCap data to Phenopacket-compliant
+ data, including *field fetching*, *data drocessing*, *data validation*,
+ *Label & Mapping*, *repeated element*, and *generation* methods.
+- ``create`` (`GitHub Folder `_):
+ Contains the main function to generate Phenopackets from the processed data.
+- ``write`` (`GitHub Folder `_):
+ Contains the function to write the generated Phenopackets to a JSON file.
+- ``phenopacket pipeline`` (`GitHub Folder `_):
+ Contains the pipeline to generate Phenopackets from the processed data.
+
+
+_____________________________________________________________________________________
+
+.. _phenopackets-other-redcap-data-models:
+
+Usage for other REDCap data models
+____________________________________
+
+If you want to adapt the RareLink-Phenopacket module to another REDCap data model,
+you can follow these steps:
+
+1. Develop your REDCap sheets and instruments according to the :ref:`4_5`
+ section. Try to use the RareLink-CDM for as much as you can - this will
+ make the mapping and export process easier.
+
+
+
+2. (OPTIONAL): Convert your REDCap data model to a :ref:`LinkML schema `.
+ This can be done by following the instructions in the :ref:`2_2` section.
+
+3. Convert your REDCap data model using the ``redcap_to_linkml`` function you
+ in the RareLink Utils. This will convert your REDCap data to a
+ JSON schema that handles repeating elements more inherently. This allows
+ the ``mappings`` to handle repeating elements and Phenopacket Blocks.
+
+4. Write the specific mappings from your REDCap data model to the Phenopacket
+ schema, using the templates for the mappings below (:ref:`phenopacket-mappings`).
+
+5. Develop label dictionaries for all value sets of your data model,
+ mapping codes to human-readable labels (best to use the ontologie's
+ `preferred label`) . Use the templates for the label dictionaries below (
+ :ref:`label-dicts`). This will allow the ``DataProcessor`` class to fetch
+ the labels for the codes in your data model using the ``fetch_label`` method.
+
+ - For REDCap fields that are connected to BIOPORTAL directly, the label will
+ be automatically fetched via the BIOPORTAL API.
+
+6. Develop mapping dictionaries for your data model, mapping codes to
+ standardized terms or enums. Use the templates for the mapping dictionaries
+ below (:ref:`mapping-dicts`).
+
+7. Use the mappings in the ``mappings`` folder of the RareLink-Phenopacket
+ module as a template to adapt the mappings to other Phenopacket blocks or
+ extensions in your model.
+
+8. Adapt the ``create`` function to your needs, if necessary extending it with
+ the relevant Phenopacket blocks and elements and importing your additional
+ mapping dictionaries.
+
+9. Run the Phenopacket pipleine by running:
+
+.. code:: bash
+
+ rarelink phenopackets export
+
+_____________________________________________________________________________________
+
+.. _phenopacket-mappings:
+
+Mapping example to Phenopacket Blocks
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+This section provides general examples of how to structure repeating and
+non-repeating data blocks. Customize the right-hand side values to fit specific
+user fields. The left-hand values are derived from the respective Phenopacket
+blocks `Disease `_
+and `Individual `_.
+
+.. code-block:: bash
+
+ INDIVIDUAL_BLOCK = {
+ "id_field": "",
+ "date_of_birth_field": "",
+ "time_at_last_encounter_field": "",
+ "sex_field": "",
+ "karyotypic_sex_field": "",
+ "gender_field": "",
+ }
+
+ DISEASE_BLOCK = {
+ "redcap_repeat_instrument": "",
+ "term_field_1": "",
+ "term_field_2": "",
+ "term_field_3": "",
+ "term_field_4": "",
+ "term_field_5": "",
+ "excluded_field": "",
+ "onset_date_field": "",
+ "onset_category_field": "",
+ "primary_site_field": "",
+ }
+
+**Notes**:
+
+- Replace `` and other placeholders with the specific field
+ names or codes used in your REDCap project or dataset.
+- For repeating blocks, ensure the `redcap_repeat_instrument` value matches the
+ instrument name configured in REDCap.
+- Customize as needed for other field mappings.
+
+
+_____________________________________________________________________________________
+
+
+.. _label-dicts:
+
+Example for Label Dictionaries
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The label dictionaries map codes to human-readable labels defined in your
+value sets. Replace the placeholders with specific codes and labels relevant to
+your use case. Make sure to include the function below in your .py file
+``get_mapping_by_name`` so that the ``DataProcessor`` can access the mappings
+correctly. All codes that are not defined in here, will be fetched from
+the BIOPORTAL API by the ``DataProcessor``.
+
+.. code-block:: bash
+
+ label_dicts = {
+ "CategoryName1": {
+ "": "",
+ "": "",
+ "": "",
+ "": "",
+ "": "",
+ },
+ "CategoryName2": {
+ "": "",
+ "": "",
+ "": "",
+ "": "",
+ },
+ }
+
+ def get_mapping_by_name(name, to_boolean=False):
+ for mapping_dict in mapping_dicts:
+ if mapping_dict["name"] == name:
+ mapping = mapping_dict["mapping"]
+ if to_boolean:
+ return {key: value.lower() == "true" for key, value in mapping.items()}
+ return mapping
+ raise KeyError(f"No mapping found for name: {name}")
+
+
+_____________________________________________________________________________________
+
+.. _mapping-dicts:
+
+General Example for Mapping Dictionaries
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The mapping dictionaries map codes to standardized terms or enums defined, with
+mapped values corresponding to Phenopacket-specific elements. Replace the
+placeholders with relevant codes and Phenopacket terms.
+
+.. code-block:: bash
+
+ mapping_dicts = [
+ {
+ "name": "",
+ "mapping": {
+ "": "", # Example: "FEMALE"
+ "": "", # Example: "MALE"
+ "": "", # Example: "UNKNOWN_SEX"
+ "": "", # Example: "OTHER_SEX"
+ "": "", # Example: "NOT_RECORDED"
+ },
+ },
+ {
+ "name": "",
+ "mapping": {
+ "": "",
+ "": "",
+ "": "",
+ },
+ },
+ ]
+
+**Notes**:
+
+- **Mapping Name:** Replace `` with descriptive names for the
+ mapping (e.g., `"map_sex"`, `"map_disease"`).
+- **Codes:** Replace `` with actual codes (e.g., `snomed_248152002`).
+- **Phenopacket Terms:** Replace `` with specific
+ Phenopacket-standardized terms (e.g., `"FEMALE"`, `"UNKNOWN_SEX"`).
+- Add additional mappings as necessary to include all relevant
+ Phenopacket-specific elements.
+
+
+
+
diff --git a/docs/4_user_guide/4_4_tofhir_module.rst b/docs/4_user_guide/4_4_tofhir_module.rst
index 51a26c23..9e29e29e 100755
--- a/docs/4_user_guide/4_4_tofhir_module.rst
+++ b/docs/4_user_guide/4_4_tofhir_module.rst
@@ -1,4 +1,4 @@
-.. _fhir_commands:
+.. _4_4:
Generate FHIR Resources
========================
@@ -15,7 +15,23 @@ FHIR module and associated pipelines.
- Be aware of your projects **development and production mode**. Read the
:ref:`1_6` section and discuss this with your FHIR server administrator!
-How to get started:
+_____________________________________________________________________________________
+
+**Overview**
+
+- :ref:`get__started`
+- :ref:`fhir_profiles`
+- :ref:`setup_command`
+- :ref:`hapi_server_command`
+- :ref:`export_command`
+- :ref:`restart_docker_command`
+- :ref:`docker_commands`
+
+_____________________________________________________________________________________
+
+.. _get__started:
+
+How to get started
-------------------
To use these functionalities, you need a running REDCap project with API access
@@ -29,9 +45,10 @@ components running. You can run the following commands to set everything up:
_____________________________________________________________________________________
+.. _fhir_profiles:
-FHIR Profiles
---------------
+RareLink-CDM FHIR Profiles
+--------------------------
These FHIR resources generated are based on the HL7 FHIR `International Patient Summary (IPS) `_
and `Genomoics Reporting `_
@@ -42,6 +59,8 @@ profiles. For more information on FHIR, please read the background section
.. hint::
You can check out the :ref:`2_2` FHIR Profiles in **draft** `here `_
+
+
_____________________________________________________________________________________
.. _setup_command:
diff --git a/docs/4_user_guide/4_5_develop_redcap_instruments.rst b/docs/4_user_guide/4_5_develop_redcap_instruments.rst
index 62a17067..e988a4c5 100755
--- a/docs/4_user_guide/4_5_develop_redcap_instruments.rst
+++ b/docs/4_user_guide/4_5_develop_redcap_instruments.rst
@@ -3,24 +3,132 @@
Develop REDCap Instruments
===========================
-.. attention::
- This section is still to be implemented in the docuemntation.
+This section provides a guide for developing REDCap instruments around the
+:ref:`2_2`: that can also be processed by the Phenopacket and FHIR pipeline.
+If the rules are followd upon development of the REDCap sheets,
+mapping and setup steps will be required to convert the data into the
+Phenopackets or FHIR format. For example, see the section :ref:`phenopackets-other-redcap-data-models`
+of the :ref:`rarelink-phenopacket-module`.
-.. attention::
- To use your local REDCap project, you will need to set up a local REDCap
- instance. For this please contact your local REDCap administratior. A project
- name could for example be "RareLink - Your local REDCap location".
+_____________________________________________________________________________________
-This section provides a guide for developing REDCap instruments around the
-RareLink CDM that can also be processed by the Phenopacket and FHIR pipeline.
-If the rules are followd upon development of the REDCap sheets, another
-subsequent mapping step will be required to convert the data into the
-Phenopackets or FHIR format. For this second step guides are given below, too.
+REDCap instrument structure
+---------------------------
+
+A REDCap instrument is a collection of fields that are grouped together to
+collect data for a specific purpose. The fields can be of different types,
+such as text fields, radio buttons, checkboxes, etc. The fields can be
+grouped into sections, and the sections can be repeated for a specific number
+of times. The fields can also be validated using REDCap's integrated
+validators.
+
+_____________________________________________________________________________________
+
+.. _rule-set:
+
+REDCap-inherent rules
+----------------------
+
+REDCap variables and choice codes have specific limitations and requirements
+you **should or must** comply with when creating your REDCap shets.
+
+- REDCap recommends a maximum of 26 characters for variable names. If possible,
+ you should shorten the variable names to adhere to this limit.
+- REDCap variables must be unique and must not contain spaces or special
+ characters, therefore only alphanumeric characters and underscores are allowed.
+
+_____________________________________________________________________________________
+
+RareLink obligatory Rules:
+---------------------------
+
+1) Data element output
+________________________
+
+The **output (i.e. the answer) to each question in your REDCap instrument MUST be encoded
+with** :ref:`1_2` codes or pass on a validated data field! This is crucial,
+so that the output of a data element is a code or a validated format that can
+be processed by the RareLink framework.
+
+ ... in regard to the different REDCap field types:
+
+ - ``Single Choice Dropdown & Radio-Button fields``: the choices (i.e. the
+ data elemen'ts value set) **must** be encoded with :ref:`1_2` codes,
+ their official prefixes and their respective *preferred labels*.
+
+ - e.g.: **snomed_32218000** or **hp_5200403**.
+
+ - ``Checkboxes (Multiple Answers)fields`` **CANNOT** be processed by the
+ RareLink framework and **should not be used**. Even if the choices are
+ encoded with ontology codes, the output are *`1`* or *`0`* for
+ each choice while altering the variable names.
+
+ - ``Text fields``: can be used for free text input, but the data **must**
+ either...
+
+ - use REDCap's integrated validators, for example for dates, numbers, etc.
+ A string or text should only be used when the target data element in
+ :ref:`1_4` or :ref:`1_3` is a string or text field.
+
+ - or use an integrated `BioPortal `_
+ **validation service** to validate the free text input. If you cannot
+ see this option in your REDCap setup, contact you REDCap administrator.
+ This can be set free of charge.
+
+
+2) REDCap expression repository
+________________________________
+
+**REDCap expression repository**: for exporting data to FHIR or Phenopackets,
+you will always need the versions of the :ref:`1_2` you are using. REDCap
+does not natively include an expression repository, however you can use the
+``Field Annotations`` field in each data element to store the version of the
+ontology or terminology you are using. You can also use an Excel or word sheet,
+but we recommend keeping these in there so that they are part your project's
+:ref:`1_6` data dictionary.
+
+- Like our :ref:`2_2`, you can also convert your model into a
+ :ref:`rarelink_cdm_linkml` which also provides the possibility to dedicating a
+ section to the codesystems used. (CAVE: this requires coding experince).
+
+- To give more context to the data element, you can also include the mapping to
+ the FHIR expression or the GA4GH Phenopacket Schema element,
+ like in the example below.
+
+.. code-block:: bash
+
+ Variable:
+ HP:0012824 | Severity
+ Choices:
+ - HP:0012827 | Borderline
+ - HP:0012825 | Mild
+ - HP:0012826 | Moderate
+ - HP:0012829 | Profound
+ - HP:0012828 | Severe
+ Version(s):
+ - HPO Version 2024-08-13
+ Mapping:
+ - HL7 FHIR Expression v4.0.1: Observation.interpretation
+ - GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.severity
+
+
+RareLink optional rules:
+-----------------------------
+
+- The REDCap variable names should also be encoded with :ref:`1_2` codes and
+ their respective *preferred labels* and using their official prefix
+ (e.g. *hp_*, *snomed_*, etc.) so that the concept of an element itself is
+ clear. Also, sometimes FHIR requires a *CodeableConcept* for a specific
+ element.
+
+- If you include the codes in the variable names, you can use suffixes to
+ differentiate between the codes and the variable names. For example,
+ ``snomed_123456_onset``, or ``snomed_123456_age``.
-Example CIEINR.
+- For repeating sections, we recommend using the REDCap **Repeating Instruments**
+ feature for separate instruments, which allows you to repeat a section of
+ questions for a specific number of times. See :ref:`3_3` for more information
+ on how to activate this feature.
-Rule Sets.
-to be implemented:
-- Example CIEINR.
-- Rule Sets.
+Return to `top <#top>`_.
\ No newline at end of file
diff --git a/docs/4_user_guide/4_6_redcap_tools.rst b/docs/4_user_guide/4_6_redcap_tools.rst
index fee45127..3715609e 100755
--- a/docs/4_user_guide/4_6_redcap_tools.rst
+++ b/docs/4_user_guide/4_6_redcap_tools.rst
@@ -21,23 +21,24 @@ The `export-records` command allows users to export records from REDCap.
rarelink redcap export-records
+**Fetch Metadata**
-**Import Records**
-
-The `import-records` command allows users to import records into REDCap.
+The `fetch-metadata` command allows users to fetch metadata from REDCap.
.. code-block:: bash
- rarelink redcap import-records
+ rarelink redcap fetch-metadata
-**Fetch Metadata**
+**Import Records**
-The `fetch-metadata` command allows users to fetch metadata from REDCap.
+The `import-records` command allows users to import records into REDCap.
.. code-block:: bash
- rarelink redcap fetch-metadata
+ rarelink redcap import-records (to be implemented)
+
+
diff --git a/docs/5_contributing.rst b/docs/5_contributing.rst
new file mode 100644
index 00000000..8ed20fbd
--- /dev/null
+++ b/docs/5_contributing.rst
@@ -0,0 +1,22 @@
+.. _5_:
+
+
+Contributing
+==============
+
+.. warning::
+ RareLink v2.0.0.dev0 is under development. Please :ref:`12` us before using
+ it to ensure you have the latest updates and guidance.
+
+RareLink is a community-driven project. We welcome contributions from everyone.
+There are many ways to contribute to RareLink, including the following:
+
+- Reporting a bug
+- Discussing the current state of the code
+- Submitting a fix
+- Proposing new features
+
+Feel free to write an issue on our `RareLink GitHub Repository `_
+or reach out to us directly.
+
+If you are interested in contributing to RareLink, please :ref:`12` us.
\ No newline at end of file
diff --git a/docs/5_examples/5_0_examples_file.rst b/docs/5_examples/5_0_examples_file.rst
deleted file mode 100755
index 20fd7e33..00000000
--- a/docs/5_examples/5_0_examples_file.rst
+++ /dev/null
@@ -1,16 +0,0 @@
-.. _5_0:
-
-Full Examples
-====================
-
-
-.. toctree::
- :maxdepth: 4
- :caption: Contents
-
- 5_1_example_redcap_project
- 5_2_example_redcap_instruments
- 5_3_example_semiaut_import
- 5_4_example_phenopacket_mapper
- 5_5_example_tofhir_module
-
diff --git a/docs/5_examples/5_1_example_redcap_project.rst b/docs/5_examples/5_1_example_redcap_project.rst
deleted file mode 100755
index 7ecc3066..00000000
--- a/docs/5_examples/5_1_example_redcap_project.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-Example - REDCap Project Setup
-=======================================
-
-
-.. note::
- This section is still to be implemented in the docuemntation and the RareLink
- command line interface.
\ No newline at end of file
diff --git a/docs/5_examples/5_2_example_redcap_instruments.rst b/docs/5_examples/5_2_example_redcap_instruments.rst
deleted file mode 100755
index 4ccc2ab4..00000000
--- a/docs/5_examples/5_2_example_redcap_instruments.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-Example - Manual Data Capture
-===============================
-
-.. note::
- This section is still to be implemented in the docuemntation and the RareLink
- command line interface.
\ No newline at end of file
diff --git a/docs/5_examples/5_3_example_semiaut_import.rst b/docs/5_examples/5_3_example_semiaut_import.rst
deleted file mode 100755
index 83f21071..00000000
--- a/docs/5_examples/5_3_example_semiaut_import.rst
+++ /dev/null
@@ -1,14 +0,0 @@
-Example - Semi-Automatic Data Import
-==============================================
-
-This example demonstrates how to use the `Phenopacket Mapper` class to map any data base to our RareLink data
-structure and subsequently generate data that can be uploaded to a local REDCap project.
-
-The processed data can then be exported to GA4GH Phenopackets using the Phenopacket Mapper module
-or FHIR resources using the toFHIR module.
-
-.. note::
- This section is still to be implemented in the docuemntation and the RareLink
- command line interface.
-
-
\ No newline at end of file
diff --git a/docs/5_examples/5_4_example_phenopacket_mapper.rst b/docs/5_examples/5_4_example_phenopacket_mapper.rst
deleted file mode 100755
index 5a427657..00000000
--- a/docs/5_examples/5_4_example_phenopacket_mapper.rst
+++ /dev/null
@@ -1,10 +0,0 @@
-Example - Generating Phenopackets
-=====================================
-
-This example demonstrates how to generate Phenopackets from a set of patient records.
-The example uses a simple in-memory data store to simulate patient records.
-The example also demonstrates how to map patient records to Phenopackets using the `PhenopacketMapper` class.
-
-.. note::
- This section is still to be implemented in the docuemntation and the RareLink
- command line interface.
\ No newline at end of file
diff --git a/docs/5_examples/5_5_example_tofhir_module.rst b/docs/5_examples/5_5_example_tofhir_module.rst
deleted file mode 100755
index 86e0339a..00000000
--- a/docs/5_examples/5_5_example_tofhir_module.rst
+++ /dev/null
@@ -1,8 +0,0 @@
-Example - Generate FHIR Resources
-=================================
-
-.. note::
- This section is still to be implemented in the docuemntation and the RareLink
- command line interface.
-
-
\ No newline at end of file
diff --git a/docs/6_changelog.rst b/docs/6_changelog.rst
index d1523991..235877e9 100755
--- a/docs/6_changelog.rst
+++ b/docs/6_changelog.rst
@@ -1,11 +1,25 @@
.. _6:
-RareLink Changelog
-==================
+Changelog
+===========
-Change Log:
+v2.0.0 (soon)
+------------------
-v2.0.0:
+This version will be the version we publish RareLink as a stable release and
+in a scientific journal.
-Publishing Version.
\ No newline at end of file
+
+v2.0.0.dev0 (Under Development)
+--------------------------------
+
+The current version under development is v2.0.0.dev0.
+
+
+Previous versions (up to v2.0):
+--------------------------------
+
+- The ERKER project was the previous version of RareLink and can still be found
+ in the `ERKER GitHub repository <>`_. However, the ERKER project is no longer
+ maintained and has been replaced by RareLink.
\ No newline at end of file
diff --git a/docs/7_faq.rst b/docs/7_faq.rst
index 800789f9..dc8cad12 100755
--- a/docs/7_faq.rst
+++ b/docs/7_faq.rst
@@ -1,14 +1,14 @@
.. _7:
-FAQ & Contributing
+FAQ
====================
-FAQ:
-
- **Q**: How do I get started with the API?
- **A**: You can start by reading the `API documentation `_.
-
+ **A**: You can start by reading the :ref:`1_6` section to learn more about
+ the REDCap API access and the :ref:`3_4` section to learn more about the
+ RareLink API setup for your local REDCap project. However, you will need some
+ coding experience to interact with the API.
diff --git a/docs/8_glossary.rst b/docs/8_glossary.rst
index 53d0a022..4a23d9bd 100755
--- a/docs/8_glossary.rst
+++ b/docs/8_glossary.rst
@@ -1,10 +1,20 @@
Glossary
====================
-
-
.. glossary::
Interoperability: definitions
+ The ability of different information systems, devices, or applications to
+ connect, in a coordinated manner, within and across organizational
+ boundaries to access, exchange, and cooperatively use data amongst
+ stakeholders.
+
+.. note::
+ to be continued...
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/9_acknowledgements.rst b/docs/9_acknowledgements.rst
index bd8a2545..a16d314d 100755
--- a/docs/9_acknowledgements.rst
+++ b/docs/9_acknowledgements.rst
@@ -1,15 +1,16 @@
Acknowlegements
====================
-We thank ...
+We specifically thank all the contributors to the RareLink project. W
+e also acknowledge the following organizations for their support and collaboration:
-and ...
+- `Berlin Institute of Health (BIH) at Charité Universitätsmedizin Berlin `_:
+ - **Prof. Sylvia Thun** and colleagues from the `Core Unit Digital Health and Interoperability `_
+ - **Prof. Peter N. Robinson** and colleagues from the working group `Medical Computer Science and Artificial Intelligence `_
-
-- BIH CEI
-- UKK BIK
-- Monarch Initiative
+- **Prof. Oya Beyan** from the `University Hospital Cologne Institute of Biomedical Informatics `_
+- All participating colleagues from `The Monarch Initiative `_
diff --git a/docs/_build/html/.buildinfo b/docs/_build/html/.buildinfo
old mode 100755
new mode 100644
index 7fc7678a..26e89588
--- a/docs/_build/html/.buildinfo
+++ b/docs/_build/html/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: 9dc1677c3eb2372206f2f6ef08239f9d
+config: 501d3d1fbf9658a133c4569be302d283
tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/docs/_build/html/.buildinfo.bak b/docs/_build/html/.buildinfo.bak
old mode 100755
new mode 100644
index 9b874e1d..8b10754a
--- a/docs/_build/html/.buildinfo.bak
+++ b/docs/_build/html/.buildinfo.bak
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: 2cd136ca95bcf73fee666e96936f837d
+config: 7bad59e97ffa42076200bc3bc9f049e5
tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/docs/_build/html/.doctrees/10_license.doctree b/docs/_build/html/.doctrees/10_license.doctree
index 5cf0612f..1a0fe6db 100755
Binary files a/docs/_build/html/.doctrees/10_license.doctree and b/docs/_build/html/.doctrees/10_license.doctree differ
diff --git a/docs/_build/html/.doctrees/11_download_manifest.doctree b/docs/_build/html/.doctrees/11_download_manifest.doctree
new file mode 100644
index 00000000..a09a2fc8
Binary files /dev/null and b/docs/_build/html/.doctrees/11_download_manifest.doctree differ
diff --git a/docs/_build/html/.doctrees/12_contact.doctree b/docs/_build/html/.doctrees/12_contact.doctree
new file mode 100644
index 00000000..0bd70a67
Binary files /dev/null and b/docs/_build/html/.doctrees/12_contact.doctree differ
diff --git a/docs/_build/html/.doctrees/1_background/1_0_introduction_file.doctree b/docs/_build/html/.doctrees/1_background/1_0_introduction_file.doctree
new file mode 100644
index 00000000..b03e17ef
Binary files /dev/null and b/docs/_build/html/.doctrees/1_background/1_0_introduction_file.doctree differ
diff --git a/docs/_build/html/.doctrees/1_background/1_2_ontologies.doctree b/docs/_build/html/.doctrees/1_background/1_2_ontologies.doctree
index 1d981956..98adae2e 100755
Binary files a/docs/_build/html/.doctrees/1_background/1_2_ontologies.doctree and b/docs/_build/html/.doctrees/1_background/1_2_ontologies.doctree differ
diff --git a/docs/_build/html/.doctrees/1_background/1_3_ga4gh_phenopacket_schema.doctree b/docs/_build/html/.doctrees/1_background/1_3_ga4gh_phenopacket_schema.doctree
index bc89204a..8879aa5a 100755
Binary files a/docs/_build/html/.doctrees/1_background/1_3_ga4gh_phenopacket_schema.doctree and b/docs/_build/html/.doctrees/1_background/1_3_ga4gh_phenopacket_schema.doctree differ
diff --git a/docs/_build/html/.doctrees/2_rarelink_framework/2_0_rarelink_file.doctree b/docs/_build/html/.doctrees/2_rarelink_framework/2_0_rarelink_file.doctree
index 994a0a99..95f1a174 100755
Binary files a/docs/_build/html/.doctrees/2_rarelink_framework/2_0_rarelink_file.doctree and b/docs/_build/html/.doctrees/2_rarelink_framework/2_0_rarelink_file.doctree differ
diff --git a/docs/_build/html/.doctrees/2_rarelink_framework/2_1_rarelink_overview.doctree b/docs/_build/html/.doctrees/2_rarelink_framework/2_1_rarelink_overview.doctree
index 969e2940..77bd5cfb 100755
Binary files a/docs/_build/html/.doctrees/2_rarelink_framework/2_1_rarelink_overview.doctree and b/docs/_build/html/.doctrees/2_rarelink_framework/2_1_rarelink_overview.doctree differ
diff --git a/docs/_build/html/.doctrees/2_rarelink_framework/2_2_rarelink_cdm.doctree b/docs/_build/html/.doctrees/2_rarelink_framework/2_2_rarelink_cdm.doctree
new file mode 100644
index 00000000..f3051f0e
Binary files /dev/null and b/docs/_build/html/.doctrees/2_rarelink_framework/2_2_rarelink_cdm.doctree differ
diff --git a/docs/_build/html/.doctrees/2_rarelink_framework/2_3_rarelink_cli.doctree b/docs/_build/html/.doctrees/2_rarelink_framework/2_3_rarelink_cli.doctree
new file mode 100644
index 00000000..08673ba6
Binary files /dev/null and b/docs/_build/html/.doctrees/2_rarelink_framework/2_3_rarelink_cli.doctree differ
diff --git a/docs/_build/html/.doctrees/3_installation/3_0_install_file.doctree b/docs/_build/html/.doctrees/3_installation/3_0_install_file.doctree
index 77fca089..6b2df51e 100755
Binary files a/docs/_build/html/.doctrees/3_installation/3_0_install_file.doctree and b/docs/_build/html/.doctrees/3_installation/3_0_install_file.doctree differ
diff --git a/docs/_build/html/.doctrees/3_installation/3_1_setup_rarelink_framework.doctree b/docs/_build/html/.doctrees/3_installation/3_1_setup_rarelink_framework.doctree
index 09818687..d1756e72 100755
Binary files a/docs/_build/html/.doctrees/3_installation/3_1_setup_rarelink_framework.doctree and b/docs/_build/html/.doctrees/3_installation/3_1_setup_rarelink_framework.doctree differ
diff --git a/docs/_build/html/.doctrees/3_installation/3_2_setup_redcap_project.doctree b/docs/_build/html/.doctrees/3_installation/3_2_setup_redcap_project.doctree
index b18a04d1..4d904ea8 100755
Binary files a/docs/_build/html/.doctrees/3_installation/3_2_setup_redcap_project.doctree and b/docs/_build/html/.doctrees/3_installation/3_2_setup_redcap_project.doctree differ
diff --git a/docs/_build/html/.doctrees/3_installation/3_3_data_dictionary.doctree b/docs/_build/html/.doctrees/3_installation/3_3_data_dictionary.doctree
new file mode 100644
index 00000000..89fbb9c4
Binary files /dev/null and b/docs/_build/html/.doctrees/3_installation/3_3_data_dictionary.doctree differ
diff --git a/docs/_build/html/.doctrees/3_installation/3_4_redcap_api.doctree b/docs/_build/html/.doctrees/3_installation/3_4_redcap_api.doctree
index 5afd972d..84fef5ce 100755
Binary files a/docs/_build/html/.doctrees/3_installation/3_4_redcap_api.doctree and b/docs/_build/html/.doctrees/3_installation/3_4_redcap_api.doctree differ
diff --git a/docs/_build/html/.doctrees/4_user_guide/4_0_guide_file.doctree b/docs/_build/html/.doctrees/4_user_guide/4_0_guide_file.doctree
index 253153ee..43fa4b10 100755
Binary files a/docs/_build/html/.doctrees/4_user_guide/4_0_guide_file.doctree and b/docs/_build/html/.doctrees/4_user_guide/4_0_guide_file.doctree differ
diff --git a/docs/_build/html/.doctrees/4_user_guide/4_1_manual_data_capture.doctree b/docs/_build/html/.doctrees/4_user_guide/4_1_manual_data_capture.doctree
index 303f5776..049161e4 100755
Binary files a/docs/_build/html/.doctrees/4_user_guide/4_1_manual_data_capture.doctree and b/docs/_build/html/.doctrees/4_user_guide/4_1_manual_data_capture.doctree differ
diff --git a/docs/_build/html/.doctrees/4_user_guide/4_2_import_mapper.doctree b/docs/_build/html/.doctrees/4_user_guide/4_2_import_mapper.doctree
index e766e2d9..e539b1b8 100755
Binary files a/docs/_build/html/.doctrees/4_user_guide/4_2_import_mapper.doctree and b/docs/_build/html/.doctrees/4_user_guide/4_2_import_mapper.doctree differ
diff --git a/docs/_build/html/.doctrees/4_user_guide/4_3_phenopacket_mapper.doctree b/docs/_build/html/.doctrees/4_user_guide/4_3_phenopacket_mapper.doctree
index d50095cf..08093ead 100755
Binary files a/docs/_build/html/.doctrees/4_user_guide/4_3_phenopacket_mapper.doctree and b/docs/_build/html/.doctrees/4_user_guide/4_3_phenopacket_mapper.doctree differ
diff --git a/docs/_build/html/.doctrees/4_user_guide/4_3_phenopackets.doctree b/docs/_build/html/.doctrees/4_user_guide/4_3_phenopackets.doctree
new file mode 100644
index 00000000..f5af3624
Binary files /dev/null and b/docs/_build/html/.doctrees/4_user_guide/4_3_phenopackets.doctree differ
diff --git a/docs/_build/html/.doctrees/4_user_guide/4_4_tofhir_module.doctree b/docs/_build/html/.doctrees/4_user_guide/4_4_tofhir_module.doctree
index 16962331..9062f6b6 100755
Binary files a/docs/_build/html/.doctrees/4_user_guide/4_4_tofhir_module.doctree and b/docs/_build/html/.doctrees/4_user_guide/4_4_tofhir_module.doctree differ
diff --git a/docs/_build/html/.doctrees/4_user_guide/4_5_develop_redcap_instruments.doctree b/docs/_build/html/.doctrees/4_user_guide/4_5_develop_redcap_instruments.doctree
index 63e8e431..1ecd2930 100755
Binary files a/docs/_build/html/.doctrees/4_user_guide/4_5_develop_redcap_instruments.doctree and b/docs/_build/html/.doctrees/4_user_guide/4_5_develop_redcap_instruments.doctree differ
diff --git a/docs/_build/html/.doctrees/4_user_guide/4_6_redcap_tools.doctree b/docs/_build/html/.doctrees/4_user_guide/4_6_redcap_tools.doctree
new file mode 100644
index 00000000..7bdcc273
Binary files /dev/null and b/docs/_build/html/.doctrees/4_user_guide/4_6_redcap_tools.doctree differ
diff --git a/docs/_build/html/.doctrees/5_contributing.doctree b/docs/_build/html/.doctrees/5_contributing.doctree
new file mode 100644
index 00000000..b4fc3689
Binary files /dev/null and b/docs/_build/html/.doctrees/5_contributing.doctree differ
diff --git a/docs/_build/html/.doctrees/6_changelog.doctree b/docs/_build/html/.doctrees/6_changelog.doctree
index 99376561..8b36418a 100755
Binary files a/docs/_build/html/.doctrees/6_changelog.doctree and b/docs/_build/html/.doctrees/6_changelog.doctree differ
diff --git a/docs/_build/html/.doctrees/7_faq.doctree b/docs/_build/html/.doctrees/7_faq.doctree
index 8e9cbde7..6a2c66b4 100755
Binary files a/docs/_build/html/.doctrees/7_faq.doctree and b/docs/_build/html/.doctrees/7_faq.doctree differ
diff --git a/docs/_build/html/.doctrees/8_glossary.doctree b/docs/_build/html/.doctrees/8_glossary.doctree
index 1c2b78c7..814b4fd2 100755
Binary files a/docs/_build/html/.doctrees/8_glossary.doctree and b/docs/_build/html/.doctrees/8_glossary.doctree differ
diff --git a/docs/_build/html/.doctrees/9_acknowledgements.doctree b/docs/_build/html/.doctrees/9_acknowledgements.doctree
index da4ddcea..1de013ee 100755
Binary files a/docs/_build/html/.doctrees/9_acknowledgements.doctree and b/docs/_build/html/.doctrees/9_acknowledgements.doctree differ
diff --git a/docs/_build/html/.doctrees/environment.pickle b/docs/_build/html/.doctrees/environment.pickle
index 66d0e959..258298a7 100755
Binary files a/docs/_build/html/.doctrees/environment.pickle and b/docs/_build/html/.doctrees/environment.pickle differ
diff --git a/docs/_build/html/.doctrees/index.doctree b/docs/_build/html/.doctrees/index.doctree
index aaff0a2f..08aed86b 100755
Binary files a/docs/_build/html/.doctrees/index.doctree and b/docs/_build/html/.doctrees/index.doctree differ
diff --git a/docs/_build/html/10_license.html b/docs/_build/html/10_license.html
index fce04cdd..52874045 100755
--- a/docs/_build/html/10_license.html
+++ b/docs/_build/html/10_license.html
@@ -10,7 +10,7 @@
-
+
@@ -20,9 +20,11 @@
+
+
@@ -48,7 +50,6 @@
This project is licensed under the terms of the MIT license.
-
You can read the License here ‘../GIT/RareLink/LICENSE’.
+
RareLink is licensed under open-source the BSD 3-Clause License:
+
Copyright (c) 2024 - 2025, Berlin Institute of Health, Charité Universitätsmedizin Berlin
+All rights reserved.
+
Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+
Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+
Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
Neither the name of the copyright holder nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
RareLink v2.0.0.dev0 is under development (the REDCap sheets may be subject
+to change). Please Contact us before using it to ensure you have the latest
+updates and guidance.
+
+
In this section, we provide an overview of the instruments that are part of the
+RareLink Common Data Model (CDM), which is based on the RD-CDM.
+We have implemented the RD-CDM’s definitions, codes, and mappins
+into the REDCap instruments by encoding the variables and value sets in the
+REDCap data dictionary. Each section of the model corresponds to a distinct
+instrument, ensuring consistency and comprehensive data capture.
+
+
Hint
+
+
Read the REDCap page to understand how REDCap instruments data dictionaries work.
+
Read the RD-CDM page for more information on the Rare Disease Common Data Model.
… read Set up the RareLink Framework for more information on how to manually import and set up
+the RareLink-CDM Data Dictionary into your local REDCap project.
+
… or run the following commands to directly import the data dictionary into
+your REDCap project using the RareLink CLI:
The RareLink-CDM has been encoded in the LinkML schema format to allow for
+interoperability with other data models and standards. The LinkML schema
+is an open-data modeling language and provides a machine-readable representation
+of the RareLink-CDM, including the data elements, codes, and mappings to other
+standards. In other words, the RareLink REDCap instruments are displayed in a
+structured format that so that LinkML modules and functionalities can be used.
We use RareLink-CDM-LinkML schema and functionalities in various RareLink
+modules, for example:
+
+
When running rarelinkredcapexport-records you will see, that the data
+from the REDCap project is automatically processed to the LinkML presentation
+of the RareLink-CDM and validated against it. This ensures the data is ready
+to Generate Phenopackets.
+
Within the data model itself, we use its python classes and properties
+automatically generated by LinkML schema to ensure consistent use of code
+systems, versions and codes within one RareLink-CDM version and its mappings.
REDCap variables and choice codes have specific limitations and requirements:
+
+
REDCap recommends a maximum of 26 characters for variable names. We have
+shortened the variable names to adhere to this limitation.
+
REDCap variables must be unique and must not contain spaces or special
+characters, i.e. only alphanumeric characters and underscores.
+
REDCap choice codes must be unique and must not contain spaces or special
+characters, i.e. only alphanumeric characters and underscores.
+
+
To address these, we have defined a set of rules for the REDCap variables and
+choice codes in the RareLink CDM Data Dictionary. The rules are as follows:
+
+
The REDCap variable names are based on the RD-CDM codes and display names.
+
The REDCap choices are based on the RD-CDM codes and display names.
+
The REDCap variable names are shortened to adhere to the 26-character limit.
+
The REDCap variable names are unique and do not contain spaces or special characters.
+
The REDCap choice codes are unique and do not contain spaces or special characters.
+
All codes begin with the official codesystem prefix (e.g. HP, SNOMED, etc.) as a lower case string followed by an underscore and the code.
+
All codes are defined in the Field Annotations of each data element.
Witin the Field Annotation field of each REDCap element, we have defined each
+element’s metadata according to the RD-CDM standard, including the following:
+
+
Variable: Corresponding to the data element code, codesystem, and display name.
+
Choices: If applicable, the corresponding choices codesystem, and display name.
+
Version(s): If applicable, the corresponding codesystem versions used in the REDCap data element
RareLink v2.0.0.dev0 is under development. Please Contact us before using
+it to ensure you have the latest updates and guidance.
+
+
The RareLink Command Line Interface (CLI) is a tool that allows you to interact
+with the RareLink framework. The CLI provides a set of commands that allow you
+to set up and manage the RareLink framework, as well as to interact with the
+data stored in the framework. The CLI is designed to be user-friendly and
+intuitive, and it provides a simple and efficient way to work with the RareLink
+framework.
Start here if you want to set up your local REDCap Project for RareLink!
+
+
+
rarelink setup keys
+
+
+
+
Configure the RareLink framework by setting up API keys and variables. This
+
+
+
process ensures the .env file contains necessary configurations - see Set up the REDCap API
+for more details, functionalities, and instructions.
+
+
+
rarelink setup dictionary
+
+
+
+
Upload the most current RareLink-CDM Data Dictionary to an existing
+
+
REDCap project.
+
+
rarelink setup view
+
+
+
+
View the current RareLink API configuration and its location.
+
+
+
rarelink setup reset
+
+
+
+
Reset all RareLink configuration by wiping the .env and JSON files.
+
+
+
Note
+
The API Keys are sensitive information and should be stored securely.
+Do not share them with anyone outside your organisation. Within this
+repository the .env file and the JSON files are ignored by the .gitignore
+file to prevent accidental sharing of sensitive information.
Commands for interacting with an already-configured REDCap instance, i.e. your
+local REDCap project.
+
rarelink redcap-tools --help
+
+
+
The overview of all redcap-tools functionalities and commands.
+
+
rarelink redcap-tools download-records
+
+
+
Download records from your REDCap project as JSON files and save them locally.
+
+
Attention
+
If your project is in PRODUCTION mode, the downloaded data might be sensitive.
+It must only be stored within your organisational site’s approved storage.
+Read here more about the REDCap project modes REDCap and discuss this
+with your REDCap administrator.
+
+
+
rarelink redcap-tools fetch-metadata
+
+
+
+
Fetch all metadata from your current REDCap project.
+
+
+
rarelink redcap-tools upload-records (to be implemented)
+
+
+
+
Upload records to your REDCap project from JSON files stored locally.
Setup, manage, and execute the REDCap-FHIR module.
+
+
+
rarelink fhir --help
+
+
+
The overview of all FHIR functionalities and commands.
+
+
rarelink fhir setup
+
+
+
+
Configure the toFHIR pipeline for the RareLink framework.
+
+
+
rarelink fhir hapi-server
+
+
+
+
Set up a local HAPI FHIR server with Docker, avoiding conflicts.
+
+
+
rarelink fhir restart-dockers
+
+
+
+
Stop, remove, and restart all relevant Docker containers.
+
+
+
rarelink fhir export
+
+
+
+
Export data to the configured FHIR server using the ToFHIR pipeline.
+
+
+
Note
+
For this you need your REDCap project running and API access configured.
+Run rarelink redcap-setup redcap-project-setup and rarelink redcap-setup
+redcap-api-setup start to set up a REDCap project and API access.
RareLink v2.0.0.dev0 is currently under development, and many things are
-subject to change. Please reach out before implementing or using the
-software to ensure you have the latest updates and guidance.
+
RareLink v2.0.0.dev0 is under development. Please Contact us before using
+it to ensure you have the latest updates and guidance.
-
To set up the RareLink framework, follow these steps:
This command guides you through setting up the FHIR pipeline for RareLink.
-You will be prompted to enter:
-- Your FHIR server URL.
-- If required, your FHIR server username & password.
+You will be prompted to enter:
+
+
Your FHIR server URL.
+
If required, your FHIR server username & password.
+
+
+
Note
+
All sensitive information will also be stored in the
+hidden configuration file.
RareLink v2.0.0.dev0 is currently under development, and many things are
-subject to change. Please reach out before implementing or using the
-software to ensure you have the latest updates and guidance.
+
RareLink v2.0.0.dev0 is under development. Please Contact us before using
+it to ensure you have the latest updates and guidance.
This command guides you through the same steps as above to set up your REDCap
-project, including contacting your local REDCap administrator and ensuring API
-access for your project.
The core RareLink project is an entire REDCap project that can be used to set up
-a new project in REDCap. The core REDCap project is a template project that
-contains all the necessary instruments and fields to collect the RareLink CDM
-data and preconfigurations for FHIR and Phenopckets export.
-
You can download the REDCap project XML file here:
RareLink v2.0.0.dev0 is currently under development, and many things are
-subject to change. Please reach out before implementing or using the
-software to ensure you have the latest updates and guidance.
+
RareLink v2.0.0.dev0 is under development. Please Contact us before using it to ensure you have the latest
+updates and guidance.
The REDCap API for RareLink is a RESTful web service that allows users to
interact with REDCap programmatically. The API is designed to provide a simple
@@ -151,18 +139,19 @@
This command guides you through setting up the REDCap API for RareLink. You will be prompted to enter:
+
This command guides you through setting up the REDCap API for RareLink.
+You will be prompted to enter:
- Your REDCap instance URL.
- Your REDCap API token.
Feedback: If you encounter any issues or have suggestions for improving
the manual data capture process, please find more information in the FAQ & Contributing
@@ -180,7 +165,7 @@
General Information (please read!)OLS Platform to identify the
correct code and display for the concept you are looking for.
Updates: This section will continue to evolve as RareLink documentation
-expands. Please check the RareLink Changelog and FAQ & Contributing sections for updates and
+expands. Please check the Changelog and FAQ & Contributing sections for updates and
additional information.
While there are many existing data bases in rare disease centres and hospitals, the data is often not in a structured format.
-RareLink provides a semi-automatic data capture configuration using OntoBridge that allows users to capture data from existing
-databases and convert it into a structured format. The tool is designed to be user-friendly and can be used by non-technical users.
-The tool can be used to capture data from multiple sources and convert it into a structured format that can be used for analysis and research.
-
-
Attention
-
This section is still to be implemented in the docuemntation and the RareLink
-command line interface.
+
+
Warning
+
RareLink v2.0.0.dev0 is under development. Please Contact us before using
+it to ensure you have the latest updates and guidance.
While there are many existing data bases in rare disease centres and hospitals,
+the data is often not in a structured format. As the RareLink-CDM is a modeled
+with LinkML, there are tools to convert existing data into a LinkML schema.
+While we currently have not implemented a full conversion tool, we are happy
+to assist you in converting your data into a LinkML schema.
+
Although the semi-automation can speed up the process of capturing existing data
+bases, the semantic mapping will still have to be done by you.
+The semantic mapping and encoding of all data elements and value sets
+to Ontologies & Terminologies and validating genetic mutations with HGVS is a crucial step
+in the process of converting data into the RareLink-CDM format for
+Phenopackets of FHIR export.
In this seciton LinkML Schema we elaborate on the development of the
+RareLink-CDM LinkML schema, how it is designed and where it can be found.
+This schema is the basis for REDCap data to be converted to and validated
+against when running rarelinkredcapexport-records. It was designed to be
+light-weight and as close as possible to the original REDCap data model so that
+other REDCap projects can also use the RareLink-Phenopacket module.
The LinkML schema-automator is a toolkit that assists with generating and
+enhancing schemas and data models from a variety of sources. The primary end
+target is a LinkML schema, but the framework can be used to generate
+JSON-Schema, SHACL, SQL DDL etc via the LinkML Generator framework. All
+functionality is available via a cli. The functionality is also available
+by using the relevant Python Packages.
This section is still to be implemented in the docuemntation and the RareLink
@@ -152,22 +132,14 @@
Phenopackets. These specifications were preconfigured into the Phenopacket
Mapper for seamless generation of GA4GH Phenopackets from REDCap data.
RareLink provides all REDCap sheets that displa data in the Rare Disease
Common Data Model v2.0 (RD CDM) with predefined mappings to generate GA4GH
Phenopackets. These mappings are defined in a configuration file that is
@@ -177,7 +149,7 @@
For all data extending the RD CDM, we predefined a set of rules that can be used
to develop further REDCap forms. If these rules are followed, the sheet
variables can be used to map the REDCap data to the GA4GH Phenopackets Schema.
@@ -186,8 +158,10 @@
Definition REDCap variable suffixes for Phenopacket Mapper
The Phenopacket Mapper can prinicapally process any kind of data to generate GA4GH Phenopackets
if mapped and processed correctly.
As elaborated in the REDCap section, REDCap variables and choice codes have specific
@@ -203,13 +177,12 @@
Definition REDCap variable suffixes for Phenopacket Mapper
-
The RareLink-Phenopacket module allows users to generate (validated) GA4GH Phenopackets
+from data stored in a local REDCap project. For the RareLink-CDM all mappings and
+configurations except the (6.4) Family History section are predefined so that
+Phenopackets can be instantly exported via the RareLink CLI.
+
The RareLink-Phenopacket module is designed to be modular and flexible so that
+it can be adapted to other REDCap data structures. Please see the section below.
To use the Phenopacket export, you need a running REDCap project with API access
+and the RareLink-CDM instruments set up. You also need the framework and all its
+components running. You can run the following commands to set everything up:
+
+
rarelinkframeworkupdate to update the framework and all components.
+
rarelinksetupredcap-project to set up a REDCap project with your REDCap
+administrator.
+
rarelinksetupkeys to set up the REDCap API access locally.
Once you have data captured in you REDCap project using the RareLink-CDM REDCap
+instruments, you can export the data to Phenopackets. The data is exported to
+one Phenopacket JSON file per individual and can be used for further analysis.
+
+
For this, simply run:
+
+
rarelinkphenopacketsexport
+
+
+
And you will be guided through the exporting process. The Phenopackets will be
+exported to the configured output directory (default is your Downloads folder).
+
+
Note
+
Make sure you comply with your local data protection regulations and ethical
+agreements before exporting the data!
The RareLink-Phenopacket module is developed in a modular way to allow for easy
+adaptation to other REDCap data structures. All data model specific
+configurations and mappings of the RareLink-CDM are within its GitHub folder.
+Therefore, all functions and modules we developed can be used or adapted for
+other REDCap data models extending the RareLink-CDM once the data model is
+converted to a similar LinkML schema.
To provide an overview, the RareLink-Phenopacket module consists of the following
+components:
+
+
mappings (GitHub Folder):
+Contains all the mappings from the REDCap data model to the
+respective blocks in the Phenopacket schema without containing data-model
+specific values or codes.
+
DataProcessor Class (GitHub Folder):
+Contains all functions to process any REDCap data to Phenopacket-compliant
+data, including field fetching, data drocessing, data validation,
+Label & Mapping, repeated element, and generation methods.
+
create (GitHub Folder):
+Contains the main function to generate Phenopackets from the processed data.
+
write (GitHub Folder):
+Contains the function to write the generated Phenopackets to a JSON file.
+
phenopacketpipeline (GitHub Folder):
+Contains the pipeline to generate Phenopackets from the processed data.
If you want to adapt the RareLink-Phenopacket module to another REDCap data model,
+you can follow these steps:
+
+
Develop your REDCap sheets and instruments according to the Develop REDCap Instruments
+section. Try to use the RareLink-CDM for as much as you can - this will
+make the mapping and export process easier.
+
(OPTIONAL): Convert your REDCap data model to a LinkML schema.
+This can be done by following the instructions in the RareLink-CDM section.
+
Convert your REDCap data model using the redcap_to_linkml function you
+in the RareLink Utils. This will convert your REDCap data to a
+JSON schema that handles repeating elements more inherently. This allows
+the mappings to handle repeating elements and Phenopacket Blocks.
+
Write the specific mappings from your REDCap data model to the Phenopacket
+schema, using the templates for the mappings below (Mapping example to Phenopacket Blocks).
+
Develop label dictionaries for all value sets of your data model,
+mapping codes to human-readable labels (best to use the ontologie’s
+preferred label) . Use the templates for the label dictionaries below (
+Example for Label Dictionaries). This will allow the DataProcessor class to fetch
+the labels for the codes in your data model using the fetch_label method.
+
+
For REDCap fields that are connected to BIOPORTAL directly, the label will
+be automatically fetched via the BIOPORTAL API.
+
+
+
Develop mapping dictionaries for your data model, mapping codes to
+standardized terms or enums. Use the templates for the mapping dictionaries
+below (General Example for Mapping Dictionaries).
+
Use the mappings in the mappings folder of the RareLink-Phenopacket
+module as a template to adapt the mappings to other Phenopacket blocks or
+extensions in your model.
+
Adapt the create function to your needs, if necessary extending it with
+the relevant Phenopacket blocks and elements and importing your additional
+mapping dictionaries.
This section provides general examples of how to structure repeating and
+non-repeating data blocks. Customize the right-hand side values to fit specific
+user fields. The left-hand values are derived from the respective Phenopacket
+blocks Disease
+and Individual.
The label dictionaries map codes to human-readable labels defined in your
+value sets. Replace the placeholders with specific codes and labels relevant to
+your use case. Make sure to include the function below in your .py file
+get_mapping_by_name so that the DataProcessor can access the mappings
+correctly. All codes that are not defined in here, will be fetched from
+the BIOPORTAL API by the DataProcessor.
The mapping dictionaries map codes to standardized terms or enums defined, with
+mapped values corresponding to Phenopacket-specific elements. Replace the
+placeholders with relevant codes and Phenopacket terms.
The RareLink FHIR module implements the open-source toFHIR engine
+which converts all data from the RareLink-CDM into FHIR resources. This section details the commands available in the RareLink CLI to manage the
+FHIR module and associated pipelines.
Attention
-
This section is still to be implemented in the docuemntation and the RareLink
-command line interface.
+
+
Please ensure you are authorized to export (real-world) data to
+the configured FHIR server. This includes verifying compliance with
+the ethical agreement and data protection regulations of your study
+or registry
+
Be aware of your projects development and production mode. Read the
+REDCap section and discuss this with your FHIR server administrator!
To use these functionalities, you need a running REDCap project with API access
+and the RareLink-CDM instruments. You also need the framework and all its
+components running. You can run the following commands to set everything up:
+
+
rarelinkframeworkupdate to update the framework and all components.
+
rarelinksetupredcap-project to set up a REDCap project with your REDCap
+administrator.
+
rarelinksetupkeys to set up the REDCap API access locally.
These FHIR resources generated are based on the HL7 FHIR International Patient Summary (IPS)
+and Genomoics Reporting
+profiles. The RareLink-CDM FHIR profiles include these dependencies to generate
+the FHIR resources that are compliant with the IPS and the GenomicsReporting
+profiles. For more information on FHIR, please read the background section
+HL7 FHIR.
This section is still to be implemented in the docuemntation.
-
-
-
Attention
-
To use your local REDCap project, you will need to set up a local REDCap
-instance. For this please contact your local REDCap administratior. A project
-name could for example be “RareLink - Your local REDCap location”.
-
This section provides a guide for developing REDCap instruments around the
-RareLink CDM that can also be processed by the Phenopacket and FHIR pipeline.
-If the rules are followd upon development of the REDCap sheets, another
-subsequent mapping step will be required to convert the data into the
-Phenopackets or FHIR format. For this second step guides are given below, too.
-
Example CIEINR.
-
Rule Sets.
+RareLink-CDM: that can also be processed by the Phenopacket and FHIR pipeline.
+If the rules are followd upon development of the REDCap sheets,
+mapping and setup steps will be required to convert the data into the
+Phenopackets or FHIR format. For example, see the section Usage for other REDCap data models
+of the RareLink-Phenopacket module.
+
+
+
A REDCap instrument is a collection of fields that are grouped together to
+collect data for a specific purpose. The fields can be of different types,
+such as text fields, radio buttons, checkboxes, etc. The fields can be
+grouped into sections, and the sections can be repeated for a specific number
+of times. The fields can also be validated using REDCap’s integrated
+validators.
REDCap variables and choice codes have specific limitations and requirements
+you should or must comply with when creating your REDCap shets.
+
+
REDCap recommends a maximum of 26 characters for variable names. If possible,
+you should shorten the variable names to adhere to this limit.
+
REDCap variables must be unique and must not contain spaces or special
+characters, therefore only alphanumeric characters and underscores are allowed.
The output (i.e. the answer) to each question in your REDCap instrument MUST be encoded
+withOntologies & Terminologies codes or pass on a validated data field! This is crucial,
+so that the output of a data element is a code or a validated format that can
+be processed by the RareLink framework.
+
+
… in regard to the different REDCap field types:
+
+
+
SingleChoiceDropdown&Radio-Buttonfields: the choices (i.e. the
+data elemen’ts value set) must be encoded with Ontologies & Terminologies codes,
+their official prefixes and their respective preferred labels.
+
+
e.g.: snomed_32218000 or hp_5200403.
+
+
+
Checkboxes(MultipleAnswers)fieldsCANNOT be processed by the
+RareLink framework and should not be used. Even if the choices are
+encoded with ontology codes, the output are `1` or `0` for
+each choice while altering the variable names.
+
Textfields: can be used for free text input, but the data must
+either…
+
+
use REDCap’s integrated validators, for example for dates, numbers, etc.
+
+
A string or text should only be used when the target data element in
+HL7 FHIR or GA4GH Phenopackets is a string or text field.
+
+
or use an integrated BioPortal
+validation service to validate the free text input. If you cannot
+see this option in your REDCap setup, contact you REDCap administrator.
+This can be set free of charge.
REDCap expression repository: for exporting data to FHIR or Phenopackets,
+you will always need the versions of the Ontologies & Terminologies you are using. REDCap
+does not natively include an expression repository, however you can use the
+FieldAnnotations field in each data element to store the version of the
+ontology or terminology you are using. You can also use an Excel or word sheet,
+but we recommend keeping these in there so that they are part your project’s
+REDCap data dictionary.
+
+
Like our RareLink-CDM, you can also convert your model into a
+LinkML Schema which also provides the possibility to dedicating a
+section to the codesystems used. (CAVE: this requires coding experince).
+
To give more context to the data element, you can also include the mapping to
+the FHIR expression or the GA4GH Phenopacket Schema element,
+like in the example below.
The REDCap variable names should also be encoded with Ontologies & Terminologies codes and
+their respective preferred labels and using their official prefix
+(e.g. hp_, snomed_, etc.) so that the concept of an element itself is
+clear. Also, sometimes FHIR requires a CodeableConcept for a specific
+element.
+
If you include the codes in the variable names, you can use suffixes to
+differentiate between the codes and the variable names. For example,
+snomed_123456_onset, or snomed_123456_age.
+
For repeating sections, we recommend using the REDCap Repeating Instruments
+feature for separate instruments, which allows you to repeat a section of
+questions for a specific number of times. See Set up the Data Dictionary for more information
+on how to activate this feature.
RareLink v2.0.0.dev0 is under development. Please Contact us before using
+it to ensure you have the latest updates and guidance.
+
+
RareLink is a community-driven project. We welcome contributions from everyone.
+There are many ways to contribute to RareLink, including the following:
The ERKER project was the previous version of RareLink and can still be found
+in the `ERKER GitHub repository <>`_. However, the ERKER project is no longer
+maintained and has been replaced by RareLink.
A: You can start by reading the REDCap section to learn more about
+the REDCap API access and the Set up the REDCap API section to learn more about the
+RareLink API setup for your local REDCap project. However, you will need some
+coding experience to interact with the API.
The ability of different information systems, devices, or applications to
+connect, in a coordinated manner, within and across organizational
+boundaries to access, exchange, and cooperatively use data amongst
+stakeholders.
We specifically thank all the contributors to the RareLink project. W
+e also acknowledge the following organizations for their support and collaboration:
If you find issues, have feedback, or want to contribute, please see the contributing guide.
",text,1.1 Pseudonym,,The (local) patient-related Identification code,,,,,,y,,,,,"Variable:
SNOMED:422549004 | Pseudonym |
Choices: n/a
Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Patient.identifier.value
-- GA4GH Phenopacket Schema v2.0 Element: Individual.id"
+- GA4GH Phenopacket Schema v2.0 Element: Individual.id"
snomed_399423000,rarelink_1_formal_criteria,,text,1.2 Date of Admission,,The date of admission or data capture of the individual,date_ymd,,,,,y,,,,,"Variable:
SNOMED:399423000 | Date of admission (observable entity) |
Choices: n/a
@@ -15,23 +15,15 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Encounter.period.start
-- GA4GH Phenopacket Schema v2.0 Element: Individual.time_at_last_encounter"
-personal_information_descr,rarelink_2_personal_information,RareLink - 2) Personal Information,descriptive,"
-
Notes for entering information into the Personal Information sheet - for more detail please read our comprehensive User Guide
-
-
Please search for the country code using the ISO 3166 list available at: ISO 3166 Country Codes. Enter only the two or three-letter ISO country code, such as 'CAN' or 'TUR'.
-
Not all fields must be entered - If information is not known or not required, leave it blank.
-
-
-",,,,,,,,,,,,,
-snomed_184099003,rarelink_2_personal_information,,text,2.1 Date of birth,,"The individual's date of birth. If the exact month or day is allowd to be captured or not known, select the 1st day of the month or the 1st month of the year, respectively.",date_ymd,,,,,y,,,,,"Variable:
+- GA4GH Phenopacket Schema v2.0 Element: Individual.time_at_last_encounter"
+snomed_184099003,rarelink_2_personal_information,"
RareLink - 2) Personal Information
Tip: For guidance on entering data into the Personal Information sheet, refer to the Manual Data Capture Guide.
If you find issues, have feedback, or want to contribute, please see the contributing guide.
",text,2.1 Date of birth,,"The individual's date of birth. If the exact month or day is allowd to be captured or not known, select the 1st day of the month or the 1st month of the year, respectively.",date_ymd,,,,,y,,,,,"Variable:
SNOMED:184099003 | Date of Birth |
Choices: n/a
Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Patient.birthDate
-- GA4GH Phenopacket Schema v2.0 Element: Individual.date_of_birth"
+- GA4GH Phenopacket Schema v2.0 Element: Individual.date_of_birth"
snomed_281053000,rarelink_2_personal_information,,dropdown,2.2 Sex at birth,"snomed_248152002, Female | snomed_248153007, Male | snomed_184115007, Patient sex unknown | snomed_32570691000036108, Intersex | snomed_1220561009, Not recorded",The individual's sex that was assigned at birth,,,,,,,,,,,"Variable:
SNOMED:281053000 | Sex at Birth |
Choices:
@@ -44,7 +36,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Patient.extension:individual-recordedSexOrGender
-- GA4GH Phenopacket Schema v2.0 Element: Individual.sex"
+- GA4GH Phenopacket Schema v2.0 Element: Individual.sex"
snomed_1296886006,rarelink_2_personal_information,,dropdown,2.3 Karyotypic Sex,"snomed_261665006, Unknown | snomed_734875008, XX | snomed_734876009, XY | snomed_80427008, X0 | snomed_65162001, XXY | snomed_35111009, XXX | snomed_403760006, XXYY | snomed_78317008, XXXY | snomed_10567003, XXXX | snomed_48930007, XYY | snomed_74964007, Other",The chromosomal sex of an individual,,,,,,,,,,,"Variable:
SNOMED:1296886006 | Karyotypic Sex |
Choices:
@@ -63,7 +55,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.value
-- GA4GH Phenopacket Schema v2.0 Element: Individual.karyotypic_sex"
+- GA4GH Phenopacket Schema v2.0 Element: Individual.karyotypic_sex"
snomed_263495000,rarelink_2_personal_information,,dropdown,2.4 Gender Identity,"snomed_446141000124107, Female gender identity | snomed_446151000124109, Male gender identity | snomed_394743007, Gender unknown | snomed_33791000087105, Identifies as nonbinary gender | snomed_1220561009, Not recorded",The self-assigned gender of the individual,,,,,,,,,,,"Variable:
SNOMED:263495000 | Gender Identity |
Choices:
@@ -76,7 +68,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Patient.extension:individual-genderIdentity
-- GA4GH Phenopacket Schema v2.0 Element: Individual.gender"
+- GA4GH Phenopacket Schema v2.0 Element: Individual.gender"
snomed_370159000,rarelink_2_personal_information,,text,2.5 Country of Birth,,The individual's country of birth. Please enter a two or three letter ISO3166 code which you can search in the link provided in the description above.,,,,,,,,,,,"Variable:
SNOMED:370159000 | Country of Birth |
Choices: ISO 3166 - 2 or 3 letter country code
@@ -84,18 +76,8 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Patient.extension:patient-birthPlace
-- GA4GH Phenopacket Schema v2.0 Element: n/a"
-patient_status_descr,rarelink_3_patient_status,RareLink - 3) Patient Status,descriptive,"
-
Notes for entering information into the Patient Status sheet - for more detail please read our comprehensive User Guide
-
-
The form can be repeated to account for changes over time regarding the vital status, respective information, and undiagnosed rare disease cases.
-
These RareLink sheets are integrated with BioPortal for ontology-specific searches. For a smoother experience when looking up terms in these fields, we recommend using the OLS platform (https://www.ebi.ac.uk/ols4/ontologies) to locate the appropriate terms for your search.
-
For the time of death, follow the same instructions as above for when the exact month or day is unknown. (e.g., sometime in June 2022 --> 01.June.2022, sometime in 2014 --> 01.01.2014)
-
For the item ""length of gestation at birth,"" please enter only the exact weeks and days in the format: e.g., '35+6'.
-
Not all fields must be entered - If information is not known or not required, leave it blank.
-
-
",,,,,,,,,,,,,
-patient_status_date,rarelink_3_patient_status,,text,Date of Completion for the Sheet,,,date_ymd,,,,,,,,,,
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
+patient_status_date,rarelink_3_patient_status,"
RareLink - 3) Patient Status
Tip: For guidance on entering data into the Patient Status sheet, refer to the Manual Data Capture Guide.
If you find issues, have feedback, or want to contribute, please see thecontributing guide.
",text,Date of Completion for the Sheet,,,date_ymd,,,,,y,,,,,
snomed_278844005,rarelink_3_patient_status,,dropdown,3.1 Vital Status,"snomed_438949009, Alive | snomed_419099009, Dead | snomed_399307001, Unknown - Lost in follow-up | snomed_185924006, Unknown - Opted-out | snomed_261665006, Unknown - Other Reason",The individual’s general clinical status or vital status.,,,,,,,,,,,"Variable:
SNOMED:278844005 | Vital Status |
Choices:
@@ -108,7 +90,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Patient.deceased.deceasedBoolean or Observation.value
-- GA4GH Phenopacket Schema v2.0 Element: Individual.VitalStatus.status"
+- GA4GH Phenopacket Schema v2.0 Element: Individual.VitalStatus.status"
snomed_398299004,rarelink_3_patient_status,,text,3.2 Time of Death,,"If deceased, the individual’s date of death. If the specific month or day is not known, select the 1st day of the month or the 1st month of the year, respectively",date_ymd,,,,[snomed_278844005] = 'snomed_419099009',,,,,,"Variable:
SNOMED:398299004 | Time of Death |
Choices: n/a
@@ -116,7 +98,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Patient.deceasedDateTime
-- GA4GH Phenopacket Schema v2.0 Element: Individual.VitalStatus.time_of_death"
+- GA4GH Phenopacket Schema v2.0 Element: Individual.VitalStatus.time_of_death"
snomed_184305005,rarelink_3_patient_status,,text,3.3 Cause of Death [ICD10CM],BIOPORTAL:ICD10CM,"If deceased, the individual’s primary cause of death (i.e. according to the death certificate).",,,,,[snomed_278844005] = 'snomed_419099009',,,,,,"Variable:
SNOMED:184305005 | Cause of Death |
Choices: n/a
@@ -124,7 +106,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.value.coding.code
-- GA4GH Phenopacket Schema v2.0 Element: Individual.VitalStatus.cause_of_death"
+- GA4GH Phenopacket Schema v2.0 Element: Individual.VitalStatus.cause_of_death"
snomed_105727008,rarelink_3_patient_status,,dropdown,3.4 Age Category,"snomed_3658006, Infancy | snomed_713153009, Toddler | snomed_255398004, Childhood | snomed_263659003, Adolescence | snomed_41847000, Adulthood | snomed_303112003, Fetal period | snomed_419099009, Dead | snomed_261665006, Unknown",The individual's age category at the time of data capture (1.2).,,,,,,,,,,,"Variable:
SNOMED:105727008 | Age Category |
Choices:
@@ -140,7 +122,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.value.coding.code
-- GA4GH Phenopacket Schema v2.0 Element: Individual.time_at_last_encounter.ontology_class"
+- GA4GH Phenopacket Schema v2.0 Element: Individual.time_at_last_encounter.ontology_class"
snomed_412726003,rarelink_3_patient_status,,text,3.5 Length of Gestation at Birth [weeks+days],,"The duration of the pregnancy in weeks and days, from the first day of the last menstrual period to the day of delivery, formatted as XX+X (weeks+days).",,,,,,,,,,,"Variable:
SNOMED:412726003 | Length of Gestation at Birth [weeks+days] |
Choices:
@@ -149,7 +131,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.component:weeks.valueQuantity and Observation.component:days.valueQuantity
-- GA4GH Phenopacket Schema v2.0 Element: n/a"
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
snomed_723663001,rarelink_3_patient_status,,dropdown,3.6 Undiagnosed RD Case,"snomed_373066001, Yes | snomed_373067005, No",Identifies cases where an RD diagnosis has not been established.,,,,,,,,,,,"Variable:
SNOMED:723663001 | Undiagnosed RD Case |
Choices:
@@ -159,24 +141,15 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.code (e.g., ORDO:616874 - Rare disorder without a determined diagnosis after full investigation)
-- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass (e.g., ORDO:616874 - Rare disorder without a determined diagnosis after full investigation)"
-care_pathway_descr,rarelink_4_care_pathway,RareLink - 4) Care Pathway,descriptive,"
-
Notes for entering information into the Care Pathway sheet - for more detail please read our comprehensive User Guide
-
-
It is also a repeated form, with one encounter per form.
-
If possible, use the dates. In relation to the Disease sheet, you can create a comprehensive overview of a patient's disease history with encounters.
-
If the specific month or day is not known, select the 1st day of the month or the 1st month of the year, respectively. (e.g., sometime in June 2022 --> 01.June.2022, sometime in 2014 --> 01.01.2014)
-
Not all fields must be entered - If information is not known or not required, leave it blank.
-
-
",,,,,,,,,,,,,
-hl7fhir_enc_period_start,rarelink_4_care_pathway,,text,4.1 Encounter Start,,"The beginning of an encounter of the individual. If the specific month or day is not known, select the 1st day of the month or the 1st month of the year, respectively",date_ymd,,,,,,,,,,"Variable:
+- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass (e.g., ORDO:616874 - Rare disorder without a determined diagnosis after full investigation)"
+hl7fhir_enc_period_start,rarelink_4_care_pathway,"
RareLink - 4) Care Pathway
Tip: For guidance on entering data into the Care Pathway sheet, refer to the Manual Data Capture Guide.
If you find issues, have feedback, or want to contribute, please see thecontributing guide.
",text,4.1 Encounter Start,,"The beginning of an encounter of the individual. If the specific month or day is not known, select the 1st day of the month or the 1st month of the year, respectively",date_ymd,,,,,,,,,,"Variable:
HL7 FHIR:encounter.period.start | Encounter Start |
Choices: n/a
Version(s):
- HL7 FHIR Version 4.0.1
Mapping:
- HL7 FHIR Expression v4.0.1: Encounter.period.start
-- GA4GH Phenopacket Schema v2.0 Element: n/a"
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
hl7fhir_enc_period_end,rarelink_4_care_pathway,,text,4.2 Encounter End,,"The end of an encounter of the individual. If the specific month or day is not known, select the 1st day of the month or the 1st month of the year, respectively",date_ymd,,,,,,,,,,"Variable:
HL7 FHIR:encounter.period.end | Encounter End |
Choices: n/a
@@ -184,7 +157,7 @@ Version(s):
- HL7 FHIR Version 4.0.1
Mapping:
- HL7 FHIR Expression v4.0.1: Encounter.period.end
-- GA4GH Phenopacket Schema v2.0 Element: n/a"
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
snomed_305058001,rarelink_4_care_pathway,,dropdown,4.3 Encounter Status,"hl7fhir_planned, Planned | hl7fhir_arrived, Arrived | hl7fhir_triaged, Triaged | hl7fhir_in-progress, In Progress | hl7fhir_onleave, On Leave | hl7fhir_finished, Finished | hl7fhir_cancelled, Cancelled | hl7fhir_entered-in-error, Entered in Error | hl7fhir_unknown, Unknown",The status of an encounter of the individual at the time of data capture.,,,,,,y,,,,,"Variable:
SNOMED:305058001 | Encounter Status |
Choices:
@@ -201,7 +174,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Encounter.status
-- GA4GH Phenopacket Schema v2.0 Element: n/a"
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
hl7fhir_encounter_class,rarelink_4_care_pathway,,dropdown,4.4 Encounter Class,"hl7fhir_amb, Ambulatory | hl7fhir_imp, Inpatient | hl7fhir_obsenc, Observation | hl7fhir_emer, Emergency | hl7fhir_vr, Virtual | hl7fhir_hh, Home Health | rarelink_rdc, RD Specialist Center | snomed_261665006, Unknown",The class of an encounter of the individual at the time of data capture.,,,,,,y,,,,,"Variable:
HL7 FHIR:encounter.class | Encounter Class |
Choices:
@@ -218,21 +191,8 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Encounter.class
-- GA4GH Phenopacket Schema v2.0 Element: n/a"
-disease_descr,rarelink_5_disease,RareLink - 5) Disease,descriptive,"
-
Notes for entering information into the Disease sheet - for more detail please read our comprehensive User Guide
-
-
It is a repeated form, you can enter as many diseases as you wish. Please only enter one disease per form, each encodable with multiple ontologies. We recommend using MONDO for disease encoding.
-
These RareLink sheets are integrated with BioPortal for ontology-specific searches. For a smoother experience when looking up terms in these fields, we recommend using the OLS platform (https://www.ebi.ac.uk/ols4/ontologies) to locate the appropriate terms for your search.
-
To link a disease to genetic variant(s) in Section 6.1 Genetic Findings, please also enter the same MONDO or OMIM_p codes here.
-
OMIM_g codes refer to specific genes, while OMIM_p codes refer to phenotypes or clinical manifestations associated with genetic disorders (for more information see OMIM).
-
If information for a specific field is not known, you can leave the field empty.
-
The ICD-11 is not integrated into BIOPORTAL yet. If you wish to encode diseases with ICD-11, please look them up here: ICD-11 Browser. Please only enter the codes themselves, e.g., 'AA10'.
-
The elements ""age at onset"" and ""age at diagnosis"" are derived from the ERDRI-CDS. You can select ""prenatal"" and ""birth"" at 5.3 and 5.5, while also entering the dates. If dates are available, we recommend always entering them.
-
If the specific month or day is not known, select the 1st day of the month or the 1st month of the year, respectively (e.g., sometime in June 2022 --> 01.June.2022, sometime in 2014 --> 01.01.2014).
-
-
",,,,,,,,,,,,,
-disease_coding,rarelink_5_disease,,dropdown,Please choose the encoding of the disease to be captured,"mondo, MONDO | ordo, ORDO | icd10cm, ICD10CM | icd11, ICD11 | omim, OMIM",We recommend using MONDO to capture diseases with,,,,,,,,,,,
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
+disease_coding,rarelink_5_disease,"
If you find issues, have feedback, or want to contribute, please see thecontributing guide.
",dropdown,Please choose the encoding of the disease to be captured,"mondo, MONDO | ordo, ORDO | icd10cm, ICD10CM | icd11, ICD11 | omim, OMIM",We recommend using MONDO to capture diseases with,,,,,,,,,,,
snomed_64572001_mondo,rarelink_5_disease,,text,5.1 Disease [MONDO],BIOPORTAL:MONDO,"Please look up the MONDO code for the disease that the individual was affected by. If a genetic diagnosis or subtypes were diagnosed, please also provide the same MONDO code as you will use for the related variants in 6.1 Genetic Findings.",,,,,[disease_coding] = 'mondo',y,,,,,"Variable:
SNOMED:64572001 | Disease
Choices:
@@ -241,7 +201,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.code
-- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass "
+- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass "
snomed_64572001_ordo,rarelink_5_disease,,text,5.1 Disease [ORDO],BIOPORTAL:ORDO,Please look up the ORDO code for the disease that the individual was affected by.,,,,,[disease_coding] = 'ordo',y,,,,,"Variable:
SNOMED:64572001 | Disease
Choices:
@@ -250,7 +210,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.code
-- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass "
+- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass "
snomed_64572001_icd10cm,rarelink_5_disease,,text,5.1 Disease [ICD10CM],BIOPORTAL:ICD10CM,Please look up the ICD10CM code for the disease that the individual was affected by.,,,,,[disease_coding] = 'icd10cm',y,,,,,"Variable:
SNOMED:64572001 | Disease
Choices:
@@ -259,7 +219,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.code
-- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass "
+- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass "
snomed_64572001_icd11,rarelink_5_disease,,text,5.1 Disease [ICD11],,Please enter the ICD11 code for the disease that the individual was affected by.,,,,,[disease_coding] = 'icd11',y,,,,,"Variable:
SNOMED:64572001 | Disease
Choices:
@@ -268,7 +228,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.code
-- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass "
+- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass "
snomed_64572001_omim_p,rarelink_5_disease,,text,5.1 Disease [OMIM_P],BIOPORTAL:OMIM,"A disease that the individual was affected by. If a genetic diagnosis or subtypes were diagnosed, please also provide the same OMIM_p code as you will use for the related variants in 6.1 Genetic Findings.",,,,,[disease_coding] = 'omim',y,,,,,"Variable:
SNOMED:64572001 | Disease
Choices:
@@ -277,7 +237,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.code
-- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass "
+- GA4GH Phenopacket Schema v2.0 Element: Disease.term:OntologyClass "
loinc_99498_8,rarelink_5_disease,,dropdown,5.2 Verification Status,"hl7fhir_unconfirmed, Unconfirmed | hl7fhir_provisional, Provisional | hl7fhir_differential, Differential | hl7fhir_confirmed, Confirmed | hl7fhir_refuted, Refuted | hl7fhir_entered-in-error, Entered in Error",The verification status of the disease.,,,,,,,,,,,"Variable:
LOINC:99498-8 | Verification Status
Choices:
@@ -288,11 +248,11 @@ Choices:
- HL7FHIR:refuted | Refuted
- HL7FHIR:entered-in-error | Entered in Error
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
- HL7 FHIR Version 4.0.1
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.verificationStatus
-- GA4GH Phenopacket Schema v2.0 Element: Disease.excluded "
+- GA4GH Phenopacket Schema v2.0 Element: Disease.excluded "
snomed_424850005,rarelink_5_disease,,dropdown,5.3 Age at Onset,"snomed_118189007, Prenatal | snomed_3950001, Birth | snomed_410672004, Date | snomed_261665006, Unknown",The age at the onset of the first symptoms or signs of the disease.,,,,,,,,,,,"Variable:
SNOMED:424850005 | Age at Onset
Choices:
@@ -304,7 +264,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.onsetString or Observation.valueCodeableConcept
-- GA4GH Phenopacket Schema v2.0 Element: Disease.onset "
+- GA4GH Phenopacket Schema v2.0 Element: Disease.onset "
snomed_298059007,rarelink_5_disease,,text,5.4 Date of Onset,,"The date at onset of first symptoms or signs of the disease. If the specific month or day is not known, select the 1st day of the month or the 1st month of the year, respectively",date_ymd,,,,,,,,,,"Variable:
SNOMED:298059007 | Date of Onset
Choices:
@@ -313,7 +273,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.onsetDateTime
-- GA4GH Phenopacket Schema v2.0 Element: Disease.onset "
+- GA4GH Phenopacket Schema v2.0 Element: Disease.onset "
snomed_423493009,rarelink_5_disease,,dropdown,5.5 Age at Diagnosis,"snomed_118189007, Prenatal | snomed_3950001, Birth | snomed_410672004, Date | snomed_261665006, Unknown",The individual’s age when the diagnosis was made.,,,,,,,,,,,"Variable:
SNOMED:423493009 | Age at Diagnosis
Choices:
@@ -325,7 +285,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.valueCodeableConcept
-- GA4GH Phenopacket Schema v2.0 Element: n/a "
+- GA4GH Phenopacket Schema v2.0 Element: n/a "
snomed_432213005,rarelink_5_disease,,text,5.6 Date of Diagnosis,,"The date on which the disease was determined. If the specific month or day is not known, select the 1st day of the month or the 1st month of the year, respectively",date_ymd,,,,,,,,,,"Variable:
SNOMED:432213005 | Date of Diagnosis
Choices:
@@ -334,7 +294,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.recordedDate
-- GA4GH Phenopacket Schema v2.0 Element: Disease.onset "
+- GA4GH Phenopacket Schema v2.0 Element: Disease.onset "
snomed_363698007,rarelink_5_disease,,text,5.7 Body Site [SNOMED CT],BIOPORTAL:SNOMEDCT,The specific body site affected by disease is encoded using all descendants of SCT Body Structure (123037004).,,,,,,,,,,,"Variable:
SNOMED:363698007 | Body Site
Choices:
@@ -343,7 +303,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.bodySite.coding:snomed-ct
-- GA4GH Phenopacket Schema v2.0 Element: Disease.primary_site.OntologyClass "
+- GA4GH Phenopacket Schema v2.0 Element: Disease.primary_site.OntologyClass "
snomed_263493007,rarelink_5_disease,,dropdown,5.8 Clinical Status,"hl7fhir_active, Active | hl7fhir_recurrence, Recurrence | hl7fhir_relapse, Relapse | hl7fhir_inactive, Inactive | hl7fhir_remission, Remission | hl7fhir_resolved, Resolved","The clinical status of the disease indicates whether it is active, inactive, or resolved.",,,,,,,,,,,"Variable:
SNOMED:263493007 | Clinical Status
Choices:
@@ -358,7 +318,7 @@ Version(s):
- HL7 FHIR Version 4.0.1
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.clinicalStatus
-- GA4GH Phenopacket Schema v2.0 Element: Interpretation.progress_status.ProgressStatus "
+- GA4GH Phenopacket Schema v2.0 Element: Interpretation.progress_status.ProgressStatus "
snomed_246112005,rarelink_5_disease,,dropdown,5.9 Disease Severity,"snomed_24484000, Severe | snomed_6736007, Moderate | snomed_255604002, Mild",The severity of the disease is categorised by clinical evaluation.,,,,,,,,,,,"Variable:
SNOMED:246112005 | Severity
Choices:
@@ -369,27 +329,9 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.severity
-- GA4GH Phenopacket Schema v2.0 Element: n/a "
-genetic_findings_descr,rarelink_6_1_genetic_findings,RareLink - 6.1) Genetic Findings,descriptive,"
-
Notes for entering information into the Genetic Findings sheet - for more detail please read our comprehensive User Guide
-
-
It is a repeated form, you can enter as many variants as you wish, if desired linked with a genomic disease.
-
These RareLink sheets are integrated with BioPortal for ontology-specific searches. For a smoother experience when looking up terms in these fields, we recommend using the OLS platform (https://www.ebi.ac.uk/ols4/ontologies) to locate the appropriate terms for your search.
-
Not all fields must be entered - If information is not known or not required, leave it blank.
-
To link a variant to a (genetic) IEI diagnosis, please select for the corresponding IEI disease. You can also link mulitple variants with varying interpretation statuses to a disease by repeating the form.
-
OMIM_g codes refer to specific genes, while OMIM_p codes refer to phenotypes or clinical manifestations associated with genetic disorders (for more information see OMIM).
-
To capture the genetic variants, please provide validated HGVS values (HGVS Nomenclature) for genomic changes (g.HGVS), DNA sequence changes (c.HGVS), or amino acid changes (p.HGVS). We recommend entering c.HGVS before using g.HGVS or p.HGVS.
-
To validate your mutations:
-
-
You can search the mutation in ClinVar (ClinVar) or Varsome (Varsome).
-
You must enter the expression into an HGVS expression validator, such as HGVS Validator.
-
-
-
If you cannot validate your variant expressions according to HGVS expressions, please use the text field ""Unvalidated Variant Text of the mutation"" to enter all information you have for subsequent validation.
-
-
",,,,,,,,,,,,,
-genetic_diagnosis_code,rarelink_6_1_genetic_findings,,dropdown,Please choose the corresponding code system for a genetic diagnosis related to the variant captured below.,"mondo, MONDO | omim, OMIM","If you want to link it to a specific Disease, please use the same code system.",,,,,,,,,,,
-snomed_106221001_mondo,rarelink_6_1_genetic_findings,,text,6.1.1 Genomic Diagnosis [MONDO],BIOPORTAL:MONDO,The genetic finding of a variant can be linked to a disease in (5.1) if the same MONDO codes is used.,,,,,[genetic_diagnosis_code] = 'mondo',,,,,,"Variable:
+- GA4GH Phenopacket Schema v2.0 Element: n/a "
+genetic_diagnosis_code,rarelink_6_1_genetic_findings,"
RareLink - 6.1) Genetic Findings
Tip: For guidance on entering data into the Genetic Findings sheet, refer to the Manual Data Capture Guide.
If you find issues, have feedback, or want to contribute, please see thecontributing guide.
",dropdown,Please choose the corresponding code system for a genetic diagnosis related to the variant captured below.,"mondo, MONDO | omim, OMIM","If you want to link it to a specific Disease, please use the same code system.",,,,,,,,,,,
+snomed_106221001_mondo,rarelink_6_1_genetic_findings,,text,6.1.1 Genomic Diagnosis [MONDO],BIOPORTAL:MONDO,The genetic finding of a variant can be linked to a disease in (5.1) if the same MONDO codes is used.,,,,,[genetic_diagnosis_code] = 'mondo',y,,,,,"Variable:
SNOMED:106221001 | Genomic Diagnosis
Choices:
n/a
@@ -397,8 +339,8 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: [Suggested] : Condition.code
-- GA4GH Phenopacket Schema v2.0 Element: Interpretation.Diagnosis.disease"
-snomed_106221001_omim_p,rarelink_6_1_genetic_findings,,text,6.1.1 Genomic Diagnosis [OMIM_p],BIOPORTAL:OMIM,The genetic finding of a variant can be linked to a disease in (5.1) if the same OMIM codes is used.,,,,,[genetic_diagnosis_code] = 'omim',,,,,,"Variable:
+- GA4GH Phenopacket Schema v2.0 Element: Interpretation.Diagnosis.disease"
+snomed_106221001_omim_p,rarelink_6_1_genetic_findings,,text,6.1.1 Genomic Diagnosis [OMIM_p],BIOPORTAL:OMIM,The genetic finding of a variant can be linked to a disease in (5.1) if the same OMIM codes is used.,,,,,[genetic_diagnosis_code] = 'omim',y,,,,,"Variable:
SNOMED:106221001 | Genomic Diagnosis
Choices:
n/a
@@ -407,8 +349,9 @@ Version(s):
Mapping:
- HL7 FHIR Expression v4.0.1: Condition.code
- GA4GH Phenopacket Schema v2.0 Element: Interpretation.Diagnosis.disease
-"
-ga4gh_progress_status,rarelink_6_1_genetic_findings,,dropdown,6.1.2 Progress Status of Interpretation,"ga4gh_unknown_progress, No information is available about the diagnosis | ga4gh_in_progress, No diagnosis has been found to date but additional differential diagnostic work is in progress. | ga4gh_completed, The work on the interpretation is complete. | ga4gh_solved, The interpretation is complete and also considered to be a definitive diagnosis | ga4gh_unsolved, The interpretation is complete but no definitive diagnosis was found",The interpretation has a ProgressStatus that refers to the status of the attempted diagnosis.,,,,,,,,,,,"Variable:
+"
+ga4gh_progress_status,rarelink_6_1_genetic_findings,,dropdown,6.1.2 Progress Status of Interpretation,"ga4gh_unknown_progress, Unknown progress | ga4gh_in_progress, In progress | ga4gh_completed, Completed | ga4gh_solved, Solved | ga4gh_unsolved, Unsolved
+",The interpretation has a ProgressStatus that refers to the status of the attempted diagnosis.,,,,,,,,,,,"Variable:
GA4GH:progress_status | Progress Status of Interpretation
Choices:
GA4GH:UNKNOWN_PROGRESS | No information is available about the diagnosis
@@ -420,8 +363,8 @@ Version(s):
- GA4GH Phenopacket Schema Version 2.0
Mapping:
- HL7 FHIR Expression v4.0.1: [Suggested] Condition.extension (VS: GA4GH)
-- GA4GH Phenopacket Schema v2.0 Element: Interpretation.progress_status"
-ga4gh_interp_status,rarelink_6_1_genetic_findings,,dropdown,6.1.3 Interpretation Status,"ga4gh_unknown_status, No information is available about the status | ga4gh_rejected, The variant or gene reported here is interpreted not to be related to the diagnosis | ga4gh_candidate, The variant or gene reported here is interpreted to possibly be related to the diagnosis | ga4gh_contributory, The variant or gene reported here is interpreted to be related to the diagnosis | ga4gh_causative, The variant or gene reported here is interpreted to be causative of the diagnosis",An enumeration that describes the conclusion made about the genomic interpretation.,,,,,,,,,,,"Variable:
+- GA4GH Phenopacket Schema v2.0 Element: Interpretation.progress_status"
+ga4gh_interp_status,rarelink_6_1_genetic_findings,,dropdown,6.1.3 Interpretation Status,"ga4gh_unknown_status, Unknown status | ga4gh_rejected, Rejected | ga4gh_candidate, Candidate | ga4gh_contributory, Contributory | ga4gh_causative, Causative",An enumeration that describes the conclusion made about the genomic interpretation.,,,,,,,,,,,"Variable:
GA4GH:interpretation_status | Interpretation Status
Choices:
GA4GH:UNKNOWN_STATUS | No information is available about the status
@@ -433,7 +376,7 @@ Version(s):
- GA4GH Phenopacket Schema Version 2.0
Mapping:
- FHIR Expression v4.0.1: [Suggested] Condition.extension (VS: GA4GH)
-- GA4GH Phenopacket Schema v2.0 Element: Interpretation.GenomicInterpretation"
+- GA4GH Phenopacket Schema v2.0 Element: Interpretation.GenomicInterpretation"
loinc_81304_8,rarelink_6_1_genetic_findings,,dropdown,6.1.4 Structural Variant Analysis Method,"loinc_la26406-1, Karyotyping | loinc_la26404-6, FISH | loinc_la26418-6, PCR | loinc_la26419-4, qPCR (real-time PCR) | loinc_la26400-4, SNP array | loinc_la26813-8, Restriction fragment length polymorphism (RFLP) | loinc_la26810-4, DNA hybridization | loinc_la26398-0, Sequencing | loinc_la26415-2, MLPA | loinc_la46-8, Other",The method used to analyse structural variants in the genome.,,,,,,,,,,,"Variable:
LOINC:81304-8 | Structural Variant Analysis Method
Choices:
@@ -448,10 +391,10 @@ LOINC:LA26398-0 | Sequencing
LOINC:LA26415-2 | MLPA
LOINC:LA46-8 | Other
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.method
-- GA4GH Phenopacket Schema v2.0 Element: n/a"
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
loinc_62374_4,rarelink_6_1_genetic_findings,,dropdown,6.1.5 Reference Genome,"loinc_la14032-9, NCBI Build 34 (hg16) | loinc_la14029-5, GRCh37 (hg19) | loinc_la14030-3, NCBI Build 36.1 (hg18) | loinc_la14031-1, NCBI Build 35 (hg17) | loinc_la26806-2, GRCh38 (hg38)",The reference genome used for analysing the genetic variant.,,,,,,,,,,,"Variable:
LOINC:62374-4 | Reference Genome
Choices:
@@ -461,60 +404,59 @@ LOINC:LA14030-3 | NCBI Build 36.1 (hg18)
LOINC:LA14031-1 | NCBI Build 35 (hg17)
LOINC:LA26806-2 | GRCh38 (hg38)
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: MolecularSequence.referenceSeqId
-- GA4GH Phenopacket Schema v2.0 Element:"
+- GA4GH Phenopacket Schema v2.0 Element:"
loinc_lp7824_8,rarelink_6_1_genetic_findings,,text,6.1.6 Genetic Mutation String,,An unvalidated (HGVS) string that describes the variant change.,,,,,,,,,,,"Variable:
LOINC:LP7824-8 | Genetic Mutation String
Choices:
n/a
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.component:Variant.valueString
-- GA4GH Phenopacket Schema v2.0 Element: [...].VariantInterpretation.VariationDescriptor.Extension"
-variant_expression,rarelink_6_1_genetic_findings,,dropdown,Please choose the type of the variant's validated HGVS expression,"ghgvs, Genomic DNA change [g.HGVS] | chgvs, Sequence DNA change [c.HGVS] | phgvs, Amino Acid Change [p.HGVS]",We recommend using sequence DNA change expressions (c.HGVS) if possible.,,,,,,,,,,,
+- GA4GH Phenopacket Schema v2.0 Element: [...].VariantInterpretation.VariationDescriptor.Extension"
+variant_expression,rarelink_6_1_genetic_findings,,dropdown,Please choose the type of the variant's validated HGVS expression,"ghgvs, Genomic DNA change [g.HGVS] | chgvs, Sequence DNA change [c.HGVS] | phgvs, Amino Acid Change [p.HGVS]",We recommend using sequence DNA change expressions (c.HGVS) if possible.,,,,,,,,,,,
loinc_81290_9,rarelink_6_1_genetic_findings,,text,6.1.7 Genomic DNA Change [g.HGVS],,The specific change in the genomic DNA sequence encoded with a validated g.HGVS expression.,,,,,[variant_expression] = 'ghgvs',,,,,,"Variable:
LOINC:81290-9 | Genomic DNA Change
Choices:
n/a
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.component:Variant.valueCode
-- GA4GH Phenopacket Schema v2.0 Element: ""[...]VariantInterpretation.VariationDescriptor.Expression [+] [...].MoleculeContext"""
+- GA4GH Phenopacket Schema v2.0 Element: ""[...]VariantInterpretation.VariationDescriptor.Expression [+] [...].MoleculeContext"""
loinc_48004_6,rarelink_6_1_genetic_findings,,text,6.1.8 Sequence DNA Change [c.HGVS],,The specific change in the DNA sequence at the nucleotide level with a validated c.HGVS expression,,,,,[variant_expression] = 'chgvs',,,,,,"Variable:
LOINC:48004-6 | Sequence DNA Change
Choices:
n/a
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.component:Variant.valueCode
-- GA4GH Phenopacket Schema v2.0 Element: [...]VariantInterpretation.VariationDescriptor.Expression [+] [...].MoleculeContext"
+- GA4GH Phenopacket Schema v2.0 Element: [...]VariantInterpretation.VariationDescriptor.Expression [+] [...].MoleculeContext"
loinc_48005_3,rarelink_6_1_genetic_findings,,text,6.1.9 Amino Acid Change [p.HGVS],,The specific change in the amino acid sequence resulting from a genetic variant as a validated p.HGVS expression,,,,,[variant_expression] = 'phgvs',,,,,,"Variable:
LOINC:48005-3 | Amino Acid Change
Choices:
n/a
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.component:AminoAcidChange
-- GA4GH Phenopacket Schema v2.0 Element: [...]VariantInterpretation.VariationDescriptor.Expression [+] [...].MoleculeContext"
+- GA4GH Phenopacket Schema v2.0 Element: [...]VariantInterpretation.VariationDescriptor.Expression [+] [...].MoleculeContext"
variant_validation,rarelink_6_1_genetic_findings,,radio,Are you sure the entered HGVS expression was validated using the variant validator? ,"yes, Yes - I'm sure | no, No, I need to check again",Please use the links above to ensure validation of the expression you entered!,,,,,"[loinc_81290_9] <> '' or
[loinc_48004_6] <> '' or
-[loinc_48005_3] <> ''",y,,,,,
+[loinc_48005_3] <> ''",y,,,,,
loinc_48018_6,rarelink_6_1_genetic_findings,,text,6.1.10 Gene [HGNC-NR],BIOPORTAL:HGNC-NR,The specific gene or genes that were analysed or identified in the study.,,,,,,,,,,,"Variable:
LOINC:48018-6 | Gene
Choices:
n/a
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.component:Gene
-- GA4GH Phenopacket Schema v2.0 Element: [...].GenomicInterpretation.GeneDescriptor.value_id"
-loinc_48018_6_label,rarelink_6_1_genetic_findings,,text,6.1.10A Gene Label,,"Please enter the respective Gene label, e.g. 'BRAF'",,,,,[loinc_48018_6] <> '',,,,,,
+- GA4GH Phenopacket Schema v2.0 Element: [...].GenomicInterpretation.GeneDescriptor.value_id"
loinc_53034_5,rarelink_6_1_genetic_findings,,dropdown,6.1.11 Zygosity,"loinc_la6705-3, Homozygous | loinc_la6706-1, (simple) Heterozygous | loinc_la26217-2, Compound heterozygous | loinc_la26220-6, Double heterozygous | loinc_la6707-9, Hemizygous | loinc_la6703-8, Heteroplasmic | loinc_la6704-6, Homoplasmic | loinc_53034_5_other, Other",The zygosity of the genetic variant.,,,,,,,,,,,"Variable:
LOINC:53034-5 | Zygosity
Choices:
@@ -526,11 +468,11 @@ LOINC:LA6707-9 | Hemizygous
LOINC:LA6703-8 | Heteroplasmic
LOINC:LA6704-6 | Homoplasmic
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.component:geneticsAllele.State | VS: Allelic State
-- GA4GH Phenopacket Schema v2.0 Element: [...].GenomicInterpretation.VariantInterpretation.variationDescriptor.AllelicState"
-loinc_53034_5_other,rarelink_6_1_genetic_findings,,text,6.1.11A Zygosity - Other [LOINC],BIOPORTAL:LOINC,Please search for a different zygosity in LOINC.,,,,,[loinc_53034_5] = 'other',,,,,,"Variable:
+- GA4GH Phenopacket Schema v2.0 Element: [...].GenomicInterpretation.VariantInterpretation.variationDescriptor.AllelicState"
+loinc_53034_5_other,rarelink_6_1_genetic_findings,,text,6.1.11A Zygosity - Other [LOINC],BIOPORTAL:LOINC,Please search for a different zygosity in LOINC.,,,,,[loinc_53034_5] = 'loinc_53034_5_other',,,,,,"Variable:
LOINC:53034-5 | Zygosity
Choices:
LOINC:LA6705-3 | Homozygous
@@ -541,10 +483,10 @@ LOINC:LA6707-9 | Hemizygous
LOINC:LA6703-8 | Heteroplasmic
LOINC:LA6704-6 | Homoplasmic
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.component:geneticsAllele.State | VS: Allelic State
-- GA4GH Phenopacket Schema v2.0 Element: [...].GenomicInterpretation.VariantInterpretation.variationDescriptor.AllelicState"
+- GA4GH Phenopacket Schema v2.0 Element: [...].GenomicInterpretation.VariantInterpretation.variationDescriptor.AllelicState"
loinc_48002_0,rarelink_6_1_genetic_findings,,dropdown,6.1.12 Genomic Source Class,"loinc_la6683-2, Germline | loinc_la6684-0, Somatic | loinc_la10429-1, Fetal | loinc_la18194-3, Likely germline | loinc_la18195-0, Likely somatic | loinc_la18196-8, Likely fetal | loinc_la18197-6, Unknown genomic origin | loinc_la26807-0, De novo","The classification of the genomic source, such as germline, somatic, or other origins.",,,,,,,,,,,"Variable:
LOINC:48002-0 | Genomic Source Class
Choices:
@@ -557,10 +499,10 @@ LOINC:LA18196-8 | Likely fetal
LOINC:LA18197-6 | Unknown genomic origin
LOINC:LA26807-0 | De novo
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.component:GenomicSourceClass
-- GA4GH Phenopacket Schema v2.0 Element: n/a"
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
loinc_48019_4,rarelink_6_1_genetic_findings,,dropdown,6.1.13 DNA Change Type,"loinc_la9658-1, Wild type | loinc_la6692-3, Deletion | loinc_la6686-5, Duplication | loinc_la6687-3, Insertion | loinc_la6688-1, Insertion/Deletion | loinc_la6689-9, Inversion | loinc_la6690-7, Substitution | loinc_48019_4_other, Other","The variant’s type of DNA change, such as point mutation, deletion, insertion, or other types.",,,,,,,,,,,"Variable:
LOINC:48019-4 | DNA Change Type
Choices:
@@ -572,11 +514,11 @@ LOINC:LA6688-1 | Insertion/Deletion
LOINC:LA6689-9 | Inversion
LOINC:LA6690-7 | Substitution
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Variant.type
-- GA4GH Phenopacket Schema v2.0 Element: n/a"
-loinc_48019_4_other,rarelink_6_1_genetic_findings,,text,6.1.13A DNA Change Type - Other [LOINC],BIOPORTAL:LOINC,Please search for a different DNA change typ in LOINC.,,,,,,,,,,,"Variable:
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
+loinc_48019_4_other,rarelink_6_1_genetic_findings,,text,6.1.13A DNA Change Type - Other [LOINC],BIOPORTAL:LOINC,Please search for a different DNA change typ in LOINC.,,,,,[loinc_48019_4] = 'loinc_48019_4_other',,,,,,"Variable:
LOINC:48019-4 | DNA Change Type
Choices:
LOINC:LA9658-1 | Wild type
@@ -587,10 +529,10 @@ LOINC:LA6688-1 | Insertion/Deletion
LOINC:LA6689-9 | Inversion
LOINC:LA6690-7 | Substitution
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Variant.type
-- GA4GH Phenopacket Schema v2.0 Element: n/a"
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
loinc_53037_8,rarelink_6_1_genetic_findings,,dropdown,6.1.14 Clinical Significance [ACMG],"loinc_la6668-3, Pathogenic | loinc_la26332-9, Likely pathogenic | loinc_la26333-7, Uncertain significance | loinc_la26334-5, Likely benign | loinc_la6675-8, Benign | loinc_la4489-6, Unknown","The clinical significance of the genetic variant, indicating its impact on health and disease.",,,,,,,,,,,"Variable:
LOINC:53037-8 | Clinical Significance [ACMG]
Choices:
@@ -601,11 +543,12 @@ LOINC:LA26334-5 | Likely benign
LOINC:LA6675-8 | Benign
LOINC:LA4489-6 | Unknown
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.component:Variant.Interpretation
-- GA4GH Phenopacket Schema v2.0 Element: Interpretation.AcmgPathogenicityClassification"
-ga4gh_therap_action,rarelink_6_1_genetic_findings,,dropdown,6.1.15 Therapeutic Actionability,"ga4gh_unknown_actionability, There is not enough information at this time to support any therapeutic actionability for this variant | ga4gh_not_actionable, This variant has no therapeutic actionability. | ga4gh_actionable, This variant is known to be therapeutically actionable.","An enumeration flagging the variant as being a candidate for treatment/ clinical intervention of the disorder caused by this variant, which could improve the clinical outcome.",,,,,,,,,,,"Variable:
+- GA4GH Phenopacket Schema v2.0 Element: Interpretation.AcmgPathogenicityClassification"
+ga4gh_therap_action,rarelink_6_1_genetic_findings,,dropdown,6.1.15 Therapeutic Actionability,"ga4gh_unknown_actionability, Unknown actionability | ga4gh_not_actionable, Not actionable | ga4gh_actionable, Actionable
+","An enumeration flagging the variant as being a candidate for treatment/ clinical intervention of the disorder caused by this variant, which could improve the clinical outcome.",,,,,,,,,,,"Variable:
GA4GH:therapeutic_actionability | Therapeutic Actionability
Choices:
GA4GH:UNKNOWN_ACTIONABILITY | There is not enough information at this time to support any therapeutic actionability for this variant
@@ -615,7 +558,7 @@ Version(s):
- GA4GH Phenopacket Schema Version 2.0
Mapping:
- HL7 FHIR Expression v4.0.1: n/a
-- GA4GH Phenopacket Schema v2.0 Element: [...].GenomicInterpretation.VariantInterpretation.therapeutic_actionability"
+- GA4GH Phenopacket Schema v2.0 Element: [...].GenomicInterpretation.VariantInterpretation.therapeutic_actionability"
loinc_93044_6,rarelink_6_1_genetic_findings,,dropdown,6.1.16 Clinical Annotation Level Of Evidence,"loinc_la30200-2, Very strong evidence pathogenic | loinc_la30201-0, Strong evidence pathogenic | loinc_la30202-8, Moderate evidence pathogenic | loinc_la30203-6, Supporting evidence pathogenic | loinc_la30204-4, Supporting evidence benign | loinc_la30205-1, Strong evidence benign | loinc_la30206-9, Stand-alone evidence pathogenic",The level of evidence supporting the clinical annotation of the genetic variant.,,,,,,,,,,,"Variable:
LOINC:93044-6 | Clinical Annotation Level Of Evidence
Choices:
@@ -627,23 +570,11 @@ LOINC:LA30204-4 | Supporting evidence benign
LOINC:LA30205-1 | Strong evidence benign
LOINC:LA30206-9 | Stand-alone evidence pathogenic
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.extension:Variant.Interpretation
-- GA4GH Phenopacket Schema v2.0 Elemen: n/a"
-phenotypic_feature_descr,rarelink_6_2_phenotypic_feature,RareLink - 6.2) Phenotypic Findings,descriptive,"
-
Notes for entering information into the Phenotypic Feature sheet - for more detail please read our comprehensive User Guide
-
-
It is a repeated form, you can enter as many phenotypic features as needed.
-
If the specific month or day is not known for the determination date, select the 1st day of the month or the 1st month of the year, respectively (e.g., sometime in June 2022 --> 01.June.2022, sometime in 2014 --> 01.01.2014).
-
We recommend capturing the time a characteristic was observed.
-
Please always enter the status as either confirmed or refuted.
-
These RareLink sheets are integrated with BioPortal for ontology-specific searches. For a smoother experience when looking up terms in these fields, we recommend using the OLS platform (https://www.ebi.ac.uk/ols4/ontologies) to locate the appropriate terms for your search.
-
Encode the modifiers for more complex deep phenotyping, for instance, one or more terms from HP:0012823 (HP:0012823), the infectious agent causing the phenotype encoded with NCBITAXON, or SNOMED for other modifiers.
-
For more effective analysis with clinical modifiers, we recommend establishing consistent definitions for these modifiers within a specific cohort.
-
-
",,,,,,,,,,,,,
-snomed_8116006,rarelink_6_2_phenotypic_feature,,text,6.2.1 Phenotypic Feature,BIOPORTAL:HP,An observed physical and clinical characteristic encoded with HPO.,,,,,,y,,,,,"Variable:
+- GA4GH Phenopacket Schema v2.0 Elemen: n/a"
+snomed_8116006,rarelink_6_2_phenotypic_feature,"
RareLink - 6.2) Phenotypic Feature
Tip: For guidance on entering data into the Phenotypic Feature sheet, refer to the Manual Data Capture Guide.
If you find issues, have feedback, or want to contribute, please see thecontributing guide.
",text,6.2.1 Phenotypic Feature,BIOPORTAL:HP,An observed physical and clinical characteristic encoded with HPO.,,,,,,y,,,,,"Variable:
SNOMED:8116006 | Phenotypic Feature
Choices:
n/a
@@ -651,7 +582,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.Code
-- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.type"
+- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.type"
snomed_363778006,rarelink_6_2_phenotypic_feature,,dropdown,6.2.2 Status,"snomed_410605003, Confirmed present | snomed_723511001, Refuted","The current status of the phenotypic feature, indicating whether it is confirmed or refuted.",,,,,,y,,,,,"Variable:
SNOMED:363778006 | Status
Choices:
@@ -662,7 +593,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.Status (Rec VS: observation.status)
-- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.excluded "
+- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.excluded "
snomed_8116006_onset,rarelink_6_2_phenotypic_feature,,text,6.2.3 Determination Date,,"The date on which the phenotypic feature was observed or recorded (we the time it was observed). If the specific month or day is not known, select the 1st day of the month or the 1st month of the year, respectively",date_ymd,,,,,,,,,,"Variable:
SNOMED:439272007:704321009=363778006 | Determination Date
Choices:
@@ -671,7 +602,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.effectiveDateTime
-- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.onset "
+- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.onset "
snomed_8116006_resolution,rarelink_6_2_phenotypic_feature,,text,6.2.4 Resolution Date,,Time at which the feature resolved or abated.,date_ymd,,,,,,,,,,"Variable:
HPO:0034382 | Resolution Date
Choices:
@@ -680,7 +611,7 @@ Version(s):
- HPO Version 2024-08-13
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.effectiveDateTime
-- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.resolution"
+- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.resolution"
hp_0003674,rarelink_6_2_phenotypic_feature,,dropdown,6.2.5 Age of Onset,"hp_0011460, Embryonal onset (0w-8w embryonal) | hp_0011461, Fetal onset (8w embryonal - birth) | hp_0003577, Congenital onset (at birth) | hp_0003623, Neonatal onset (0d-28d) | hp_0003593, Infantile onset (28d-1y) | hp_0011463, Childhood onset (1y-5y) | hp_0003621, Juvenile onset (5y-15y) | hp_0011462, Young adult onset (16y-40y) | hp_0003596, Middle age adult onset (40y-60y) | hp_0003584, Late adult onset (60y+)",,,,,,,,,,,,"Variable:
HP:0003674 | Onset Category
Choices:
@@ -698,7 +629,7 @@ Version(s):
- HPO Version 2024-08-13
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.category
-- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.onset"
+- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.onset"
hp_0011008,rarelink_6_2_phenotypic_feature,,dropdown,6.2.6 Temporal Pattern,"hp_0011009, Acute | hp_0011010, Chronic | hp_0031914, Fluctuating | hp_0025297, Prolonged | hp_0031796, Recurrent | hp_0031915, Stable | hp_0011011, Subactue | hp_0025153, Transient",,,,,,,,,,,,"Variable:
HP:0011008 | Temporal Pattern
Choices:
@@ -714,7 +645,7 @@ Version(s):
- HPO Version 2024-08-13
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.interpretation
-- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifiers"
+- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifiers"
hp_0012824,rarelink_6_2_phenotypic_feature,,dropdown,6.2.7 Phenotype Severity,"hp_0012827, Borderline | hp_0012825, Mild | hp_0012826, Moderate | hp_0012829, Profound | hp_0012828, Severe",,,,,,,,,,,,"Variable:
HP:0012824 | Severity
Choices:
@@ -728,7 +659,7 @@ Version(s):
Mapping:
- HL7 FHIR Expression v4.0.1: Observation.interpretation
- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.severity
-"
+"
hp_0012823_hp1,rarelink_6_2_phenotypic_feature,,text,6.2.8A Clinical Modifier [HP],BIOPORTAL:HP,"Further clinical modifiers to describe a specific phenotypic feature, if possible part of these: https://hpo.jax.org/browse/term/HP:0012823 ",,,,,,,,,,,"Variable:
GA4GH:phenotypicfeature.modifier | Modifier
Choices:
@@ -737,7 +668,7 @@ Version(s):
- GA4GH Phenopacket Schema v2.0
Mapping:
- HL7 FHIR Expression v4.0.1 [Suggested]: Observation.extension
-- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifier"
+- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifier"
hp_0012823_hp2,rarelink_6_2_phenotypic_feature,,text,6.2.8B Clinical Modifier [HP],BIOPORTAL:HP,"Further clinical modifiers to describe a specific phenotypic feature, if possible part of these: https://hpo.jax.org/browse/term/HP:0012823 ",,,,,"[hp_0012823_hp1] <> """"",,,,,,"Variable:
GA4GH:phenotypicfeature.modifier | Modifier
Choices:
@@ -746,7 +677,7 @@ Version(s):
- GA4GH Phenopacket Schema v2.0
Mapping:
- HL7 FHIR Expression v4.0.1 [Suggested]: Observation.extension
-- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifier"
+- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifier"
hp_0012823_hp3,rarelink_6_2_phenotypic_feature,,text,6.2.8C Clinical Modifier [HP],BIOPORTAL:HP,"Further clinical modifiers to describe a specific phenotypic feature, if possible part of these: https://hpo.jax.org/browse/term/HP:0012823 ",,,,,"[hp_0012823_hp2] <> """"",,,,,,"Variable:
GA4GH:phenotypicfeature.modifier | Modifier
Choices:
@@ -755,7 +686,7 @@ Version(s):
- GA4GH Phenopacket Schema v2.0
Mapping:
- HL7 FHIR Expression v4.0.1 [Suggested]: Observation.extension
-- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifier"
+- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifier"
hp_0012823_ncbitaxon,rarelink_6_2_phenotypic_feature,,text,"6.2.8D If applicable, what was the causing organism? [NCBITAXON]",BIOPORTAL:NCBITAXON,"If applicable, select the causing organism in NCBITaxon and consider the tips above. It is recommended to select a common set of choices if capturing phenotypes for a cohort. ",,,,,,,,,,,"Variable:
GA4GH:phenotypicfeature.modifier | Modifier
Choices:
@@ -764,7 +695,7 @@ Version(s):
- GA4GH Phenopacket Schema v2.0
Mapping:
- HL7 FHIR Expression v4.0.1 [Suggested]: Observation.extension
-- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifier"
+- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifier"
hp_0012823_snomed,rarelink_6_2_phenotypic_feature,,text,"6.2.8E If applicable, what was the primary body site? [SNOMED]",BIOPORTAL:SNOMEDCT,"If applicable, select the primary bodysite in SNOMED and consider the tips above. It is recommended to select a common set of choices if capturing phenotypes for a cohort.",,,,,,,,,,,"Variable:
GA4GH:phenotypicfeature.modifier | Modifier
Choices:
@@ -773,46 +704,85 @@ Version(s):
- GA4GH Phenopacket Schema v2.0
Mapping:
- HL7 FHIR Expression v4.0.1 [Suggested]: Observation.extension
-- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifier"
-phenotypicfeature_evidence,rarelink_6_2_phenotypic_feature,,text,6.2.9 Evidence for the phenotype [ECO],BIOPORTAL:ECO,The evidence for an assertion of the observation of a type defined within the Evidence & Conclusion Ontology (ECO).,,,,,,,,,,,
-measurements_descr,rarelink_6_3_measurements,RareLink - 6.3) Measurements,descriptive,"
-
Notes and Tips for entering information into the Measurements sheet - for more detail please read our comprehensive User Guide
-
-
It is a repeated form; capture information for one measurement and repeat as many times as necessary
-
Not all fields must be entered - If information is not known or not required, leave it blank.
-
It is recommended to define a set of rules for capturing measurements within a cohort to improve subsequent analyses
-
These RareLink sheets are integrated with BioPortal for ontology-specific searches. For a smoother experience when looking up terms in these fields, we recommend using the OLS platform (https://www.ebi.ac.uk/ols4/ontologies) to locate the appropriate terms for your search.
-
To search in LOINC, we recommend searching here: https://loinc.org/search/ (you may have to create an account to access Loinc Search).
-
-
",,,,,,,,,,,,,
-ncit_c60819,rarelink_6_3_measurements,,text,6.3.1 Assay,BIOPORTAL:LOINC,Please search the assay in LOINC and see tips above.,,,,,,y,,,,,"Variable: NCIT:C60819 | Assay
+- GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.modifier"
+phenotypicfeature_evidence,rarelink_6_2_phenotypic_feature,,text,6.2.9 Evidence for the phenotype [ECO],BIOPORTAL:ECO,The evidence for an assertion of the observation of a type defined within the Evidence & Conclusion Ontology (ECO).,,,,,,,,,,,
+measurement_category,rarelink_6_3_measurements,"
RareLink - 6.3) Measurements
For guidance on entering data into the Phenotypic Features sheet, refer to the Manual Data Capture Guide.
Notes for entering information into the Family History sheet - for more detail please read our comprehensive User Guide
-
-
It is a repeated form; capture information for as many family members as needed, with one family member per sheet.
-
These RareLink sheets are integrated with BioPortal for ontology-specific searches. For a smoother experience when looking up terms in these fields, we recommend using the OLS platform (https://www.ebi.ac.uk/ols4/ontologies) to locate the appropriate terms for your search.
-
Not all fields must be entered - If information is not known or not required, leave it blank.
-
If a pseudonym was already assigned to the specific family member, please enter it here to identify across records.
-
-
",,,,,,,,,,,,,
-family_history_pseudonym,rarelink_6_4_family_history,,text,6.4.0 Pseudonym,,"If a pseudonym was already assigned to the specific family member, please enter it here to identify across records.",,,,,,y,,,,,
+- GA4GH Phenopacket Schema v2.0 Element: Measurement.procedure"
+snomed_122869004_bodysite,rarelink_6_3_measurements,,text,6.3.7A Body Site [SNOMED],BIOPORTAL:SNOMEDCT,Please search for the body site in SNOMED,,,,,[measurement_category] = 'procedure',,,,,,"Variable: SNOMED:122869004 - BodySite | Procedure - Body Site
+Choices:
+- n/a
+Version(s):
+- SNOMED CT v2024-09-01
+Mapping:
+- HL7 FHIR Expression v4.0.1 [Suggested]: Procedure.bodySite
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
+snomed_122869004_status,rarelink_6_3_measurements,,dropdown,6.3.7B Procedure Status [SNOMED],"preparation, Preparation | in-progress, In Progress | not-done, Not Done | on-hold, On Hold | stopped, Stopped | completed, Completed | entered-in-error, Entered in Error | unknown, Unknown
+",The status of the procedure,,,,,[measurement_category] = 'procedure',y,,,,,"Variable: SNOMED:122869004 - EventStatus | Procedure - Event Status
+Choices:
+- preparation | Preparation
+- in-progress | In Progress
+- not-done | Not Done
+- on-hold | On Hold
+- stopped | Stopped
+- completed | Completed
+- entered-in-error | Entered in Error
+- unknown | Unknown
+Version(s):
+- HL7 FHIR v4.0.1
+Mapping:
+- HL7 FHIR Expression v5.0.0: Observation.status
+- GA4GH Phenopacket Schema v2.0 Element: n/a"
+family_history_pseudonym,rarelink_6_4_family_history,"RareLink - 6.4) Family History
+
+
If you find issues, have feedback, or want to contribute, please see thecontributing guide.
",text,6.4.0 Pseudonym,,"If a pseudonym was already assigned to the specific family member, please enter it here to identify across records.",,,,,,y,,,,,
snomed_64245008,rarelink_6_4_family_history,,dropdown,6.4.1 Propositus/-a,"snomed_373066001, Yes | snomed_373067005, No | snomed_261665006, Unknown | snomed_1220561009, Not recorded","Is the individual the first affected family member who seeks medical attention for a genetic disorder, leading to the diagnosis of other family members.",,,,,,,,,,,"SNOMED:64245008 | Propositus/-a
Choices:
- SNOMED:373066001 | Yes
@@ -857,7 +854,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: n/a
-- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives → 1 Phenopacket per family member) "
+- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives → 1 Phenopacket per family member) "
snomed_408732007,rarelink_6_4_family_history,,dropdown,6.4.2 Relationship of the individual to the index case / propositus/a,"snomed_65656005, Natural mother | snomed_9947008, Natural father | snomed_83420006, Natural daughter | snomed_113160008, Natural son | snomed_60614009, Natural brother | snomed_73678001, Natural sister | snomed_11286003, Twin sibling | snomed_45929001, Half-brother | snomed_2272004, Half-sister | snomed_62296006, Natural grandfather | snomed_17945006, Natural grandmother | snomed_1220561009, Not recorded","Specifies the familial relationship of the individual being evaluated to the index case or propositus/proposita.
Disclaimer:",,,,,,,,,,,"SNOMED:408732007 | Relationship of the individual to the index case / propositus/a
Choices:
@@ -877,7 +874,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: n/a
-- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives → 1 Phenopacket per family member) "
+- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives → 1 Phenopacket per family member) "
snomed_842009,rarelink_6_4_family_history,,dropdown,6.4.3 Consanguinity,"snomed_373066001, Yes | snomed_373067005, No | snomed_261665006, Unknown | snomed_1220561009, Not recorded","The presence of a biological relationship between parents who are related by blood, typically as first or second cousins.",,,,,,,,,,,"Variable:
SNOMED:842009 | Consanguinity
Choices:
@@ -889,7 +886,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Family.consanguinous_parents
-- GA4GH Phenopacket Schema v2.0 Element: (Family.consanguinous_parents) "
+- GA4GH Phenopacket Schema v2.0 Element: (Family.consanguinous_parents) "
snomed_444018008,rarelink_6_4_family_history,,dropdown,6.4.4 Family Member Relationship,"snomed_65656005, Natural mother | snomed_9947008, Natural father | snomed_83420006, Natural daughter | snomed_113160008, Natural son | snomed_60614009, Natural brother | snomed_73678001, Natural sister | snomed_11286003, Twin sibling | snomed_45929001, Half-brother | snomed_2272004, Half-sister | snomed_62296006, Natural grandfather | snomed_17945006, Natural grandmother | snomed_1220561009, Not recorded",Specifies the relationship of the selected family member to the patient.,,,,,,y,,,,,"Variable:
SNOMED:444018008 | Family Member Relationship
Choices:
@@ -909,7 +906,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: FamilyMemberHistory.relationship.coding (VS: FamilyMember)
-- GA4GH Phenopacket Schema v2.0 Element: Family.Pedigree.Person.individual_id "
+- GA4GH Phenopacket Schema v2.0 Element: Family.Pedigree.Person.individual_id "
hl7fhir_fmh_status,rarelink_6_4_family_history,,dropdown,6.4.5 Family Member Record Status,"hl7fhir_partial, Partial | hl7fhir_completed, Completed | hl7fhir_entered-in-error, Entered in Error | hl7fhir_health-unknown, Health Unknown",Specifies the record’s status of the family history of a specific family member.,,,,,,y,,,,,"Variable:
HL7 FHIR:familymemberhistory.status | Family Member Record Status
Choices:
@@ -921,7 +918,7 @@ Version(s):
- HL7 FHIR Version 4.0.1
Mapping:
- HL7 FHIR Expression v4.0.1: FamilyMemberHistory.status (VS: FamilyHistoryStatus)
-- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
+- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
loinc_54123_5,rarelink_6_4_family_history,,dropdown,6.4.6 Family Member Sex,"snomed_248152002, Female | snomed_248153007, Male | snomed_184115007, Patient sex unknown | snomed_32570691000036108, Intersex | snomed_1220561009, Not recorded","Specifies the sex (or gender) of the specific family member. If possible, the sex assigned at birth should be selected.",,,,,,,,,,,"Variable:
LOINC:54123-5 | Family Member Sex
Choices:
@@ -931,29 +928,29 @@ Choices:
- SNOMED:32570691000036108 | Intersex
- SNOMED:1220561009 | Not recorded
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: FamilyMemberHistory.sex (VS: AdministrativeGender)
-- GA4GH Phenopacket Schema v2.0 Element: Family.Pedigree.Person.sex "
+- GA4GH Phenopacket Schema v2.0 Element: Family.Pedigree.Person.sex "
loinc_54141_7,rarelink_6_4_family_history,,text,6.4.7 Family Member Age,,Records the current age in full years of the selected family member.,integer,0,200,,,,,,,,"Variable:
LOINC:54141-7 | Family Member Age
Choices:
n/a
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: FamilyMemberHistory.ageAge
-- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
+- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
loinc_54124_3,rarelink_6_4_family_history,,text,6.4.8 Family Member Date of Birth,,Records the date of birth of the selected family member.,date_ymd,,,,,,,,,,"Variable:
LOINC:54124-3 | Family Member Date of Birth
Choices:
n/a
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: FamilyMemberHistory.bornDate
-- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
+- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
snomed_740604001,rarelink_6_4_family_history,,dropdown,6.4.9 Family Member Deceased,"snomed_373066001, Yes | snomed_373067005, No | snomed_261665006, Unknown",Indicates whether the selected family member is deceased.,,,,,,,,,,,"Variable:
SNOMED:740604001 | Family Member Deceased
Choices:
@@ -964,43 +961,35 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: FamilyMemberHistory.deceased.deceasedBoolean
-- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
+- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
loinc_54112_8,rarelink_6_4_family_history,,text,6.4.10 Family Member Cause of Death [ICD10CM],BIOPORTAL:ICD10CM,Records the cause of death of the selected deceased family member.,,,,,[snomed_740604001] = 'snomed_373066001',,,,,,"Variable:
LOINC:54112-8 | Family Member Cause of Death
Choices:
n/a
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: FamilyMemberHistory.condition.code & FamilyMemberHistory.condition.contributedToDeath
-- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
+- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
loinc_92662_6,rarelink_6_4_family_history,,text,6.4.11 Family Member Deceased Age,,Records the current age in full years of the selected family member. ,integer,0,200,,[snomed_740604001] = 'snomed_373066001',,,,,,"Variable:
LOINC:92662-6 | Family Member Deceased Age
Choices:
n/a
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: FamilyMemberHistory.deceasedAge
-- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
+- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
loinc_75315_2,rarelink_6_4_family_history,,text,6.4.12 Family Member Disease [MONDO],BIOPORTAL:MONDO,Indicates whether the selected family member is affected by the same RD as the individual or a different rare disease.,,,,,,,,,,,"Variable:
LOINC:75315-2 | Family Member Disease
Choices:
n/a
Version(s):
-- LOINC Version 2.77
+- LOINC Version 2.78
Mapping:
- HL7 FHIR Expression v4.0.1: FamilyMemberHistory.condition.code
-- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
-consent_descr,rarelink_7_consent,RareLink - 7) Consent,descriptive,"
-
Notes for entering information into the Consent sheet - for more detail please read our comprehensive User Guide
-
-
Specifies consent-specific data for a patient, e.g., for registry use.
-
Provide a link to the BioBank if applicable.
-
-
-",,,,,,,,,,,,,
-snomed_309370004,rarelink_7_consent,,dropdown,7.1 Consent Status,"hl7fhir_draft, Pending | hl7fhir_proposed, Proposed | hl7fhir_active, Active | hl7fhir_rejected, Rejected | hl7fhir_inactive, Inactive | hl7fhir_entered-in-error, Entered in Error",Indicates the current status of the consent.,,,,,,y,,,,,"Variable:
+- GA4GH Phenopacket Schema v2.0 Element: (Family.relatives) "
+snomed_309370004,rarelink_7_consent,"
If you find issues, have feedback, or want to contribute, please see thecontributing guide.
",dropdown,7.1 Consent Status,"hl7fhir_draft, Pending | hl7fhir_proposed, Proposed | hl7fhir_active, Active | hl7fhir_rejected, Rejected | hl7fhir_inactive, Inactive | hl7fhir_entered-in-error, Entered in Error",Indicates the current status of the consent.,,,,,,y,,,,,"Variable:
SNOMED:309370004 | Consent Status
Choices:
- HL7FHIR:draft | Pending
@@ -1013,7 +1002,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Consent.status
-- GA4GH Phenopacket Schema v2.0 Element: n/a "
+- GA4GH Phenopacket Schema v2.0 Element: n/a "
hl7fhir_consent_datetime,rarelink_7_consent,,text,7.2 Consent Date,,Records the date when the consent was given.,date_ymd,,,,,,,,,,"Variable:
HL7 FHIR:consent.datetime | Consent Date
Choices:
@@ -1022,7 +1011,7 @@ Version(s):
- HL7 FHIR Version 4.0.1
Mapping:
- HL7 FHIR Expression v4.0.1: Consent.dateTime
-- GA4GH Phenopacket Schema v2.0 Element: n/a "
+- GA4GH Phenopacket Schema v2.0 Element: n/a "
snomed_386318002,rarelink_7_consent,,text,7.3 Health Policy Monitoring,,"The references to the policies that are included in this consent scope. Policies may be organisational, but are often defined jurisdictionally, or in law. For example: Your entity or organization having regulatory jurisdiction or accountability for enforcing policies pertaining to Consent Directives.",,,,,,y,,,,,"Variable:
SNOMED:386318002 | Health Policy Monitoring
Choices:
@@ -1031,7 +1020,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Consent.policy
-- GA4GH Phenopacket Schema v2.0 Element: n/a "
+- GA4GH Phenopacket Schema v2.0 Element: n/a "
rarelink_consent_contact,rarelink_7_consent,,dropdown,"7.4 Agreement to be
contacted for
research purposes","snomed_373066001, Yes | snomed_373067005, No | snomed_261665006, Unknown
@@ -1046,7 +1035,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Consent.scope.coding
-- GA4GH Phenopacket Schema v2.0 Element: n/a "
+- GA4GH Phenopacket Schema v2.0 Element: n/a "
rarelink_consent_data,rarelink_7_consent,,dropdown,"7.5 Consent to the reuse
of data","snomed_373066001, Yes | snomed_373067005, No | snomed_261665006, Unknown
",Indicates whether the patient consents to the reuse of their data.,,,,,,y,,,,,"Variable:
@@ -1060,7 +1049,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: Consent.scope.coding
-- GA4GH Phenopacket Schema v2.0 Element: n/a "
+- GA4GH Phenopacket Schema v2.0 Element: n/a "
snomed_123038009,rarelink_7_consent,,dropdown,7.6 Biological sample,"snomed_373066001, Yes | snomed_373067005, No | snomed_261665006, Unknown
",Indicates whether a patient's biological sample is available for research.,,,,,,,,,,,"Variable:
SNOMED:123038009 | Biological sample
@@ -1072,7 +1061,7 @@ Version(s):
- SNOMED CT Version 23.2.0
Mapping:
- HL7 FHIR Expression v4.0.1: n/a
-- GA4GH Phenopacket Schema v2.0 Element: n/a "
+- GA4GH Phenopacket Schema v2.0 Element: n/a "
rarelink_biobank_link,rarelink_7_consent,,text,7.7 Link to a biobank,,"If there is a biological sample, this data element indicates the link to the biobank of the patient's biological sample.",,,,,,,,,,,"Variable:
RareLinkCode:biobank_link | Link to a biobank
Choices:
@@ -1081,16 +1070,8 @@ Version(s):
- RareLink Custom Codes Version 2.0
Mapping:
- HL7 FHIR Expression v4.0.1: n/a
-- GA4GH Phenopacket Schema v2.0 Element: n/a "
-disability_descr,rarelink_8_disability,RareLink - 8) Disability,descriptive,"
-
Notes for entering information into the Disability sheet - for more detail please read our comprehensive User Guide
-
-
Enter the disability code of the ICF (International Classification of Functioning, Disability, and Health).
-
These RareLink sheets are integrated with BioPortal for ontology-specific searches. For a smoother experience when looking up terms in these fields, we recommend using the OLS platform (https://www.ebi.ac.uk/ols4/ontologies) to locate the appropriate terms for your search.
-
The data entered corresponds to the date of admission or data entry (element 1.2).
If you find issues, have feedback, or want to contribute, please see thecontributing guide.
",text,8.1 Classification of functioning / disability,BIOPORTAL:ICF,,,,,,,,,,,,"Variable:
RareLinkCode:icf_score | Classification of functioning / disability
Choices:
n/a
diff --git a/docs/_build/html/_downloads/be2e33b5e674cd00f02b65650407213c/downloads_manifest.json b/docs/_build/html/_downloads/be2e33b5e674cd00f02b65650407213c/downloads_manifest.json
new file mode 100644
index 00000000..4ba061dd
--- /dev/null
+++ b/docs/_build/html/_downloads/be2e33b5e674cd00f02b65650407213c/downloads_manifest.json
@@ -0,0 +1,6 @@
+{"rarelink_cdm_datadictionary": {
+ "version": "v2_0_0_dev0",
+ "file_name": "rarelink_cdm_datadictionary - v2_0_0_dev0.csv",
+ "url": "https://rarelink.readthedocs.io/en/latest/_downloads//rarelink_cdm_datadictionary%20-%20v2_0_0_dev0.csv"
+ }
+}
diff --git a/docs/_build/html/_images/rarelink-cdm-repeating-instruments.jpg b/docs/_build/html/_images/rarelink-cdm-repeating-instruments.jpg
new file mode 100644
index 00000000..67b5e6bb
Binary files /dev/null and b/docs/_build/html/_images/rarelink-cdm-repeating-instruments.jpg differ
diff --git a/docs/_build/html/_sources/10_license.rst.txt b/docs/_build/html/_sources/10_license.rst.txt
index 14186bc5..55e4cd44 100755
--- a/docs/_build/html/_sources/10_license.rst.txt
+++ b/docs/_build/html/_sources/10_license.rst.txt
@@ -2,6 +2,32 @@ License
=======
-This project is licensed under the terms of the MIT license.
+RareLink is licensed under open-source the BSD 3-Clause License:
-You can read the License here '../GIT/RareLink/LICENSE'.
\ No newline at end of file
+Copyright (c) 2024 - 2025, Berlin Institute of Health, Charité Universitätsmedizin Berlin
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+* Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+* Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
diff --git a/docs/_build/html/_sources/11_download_manifest.rst.txt b/docs/_build/html/_sources/11_download_manifest.rst.txt
new file mode 100644
index 00000000..29e19742
--- /dev/null
+++ b/docs/_build/html/_sources/11_download_manifest.rst.txt
@@ -0,0 +1,18 @@
+.. _11:
+
+Downloads Manifest
+====================
+
+
+The downloads manifest contains links to all downloadable files in the RareLink
+framework. Use this as the central source of truth for file downloads. Each file
+entry includes the version, file name, and URL.
+
+- **Manifest File**: The manifest is hosted at `_static/downloads_manifest.json`:
+ :download:`View Downloads Manifest <_static/downloads_manifest.json>`
+
+
+
+.. note::
+ The manifest is dynamically fetched by the RareLink CLI, allowing automated
+ versioning and URL updates. To learn more, visit the :ref:`2_3`.
\ No newline at end of file
diff --git a/docs/_build/html/_sources/12_contact.rst.txt b/docs/_build/html/_sources/12_contact.rst.txt
new file mode 100644
index 00000000..7825b90d
--- /dev/null
+++ b/docs/_build/html/_sources/12_contact.rst.txt
@@ -0,0 +1,13 @@
+.. _12:
+
+Contact
+=======
+
+Please check out our github Repository for more information:
+`RareLink GitHub Repository `_.
+
+You can also reach us directly at:
+- Email:
+ - `adam.graefe@charite.de`
+
+
diff --git a/docs/_build/html/_sources/1_background/1_0_background_file.rst.txt b/docs/_build/html/_sources/1_background/1_0_background_file.rst.txt
index 67b5ff1e..ba5a3d5f 100755
--- a/docs/_build/html/_sources/1_background/1_0_background_file.rst.txt
+++ b/docs/_build/html/_sources/1_background/1_0_background_file.rst.txt
@@ -1,7 +1,7 @@
.. _1_0:
Background
-==========
+=============
RareLink was developed as a response to the widespread challenges in rare
disease (RD) data management, specifically the lack of interoperability and
diff --git a/docs/_build/html/_sources/1_background/1_0_introduction_file.rst.txt b/docs/_build/html/_sources/1_background/1_0_introduction_file.rst.txt
new file mode 100644
index 00000000..ba5a3d5f
--- /dev/null
+++ b/docs/_build/html/_sources/1_background/1_0_introduction_file.rst.txt
@@ -0,0 +1,39 @@
+.. _1_0:
+
+Background
+=============
+
+RareLink was developed as a response to the widespread challenges in rare
+disease (RD) data management, specifically the lack of interoperability and
+standardization in healthcare information systems. As REDCap is widely used
+in clinical studies and registries for data collection, RareLink was designed
+to leverage REDCap's capabilities to facilitate the collection, processing,
+and sharing of RD data. The framework ensures that RD data is
+captured, processed, and exported following a predefined common data model
+that facilitates downstream analysis using international standards. Furthermore,
+RareLink provides a rule-based approach for the design of REDCap instruments
+to extend the RD common data model with additional data elements.
+
+The integration of ontology codes and the connection to the BioPortal Ontology
+Server enables researchers and clinicians to use standardized terminologies,
+ensuring that data can be easily shared and reused across different platforms
+and research networks. By leveraging HL7 FHIR and the GA4GH Phenopacket Schema,
+RareLink supports the creation of interoperable and reusable RD datasets.
+
+In the following we provide an overview of the different components of the
+RareLink framework, including the interoperability features, the supported
+ontologies, the GA4GH Phenopacket Schema, the HL7 FHIR standard, the RD CDM,
+and the REDCap data collection platform.
+
+.. toctree::
+ :maxdepth: 4
+ :caption: Contents
+
+ 1_1_rd_interoperability
+ 1_2_ontologies
+ 1_3_ga4gh_phenopacket_schema
+ 1_4_hl7_fhir
+ 1_5_rd_cdm
+ 1_6_redcap
+
+
diff --git a/docs/_build/html/_sources/1_background/1_2_ontologies.rst.txt b/docs/_build/html/_sources/1_background/1_2_ontologies.rst.txt
index e06842ec..e234930e 100755
--- a/docs/_build/html/_sources/1_background/1_2_ontologies.rst.txt
+++ b/docs/_build/html/_sources/1_background/1_2_ontologies.rst.txt
@@ -34,6 +34,7 @@ Ontologies used in RareLink
The following codesystems are used in the RareLink Core Framework:
.. fields: Ontologies Used in RareLink
+
:`ICD-10 & ICD-11 `_:
The **International Statistical Classification of Diseases** is used for
documenting morbidity in healthcare systems, encoding mortality statistics,
@@ -92,9 +93,8 @@ The following codesystems are used in the RareLink Core Framework:
The **Sequence Ontology** provides standardized vocabulary for genomic
annotation components, enhancing sharing and analysis of genomic information.
-
.. note:: The versions used by the RareLink Core Framework can be found here:
- `RareLink Ontologies <
+ `RareLink Ontologies `_.
Further Reading
---------------
diff --git a/docs/_build/html/_sources/1_background/1_3_ga4gh_phenopacket_schema.rst.txt b/docs/_build/html/_sources/1_background/1_3_ga4gh_phenopacket_schema.rst.txt
index 874e54a3..662254ec 100755
--- a/docs/_build/html/_sources/1_background/1_3_ga4gh_phenopacket_schema.rst.txt
+++ b/docs/_build/html/_sources/1_background/1_3_ga4gh_phenopacket_schema.rst.txt
@@ -69,11 +69,6 @@ data accuracy, accessibility, and reusability across multiple platforms and
projects.
-
-
-
-
-
Further Reading
---------------
- `The GA4GH Phenopacket schema defines a computable representation of clinical data `_
diff --git a/docs/_build/html/_sources/2_rarelink_framework/2_0_rarelink_file.rst.txt b/docs/_build/html/_sources/2_rarelink_framework/2_0_rarelink_file.rst.txt
index a3dd5c97..ba3ea932 100755
--- a/docs/_build/html/_sources/2_rarelink_framework/2_0_rarelink_file.rst.txt
+++ b/docs/_build/html/_sources/2_rarelink_framework/2_0_rarelink_file.rst.txt
@@ -3,11 +3,6 @@
RareLink Framework
==================
-.. attention::
- To use your local REDCap project, you will need to set up a local REDCap
- instance. For this please contact your local REDCap administratior. A project
- name could for example be "RareLink - Your local REDCap location".
-
In this section we elaborate on the development of the RareLink framework, how
it is designed to facilitate the management of rare disease data, and how it
supports the creation of interoperable and reusable datasets. We provide an
@@ -20,9 +15,8 @@ GA4GH Phenopacket Schema and the HL7 FHIR standard.
:caption: Contents
2_1_rarelink_overview
- 2_2_rarelink_cdm_instruments
- 2_3_rarelink_core_redcap_project
- 2_4_rarelink_cli
+ 2_2_rarelink_cdm
+ 2_3_rarelink_cli
diff --git a/docs/_build/html/_sources/2_rarelink_framework/2_1_rarelink_overview.rst.txt b/docs/_build/html/_sources/2_rarelink_framework/2_1_rarelink_overview.rst.txt
index 9168d021..3e59305d 100755
--- a/docs/_build/html/_sources/2_rarelink_framework/2_1_rarelink_overview.rst.txt
+++ b/docs/_build/html/_sources/2_rarelink_framework/2_1_rarelink_overview.rst.txt
@@ -4,13 +4,8 @@ RareLink Overview
=================
.. warning::
- RareLink v2.0.0.dev0 is currently under development, and many things are
- subject to change. Please reach out before implementing or using the
- software to ensure you have the latest updates and guidance.
-
-.. attention::
- You will need your own REDCap instance to deploy the RareLink framework.
- See the :ref:`3_2` for more information.
+ RareLink v2.0.0.dev0 is under development. Please :ref:`12` us before using
+ it to ensure you have the latest updates and guidance.
RareLink aims to maximise the utility of REDCap by providing a comprehensive
framework designed specifically for rare disease (RD) research and care.
@@ -26,6 +21,10 @@ rare disease data seamlessly within the REDCap environment.
:alt: RareLink Overview
:align: center
+
+.. note::
+ You will need your own REDCap instance to deploy the RareLink framework.
+ See the :ref:`3_2` for more information.
_____________________________________________________________________________________
RareLink Framework components
@@ -110,3 +109,17 @@ _______________________
- Guide to :ref:`4_3`
- Phenopacket Mapper Repository: https://github.com/BIH-CEI/phenopacket_mapper
- Documentation: https://bih-cei.github.io/phenopacket_mapper/latest/
+
+
+.. admonition:: Continue here...
+ - How to set up the :ref:`3_1`
+ - How to set up the :ref:`3_2`
+ - How to set up the :ref:`3_3`
+ - How to set up the :ref:`3_4`
+ - User guide for :ref:`4_1`
+ - User guide for :ref:`4_2`
+ - User guide for :ref:`4_3`
+ - User guide for :ref:`4_4`
+ - User guide for :ref:`4_5`
+ - User guide for :ref:`4_6`
+
diff --git a/docs/_build/html/_sources/2_rarelink_framework/2_2_rarelink_cdm.rst.txt b/docs/_build/html/_sources/2_rarelink_framework/2_2_rarelink_cdm.rst.txt
new file mode 100644
index 00000000..a4e680b1
--- /dev/null
+++ b/docs/_build/html/_sources/2_rarelink_framework/2_2_rarelink_cdm.rst.txt
@@ -0,0 +1,427 @@
+.. _2_2:
+
+RareLink-CDM
+=============
+
+.. attention::
+ RareLink v2.0.0.dev0 is under development (the REDCap sheets may be subject
+ to change). Please :ref:`12` us before using it to ensure you have the latest
+ updates and guidance.
+
+
+In this section, we provide an overview of the instruments that are part of the
+RareLink Common Data Model (CDM), which is based on the :ref:`1_5`.
+We have implemented the :ref:`1_5`'s definitions, codes, and mappins
+into the REDCap instruments by encoding the variables and value sets in the
+REDCap data dictionary. Each section of the model corresponds to a distinct
+instrument, ensuring consistency and comprehensive data capture.
+
+.. hint::
+ - Read the :ref:`1_6` page to understand how REDCap instruments data dictionaries work.
+ - Read the :ref:`1_5` page for more information on the Rare Disease Common Data Model.
+
+
+Contents
+----------
+
+- :ref:`rarelink_cdm_datadictionary`
+- :ref:`rarelink_cdm_linkml`
+- :ref:`rule-set`
+- :ref:`field-anotations`
+- :ref:`cdm_overview`
+
+
+_____________________________________________________________________________________
+
+.. _rarelink_cdm_datadictionary:
+
+REDCap Data Dictionary
+-----------------------
+
+The RareLink CDM Data Dictionary is available for download as a CSV file:
+
+:download:`Download: RareLink-CDM Data Dictionary (v2.0.0.dev0) <../../res/rarelink_cdm_datadictionary - v2_0_0_dev0.csv>`
+
+... Next steps
+________________
+
+- ... read :ref:`3_1` for more information on how to manually import and set up
+ the RareLink-CDM Data Dictionary into your local REDCap project.
+- ... or run the following commands to directly import the data dictionary into
+ your REDCap project using the :ref:`2_3`:
+
+.. code-block:: bash
+
+ rarelink setup keys
+ rarelink setup data-dictionary
+
+Return to `Top <#top>`_.
+
+_____________________________________________________________________________________
+
+.. _rarelink_cdm_linkml:
+
+LinkML Schema
+---------------
+
+The RareLink-CDM has been encoded in the LinkML schema format to allow for
+interoperability with other data models and standards. The LinkML schema
+is an open-data modeling language and provides a machine-readable representation
+of the RareLink-CDM, including the data elements, codes, and mappings to other
+standards. In other words, the RareLink REDCap instruments are displayed in a
+structured format that so that LinkML modules and functionalities can be used.
+
+
+- Here you can view the `LinkML schema of the RareLink-CDM v2.0.0.dev0 `_.
+
+Usage
+_______
+
+We use RareLink-CDM-LinkML schema and functionalities in various RareLink
+modules, for example:
+
+- When running ``rarelink redcap export-records`` you will see, that the data
+ from the REDCap project is automatically processed to the LinkML presentation
+ of the RareLink-CDM and validated against it. This ensures the data is ready
+ to :ref:`4_3`.
+- Within the data model itself, we use its `python classes and properties `_
+ automatically generated by LinkML schema to ensure consistent use of code
+ systems, versions and codes within one RareLink-CDM version and its mappings.
+- Since our RareLink-CDM is modeled and defined with LinkML, we can make use
+ of the `LinkML Schema Automator `_
+ for :ref:`4_2` from existing (tabular) databases. This allows import it into
+ a REDCap project and allow you to :ref:`4_3` or :ref:`4_4`.
+
+LinkML - furhther links
+________________________
+
+To know more about LinkML, check out:
+
+- The `LinkML GitHub repository `_ or
+- the `LinkML Schema Documentation `_.
+
+Feel free to :ref:`12` us in case you would like to be connected to the LinkML
+community or our colleagues from the `Monarch Initiative `_.
+
+
+
+Return to `top <#top>`_.
+
+
+_____________________________________________________________________________________
+
+.. _rule-set:
+
+Rules for REDCap codes and codesystems
+---------------------------------------
+
+REDCap variables and choice codes have specific limitations and requirements:
+
+- REDCap recommends a maximum of 26 characters for variable names. We have
+ shortened the variable names to adhere to this limitation.
+- REDCap variables must be unique and must not contain spaces or special
+ characters, i.e. only alphanumeric characters and underscores.
+- REDCap choice codes must be unique and must not contain spaces or special
+ characters, i.e. only alphanumeric characters and underscores.
+
+To address these, we have defined a set of rules for the REDCap variables and
+choice codes in the RareLink CDM Data Dictionary. The rules are as follows:
+
+1) The REDCap variable names are based on the :ref:`1_5` codes and display names.
+2) The REDCap choices are based on the :ref:`1_5` codes and display names.
+3) The REDCap variable names are shortened to adhere to the 26-character limit.
+4) The REDCap variable names are unique and do not contain spaces or special characters.
+5) The REDCap choice codes are unique and do not contain spaces or special characters.
+6) All codes begin with the official codesystem prefix (e.g. HP, SNOMED, etc.) as a lower case string followed by an underscore and the code.
+7) All codes are defined in the Field Annotations of each data element.
+
+Return to `top <#top>`_.
+
+_____________________________________________________________________________________
+
+.. _field-anotations:
+
+REDCap Field Annotations
+-------------------------
+
+Witin the Field Annotation field of each REDCap element, we have defined each
+element's metadata according to the :ref:`1_5` standard, including the following:
+
+- **Variable**: Corresponding to the data element code, codesystem, and display name.
+- **Choices**: If applicable, the corresponding choices codesystem, and display name.
+- **Version(s)**: If applicable, the corresponding codesystem versions used in the REDCap data element
+- **Mapping**: If applicable, the corresponding mapping to the :ref:`1_4` or :ref:`1_3` standard.
+
+Example Field Annotation of 6.2.6 Temporal Pattern:
+
+.. code-block:: bash
+
+ Variable:
+ HP:0012824 | Severity
+ Choices:
+ - HP:0012827 | Borderline
+ - HP:0012825 | Mild
+ - HP:0012826 | Moderate
+ - HP:0012829 | Profound
+ - HP:0012828 | Severe
+ Version(s):
+ - HPO Version 2024-08-13
+ Mapping:
+ - HL7 FHIR Expression v4.0.1: Observation.interpretation
+ - GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.severity
+
+Return to `top <#top>`_.
+
+_____________________________________________________________________________________
+
+.. _cdm_overview:
+
+RareLink-CDM Instruments
+-------------------------
+
+The RareLink-CDM instruments translate the `ontology-based Rare Disease Common Data Model (RD-CDM) `_
+into REDCap instruments, ensuring usability for registry implementation while
+aligning with the `HL7 FHIR International Patient Summary (IPS) `_
+and the `GA4GH Phenopacket Schema `_.
+Each instrument corresponds to a specific section of the RD-CDM and has been
+adapted for REDCap's technical requirements.
+
+- :ref:`formal-criteria`
+- :ref:`personal-information`
+- :ref:`patient-status`
+- :ref:`care-pathway`
+- :ref:`disease`
+- :ref:`genetic-findings`
+- :ref:`phenotypic-features`
+- :ref:`measurements`
+- :ref:`family-history`
+- :ref:`consent`
+- :ref:`disability`
+
+Return to `Top <#top>`_.
+
+.. note::
+ to be implemented.
+
+.. _formal-criteria:
+
+(1) Formal Criteria
+_____________________
+
+**Purpose**: Captures eligibility and registration information for individuals.
+
+**Core Variables**:
+- [Insert Core Variables Here]
+
+**Adjustments for REDCap**:
+- [Insert Adjustments for REDCap Here]
+
+**Adjustments from the RD-CDM**:
+- [Insert Adjustments from the RD-CDM Here]
+
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
+
+.. _personal-information:
+
+(2) Personal Information
+__________________________
+
+**Purpose**: Records demographic and personal data.
+
+**Core Variables**:
+- [Insert Core Variables Here]
+
+**Adjustments for REDCap**:
+- [Insert Adjustments for REDCap Here]
+
+**Adjustments from the RD-CDM**:
+- [Insert Adjustments from the RD-CDM Here]
+
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
+
+.. _patient-status:
+
+(3) Patient Status
+____________________
+
+**Purpose**: Tracks changes in patient conditions over time.
+
+**Core Variables**:
+- [Insert Core Variables Here]
+
+**Adjustments for REDCap**:
+- [Insert Adjustments for REDCap Here]
+
+**Adjustments from the RD-CDM**:
+- [Insert Adjustments from the RD-CDM Here]
+
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
+
+.. _care-pathway:
+
+(4) Care Pathway
+__________________
+
+**Purpose**: Logs encounter-specific data.
+
+**Core Variables**:
+- [Insert Core Variables Here]
+
+**Adjustments for REDCap**:
+- [Insert Adjustments for REDCap Here]
+
+**Adjustments from the RD-CDM**:
+- [Insert Adjustments from the RD-CDM Here]
+
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
+
+.. _disease:
+
+(5) Disease
+____________
+
+**Purpose**: Details disease history and ontology mappings.
+
+**Core Variables**:
+- [Insert Core Variables Here]
+
+**Adjustments for REDCap**:
+- [Insert Adjustments for REDCap Here]
+
+**Adjustments from the RD-CDM**:
+- [Insert Adjustments from the RD-CDM Here]
+
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
+
+.. _genetic-findings:
+
+(6.1) Genetic Findings
+_________________________
+
+**Purpose**: Captures genetic variant information.
+
+**Core Variables**:
+- [Insert Core Variables Here]
+
+**Adjustments for REDCap**:
+- [Insert Adjustments for REDCap Here]
+
+**Adjustments from the RD-CDM**:
+- [Insert Adjustments from the RD-CDM Here]
+
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
+
+.. _phenotypic-features:
+
+(6.2) Phenotypic Features
+__________________________
+
+**Purpose**: Encodes phenotypes and their modifiers.
+
+**Core Variables**:
+- [Insert Core Variables Here]
+
+**Adjustments for REDCap**:
+
+- **Simplified Field Names**: Shortened and formatted for REDCap constraints:
+
+ - `snomed_439272007_704321009_363778006` -> `snomed_8116006_date`
+ - `ga4gh_phenotypicfeature_excluded` -> `ga4gh_pheno_excluded`
+
+- **Modifiers Grouping**: Introduced consistent naming for modifiers:
+
+ - HPO Modifiers:
+
+ - `ga4gh_phenotypicfeature_modifier_hp_1` -> `ga4gh_pheno_mod_hp1`
+ - `ga4gh_phenotypicfeature_modifier_hp_2` -> `ga4gh_pheno_mod_hp2`
+ - `ga4gh_phenotypicfeature_modifier_hp_3` -> `ga4gh_pheno_mod_hp3`
+
+ - NCBITaxon Modifiers:
+
+ - `ga4gh_phenotypicfeature_modifier_ncbitaxon_1` -> `ga4gh_pheno_mod_ncbitax1`
+ - `ga4gh_phenotypicfeature_modifier_ncbitaxon_2` -> `ga4gh_pheno_mod_ncbitax2`
+ - `ga4gh_phenotypicfeature_modifier_ncbitaxon_3` -> `ga4gh_pheno_mod_ncbitax3`
+
+ - SNOMED Modifiers:
+
+ - `ga4gh_phenotypicfeature_modifier_snomed_1` -> `ga4gh_pheno_mod_snomed1`
+ - `ga4gh_phenotypicfeature_modifier_snomed_2` -> `ga4gh_pheno_mod_snomed2`
+ - `ga4gh_phenotypicfeature_modifier_snomed_3` -> `ga4gh_pheno_mod_snomed3`
+
+**Adjustments from the RD-CDM**:
+
+- [Insert Adjustments from the RD-CDM Here]
+
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
+
+.. _measurements:
+
+(6.3) Measurements
+____________________
+
+**Purpose**: Records clinical and laboratory data.
+
+**Core Variables**:
+- [Insert Core Variables Here]
+
+**Adjustments for REDCap**:
+- [Insert Adjustments for REDCap Here]
+
+**Adjustments from the RD-CDM**:
+- [Insert Adjustments from the RD-CDM Here]
+
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
+
+.. _family-history:
+
+(6.4) Family History
+______________________
+
+**Purpose**: Details familial relationships and genetic predispositions.
+
+**Core Variables**:
+- [Insert Core Variables Here]
+
+**Adjustments for REDCap**:
+- [Insert Adjustments for REDCap Here]
+
+**Adjustments from the RD-CDM**:
+- [Insert Adjustments from the RD-CDM Here]
+
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
+
+.. _consent:
+
+(7) Consent
+_____________
+
+**Purpose**: Documents patient consent details.
+
+**Core Variables**:
+- [Insert Core Variables Here]
+
+**Adjustments for REDCap**:
+- [Insert Adjustments for REDCap Here]
+
+**Adjustments from the RD-CDM**:
+- [Insert Adjustments from the RD-CDM Here]
+
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
+
+.. _disability:
+
+(8) Disability
+_______________
+
+**Purpose**: Captures ICF-encoded functional and disability data.
+
+**Core Variables**:
+- [Insert Core Variables Here]
+
+**Adjustments for REDCap**:
+- [Insert Adjustments for REDCap Here]
+
+**Adjustments from the RD-CDM**:
+- [Insert Adjustments from the RD-CDM Here]
+
+Return to `Instruments Overview <#cdm-instruments-overview>`_.
\ No newline at end of file
diff --git a/docs/_build/html/_sources/2_rarelink_framework/2_3_rarelink_cli.rst.txt b/docs/_build/html/_sources/2_rarelink_framework/2_3_rarelink_cli.rst.txt
new file mode 100644
index 00000000..498ee87b
--- /dev/null
+++ b/docs/_build/html/_sources/2_rarelink_framework/2_3_rarelink_cli.rst.txt
@@ -0,0 +1,230 @@
+.. _2_3:
+
+RareLink CLI
+=============
+
+.. warning::
+ RareLink v2.0.0.dev0 is under development. Please :ref:`12` us before using
+ it to ensure you have the latest updates and guidance.
+
+
+The RareLink Command Line Interface (CLI) is a tool that allows you to interact
+with the RareLink framework. The CLI provides a set of commands that allow you
+to set up and manage the RareLink framework, as well as to interact with the
+data stored in the framework. The CLI is designed to be user-friendly and
+intuitive, and it provides a simple and efficient way to work with the RareLink
+framework.
+
+
+1. Framework Setup (``framework``)
+_________________________________
+
+Commands related to setting up and managing the overall RareLink framework:
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink framework reset
+
+This command clears all framework configurations and reverts it to its initial
+setup state.
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink framework status
+
+This command provides a summary of the framework's current status and
+version installed.
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink framework update
+
+This command updates the framework, submodules and other components
+to the latest version.
+
+_____________________________________________________________________________________
+
+
+2. REDCap Setup (``setup``)
+________________________________
+
+Commands focused on configuring REDCap, setting up projects, and initializing
+API access:
+
+_____________________________________________________________________________________
+
+
+.. code-block:: console
+
+ rarelink redcap-setup --help
+
+- guided project setup, documentation links, admin instructions
+
+_____________________________________________________________________________________
+
+
+.. code-block:: console
+
+ rarelink setup redcap-project
+
+- Start here if you want to set up your local REDCap Project for RareLink!
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink setup keys
+
+- Configure the RareLink framework by setting up API keys and variables. This
+ process ensures the .env file contains necessary configurations - see :ref:`3_4`
+ for more details, functionalities, and instructions.
+
+_____________________________________________________________________________________
+
+
+.. code-block:: console
+
+ rarelink setup dictionary
+
+- Upload the most current RareLink-CDM Data Dictionary to an existing
+REDCap project.
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink setup view
+
+- View the current RareLink API configuration and its location.
+
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink setup reset
+
+- Reset all RareLink configuration by wiping the .env and JSON files.
+
+.. note::
+ The API Keys are sensitive information and should be stored securely.
+ Do not share them with anyone outside your organisation. Within this
+ repository the .env file and the JSON files are ignored by the .gitignore
+ file to prevent accidental sharing of sensitive information.
+
+
+3. REDCap Tools (``redcap``)
+___________________________________
+
+Commands for interacting with an already-configured REDCap instance, i.e. your
+local REDCap project.
+
+.. code-block:: console
+
+ rarelink redcap-tools --help
+
+The overview of all redcap-tools functionalities and commands.
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink redcap-tools download-records
+
+Download records from your REDCap project as JSON files and save them locally.
+
+.. attention::
+ If your project is in PRODUCTION mode, the downloaded data might be sensitive.
+ It must only be stored within your organisational site's approved storage.
+ Read here more about the REDCap project modes :ref:`1_6` and discuss this
+ with your REDCap administrator.
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink redcap-tools fetch-metadata
+
+- Fetch all metadata from your current REDCap project.
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink redcap-tools upload-records (to be implemented)
+
+- Upload records to your REDCap project from JSON files stored locally.
+
+_____________________________________________________________________________________
+
+
+4. FHIR configuration and pipelines (``fhir``)
+______________________________________________
+
+ Setup, manage, and execute the REDCap-FHIR module.
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink fhir --help
+
+The overview of all FHIR functionalities and commands.
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink fhir setup
+
+- Configure the toFHIR pipeline for the RareLink framework.
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink fhir hapi-server
+
+- Set up a local HAPI FHIR server with Docker, avoiding conflicts.
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink fhir restart-dockers
+
+- Stop, remove, and restart all relevant Docker containers.
+
+_____________________________________________________________________________________
+
+.. code-block:: console
+
+ rarelink fhir export
+
+- Export data to the configured FHIR server using the ToFHIR pipeline.
+
+
+.. note::
+ For this you need your REDCap project running and API access configured.
+ Run `rarelink redcap-setup redcap-project-setup` and `rarelink redcap-setup
+ redcap-api-setup start` to set up a REDCap project and API access.
+
+- `download-records` (fetch records as JSON files)
+
+
+5. Phenopacket Export (``phenopacket``)
+________________________________________
+
+Export data to Phenopackets using the ToPhenopacket pipeline.
+
+.. code-block:: console
+
+ rarelink phenopacket export
+
+- Exports REDCap from your configured project data to local Phenopackets.
\ No newline at end of file
diff --git a/docs/_build/html/_sources/3_installation/3_0_install_file.rst.txt b/docs/_build/html/_sources/3_installation/3_0_install_file.rst.txt
index 7a3ea74b..196692a4 100755
--- a/docs/_build/html/_sources/3_installation/3_0_install_file.rst.txt
+++ b/docs/_build/html/_sources/3_installation/3_0_install_file.rst.txt
@@ -1,18 +1,19 @@
.. _3_0:
-Installation Guide
+Installation
====================
+This section provides installation guides for all components of the RareLink
+framework.
.. toctree::
- :maxdepth: 4
- :caption: Contents:
-
+ :hidden:
+
3_1_setup_rarelink_framework
3_2_setup_redcap_project
- 3_3_setup_rarelink_instruments
+ 3_3_data_dictionary
3_4_redcap_api
-
+
\ No newline at end of file
diff --git a/docs/_build/html/_sources/3_installation/3_1_setup_rarelink_framework.rst.txt b/docs/_build/html/_sources/3_installation/3_1_setup_rarelink_framework.rst.txt
index 4694661b..7dbd0783 100755
--- a/docs/_build/html/_sources/3_installation/3_1_setup_rarelink_framework.rst.txt
+++ b/docs/_build/html/_sources/3_installation/3_1_setup_rarelink_framework.rst.txt
@@ -4,52 +4,75 @@ Set up the RareLink Framework
=============================
.. warning::
- RareLink v2.0.0.dev0 is currently under development, and many things are
- subject to change. Please reach out before implementing or using the
- software to ensure you have the latest updates and guidance.
+ RareLink v2.0.0.dev0 is under development. Please :ref:`12` us before using
+ it to ensure you have the latest updates and guidance.
-To set up the RareLink framework, follow these steps:
-**Install the RareLink framework dependencies.**
--------------------------------------------------
+Getting Started
+---------------
-Clone the repository and install the dependencies:
+Follow these steps to set up the project locally and run tests.
+
+1. Clone the repository:
.. code-block:: bash
- pip install .
+ git clone https://github.com/BIH-CEI/rarelink.git
+ cd rarelink
-Via the RareLink CLI, type:
+2. Create a virtual environment:
.. code-block:: bash
- pip install rarelink
+ python3 -m venv .venv
+ source .venv/bin/activate # On macOS/Linux
+ .venv\Scripts\activate # On Windows
+
+3. Install dependencies:
+
+.. code-block:: bash
-This command installs all necessary RareLink framework dependencies and functionalities.
+ pip install .
-To update the RareLink framework:
+4. Configure all api keys necessary to use rarelink by running the following
+command:
.. code-block:: bash
- rarelink framework update
+ rarelink setup keys
-This command updates the framework to the latest version.
+ This command will prompt you to enter the following keys:
+ - BioPortal API key
+ - REDCap API key
+ - REDCap URL
+ - REDCap project ID
-To check the current framework status:
+.. note::
+ You can create your free BioPortal account here: `BioPortal `_
+5. Run tests:
+ Use `pytest` to run the test suite.
+
.. code-block:: bash
- rarelink framework status
+ pytest
+
+_____________________________________________________________________________________
-This command provides a summary of the framework's current status.
+RareLink Framework CLI config
+------------------------------------
-To reset the framework to its initial state:
+Use the following commands to update the framework and its components, view
+its status or reset the framework. See :ref:`2_3` for more information.
.. code-block:: bash
+ rarelink framework --help
+ rarelink framework update
+ rarelink framework status
rarelink framework reset
-This command clears all framework configurations and reverts it to its initial setup state.
+_____________________________________________________________________________________
Import Mapper Configuration
@@ -67,6 +90,8 @@ You will be prompted to enter:
- Your REDCap project URL and API token.
- Your location where to store the Import Mapper configurations.
+_____________________________________________________________________________________
+
Phenopacket Pipeline Configuration
___________________________________
@@ -80,15 +105,22 @@ This command guides you through setting up the Phenopacket pipeline for RareLink
You will be prompted to enter:
- Your location where to store the Phenopackets.
+_____________________________________________________________________________________
+
FHIR Pipeline Configuration
___________________________
.. code-block:: bash
- to be implemented
+ rarelink fhir setup
This command guides you through setting up the FHIR pipeline for RareLink.
You will be prompted to enter:
+
- Your FHIR server URL.
- If required, your FHIR server username & password.
+.. note::
+ All sensitive information will also be stored in the
+ hidden configuration file.
+
diff --git a/docs/_build/html/_sources/3_installation/3_2_setup_redcap_project.rst.txt b/docs/_build/html/_sources/3_installation/3_2_setup_redcap_project.rst.txt
index ac783796..2ba0cea4 100755
--- a/docs/_build/html/_sources/3_installation/3_2_setup_redcap_project.rst.txt
+++ b/docs/_build/html/_sources/3_installation/3_2_setup_redcap_project.rst.txt
@@ -4,70 +4,64 @@ Set up a REDCap Project
========================
.. warning::
- RareLink v2.0.0.dev0 is currently under development, and many things are
- subject to change. Please reach out before implementing or using the
- software to ensure you have the latest updates and guidance.
+ RareLink v2.0.0.dev0 is under development. Please :ref:`12` us before using
+ it to ensure you have the latest updates and guidance.
-How to set up a REDCap project:
--------------------------------
+
+
+Steps
+------
To create a REDCap project, please follow these steps:
-0. Check if your instituion hase a REDCap instance - if not read above documentation.
+0. Check if your instituion hase a REDCap instance.
1. Contact your local REDCap administrator to create your REDCap project.
-2. Name your REDCap project, e.g.: 'RareLink - NameofyourInstitution'.
-3. Let your institutional account be added and provide you API access for the project.
-4. Follow the instructions given to you by your REDCap administator to further set up your project.
- 👉 Be aware of development and production mode. Read the docs and discuss this with your REDCap admin!
+2. Name your REDCap project, e.g.:
+ - ``RareLink - NameofyourInstitution`` or
+ - ``RareLink - NameofyourProject``.
+3. Let your institutional account be added and given API access for the project.
+4. Follow the instructions given to you by your **REDCap administator** to
+ further set up your project.
5. Copy the API token for the project and keep it secure.
-6. Run 'rarelink redcap-api-setup start' to set up the REDCap API access.
+6. Run ``rarelink setup keys``` to set up the REDCap API access locally.
-.. tip::
- Read the :ref:`1_6` section to learn more about the REDCap API access.
+.. note::
+ Be aware of the REDCap **development and production mode**.
+ Read the :ref:`1_6` section and discuss this with your REDCap administrator!
-.. tip::
- Read :ref:`2_4` to learn more about the RareLink Command Line Interface (CLI)
+_____________________________________________________________________________________
-RareLink CLI Command:
-_____________________
+Next Steps and further reading
+-------------------------------
-.. code-block:: bash
+- Read the :ref:`1_6` section to learn more about the REDCap API access.
+- Read :ref:`2_3` to learn more about the RareLink Command Line Interface (CLI)
+- Read :ref:`4_0` to learn more about the RareLink User Guide.
+_____________________________________________________________________________________
- rarelink redcap-setup template-project --help
-This command guides you through the same steps as above to set up your REDCap
-project, including contacting your local REDCap administrator and ensuring API
-access for your project.
+RareLink CLI Commands
+----------------------
-RareLink REDCap Project:
-________________________
+.. code-block:: bash
-The core RareLink project is an entire REDCap project that can be used to set up
-a new project in REDCap. The core REDCap project is a template project that
-contains all the necessary instruments and fields to collect the RareLink CDM
-data and preconfigurations for FHIR and Phenopckets export.
+ rarelink setup redcap-project
-You can download the REDCap project XML file here:
+- This command will guide you through the same steps above. If you have
+ questions, please reach out to us or your local REDCap administrator.
-- :download:`Download RareLink Core REDCap Project <../../res/rarelink_v2_0_0_dev0_redcap_project.xml>`
-.. attention::
- You can only import the template RareLink REDCap project if you are a REDCap administrator
- or in contact with your local REDCap administrator.
+- Make sure to run
-To install the core REDCap project, follow these steps:
+.. code-block:: bash
-1. Download the core REDCap project XML file.
-2. Contact your local REDCap administrator to import the core REDCap project XML file.
-3. Activate the API for the REDCap project to enable the FHIR and Phenopacket export.
-4. Generate the API token for the REDCap project.
-5. Verify that the core REDCap project has been imported correctly.
+ rarelink setup keys
-_____________________________________________________________________________________
+after you have set up the REDCap project to store the REDCap API token.
.. attention::
- The REDCap API token is a sensitive information. Keep it secure and do not share it with others.
-
-👉 For more information on REDCap, read :ref:`1_6`.
+ The REDCap API token is a sensitive information. Keep it secure and do
+ not share it with others.
+
_____________________________________________________________________________________
diff --git a/docs/_build/html/_sources/3_installation/3_3_data_dictionary.rst.txt b/docs/_build/html/_sources/3_installation/3_3_data_dictionary.rst.txt
new file mode 100644
index 00000000..237d7de1
--- /dev/null
+++ b/docs/_build/html/_sources/3_installation/3_3_data_dictionary.rst.txt
@@ -0,0 +1,141 @@
+.. _3_3:
+
+
+Set up the Data Dictionary
+==========================
+
+.. warning::
+ RareLink v2.0.0.dev0 is under development. Please :ref:`12` us before using
+ it to ensure you have the latest updates and guidance.
+
+To install the RareLink-CDM instruments, you will need to download the
+instruments from here and follow the steps below. Make sure your REDCap project
+is set up and running, otherwise follow the :ref:`3_2` section to set up a
+REDCap project. Read the :ref:`2_2` section to learn more about the RareLink CDM
+Instruments. In case you have any questions, please contact your local REDCap
+administrator, or :ref:`12` us.
+
+Installation
+-------------
+
+_____________________________________________________________________________________
+
+1. **Download the instruments from the RareLink REDCap project.**
+
+- :download:`Download RareLink CDM Data Dictionary v2.0.0.dev0 <../../res/rarelink_cdm_datadictionary - v2_0_0_dev0.csv>`
+
+2. **Upload the data dictionary to your REDCap project**
+
+To upload your data dictionary to your REDCap project automatically, type:
+
+.. code-block:: console
+
+ rarelink setup data-dictionary
+
+Otherwise you can also import the instruments manually:
+
+- Go to your REDCap project.
+- Click on the "Designer" tab on the left side of the screen.
+
+.. image:: ../_static/res/redcap_gui_screenshots/DesignerTab.jpg
+ :alt: Designer tab
+ :align: center
+ :width: 400px
+
+_____________________________________________________________________________________
+
+- Click on the "Data Dictionary" tab on the top of the screen.
+
+
+.. image:: ../_static/res/redcap_gui_screenshots/DataDictionary.jpg
+ :alt: Data Dictionary tab
+ :align: center
+ :width: 400px
+
+_____________________________________________________________________________________
+
+- Select the RareLink CDM Data Dictionary CSV file, or the separate instrument csv files.
+- Click on the "Import" button.
+
+_____________________________________________________________________________________
+
+3. **Verify that the instruments have been imported correctly.**
+
+- Go to the "Online Designer" tab and check the data elements in each instrument.
+- check with the :ref:`2_2` page to verify that
+ - the instruments have been imported correctly.
+ - the instruments are consistent with the RareLink CDM Data Dictionary.
+ - the fields with BioPortal are connected properly.
+
+
+_____________________________________________________________________________________
+
+4. **Activate the repeating instruments feature**
+
+- Go to the ``Project Setup`` tab.
+- Within the section Enable optional modules and customizations click
+ on the **`Enable` Repeating Instruments** checkbox.
+- Enable repeating instruments for the following instruments:
+
+.. image:: ../_static/res/rarelink-cdm-repeating-instruments.jpg
+ :alt: RareLink CDM Repeating Instruments
+ :align: center
+ :width: 400px
+
+_____________________________________________________________________________________
+
+5. **Start capturing data with the RareLink CDM instruments.**
+
+Check out the :ref:`4_1` or the :ref:`4_2` section to learn more about the
+semi-automatic import of data.
+
+_____________________________________________________________________________________
+
+.. admonition:: Continue here...
+
+ - :ref:`4_1` section to learn on how to use the RareLink CDM instruments.
+ - :ref:`4_2` section to learn on how to import data from tabular databases.
+ - :ref:`4_3` section to learn on how to export data to Phenopackets.
+ - :ref:`4_3` section to learn on how to export data to FHIR.
+
+.. admonition:: Further reading...
+
+ - Read pages 25 & 26 of the `Comprehensive Guide to REDCap `_ for more information.
+ - Read the :ref:`1_6` section to learn more about the general REDCap Setup,
+ among others how to connect BioPortal to REDCap.
+
+Separate RareLink-CDM Instruments
+----------------------------------
+
+The :ref:`2_2` section provides an overview of the RareLink-CDM which is
+based on the **ontology-based rare disease common data model** harmonising
+international registries, FHIR, and Phenopackets (:ref:`1_5`). However, for many
+use cases, it may be necessary to use only a subset of the instruments.
+
+For such cases, please note:
+
+1. If you use the RareLink-CDM instruments, you will **not need to enter data
+ for all instruments** - many of these instruments can be left empty or deleted.
+2. The RareLink-CDM instruments are designed to be used in a **modular way**,
+ so you can use only the instruments that are relevant to your study.
+3. However, if an instrument is used in your study, it is important to fill
+ in all ``mandatory`` the fields in that instrument to ensure correct FHIR
+ and Phenopacket export. Please read:
+
+ - Section :ref:`cdm-instruments-overview`
+ - & :ref:`4_1`
+4. The sheets ``(1) Formal Criteria`` and ``(2) Personal Information`` **must**
+ always be filled in to ensure correct FHIR and Phenopacket export!
+5. Feel free to :ref:`12` us in case you have any questions or need help.
+
+Extensional RareLink-CDM Instruments
+------------------------------------
+
+The :ref:`2_2` section provides an overview of the RareLink-CDM which is
+based on the **ontology-based rare disease common data model** (:ref:`1_5`).
+However, for many use cases, it is necessary to extend the data model with
+additional fields or instruments. This can be done by following the
+established RareLink guidelines given in the :ref:`4_5` section. Feel free to
+:ref:`12` us in case you have any questions or need help.
+
+
diff --git a/docs/_build/html/_sources/3_installation/3_4_redcap_api.rst.txt b/docs/_build/html/_sources/3_installation/3_4_redcap_api.rst.txt
index 49489035..571b127c 100755
--- a/docs/_build/html/_sources/3_installation/3_4_redcap_api.rst.txt
+++ b/docs/_build/html/_sources/3_installation/3_4_redcap_api.rst.txt
@@ -4,9 +4,9 @@ Set up the REDCap API
======================
.. warning::
- RareLink v2.0.0.dev0 is currently under development, and many things are
- subject to change. Please reach out before implementing or using the
- software to ensure you have the latest updates and guidance.
+ RareLink v2.0.0.dev0 is under development. Please :ref:`12` us before using it to ensure you have the latest
+ updates and guidance.
+
The REDCap API for RareLink is a RESTful web service that allows users to
interact with REDCap programmatically. The API is designed to provide a simple
@@ -26,9 +26,10 @@ In your terminal, write:
.. code-block:: bash
- rarelink redcap-setup api-config start
+ rarelink setup keys
-This command guides you through setting up the REDCap API for RareLink. You will be prompted to enter:
+This command guides you through setting up the REDCap API for RareLink.
+You will be prompted to enter:
- Your REDCap instance URL.
- Your REDCap API token.
@@ -36,13 +37,13 @@ To view your current configuration:
.. code-block:: bash
- rarelink redcap-setup api-config view
+ rarelink setup view
To reset your REDCap API configuration:
.. code-block:: bash
- rarelink redcap-setup api-config reset
+ rarelink setup reset
.. tip::
For help on any command, run:
diff --git a/docs/_build/html/_sources/4_user_guide/4_0_guide_file.rst.txt b/docs/_build/html/_sources/4_user_guide/4_0_guide_file.rst.txt
index 35fb20a2..4e72a9e1 100755
--- a/docs/_build/html/_sources/4_user_guide/4_0_guide_file.rst.txt
+++ b/docs/_build/html/_sources/4_user_guide/4_0_guide_file.rst.txt
@@ -3,16 +3,19 @@
RareLink User Guide
====================
+This section provides user guides for all components of the RareLink framework.
+
.. toctree::
:maxdepth: 4
:caption: Contents:
4_1_manual_data_capture
4_2_import_mapper
- 4_3_phenopacket_mapper
+ 4_3_phenopackets
4_4_tofhir_module
4_5_develop_redcap_instruments
- 4_6_redcap_project_interaction
+ 4_6_redcap_tools
+
diff --git a/docs/_build/html/_sources/4_user_guide/4_1_manual_data_capture.rst.txt b/docs/_build/html/_sources/4_user_guide/4_1_manual_data_capture.rst.txt
index 3b1e5abe..eb19d6aa 100755
--- a/docs/_build/html/_sources/4_user_guide/4_1_manual_data_capture.rst.txt
+++ b/docs/_build/html/_sources/4_user_guide/4_1_manual_data_capture.rst.txt
@@ -1,7 +1,7 @@
.. _4_1:
-Guide for Manual Data Capture
-===============================
+Manual Data Capture Guide
+==========================
.. hint::
This section offers detailed guidance for manually entering data into
@@ -245,6 +245,10 @@ This section provides details about genetic findings:
- **6.1.2 Progress Status of Interpretation**: recommended when creating GA4GH Phenopackets.
- **6.1.3 Interpretation Status**: recommended when creating GA4GH Phenopackets.
+- Phenopacket Value Sets:
+ - Progress Status: ga4gh_unknown_progress, No information is available about the diagnosis | ga4gh_in_progress, No diagnosis has been found to date but additional differential diagnostic work is in progress. | ga4gh_completed, The work on the interpretation is complete. | ga4gh_solved, The interpretation is complete and also considered to be a definitive diagnosis | ga4gh_unsolved, The interpretation is complete but no definitive diagnosis was found
+ - Interpretation Status: ga4gh_unknown_status, No information is available about the status | ga4gh_rejected, The variant or gene reported here is interpreted not to be related to the diagnosis | ga4gh_candidate, The variant or gene reported here is interpreted to possibly be related to the diagnosis | ga4gh_contributory, The variant or gene reported here is interpreted to be related to the diagnosis | ga4gh_causative, The variant or gene reported here is interpreted to be causative of the diagnosis
+ - Therapeutic Actionability: ga4gh_unknown_actionability, There is not enough information at this time to support any therapeutic actionability for this variant | ga4gh_not_actionable, This variant has no therapeutic actionability. | ga4gh_actionable, This variant is known to be therapeutically actionable.
.. attention::
The quality of the variant's validated HGVS expression is crucial for the
diff --git a/docs/_build/html/_sources/4_user_guide/4_2_import_mapper.rst.txt b/docs/_build/html/_sources/4_user_guide/4_2_import_mapper.rst.txt
index b155d8f0..5d927fb7 100755
--- a/docs/_build/html/_sources/4_user_guide/4_2_import_mapper.rst.txt
+++ b/docs/_build/html/_sources/4_user_guide/4_2_import_mapper.rst.txt
@@ -3,18 +3,50 @@
Semi-Automatic Data Capture
===========================
-While there are many existing data bases in rare disease centres and hospitals, the data is often not in a structured format.
-RareLink provides a semi-automatic data capture configuration using OntoBridge that allows users to capture data from existing
-databases and convert it into a structured format. The tool is designed to be user-friendly and can be used by non-technical users.
-The tool can be used to capture data from multiple sources and convert it into a structured format that can be used for analysis and research.
+.. warning::
+ RareLink v2.0.0.dev0 is under development. Please :ref:`12` us before using
+ it to ensure you have the latest updates and guidance.
-.. attention::
- This section is still to be implemented in the docuemntation and the RareLink
- command line interface.
+While there are many existing data bases in rare disease centres and hospitals,
+the data is often not in a structured format. As the RareLink-CDM is a modeled
+with LinkML, there are tools to convert existing data into a LinkML schema.
+While we currently have not implemented a full conversion tool, we are happy
+to assist you in converting your data into a LinkML schema.
-Via the RareLink CLI type:
+Although the semi-automation can speed up the process of capturing existing data
+bases, the semantic mapping will still have to be done by you.
+The semantic mapping and encoding of all data elements and value sets
+to :ref:`1_2` and validating genetic mutations with HGVS is a crucial step
+in the process of converting data into the RareLink-CDM format for
+Phenopackets of FHIR export.
+
+
+RareLink-CDM LinkML
+-------------------
+
+In this seciton :ref:`rarelink_cdm_linkml` we elaborate on the development of the
+RareLink-CDM LinkML schema, how it is designed and where it can be found.
+This schema is the basis for REDCap data to be converted to and validated
+against when running ``rarelink redcap export-records``. It was designed to be
+light-weight and as close as possible to the original REDCap data model so that
+other REDCap projects can also use the :ref:`rarelink-phenopacket-module`.
+
+
+LinkML schema-automator
+------------------------
+The LinkML schema-automator is a toolkit that assists with generating and
+enhancing schemas and data models from a variety of sources. The primary end
+target is a LinkML schema, but the framework can be used to generate
+JSON-Schema, SHACL, SQL DDL etc via the LinkML Generator framework. All
+functionality is available via a cli. The functionality is also available
+by using the relevant Python Packages.
+
+- `LinkML Schema-Automator documentation `_
+- `LinkML Schema-Automator GitHub repository `_
+
+.. note::
+ Feel free to :ref:`12` us in case you would like to be connected to the LinkML
+ community or our colleagues from the `Monarch Initiative `_.
-.. code-block:: bash
- rarelink import -file -map
diff --git a/docs/_build/html/_sources/4_user_guide/4_3_phenopacket_mapper.rst.txt b/docs/_build/html/_sources/4_user_guide/4_3_phenopacket_mapper.rst.txt
index be3f5dd5..36f2dcc0 100755
--- a/docs/_build/html/_sources/4_user_guide/4_3_phenopacket_mapper.rst.txt
+++ b/docs/_build/html/_sources/4_user_guide/4_3_phenopacket_mapper.rst.txt
@@ -1,7 +1,7 @@
.. _4_3:
-Generate GA4GH Phenopackets
-============================
+Generate Phenopackets
+======================
.. attention::
This section is still to be implemented in the docuemntation and the RareLink
@@ -17,15 +17,8 @@ Via the RareLink CLI type:
.. code-block:: bash
- rarelink setup -pipeline Phenopacket
- rarelink pipeline -run Phenopacket
-
-Further Links Phenopacket Mapper
----------------------------------
-
-- `Phenopacket Mapper Documentation `_
-- `Phenopacket Mapper GitHub `_
-
+ rarelink phenopackets setup
+ rarelink phenopackets export
RareLink Phenopacket Mapper Configuration
_________________________________________
diff --git a/docs/_build/html/_sources/4_user_guide/4_3_phenopackets.rst.txt b/docs/_build/html/_sources/4_user_guide/4_3_phenopackets.rst.txt
new file mode 100644
index 00000000..2fe78c4a
--- /dev/null
+++ b/docs/_build/html/_sources/4_user_guide/4_3_phenopackets.rst.txt
@@ -0,0 +1,296 @@
+.. _4_3:
+
+Generate Phenopackets
+======================
+
+The RareLink-Phenopacket module allows users to generate (validated) :ref:`1_3`
+from data stored in a local REDCap project. For the :ref:`2_2` all mappings and
+configurations except the :ref:`family-history` section are predefined so that
+Phenopackets can be instantly exported via the :ref:`2_3`.
+
+The RareLink-Phenopacket module is designed to be modular and flexible so that
+it can be adapted to other REDCap data structures. Please see the section below.
+
+_____________________________________________________________________________________
+
+**Overview**:
+
+- :ref:`get_started`
+- :ref:`rarelink-phenopacket-export`
+- :ref:`rarelink-phenopacket-module`
+
+ - :ref:`phenopackets-other-redcap-data-models`
+ - :ref:`phenopacket-mappings`
+ - :ref:`label-dicts`
+ - :ref:`mapping-dicts`
+
+
+.. _get_started:
+
+Get started
+-------------------
+
+To use the Phenopacket export, you need a running REDCap project with API access
+and the RareLink-CDM instruments set up. You also need the framework and all its
+components running. You can run the following commands to set everything up:
+
+- ``rarelink framework update`` to update the framework and all components.
+- ``rarelink setup redcap-project`` to set up a REDCap project with your REDCap
+ administrator.
+- ``rarelink setup keys`` to set up the REDCap API access locally.
+
+_____________________________________________________________________________________
+
+
+.. _rarelink-phenopacket-export:
+
+
+RareLink-CDM to Phenopackets
+-----------------------------
+
+Once you have data captured in you REDCap project using the :ref:`2_2` REDCap
+instruments, you can export the data to Phenopackets. The data is exported to
+one Phenopacket JSON file per individual and can be used for further analysis.
+
+- For this, simply run:
+
+.. code-block:: bash
+
+ rarelink phenopackets export
+
+
+And you will be guided through the exporting process. The Phenopackets will be
+exported to the configured output directory (default is your Downloads folder).
+
+.. note::
+ Make sure you comply with your local data protection regulations and ethical
+ agreements before exporting the data!
+
+_____________________________________________________________________________________
+
+
+.. _rarelink-phenopacket-module:
+
+
+RareLink-Phenopacket module
+---------------------------
+
+The RareLink-Phenopacket module is developed in a modular way to allow for easy
+adaptation to other REDCap data structures. All data model specific
+configurations and mappings of the :ref:`2_2` are within its `GitHub folder `_.
+Therefore, all functions and modules we developed can be used or adapted for
+other REDCap data models extending the :ref:`2_2` once the data model is
+converted to a similar :ref:`LinkML schema `.
+
+Overview
+_________
+
+To provide an overview, the RareLink-Phenopacket module consists of the following
+components:
+
+- ``mappings`` (`GitHub Folder `_):
+ Contains all the mappings from the REDCap data model to the
+ respective blocks in the Phenopacket schema without containing data-model
+ specific values or codes.
+- ``DataProcessor`` Class (`GitHub Folder `_):
+ Contains all functions to process any REDCap data to Phenopacket-compliant
+ data, including *field fetching*, *data drocessing*, *data validation*,
+ *Label & Mapping*, *repeated element*, and *generation* methods.
+- ``create`` (`GitHub Folder `_):
+ Contains the main function to generate Phenopackets from the processed data.
+- ``write`` (`GitHub Folder `_):
+ Contains the function to write the generated Phenopackets to a JSON file.
+- ``phenopacket pipeline`` (`GitHub Folder `_):
+ Contains the pipeline to generate Phenopackets from the processed data.
+
+
+_____________________________________________________________________________________
+
+.. _phenopackets-other-redcap-data-models:
+
+Usage for other REDCap data models
+____________________________________
+
+If you want to adapt the RareLink-Phenopacket module to another REDCap data model,
+you can follow these steps:
+
+1. Develop your REDCap sheets and instruments according to the :ref:`4_5`
+ section. Try to use the RareLink-CDM for as much as you can - this will
+ make the mapping and export process easier.
+
+
+
+2. (OPTIONAL): Convert your REDCap data model to a :ref:`LinkML schema `.
+ This can be done by following the instructions in the :ref:`2_2` section.
+
+3. Convert your REDCap data model using the ``redcap_to_linkml`` function you
+ in the RareLink Utils. This will convert your REDCap data to a
+ JSON schema that handles repeating elements more inherently. This allows
+ the ``mappings`` to handle repeating elements and Phenopacket Blocks.
+
+4. Write the specific mappings from your REDCap data model to the Phenopacket
+ schema, using the templates for the mappings below (:ref:`phenopacket-mappings`).
+
+5. Develop label dictionaries for all value sets of your data model,
+ mapping codes to human-readable labels (best to use the ontologie's
+ `preferred label`) . Use the templates for the label dictionaries below (
+ :ref:`label-dicts`). This will allow the ``DataProcessor`` class to fetch
+ the labels for the codes in your data model using the ``fetch_label`` method.
+
+ - For REDCap fields that are connected to BIOPORTAL directly, the label will
+ be automatically fetched via the BIOPORTAL API.
+
+6. Develop mapping dictionaries for your data model, mapping codes to
+ standardized terms or enums. Use the templates for the mapping dictionaries
+ below (:ref:`mapping-dicts`).
+
+7. Use the mappings in the ``mappings`` folder of the RareLink-Phenopacket
+ module as a template to adapt the mappings to other Phenopacket blocks or
+ extensions in your model.
+
+8. Adapt the ``create`` function to your needs, if necessary extending it with
+ the relevant Phenopacket blocks and elements and importing your additional
+ mapping dictionaries.
+
+9. Run the Phenopacket pipleine by running:
+
+.. code:: bash
+
+ rarelink phenopackets export
+
+_____________________________________________________________________________________
+
+.. _phenopacket-mappings:
+
+Mapping example to Phenopacket Blocks
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+This section provides general examples of how to structure repeating and
+non-repeating data blocks. Customize the right-hand side values to fit specific
+user fields. The left-hand values are derived from the respective Phenopacket
+blocks `Disease `_
+and `Individual `_.
+
+.. code-block:: bash
+
+ INDIVIDUAL_BLOCK = {
+ "id_field": "",
+ "date_of_birth_field": "",
+ "time_at_last_encounter_field": "",
+ "sex_field": "",
+ "karyotypic_sex_field": "",
+ "gender_field": "",
+ }
+
+ DISEASE_BLOCK = {
+ "redcap_repeat_instrument": "",
+ "term_field_1": "",
+ "term_field_2": "",
+ "term_field_3": "",
+ "term_field_4": "",
+ "term_field_5": "",
+ "excluded_field": "",
+ "onset_date_field": "",
+ "onset_category_field": "",
+ "primary_site_field": "",
+ }
+
+**Notes**:
+
+- Replace `` and other placeholders with the specific field
+ names or codes used in your REDCap project or dataset.
+- For repeating blocks, ensure the `redcap_repeat_instrument` value matches the
+ instrument name configured in REDCap.
+- Customize as needed for other field mappings.
+
+
+_____________________________________________________________________________________
+
+
+.. _label-dicts:
+
+Example for Label Dictionaries
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The label dictionaries map codes to human-readable labels defined in your
+value sets. Replace the placeholders with specific codes and labels relevant to
+your use case. Make sure to include the function below in your .py file
+``get_mapping_by_name`` so that the ``DataProcessor`` can access the mappings
+correctly. All codes that are not defined in here, will be fetched from
+the BIOPORTAL API by the ``DataProcessor``.
+
+.. code-block:: bash
+
+ label_dicts = {
+ "CategoryName1": {
+ "": "",
+ "": "",
+ "": "",
+ "": "",
+ "": "",
+ },
+ "CategoryName2": {
+ "": "",
+ "": "",
+ "": "",
+ "": "",
+ },
+ }
+
+ def get_mapping_by_name(name, to_boolean=False):
+ for mapping_dict in mapping_dicts:
+ if mapping_dict["name"] == name:
+ mapping = mapping_dict["mapping"]
+ if to_boolean:
+ return {key: value.lower() == "true" for key, value in mapping.items()}
+ return mapping
+ raise KeyError(f"No mapping found for name: {name}")
+
+
+_____________________________________________________________________________________
+
+.. _mapping-dicts:
+
+General Example for Mapping Dictionaries
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The mapping dictionaries map codes to standardized terms or enums defined, with
+mapped values corresponding to Phenopacket-specific elements. Replace the
+placeholders with relevant codes and Phenopacket terms.
+
+.. code-block:: bash
+
+ mapping_dicts = [
+ {
+ "name": "",
+ "mapping": {
+ "": "", # Example: "FEMALE"
+ "": "", # Example: "MALE"
+ "": "", # Example: "UNKNOWN_SEX"
+ "": "", # Example: "OTHER_SEX"
+ "": "", # Example: "NOT_RECORDED"
+ },
+ },
+ {
+ "name": "",
+ "mapping": {
+ "": "",
+ "": "",
+ "": "",
+ },
+ },
+ ]
+
+**Notes**:
+
+- **Mapping Name:** Replace `` with descriptive names for the
+ mapping (e.g., `"map_sex"`, `"map_disease"`).
+- **Codes:** Replace `` with actual codes (e.g., `snomed_248152002`).
+- **Phenopacket Terms:** Replace `` with specific
+ Phenopacket-standardized terms (e.g., `"FEMALE"`, `"UNKNOWN_SEX"`).
+- Add additional mappings as necessary to include all relevant
+ Phenopacket-specific elements.
+
+
+
+
diff --git a/docs/_build/html/_sources/4_user_guide/4_4_tofhir_module.rst.txt b/docs/_build/html/_sources/4_user_guide/4_4_tofhir_module.rst.txt
index c98f103b..9e29e29e 100755
--- a/docs/_build/html/_sources/4_user_guide/4_4_tofhir_module.rst.txt
+++ b/docs/_build/html/_sources/4_user_guide/4_4_tofhir_module.rst.txt
@@ -1,20 +1,247 @@
.. _4_4:
Generate FHIR Resources
-=======================
+========================
+The RareLink FHIR module implements the `open-source toFHIR engine `_
+which converts all data from the :ref:`2_2` into FHIR resources. This section details the commands available in the RareLink CLI to manage the
+FHIR module and associated pipelines.
-.. attention::
- This section is still to be implemented in the docuemntation and the RareLink
- command line interface.
+.. attention::
+ - Please ensure you are **authorized to export (real-world) data** to
+ the configured FHIR server. This includes verifying compliance with
+ the ethical agreement and data protection regulations of your study
+ or registry
+ - Be aware of your projects **development and production mode**. Read the
+ :ref:`1_6` section and discuss this with your FHIR server administrator!
-Via the RareLink CLI type:
+_____________________________________________________________________________________
+
+**Overview**
+
+- :ref:`get__started`
+- :ref:`fhir_profiles`
+- :ref:`setup_command`
+- :ref:`hapi_server_command`
+- :ref:`export_command`
+- :ref:`restart_docker_command`
+- :ref:`docker_commands`
+
+_____________________________________________________________________________________
+
+.. _get__started:
+
+How to get started
+-------------------
+
+To use these functionalities, you need a running REDCap project with API access
+and the RareLink-CDM instruments. You also need the framework and all its
+components running. You can run the following commands to set everything up:
+
+- ``rarelink framework update`` to update the framework and all components.
+- ``rarelink setup redcap-project`` to set up a REDCap project with your REDCap
+ administrator.
+- ``rarelink setup keys`` to set up the REDCap API access locally.
+
+_____________________________________________________________________________________
+
+.. _fhir_profiles:
+
+RareLink-CDM FHIR Profiles
+--------------------------
+
+These FHIR resources generated are based on the HL7 FHIR `International Patient Summary (IPS) `_
+and `Genomoics Reporting `_
+profiles. The :ref:`2_2` FHIR profiles include these dependencies to generate
+the FHIR resources that are compliant with the IPS and the GenomicsReporting
+profiles. For more information on FHIR, please read the background section
+:ref:`1_4`.
+
+.. hint::
+ You can check out the :ref:`2_2` FHIR Profiles in **draft** `here `_
+
+
+_____________________________________________________________________________________
+
+.. _setup_command:
+
+1. Setup Command
+----------------
+
+.. code-block:: bash
+
+ rarelink fhir setup
+
+**What it does**:
+
+- Configures the `toFHIR` pipeline for RareLink.
+- Validates required setup files (`.env`, `redcap-projects.json`).
+- Prompts for the FHIR server URL and saves it to `.env`.
+
+**Requirements**:
+
+- Docker and Docker Compose must be installed.
+- A FHIR server must be accessible or created locally using ``rarelink fhir hapi-server``.
+
+**Steps**:
+
+1. Ensure the `.env` file exists and contains:
+
+.. code:: bash
+
+ BIOPORTAL_API_TOKEN:
+ REDCAP_URL:
+ REDCAP_PROJECT_ID:
+ REDCAP_API_TOKEN:
+
+... otherwise run ``rarelink setup keys`` to set them up.
+
+2. Run the command and provide the FHIR server URL.
+3. Confirm Docker is installed, or follow prompts to install it.
+
+_____________________________________________________________________________________
+
+.. _hapi_server_command:
+
+2. HAPI Server Command
+----------------------
+
+.. code-block:: bash
+
+ rarelink fhir hapi-server
+
+**What it does**:
+
+- Sets up a local HAPI FHIR server using Docker.
+- Creates a Docker network (`shared-network`) if not present.
+- Runs the HAPI FHIR server container.
+
+**Requirements**:
+
+- Docker must be installed.
+
+**Steps**:
+
+1. Run the command.
+2. If the server container already exists, it restarts it.
+3. Access the server at `http://localhost:8080`.
+
+**Hints**:
+
+- Data is stored in the Docker container. Avoid removing it to preserve data.
+- Use this command if no external FHIR server is available.
+
+
+_____________________________________________________________________________________
+
+.. _export_command:
+
+3. Export Command
+-----------------
.. code-block:: bash
- rarelink setup -pipeline toFHIR
- rarelink pipeline -run toFHIR
+ rarelink fhir export
+
+**What it does**:
+
+- Exports data from REDCap to the configured FHIR server.
+- Validates `.env` and `redcap-projects.json` files.
+- Runs the ToFHIR pipeline using Docker Compose.
+
+**Requirements**:
+
+- `.env` and `redcap-projects.json` must be valid.
+- Docker and Docker Compose must be installed.
+
+**Steps**:
+
+1. Validate setup files using ``rarelink fhir setup``.
+2. Ensure the ethical agreement for exporting data is fulfilled.
+3. Run the command to start the ToFHIR pipeline.
+
+**Logs**:
+
+- Use ``docker logs -f tofhir`` to monitor the export process in real time.
+
+_____________________________________________________________________________________
+
+.. _restart_docker_command:
+
+4. Restart Docker Command
+-------------------------
+
+.. code-block:: bash
+
+ rarelink fhir restart-dockers
+
+**What it does**:
+
+- Stops all running Docker containers.
+- Removes stopped containers.
+- Restarts the necessary containers using `docker-compose`.
+
+**Steps**:
+
+1. Run the command.
+2. Monitor logs if needed (e.g., `docker logs -f `).
+
+_____________________________________________________________________________________
+
+.. _docker_commands:
+
+Docker Commands
+----------------
+
+These commands help manage Docker containers used in the RareLink framework.
+
+- **Stop All Containers**:
+
+ .. code-block:: bash
+
+ docker stop $(docker ps -q)
+
+- **Remove Stopped Containers**:
+
+ .. code-block:: bash
+
+ docker rm $(docker ps -aq)
+
+- **Restart Containers with Docker Compose**:
+
+ .. code-block:: bash
+
+ docker-compose down
+ docker-compose up -d
+
+- **Inspect a Running Container**:
+
+ .. code-block:: bash
+
+ docker exec -it /bin/bash
+
+- **View Logs**:
+
+ .. code-block:: bash
+
+ docker logs -f
+
+ For example:
+
+ .. code-block:: bash
+
+ docker logs -f tofhir
+
+ This shows real-time logs for the `tofhir` export process.
+
+- **Copy Files from a Container**:
+
+ .. code-block:: bash
+ docker cp :/path/to/file /local/destination
-// The FHIR module in RareLink allows users to generate FHIR resources from REDCap data.
+_____________________________________________________________________________________
+.. note::
+ For detailed troubleshooting, refer to the RareLink documentation or :ref:`12`
+ us.
diff --git a/docs/_build/html/_sources/4_user_guide/4_5_develop_redcap_instruments.rst.txt b/docs/_build/html/_sources/4_user_guide/4_5_develop_redcap_instruments.rst.txt
index de0b3f7a..e988a4c5 100755
--- a/docs/_build/html/_sources/4_user_guide/4_5_develop_redcap_instruments.rst.txt
+++ b/docs/_build/html/_sources/4_user_guide/4_5_develop_redcap_instruments.rst.txt
@@ -3,20 +3,132 @@
Develop REDCap Instruments
===========================
-.. attention::
- This section is still to be implemented in the docuemntation.
+This section provides a guide for developing REDCap instruments around the
+:ref:`2_2`: that can also be processed by the Phenopacket and FHIR pipeline.
+If the rules are followd upon development of the REDCap sheets,
+mapping and setup steps will be required to convert the data into the
+Phenopackets or FHIR format. For example, see the section :ref:`phenopackets-other-redcap-data-models`
+of the :ref:`rarelink-phenopacket-module`.
-.. attention::
- To use your local REDCap project, you will need to set up a local REDCap
- instance. For this please contact your local REDCap administratior. A project
- name could for example be "RareLink - Your local REDCap location".
+_____________________________________________________________________________________
-This section provides a guide for developing REDCap instruments around the
-RareLink CDM that can also be processed by the Phenopacket and FHIR pipeline.
-If the rules are followd upon development of the REDCap sheets, another
-subsequent mapping step will be required to convert the data into the
-Phenopackets or FHIR format. For this second step guides are given below, too.
+REDCap instrument structure
+---------------------------
+
+A REDCap instrument is a collection of fields that are grouped together to
+collect data for a specific purpose. The fields can be of different types,
+such as text fields, radio buttons, checkboxes, etc. The fields can be
+grouped into sections, and the sections can be repeated for a specific number
+of times. The fields can also be validated using REDCap's integrated
+validators.
+
+_____________________________________________________________________________________
+
+.. _rule-set:
+
+REDCap-inherent rules
+----------------------
+
+REDCap variables and choice codes have specific limitations and requirements
+you **should or must** comply with when creating your REDCap shets.
+
+- REDCap recommends a maximum of 26 characters for variable names. If possible,
+ you should shorten the variable names to adhere to this limit.
+- REDCap variables must be unique and must not contain spaces or special
+ characters, therefore only alphanumeric characters and underscores are allowed.
+
+_____________________________________________________________________________________
+
+RareLink obligatory Rules:
+---------------------------
+
+1) Data element output
+________________________
+
+The **output (i.e. the answer) to each question in your REDCap instrument MUST be encoded
+with** :ref:`1_2` codes or pass on a validated data field! This is crucial,
+so that the output of a data element is a code or a validated format that can
+be processed by the RareLink framework.
+
+ ... in regard to the different REDCap field types:
+
+ - ``Single Choice Dropdown & Radio-Button fields``: the choices (i.e. the
+ data elemen'ts value set) **must** be encoded with :ref:`1_2` codes,
+ their official prefixes and their respective *preferred labels*.
+
+ - e.g.: **snomed_32218000** or **hp_5200403**.
+
+ - ``Checkboxes (Multiple Answers)fields`` **CANNOT** be processed by the
+ RareLink framework and **should not be used**. Even if the choices are
+ encoded with ontology codes, the output are *`1`* or *`0`* for
+ each choice while altering the variable names.
+
+ - ``Text fields``: can be used for free text input, but the data **must**
+ either...
+
+ - use REDCap's integrated validators, for example for dates, numbers, etc.
+ A string or text should only be used when the target data element in
+ :ref:`1_4` or :ref:`1_3` is a string or text field.
+
+ - or use an integrated `BioPortal `_
+ **validation service** to validate the free text input. If you cannot
+ see this option in your REDCap setup, contact you REDCap administrator.
+ This can be set free of charge.
+
+
+2) REDCap expression repository
+________________________________
+
+**REDCap expression repository**: for exporting data to FHIR or Phenopackets,
+you will always need the versions of the :ref:`1_2` you are using. REDCap
+does not natively include an expression repository, however you can use the
+``Field Annotations`` field in each data element to store the version of the
+ontology or terminology you are using. You can also use an Excel or word sheet,
+but we recommend keeping these in there so that they are part your project's
+:ref:`1_6` data dictionary.
+
+- Like our :ref:`2_2`, you can also convert your model into a
+ :ref:`rarelink_cdm_linkml` which also provides the possibility to dedicating a
+ section to the codesystems used. (CAVE: this requires coding experince).
+
+- To give more context to the data element, you can also include the mapping to
+ the FHIR expression or the GA4GH Phenopacket Schema element,
+ like in the example below.
+
+.. code-block:: bash
+
+ Variable:
+ HP:0012824 | Severity
+ Choices:
+ - HP:0012827 | Borderline
+ - HP:0012825 | Mild
+ - HP:0012826 | Moderate
+ - HP:0012829 | Profound
+ - HP:0012828 | Severe
+ Version(s):
+ - HPO Version 2024-08-13
+ Mapping:
+ - HL7 FHIR Expression v4.0.1: Observation.interpretation
+ - GA4GH Phenopacket Schema v2.0 Element: PhenotypicFeature.severity
+
+
+RareLink optional rules:
+-----------------------------
+
+- The REDCap variable names should also be encoded with :ref:`1_2` codes and
+ their respective *preferred labels* and using their official prefix
+ (e.g. *hp_*, *snomed_*, etc.) so that the concept of an element itself is
+ clear. Also, sometimes FHIR requires a *CodeableConcept* for a specific
+ element.
+
+- If you include the codes in the variable names, you can use suffixes to
+ differentiate between the codes and the variable names. For example,
+ ``snomed_123456_onset``, or ``snomed_123456_age``.
+
+- For repeating sections, we recommend using the REDCap **Repeating Instruments**
+ feature for separate instruments, which allows you to repeat a section of
+ questions for a specific number of times. See :ref:`3_3` for more information
+ on how to activate this feature.
-Example CIEINR.
-Rule Sets.
+Return to `top <#top>`_.
\ No newline at end of file
diff --git a/docs/_build/html/_sources/4_user_guide/4_6_redcap_tools.rst.txt b/docs/_build/html/_sources/4_user_guide/4_6_redcap_tools.rst.txt
new file mode 100644
index 00000000..3715609e
--- /dev/null
+++ b/docs/_build/html/_sources/4_user_guide/4_6_redcap_tools.rst.txt
@@ -0,0 +1,44 @@
+.. _4_6:
+
+REDCap Tools
+==============
+
+Once you have your API access set up, you can interact with your REDCap project:
+
+.. attention::
+ This section is still to be implemented in the docuemntation.
+
+
+API Endpoints
+----------------
+
+**Export Records**
+
+The `export-records` command allows users to export records from REDCap.
+
+.. code-block:: bash
+
+ rarelink redcap export-records
+
+
+**Fetch Metadata**
+
+The `fetch-metadata` command allows users to fetch metadata from REDCap.
+
+.. code-block:: bash
+
+ rarelink redcap fetch-metadata
+
+
+**Import Records**
+
+The `import-records` command allows users to import records into REDCap.
+
+.. code-block:: bash
+
+ rarelink redcap import-records (to be implemented)
+
+
+
+
+
diff --git a/docs/_build/html/_sources/5_contributing.rst.txt b/docs/_build/html/_sources/5_contributing.rst.txt
new file mode 100644
index 00000000..8ed20fbd
--- /dev/null
+++ b/docs/_build/html/_sources/5_contributing.rst.txt
@@ -0,0 +1,22 @@
+.. _5_:
+
+
+Contributing
+==============
+
+.. warning::
+ RareLink v2.0.0.dev0 is under development. Please :ref:`12` us before using
+ it to ensure you have the latest updates and guidance.
+
+RareLink is a community-driven project. We welcome contributions from everyone.
+There are many ways to contribute to RareLink, including the following:
+
+- Reporting a bug
+- Discussing the current state of the code
+- Submitting a fix
+- Proposing new features
+
+Feel free to write an issue on our `RareLink GitHub Repository `_
+or reach out to us directly.
+
+If you are interested in contributing to RareLink, please :ref:`12` us.
\ No newline at end of file
diff --git a/docs/_build/html/_sources/6_changelog.rst.txt b/docs/_build/html/_sources/6_changelog.rst.txt
index ebe73be0..235877e9 100755
--- a/docs/_build/html/_sources/6_changelog.rst.txt
+++ b/docs/_build/html/_sources/6_changelog.rst.txt
@@ -1,11 +1,25 @@
.. _6:
-RareLink Changelog
-==================
+Changelog
+===========
-Change Log:
+v2.0.0 (soon)
+------------------
-v2.0.0:
+This version will be the version we publish RareLink as a stable release and
+in a scientific journal.
-Publishing Cewrsion.
\ No newline at end of file
+
+v2.0.0.dev0 (Under Development)
+--------------------------------
+
+The current version under development is v2.0.0.dev0.
+
+
+Previous versions (up to v2.0):
+--------------------------------
+
+- The ERKER project was the previous version of RareLink and can still be found
+ in the `ERKER GitHub repository <>`_. However, the ERKER project is no longer
+ maintained and has been replaced by RareLink.
\ No newline at end of file
diff --git a/docs/_build/html/_sources/7_faq.rst.txt b/docs/_build/html/_sources/7_faq.rst.txt
index 800789f9..dc8cad12 100755
--- a/docs/_build/html/_sources/7_faq.rst.txt
+++ b/docs/_build/html/_sources/7_faq.rst.txt
@@ -1,14 +1,14 @@
.. _7:
-FAQ & Contributing
+FAQ
====================
-FAQ:
-
- **Q**: How do I get started with the API?
- **A**: You can start by reading the `API documentation `_.
-
+ **A**: You can start by reading the :ref:`1_6` section to learn more about
+ the REDCap API access and the :ref:`3_4` section to learn more about the
+ RareLink API setup for your local REDCap project. However, you will need some
+ coding experience to interact with the API.
diff --git a/docs/_build/html/_sources/8_glossary.rst.txt b/docs/_build/html/_sources/8_glossary.rst.txt
index 53d0a022..4a23d9bd 100755
--- a/docs/_build/html/_sources/8_glossary.rst.txt
+++ b/docs/_build/html/_sources/8_glossary.rst.txt
@@ -1,10 +1,20 @@
Glossary
====================
-
-
.. glossary::
Interoperability: definitions
+ The ability of different information systems, devices, or applications to
+ connect, in a coordinated manner, within and across organizational
+ boundaries to access, exchange, and cooperatively use data amongst
+ stakeholders.
+
+.. note::
+ to be continued...
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/_build/html/_sources/9_acknowledgements.rst.txt b/docs/_build/html/_sources/9_acknowledgements.rst.txt
index bd8a2545..a16d314d 100755
--- a/docs/_build/html/_sources/9_acknowledgements.rst.txt
+++ b/docs/_build/html/_sources/9_acknowledgements.rst.txt
@@ -1,15 +1,16 @@
Acknowlegements
====================
-We thank ...
+We specifically thank all the contributors to the RareLink project. W
+e also acknowledge the following organizations for their support and collaboration:
-and ...
+- `Berlin Institute of Health (BIH) at Charité Universitätsmedizin Berlin `_:
+ - **Prof. Sylvia Thun** and colleagues from the `Core Unit Digital Health and Interoperability `_
+ - **Prof. Peter N. Robinson** and colleagues from the working group `Medical Computer Science and Artificial Intelligence `_
-
-- BIH CEI
-- UKK BIK
-- Monarch Initiative
+- **Prof. Oya Beyan** from the `University Hospital Cologne Institute of Biomedical Informatics `_
+- All participating colleagues from `The Monarch Initiative `_
diff --git a/docs/_build/html/_sources/index.rst.txt b/docs/_build/html/_sources/index.rst.txt
index 6dab0f10..e498e0d7 100755
--- a/docs/_build/html/_sources/index.rst.txt
+++ b/docs/_build/html/_sources/index.rst.txt
@@ -6,9 +6,8 @@ Welcome to the RareLink REDCap Documentation!
:alt: Documentation Status
.. warning::
- RareLink v2.0.0.dev0 is currently under development, and many things are
- subject to change. Please reach out before implementing or using the
- software to ensure you have the latest updates and guidance.
+ RareLink v2.0.0.dev0 is under development. Please :ref:`12` us before using
+ it to ensure you have the latest updates and guidance.
RareLink is a novel framework designed for managing and processing rare disease
(RD) data within the REDCap. Rare diseases affect over 260 million individuals
@@ -17,9 +16,9 @@ and clinical care. RareLink aims to standardize and streamline RD data managemen
around REDCap by providing a structured project setup that ensures consistency
across data collection instruments, variables, and data dictionaries. This setup
allows the linkage and export to data the standards HL7 FHIR and the
-GA4GH Phenopacket Schema. In the following you will find detailed information on the RareLink framework,
-including its background, components, installation instructions, user guide,
-and full examples.
+GA4GH Phenopacket Schema. In the following you will find detailed information on
+the RareLink framework, including its background, components, installation
+instructions, user guide, and full examples.
.. image:: _static/res/rarelink_overview.png
:alt: RareLink Overview
@@ -50,18 +49,18 @@ Sections
4) :doc:`4_user_guide/4_0_guide_file`
User guides for all components of the RareLink framework.
-5) :doc:`5_examples/5_0_examples_file`
- Full examples of how to use the RareLink framework in practice.
-
+5) :doc:`5_contributing`
6) :doc:`6_changelog`
7) :doc:`7_faq`
8) :doc:`8_glossary`
9) :doc:`9_acknowledgements`
10) :doc:`10_license`
+11) :doc:`11_download_manifest`
1) Background
---------------
+- :doc:`1_background/1_0_background_file`
- :doc:`1_background/1_1_rd_interoperability`
- :doc:`1_background/1_2_ontologies`
- :doc:`1_background/1_3_ga4gh_phenopacket_schema`
@@ -73,55 +72,44 @@ Sections
2) RareLink Framework
----------------------
-- :doc:`2_rarelink_framework/2_0_rarelink_file`
- :doc:`2_rarelink_framework/2_1_rarelink_overview`
-- :doc:`2_rarelink_framework/2_2_rarelink_cdm_instruments`
-- :doc:`2_rarelink_framework/2_3_rarelink_core_redcap_project`
-- :doc:`2_rarelink_framework/2_4_rarelink_cli`
+- :doc:`2_rarelink_framework/2_2_rarelink_cdm`
+- :doc:`2_rarelink_framework/2_3_rarelink_cli`
3) Installation
-----------------
-- :doc:`3_installation/3_0_install_file`
- :doc:`3_installation/3_1_setup_rarelink_framework`
- :doc:`3_installation/3_2_setup_redcap_project`
-- :doc:`3_installation/3_3_setup_rarelink_instruments`
+- :doc:`3_installation/3_3_data_dictionary`
- :doc:`3_installation/3_4_redcap_api`
4) User Guide
--------------
-- :doc:`4_user_guide/4_0_guide_file`
+
- :doc:`4_user_guide/4_1_manual_data_capture`
- :doc:`4_user_guide/4_2_import_mapper`
-- :doc:`4_user_guide/4_3_phenopacket_mapper`
+- :doc:`4_user_guide/4_3_phenopackets`
- :doc:`4_user_guide/4_4_tofhir_module`
- :doc:`4_user_guide/4_5_develop_redcap_instruments`
-- :doc:`4_user_guide/4_6_redcap_project_interaction`
-
-5) Full Examples
------------------
-- :doc:`5_examples/5_0_examples_file`
-- :doc:`5_examples/5_1_example_redcap_project`
-- :doc:`5_examples/5_2_example_redcap_instruments`
-- :doc:`5_examples/5_3_example_semiaut_import`
-- :doc:`5_examples/5_4_example_phenopacket_mapper`
-- :doc:`5_examples/5_5_example_tofhir_module`
+- :doc:`4_user_guide/4_6_redcap_tools`
Additional Information
-----------------------
+- :doc:`5_contributing`
- :doc:`6_changelog`
- :doc:`7_faq`
- :doc:`8_glossary`
- :doc:`9_acknowledgements`
- :doc:`10_license`
-
+- :doc:`11_download_manifest`
+- :doc:`12_contact`
.. toctree::
:caption: Background
- :maxdepth: 4
+ :maxdepth: 2
:hidden:
- 1_background/1_0_background_file
1_background/1_1_rd_interoperability
1_background/1_2_ontologies
1_background/1_3_ga4gh_phenopacket_schema
@@ -131,61 +119,48 @@ Additional Information
.. toctree::
:caption: RareLink Framework
- :maxdepth: 4
+ :maxdepth: 2
:hidden:
- 2_rarelink_framework/2_0_rarelink_file
2_rarelink_framework/2_1_rarelink_overview
- 2_rarelink_framework/2_2_rarelink_cdm_instruments
- 2_rarelink_framework/2_3_rarelink_core_redcap_project
- 2_rarelink_framework/2_4_rarelink_cli
+ 2_rarelink_framework/2_2_rarelink_cdm
+ 2_rarelink_framework/2_3_rarelink_cli
.. toctree::
- :caption: Installation & Development
- :maxdepth: 4
+ :caption: Installation
+ :maxdepth: 2
:hidden:
- 3_installation/3_0_install_file
3_installation/3_1_setup_rarelink_framework
3_installation/3_2_setup_redcap_project
- 3_installation/3_3_setup_rarelink_instruments
+ 3_installation/3_3_data_dictionary
3_installation/3_4_redcap_api
.. toctree::
:caption: User Guide
- :maxdepth: 4
+ :maxdepth: 2
:hidden:
- 4_user_guide/4_0_guide_file
4_user_guide/4_1_manual_data_capture
4_user_guide/4_2_import_mapper
- 4_user_guide/4_3_phenopacket_mapper
+ 4_user_guide/4_3_phenopackets
4_user_guide/4_4_tofhir_module
4_user_guide/4_5_develop_redcap_instruments
- 4_user_guide/4_6_redcap_project_interaction
-
-.. toctree::
- :caption: Full Examples
- :maxdepth: 4
- :hidden:
-
- 5_examples/5_0_examples_file
- 5_examples/5_1_example_redcap_project
- 5_examples/5_2_example_redcap_instruments
- 5_examples/5_3_example_semiaut_import
- 5_examples/5_4_example_phenopacket_mapper
- 5_examples/5_5_example_tofhir_module
+ 4_user_guide/4_6_redcap_tools
.. toctree::
:caption: Additional Information
- :maxdepth: 4
+ :maxdepth: 2
:hidden:
+ 5_contributing
6_changelog
7_faq
8_glossary
9_acknowledgements
10_license
+ 11_download_manifest
+ 12_contact
Indices and tables
diff --git a/docs/_build/html/_static/custom.css b/docs/_build/html/_static/custom.css
index ee55ebb4..12aa6e16 100755
--- a/docs/_build/html/_static/custom.css
+++ b/docs/_build/html/_static/custom.css
@@ -4,23 +4,28 @@
}
/* Adjust the logo size and alignment */
-.wy-side-nav-search {
+/* .wy-side-nav-search {
background-image: url("../res/RareLink SpinxDocs Logo.png");
background-repeat: no-repeat;
background-position: center top;
padding-top: 100px; /* Adjust as needed to ensure no overlap */
-}
+/* } */ */
.logo {
- max-width: auto; /* Set the maximum width (adjust as needed) */
- height: auto; /* Maintain the aspect ratio */
- margin: auto; /* Center the logo if necessary */
- display: block; /* Ensures proper centering and layout */
+ max-width: 50px; /* Set the maximum width (adjust as needed) */
+ height: 50px; /* Maintain the aspect ratio */
+ margin: 50px; /* Center the logo if necessary */
+ display: 50px; /* Ensures proper centering and layout */
+}
+
+.wy-menu a[href*="background.html"] {
+ display: none;
}
/* Prevent unnecessary scrolling by restricting parent container height */
.wy-side-nav-search {
- padding-top: 0; /* Remove unnecessary padding */
+ padding-top: 0;
+ scroll-behavior: auto; /* Remove unnecessary padding */
}
.wy-nav-side {
diff --git a/docs/_build/html/_static/custom.js b/docs/_build/html/_static/custom.js
new file mode 100644
index 00000000..dd6f3c19
--- /dev/null
+++ b/docs/_build/html/_static/custom.js
@@ -0,0 +1,7 @@
+document.addEventListener("DOMContentLoaded", function () {
+ // Disable scroll preservation for the sidebar
+ var nav = document.querySelector(".wy-side-nav-search");
+ if (nav) {
+ nav.style.scrollBehavior = "auto";
+ }
+});
\ No newline at end of file
diff --git a/docs/_build/html/_static/downloads_manifest.json b/docs/_build/html/_static/downloads_manifest.json
new file mode 100644
index 00000000..4ba061dd
--- /dev/null
+++ b/docs/_build/html/_static/downloads_manifest.json
@@ -0,0 +1,6 @@
+{"rarelink_cdm_datadictionary": {
+ "version": "v2_0_0_dev0",
+ "file_name": "rarelink_cdm_datadictionary - v2_0_0_dev0.csv",
+ "url": "https://rarelink.readthedocs.io/en/latest/_downloads//rarelink_cdm_datadictionary%20-%20v2_0_0_dev0.csv"
+ }
+}
diff --git a/docs/_build/html/_static/res/rarelink-cdm-repeating-instruments.jpg b/docs/_build/html/_static/res/rarelink-cdm-repeating-instruments.jpg
new file mode 100644
index 00000000..67b5e6bb
Binary files /dev/null and b/docs/_build/html/_static/res/rarelink-cdm-repeating-instruments.jpg differ
diff --git a/docs/_build/html/genindex.html b/docs/_build/html/genindex.html
index 8141a588..ffa389db 100755
--- a/docs/_build/html/genindex.html
+++ b/docs/_build/html/genindex.html
@@ -9,7 +9,7 @@
-
+
@@ -19,6 +19,7 @@
+
@@ -46,7 +47,6 @@
RareLink is a novel framework designed for managing and processing rare disease
(RD) data within the REDCap. Rare diseases affect over 260 million individuals
@@ -141,9 +130,9 @@