Understanding HL7 v2 PID-16: Marital Status in Practice
Marital status code tables vary more between systems than most fields in the PID segment, so an integration validated only against one source system’s code set is likely to reject or mis-map values the moment a second source system with a slightly different table is connected.
PID-16 is the sixteenth field of the HL7 v2 PID segment — it carries a coded value representing the patient’s marital status, used mainly for demographic and registration purposes.
Valid code values
Example
The M in PID-16 marks the patient as married. Synthetic patient — not a real person.
Where this trips people up
Different source systems sometimes use overlapping single-letter codes for different meanings, or extend the table with values like "P" for domestic partner that a receiving system was never configured to accept. A registration interface tested only against one facility’s code table will reject valid messages the moment a second facility with a different table connects.