Awesome
<a href='https://docs.b2ihealthcare.com/snow-owl/'><img src='logo/logo-title.png' height='80' alt='Snow Owl Logo' /></a>
Snow Owl<sup>®</sup> is a highly scalable, open source terminology server with revision-control capabilities and collaborative authoring platform features. It allows you to store, search and author high volumes of terminology artifacts quickly and efficiently. If you’d like to see Snow Owl in action, the Snowray Terminology Service™ provides a managed terminology server and high-quality terminology content management from your web browser.
Introduction
Features include:
- Revision-controlled authoring
- Maintains multiple versions (including unpublished and published) for each terminology artifact and provides APIs to access them all
- Independent work branches offer work-in-process isolation, external business workflow integration and team collaboration
- SNOMED CT and others
- SNOMED CT terminology support
- RF2 Release File Specification as of 2024-10-01
- Support for Relationships with concrete values
- Official and Custom Reference Sets
- Expression Constraint Language v2.2.0 spec, implementation
- Compositional Grammar 2.3.1 spec, implementation
- Expression Template Language 1.0.0 spec, implementation
- LOINC, ICD-10 (+ modifications) and Custom CodeSystems are available when licensed
- With its modular design, the server can maintain multiple terminologies (including local codes, mapping sets, value sets)
- SNOMED CT terminology support
- Various sets of APIs
- FHIR Terminology Service API supporting R4/R4B/R5 formats spec
- RESTful and native Java APIs for advanced use cases
- CIS API 1.0 see reference implementation
- Highly extensible and configurable
- Simple to use plug-in system makes it easy to develop and add new terminology tooling/API or any other functionality
- Built on top of Elasticsearch (highly scalable, distributed, open source search engine)
- Connect to your existing cluster or use the embedded instance (supports up to Elasticsearch 8.x)
- All the power of Elasticsearch is available (full-text search features, monitoring, machine-learning, analytics and many more)
Download
{% hint style="info" %} This distribution only includes features licensed under the Apache 2.0 license. To get access to the full set of features, please contact B2i Healthcare. {% endhint %}
View the detailed release notes here.
Not the version you're looking for? View past releases.
Install and Run
NOTE: You need to have at least version 17 of the JDK installed for local builds and running the development environment. Official releases include the runtime.
Once you have downloaded the appropriate package:
- Run
bin/snowowl.sh
on unix, orbin/snowowl.bat
on windows - Run
curl http://localhost:8080/snowowl/info
to access server health status information - Run
curl http://localhost:8080/snowowl/fhir/metadata
to access FHIR terminology capabilities - Navigate to
http://localhost:8080/snowowl
to access the REST API documentation page - Find more information about Snow Owl here in the official docs
Building from source
Snow Owl uses Maven for its build system. In order to create a distribution, simply run the following command in the cloned directory.
./mvnw clean package
The distribution packages can be found in the releng/com.b2international.snowowl.server.update/target
folder, when the build is complete.
To run the test cases, use the following command:
./mvnw clean verify
Development
These instructions will get Snow Owl up and running on your local machine for development and testing purposes.
Prerequisites
Snow Owl is an Equinox-OSGi based server. To develop plug-ins for Snow Owl you need to use Eclipse as IDE:
- Download Eclipse IDE for Eclipse Committers 2023-12 package from here: https://www.eclipse.org/downloads/packages/release/2023-12/r/eclipse-ide-eclipse-committers
Required Eclipse plug-ins in order (install the listed features via Help
→ Install New Software...
):
Note: you may have to untick the Show only the latest versions of the available software
checkbox to get older versions of a feature. Please use the exact version specified below, not the latest point release.
- Groovy Development Tools (https://groovy.jfrog.io/ui/native/plugins-release/e4.30 or https://groovy.jfrog.io/artifactory/plugins-release-local/org/codehaus/groovy/groovy-eclipse-integration/5.2.0/e4.30)
- Eclipse Groovy Development Tools - 5.2.0 (in category "Main Package")
- MWE2 (https://download.eclipse.org/modeling/emft/mwe/updates/releases/2.16.0/)
- MWE SDK 1.10.0 (MWE)
- Xtext/Xtend (https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.33.0/)
- Xtend IDE 2.33.0 (Xtext)
- Xtext Complete SDK 2.33.0 (Xtext)
Eclipse Preferences
Make sure you have the following preferences enabled/disabled.
- Plug-in development API baseline errors is set to Ignored (Preferences > Plug-in Development > API Baselines)
- The Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-clean-plugin:2.5:clean type of errors can be ignored or changed to Warnings in Preferences→Maven→Errors/Warnings.
- Set the workspace encoding to UTF-8 (Preferences→General→Workspace)
- Set the line endings to Unix style (Preferences→General→Workspace)
- Set the number of imports and static imports wildcard limit to 5 (Preferences→Java→Code Style→Organize Imports)
Git configuration
- Make sure the Git line endings are set to input (Preferences→Team→Git→Configuration - add key if missing core.autocrlf = input)
Maven Settings
- Make sure the
settings.xml
in your ~/.m2/settings.xml location is updated with the content from thesettings.xml
from this repository's root folder.
First steps
- Import all projects into your Eclipse workspace and wait for the build to complete
- Select all projects and hit
Alt
+F5
and trigger an update to all Maven projects manually (to download dependencies from Maven) - Open the
target-platform/target-platform.target
file - Wait until Eclipse resolves the target platform (click on the
Resolve
button if it refuses to do so) and then click onSet as Active Target platform
- Wait until the build is complete and you have no compile errors
- Launch
snow-owl-oss
launch configuration in the Run Configurations menu - Navigate to
http://localhost:8080/snowowl
Contributing
Please see CONTRIBUTING.md for details.
Versioning
Our releases use semantic versioning. You can find a chronologically ordered list of notable changes in CHANGELOG.md.
License
This project is licensed under the Apache 2.0 License. See LICENSE for details and refer to NOTICE for additional licensing notes and uses of third-party components.
Acknowledgements
In March 2015, SNOMED International generously licensed the Snow Owl Terminology Server components supporting SNOMED CT. They subsequently made the licensed code available to their members and the global community under an open-source license.
In March 2017, NHS Digital licensed the Snow Owl Terminology Server to support the mandatory adoption of SNOMED CT throughout all care settings in the United Kingdom by April 2020. In addition to driving the UK’s clinical terminology efforts by providing a platform to author national clinical codes, Snow Owl will support the maintenance and improvement of the dm+d drug extension which alone is used in over 156 million electronic prescriptions per month. Improvements to the terminology server made under this agreement will be made available to the global community.
Many other organizations have directly and indirectly contributed to Snow Owl, including: Singapore Ministry of Health; American Dental Association; University of Nebraska Medical Center (USA); Federal Public Service of Public Health (Belgium); Danish Health Data Authority; Health and Welfare Information Systems Centre (Estonia); Department of Health (Ireland); New Zealand Ministry of Health; Norwegian Directorate of eHealth; Integrated Health Information Systems (Singapore); National Board of Health and Welfare (Sweden); eHealth Suisse (Switzerland); and the National Library of Medicine (USA).