medication

package
v0.0.0-...-2741532 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteMedicationUseCase

func NewDeleteMedicationUseCase(
	repository medication.Repository,
	scheduleRepository medication.ScheduleRepository,
	timeRepository medication.TimeRepository,
	schedulingRepository scheduling.Repository,
	log log.Provider,
	apiErr apiErr.Provider,
) *deleteMedicationUseCase

func NewGetMedicationTypesUseCase

func NewGetMedicationTypesUseCase(
	repository medication.TypeRepository,
	log log.Provider,
	apiErr apiErr.Provider,
) *getMedicationTypesUseCase

func NewGetMedicationUseCase

func NewGetMedicationUseCase(
	repository medication.Repository,
	log log.Provider,
	apiErr apiErr.Provider,
) *getMedicationUseCase

func NewUpdateMedicationUseCase

func NewUpdateMedicationUseCase(
	repository medication.Repository,
	typeRepository medication.TypeRepository,
	schedulingRepository scheduling.Repository,
	scheduleRepository medication.ScheduleRepository,
	timeRepository medication.TimeRepository,
	schedulingService schedulingService.SchedulingService,
	log log.Provider,
	apiErr apiErr.Provider,
) *updateMedicationUseCase

Types

type CreateMedicationUseCase

type CreateMedicationUseCase struct {
	// contains filtered or unexported fields
}

func NewCreateMedicationUseCase

func NewCreateMedicationUseCase(
	repository medication.Repository,
	scheduleRepository medication.ScheduleRepository,
	typeRepository medication.TypeRepository,
	patientRepository patient.Repository,
	schedulingService schedulingService.SchedulingService,
	log log.Provider,
	apiErr apiErr.Provider,
) *CreateMedicationUseCase

func (CreateMedicationUseCase) Execute

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL