An NCPDP structured SIG is the coded form of a prescription's directions inside an NCPDP SCRIPT e-prescribing message. Alongside the required free-text SigText, the prescriber system can send discrete fields for action, dose, dose unit, route, frequency, duration, and indication, coded with SNOMED CT and NCI Thesaurus, so the pharmacy can read the directions as data.

This guide is for engineers building e-prescribing and pharmacy software and the informatics leads who review it. It covers data standards, not clinical dosing advice.

What is a structured SIG in NCPDP SCRIPT?

A structured SIG is the optional, coded part of the Sig element in a SCRIPT prescription. The free-text SigText is the only mandatory piece; the structured fields sit next to it and describe the same directions in machine-readable form.

"Sig" is short for a Latin phrase meaning "let it be labeled", and it names the part of a prescription that becomes the patient instructions. For most of e-prescribing's history that line traveled as a single free-text string. Older SCRIPT versions capped that field at 140 characters. With SCRIPT 2017071, NCPDP raised the limit: its announcement of the 2017071 testing tool says directions for use now allow 1,000 characters and are carried in the SigText element.

The coded structure comes from NCPDP's Structured and Codified Sig Format, which the JAMIA study cited below describes as part of the SCRIPT standard. In a June 2019 letter to ONC, NCPDP stated that in SCRIPT 2017071 the Sig segment is mandatory and SigText is the only mandatory data element inside it. So every structured field is optional at the message level, although sending a structured Sig makes a few of its fields required.

Free text stays when you add structure. A 2022 study in JAMIA by Lester and colleagues notes that NCPDP still requires free-text directions for an e-prescription to be complete, and that the free text generated from structured fields must be displayed. Your system has to keep the two in agreement.

Which SCRIPT version is required, and does it carry structured Sig?

Medicare Part D e-prescribing must use a SCRIPT version adopted at 45 CFR 170.205(b). Either 2017071 or 2023011 is allowed during the transition that began July 17, 2024, and 2023011 is the only allowed version from January 1, 2028. Both carry the Sig element with SigText and the optional structured fields.

The rule for Part D lives at 42 CFR 423.160. Paragraph (b)(1) says the communication of a prescription or prescription-related information must comply with a standard in 45 CFR 170.205(b) for NewRx and the other listed transactions. The incorporation-by-reference list in paragraph (c) names SCRIPT 2017071 (ANSI-approved July 28, 2017) and SCRIPT 2023011 (ANSI-approved January 17, 2023). CMS describes the transition on its e-prescribing page: it began on July 17, 2024, the effective date of the final rule, and ends January 1, 2028, when entities must use 2023011 exclusively for Part D. Read the 2023011 guide for Sig changes before assuming your 2017071 mapping carries over unchanged.

For 2017071, 45 CFR 170.205(b)(1) says plainly: "The Secretary's adoption of this standard expires on January 1, 2028." The ONC certification criterion for e-prescribing, §170.315(b)(3), follows the same calendar. Through December 31, 2027 a certified module may use either version; on and after January 1, 2028 it must use 2023011. Our guide to HTI-4 and real-time prescription benefit covers what else changes for (b)(3) modules on that date.

Two parts of §170.315(b)(3) bear directly on Sig construction. Paragraph (b)(3)(ii)(E) limits oral liquid prescribing to mL, not cc, and paragraph (F) requires a leading zero for amounts under one and forbids trailing zeros. Both apply to your UI and generated SigText whether or not you send structured fields.

The ONC Interoperability Standards Platform page on weight-based dosing lists the NCPDP Structured and Codified Sig Format Implementation Guide v2.2 as final and in production but not federally required on its own. The federal requirement attaches to SCRIPT, and the structured Sig rides inside it. It lists SCRIPT 2023011 at pilot maturity.

What are the components of a structured Sig?

The core components are action (dose delivery method), dose, dose unit, route, frequency or interval, duration, and indication, plus less common pieces such as site, vehicle, dose calculation, and maximum dose. ONC implementation notes list the code system, dose, and route as required when a structured Sig is sent, with the rest sent when the prescriber specifies them. The NCPDP guide has its own exceptions to those rules, so check it for your version.

