You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

关于HL7 PID-5字段多患者姓名构建的技术咨询

Handling Multiple Patient Names in HL7 PID-5 Field

Great question! Managing multiple patient names (like a former name and current legal name) in HL7's PID segment is a common use case, and the HL7 standard provides a straightforward way to structure this using the repeating nature of PID-5 and name type codes.

Here's how to implement it properly:

  • Use PID-5 as a repeating field: HL7 allows PID-5 (Patient Name) to repeat, so you can include a separate instance of PID-5 for each distinct name the patient has. Repeating fields in HL7 are separated by the ~ character.
  • Specify the name type in PID-5.5: Each PID-5 instance includes a component (PID-5.5) for the name type code. Use the standard HL7 0006 code set to distinguish between name types:
    • For the current/legal name, use the code L (Legal Name) — this is the most widely accepted code for a patient's official current name.
    • For former/alias names, use the code A (Alias Name). If the former name is a maiden name specifically, you could use M, but A works for any previous legal name.

Example HL7 PID Segment Snippet

PID|||PAT-12345||Mat^Han^Robert^||19800101|M|||123 Oak Ave^^Portland^OR^97201^USA||503-555-1234||||||987654321|||L~Burke^Han^John^||||||||||A

Breaking this down:

  • The first PID-5 instance (Mat^Han^Robert^...|||L) is the patient's current legal name, marked with type code L.
  • The second PID-5 instance (Burke^Han^John^...|||A) is the former name, marked with type code A, separated from the first by ~.

Key Best Practices

  • Always list the current/primary name first as the initial PID-5 instance — this is standard practice to ensure receiving systems prioritize the most relevant name.
  • If you need to include additional name types (like nicknames), use the appropriate code from the HL7 0006 set (e.g., N for Nickname).
  • Confirm with the receiving system which name type codes they support, as some systems may have specific preferences or restrictions.

内容的提问来源于stack exchange,提问作者Sam

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 11:09:04