diff --git a/.DS_Store b/.DS_Store
deleted file mode 100755
index a422ca80f..000000000
Binary files a/.DS_Store and /dev/null differ
diff --git a/.gitignore b/.gitignore
index bcd69d2da..940f0a9ec 100755
--- a/.gitignore
+++ b/.gitignore
@@ -170,13 +170,18 @@ templates/
# Ignore template files from Public folder
Public/
+# ignore dev folders
+dev/
+
# Temporary REDCap test config
*.rarelink_test_redcap_config.json
# DS Store
+# macOS metadata
+.DS_Store
+**/.DS_Store
.DS_Store/
.DS_Store?
-.DS_Store
.src/.DS_Store?
.src/rarelink/.DS_Store?
.src/rarelink/utils/.DS_Store?
diff --git a/README.md b/README.md
index 16a600fe8..738531572 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@
#### Packages & Compatibility
[](https://www.project-redcap.org/)
-[](https://github.com/BIH-CEI/rd-cdm)
+[](https://github.com/BIH-CEI/rd-cdm)
[](https://phenopacket-schema.readthedocs.io/en/latest/)
[](https://linkml.io/)
[](https://hl7.org/fhir/)
@@ -116,37 +116,38 @@ Documentation on [Setting Up a REDCap Project](https://rarelink.readthedocs.io/e
## Installation
-RareLink can be set up using various Python project management approaches. One
- common method is to use a virtual environment. Below is an example where the
- virtual environment is named `rarelink-venv`, but you can name it as you prefer:
-
+RareLink requires Python ≥3.10 and <3.13.
```bash
python3.12 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
```
-> **Note**: You need Python ≥3.10 but <3.13 to be able to use RareLink!
-
-Next, install rarelink through pypi...
-
+### Core install
```bash
pip install rarelink
```
-... or clone the RareLink repository, navigate to its root directory, and
- install RareLink using:
+This installs everything needed for REDCap interaction, Phenopacket export,
+and the RareLink CLI. It does **not** install Docker, numpy/pandas, or
+documentation/testing tools.
-```bash
-git clone https://github.com/BIH-CEI/rarelink.git
-cd rarelink
-pip install .
-```
+### Optional extras
-If you want to install development dependencies (e.g., `pytest`), use:
+| Extra | Install command | What it adds |
+|-------|----------------|--------------|
+| `fhir` | `pip install rarelink[fhir]` | Docker SDK for the toFHIR FHIR export pipeline |
+| `data` | `pip install rarelink[data]` | numpy + pandas for tabular data processing |
+| `test` | `pip install rarelink[test]` | pytest and pytest-mock |
+| `docs` | `pip install rarelink[docs]` | Sphinx and documentation themes |
+| `dev` | `pip install rarelink[dev]` | All of the above plus build/twine/jupyter |
+For development:
```bash
-pip install .[dev]
+git clone https://github.com/BIH-CEI/rarelink.git
+cd rarelink
+pip install -e .[dev]
+pytest
```
### Setting Up the `.env` File
diff --git a/docs/.DS_Store b/docs/.DS_Store
deleted file mode 100755
index 10f8d71be..000000000
Binary files a/docs/.DS_Store and /dev/null differ
diff --git a/docs/2_rarelink_framework/2_1_rarelink_overview.rst b/docs/2_rarelink_framework/2_1_rarelink_overview.rst
index bf6394f40..d849cce9b 100755
--- a/docs/2_rarelink_framework/2_1_rarelink_overview.rst
+++ b/docs/2_rarelink_framework/2_1_rarelink_overview.rst
@@ -16,17 +16,17 @@ GA4GH Phenopackets, without the need for additional coding or mapping.
As a result, RareLink allows researchers and clinicians to collect and process
RD data seamlessly within the REDCap environment.
-.. figure:: ../_static/res/rarelink_overview.svg
+.. figure:: ../_static/res/rarelink_overview.png
Overview of the RareLink framework integrated with a local REDCap instance.
- The framework comprises the RareLink instruments based on the RD-CDM, the
- RareLink API, the toFHIR & CDIS module for export and import to HL7 FHIR IPS
- and Genomic Reporting Resources, and the RareLink-Phenopackets module for
+ The framework comprises the REDCap instruments based on the `RD-CDM The RareLink CDM Data Dictionary is available for download as a CSV file: Contents
REDCap Data Dictionary
Download: RareLink-CDM Data Dictionary (v2.0.5)Download: RareLink-CDM Data Dictionary (v2.0.5)… Next steps
@@ -527,7 +527,7 @@
Variables & Adjustmentssnomedct_281053000)
2.2 Sex at Birth (loinc_76689_9)
Cardinality: Optional
Validation: Dropdown (choices encoded according to RD-CDM)
rarelink_cdm:snomedct_184099003 for 2.1 Date of birth, or
rarelink_cdm:snomedct_281053000 for 2.2 Sex at birth.
rarelink_cdm:loinc_76689_9 for 2.2 Sex at birth.
predicate_label: @@ -444,7 +444,7 @@
object_label: The human-readable label for the target value either from the RareLink-CDM value sets or the code system defined by the data element. In @@ -493,7 +493,7 @@