The required-versus-conditional split comes from the ONC ISP notes. The JAMIA study measured seven components in production traffic (action verb, dose, dose unit, frequency, route, duration, and indication) and notes that the value sets come from SNOMED CT and NCI Thesaurus (NCIt). NCI's Enterprise Vocabulary Services publishes the NCPDP terminology subsets, including the DoseUnitOfMeasure subset (C121847) used for the dose unit in the directions. That subset is separate from QuantityUnitOfMeasure, which describes the dispensed quantity (30 tablets, 1 inhaler). A Sig dose unit and a prescription quantity unit come from different lists, and mixing them is a common mapping bug.

ComponentWhat it carriesIllustrative valueTerminologyWhen sent
Code systemThe SNOMED CT and FMT terminology versions used in the SigSNOMED and FMT version stringsn/aRequired with structured Sig
Dose delivery method (action)The verb: take, apply, inhale, injectTake, SNOMED CT 419652001SNOMED CTWith the dose
Dose quantityHow much per administration1NumericRequired with structured Sig
Dose unit of measureThe unit of the dose as the patient counts itTablet, NCIt C48542NCIt (NCPDP DoseUnitOfMeasure)With the dose
Route of administrationHow the drug enters the bodyOral route, SNOMED CT 26643006SNOMED CTListed as required with structured Sig; the IG defines exceptions
FrequencyHow many times per period2 per day (day = SNOMED CT 258703001)Numeric plus SNOMED CT unitWhen specified
Administration timingA time or event: bedtime, with meals, at 8 AMAt bedtimeSNOMED CT or textWhen specified
IntervalTime between dosesEvery 6 hoursNumeric plus SNOMED CT unitWhen specified
DurationHow long to continue10 daysNumeric plus SNOMED CT unitWhen specified
IndicationWhy, including as-needed conditionsAs needed for painSNOMED CT or textWhen specified
Maximum dose restrictionA ceiling per periodDo not exceed 4 doses per dayNumeric plus unitsWhen specified
Dose calculationBody-metric basis for the dosePer kg of body weightNumeric plus unitsWeight- or BSA-based doses
Site and vehicleWhere applied; what it is mixed withLeft eye; in waterSNOMED CT or textWhen specified

The values show shape only. Pull live codes from current NCI EVS and SNOMED CT releases, and confirm qualifiers and cardinality in the licensed NCPDP guide.

NCPDP's Standard Sig task group laid out this design in 2005 testimony to NCVHS, including a dose indicator for "as needed" or "as directed" and a stop segment for the last step of a taper. Dose calculation, dose restriction, vehicle, site, and indication still appear in the ONC notes for 2017071, so a parser that ignores them throws information away.

What does a structured Sig look like in SCRIPT 2017071 XML?

In a 2017071 NewRx, the Sig sits under MedicationPrescribed, with SigText first, then a CodeSystem block, then one or more Instruction blocks that hold dose administration and timing. Here is an illustrative fragment for "Take 1 tablet by mouth twice daily."

<!-- ILLUSTRATIVE ONLY. Element names follow a public open-source model
     of SCRIPT 2017071; qualifiers and versions come from the NCPDP IG. -->
<MedicationPrescribed>
  <!-- drug description, RxNorm/NDC, quantity, refills omitted -->
  <Sig>
    <SigText>Take 1 tablet by mouth twice daily for 10 days</SigText>
    <CodeSystem>
      <SNOMEDVersion>[SNOMED CT release in use]</SNOMEDVersion>
      <FMTVersion>[FMT release in use]</FMTVersion>
    </CodeSystem>
    <Instruction>
      <DoseAdministration>
        <DoseDeliveryMethod>
          <Text>Take</Text>
          <Code>419652001</Code>           <!-- SNOMED CT: Take -->
        </DoseDeliveryMethod>
        <Dosage>
          <DoseQuantity>1</DoseQuantity>
          <DoseUnitOfMeasure>
            <Text>Tablet</Text>
            <Code>C48542</Code>            <!-- NCIt: Tablet Dosing Unit -->
          </DoseUnitOfMeasure>
        </Dosage>
        <RouteOfAdministration>
          <Text>Oral route</Text>
          <Code>26643006</Code>          <!-- SNOMED CT: Oral route -->
        </RouteOfAdministration>
      </DoseAdministration>
      <TimingAndDuration>
        <Frequency>
          <FrequencyNumericValue>2</FrequencyNumericValue>
          <FrequencyUnits>
            <Text>day</Text>
            <Code>258703001</Code>       <!-- SNOMED CT: day -->
          </FrequencyUnits>
        </Frequency>
      </TimingAndDuration>
    </Instruction>
  </Sig>
