Example #1
0
                    REQUIRED,
                    NOT_ADDITIONAL,
                ),
                EntryTuple(
                    20L,
                    u'bcpp_clinic',
                    u'questionnaire',
                    REQUIRED,
                    NOT_ADDITIONAL,
                ),
                EntryTuple(
                    30L,
                    u'bcpp_clinic',
                    u'clinicvlresult',
                    NOT_REQUIRED,
                    ADDITIONAL,
                ),
                EntryTuple(
                    40L,
                    u'bcpp_clinic',
                    u'viralloadtracking',
                    NOT_REQUIRED,
                    ADDITIONAL,
                ),
            )
        }
    })


site_visit_schedules.register(BcppClinicVisitSchedule)
    schedule_groups = OrderedDict({
        'Maternal Post Partum Reg': ScheduleGroupTuple('Maternal Post Partum Reg', 'maternal_eligible_postnatal', 'ELIGIBILITY', None),
        })

    visit_definitions = OrderedDict()

    visit_definitions['1000M'] = {
            'title': 'Maternal Enrolment Visit',
            'time_point': 0,
            'base_interval': 0,
            'base_interval_unit': 'D',
            'window_lower_bound': 15,
            'window_lower_bound_unit': 'D',
            'window_upper_bound': 34,
            'window_upper_bound_unit': 'D',
            'grouping': 'maternal',
            'visit_tracking_model': MaternalVisit,
            'schedule_group': 'Maternal Post Partum Reg',
            'instructions': 'As of 2012-11-26, submit requisition for Viral Load (storage only) instead of PHS Ultrasensitive Viral Load (<50)',
            'requisitions': (
                #(entry_order, app_label, model_name, panel.name, panel.edc_name, panel.panel_type, aliquot_type)
                RequisitionPanelTuple(100L, u'eit_lab', u'maternalrequisition', 'CD4 (ARV)', 'TEST', 'WB', NOT_REQUIRED, ADDITIONAL),
                RequisitionPanelTuple(200L, u'eit_lab', u'maternalrequisition', 'PBMC Plasma (STORE ONLY)', 'STORAGE', 'WB', NOT_REQUIRED, ADDITIONAL),
                RequisitionPanelTuple(300L, u'eit_lab', u'maternalrequisition', 'Viral Load', 'TEST', 'WB', NOT_REQUIRED, ADDITIONAL),
                ),
            'entries': (
            )}

site_visit_schedules.register(EitMaternalPostNatalVisitSchedule)
Example #3
0
                           NOT_ADDITIONAL),
                EntryTuple(80L, u'mpepu_infant', u'infantfunewmed', REQUIRED,
                           NOT_ADDITIONAL),
                EntryTuple(90L, u'mpepu_infant', u'infantfumed', REQUIRED,
                           NOT_ADDITIONAL),
                EntryTuple(100L, u'mpepu_infant', u'infantstudydrug', REQUIRED,
                           NOT_ADDITIONAL),
                EntryTuple(110L, u'mpepu_infant', u'infantctxplaceboadh',
                           REQUIRED, NOT_ADDITIONAL),
                EntryTuple(120L, u'mpepu_infant', u'infantfeeding', REQUIRED,
                           NOT_ADDITIONAL),
                EntryTuple(130L, u'mpepu_infant', u'infantstudydruginit',
                           REQUIRED, NOT_ADDITIONAL),
                #following are additional forms
                EntryTuple(200L, u'mpepu_infant', u'infantdeath', NOT_REQUIRED,
                           ADDITIONAL),
                EntryTuple(201L, u'mpepu_infant', u'infantsurvival',
                           NOT_REQUIRED, ADDITIONAL),
                EntryTuple(210L, u'mpepu_infant', u'infantverbalautopsy',
                           NOT_REQUIRED, ADDITIONAL),
                EntryTuple(220L, u'mpepu_infant', u'infantoffdrug',
                           NOT_REQUIRED, ADDITIONAL),
                EntryTuple(230L, u'mpepu_infant', u'infantoffstudy',
                           NOT_REQUIRED, ADDITIONAL),
            )
        }
    })


