Our custom OHIF Viewer.
Go to file
2019-05-06 16:01:45 -04:00
.circleci Use default config when building for scripts package 2019-04-29 16:17:02 -04:00
.vscode Add dotenv syntax highlighting to list of recommended extensions 2019-04-29 12:58:34 -04:00
conf/conf.d 🧹🧹🧹 Don't mind me. Just moving things around 2019-04-15 16:44:36 -04:00
config moving config files from json to js objects and injecting them at example page 2019-04-26 17:16:41 -03:00
docker Begin laying out keycloak configuration 2019-05-06 16:01:45 -04:00
docs Begin laying out keycloak configuration 2019-05-06 16:01:45 -04:00
extensions Make sure our baseDirectory ends in a forward slash 2019-05-01 13:28:18 -04:00
img Embedded-viewer-diagram assets and images 2019-04-28 11:03:59 -04:00
public Playing with different js configs 2019-05-04 21:49:46 -04:00
src Use first client config to create our UserManager 2019-05-03 21:18:13 -04:00
.babelrc Rollup support for dynamic import 2019-04-29 08:58:15 -04:00
.dockerignore Shift and rename files to match defaults 2019-05-06 13:47:33 -04:00
.env Defaults 2019-04-30 13:37:28 -04:00
.env.example Set ENV variables in scripts instead of in build 2019-04-30 13:36:25 -04:00
.eslintignore Another batch of meteor files 2019-04-16 13:42:54 -04:00
.eslintrc 🧹🧹🧹 Don't mind me. Just moving things around 2019-04-15 16:44:36 -04:00
.gitignore merging with react branch 2019-04-26 22:34:57 -03:00
.jscsrc LT-92: Enabling single line if for return, continue and break statements 2017-01-18 11:01:52 -02:00
.jshintrc Removing cornerstone imports from globals 2017-12-28 08:59:25 -02:00
.prettierrc Default prettier settings 2019-04-25 15:30:46 -04:00
.releaserc Specify branch differently in releaserc 2019-04-26 15:21:07 -04:00
dockerfile-web Rename the simpler dockerfile in root to dockerfile-web 2019-05-04 21:51:26 -04:00
generateStaticSite.sh Make sure our baseDirectory ends in a forward slash 2019-05-01 13:28:18 -04:00
jest.config.js Don't collect coverage from __test__ dirs 2019-04-29 16:23:38 -04:00
LICENSE Autoformat 2019-04-25 15:35:11 -04:00
netlify.toml Try to find ideal defaults 2019-04-29 15:06:17 -04:00
package.json bump(dependencies): Bump ohif-cornerstone-extension to 0.0.28 and react-viewerbase to 0.3.2 2019-04-30 16:47:14 -04:00
README.md Update link to point to react branch 2019-04-29 21:48:38 -04:00
rollup.config.js formatting 2019-04-29 15:53:46 -04:00
yarn.lock bump(dependencies): Bump ohif-cornerstone-extension to 0.0.28 and react-viewerbase to 0.3.2 2019-04-30 16:47:14 -04:00

ohif-viewer

ohif-viewer is a zero-footprint medical image viewer. It is a configurable and exstensible progressive web application with out of the box support for PACS like orthanc, dcm4che, and Google's Healthcare API.


CircleCI codecov All Contributors code style: prettier semantic-release

NPM version NPM downloads MIT License

Why?

Building a web based medical imaging viewer from scratch is time intensive, hard to get right, and expensive. Instead of re-inventing the wheel, you can use the OHIF Viewer as a rock solid platform to build on top of. The Viewer is a React Progressive Web Application that can be embedded in existing applications via it's packaged source (ohif-viewer) or hosted stand-alone. The Viewer exposes configuration and extensions to support workflow customization and advanced functionality at common integration points.

If you're interested in using the OHIF Viewer, but you're not sure it supports your use case check out our docs. Still not sure, or you would like to propose new features? Don't hesitate to create an issue or open a pull request ^_^

Getting Started

This readme is specific to testing and developing locally. If you're more interested in production deployment strategies, you can check out our documentation on publishing.

Want to play around before you dig in? Check out our LIVE Demo

Setup

Requirements:

Steps:

  1. Fork this repository
  2. Clone your forked repository (your origin)
  • git clone git@github.com:YOUR_GITHUB_USERNAME/Viewers.git
  1. Add OHIF/Viewers as a remote repository (the upstream)
  • git remote add upstream git@github.com:OHIF/Viewers.git

Developing Locally

In your cloned repository's root folder, run:

// Restore dependencies
yarn install

// Stands up local server to host Viewer.
// Viewer connects to our public cloud PACS by default
yarn start

For more advanced local development scenarios, like using your own locally hosted PACS and test data, check out our Essential: Getting Started guide.

Contributing

Large portions of the Viewer's functionality are maintained in other repositories. To get a better understanding of the Viewer's architecture and "where things live", read our docs on the Viewer's architecture

It is notoriously difficult to setup multiple dependent repositories for end-to-end testing and development. That's why we recommend writing and running unit tests when adding and modifying features. This allows us to program in isolation without a complex setup, and has the added benefit of producing well-tested business logic.

  1. Clone this repository
  2. Navigate to the project directory, and yarn install
  3. To begin making changes, yarn run dev
  4. To commit changes, run yarn run cm

When creating tests, place the test file "next to" the file you're testing. For example:

// File
index.js

// Test for file
index.test.js

As you add and modify code, jest will watch for uncommitted changes and run your tests, reporting the results to your terminal. Make a pull request with your changes to master, and a core team member will review your work. If you have any questions, please don't hesitate to reach out via a GitHub issue.

Issues

Looking to contribute? Look for the Good First Issue label.

🐛 Bugs

Please file an issue for bugs, missing documentation, or unexpected behavior.

See Bugs

💡 Feature Requests

Please file an issue to suggest new features. Vote on feature requests by adding a 👍. This helps maintainers prioritize what to work on.

See Feature Requests

Questions

For questions related to using the library, please visit our support community, or file an issue on GitHub.

Google Group

License

MIT © OHIF