An open API service indexing awesome lists of open source software.

https://github.com/imagingdatacommons/ohif-gcp-extension


https://github.com/imagingdatacommons/ohif-gcp-extension

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

          

# GCP Extension for OHIF Viewer

The **GCP Extension** enhances the OHIF viewer, enabling seamless integration with Google Cloud Platform healthcare services for loading and merging imaging studies directly from GCP.

## Key Features

- **Load & Merge Studies**: Load studies and merge results from a GCP Healthcare URL.
- Query param examples:
```
# GCP Path
http://localhost:3000/viewer?StudyInstanceUIDs=2.25.169909530366026741902094648458907485460&gcp=https://healthcare.googleapis.com/v1beta1/projects/idc-dicom-review/locations/us-central1/datasets/rms_seg_test_fractional_multiclass_tiled_full-dataset/dicomStores/rms_seg_test_fractional_multiclass_tiled_full-dicom-store/study/2.25.169909530366026741902094648458907485460

# Relative GCP Path
http://localhost:3000/viewer?StudyInstanceUIDs=2.25.169909530366026741902094648458907485460&gcp=/projects/idc-dicom-review/locations/us-central1/datasets/rms_seg_test_fractional_multiclass_tiled_full-dataset/dicomStores/rms_seg_test_fractional_multiclass_tiled_full-dicom-store/study/2.25.169909530366026741902094648458907485460
```

## How to Add the GCP Extension to Your OHIF Fork

### 1. Add GCP Extension as a Dependency

In the OHIF `package.json` file, include `ohif-gcp-extension` as a dependency. Since it’s not published to NPM, specify the GitHub repository URL and branch name.

```json
/** File: platform/app/package.json */
"dependencies": {
"ohif-gcp-extension": "https://github.com/ImagingDataCommons/ohif-gcp-extension#main",
...
}
```

### 2. Update OHIF's plugin file to load this extension:
```js
/** File: platform/app/pluginConfig.json */

"extensions": [
...
{
"packageName": "ohif-gcp-extension"
},
...
```