Skip to main content
Version: 3.9.0-beta.76 (Latest)

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
DicomMetadataStoreData ServiceDicomMetadataStore
DisplaySetServiceData ServiceDisplaySetService
segmentationServiceSegmentation ServicesegmentationService
HangingProtocolServiceData ServiceHangingProtocolService
MeasurementService (MODIFIED)Data ServiceMeasurementService
ToolBarServiceData ServiceToolBarService
ViewportGridServiceUI ServiceViewportGridService
Cine ServiceUI Servicecine
CustomizationServiceUI ServicecustomizationService
UIDialogServiceUI ServiceUIDialogService
UIModalServiceUI ServiceUIModalService
UINotificationServiceUI ServiceUINotificationService
UIViewportDialogServiceUI ServiceUIViewportDialogService