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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Create

type Create interface {
	Execute(ctx context.Context, request *dto.CreateMedicationRequest, patientID *uint64) (*dto.CreateMedicationResponse, *apiErr.Message)
}

type Delete

type Delete interface {
	Execute(ctx context.Context, medicationID, patientID *uint64) *apiErr.Message
}

type GetMedication

type GetMedication interface {
	Execute(ctx context.Context, medicationID, patientID *uint64) (*dto.GetMedicationResponse, *apiErr.Message)
}

type GetMedicationTypes

type GetMedicationTypes interface {
	Execute(ctx context.Context) ([]*medication.MedicationType, *apiErr.Message)
}

type Update

type Update interface {
	Execute(ctx context.Context, request *dto.UpdateMedicationRequest, medicationID, patientID *uint64) (*dto.UpdateMedicationResponse, *apiErr.Message)
}

Jump to

Keyboard shortcuts

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