https://github.com/imagingdatacommons/ohif-gcp-mode
OHIF GCP Mode
https://github.com/imagingdatacommons/ohif-gcp-mode
Last synced: about 1 month ago
JSON representation
OHIF GCP Mode
- Host: GitHub
- URL: https://github.com/imagingdatacommons/ohif-gcp-mode
- Owner: ImagingDataCommons
- License: mit
- Created: 2023-08-08T14:12:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-05T22:59:54.000Z (about 2 years ago)
- Last Synced: 2024-01-05T23:34:13.704Z (about 2 years ago)
- Language: JavaScript
- Size: 995 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GCP Mode for OHIF Viewer
The **GCP Mode** enhances the OHIF viewer, providing specialized functionality for integrating Google Cloud Platform healthcare services.
## Key Features
- **Load Studies via GCP URLs:** Enables loading studies directly from GCP healthcare URLs.
- Example URL format:
```
http://localhost:3000/projects/project-x/locations/us/datasets/some-dataset/dicomStores/test-samples/study/1.3.6.1.4.1.123.5.2.1.123.123.123
```
## How to Add GCP Mode to Your OHIF Fork
### 1. Add GCP Mode as a Dependency
Update `package.json` to include `ohif-gcp-mode` as a dependency. Since this mode is not published to NPM, specify the GitHub repository and branch name.
```json
/** File: platform/app/package.json */
"dependencies": {
"ohif-gcp-mode": "https://github.com/ImagingDataCommons/ohif-gcp-mode#main",
...
}
```
### 2. Update OHIF's plugin file to load this mode:
```js
/** File: platform/app/pluginConfig.json */
"modes": [
...
{
"packageName": "ohif-gcp-mode",
"version": "0.0.1" /** The version here does not matter since we are using a branch name to define this mode dependency instead of npm publishing */
},
...
```