HL7 v2 PD1-11 Field Guide: Publicity Code Values and Common Mistakes
PD1-11 is the field standing between a patient's name and the hospital's public directory — get it wrong in either direction and you either expose someone who asked to be left out, or hide someone whose visitors can't find them at the front desk.
PD1-11 is the Publicity Code field, a coded entry indicating whether — and how — a patient's information may be included in facility directories, general publicity, or visitor lookups. It's typically drawn from a locally maintained table rather than a single universal set of values, so its meaning can vary by implementation.
What this field contains
Example
PD1-11 (01^ONE PER PATIENT^SYNTHIBLOCAL) carries a locally coded publicity preference, drawn from a fictional table for this example.
Where this trips people up
Because PD1-11 draws from a locally defined table rather than a fixed HL7 code set, test suites that hardcode a single value or copy a value from one system's table into another system's test messages can end up validating a mapping that doesn't actually exist in production. The safer approach is to test with the receiving system's real table values and to include the no-publicity case explicitly, since that's the one most likely to have real consequences if it's dropped.