Skip to main content

Base classes for managing next appointment CRF at each timepoint in clinicedc/edc projects

Project description

pypi actions codecov downloads

edc-next-appointment

Base classes for managing next appointment CRF at each timepoint

Declare in your app as a longitudinal model / CRF.

For example:

# model.py
class NextAppointment(NextAppointmentCrfModelMixin, CrfModelMixin, BaseUuidModel):

    class Meta(CrfModelMixin.Meta, BaseUuidModel.Meta):
        verbose_name = "Next Appointment"
        verbose_name_plural = "Next Appointments"


# forms.py
class NextAppointmentForm(NextAppointmentModelFormMixin, CrfModelFormMixin, forms.ModelForm):
    form_validator_cls = NextAppointmentFormValidator

    class Meta:
        model = NextAppointment
        fields = "__all__"


# admin.py
@admin.register(NextAppointment, site=intecomm_subject_admin)
class NextAppointmentAdmin(NextAppointmentModelAdminMixin, CrfModelAdmin):
    form = NextAppointmentForm

Project details


Download files

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

Source Distribution

edc_next_appointment-0.3.1.tar.gz (36.7 kB view hashes)

Uploaded Source

Built Distribution

edc_next_appointment-0.3.1-py3-none-any.whl (40.6 kB view hashes)

Uploaded Python 3

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