MAGPIE (Map Assisted Generation of Procedure and Intervention Encoding) is an interactive tool to help users (e.g., professional coders, researchers, clinicians) find SNOMED CT and ICD-10-PCS codes for medical procedures and interventions.
SNOMED CT is the designated clinical terminology in the U.S. for clinical problems and procedures in the electronic health record. The SNOMED CT United States (US) Edition is the official source of SNOMED CT for use in U.S. healthcare systems and can be accessed here. ICD-10-PCS is required under the Health Insurance Portability and Accountability Act (HIPAA) for procedures and interventions in hospital inpatient health settings.
MAGPIE is developed in collaboration with the SNOMED CT to ICD-10-PCS Mapping Project Group under SNOMED International. MAGPIE is made available as an NLM research tool and has not been tested in any real life production environment. We welcome feedback on its usability and suggestions for improvement. However, any future development depends on the level of public interest and availability of resources.
In addition to the ICD-10-PCS coding resources (i.e., index, tables and definitions), MAGPIE also uses the UMLS, the General Equivalence Maps (GEM) from ICD-9-CM to ICD-10-PCS and the ICD-9-CM Procedures index (re-purposed for ICD-10-PCS coding) to facilitate code searching. MAGPIE combines lexical and map-assisted searching strategies to look for SNOMED CT, ICD-9-CM and ICD-10-PCS codes sequentially. Lexical matching makes uses of the rich index terms in the re-purposed ICD-9-CM procedure index, synonyms in the UMLS and the ICD-10-PCS index. Map-assisted searching relies on inter-terminology mappings from the GEM and UMLS. MAGPIE first finds the best matching SNOMED CT and ICD-9-CM codes, and suggests a list of ICD-10-PCS tables based on these codes and their mappings. The user can refine the search by changing the SNOMED CT and ICD-9-CM codes. Next, the user picks the ICD-10-PCS table to display, which will open with pre-selected codes suggested by GEM and filtered by keywords from the search phrase (e.g., open, laparoscopic, left, right). The user then picks the ICD-10-PCS codes from the table. If a combination of codes is suggested by GEM, user will be shown the additional clusters of codes that may be relevant. Where appropriate, MAGPIE will prompt the user for refinement of the SNOMED CT code based on the chosen ICD-10-PCS codes.
MAGPIE is developed primarily for the 2018 version of ICD-10-PCS. There is an option to point to the 2019 ICD-10-PCS but the underlying resources are not optimized to work with the newer version. However, most searches should still yield good results.
This tool is designed for educational use only. This tool displays SNOMED Clinical Terms® (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT® was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. Users of the tool must abide by the terms of the UMLS license, available at https://uts.nlm.nih.gov/license.html.
After the user names a procedure, in free text, MAGPIE leads the user to SNOMED CT and PCS procedure codes through a series of guided decisions.
The series of guided decisions is modeled, on the web page, as a sequence of boxes. Each box solicits input. After providing input, the user activates it by choosing Apply. Sometimes, MAGPIE pre-selects what might be the most likely option. If it is suitable, the user may simply proceed to the next box.
At any time, the user may go back up the page and revise an earlier decision.
Between some decision boxes, MAGPIE offers observations about the data. The user may pass right over these, or may expand them to gain insight into MAGPIE’s process.
Detailed example
Type in search term e.g., ligation of fallopian tube bilateral. Picklist appears when typing but using the list is optional. Click Apply.
Optional: look at the list of keywords MAGPIE uses to augment search by clicking the arrow next to “Your search includes key words that help MAGPIE provide more precise suggestions of PCS codes.”
In SNOMED CT panel, Bilateral tubal ligation is selected as default (no action necessary)
Optional: look at the list of synonyms MAGPIE uses to augment search by clicking the arrow next to “Searches of ICD-9-CM and ICD-10-PCS are augmented with the selected SNOMED CT term and 1 UMLS synonym.”
In ICD-9-CM panel, Ligation fallopian tube (bilateral) (remaining) (solitary) is selected as default (no action necessary)
In Candidate PCS Tables panel, select the table 0UL Medical and Surgical | Female Reproductive System | Occlusion. Click Apply.
In PCS Tables panel, table 0UL is displayed with 8 codes pre-selected (based on GEM). Pick correct codes or unselect incorrect ones. Click Apply.
Codes appear in PCS Procedures panel e.g., Occlusion of Bilateral Fallopian Tubes, Open Approach (0UL70ZZ)
A summary of the chosen SNOMED CT code (287664005 Bilateral tubal ligation) and ICD-10-PCS code(s) (0UL70ZZ Occlusion of Bilateral Fallopian Tubes, Open Approach) appears in the Results panel.
If the results are not what you expect, click on the links in the “MAGPIE used default selections to provide approximate results early…” paragraph to review the default choices in the SNOMED CT, ICD-9-CM or PCS Procedures panels.
Click “Back to top of Demo” to return to the beginning panel.
To see additional examples, click the arrow next to “Interesting Examples”.
This tool is designed for educational use only. This tool displays SNOMED Clinical Terms® (SNOMED CT®) which is used by permission of the International Health Terminology Standards Development Organisation (IHTSDO). All rights reserved. SNOMED CT® was originally created by The College of American Pathologists. “SNOMED” and “SNOMED CT” are registered trademarks of the IHTSDO. Users of the tool must abide by the terms of the UMLS license, available at https://uts.nlm.nih.gov/license.html.