1. Create a cluster & API Key at elastic.co. Don’t create any indexes! Those will get created via the steps below!

  2. Get the snowstorm.jar from the snowstorm releases page

  3. Download the SNOMED data set

  4. Run snowstorm locally locally via

    java -Xms2g -Xmx4g -jar snowstorm-10.4.2.jar \\
        '--elasticsearch.urls=$ELASTICSEARCH_URL' \\
        '--elasticsearch.api-key=$ELASTICSEARCH_APIKEY'
    
  5. Navigate to http://localhost:8080

  6. Make a POST request to create an import of type SNAPSHOT . This isn’t the default value!

    image.png

  7. Grab the location field

    image.png

  8. Start an archive job with the .zip file from SNOMED. This will take awhile - do this on a wired connection if possible!

    curl -X POST \\
      --header 'Content-Type: multipart/form-data' \\
      --header 'Accept: application/json' \\
      -F file=@SnomedCT_ManagedServiceUS_PRODUCTION_US1000124_20240901T120000Z.zip \\
      '[<http://localhost:8080/imports/6076dd99-4d70-43a4-9110-ed7b9a55568f/archive>](<http://localhost:8080/imports/6076dd99-4d70-43a4-9110-ed7b9a55568f/archive>)'
    
  9. Watch the concepts get saved in batches

    image.png