Developer Documentation

Technical Guide

Welcome Developers

OpenMOVR maintains two public repositories. Select a tab below to view documentation for each project.

OpenMOVR Projects

OpenMOVR.github.io

The main website repository - documentation, GSoC program, pilot enrollment, and MOVR Viewer tools.

  • Tech: HTML, CSS, JavaScript
  • Hosting: GitHub Pages
  • Focus: Public information, community engagement

View Repository

movr-datahub-analytics

Python package for analyzing MOVR DataHub (2019-2025) registry data - 3,570 participants, 11,501 encounters.

  • Tech: Python, pandas, PyArrow
  • Status: GSoC 2026 Priority Project
  • Focus: Data analysis, research tools

View Repository | Full Documentation

MOVR Viewer

Web-based tools for exploring MOVR Data Dictionary fields and vendor mappings for DMD and SMA research.

  • Tech: HTML, CSS, JavaScript
  • Status: Alpha
  • Focus: Data exploration, field reference

Open MOVR Viewer

Getting Started

  1. Choose your project - Website (HTML/CSS/JS) or Analytics (Python)
  2. Fork the repository on GitHub
  3. Read the CONTRIBUTING.md in each repo
  4. Set up your environment (see tabs above)
  5. Create a feature branch and submit a PR

Code Standards

Website (HTML/CSS/JS)

  • Semantic HTML5 elements
  • CSS variables for consistency
  • Vanilla JavaScript (no frameworks)
  • Mobile-first responsive design
  • 2-space indentation

Analytics (Python)

  • Type hints required
  • Black formatter
  • MyPy type checking
  • Pytest for testing
  • Docstrings for public APIs

OpenMOVR.github.io

github.com/OpenMOVR/OpenMOVR.github.io

Quick Start

git clone git@github.com:YOUR-USERNAME/OpenMOVR.github.io.git
cd OpenMOVR.github.io

# Run locally
./launch.sh
# Or: python3 -m http.server 8000
# Visit: http://localhost:8000

# Create feature branch
git checkout -b feature/your-feature-name

Repository Structure

OpenMOVR.github.io/
├── index.html              # Homepage
├── gsoc.html               # Google Summer of Code program
├── docs/                   # Documentation system
│   ├── index.html          # MOVR updates
│   ├── css/docs.css        # Docs styles
│   └── *.html              # Other doc pages
├── pilot/                  # MOVR 2.0 Pilot enrollment
├── movr-viewer/            # Research tools
├── css/main.css            # Global styles
├── js/
│   ├── config.js           # Site configuration
│   ├── main.js             # Main functionality
│   └── header-loader.js    # Header component
├── components/header.html  # Shared header
├── assets/                 # Images, logos
├── BRANCH_STRATEGY.md
├── CONTRIBUTING.md
└── README.md

Branch Strategy

main - Production website (homepage, docs, GSoC, pilot)

viewer-apps - MOVR Viewer applications (research tools)

Website Changes

git checkout main
git pull origin main
git checkout -b feature/your-feature
# Make changes, commit
git push origin feature/your-feature
# Open PR to main

MOVR Viewer Changes

git checkout viewer-apps
git pull origin viewer-apps
git checkout -b feature/viewer-enhancement
# Make changes, commit
git push origin feature/viewer-enhancement
# Open PR to viewer-apps

Common Tasks

Adding a New Page

  1. Create HTML file in appropriate directory
  2. Include header: <div id="header-placeholder"></div>
  3. Add <script src="js/header-loader.js"></script>
  4. Update navigation in js/config.js if needed

Updating Statistics

Edit js/config.js - the legacy object:

legacy: {
    participantsTrusted: 5895,
    encountersLogged: 20152,
    sitesCollaborating: 63,
    yearsLearning: 12
}

Testing Checklist

  • Test locally (./launch.sh)
  • Test on mobile (browser dev tools)
  • Check all links work
  • Verify no console errors
  • Update documentation if needed

movr-datahub-analytics

github.com/OpenMOVR/movr-datahub-analytics | Full Documentation

GSoC 2026 Priority Project

Python package for analyzing MOVR DataHub (2019-2025) registry data. Ideal for students interested in healthcare data analytics.

Quick Start

# Clone the repository
git clone https://github.com/OpenMOVR/movr-datahub-analytics.git
cd movr-datahub-analytics

# Create virtual environment
python3 -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate

# Install with all dependencies
pip install -e ".[dev,viz,notebooks]"

# Setup configuration
movr setup

# Verify installation
movr --help

Key Features

Data Pipeline

  • Excel to Parquet conversion
  • YAML-configurable wrangling rules
  • Audit logging

Analysis Tools

  • Cohort management
  • Descriptive analytics
  • Data dictionary search

CLI Commands

# Setup configuration
movr setup

# Convert Excel to Parquet
movr convert

# Validate data quality
movr validate

# View statistics
movr summary --registry datahub --metric all

# Search data dictionary
movr dictionary search "age"
movr dictionary search "medication" --diseases "DMD,SMA"

Development

# Run tests
pytest

# Format code
black src/ tests/

# Type checking
mypy src/

# Pre-commit hooks
pre-commit install
pre-commit run --all-files

For complete documentation including architecture, API reference, and contribution guidelines, see the DataHub Analytics Documentation.

MOVR Viewer

Open MOVR Viewer

Status: Alpha - Tools for exploring MOVR Data Dictionary fields and vendor mappings.

Available Tools

Dictionary Viewer

Browse and search MOVR Data Dictionary fields. Filter by disease (DMD, SMA) and view field details including data types, descriptions, and valid values.

  • 512 DMD fields
  • 412 SMA fields

Open Dictionary Viewer

Vendor Mapping

Review vendor mapping coverage for MOVR variables. See field mapping status and coverage percentages across different data sources.

Open Vendor Mapping

Upcoming Features

The following tools are planned for future development:

  • DMD Data Viewer: De-identified DMD registry data exploration
  • SMA Data Viewer: De-identified SMA registry data exploration

These are ideal GSoC project opportunities. Contributors need experience with web applications and data privacy principles.

Contributing

MOVR Viewer is part of the OpenMOVR.github.io repository. To contribute:

git clone git@github.com:YOUR-USERNAME/OpenMOVR.github.io.git
cd OpenMOVR.github.io

# Switch to viewer-apps branch
git checkout viewer-apps
git pull origin viewer-apps

# Create feature branch
git checkout -b feature/viewer-enhancement

# Make changes in movr-viewer/ directory
# Submit PR to viewer-apps branch

Questions?

Technical: andre.paredes@ymail.com | MDA: mdamovr@mdausa.org