Coder Social home page Coder Social logo

lsgs / redcap-drw-tweaks Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 387 KB

REDCap external module providing some enhancements to REDCap's Data Resolution Workflow functionality

License: GNU General Public License v3.0

PHP 100.00%
redcap redcap-external-module mcri murdoch-childrens redcap-repo

redcap-drw-tweaks's People

Contributors

lsgs avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

redcap-drw-tweaks's Issues

Error with regards to math_functions.php

Hi @lsgs,

We received an error when using this External Module:

The 'hook_every_page_before_render' hook did not complete for the 'drw_tweaks' module because of the following error. Stack traces are unfortunately not available for this type of error:

Error Message: require_once(): Failed opening required '/var/www/html/studies/redcap_v10.0.20/ProjectGeneral/math_functions.php' (include_path='.:/var/www/html/studies/redcap_v10.0.20/Libraries/PEAR/:.:/usr/share/pear:/usr/share/php')
File: /var/www/html/studies/modules/drw_tweaks_v1.0.0/DataQualityTweaked.php
Line: 6

URL: https://studiesredcap.uzgent.be/redcap_v10.0.20/DataQuality/resolve_csv_export.php?pid=137&status_type=OPEN_UNRESPONDED&field_rule_filter=&group_id=189

Indeed, the file .../ProjectGeneral/math_functions.php is not available in REDCap v10.0.20. Could this be fixed please?

Thanks in advance!
Kind regards,
Simon (University Hospital Ghent)

Add support for multiple redcap_data tables

Use:

$data_table = method_exists('\REDCap', 'getDataTable') ? \REDCap::getDataTable($project_id) : "redcap_data"; // please check if $project_id exists
$sql = "select record, value from $data_table where project_id = " . PROJECT_ID . " and field_name = '__GROUPID__'";

for:

$sql = "select record, value from redcap_data where project_id = " . PROJECT_ID . " and field_name = '__GROUPID__'";

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.