{"id":42116442,"url":"https://github.com/susom/realtime-randomization","last_synced_at":"2026-01-26T14:09:36.944Z","repository":{"id":39656873,"uuid":"273271573","full_name":"susom/realtime-randomization","owner":"susom","description":"A real-time randomization module to randomize as part of survey flow","archived":false,"fork":false,"pushed_at":"2024-02-16T19:08:49.000Z","size":33,"stargazers_count":3,"open_issues_count":3,"forks_count":4,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-02-16T20:25:44.385Z","etag":null,"topics":["redcap","redcap-external-module","redcap-repo"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/susom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-06-18T15:16:22.000Z","updated_at":"2024-02-16T20:25:46.227Z","dependencies_parsed_at":"2024-01-08T20:50:56.355Z","dependency_job_id":"3b4d352d-82ea-4551-a19b-d1396fc597d5","html_url":"https://github.com/susom/realtime-randomization","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"susom/redcap-em-template","purl":"pkg:github/susom/realtime-randomization","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susom%2Frealtime-randomization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susom%2Frealtime-randomization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susom%2Frealtime-randomization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susom%2Frealtime-randomization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/susom","download_url":"https://codeload.github.com/susom/realtime-randomization/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susom%2Frealtime-randomization/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28780262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["redcap","redcap-external-module","redcap-repo"],"created_at":"2026-01-26T14:09:36.877Z","updated_at":"2026-01-26T14:09:36.935Z","avatar_url":"https://github.com/susom.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Realtime Randomization\n\nThis module allows you to randomize a record using REDCap's normal allocation-based methods automatically when a form is saved.\n\n## Controlling when Randomization Occurs\nYou can control when the module will try to randomize by specifying:\n* an optional specific form\n  - only when this form is saved will the module run\n* a specific event\n  - only when saved on this event will it run\n* and specific logic, such as `[consented] = '1'`\n\n[!NOTE]\nAll specified filters must be true in order for the Realtime Randomization to take place.  Leave a filter blank to ignore it.\n\n## Configuration Errors\nCommon configuration issues or error messages are logged to the project logs.  Additional debug logging is available with the use of the emLogger module.\n\n## User Beware\nThis module uses some core REDCap methods not documented for EM usage.  As a result, there is a higher chance future updates to REDCap could affect this project.  Use of this module should be tested before/after each upgrade for critical projects.\n\n### Changes / Fixes\n| Date       | Comment                                                                                           |\n|------------|---------------------------------------------------------------------------------------------------|\n| 2021-12-13 | Fix to empty value checking so '0' (e.g. as stratum or allocation value) is treated as not empty. |\n| 2021-04-26 | Fixed a bug where smart-variables using the instrument name were failing                          |\n| 2023-02-21 | Updating framework to version 9 and releasing version 1.0.2                                       |\n| 2023-09-10 | Updated framework to 13 and README                                                                |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusom%2Frealtime-randomization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsusom%2Frealtime-randomization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusom%2Frealtime-randomization/lists"}