forked from tuva-health/tuva_blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode-sets.qmd
More file actions
54 lines (30 loc) · 3.13 KB
/
Copy pathcode-sets.qmd
File metadata and controls
54 lines (30 loc) · 3.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Code Sets {.unnumbered}
## Introduction
Healthcare data is made up of many different types of code sets. Each code set is a classification system comprised of anywhere from dozens to hundreds of thousands of distinct codes. Different code sets identify and classify different types of things. For example, ICD-10 is a code set used to classify diseases and procedures while RxNorm is used to identify and classify drugs.
Clinicians do not typically interact with code sets. Rather, they use the EHR to order diagnostics and therapies and enter notes. These orders and notes are then transformed into code sets behind the scenes, often for billing purposes.
Below we describe the various code sets and nuances that are important to understand when using them in analytics.
<!-- ## HCPCS -->
<!-- ## ICD-10 -->
<!-- ## LOINC -->
## NDC
The most important piece of information included on pharmacy claims is the information about the actual medication being prescribed. The National Drug Code (NDC) on a pharmacy claim describes the actual drug being prescribed. NDC is a complex data element so we will spend some time describing it here.
The NDC code set was first introduced in 1972 by the U.S. Food and Drug Administration (FDA). The original NDC consisted of 10 digits broken up into 3 segments:
- 1st Segment: Labeler
- 2nd Segment: Product
- 3rd Segment: Package
The Labeler segment is the only segment assigned by the FDA and it identifies the drug manufacturer i.e. the organization that produced the drug. The product segment identifies specific information about the drug. And the package segment identifies specific information about the package e.g. number of pills.

Today, NDC codes are written as a 10-digit number on drug packaging. You typically find this number near the bar code on the packaging. An additional digit is added, bringing the total to 11 digits, when billing an NDC on a healthcare claim. The 11-digit number follows a 5-4-2 format i.e. 5 digits in the first segment, 4 digits in the second segment, and 2 digits in the third segment. The rules for which segment the additional digit is added to are as follows:
- 4-4-2 becomes 5-4-2
- 5-3-2 becomes 5-4-2
- 5-4-1 becomes 5-4-2
Essentially you add a leading zero to whichever segment needs it.
**Not Just NDCs - Multiple Code Sets**
The NDC is a complicated data element to work with, in part because the field contains entries from other code sets. For example, the NDC field in a claims dataset will also contain:
- NDCs that have not been fully approved by the FDA
- Drug Supply or Medical Device Codes e.g. UPC (Universal Product Code) or HRI (National Health Related Item Codes)
The latter is included because retail pharmacies often sell and bill health insurers for drug supplies and other medical equipment e.g. syringes for insulin.
**One Drug, Many NDCs**
Another thing that makes NDC a complex data element to work with is that there are often many NDCs for the same drug or active ingredient. So answering a question like “which patients have received Drug X?” often requires looking up dozens of NDCs.
<!-- ## RxNorm -->
<!-- ## SNOMED-CT -->