Skip to main content

SARS-COV-2 related models, etc

Project description

pypi travis codecov

sarscov2

Add to an EDC, for example the meta_edc for the META Trial.

Add to INSTALLED_APPS:

INSTALLED_APPS = [
    ...
    "sarscov2.apps.AppConfig",
    ...
    ]

Add the CRF to the visit schedule as a PRN, for example:

crfs_prn = FormsCollection(
    ...
    Crf(show_order=70, model="meta_subject.coronakap"),
    name="prn",
)
python manage.py makemigrations
python manage.py migrate

To include in a screening or subject listboard:

{% if perms.sarscov2 %}
    {% if result.coronavirus_kap %}
    <a class="btn btn-sm btn-success" title="Edit Coronavirus KAP"
       href="{% url 'sarscov2_admin:sarscov2_coronaviruskap_change' result.coronavirus_kap.id %}?next=meta_dashboard:screening_listboard_url">Edit</a>
    {% else %}
    <a class="btn btn-sm btn-warning" title="Add Coronavirus KAP"
       href="{% url 'sarscov2_admin:sarscov2_coronaviruskap_add' %}?screening_identifier={{result.screening_identifier}}&next=meta_dashboard:screening_listboard_url">Add</a>
    {% endif %}
{% endif %}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

sarscov2-0.1.14-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file sarscov2-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: sarscov2-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 42.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for sarscov2-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 c7fc2cc03f038f31abe43ea460ac0f089e4b33ef34b0b4e3d9adf3d473d1219f
MD5 beb43faa1686787b1cdb0dca7d6e3e7b
BLAKE2b-256 0135e1c3816deaad758faec06fa97f535160e09b58f8c98013cba06d12a4c493

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page