Skip to main content
Version: Version 3.3 - Segmentation Support 🚧

Services

Overview​

Services are "concern-specific" code modules that can be consumed across layers. Services provide a set of operations, often tied to some shared state, and are made available to through out the app via the ServicesManager. Services are particularly well suited to address cross-cutting concerns.

Each service should be:

  • self-contained
  • able to fail and/or be removed without breaking the application
  • completely interchangeable with another module implementing the same interface

In OHIF-v3 we have added multiple non-UI services and have introduced pub/sub pattern to reduce coupling between layers.

Read more about Pub/Sub

Services​

The following services is available in the OHIF-v3.

ServiceTypeDescription
DicomMetadataStore (NEW)Data ServiceDicomMetadataStore
DisplaySetService (NEW)Data ServiceDisplaySetService
SegmentationService (NEW)Segmentation ServiceSegmentationService
HangingProtocolService (NEW)Data ServiceHangingProtocolService
MeasurementService (MODIFIED)Data ServiceMeasurementService
ToolBarService (NEW)Data ServiceToolBarService
ViewportGridService (NEW)UI ServiceViewportGridService
Cine Service (NEW)UI Servicecine
CustomizationServiceUI ServicecustomizationService (NEW)
UIDialogServiceUI ServiceUIDialogService
UIModalServiceUI ServiceUIModalService
UINotificationServiceUI ServiceUINotificationService
UIViewportDialogService (NEW)UI ServiceUIViewportDialogService