</MedicationPrescribed>

The element names follow an open-source Go model of the SCRIPT 2017071 schema, which is a convenient public reference but not NCPDP's. The SNOMED CT codes appear in HL7's published value sets for route and administration method, and the NCIt tablet code comes from the NCI EVS NCPDP file. Validate full messages against the NCPDP XSD and your intermediary's certification test cases.

Generate SigText from the structured fields rather than letting the prescriber type both, so they cannot disagree. And log the SNOMED CT and NCIt release you coded against, because NCI reconciles the NCPDP files on the last Monday of each month and the subsets change over time.

Sig codes pharmacy staff use, and which ones cause errors

Pharmacy sig codes are Latin-derived shorthand such as bid, tid, prn, and po. Several others, including QD, QOD, U, IU, cc, SC, and UD, are on the ISMP list of error-prone abbreviations, which explicitly covers electronic prescriptions.

The ISMP List of Error-Prone Abbreviations, Symbols, and Dose Designations is built from reports to the ISMP National Medication Errors Reporting Program and says the listed items should not be used in electronic prescriptions or order entry screens. Items also on The Joint Commission's "Do Not Use" list must appear on an organization's own list.

CodePlain meaningOn ISMP list?What to send instead
poBy mouthNo (ISMP lists "per os" and suggests PO, by mouth, or orally)"by mouth" in SigText; SNOMED CT route code in structure
bidTwice a dayNo"twice daily"; frequency 2 per day
tidThree times a dayNo"3 times daily"; frequency 3 per day
qidFour times a dayNo, but QD is misread as qid"4 times daily"
prnAs neededNo"as needed for [reason]"; indication populated
QD, qdEvery dayYes, Joint Commission do-not-use; mistaken as q.i.d."daily"
QOD, qodEvery other dayYes, Joint Commission do-not-use"every other day"
TIW3 times a weekYes; mistaken as 3 times a day"3 times weekly"
UDAs directedYes; mistaken as unit dose"as directed", and see the parsing section
SC, SQ, sub qSubcutaneouslyYes; SC mistaken as SL"SUBQ" or "subcutaneously"
U, IUUnit(s), international unit(s)Yes, Joint Commission do-not-use"units"
ccCubic centimetersYes; mistaken as u"mL" (also required by §170.315(b)(3) for oral liquids)
1.0 mg, .5 mgTrailing zero, missing leading zeroYes, Joint Commission do-not-use"1 mg", "0.5 mg" (also required by §170.315(b)(3))

The ISMP rows come from the 2024 list; bid, tid, qid, and prn are ordinary shorthand that ISMP does not list. In software, that suggests accepting shorthand as input where users want it, expanding it before it reaches SigText, and never emitting an ISMP-listed abbreviation in a transmitted message.

Why free-text sigs still go wrong

About one in ten free-text Sigs in a large 2018 sample had a problem serious enough to confuse a pharmacy, and structured directions showed a similar issue rate in a 2022 study.

Yang and colleagues (J Manag Care Spec Pharm, 2018) reviewed 25,000 new e-prescriptions from 22,152 community prescribers using 501 different EHR or e-prescribing applications. They found 832 different ways of writing "take one tablet by mouth once daily" and 3,797 unique Sig concepts overall. Of the 25,000 Sigs, 2,516 (10.1 percent) had at least one quality-related event that reviewers judged likely to cause confusion or a callback to the prescriber. Missing dose made up 53.6 percent of those events, missing site (mostly topicals) 17.0 percent, and non-Sig information typed into the Sig field 15.8 percent. Missing frequency was only 2.0 percent.

The JAMIA study by Lester and colleagues (2022) started from 3.8 million e-prescriptions sent from 2019 to 2021. Among the 1,270,110 from business accounts that had turned on the structured format, 32.4 percent contained at least one direction component in structured form, with individual organizations reaching up to 60 percent. Across the whole market the share was lower: the paper cites 10.72 percent of more than 2.1 billion new e-prescriptions in 2020. Earlier research estimated the format could represent 95 percent of directions. Structured Sigs included most components more often than free-text-only directions, except indication (6.6 percent versus 18.5 percent). Structured directions still had quality issues in 10.3 percent of cases. Frequency produced the most issues by count, 7.1 percent of structured frequency components, mostly duplicated or misspecified values. Indication had the highest rate: 34.2 percent of structured indications were flagged, nearly all because a nonspecific code was used when a specific one existed.

