Documentation ¶
Index ¶
- type Service
- func (s *Service) Create(ctx context.Context, req processing.RequestInterface, ...) error
- func (s *Service) Delete(ctx context.Context, req processing.RequestInterface, systemID string, ...) (string, error)
- func (s *Service) GetActiveProcRequest(userID string, kind processing.RequestKind) (string, error)
- func (s *Service) GetByID(ctx context.Context, patientID string, systemID string, ehrUUID *uuid.UUID, ...) (*model.Directory, error)
- func (s *Service) GetByTimeOrLast(ctx context.Context, systemID string, ehrUUID *uuid.UUID, patientID string, ...) (*model.Directory, error)
- func (s *Service) IncreaseVersion(d *model.Directory, systemID string) (string, error)
- func (s *Service) NewProcRequest(reqID, userID, ehrUUID string, kind processing.RequestKind) (processing.RequestInterface, error)
- func (s *Service) Update(ctx context.Context, req processing.RequestInterface, systemID string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { *service.DefaultDocumentService DocGroup *docGroupService.Service }
func NewService ¶
func NewService(docService *service.DefaultDocumentService, docGroupSvc *docGroupService.Service) *Service
func (*Service) Create ¶
func (s *Service) Create(ctx context.Context, req processing.RequestInterface, patientID, systemID, dirUID string, d *model.Directory) error
func (*Service) GetActiveProcRequest ¶
func (s *Service) GetActiveProcRequest(userID string, kind processing.RequestKind) (string, error)
func (*Service) GetByTimeOrLast ¶
func (*Service) IncreaseVersion ¶
func (*Service) NewProcRequest ¶
func (s *Service) NewProcRequest(reqID, userID, ehrUUID string, kind processing.RequestKind) (processing.RequestInterface, error)
Click to show internal directories.
Click to hide internal directories.