• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openhealthcare / elcid-rfh / 3199

pending completion
3199

Pull #753

travis-ci

web-flow
bring requirements inline with opal requirements
Pull Request #753: bring requirements inline with opal requirements

61 of 233 branches covered (26.18%)

2736 of 3554 relevant lines covered (76.98%)

1.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.78
/plugins/labtests/plugin.py
1
"""
2
Plugin definition for the labtests Opal plugin
3
"""
4
from opal.core import plugins
1✔
5

6
from plugins.labtests.urls import urlpatterns
1✔
7

8
class LabtestsPlugin(plugins.OpalPlugin):
1✔
9
    """
10
    Main entrypoint to expose this plugin to our Opal application.
11
    """
12
    urls = urlpatterns
1✔
13
    javascripts = {
1✔
14
        # Add your javascripts here!
15
        'opal.labtests': [
16
            # 'js/labtests/app.js',
17
            # 'js/labtests/controllers/larry.js',
18
            # 'js/labtests/services/larry.js',
19
        ]
20
    }
21

22
    def list_schemas(self):
1✔
23
        """
24
        Return any patient list schemas that our plugin may define.
25
        """
26
        return {}
×
27

28
    def roles(self, user):
1✔
29
        """
30
        Given a (Django) USER object, return any extra roles defined
31
        by our plugin.
32
        """
33
        return {}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc