Skip to content

OpenClinica/enketo-express-oc

 
 

Repository files navigation

Build Status

Enketo Express fork for OpenClinica

The Enketo Smart Paper web application. It can be used directly by form servers or used as inspiration for building applications that wrap Enketo Core. See this diagram for a summary of how the different Enketo components are related.


This is a fork of enketo/enketo-express that has the following additions:

  1. An account manager to use multiple accounts with a single Enketo installation.
  2. A fieldsubmission webform view that uses OpenClinica's Fieldsubmission API.
  3. An OpenClinica theme: theme-oc.
  4. Advanced comment widgets: discrepancy note widget

To get started visit our technical documentation.


OpenClinica users, in addition to the configuration documentation linked above, may want to take special note of the following recommended settings:

  1. Set a secret value for "account manager api key" (or set it to false if OC's custom Account Manager is not used).
  2. The "linked form and data server" object should not have "server url" and "api key" properties (if OC's custom Account Manager API is used).
  3. Set "disable save as draft": true
  4. Set "repeat ordinals": true. This feature is required for the fieldsubmission webform views.
  5. Set "query parameter to pass to submission": "ecid"
  6. Set "validate continuously": true
  7. Set "validate page": false (though some applications may wish to use true)
  8. Set "default theme": "oc"
  9. Set "text field character limit": 3999

Project status

Enketo was initiated in 2009 by Martijn van de Rijdt as a web-based alternative or complement to ODK Collect. It has become a core component of the ODK ecosystem and been adopted by several organizations beyond that ecosystem.

As of 2022, Enketo is maintained by the ODK team (primarily Trevor Schmidt). Martijn continues to provide advice and continuity. The ODK project sets priorities in collaboration with its Technical Advisory Board.

Our current primary goals are:

  • Increasing alignment with ODK Collect, particularly in service of submission edits.
  • Improving error messages so that users can get out of bad states.
  • Improving long-term maintainability by modernizing code bases, removing code duplication, and simplifying state mutation.

Feature requests and project discussion are welcome on the ODK forum.

Translation

The user interface was translated by: Oleg Zhyliak (Ukrainian), Karol Kozyra (Swedish), Badisches Rotes Kreuz (German), Serkan Tümbaş (Turkish), Hélène Martin (French), Gurjot Sidhu(Hindi, Panjabi), "Abcmen" (Turkish), Otto Saldadze, Makhare Atchaidze, David Sichinava, Elene Ergeshidze (Georgian), Nancy Shapsough (Arabic), Noel O'Boyle (French), Miguel Moreno (Spanish), Tortue Torche (French), Bekim Kajtazi (Albanian), Marc Kreidler (German), Darío Hereñú (Spanish), Viktor S. (Russian), Alexander Torrado Leon (Spanish), Peter Smith (Portugese, Spanish), Przemysław Gumułka (Polish), Niklas Ljungkvist, Sid Patel (Swedish), Katri Jalava (Finnish), Francesc Garre (Spanish), Sounay Phothisane (Lao), Linxin Guo (Chinese), Emmanuel Jean, Renaud Gaudin (French), Trần Quý Phi (Vietnamese), Reza Doosti, Hossein Azad, Davood Mottalee (Persian), Tomas Skripcak (Slovak, Czech, German), Daniela Baldova (Czech), Robert Michael Lundin (Norwegian), Margaret Ndisha, Charles Mutisya (Swahili), Panzero Mauro (Italian), Gabriel Kreindler (Romanian), Jason Reeder, Omar Nazar, Sara Sameer, David Gessel (Arabic), Tino Kreutzer (German), Wasilis Mandratzis-Walz (German, Greek), Luis Molina (Spanish), Martijn van de Rijdt (Dutch).

Send a message if you'd like to contribute! We use an easy web interface provided by Transifex.


OpenClinica has a few additional text strings that can be translated separately.


Releases

  1. Create release PR
  2. Check Dependabot for alerts
  3. Run npm update
    • Check if node-forge has been updated and if so, verify encrypted submissions end-to-end
  4. Run npm audit
    • Run npm audit fix --production to apply most important fixes
  5. Update version in package.json
    • Bump to major version if consumers have to make changes.
  6. Run npm i
  7. Run npm test
  8. Run npm run build-docs
  9. Update CHANGELOG.md
  10. Merge PR with all changes
  11. Create GitHub release
  12. Tag and publish the release
    • GitHub Action will publish it to npm

Funding

The development of this application is now led by ODK and funded by customers of the ODK Cloud hosted service.

Past funders include KoBo Toolbox (Harvard Humanitarian Initiative), iMMAP, OpenClinica, London School of Hygiene and Tropical Medicine, DIAL Open Source Center and Enketo LLC. Also see Enketo Core sponsors.

License

See the license document for this application's license.

Note that some of the libraries used in this app have a different license.

Note the 'Powered by Enketo' footer requirement as explained in enketo-core. This requirement is applicable to all Enketo apps, including this one, unless an exemption was granted.

The Enketo logo and Icons are trademarked by Enketo LLC and should only be used for the 'Powered by Enketo' requirement mentioned above (if applicable). To prevent infringement simply replace the logo images in /public/images with your own or contact Enketo LLC to discuss the use inside your app.

Change log

See change log

About

A fork of Enketo Smart Paper for OpenClinica

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 90.7%
  • SCSS 6.7%
  • Pug 1.7%
  • Other 0.9%