site_visit_schedules.register(MpepuInfantPreRandoVisitSchedule)
Example #4
0
                           REQUIRED, NOT_ADDITIONAL),
                EntryTuple(120L, u'mpepu_maternal', u'maternallabdeldx',
                           REQUIRED, NOT_ADDITIONAL),
                EntryTuple(130L, u'mpepu_maternal', u'maternallabdelclinic',
                           REQUIRED, NOT_ADDITIONAL),
                EntryTuple(140L, u'mpepu_maternal', u'maternallocator',
                           REQUIRED, NOT_ADDITIONAL),
                EntryTuple(150L, u'mpepu_maternal', u'feedingchoice', REQUIRED,
                           NOT_ADDITIONAL),
                EntryTuple(160L, u'mpepu_maternal', u'feedingchoicesectionone',
                           REQUIRED, NOT_ADDITIONAL),
                EntryTuple(170L, u'mpepu_maternal', u'feedingchoicesectiontwo',
                           REQUIRED, NOT_ADDITIONAL),
                EntryTuple(180L, u'mpepu_maternal',
                           u'feedingchoicesectionthree', REQUIRED,
                           NOT_ADDITIONAL),
                EntryTuple(190L, u'mpepu_maternal',
                           u'postnatalinfantfeedingsurvey', REQUIRED,
                           NOT_ADDITIONAL),
                #following are additional forms
                EntryTuple(200L, u'mpepu_maternal', u'maternaldeath',
                           NOT_REQUIRED, ADDITIONAL),
                EntryTuple(210L, u'mpepu_maternal', u'maternaloffstudy',
                           NOT_REQUIRED, ADDITIONAL),
            )
        }
    })


site_visit_schedules.register(MpepuMaternalAnteNatalVisitSchedule)
            'base_interval_unit': 'M',
            'window_lower_bound': 0,
            'window_lower_bound_unit': 'D',
            'window_upper_bound': 0,
            'window_upper_bound_unit': 'D',
            'grouping': 'maternal',
            'visit_tracking_model': MaternalVisit,
            'schedule_group': 'Post Partum Follow-up',
            'instructions': None,
            'requisitions': (
                # (entry_order, app_label, model_name, panel.name, panel.edc_name, panel.panel_type, aliquot_type)
                RequisitionPanelTuple(10L, u'mpepu_lab', u'maternalrequisition', 'PHS: Ultrasensetive Viral Load', 'TEST', 'WB', NOT_REQUIRED, ADDITIONAL),
                RequisitionPanelTuple(100L, u'mpepu_lab', u'maternalrequisition', 'Breast Milk (Storage)', 'STORAGE', 'BM', NOT_REQUIRED, ADDITIONAL),
                RequisitionPanelTuple(200L, u'mpepu_lab', u'maternalrequisition', 'PBMC Plasma (STORE ONLY)', 'STORAGE', 'WB', NOT_REQUIRED, ADDITIONAL),
                RequisitionPanelTuple(300L, u'mpepu_lab', u'maternalrequisition', 'Hematology (ARV)', 'TEST', 'WB', NOT_REQUIRED, ADDITIONAL),
                RequisitionPanelTuple(400L, u'mpepu_lab', u'maternalrequisition', 'Viral load (storage only)', 'STORAGE', 'WB', NOT_REQUIRED, ADDITIONAL),
                RequisitionPanelTuple(500L, u'mpepu_lab', u'maternalrequisition', 'CD4 (ARV)', 'TEST', 'WB', NOT_REQUIRED, ADDITIONAL),
                RequisitionPanelTuple(600L, u'mpepu_lab', u'maternalrequisition', 'Plasma and Buffy Coat Storage', 'STORAGE', 'WB', NOT_REQUIRED, ADDITIONAL),
                ),
            'entries': (
                EntryTuple(10L, u'mpepu_maternal', u'maternalpostfu', REQUIRED, NOT_ADDITIONAL),
                EntryTuple(20L, u'mpepu_maternal', u'maternalpostfudx', REQUIRED, NOT_ADDITIONAL),
                EntryTuple(30L, u'mpepu_maternal', u'maternalarvpost', REQUIRED, NOT_ADDITIONAL),
                EntryTuple(40L, u'mpepu_maternal', u'maternalarvpostadh', REQUIRED, NOT_ADDITIONAL),
                EntryTuple(50L, u'mpepu_maternal', u'postnatalinfantfeedingsurvey', REQUIRED, NOT_ADDITIONAL),
                #following are additional forms
                EntryTuple(200L, u'mpepu_maternal', u'maternaldeath', NOT_REQUIRED, ADDITIONAL),
                EntryTuple(210L, u'mpepu_maternal', u'maternaloffstudy', REQUIRED, NOT_ADDITIONAL),
            )}
