PipeHat Open PipeHat
HL7 V2 | TABLE 0167

Table 0167: Substitution Status

HL7-defined table of codes which specify the substitution status.

Type
HL7-defined
Codes
11
Introduced
HL7 v2.2
Used in
RXE-9, RXD-11, RXG-10
THO code system
http://terminology.hl7.org/CodeSystem/v2-0167
OID
2.16.840.1.113883.18.85

HL7-defined: The standard fixes the values. PipeHat flags codes outside this list as warnings.

Codes

CodeMeaning
NNo substitute was dispensed. This is equivalent to the default (null) value.
GA generic substitution was dispensed.
TA therapeutic substitution was dispensed.
0No product selection indicated
1Substitution not allowed by prescriber
2Substitution allowed - patient requested product dispensed
3Substitution allowed - pharmacist selected product dispensed
4Substitution allowed - generic drug not in stock
5Substitution allowed - brand drug dispensed as a generic
7Substitution not allowed - brand drug mandated by law
8Substitution allowed - generic drug not available in marketplace

Where it's used

ElementNameFHIR (v2-to-FHIR mapping)
RXE-9—
RXD-11—
RXG-10—

Elements with a dot (such as CX.5) are data type components, used wherever that data type appears.

Source: HL7 Terminology (THO) 7.4.0, published by HL7 International under CC0. Check your trading partner's specification for the values they actually send.