https://github.com/imagingdatacommons/ohif-gcp-extension
https://github.com/imagingdatacommons/ohif-gcp-extension
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/imagingdatacommons/ohif-gcp-extension
- Owner: ImagingDataCommons
- License: mit
- Created: 2024-02-07T19:42:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-15T21:00:30.000Z (10 months ago)
- Last Synced: 2025-12-28T22:57:33.004Z (5 months ago)
- Language: TypeScript
- Size: 260 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
},
...
```