Version 1.0 (Stable)
Find Lipedema Trials
Enter your city, zip, or country to find active recruiting trials.
📋 Release Notes: Lipedema Trial Search Widget
Developer: Jonathan Kartt
Platform: Squarespace (Custom Code Block)
Data Source: ClinicalTrials.gov API v2
Release Date: 12/12/25
🏗️ Version 1.0: The "Core Foundation" Release
Status: Deprecated (Replaced by v2.0)
Version 1.0 was the foundational build designed to replace the sunset "Trialscope" tool. Its primary goal was to re-establish a connection to the ClinicalTrials.gov database using their modernized v2 API.
💡 Core Functionality
Citeline Replacement: Successfully replicated the functionality of the paid enterprise tool using lightweight, custom code.
Smart Region Detection:
Implemented logic to distinguish between a Radius Search (e.g., "11238" or "Brooklyn") and a Region Search (e.g., "Spain" or "Germany").
If a user inputs a country, the radius filter is automatically disabled to ensure all trials within that nation are returned.
Dual-Unit Support:
Added a dynamic toggle for Miles vs. Kilometers, catering to both US and International audiences.
Geocoding Integration:
Integrated the free Nominatim (OpenStreetMap) API to convert user text inputs (City/Zip) into Latitude/Longitude coordinates required by the clinical trials database.
⚠️ Known Limitations (Addressed in v2.0)
Single Location Display: Only displayed the first location returned by the API, which often hid local satellite sites.
Loading Dependency: Relied on JavaScript to render the dropdown menu, causing occasional display issues on slower connections.
No Map Integration: Users had to manually copy/paste addresses to find locations.
👨💻 Developer Note on APIs
This widget relies on two public APIs. No API keys are required, keeping maintenance costs at $0.
ClinicalTrials.gov API v2: Used for fetching study data.
Nominatim (OpenStreetMap): Used for geocoding user locations.