site_visit_schedules.register(MpepuMaternalPostPartumVisitSchedule)
            EntryTuple(40L, u'mpepu_infant', u'infantfud', REQUIRED,
                       NOT_ADDITIONAL),
            EntryTuple(50L, u'mpepu_infant', u'infantfudx2proph', REQUIRED,
                       NOT_ADDITIONAL),
            EntryTuple(60L, u'mpepu_infant', u'infantfunewmed', REQUIRED,
                       NOT_ADDITIONAL),
            EntryTuple(70L, u'mpepu_infant', u'infantfumed', REQUIRED,
                       NOT_ADDITIONAL),
            EntryTuple(80L, u'mpepu_infant', u'infantstudydrug', REQUIRED,
                       NOT_ADDITIONAL),
            EntryTuple(90L, u'mpepu_infant', u'infantctxplaceboadh', REQUIRED,
                       NOT_ADDITIONAL),
            EntryTuple(100L, u'mpepu_infant', u'infantstoolcollection',
                       REQUIRED, NOT_ADDITIONAL),
            #following are additional forms
            EntryTuple(200L, u'mpepu_infant', u'infantdeath', NOT_REQUIRED,
                       ADDITIONAL),
            EntryTuple(201L, u'mpepu_infant', u'infantsurvival', NOT_REQUIRED,
                       ADDITIONAL),
            EntryTuple(210L, u'mpepu_infant', u'infantverbalautopsy',
                       NOT_REQUIRED, ADDITIONAL),
            EntryTuple(220L, u'mpepu_infant', u'infantoffdrug', NOT_REQUIRED,
                       ADDITIONAL),
            EntryTuple(230L, u'mpepu_infant', u'infantoffstudy', REQUIRED,
                       NOT_ADDITIONAL),
        )
    }


site_visit_schedules.register(MpepuInfantRandoMonthlyVisitSchedule)
Example #7
0
    })


if site_mappers.get_current_mapper().intervention is False:
    for item in BcppSubjectVisitSchedule.visit_definitions.get('T1').get(
            'entries'):
        if item.model_name in ['tbsymptoms', 'hivuntested']:
            BcppSubjectVisitSchedule.visit_definitions.get('T1').get(
                'entries').remove(item)

    for item in BcppSubjectVisitSchedule.visit_definitions.get('T2').get(
            'entries'):
        if item.model_name in ['tbsymptoms', 'hivuntested']:
            BcppSubjectVisitSchedule.visit_definitions.get('T2').get(
                'entries').remove(item)

if site_mappers.get_current_mapper().intervention is True:
    for item in BcppSubjectVisitSchedule.visit_definitions.get('T1').get(
            'entries'):
        if item.model_name in ['hivuntested']:
            BcppSubjectVisitSchedule.visit_definitions.get('T1').get(
                'entries').remove(item)

    for item in BcppSubjectVisitSchedule.visit_definitions.get('T2').get(
            'entries'):
        if item.model_name in ['hivuntested']:
            BcppSubjectVisitSchedule.visit_definitions.get('T2').get(
                'entries').remove(item)

site_visit_schedules.register(BcppSubjectVisitSchedule)
Example #8
0
            EntryTuple(90L, u'mpepu_infant', u'infantfumed', REQUIRED,
                       NOT_ADDITIONAL),
            EntryTuple(100L, u'mpepu_infant', u'infantstudydrug', REQUIRED,
                       NOT_ADDITIONAL),
            EntryTuple(110L, u'mpepu_infant', u'infantctxplaceboadh', REQUIRED,
                       NOT_ADDITIONAL),
            EntryTuple(120L, u'mpepu_infant', u'infantfeeding', REQUIRED,
                       NOT_ADDITIONAL),
            EntryTuple(130L, u'mpepu_infant', u'infantstudydruginit', REQUIRED,
                       NOT_ADDITIONAL),
            EntryTuple(140L, u'mpepu_infant', u'infantstoolcollection',
                       REQUIRED, NOT_ADDITIONAL),
            #following are additional forms
            EntryTuple(200L, u'mpepu_infant', u'infantdeath', NOT_REQUIRED,
                       ADDITIONAL),
            EntryTuple(201L, u'mpepu_infant', u'infantsurvival', NOT_REQUIRED,
                       ADDITIONAL),
            EntryTuple(210L, u'mpepu_infant', u'infantverbalautopsy',
                       NOT_REQUIRED, ADDITIONAL),
            EntryTuple(220L, u'mpepu_infant', u'infantprerandoloss',
                       NOT_REQUIRED, ADDITIONAL),
            EntryTuple(230L, u'mpepu_infant', u'infantoffdrug', NOT_REQUIRED,
                       ADDITIONAL),
            EntryTuple(240L, u'mpepu_infant', u'infantoffstudy', NOT_REQUIRED,
                       ADDITIONAL),
        )
    }


site_visit_schedules.register(MpepuInfantBirthVisitSchedule)