Skip to content

HL7 & FHIR mapping guide

PID to FHIR Patient: Identifiers, Names and Demographics

The PID segment contains patient-identification and demographic data. A correct PID to Patient mapping depends on the source version, composite datatype and field meaning. Patient names, local identifiers and contact values should remain distinguishable; none of them alone establishes a verified patient match across systems.

Start with patient identifiers

PID-3 carries the supported patient identifier list. The converter handles the implemented CX components and preserves identifier type and authority information where available. Do not treat a generated Patient.id as a replacement for a source identifier. V2Lift resource IDs are derived from the canonical parsed message and resource position, so changed messages can create changed resource IDs.

Identifier corrections and merges require event context. In the supported A47 projection, prior MRG-1 identifiers become old identifiers on one Patient. In A40, prior and surviving patient identities have directed replacement links. A demographic update should not acquire either behavior just because an identifier looks similar.

Review the implemented Patient field subset

The current handler surface includes PID-3/5/7/8/9/11/13/14/16/23/24/25/29/30. Applicability and datatype support still depend on source version and field constraints. The table below highlights common mappings; it is not a guarantee that every component, repetition or code is transformed.

PID fieldFHIR R4 targetImportant condition
PID-3Patient.identifierIdentifier components and namespace
PID-5 / PID-9Patient.nameSupported name components and use
PID-7Patient.birthDatePreserve available date precision
PID-8Patient.genderSupported administrative values
PID-11Patient.addressStructured address components
PID-13 / PID-14Patient.telecomSupported system and use
PID-16Patient.maritalStatusPinned vocabulary translation

Keep birth date and birth time independent

A valid date of birth is retained at its available precision. The conditional birth-time extension is a separate assignment and requires a supported timestamp with an explicit offset. Overriding the birthDate mapping must not remove the independent extension rule merely because both originate from PID-7.

The converter does not invent a timezone for a local full timestamp. A partial date is also not expanded to a fabricated day or midnight. Review source constraints and mapped field details when a date appears shorter than expected; retained source precision is different from missing data.

Map names and contact details with their source datatypes

XPN names, XAD addresses and supported telecom structures need explicit handlers. A display string is not a substitute for a structured family name, street or phone use. Unsupported name-use or telecom-use values remain unmapped rather than being assigned a plausible target code.

Some source fields are withdrawn in later versions. A value may therefore be preserved as raw source context while its modern clinical mapping is refused. Checking only the field number is insufficient; the declared version and verified field-role definition matter.

Respect FHIR choice fields and vocabulary differences

Multiple-birth and deceased values need consistent choice handling. In the supported policy, birth order takes precedence over a multiple-birth boolean, and death time takes precedence over a deceased boolean. Conflicting death information is rejected rather than producing mutually inconsistent Patient values.

Marital-status codes use a pinned source-to-target translation. Identical letters do not necessarily mean identical concepts across HL7 and FHIR vocabularies. Administrative gender is likewise a supported translation, not a general inference about a person from their name or other demographic values.

Check mapping origin and remaining components

In the workspace, select a PID field to see whether the applied mapping came from the pinned IG catalog, a source-version compatibility policy or an approved learned rule. Review the target path and warnings. A row-hit count is an assignment count; it does not establish lossless coverage of all components in a populated field.

Use the patient-link and identifier-correction demos to inspect identity semantics, then compare a normal admission example. The public demo accepts synthetic data only. It is not a master patient index, identity-verification service or a production patient-record repository.

Common questions

Is PID-3 the same as FHIR Patient.id?

No. PID-3 contributes source identifiers. Patient.id addresses the generated resource representation; V2Lift does not use it as an enterprise identity reconciliation key.

Does a mapped PID field mean every component is supported?

No. A typed handler can support selected components while others remain outside its implemented surface. Inspect field details, source findings and unmapped data.

Source references and implementation scope

These guides explain the implemented V2Lift subset. Source specifications and guide requirements must be checked for the actual interface; the hosted workspace is a synthetic demonstration.

Follow the mapping in the workspace.

Inspect a synthetic message, review field origins and compare source findings with FHIR R4 checks.

Open the converter →

Continue reading

Related mapping guides.