Enabling Custom Mapping Reference Sets in Snowstorm

Just a quick note on something I’ve been working on.

My team is developing a SNOMED CT to ICD-9-CM mapping to help support the use of SNOMED CT as a procedure coding system here in Thailand. ICD-9-CM is still required for claim submissions, so we need an easy way to convert SNOMED codes to ICD-9-CM.

I’m building the mapping as an extended map reference set, based on the same structure SNOMED International uses for their ICD-10 map. Then I package it up as an RF2 release.

Once you upload that package to Snowstorm, it’ll work just fine through the Snowstorm API. But—it won’t work with the FHIR $translate API out of the box.

I reached out to Kai Kewley from SNOMED International, and he shared how to get it working. I’m sharing it here in case it helps someone else.

You’ll need to add two lines to Snowstorm’s configuration. If you’re using Docker, just pop them into your docker-compose.yml like this:

environment:
  - codesystem.config.{CodeSystemShortName}={Name}|{DefaultModule}|{CountryCode}|{Owner}
  - fhir.conceptmap.snomed-implicit.{SNOMED-Refset-ID}={NAME}|{source-system}|{target-system}|{equivalence (Optional)}

The first one registers your custom SNOMED edition. The second one sets up the mapping as a ConceptMap for FHIR $translate.

Here’s what mine looks like:

environment:
  - codesystem.config.SNOMEDCT-TH=Thai Edition|11000319100|th|Thai NRC
  - fhir.conceptmap.snomed-implicit.91000319106=SNOMED CT to ICD-9-CM extended map|http://snomed.info/sct|http://hl7.org/fhir/sid/icd-9-cm|

After adding the config, restart Snowstorm and try this endpoint:

{{BaseUrl}}/ConceptMap/$translate?code=372262002&system=http://snomed.info/sct&version=http://snomed.info/sct/11000319100&targetsystem=http://hl7.org/fhir/sid/icd-9-cm

You should get back the mapped ICD-9-CM code.

Big thanks to Kai for the help. Hopefully this saves someone else a bit of time.


Rath Panyowat Avatar

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

©2025 Rath Panyowat. All rights reserved.