Skip to main content
Version: 3.8

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

Data Service

DicomMetadataStore

DisplaySetService

Data Service

DisplaySetService

segmentationService

Segmentation Service

segmentationService

HangingProtocolService

Data Service

HangingProtocolService

MeasurementService (MODIFIED)

Data Service

MeasurementService

ToolBarService

Data Service

ToolBarService

ViewportGridService

UI Service

ViewportGridService

Cine Service

UI Service

cine

CustomizationService

UI Service

customizationService

UIDialogService

UI Service

UIDialogService

UIModalService

UI Service

UIModalService

UINotificationService

UI Service

UINotificationService

UIViewportDialogService

UI Service

UIViewportDialogService