The Sig builder UI matters as much as the message format. If a prescriber can pick "daily" in a frequency field and also type "twice a day" in free text, the pharmacy receives two instructions that disagree, and one of them is coded.

How do you convert a free-text Sig to structured fields?

Parse conservatively. Map only the parts you can map with confidence, keep the original text as SigText, and leave out structured components you cannot represent faithfully. Our own rule is stricter than the standard requires: if the structure would read as complete while dropping part of the meaning, such as the later steps of a taper, we send free text only.

Parsers usually lose meaning in these cases.

  • Ranges. "Take 1 to 2 tablets every 4 to 6 hours" carries a dose range and an interval range. Storing only the first number turns a range into a fixed dose. The JAMIA paper lists a dose range modifier among the structured components, so represent both ends instead of picking one.
  • Tapers. A prednisone-style taper is several regimens in sequence. NIST's complex-directions test message, written for the older SCRIPT 10.6, encodes one as repeating structured Sig blocks, each with a sequence number and a THEN modifier. Element names differ in 2017071, so check the current guide, but the idea holds: collapsing a taper into one instruction drops every step after the first.
  • Concurrent regimens. "1 tablet in the morning and 2 at bedtime" is two instructions joined by AND, not 3 per day.
  • Twice daily versus every 12 hours. One is a frequency and the other an interval; map what the prescriber wrote instead of converting.
  • Text that does not belong in the Sig. Notes such as "please dispense generic" or pharmacy messages typed into the directions were 15.8 percent of the quality events in the Yang study. Detect them and keep them out of the structured instruction.
  • "As directed." A Sig that says only "use as directed" has no dose, frequency, or route to code. Leave the structure out and treat it as a prompt for the prescriber to be specific.
  • As needed without a reason. "prn" alone leaves the indication empty, which the JAMIA data shows is already the weakest component. Prompt for "as needed for" text or a code.
  • Weight-based doses. "40 mg/kg/day divided 3 times daily" needs dose calculation fields plus the patient's weight. ONC notes that 2017071 expects height and weight for patients 18 and younger.
  • Maximum dose language. "Not to exceed 6 in 24 hours" is a dose restriction. Dropping it removes the one safety limit the prescriber wrote down.
  • Abbreviations with two readings. "OD" means once daily to some prescribers and right eye to others, and the ISMP list records the confusion. Never auto-resolve an ambiguous token; send it back for review.

A practical pipeline looks like this:

  1. Normalize the text: expand approved abbreviations, fix decimal formatting (leading zero, no trailing zero), convert cc to mL.
  2. Tokenize into action, dose, unit, route, timing, duration, indication, and restriction candidates.
  3. Detect structure that changes the shape of the Sig: ranges, THEN and AND joins, as-needed, as-directed, weight-based math.
  4. Map each candidate to a code from the current SNOMED CT and NCIt releases, recording the version.
  5. Regenerate a sentence from the structure and compare it with the normalized original. Exact match after normalization can go out; anything else goes to a review queue rather than to an automated judgment about whether the meaning changed.
  6. Validate the message against the XSD and your intermediary's test cases, then keep a sample of real Sigs as a regression suite.

Where structured Sig fits in the rest of your e-prescribing build

Structured Sig data lets downstream checks use dose and frequency, not only drug names. Dose-range checks and days-supply math depend on both.

If you are adding medication safety logic, our guide to adding drug interaction checking to an EHR lays out the build, buy, and API options. For intermediary setup, see our WENO Exchange e-prescribing integration guide. Orisan Sage evaluates a full medication list at once and explains the mechanism behind each interaction, and it also offers structured SIG generation through its drug information API for health software. We build and audit e-prescribing interfaces through our HL7, FHIR, and EDI integration work.

A good first step is to pull a week of outbound NewRx messages and count three things: how many carry any structured Sig, how many SigText strings contain an ISMP-listed abbreviation, and how many structured Sigs disagree with their own SigText. To find disagreements, regenerate a sentence from each structured Sig and diff it against the SigText after normalizing case and abbreviations. The counts show where to start looking before the 2023011 cutover on January 1, 2028. If you want a second set of eyes on the results, get in touch.