Registration and Delivery

This package provides a way to register a household and individual members and deliver the resources to the registered households.

Features

  • Search existing households and individuals
  • Register new households and individuals.
  • Update details for existing households and individuals.
  • Record service delivery of healthcare interventions to households and individuals for a single round campaign.
  • Auto-calculation of resources to be delivered to a household or individuals based on the configured rule.

Getting Started

To use this package, add the following dependency to your pubspec.yaml file:

dependencies:
  registration_delivery: ^any

Usage

To Navigate to any screens of the package:

First add registration_delivery_router to your main app router

Navigate to the required screen using the below code and pass the required data:

context.router.push(SearchBeneficiaryRoute(),);

To Consume any bloc of the package in main app:

BlocProvider(create: (context) {return SearchBlocWrapper();},),

Registration Delivery package requires below data to be passed from main app:

RegistrationDeliveryListener? _registrationDeliveryListener;

String? _tenantId;
String? _loggedInUserUuid;

double? _maxRadius;
String? _projectId;
BeneficiaryType? _beneficiaryType;
ProjectTypeModel? _projectType;
ProjectModel? _selectedProject;
BoundaryModel? _boundaryModel;
PersistenceConfiguration? _persistenceConfiguration;
List<String>? _genderOptions;
List<String>? _idTypeOptions;
List<String>? _householdDeletionReasonOptions;
List<String>? _householdMemberDeletionReasonOptions;
List<String>? _deliveryCommentOptions;
List<String>? _symptomsTypes;
List<String>? _referralReasons;

To set the required data use:

RegistrationDeliverySingleton().setInitialData();

Libraries

blocs/app_localization
blocs/beneficiary_registration/beneficiary_registration
blocs/delivery_intervention/deliver_intervention
blocs/household_details/household_details
blocs/household_location/household_location
blocs/household_overview/household_overview
blocs/referral_management/referral_management
blocs/registration_delivery_localization_delegate
blocs/search_households/household_global_seach
blocs/search_households/search_bloc_common_wrapper
blocs/search_households/search_households
blocs/side_effects/side_effects
data/repositories/local/base/household_base
data/repositories/local/base/household_member_base
data/repositories/local/base/project_beneficiary_base
data/repositories/local/base/side_effect_base
data/repositories/local/base/task_base
data/repositories/local/household
data/repositories/local/household_member
data/repositories/local/project_beneficiary
data/repositories/local/referral
data/repositories/local/registration_delivery_address
data/repositories/local/side_effect
data/repositories/local/task
data/repositories/oplog/oplog
data/repositories/remote/household
data/repositories/remote/household_member
data/repositories/remote/project_beneficiary
data/repositories/remote/referral
data/repositories/remote/side_effect
data/repositories/remote/task
models/beneficiary_statistics/beneficiary_statistics_model
models/entities/additional_fields_type
models/entities/deliver_strategy_type
models/entities/household
models/entities/household_member
models/entities/project_beneficiary
models/entities/referral
models/entities/reg_form_validations_type
models/entities/registration_delivery_enums
models/entities/side_effect
models/entities/status
models/entities/task
models/entities/task_resource
pages/beneficiary/beneficiary_checklist
pages/beneficiary/beneficiary_details
pages/beneficiary/beneficiary_wrapper
pages/beneficiary/deliver_intervention
pages/beneficiary/delivery_summary_page
pages/beneficiary/dose_administered
pages/beneficiary/facility_selection
pages/beneficiary/household_overview
pages/beneficiary/record_past_delivery_details
pages/beneficiary/refer_beneficiary
pages/beneficiary/refused_delivery
pages/beneficiary/side_effects
pages/beneficiary/widgets/household_acknowledgement
pages/beneficiary/widgets/past_delivery
pages/beneficiary/widgets/record_delivery_cycle
pages/beneficiary/widgets/splash_acknowledgement
pages/beneficiary_registration/beneficiary_acknowledgement
pages/beneficiary_registration/beneficiary_registration_wrapper
pages/beneficiary_registration/house_details
pages/beneficiary_registration/household_details
pages/beneficiary_registration/household_location
pages/beneficiary_registration/individual_details
pages/reason_for_deletion
pages/registration_delivery_wrapper
pages/search_beneficiary
pages/summary_page
registration_delivery
registration_delivery.init
router/registration_delivery_router
router/registration_delivery_router.gm
utils/constants
utils/extensions/extensions
utils/global_search_parameters
utils/i18_key_constants
utils/mapper_init
utils/typedefs
utils/utils
widgets/action_card/action_card
widgets/back_navigation_help_header
widgets/beneficiary/beneficiary_card
widgets/beneficiary/beneficiary_statistics_card
widgets/beneficiary/resource_beneficiary_card
widgets/beneficiary/view_beneficiary_card
widgets/component_wrapper/facility_bloc_wrapper
widgets/component_wrapper/product_variant_bloc_wrapper
widgets/component_wrapper/selected_project_builder
widgets/inventory/no_facilities_assigned_dialog
widgets/localized
widgets/member_card/member_card
widgets/progress_bar/beneficiary_progress
widgets/progress_indicator/progress_indicator
widgets/showcase/config/showcase_constants
widgets/showcase/showcase_button
widgets/showcase/showcase_wrappers
widgets/status_filter/status_filter