简体   繁体   中英

HL7 PID segment

I have some misunderstanding issues with HL7 specially in PID segment. if we have a patient has two different names, how can we build the PID-5 using the two names? Example the previous name Han John Burke the current name Han Robert Mat Any idea guys

PID-5 is a repeating field:

|name-1^components~name-2^components|

if a system doesn't support repeating components, it doesn't support multiple names

You may use the repeating character to separate the two names within PID.5, but ultimately it depends on what the system you're integrating with accepts. I found a standard HL7 spec from one EMR vendor that states if the HL7 version is greater than 2.2, PID.5.7 will populate with L, and if there are multiple other names PID.5.7 will populate with an M. The M may be a required flag to show that there is an additional name. For HL7 versions less than 2.2 PID.5.7 may not be used. You may need to have additional carats put in place until the 7th sub-component for it to work as well.

I tested this in our test system and the result is below. You can see the M was used multiple times because there were multiple other versions of this person's name. Hope this helps! Thanks!

|TEST^FAITH^^^^^M~test^hello^^^^^M~maiden^faith^^^^^M|

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM