HL7 EDI 报文标准
HL7 是医疗健康行业常用的数据交换标准之一,主要用于医院信息系统、检验系统、影像系统、电子病历系统、收费系统和第三方医疗平台之间的数据交换。通过 HL7 报文,医疗机构可以实现患者信息、就诊记录、医嘱、检查申请、检验结果、账单信息和临床文档等数据的标准化传输,提高医疗系统之间的互联互通能力。
什么是 HL7?
HL7,全称为 Health Level Seven,是一套面向医疗健康行业的信息交换标准。它定义了不同医疗系统之间交换数据时所使用的报文结构、字段含义、事件触发方式和通信规则。
在实际项目中,HL7 常用于医院内部系统集成,例如 HIS、LIS、RIS、PACS、EMR、医保系统、收费系统和体检系统之间的数据交换。HL7 可以帮助不同厂商、不同平台、不同数据库之间的医疗系统按照统一格式传输业务数据。
HL7 与 HL7 v2、HL7 v3、FHIR 的关系
HL7 是一个标准体系,其中较常见的包括 HL7 v2、HL7 v3、CDA 和 FHIR 等不同标准形式。
HL7 v2 是目前医疗机构系统集成中最常见的报文标准之一,常用于患者入院、转科、出院、医嘱、检查结果、账单等消息交换。HL7 v3 更强调模型化和语义一致性,CDA 常用于临床文档交换,FHIR 则更适合现代 Web API 和移动医疗场景。
对于传统医院系统集成和 EDI 项目来说,HL7 v2.x 报文仍然非常常见。
HL7 常见应用场景
HL7 常用于医疗机构内部及外部系统之间的数据交换,包括:
- 患者建档、入院、转科和出院信息同步。
- 医嘱下达与检查申请。
- 检验结果和影像结果回传。
- 收费、账单和财务交易信息同步。
- 临床文档和病历信息交换。
- 床位状态、患者状态和就诊状态更新。
- 医院系统与第三方平台之间的数据集成。
- 医疗设备、实验室系统和业务系统之间的数据自动流转。
通过 HL7 报文,医疗机构可以减少系统间重复录入,提高医疗数据传输效率和准确性。
常见 HL7 交易类型
常见的 HL7 报文类型包括:
- ACK:通用确认消息,用于确认报文是否被接收或处理。
- ADT:患者管理消息,用于患者入院、出院、转科、登记和信息更新。
- ORM:医嘱消息,用于发送检查、检验、治疗等医嘱请求。
- ORU:检查或检验结果消息,用于回传检验结果、检查结果和观察结果。
- DFT:详细财务交易消息,用于传输收费、账单和财务交易信息。
- BAR:账务账户消息,用于新增、修改或清理患者账户信息。
- MDM:医疗文档管理消息,用于传输临床文档、病历或报告。
- SIU:排班与预约消息,用于预约、排班、取消预约和修改预约。
- QRY:查询消息,用于系统之间发起患者、结果或业务数据查询。
- RSP:查询响应消息,用于返回查询结果。
- VXU:疫苗接种更新消息,用于传输疫苗接种相关信息。
- MFN:主文件通知消息,用于同步医生、科室、项目、字典等主数据。
- MFQ:主文件查询消息,用于查询主数据信息。
其中,ADT 通常用于患者信息流转,ORM 用于医嘱传输,ORU 用于结果回传,ACK 用于确认消息处理状态,这些都是医疗系统集成项目中较常见的 HL7 报文类型。
| 交易类型 | 事件 | 2.0 | 2.0D | 2.1 | 2.2 | 2.3 | 2.3.1 | 2.4 | 2.5 | 2.5.1 | 2.6 | 业务含义 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ACK | – | General acknowledgment message | ||||||||||
| ADR | – | ADT response | ||||||||||
| ADR | A19 | Patient query | ||||||||||
| ADT | – | ADT message | ||||||||||
| ADT | A01 | Admit/visit notification | ||||||||||
| ADT | A02 | Transfer a patient | ||||||||||
| ADT | A03 | Discharge/end visit | ||||||||||
| ADT | A04 | Register a patient | ||||||||||
| ADT | A05 | Pre-admit a patient | ||||||||||
| ADT | A06 | Change an outpatient to an inpatient | ||||||||||
| ADT | A07 | Change an inpatient to an outpatient | ||||||||||
| ADT | A08 | Update patient information | ||||||||||
| ADT | A09 | Patient departing – tracking | ||||||||||
| ADT | A10 | Patient arriving – tracking | ||||||||||
| ADT | A11 | Cancel admit/visit notification | ||||||||||
| ADT | A12 | Cancel transfer | ||||||||||
| ADT | A13 | Cancel discharge/end visit | ||||||||||
| ADT | A14 | Pending admit | ||||||||||
| ADT | A15 | Pending transfer | ||||||||||
| ADT | A16 | Pending discharge | ||||||||||
| ADT | A17 | Swap patients | ||||||||||
| ADT | A18 | Merge patient information | ||||||||||
| ADT | A19 | Patient query | ||||||||||
| ADT | A20 | Bed status update | ||||||||||
| ADT | A21 | Patient goes on a “leave of absence” | ||||||||||
| ADT | A22 | Patient returns from a “leave of absence” | ||||||||||
| ADT | A23 | Delete a patient record | ||||||||||
| ADT | A24 | Link patient information | ||||||||||
| ADT | A25 | Cancel pending discharge | ||||||||||
| ADT | A26 | Cancel pending transfer | ||||||||||
| ADT | A27 | Cancel pending admit | ||||||||||
| ADT | A28 | Add person information | ||||||||||
| ADT | A29 | Delete person information | ||||||||||
| ADT | A30 | Merge person information | ||||||||||
| ADT | A31 | Update person information | ||||||||||
| ADT | A32 | Cancel patient arriving – tracking | ||||||||||
| ADT | A33 | Cancel patient departing – tracking | ||||||||||
| ADT | A34 | Merge patient information – patient ID only | ||||||||||
| ADT | A35 | Merge patient information – account number only | ||||||||||
| ADT | A36 | Merge patient information – patient ID and account number | ||||||||||
| ADT | A37 | Unlink patient information | ||||||||||
| ADT | A38 | Cancel pre-admit | ||||||||||
| ADT | A39 | Merge person – patient ID | ||||||||||
| ADT | A40 | Merge patient – patient identifier list | ||||||||||
| ADT | A41 | Merge account – patient account number | ||||||||||
| ADT | A42 | Merge visit – visit number | ||||||||||
| ADT | A43 | Move patient information – patient identifier list | ||||||||||
| ADT | A44 | Move account information – patient account number | ||||||||||
| ADT | A45 | Move visit information – visit number | ||||||||||
| ADT | A46 | Change patient ID | ||||||||||
| ADT | A47 | Change patient identifier list | ||||||||||
| ADT | A48 | Change alternate patient ID | ||||||||||
| ADT | A49 | Change patient account number | ||||||||||
| ADT | A50 | Change visit number | ||||||||||
| ADT | A51 | Change alternate visit ID | ||||||||||
| ADT | A52 | Cancel leave of absence for a patient | ||||||||||
| ADT | A53 | Cancel patient returns from a leave of absence | ||||||||||
| ADT | A54 | Change attending doctor | ||||||||||
| ADT | A55 | Cancel change attending doctor | ||||||||||
| ADT | A60 | Update allergy information | ||||||||||
| ADT | A61 | Change consulting doctor | ||||||||||
| ADT | A62 | Cancel change consulting doctor | ||||||||||
| ARD | – | Ancillary Report (Display) | ||||||||||
| ARD | A19 | Patient query | ||||||||||
| BAR | – | Add/Change Billing Account | ||||||||||
| BAR | P01 | Add patient accounts | ||||||||||
| BAR | P02 | Purge patient accounts | ||||||||||
| BAR | P05 | Update account | ||||||||||
| BAR | P06 | End account | ||||||||||
| BAR | P10 | Transmit Ambulatory Payment Classification (APC) | ||||||||||
| BAR | P12 | Update Diagnosis/Procedure | ||||||||||
| BPS | O29 | Blood product dispense status | ||||||||||
| BRP | O30 | Blood product dispense status acknowledgment | ||||||||||
| BRT | O32 | Blood product transfusion/disposition acknowledgment | ||||||||||
| BTS | O31 | Blood product transfusion/disposition | ||||||||||
| CRM | – | Clinical study registration | ||||||||||
| CRM | C01 | Register a patient on a clinical trial | ||||||||||
| CRM | C02 | Cancel a patient registration on clinical trial (for clerical mistakes only) | ||||||||||
| CRM | C03 | Correct/update registration information | ||||||||||
| CRM | C04 | Patient has gone off a clinical trial | ||||||||||
| CRM | C05 | Patient enters phase of clinical trial | ||||||||||
| CRM | C06 | Cancel patient entering a phase (clerical mistake) | ||||||||||
| CRM | C07 | Correct/update phase information | ||||||||||
| CRM | C08 | Patient has gone off phase of clinical trial | ||||||||||
| CSU | – | Unsolicited clinical study data | ||||||||||
| CSU | C09 | Automated time intervals for reporting, like monthly | ||||||||||
| CSU | C10 | Patient completes the clinical trial | ||||||||||
| CSU | C11 | Patient completes a phase of the clinical trial | ||||||||||
| CSU | C12 | Update/correction of patient order/result information | ||||||||||
| DFT | – | Detail financial transaction | ||||||||||
| DFT | P03 | Post detail financial transaction | ||||||||||
| DFT | P11 | Post Detail Financial Transactions – New | ||||||||||
| DOC | – | Document Response | ||||||||||
| DOC | T12 | Document query | ||||||||||
| DSR | – | Display response | ||||||||||
| DSR | Q01 | Query sent for immediate response | ||||||||||
| DSR | Q03 | Deferred response to a query | ||||||||||
| DSR | Q05 | Unsolicited display update | ||||||||||
| DSR | R03 | Display-oriented results, query/unsol. update (for backward compatibility only) | ||||||||||
| DSR | R05 | query for display results | ||||||||||
| EAC | U07 | Automated equipment command | ||||||||||
| EAN | U09 | Automated equipment notification | ||||||||||
| EAR | U08 | Automated equipment response | ||||||||||
| EDR | – | Enhanced display response | ||||||||||
| EDR | R07 | Enhanced Display Response | ||||||||||
| EHC | E01 | Submit HealthCare Services Invoice | ||||||||||
| EHC | E02 | Cancel HealthCare Services Invoice | ||||||||||
| EHC | E04 | Re-Assess HealthCare Services Invoice Request | ||||||||||
| EHC | E10 | Edit/Adjudication Results | ||||||||||
| EHC | E12 | Request Additional Information | ||||||||||
| EHC | E13 | Additional Information Response | ||||||||||
| EHC | E15 | Payment/Remittance Advice | ||||||||||
| EHC | E20 | Submit Authorization Request | ||||||||||
| EHC | E21 | Cancel Authorization Request | ||||||||||
| EHC | E24 | Authorization Response | ||||||||||
| EQQ | – | Embedded query language query | ||||||||||
| EQQ | Q04 | Embedded query language query | ||||||||||
| ERP | – | Event replay response | ||||||||||
| ERP | R09 | Event Replay Response | ||||||||||
| ESR | U02 | Automated equipment status request | ||||||||||
| ESU | U01 | Automated equipment status update | ||||||||||
| INR | U06 | Automated equipment inventory request | ||||||||||
| INU | U05 | Automated equipment inventory update | ||||||||||
| LSR | U13 | Automated equipment log/service request | ||||||||||
| LSU | U12 | Automated equipment log/service update | ||||||||||
| MCF | – | Delayed Acknowledgement | ||||||||||
| MDM | T01 | Original document notification | ||||||||||
| MDM | T02 | Original document notification and content | ||||||||||
| MDM | T03 | Document status change notification | ||||||||||
| MDM | T04 | Document status change notification and content | ||||||||||
| MDM | T05 | Document addendum notification | ||||||||||
| MDM | T06 | Document addendum notification and content | ||||||||||
| MDM | T07 | Document edit notification | ||||||||||
| MDM | T08 | Document edit notification and content | ||||||||||
| MDM | T09 | Document replacement notification | ||||||||||
| MDM | T10 | Document replacement notification and content | ||||||||||
| MDM | T11 | Document cancel notification | ||||||||||
| MFD | – | Master files delayed application acknowledgment | ||||||||||
| MFD | MFA | Master files delayed application acknowledgment | ||||||||||
| MFD | P09 | Summary product experience report | ||||||||||
| MFK | – | Master files application acknowledgment | ||||||||||
| MFK | M01 | Master file not otherwise specified | ||||||||||
| MFK | M02 | Master file – staff practitioner | ||||||||||
| MFK | M03 | Master file – test/observation | ||||||||||
| MFK | M04 | Master files charge description | ||||||||||
| MFK | M05 | Patient location master file | ||||||||||
| MFK | M06 | Clinical study with phases and schedules master file | ||||||||||
| MFK | M07 | Clinical study without phases but with schedules master file | ||||||||||
| MFK | M08 | Test/observation (numeric) master file | ||||||||||
| MFK | M09 | Test/observation (categorical) master file | ||||||||||
| MFK | M10 | Test/observation batteries master file | ||||||||||
| MFK | M11 | Test/calculated observations master file | ||||||||||
| MFK | M12 | Master file notification message | ||||||||||
| MFK | M13 | Master file notification – general | ||||||||||
| MFK | M14 | Master file notification – site defined | ||||||||||
| MFK | M15 | Inventory item master file notification | ||||||||||
| MFK | M16 | Master File Notification Inventory Item Enhanced | ||||||||||
| MFK | M17 | DRG Master File Message | ||||||||||
| MFN | – | Master files notification | ||||||||||
| MFN | M01 | Master file not otherwise specified | ||||||||||
| MFN | M02 | Master file – staff practitioner | ||||||||||
| MFN | M03 | Master file – test/observation | ||||||||||
| MFN | M04 | Master files charge description | ||||||||||
| MFN | M05 | Patient location master file | ||||||||||
| MFN | M06 | Clinical study with phases and schedules master file | ||||||||||
| MFN | M07 | Clinical study without phases but with schedules master file | ||||||||||
| MFN | M08 | Test/observation (numeric) master file | ||||||||||
| MFN | M09 | Test/observation (categorical) master file | ||||||||||
| MFN | M10 | Test/observation batteries master file | ||||||||||
| MFN | M11 | Test/calculated observations master file | ||||||||||
| MFN | M12 | Master file notification message | ||||||||||
| MFN | M13 | Master file notification – general | ||||||||||
| MFN | M14 | Master File Notification – Site Defined | ||||||||||
| MFN | M15 | Inventory item master file notification | ||||||||||
| MFN | M16 | Master File Notification Inventory Item Enhanced | ||||||||||
| MFN | M17 | DRG Master File Message | ||||||||||
| MFN | Z14 | Master file notification Z14 | ||||||||||
| MFQ | – | Master files query | ||||||||||
| MFQ | M01 | Master file not otherwise specified | ||||||||||
| MFQ | M02 | Master file – staff practitioner | ||||||||||
| MFQ | M03 | Master file – test/observation | ||||||||||
| MFQ | M04 | Master files charge description | ||||||||||
| MFQ | M05 | Patient location master file | ||||||||||
| MFQ | M06 | Clinical study with phases and schedules master file | ||||||||||
| MFQ | M07 | Clinical study without phases but with schedules master file | ||||||||||
| MFQ | M08 | Test/observation (numeric) master file | ||||||||||
| MFQ | M09 | Test/observation (categorical) master file | ||||||||||
| MFQ | M10 | Test/observation batteries master file | ||||||||||
| MFQ | M11 | Test/calculated observations master file | ||||||||||
| MFQ | M12 | Master file notification message | ||||||||||
| MFQ | M13 | Master file notification – general | ||||||||||
| MFQ | M14 | Master file notification – site defined | ||||||||||
| MFQ | M15 | Inventory item master file notification | ||||||||||
| MFQ | M16 | Master File Notification Inventory Item Enhanced | ||||||||||
| MFQ | M17 | DRG Master File Message | ||||||||||
| MFR | – | Master files query response | ||||||||||
| MFR | M01 | Master file not otherwise specified | ||||||||||
| MFR | M02 | Master file – staff practitioner | ||||||||||
| MFR | M03 | Master file – test/observation | ||||||||||
| MFR | M04 | Master files charge description | ||||||||||
| MFR | M05 | Patient location master file | ||||||||||
| MFR | M06 | Clinical study with phases and schedules master file | ||||||||||
| MFR | M07 | Clinical study without phases but with schedules master file | ||||||||||
| MFR | M08 | Test/observation (numeric) master file | ||||||||||
| MFR | M09 | Test/observation (categorical) master file | ||||||||||
| MFR | M10 | Test/observation batteries master file | ||||||||||
| MFR | M11 | Test/calculated observations master file | ||||||||||
| MFR | M12 | Master file notification message | ||||||||||
| MFR | M13 | Master file notification – general | ||||||||||
| MFR | M14 | Master file notification – site defined | ||||||||||
| MFR | M15 | Inventory item master file notification | ||||||||||
| MFR | M16 | Master File Notification Inventory Item Enhanced | ||||||||||
| MFR | M17 | DRG Master File Message | ||||||||||
| NMD | – | Network Management Data | ||||||||||
| NMD | N02 | Application management data message (unsolicited) | ||||||||||
| NMQ | – | Network management query message | ||||||||||
| NMQ | N01 | Application management query message | ||||||||||
| NMR | – | Network Management Response | ||||||||||
| NMR | N01 | Application management query message | ||||||||||
| NUL | – | Null Message | ||||||||||
| OCF | – | Order Confirmation | ||||||||||
| OMB | O27 | Blood product order | ||||||||||
| OMD | O01 | Order message (also RDE, RDS, RGV, RAS) | ||||||||||
| OMD | O03 | Diet order | ||||||||||
| OMG | O19 | General clinical order | ||||||||||
| OMI | O23 | Imaging order | ||||||||||
| OML | O21 | Laboratory order | ||||||||||
| OML | O33 | Laboratory order for multiple orders related to a single specimen | ||||||||||
| OML | O35 | Laboratory order for multiple orders related to a single container of a specimen | ||||||||||
| OMN | O01 | Order message (also RDE, RDS, RGV, RAS) | ||||||||||
| OMN | O07 | Non-stock requisition order | ||||||||||
| OMP | O09 | Pharmacy/treatment order | ||||||||||
| OMS | O01 | Order message (also RDE, RDS, RGV, RAS) | ||||||||||
| OMS | O05 | Stock requisition order | ||||||||||
| OMX | – | Observation Definition Message (OM1..OM6) | ||||||||||
| OPL | O37 | Population/Location-Based Laboratory Order Message | ||||||||||
| OPR | O38 | Population/Location-Based Laboratory Order Acknowledgment Message | ||||||||||
| OPU | R25 | Unsolicited Population/Location-Based Laboratory Observation Message | ||||||||||
| ORB | O28 | Blood product order acknowledgment | ||||||||||
| ORD | O02 | Order response (also RRE, RRD, RRG, RRA) | ||||||||||
| ORD | O04 | Diet order acknowledgment | ||||||||||
| ORF | – | Observation result/record response | ||||||||||
| ORF | R02 | Query for results of observation | ||||||||||
| ORF | R04 | Response to query; transmission of requested observation | ||||||||||
| ORG | O20 | General clinical order response | ||||||||||
| ORI | O24 | Imaging order response message to any OMI | ||||||||||
| ORL | O22 | General laboratory order response message to any OML | ||||||||||
| ORL | O34 | Laboratory order response message to a multiple order related to single specimen OML | ||||||||||
| ORL | O36 | Laboratory order response message to a single container of a specimen OML | ||||||||||
| ORM | – | Order message | ||||||||||
| ORM | O01 | Order message (also RDE, RDS, RGV, RAS) | ||||||||||
| ORM | Z01 | Dietary Order | ||||||||||
| ORM | Z03 | Stock Requisition Order Message | ||||||||||
| ORM | Z05 | Nonstock Requisition Order Message | ||||||||||
| ORM | Z07 | Pharmacy/treatment Order Message | ||||||||||
| ORN | O02 | Order response (also RRE, RRD, RRG, RRA) | ||||||||||
| ORN | O08 | Non-stock requisition acknowledgment | ||||||||||
| ORP | O10 | Pharmacy/treatment order acknowledgment | ||||||||||
| ORR | – | Order acknowledgement message | ||||||||||
| ORR | O02 | Order response (also RRE, RRD, RRG, RRA) | ||||||||||
| ORR | Z02 | General Order Acknowledgment Message | ||||||||||
| ORR | Z04 | General Order Acknowledgment Message | ||||||||||
| ORR | Z06 | General Order Acknowledgment Message | ||||||||||
| ORR | Z08 | Pharmacy/treatment Order Acknowledgment Message | ||||||||||
| ORS | O02 | Order response (also RRE, RRD, RRG, RRA) | ||||||||||
| ORS | O06 | Stock requisition acknowledgment | ||||||||||
| ORU | – | Observation result/unsolicited | ||||||||||
| ORU | R01 | Unsolicited transmission of an observation message | ||||||||||
| ORU | R30 | Unsolicited Point-Of-Care Observation Message Without Existing Order – Place An Order | ||||||||||
| ORU | R31 | Unsolicited New Point-Of-Care Observation Message – Search For An Order | ||||||||||
| ORU | R32 | Unsolicited Pre-Ordered Point-Of-Care Observation | ||||||||||
| ORU | W01 | Waveform result, unsolicited transmission of requested information | ||||||||||
| OSQ | – | Order status query | ||||||||||
| OSQ | Q06 | Query for order status | ||||||||||
| OSR | – | Order status response | ||||||||||
| OSR | Q06 | Query for order status | ||||||||||
| OUL | R21 | Unsolicited laboratory observation | ||||||||||
| OUL | R22 | Unsolicited Specimen Oriented Observation Message | ||||||||||
| OUL | R23 | Unsolicited Specimen Container Oriented Observation Message | ||||||||||
| OUL | R24 | Unsolicited Order Oriented Observation Message | ||||||||||
| PEX | – | Product experience | ||||||||||
| PEX | P07 | Unsolicited initial individual product experience report | ||||||||||
| PEX | P08 | Unsolicited update individual product experience report | ||||||||||
| PGL | – | Patient goal | ||||||||||
| PGL | PC6 | PC/goal add | ||||||||||
| PGL | PC7 | PC/goal update | ||||||||||
| PGL | PC8 | PC/goal delete | ||||||||||
| PIN | – | Patient Information | ||||||||||
| PIN | I07 | Unsolicited insurance information | ||||||||||
| PMU | B01 | Add personnel record | ||||||||||
| PMU | B02 | Update personnel record | ||||||||||
| PMU | B03 | Delete personnel re cord | ||||||||||
| PMU | B04 | Active practicing person | ||||||||||
| PMU | B05 | Deactivate practicing person | ||||||||||
| PMU | B06 | Terminate practicing person | ||||||||||
| PMU | B07 | Grant Certificate/Permission | ||||||||||
| PMU | B08 | Revoke Certificate/Permission | ||||||||||
| PPG | – | Patient pathway (goal-oriented) message | ||||||||||
| PPG | PCG | PC/pathway (goal-oriented) add | ||||||||||
| PPG | PCH | PC/pathway (goal-oriented) update | ||||||||||
| PPG | PCJ | PC/pathway (goal-oriented) delete | ||||||||||
| PPP | – | Patient pathway (problem-oriented) | ||||||||||
| PPP | PCB | PC/pathway (problem-oriented) add | ||||||||||
| PPP | PCC | PC/pathway (problem-oriented) update | ||||||||||
| PPP | PCD | PC/pathway (problem-oriented) delete | ||||||||||
| PPR | – | Patient problem | ||||||||||
| PPR | PC1 | PC/problem add | ||||||||||
| PPR | PC2 | PC/problem update | ||||||||||
| PPR | PC3 | PC/problem delete | ||||||||||
| PPT | PCL | PC/pathway (goal-oriented) query response | ||||||||||
| PPV | – | Patient goal response | ||||||||||
| PPV | PCA | PC/goal response | ||||||||||
| PRR | – | Patient problem response | ||||||||||
| PRR | PC5 | PC/problem response | ||||||||||
| PTR | PCF | PC/pathway (problem-oriented) query response | ||||||||||
| QBP | – | Query by parameter | ||||||||||
| QBP | E03 | HealthCare Services Invoice Status | ||||||||||
| QBP | E22 | Authorization Request Status | ||||||||||
| QBP | K13 | Response Grammar: RTB Message | ||||||||||
| QBP | Q11 | Query by parameter requesting an RSP segment pattern response | ||||||||||
| QBP | Q13 | Query by parameter requesting an RTB – tabular response | ||||||||||
| QBP | Q15 | Query by parameter requesting an RDY display response | ||||||||||
| QBP | Q21 | Get person demographics | ||||||||||
| QBP | Q22 | Find candidates | ||||||||||
| QBP | Q23 | Get corresponding identifiers | ||||||||||
| QBP | Q24 | Allocate identifiers | ||||||||||
| QBP | Q25 | Get person demographics | ||||||||||
| QBP | Q31 | Query Dispense history | ||||||||||
| QBP | Z73 | Query by parameter Z73 | ||||||||||
| QBP | Z75 | Query by parameter Z75 | ||||||||||
| QBP | Z77 | Query by parameter Z77 | ||||||||||
| QBP | Z79 | Query by parameter Z79 | ||||||||||
| QBP | Z81 | Query by parameter Z81 | ||||||||||
| QBP | Z85 | Query by parameter Z85 | ||||||||||
| QBP | Z87 | Query by parameter Z87 | ||||||||||
| QBP | Z89 | Query by parameter Z89 | ||||||||||
| QBP | Z91 | Query by parameter Z91 | ||||||||||
| QBP | Z93 | Query by parameter Z93 | ||||||||||
| QBP | Z95 | Query by parameter Z95 | ||||||||||
| QBP | Z97 | Query by parameter Z97 | ||||||||||
| QBP | Z99 | Query by parameter Z99 | ||||||||||
| QCK | – | Query general acknowledgment | ||||||||||
| QCK | Q02 | Query sent for deferred response | ||||||||||
| QCN | J01 | Cancel query/acknowledge message | ||||||||||
| QCN | J02 | Cancel Subscription | ||||||||||
| QRF | W02 | Waveform result, response to query | ||||||||||
| QRY | – | Query, original mode | ||||||||||
| QRY | A19 | Patient query | ||||||||||
| QRY | PC4 | PC/problem query | ||||||||||
| QRY | PC9 | PC/goal query | ||||||||||
| QRY | PCE | PC/pathway (problem-oriented) query | ||||||||||
| QRY | PCK | PC/pathway (goal-oriented) query | ||||||||||
| QRY | Q01 | Query sent for immediate response | ||||||||||
| QRY | Q02 | Query sent for deferred response | ||||||||||
| QRY | Q26 | Pharmacy/treatment order response | ||||||||||
| QRY | Q27 | Pharmacy/treatment administration information | ||||||||||
| QRY | Q28 | Pharmacy/treatment dispense information | ||||||||||
| QRY | Q29 | Pharmacy/treatment encoded order information | ||||||||||
| QRY | Q30 | Pharmacy/treatment dose information | ||||||||||
| QRY | R02 | Query for results of observation | ||||||||||
| QRY | R03 | Display-oriented results, query/unsol. update (for backward compatibility only) | ||||||||||
| QRY | R05 | query for display results | ||||||||||
| QRY | T12 | Document query | ||||||||||
| QSB | Q16 | Create subscription | ||||||||||
| QSB | Z83 | Subscription Z83 | ||||||||||
| QSX | J02 | Cancel subscriptiocknowledge message | ||||||||||
| QVR | Q17 | Query for previous events | ||||||||||
| RAR | – | Pharmacy/treatment administration information | ||||||||||
| RAR | RAR | Pharmacy/treatment administration information | ||||||||||
| RAS | – | Pharmacy administration message | ||||||||||
| RAS | O01 | Order message (also RDE, RDS, RGV, RAS) | ||||||||||
| RAS | O17 | Pharmacy/treatment administration | ||||||||||
| RCI | – | Return clinical information | ||||||||||
| RCI | I05 | Request for patient clinical information | ||||||||||
| RCL | – | Return clinical list | ||||||||||
| RCL | I06 | Request/receipt of clinical data listing | ||||||||||
| RDE | – | Pharmacy encoded order message | ||||||||||
| RDE | O01 | Order message (also RDE, RDS, RGV, RAS) | ||||||||||
| RDE | O11 | Pharmacy/treatment encoded order | ||||||||||
| RDE | O25 | Pharmacy/treatment refill authorization request | ||||||||||
| RDO | O01 | Order message (also RDE, RDS, RGV, RAS) | ||||||||||
| RDR | – | Pharmacy/treatment dispense information | ||||||||||
| RDR | RDR | Pharmacy/treatment dispense information | ||||||||||
| RDS | – | Pharmacy dispense message | ||||||||||
| RDS | O01 | Order message (also RDE, RDS, RGV, RAS) | ||||||||||
| RDS | O13 | Pharmacy/treatment dispense | ||||||||||
| RDY | K15 | Display response in response to QBP^Q15 | ||||||||||
| RDY | Z80 | Display response Z80 | ||||||||||
| RDY | Z98 | Display response Z98 | ||||||||||
| REF | – | Patient referral | ||||||||||
| REF | I12 | Patient referral | ||||||||||
| REF | I13 | Modify patient referral | ||||||||||
| REF | I14 | Cancel patient referral | ||||||||||
| REF | I15 | Request patient referral status | ||||||||||
| RER | – | Pharmacy encoded order information | ||||||||||
| RER | RER | Pharmacy/treatment encoded order information | ||||||||||
| RGR | – | Pharmacy dose information | ||||||||||
| RGR | RGR | Pharmacy/treatment dose information | ||||||||||
| RGV | – | Pharmacy give message | ||||||||||
| RGV | O01 | Order message (also RDE, RDS, RGV, RAS) | ||||||||||
| RGV | O15 | Pharmacy/treatment give | ||||||||||
| ROR | – | Pharmacy prescription order query response | ||||||||||
| ROR | ROR | Pharmacy prescription order query response | ||||||||||
| RPA | – | Return patient authorization | ||||||||||
| RPA | I08 | Request for treatment authorization information | ||||||||||
| RPA | I09 | Request for modification to an authorization | ||||||||||
| RPA | I10 | Request for resubmission of an authorization | ||||||||||
| RPA | I11 | Request for cancellation of an authorization | ||||||||||
| RPI | – | Return patient information | ||||||||||
| RPI | I01 | Request for insurance information | ||||||||||
| RPI | I04 | Request for patient demographic data | ||||||||||
| RPL | – | Return patient display list | ||||||||||
| RPL | I02 | Request/receipt of patient selection display list | ||||||||||
| RPR | – | Return patient list | ||||||||||
| RPR | I03 | Request/receipt of patient selection list | ||||||||||
| RQA | – | Request patient authorization | ||||||||||
| RQA | I08 | Request for treatment authorization information | ||||||||||
| RQA | I09 | Request for modification to an authorization | ||||||||||
| RQA | I10 | Request for resubmission of an authorization | ||||||||||
| RQA | I11 | Request for cancellation of an authorization | ||||||||||
| RQC | – | Request clinical information | ||||||||||
| RQC | I05 | Request for patient clinical information | ||||||||||
| RQC | I06 | Request/receipt of clinical data listing | ||||||||||
| RQI | – | Request patient information | ||||||||||
| RQI | I01 | Request for insurance information | ||||||||||
| RQI | I02 | Request/receipt of patient selection display list | ||||||||||
| RQI | I03 | Request/receipt of patient selection list | ||||||||||
| RQI | I07 | Patient Insurance Information | ||||||||||
| RQP | – | Request for patient demographic data | ||||||||||
| RQP | I04 | Request for patient demographic data | ||||||||||
| RQQ | – | Event replay query | ||||||||||
| RQQ | Q09 | Event replay query | ||||||||||
| RRA | – | Pharmacy administration acknowledgment | ||||||||||
| RRA | O02 | Order response (also RRE, RRD, RRG, RRA) | ||||||||||
| RRA | O18 | Pharmacy/treatment administration acknowledgment | ||||||||||
| RRD | – | Pharmacy dispense acknowledgment | ||||||||||
| RRD | O02 | Order response (also RRE, RRD, RRG, RRA) | ||||||||||
| RRD | O14 | Pharmacy/treatment dispense acknowledgment | ||||||||||
| RRE | – | Pharmacy encoded order acknowledgement | ||||||||||
| RRE | O02 | Order response (also RRE, RRD, RRG, RRA) | ||||||||||
| RRE | O12 | Pharmacy/treatment encoded order acknowledgment | ||||||||||
| RRE | O26 | Pharmacy/Treatment Refill Authorization Acknowledgement | ||||||||||
| RRG | – | Pharmacy give acknowledgment | ||||||||||
| RRG | O02 | Order response (also RRE, RRD, RRG, RRA) | ||||||||||
| RRG | O16 | Pharmacy/treatment give acknowledgment | ||||||||||
| RRI | – | Return patient referral | ||||||||||
| RRI | I12 | Patient referral | ||||||||||
| RRI | I13 | Modify patient referral | ||||||||||
| RRI | I14 | Cancel patient referral | ||||||||||
| RRI | I15 | Request patient referral status | ||||||||||
| RRO | Q02 | Query sent for deferred response | ||||||||||
| RSP | E03 | HealthCare Services Invoice Status | ||||||||||
| RSP | E22 | Authorization Request Status | ||||||||||
| RSP | K11 | Segment pattern response in response to QBP^Q11 | ||||||||||
| RSP | K13 | Response Grammar: RTB Message | ||||||||||
| RSP | K21 | Get person demographics response | ||||||||||
| RSP | K22 | Find candidates response | ||||||||||
| RSP | K23 | Get corresponding identifiers response | ||||||||||
| RSP | K24 | Allocate identifiers response | ||||||||||
| RSP | K25 | Personnel Information by Segment Response | ||||||||||
| RSP | K31 | Dispense History Response | ||||||||||
| RSP | Q11 | Query by parameter requesting an RSP segment pattern response | ||||||||||
| RSP | Z82 | Response Z82 | ||||||||||
| RSP | Z84 | Response Z84 | ||||||||||
| RSP | Z86 | Response Z86 | ||||||||||
| RSP | Z88 | Response Z88 | ||||||||||
| RSP | Z90 | Response Z90 | ||||||||||
| RTB | – | Tabular response | ||||||||||
| RTB | K13 | Tabular response in response to QBP^Q13 | ||||||||||
| RTB | Z74 | Tabular response Z74 | ||||||||||
| RTB | Z76 | Tabular response Z76 | ||||||||||
| RTB | Z78 | Tabular response Z78 | ||||||||||
| RTB | Z92 | Tabular response Z92 | ||||||||||
| RTB | Z94 | Tabular response Z94 | ||||||||||
| RTB | Z96 | Tabular response Z96 | ||||||||||
| SCN | S37 | Notification of anti-microbial device cycle data | ||||||||||
| SDN | S36 | Notification of anti-microbial device data | ||||||||||
| SDR | S31 | Request anti-microbial device data | ||||||||||
| SIU | – | Schedule information unsolicited | ||||||||||
| SIU | S12 | Notification of new appointment booking | ||||||||||
| SIU | S13 | Notification of appointment rescheduling | ||||||||||
| SIU | S14 | Notification of appointment modification | ||||||||||
| SIU | S15 | Notification of appointment cancellation | ||||||||||
| SIU | S16 | Notification of appointment discontinuation | ||||||||||
| SIU | S17 | Notification of appointment deletion | ||||||||||
| SIU | S18 | Notification of addition of service/resource on appointment | ||||||||||
| SIU | S19 | Notification of modification of service/resource on appointment | ||||||||||
| SIU | S20 | Notification of cancellation of service/resource on appointment | ||||||||||
| SIU | S21 | Notification of discontinuation of service/resource on appointment | ||||||||||
| SIU | S22 | Notification of deletion of service/resource on appointment | ||||||||||
| SIU | S23 | Notification of blocked schedule time slot(s) | ||||||||||
| SIU | S24 | Notification of opened (“unblocked”) schedule time slot(s) | ||||||||||
| SIU | S26 | Notification that patient did not show up for schedule appointment | ||||||||||
| SLN | S34 | Notification of sterilization lot | ||||||||||
| SLN | S35 | Notification of sterilization lot deletion | ||||||||||
| SLR | S28 | Request new sterilization lot | ||||||||||
| SLR | S29 | Request Sterilization lot deletion | ||||||||||
| SMD | S32 | Request anti-microbial device cycle data | ||||||||||
| SPQ | – | Stored procedure request | ||||||||||
| SPQ | Q08 | Stored procedure request | ||||||||||
| SQM | – | Schedule query | ||||||||||
| SQM | S25 | Schedule query message and response | ||||||||||
| SQR | – | Schedule query response | ||||||||||
| SQR | S25 | Schedule query message and response | ||||||||||
| SRM | – | Schedule request message | ||||||||||
| SRM | S01 | Request new appointment booking | ||||||||||
| SRM | S02 | Request appointment rescheduling | ||||||||||
| SRM | S03 | Request appointment modification | ||||||||||
| SRM | S04 | Request appointment cancellation | ||||||||||
| SRM | S05 | Request appointment discontinuation | ||||||||||
| SRM | S06 | Request appointment deletion | ||||||||||
| SRM | S07 | Request addition of service/resource on appointment | ||||||||||
| SRM | S08 | Request modification of service/resource on appointment | ||||||||||
| SRM | S09 | Request cancellation of service/resource on appointment | ||||||||||
| SRM | S10 | Request discontinuation of service/resource on appointment | ||||||||||
| SRM | S11 | Request deletion of service/resource on appointment | ||||||||||
| SRR | – | Scheduled request response | ||||||||||
| SRR | S01 | Request new appointment booking | ||||||||||
| SRR | S02 | Request appointment rescheduling | ||||||||||
| SRR | S03 | Request appointment modification | ||||||||||
| SRR | S04 | Request appointment cancellation | ||||||||||
| SRR | S05 | Request appointment discontinuation | ||||||||||
| SRR | S06 | Request appointment deletion | ||||||||||
| SRR | S07 | Request addition of service/resource on appointment | ||||||||||
| SRR | S08 | Request modification of service/resource on appointment | ||||||||||
| SRR | S09 | Request cancellation of service/resource on appointment | ||||||||||
| SRR | S10 | Request discontinuation of service/resource on appointment | ||||||||||
| SRR | S11 | Request deletion of service/resource on appointment | ||||||||||
| SSR | U04 | Specimen status request | ||||||||||
| SSU | U03 | Specimen status update | ||||||||||
| STC | S33 | Notification of sterilization configuration | ||||||||||
| STI | S30 | Request item | ||||||||||
| SUR | – | Summary product experience report | ||||||||||
| SUR | P09 | Summary product experience report | ||||||||||
| TBR | – | Tabular response | ||||||||||
| TBR | R08 | Tabular Data Response | ||||||||||
| TCR | U11 | Automated equipment test code settings request | ||||||||||
| TCU | U10 | Automated equipment test code settings update | ||||||||||
| UDM | – | Unsolicited display message | ||||||||||
| UDM | Q05 | Unsolicited display update message | ||||||||||
| UDM | R06 | unsolicited update/display results | ||||||||||
| VQQ | – | Virtual table query | ||||||||||
| VQQ | Q07 | Virtual table query | ||||||||||
| VXQ | – | Query for vaccination record | ||||||||||
| VXQ | V01 | Query for vaccination record | ||||||||||
| VXR | – | Vaccination query record response | ||||||||||
| VXR | V03 | Vaccination record response | ||||||||||
| VXU | – | Unsolicited vaccination record update | ||||||||||
| VXU | V04 | Unsolicited vaccination record update | ||||||||||
| VXX | – | Vaccination query response with multiple PID matches | ||||||||||
| VXX | V02 | Response to vaccination query returning multiple PID matches |
知行之桥如何支持 HL7 报文处理
知行之桥 EDI 系统可支持 HL7 报文的接收、发送、解析、映射和自动化处理。企业可以通过知行之桥将 HL7 报文转换为 XML、JSON、CSV、Excel、数据库记录或业务系统可识别的数据格式,实现医疗系统之间的数据自动流转。
在项目实施中,知行之桥可根据医院、医疗机构或第三方平台提供的 HL7 接口规范,对 ADT、ORM、ORU、DFT、MDM、SIU、ACK 等报文进行字段映射、规则校验和流程编排,帮助企业完成医疗健康行业的数据集成与自动化处理。
HL7 报文实施常见问题
HL7 主要用于哪些系统?
HL7 常用于 HIS、LIS、RIS、PACS、EMR、收费系统、医保系统、体检系统、实验室系统和第三方医疗平台之间的数据交换。
HL7 v2 和 FHIR 有什么区别?
HL7 v2 常用于传统医院系统之间的消息交换,格式较紧凑,适合系统集成场景;FHIR 更偏向现代 Web API 方式,适合移动医疗、互联网医疗和新型数据服务场景。
ADT 报文通常用于什么场景?
ADT 报文主要用于患者管理场景,例如患者入院、出院、转科、登记、患者信息更新和床位状态变化等。
知行之桥是否支持 HL7 报文?
支持。知行之桥 EDI 系统可支持 HL7 报文解析、字段映射、格式转换、自动化流程处理,并可与数据库、HIS、LIS、RIS、PACS、EMR 等系统进行集成。

