Prévia do material em texto
1 Copyright Rayto Life and Analytical Sciences Co., Ltd.2017 Version: 1.0 Issuing date: Oct. 16, 2017 Representation Shenzhen Rayto Life and Analytical Sciences Co., Ltd. (Rayto Company) reserves the copyright for this non published communication protocol specification, and has the right to treat it as confidential data. This representation is only used as the reference data of operating, maintaining and repairing Rayto products. This representation and all the intellectual property rights (including copyright) belong to Rayto Company. Without the prior written permission of Rayto, no one shall use, disclose or permit other people to obtain all or part of this representation by unjust means. Without the prior written permission of Rayto, no one shall photocopy, duplicate or translate all or part of this representation into other languages. Rayto company provides no warranty of any kind for this data, including (but not limited to) the implicit merchantable and suitable guarantee liability proposed for particular purposes. Rayto company assumes no responsibility for the mistakes included in this data, or the incidental or indirect damages caused by the offering, actual performance and usage. 2 HL7 Communication Protocol Copyright ......................................................................................................................................... 1 1 Overview of Communication Interface ................................................................................ 3 1.1 Purpose .......................................................................................................................... 3 1.2 Scope of application ...................................................................................................... 3 1.3 Communication protocol specification ......................................................................... 3 1.3.1 Supported information of HL7 interface protocol ............................................. 3 1.3.2 Underlying transport layer protocol .............................................................. 3 1.3.3 HL7 Message layer protocol ......................................................................... 4 2 HL7 Introduction ..................................................................................................................... 6 2.1 HL7 Basic syntax .......................................................................................................... 6 2.2 HL7 Data type ............................................................................................................... 7 3 Duplex communication .......................................................................................................... 8 3.1 Supported HL7 message ............................................................................................... 8 3.2 Definition of HL7 segments involved ........................................................................... 9 3.3 Sample of complete message ...................................................................................... 26 4 Definition of HL7 Data Type Used...................................................................................... 33 5 Message Coding Definition ................................................................................................. 35 6 Reference Books .................................................................................................................. 38 3 1 Overview of Communication Interface 1.1 Purpose This representation mainly illustrates the communication of Rayto Hematology RT-7600/7600S/7300/7200 operating software. 1.2 Scope of application This application is only applicable for the Rayto HHematology analyzer RT-7600/7600S/7300/7200 instrument of Shenzhen Rayto Life and Analytical Sciences Co., Ltd. 1.3 Communication protocol specification 1.3.1 Supported information of HL7 interface protocol The LIS function of software of automated hematology analyzer of Rayto company provides the capacity of communicating through Ethernet and laboratory computer, the inspection results of the instruments can be sent to laboratory computer and accept worksheet through laboratory computer. This communication protocol is defined based on HL7 standards. HL7 is the electronic data interchange standard of healthcare field, it initially is defined by the United States and adopted by many counties now. This protocol is defined based on HL7 v2.3.1. Please refer to HL7 Interface Standards Version 2.3.1 for the detailed content of HL7. 1.3.2 Underlying transport layer protocol The PC operating software transfers information through TCP connection, and the communication process can be divided into 3 stages: Connecting stage After starting the PC operating software, it will initiatively connect to LIS server according to software settings, it will continue to try to reconnect if the connection is not successful, and it will stay connected after the connection is successful to ensure the data can be sent at any time, it will try to reconnect if the connection is found disconnected during the operating process. Data transmission Communication of counting results and quality control data recording In addition to send data records in bulk in list review and quality control interface, if the automatic communication switch of counting results has been set up; the machine operating software will also send communication information at the same time of producing new sample counting results. Furthermore, the communication of counting results and quality control data records in the machine software can be set up as synchronous or non-synchronous communication. 4 Synchronous communication The sending and receiving of message for both batched communication and automatic communication are synchronous, that is waiting for a confirmation message for each message sent, the sending process of a message is only completed when the confirmation message is received within 10s and then send next message; if confirmation message is not received after waiting for 10s, then this message is considered failed to be sent and jump it to send next message directly. Quality control data recording communication is similar with counting results, click quality control or quality control history review interface to send message. Wait for confirmation for each quality control data message sent, the communication is considered successful if a confirmation message is received within 10s, otherwise it would be considered failed. Continue to send next message when confirmation message is received or timeout. Non-synchronous communication Directly send all the results or recordings in turn instead of waiting for response during transmission for communications of counting results and quality control data recordings. Two-way LIS query information Two-way LIS query message communication is different. When the machine operating software turns on two-way LIS communication switch, query message will be sent before saving worksheet or counting, the query message includes sample number. LIS inquires sample information according to sample number, and response in HL7 message form, machine operating software fills the worksheet information according to responding information or conducts counting. The query will be considered failed when response message is not received within 10s after sending two-way LIS query information. Disconnect It will shut down the communication connection when exit out machine operating software. The current connection will be disconnected and set the connection according to new setting when changing the software communication settings. 1.3.3 HL7 Message layer protocol HL7 Upper layer message protocol Sample resultsand other data message are communicated in the form of UTF-8 coded string. Express method of message coded strings shall be organized according to HL7 standard, namely multiple segments are included in one message, each segment can be divided into multiple fields, one field may be divided into multiple components and each component may be divided into multiple sub components. The content of segment, field, component and sub component are divided according to separators. The following is the part message example for HL7: MSH|^~\&||Rayto|||20170725152834||ORU^R01|201707251|P|2.3.1||||S||Unicode||| PID|1|2017072501|||Lucky|Cat||M|Jack||||||1Y|||||||||||||||| OBR|1||||||2014-12-09 11:51:42|||||||||||||||||||W|||||||||||||||||||||| …… 5 HL7 Underlying message protocol TCP/IP is a byte stream protocol, it doesn’t provide message boundaries. As upper-layer protocol, HL7 is based on message and doesn’t provide message termination mechanism. In order to determine the message boundaries, we adopt MLLP underlying protocol (There is corresponding description for this in HL7 Interface Standards Version 2.3.1.) Communication layer Message is transferred in the following form: <SB> ddddd <EB><CR> Including: <SB> = Start Block character, the value is 0x0B. ddddd = Data (variable number of bytes), it is effective data of HL7 message, represented in character string. <EB> = End Block character, the value is 0x1C. <CR> = Carriage Return, the value is 0x0D. 6 2 HL7 Introduction 2.1 HL7 Basic syntax Message construction rules Each HL7 message is composed of some segments; each segment is ended with <CR> character. Each segment is composed of section name of three characters and variable number of fields, each field is composed of component and subcomponent. Define the separators of field, component and subcomponent at the MSH segment of each message. For example: MSH|^~\&|Rayto|RT-7600|||20060427194802||ORU^R01|1|P|2.3.1||||||UNICODE Including: The five characters after MSH shall be used to differentiate the separators of each field, component and subcomponent. Although these characters can be any non-textual characters, but the HL7 recommends the characters in the following table: Character Meaning | Field separator ^ Component separator & Subcomponent separator ~ Repeating separator \ Escape character The first field of MSH includes each separator. The following some fields are empty because they are optional and not adopted by HL7 interface, detailed field definition and selection will be explained later. For any kind of message, the segments after MSH segment have fixed appearing order, these order will be specifically described in the following sections, these syntactic structures are adopted to represent the order of segments: The segments appeared in [] are optional. The segments in { } can be repeated once or several times. Escape rules of character string In the field data in ST, TX, FT, CF and other types, escape separators may appear in character string data, such as remark, diagnostic message and user defined gender etc, escape the separators in original character string into escape character sequence, and then restore them while decoding. HL7 interface adopts the following escape rules: 7 Escape character sequence Original character \F\ Field separator \S\ Component separator \T\ Subcomponent separator \R\ Repeating separator \E\ Escape character \.br\ <CR> means ending character of segment Note: the ‘\’ in escape character string sequence means escape separator, its value is defined in MSH segment. 2.2 HL7 Data type All the data messages are represented as different HL7 type fields, present communication protocol has only adopted part of the types that provided by HL7 standards, see “using HL7 data type definition” for detailed introduction. 8 3 Duplex communication 3.1 Supported HL7 message Duplex communication process 1. The mainframe sends inspection results (or quality control data message) to LIS, as shown in figure 1. Figure 1 Communication process diagram of inspection results and quality control data 2. Worksheet message query Worksheet belongs to order message, relevant HL7 message can be used: ORM (General Order Message) and ORR (General Order Response Message), the communication process is as shown in figure 2. Figure 2 Communication process diagram worksheet query Mainly used message ORU^R01 Message: mainly used in the transformation of inspection results and quality control data. ORU Observational Results (Unsolicited) Description MSH message header is necessary, including the communication of message number, sending time, message separator, coding scheme and other communication messages { Machine LIS System ORM^O01 ORR ^O02 Machine LIS System ORU^R01 ACK ^R01 9 PID Patient’s basic information, including patient’s name, sex, medical record number and birthday etc { OBR Sample information, including sample number, inspector and inspecting time etc {[OBX]} Inspection data item, including inspection parameters results etc. } } ACK^R01 Message: Confirm the received ORU^R01 message. ACK Acknowledgment Description MSH message header MSA message confirmation, described the communication message has been successfully received or not ORM^O01 Message: general Order message, basically all the relevant movements related to Order adopt this message type, such as create a new order, cancel an order etc., it refers to mainframe requires LIS to refill the order message here. ORM General Order Message Description MSH Message header {ORC}General message of Order, including all the number message of the sample queried. ORR^O02 Message: confirmation of ORM^O01 message, it return the complete information of order (worksheet) ORR^O02 General Order Response Message Description MSH Message header MSA Message confirmation [PID Patient information { [ OBR Sample information {[OBX]} Other sample information data, including sample work mode etc. ] } 3.2 Definition of HL7 segments involved The detailed definition of the fields included in each segment will be illustrated in the list below, each line of the table corresponds to a field in the segments, and the meaning of each line of the table is as following: 1. Serial number: the beginning of HL7 segment is a segment name of 3 characters, each subsequent field separator is followed with the content of one field, and serial number is the ordinal position of field in HL7 message segment. 10 For example: PID | 1 | 1 |20121212||INLXL||19860101|M|||||||26Y|||||||||||||||| ↑ ↑ ↑ Message segment name Field 1 Field 3 Note: MSH message segments are slightly different, the closely followed field separator after message segment name is considered as the first field, it is used to describe the value of field separators adopted in the whole message. 2. Field name: the logical meaning of the field, the field explanation provided by HL7. 3. Data type: HL7 standard type of field, its structure will be described in the “used HL7 data type definition”. 4. HL7 recommended maximum length: HL7 standard recommended length. But in the actual message transmission process, the actual transformed length will exceed this value; therefore, separator is adopted as the symbol to read the message field while parsing the message. 5. Description: the description of the actual value content of the content. 6. Sample: Sample of the actual valueof the field Note: for the future expansion need of the operating software, no field in the message segment shall be omitted in the HL7 interface protocol support, if there is no value in this field, leave it blank. MSH MSH (Message Header) message segment contains the basic information of HL7 message, including the message separator value, message type and the coding scheme of the message, it is the first field of each HL7 message. Message sample: MSH|^~\&||Rayto|||20170725152834||ORU^R01|201707251|P|2.3.1||||S||UNICODE||| See table 1 for the definition of the fields used in MSH message segment. Table 1 MSH fields definition table Serial number Field name Data type HL7 recommend maximum length Description Sample 1 Field Separator ST 1 Including the first segment separator after the message segment name, is used to specify the segment separator values of the rest of the | 11 message. 2 Encoding Characters ST 4 Including component separator, repeating separator, escape separator and subcomponent separator ^~\& 3 Sending Application HD 180 Transmitting terminal application Rayto 4 Sending Facility HD 180 Transmitting terminal facility RT-7600 5 Receiving Application HD 180 Blank, reserved. Receiving end application program 6 Receiving Facility HD 180 Blank, reserved. Receiving end equipment 7 Date/Time Of Message TS 26 Time of current message. Invoke the time information of the system. 8 Security ST 40 Blank, reserved. Security 9 Message Type CM 7 Message type ORU^R01 10 Message Control ID ST 20 Message control ID, the only message identified, progressively increase with the message number, the format is date + number 201707251 11 Processing PT 3 Processing ID, always P 12 ID adopts P to represent products 12 Version ID VID 60 Version ID, HL7 protocol version 2.3.1 13 Sequence Number NM 15 Blank, reserved. Sequence number 14 Continuatio n Pointer ST 180 Blank, reserved. Continuation pointer 15 Accept Acknowled gment Type ID 2 Blank, reserved. Accept acknowledgment type 16 Application Acknowled gment Type ID 2 Application acknowledgment type, as the sending results type. S: (Sample) patient sample inspection result, C (Calibration) calibration result, Q (QC Result) quality control result S 17 Country Code ID 2 Blank, reserved. Country code 18 Character Set ID 10 Character set UNICODE 19 Principal Language Of Message CE 60 Blank, reserved. Principal language Of message 20 Alternate ID 20 Blank, reserved. 13 Character Set Handling Scheme Alternate character set handling scheme MSA MSA (Message Acknowledgement) Message segment contains message confirmation information. Message sample: MSA|AA|201707251||||| See table 2 for the definition of fields used. Table 2 MSA field definition table Seri al num ber Field name Dat a typ e HL7 recommen d maximum length Description Sample 1 Acknowledgm ent Code ID 2 Acknowledgment code, AA means accept; AE means error; AR means reject. AA 2 Message Control ID ST 20 Message control ID, same as the MSH-10 of sender. 201707251 3 Text Message ST 80 Text message, it is a text description of the event when error occurs or reject. Correspond to the sixth field and can be used to write the error log. 4 Expected Sequence Number NM 15 Blank, reserved. Expected sequence number 5 Delayed ID 1 Blank, reserved. Delayed 14 Acknowledgm ent Type acknowledgment type 6 Error Condition CE 100 Error condition (status code) Table 3 Error code table of MSA-6 field Status code (MSA-6) Status text (MSA-3) Description/Remark Succeed AA Message accepted Succeed Error status code: AE 100 Segment sequence error Segment sequence error in the message, or required segment is missing 101 Required field missing Required field in a segment is missing 102 Data type error Data type error of field, such as numbers become characters 103 Table value not found Table value is not found, not used for the time being. Reject status code: AR 200 Unsupported message type Unsupported message type 201 Unsupported event code Unsupported event code 202 Unsupported processing id Unsupported processing ID 203 Unsupported version id Unsupported version ID 204 Unknown key identifier Unknown key identifier, such as transfer a nonexistent patient information 205 Duplicate key identifier Existed duplicated key identifier 15 206 Application record locked The transaction can’t be performed in the application storage level, such as application record is locked 207 Application internal error Other unknown application internal error PID PID (Patient Identification) segment includes the basic information of the patient. Message sample: PID|1|201707251|||Ling Xiaozhong||1990504|M|||||||22Y|||||||||||||||| See table 4 for the definition of the field used. Table 4 PID field definition table Seri al num ber Field name Dat a typ e HL7 recommen d maximum length Description Sample 1 Set ID – PID SI 10 Serial number, is used in the different PID message segments of the same message 1 2 Patient ID CX 20 It is sample number in the sample results, It is quality control batch number in the quality control 201707251 3 Patient Identifier List CX 20 Blank, reserved. Patient identifier list 4 Alternate Patient ID – PID CX 20 Blank, reserved. Alternate patient ID – PID 5 Patient Name XP N 48 It is name in sample result; it is quality control name in quality control result. Ling Xiaozhong 16 6 Mother’s Maiden Name XP N 48 Blank, reserved. Mother’s maiden name 7 Date/Time of Birth TS 26 It is date of birth, the form is YYYY[MM[DD[HH]] It is period of validity in L-J, X-R quality control. 19900504 8 Sex IS 1 Sex: male, send M; female, send F; other, send O. Leave blank and reserved in the quality control result. M 9 Patient Alias XP N 48 Blank, reserved. Patient alias 10 Race CE 80 Blank, reserved. Race 11 Patient Address XA D 106 Blank, reserved. Patient address 12 County Code IS 4 Blank, reserved. Country code 13 Phone Number- Home XT N 40 Blank, reserved. Phone number-Home 14 Phone Number - Business XT N 40 Blank, reserved. Phone number - Business 15 Primary Language CE 60 Age, with units. Y means year, M means month, D means day, H means hour. Leave blank and reserved in the quality control results. 22Y 16 Marital Status CE 80 Blank, reserved. Marital status 17 Religion CE 80 Blank, reserved. Religion 18 Patient CX 20 Blank, reserved. Patient account 17 Account Number number 19 SSN Number-Patie nt ST 16 Blank, reserved. SSN Number-Patient 20 Driver's License Number – Patient DL N 25 Blank, reserved. Driver's license number – Patient 21 Mother's Identifier CX 20 Blank, reserved. Mother's identifier 22 Ethnic Group CE 80 Blank, reserved. Ethic group 23 Birth Place ST 60 Blank, reserved. Birth place 24 Multiple Birth Indicator ID 1 Blank, reserved. Multiple birth indicator 25 Birth Order NM 2 Blank, reserved. Birth order 26 Citizenship CE 80 Blank, reserved. Citizenship 27 Veterans Military Status CE 60 Blank, reserved. Veterans military status 28 Nationality CE 80 Blank, reserved. Nationality 29 Patient Death TS 26 Blank, reserved. Date and time of patient death 30 Patient Death Indicator ID 1 Blank, reserved. Patient death indicator OBR OBR (Observation Request)message segment mainly includes inspection report information. Message sample: OBR|1||20071207011|00001^AutomatedCount^99MRC||20071207080000|20071207 160000|||Rayto|||Cold|20071207083000||||||||||HM||||||||Rayto See table 5 for the definition of the field used. 18 Table 5 OBR field definition table Seri al num ber Field name Dat a typ e HL7 recommend maximum length Description Sample 1 Set ID – OBR SI 10 Serial number, used to determine the different OBR segments in the message. 1 2 Placer Order Number EI 22 It is sample number in the response message of worksheet query, namely ORC^O02. 2007120 7011 3 Filler Order Number EI 22 Blank, reserved. Filler order number. It is document number in quality control message. 01 4 Universal Service ID CE 200 Left blank and reserved in sample results. Universal service ID. Used to identify different quality control settings or counting results in quality control results, the values is one of the LJ QCS (LJ Quality control setting), LJ QCR (LJ Quality control result) ,XB QCS (XB Quality control setting),XB QCR(XB Quality control result), XR QCS (XR Quality control setting), XR QCR (XR Quality control result). 5 Priority ID 2 Blank, reserved. Priority 6 Requested Date/time TS 26 Left blank and reserved in sample results. It is requested date/time in the quality control result. 19 7 Observation Date/Time TS 26 Observation date/time 8 Observation End Date/Time TS 26 Blank, reserved. Observe the end date/time. 9 Collection Volume CQ 20 Blank, reserved. Collection volume 10 Collector Identifier XC N 60 Blank, reserved. Collector identifier 11 Specimen Action Code ID 1 Blank, reserved. Specimen action code 12 Danger Code CE 60 Blank, reserved. Danger code 13 Relevant Clinical Info. ST 300 It is relevant clinical information in sample results, left blank and reserved in quality control results. Cold 14 Specimen Received Date/Time TS 26 Received date/time in specimen results, left blank and reserved in quality control results. 15 Specimen Source CM 300 It is specimen source in specimen results, left blank and reserved in quality control results. 16 Ordering Provider XC N 120 It is department in specimen results, left blank and reserved in quality control results. 17 Order Callback Phone Number XT N 40 Blank, reserved. 18 Placer Field1 ST 60 It is medical record number in specimen results, left blank and reserved in quality control results. 19 Placer Field 2 ST 60 It is medical bed number in specimen results, left blank and reserved in quality control results. 20 20 Filler Field1 ST 60 It is tester in specimen results, setter or tester in quality control results. 21 Filler Field2 ST 60 It is auditor in specimen results, left blank and reserved in quality control results. 22 Result Rpt/Status Change –Date/Time TS 15 Blank, reserved. Result report /Status change –Date/Time 23 Charge to Practice CM 40 It is charge type in specimen results, O (Own), I (Insurance), P (Public), and U (Unknown), left blank and reserved in quality control results. O 24 Diagnostic Serve Sect ID ID 10 It is patient type in specimen results, Cl (Clinic), Ho (Hospitalize), Em (Emergency), Ex (examination), Un (Unknown) Cl 25 Result Status ID 1 It is sample introduction mode in specimen results, O (Open), A (Auto), C (Closed), U (Unknown) A 26 Parent Result CM 200 Blood sample mode W (Whole), P (Pre-diluted), U (Unknown) W 27 Quantity/Timin g 2 TQ 00 Test mode 28 Result Copies To XC N 150 It is reference scope group in specimen results, such as adult man, adult woman, child and custom. It is quality control level in quality control result, value is L(Low), N(Normal), H(High) Adult man 29 Parent CM 150 Automatic injection mode is test tube rack number, other mode is 0. 7 30 Transportation Mode ID 20 Automatic injection mode is test tube position number, other mode is 0. 10 31 Reason for Study CE 300 Blank, reserved. Reason for study 32 Principal CM 200 Blank, reserved. Principal result interpreter 21 Result Interpreter 33 Assistant Result Interpreter CM 200 Blank, reserved. Assistant result interpreter 34 Technician CM 200 Blank, reserved. Technician 35 Transcriptionis t CM 200 Blank, reserved. Transcriptionist 36 Scheduled Date/Time TS 26 Blank, reserved. Scheduled date/time 37 Number of Sample Containers NM 4 Blank, reserved. Number of sample containers 38 Transport Logistics of Collected Sample CE 60 Blank, reserved. Transport logistics of collected sample 39 Collector’s Comment CE 200 Blank, reserved. Collector’s comment 40 Transport Arrangement Responsibilit y CE 60 Blank, reserved. Transport arrangement responsibility 41 Transport Arranged ID 30 Blank, reserved. Transport arranged or not 42 Escort Required ID 1 Blank, reserved. Escort required 43 Planned Patient CE 200 Blank, reserved. Planned patient transport comment 22 Transport Comment 44 Ordering Facility Name CE 60 Blank, reserved. Ordering facility name 45 Ordering Facility Address CE 106 Blank, reserved. Ordering facility address 46 Ordering Facility Phone Number CE 48 Blank, reserved. Ordering facility phone number 47 Ordering Provider Address CE 106 Remark OBX OBX (Observation/Result) message segment mainly includes the parameter information of each inspection result. Message sample: OBX|1|NM|WBC||5.73|10*9/L|4-10|N|||F||||||| See table 6 for the definition of the field used. Table 6 OBX field definition table Seri al num ber Field name Dat a typ e HL7 recommen d maximum length Description Sample 1 Set ID – OBX SI 4 Serial number, used to identify the different OBX segments in the message. 1 2 Value Type ID 2 Data type of inspection results, the values are “ST”, “NM”, “ED” and NM 23 “IS” etc. 3 Observation Identifier CE 250 Inspection item identifier. WBC 4 Observation Sub-ID ST 20 Leave the specimen results and quality control result blank and reserved. Observation Sub-ID L-J, X-B Quality control setting, R (Reference), L (Limit) , X-R Quality control result, X (Mean), R (Range) 5 Observation Value * 65536 The inspection result values can be numbers, character string, enumerated values and binary data etc. (The binary data for histogram and scatter diagram adopts Base64 coding scheme for transition, see Base64 coding process for coding scheme.) Invalid value is “ ” 5.73 6 Units CE 250 Units for inspection items. ISO standard units are adopted to represent. 10*9/L 7 References Range ST 60 Inspection results range, the form is: “Reference range lower limit—reference range upper limit” 4.00-10.00 8 Abnormal Flags IS 5 Inspection results signals N (Normal), H (High) the results are higher than reference range upper limit, L (Low) the results are N 24 lower than reference range lower limit 9 Probability NM 5 Blank, reserved. Probability 10 Nature of Abnormal Test ID 2 Blank, reserved. Nature of abnormal test 11 Observe Result Status ID 1 Observe result status. F: Final Result; L-J, X-B Quality control data is blank. F 12 Date Last Observe Normal Values TS 26 Blank, reserved. Date of last observe normal values 13 User Defined Access Checks ST 20 Blank, reserved. User defined access checks. 14 Date/Time of the Observation TS 26 Blank, reserved. Date/Time ofthe observation 15 Producer’s ID CE 250 Blank, reserved. Producer’s ID 16 Responsible Observer XC N 250 Blank, reserved. Responsible observer 17 Observation Method CE 250 Blank, reserved. Observation method ORC ORC (Common Order) message segment mainly includes the general information of order Message sample: ORC|RF||20121206RTS001||IP|||||||||||||||| See table 7 for the field definition. Table 7 ORC field definition table 25 Serial number Field name Data type HL7 recommend maximum length Description Sample 1 Order Control ID 2 Order control word. ORM message contains RF (refill the order request) ORR message contains AF (order refill confirmation) RF 2 Placer Order Number EI 22 Initiator order number ORM message is blank, ORR message contains specimen number. 3 Filler Order Number EI 22 Filler order number. ORM message contains specimen number. ORR message is blank. 2012120 6RTS00 1 4 Placer Group Number EI 22 Blank, reserved. 5 Order Status ID 2 Order status. It is fixed as IP in the worksheet information query communication ORM message (Order is in processing, but no results have been obtained) ORR message is blank; IP 6 Response Flag ID 1 Blank, reserved. Response flag 7 Quantity/Timing TQ 200 Blank, reserved. Quantity/Timing 8 Parent CM 200 Blank, reserved. Father order. 9 Date/Time of Transaction TS 26 Blank, reserved. Date/Time of transaction 26 10 Entered By XCN 120 Blank, reserved. Entered By 11 Verified By XCN 120 Blank, reserved. Verified By 12 Ordering Provider XCN 120 Blank, reserved. Ordering provider 13 Enterer’s Location PL 80 Blank, reserved. Enterer’s location 14 Call Back Phone Number XTN 40 Blank, reserved. Call back phone number 15 Order Effective Date/Time TS 26 Blank, reserved. Order effective date/time 16 Order Control Code Reason CE 200 Blank, reserved. Control code for request reason 17 Entering Organization CE 60 Blank, reserved. Entering organization 18 Entering Device CE 60 Blank, reserved. Entering device 19 Action By XCN 120 Blank, reserved. Action by 20 Advanced Beneficiary Notice Code CE 40 Blank, reserved. Advanced beneficiary notice code. 3.3 Sample of complete message Sample massage MSH|^~\&||Rayto|||20170725152834||ORU^R01|201707251|P|2.3.1||||S||Unicode||| PID|1|2017072501|||Lucky|||M|||||||1Y|||||||||||||||| OBR|1||||||2014-12-09 11:51:42|||||||||||||||||||W|||||||||||||||||||||| OBX|1|NM|WBC||5.6|10\S\9/L|4-10||||F||||||| OBX|2|NM|LYMP||51.9|%|20-50|H|||F||||||| OBX|3|NM|MONP||32.4|%|1-15|H|||F||||||| OBX|4|NM|GRAP||15.7|%|40-70|L|||F||||||| OBX|5|NM|LYMA||2.9|10\S\9/L|0.6-4.1||||F||||||| OBX|6|NM|MONA||1.8|10\S\9/L|0.1-1.8||||F||||||| OBX|7|NM|GRAA||0.9|10\S\9/L|2-7.8|L|||F||||||| OBX|8|NM|RBC||3.33|10\S\12/L|3.8-5.8|L|||F||||||| OBX|9|NM|HGB||83|g/L|110-165|L|||F||||||| OBX|10|NM|MCHC||256|g/L|320-360|L|||F||||||| OBX|11|NM|MCH||24.9|pg|26.5-33.5|L|||F||||||| OBX|12|NM|MCV||97.3|fL|80-99||||F||||||| OBX|13|NM|RDWCV||12.6|%|10-15||||F||||||| OBX|14|NM|RDWSD||61.1|fL|35-56|H|||F||||||| OBX|15|NM|HCT||32.4|%|30-50||||F||||||| 27 OBX|16|NM|PLT||188|10\S\9/L|100-300||||F||||||| OBX|17|NM|MPV||9.4|fL|7-11||||F||||||| OBX|18|NM|PDW||8.7|fL|10-18|L|||F||||||| OBX|19|NM|PCT||0.178|%|0.1-0.5||||F||||||| OBX|20|NM|PLCR||36.5|%|13-43||||F||||||| OBX|21|TX|Waring||||||||F||||||| OBX|22|ED|WBC Histogram||0.00.00.00.00.50.50.50.50.00.00.00.00.00.00.00.00.50.50.00.00.50.50.00.00.50.50.50.50.00 .02.52.53.03.05.05.05.55.510.010.012.012.015.015.015.515.513.513.511.011.015.015.013.513.516.516 .514.014.012.012.021.021.08.58.521.521.522.522.524.524.536.536.535.535.541.541.542.042.056.056. 037.537.544.544.543.543.552.052.050.550.545.045.049.049.063.063.038.038.042.542.545.045.040.54 0.536.036.040.540.538.038.039.039.039.539.537.537.539.539.544.544.538.538.539.539.546.046.043. 043.045.045.042.042.038.038.046.546.543.543.546.046.047.047.048.048.040.540.541.541.532.532.54 0.040.024.524.534.534.528.028.028.028.029.529.525.025.025.025.022.022.021.021.013.513.517.517. 514.014.014.514.512.012.012.012.014.514.513.013.011.011.08.08.08.58.57.57.510.010.08.08.06.56.56 .06.04.54.54.04.04.54.53.03.04.54.51.01.02.52.51.51.52.02.01.51.51.51.50.50.50.50.52.02.01.51.50.50 .51.51.50.50.50.50.50.00.00.50.51.51.50.50.51.01.00.00.00.50.51.01.00.00.00.00.01.01.00.00.00.50.52 .02.00.50.50.50.52.02.00.00.00.50.50.50.50.00.00.50.50.00.00.50.50.00.00.50.51.51.50.50.50.50.50.50 .50.50.50.00.00.00.01.01.00.00.00.50.50.00.00.00.00.50.50.50.50.00.00.50.50.00.00.50.50.00.00.00.00 .00.00.00.00.00.00.50.50.00.00.00.00.00.00.00.00.50.50.50.50.00.00.50.50.50.50.00.00.50.50.00.00.00 .00.00.00.50.50.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.50.50.00.00 .00.00.00.00.00.00.50.50.00.00.00.00.00.00.50.50.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00 .00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00 .50.50.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00 .00.00.00.00.00.50.50.00.00.00.00.00.00.0||||||F||||||| OBX|23|NM|WBC Start Line||17||||||F||||||| OBX|24|NM|WBC Left Line||92||||||F||||||| OBX|25|NM|WBC Right Line||123||||||F||||||| OBX|26|NM|WBC End Line||400||||||F||||||| OBX|27|ED|RBC Histogram||0.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00 .00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.00.06.06.09.09.04.54.56.56.54.04.05.05.03 .03.02.52.53.53.51.51.51.51.55.05.04.04.03.03.05.55.54.54.54.04.01.51.52.02.02.52.51.51.53.53.53.53 .53.03.01.51.53.53.52.02.02.52.51.51.53.03.06.06.07.07.04.04.05.55.55.55.52.52.59.59.511.011.013.01 3.015.015.022.522.518.518.527.527.536.536.539.039.046.046.051.551.572.572.567.567.578.078.0108 .0108.0119.0119.0129.5129.5148.0148.0149.5149.5153.5153.5163.5163.5197.0197.0206.5206.5209.0 209.0214.5214.5181.0181.0235.0235.0239.5239.5236.5236.5211.0211.0219.0219.0226.0226.0221.522 1.5218.5218.5203.5203.5194.5194.5200.5200.5200.0200.0190.5190.5196.5196.5153.0153.0158.5158. 5147.5147.5146.0146.0177.5177.5131.5131.5127.5127.5144.5144.5129.5129.5119.0119.0126.0126.01 11.5111.5108.5108.599.099.0107.0107.096.096.0106.0106.086.586.579.579.595.595.580.080.084.584. 581.581.565.565.570.570.578.578.571.071.055.055.053.553.551.551.557.057.053.053.046.546.550.55 0.525.025.026.026.034.534.529.529.531.531.536.036.028.028.017.517.515.015.017.017.017.017.011.5 11.510.010.07.07.013.513.59.09.010.010.07.07.08.58.56.06.06.06.03.53.56.06.04.04.03.03.05.05.05.05 .04.04.04.04.05.55.50.50.55.05.04.04.02.02.03.53.51.01.03.03.06.56.53.03.03.03.01.51.51.51.52.02.01 28 .51.53.03.01.01.03.53.54.04.05.05.01.51.52.02.01.51.53.03.05.05.02.02.01.51.54.04.02.02.02.02.01.51 .52.02.02.52.53.03.03.53.51.51.51.51.51.51.53.03.01.51.52.52.52.52.51.01.01.51.51.01.01.01.02.02.02 .02.02.02.01.01.01.01.02.02.01.01.02.02.00.00.01.01.02.02.01.01.00.50.50.50.50.00.01.01.01.01.02.02 .00.50.50.50.51.01.00.50.51.51.50.50.51.51.51.51.51.51.51.01.01.51.50.50.50.50.51.01.00.50.50.50.50 .00.00.50.51.01.00.00.00.00.00.50.50.00.00.50.50.00.00.00.01.01.00.0||||||F||||||| OBX|28|NM|RBC Start Line||25||||||F||||||| OBX|29|NM|RBC End Line||200||||||F||||||| OBX|30|ED|PLT Histogram||5.55.50.00.00.00.00.00.00.50.50.50.50.50.51.51.51.01.02.52.55.05.08.08.07.07.07.57.510.0 10.013.513.57.07.07.57.55.55.515.015.010.010.09.59.513.013.018.518.59.59.517.017.08.58.511.011.0 12.012.015.015.012.012.021.021.06.06.011.511.59.59.514.514.510.510.516.016.06.06.016.516.58.08.0 7.07.05.55.58.58.510.510.57.07.04.54.512.012.03.53.512.512.57.57.55.55.54.04.04.54.53.03.05.55.53. 53.54.54.54.04.04.54.54.54.52.52.54.54.55.55.53.53.55.05.02.52.53.03.03.03.04.54.53.53.54.54.50.50. 52.02.04.04.01.01.04.54.52.52.52.52.52.02.01.01.02.02.02.52.51.51.50.50.52.02.01.01.02.52.50.50.51.01.01.51.51.01.01.01.00.50.50.50.52.52.50.00.01.01.00.50.50.00.01.01.00.50.50.00.01.01.00.00.00.00. 01.51.50.50.50.00.00.50.51.51.50.50.50.50.52.52.51.01.01.01.01.01.00.50.51.01.00.00.00.00.01.01.00. 00.00.00.00.00.00.50.50.00.00.0||||||F||||||| OBX|31|NM|PLT Start Line||2||||||F||||||| OBX|32|NM|PLT End Line||21||||||F||||||| Sample reply message One sample reply message shall be responded for each sample result received. Sample reply message includes two segments MSH and MSA. Two points should be paid attention to for correct reply message: ACK^R01 needs to be filled in the content of MSH-9 content, means the type of this message is sample reply message. The value of MSA-2 segment is the same with that of MSH-10 segment, which has received counting results, means that this reply message corresponds to the already sent counting results, the value of MSA-2 segment is 201304011 is this example. MSH|^~\&|LIS||||20130401172902||ACK^RO1| 1|P|2.3.1||||S||UNICODE||| MSA|AA|201304011||||| Quality control message PC operating software currently supports 3 quality control methods, L-J, X-B and X-R. The content and form of quality control result message are different from that of sample counting result message: the MSH-16 value of quality control message is Q, means the message type is quality control data; each quality control result message corresponds to one quality control point of PC terminal operating software, multiple results might be included, one L-J and X-B 1 quality control message includes one counting result, and one X-R quality control message includes one average calculation result and one range result obtained through calculating, point out average calculation result (X) or range result (R) in OBX-4 segment of the message. There are quality control set messages for L-J and X-B quality control, one quality control message contains reference value and deviation value, point out reference value ® or deviation value (L). Quality control result message is composed of one MSH message header and multiple 29 counting results, each counting result starts with PID and OBR segments that contains sample messages, there are multiple OBX segments used for carrying parameter results and other messages. Determine it is L-J quality control setting, counting result, X-B quality control setting or X-R quality control through OBR-4 segment. Quality control reply message There is only one difference between quality control reply message and counting result reply message: the value of MSH-16 segment is Q. Samples of quality control message and reply message: L-J quality control setting message: MSH|^~\&||Rayto|||20170725154238||ORU^R01|201707251|P|2.3.1||||Q||Unicode||| PID|1|a01|||||2017-08-02|||||||||||||||||||||||| OBR|1||1|LJ QCS|||||||||||||||||||||||||||||||||||||||||||| OBX|1|NM|WBC|R|5|10\S\9/L|||||||||||| OBX|2|NM|LYMP|R|5|%|||||||||||| OBX|3|NM|MONP|R|5|%|||||||||||| OBX|4|NM|GRAP|R|5|%|||||||||||| OBX|5|NM|LYMA|R|5|10\S\9/L|||||||||||| OBX|6|NM|MONA|R|5|10\S\9/L|||||||||||| OBX|7|NM|GRAA|R|5|10\S\9/L|||||||||||| OBX|8|NM|RBC|R|5|10\S\12/L|||||||||||| OBX|9|NM|HGB|R|5|g/L|||||||||||| OBX|10|NM|MCHC|R|5|g/L|||||||||||| OBX|11|NM|MCH|R|5|pg|||||||||||| OBX|12|NM|MCV|R|5|fL|||||||||||| OBX|13|NM|RDWCV|R|5|%|||||||||||| OBX|14|NM|RDWSD|R|5|fL|||||||||||| OBX|15|NM|HCT|R|5|%|||||||||||| OBX|16|NM|PLT|R|5|10\S\9/L|||||||||||| OBX|17|NM|MPV|R|5|fL|||||||||||| OBX|18|NM|PDW|R|5|fL|||||||||||| OBX|19|NM|PCT|R|5|%|||||||||||| OBX|20|NM|PLCR|R|5|%|||||||||||| OBX|21|NM|WBC|L|1|10\S\9/L|||||||||||| OBX|22|NM|LYMP|L|1|%|||||||||||| OBX|23|NM|MONP|L|1|%|||||||||||| OBX|24|NM|GRAP|L|1|%|||||||||||| OBX|25|NM|LYMA|L|1|10\S\9/L|||||||||||| OBX|26|NM|MONA|L|1|10\S\9/L|||||||||||| OBX|27|NM|GRAA|L|1|10\S\9/L|||||||||||| OBX|28|NM|RBC|L|1|10\S\12/L|||||||||||| OBX|29|NM|HGB|L|1|g/L|||||||||||| OBX|30|NM|MCHC|L|1|g/L|||||||||||| OBX|31|NM|MCH|L|1|pg|||||||||||| OBX|32|NM|MCV|L|1|fL|||||||||||| 30 OBX|33|NM|RDWCV|L|1|%|||||||||||| OBX|34|NM|RDWSD|L|1|fL|||||||||||| OBX|35|NM|HCT|L|1|%|||||||||||| OBX|36|NM|PLT|L|1|10\S\9/L|||||||||||| OBX|37|NM|MPV|L|1|fL|||||||||||| OBX|38|NM|PDW|L|1|fL|||||||||||| OBX|39|NM|PCT|L|1|%|||||||||||| OBX|40|NM|PLCR|L|1|%|||||||||||| Reply message: MSH|^~\&|LIS||||20170725165005||ACK^R01|2|P|2.3.1||||||Unicode||| MSA|AA|201707251||||| L-J Quality control result message: MSH|^~\&||Rayto|||20170725154352||ORU^R01|201707252|P|2.3.1||||Q||Unicode||| PID|1|||||||||||||||||||||||||||||| OBR|1||2|LJ QCR|||2014-12-0317:09:00||||||||||||||||||||||||||||||||||||||||| OBX|1|NM|WBC||22.2|10\S\9/L|||||F||||||| OBX|2|NM|LYMP||24.4|%|||||F||||||| OBX|3|NM|MONP||19.8|%|||||F||||||| OBX|4|NM|GRAP||55.8|%|||||F||||||| OBX|5|NM|LYMA|||10\S\9/L|||||F||||||| OBX|6|NM|MONA|||10\S\9/L|||||F||||||| OBX|7|NM|GRAA|||10\S\9/L|||||F||||||| OBX|8|NM|RBC||0.00|10\S\12/L|||||F||||||| OBX|9|NM|HGB||0|g/L|||||F||||||| OBX|10|NM|MCHC||0|g/L|||||F||||||| OBX|11|NM|MCH||0.0|pg|||||F||||||| OBX|12|NM|MCV||0.0|fL|||||F||||||| OBX|13|NM|RDWCV||0.0|%|||||F||||||| OBX|14|NM|RDWSD||0.0|fL|||||F||||||| OBX|15|NM|HCT||0.0|%|||||F||||||| OBX|16|NM|PLT||0|10\S\9/L|||||F||||||| OBX|17|NM|MPV||0.0|fL|||||F||||||| OBX|18|NM|PDW||0.0|fL|||||F||||||| OBX|19|NM|PCT||0.000|%|||||F||||||| OBX|20|NM|PLCR||0.0|%|||||F||||||| Reply message: MSH|^~\&|LIS||||20170725165005||ACK^R01|3|P|2.3.1|||||| Unicode||| MSA|AA|201707252||||| X-B Quality control setting message: MSH|^~\&|Hemaray86|Rayto|||20130517165306||ORU^R01|201305172|P|2.3.1||||Q||UNICODE||| OBR||||XB QCS||20130517|||||||||||||| Setter |||||||||||||||||||||||||||| OBX|1|NM|MCHC|R|344|g/L|||||||||||| OBX|2|NM|MCH|R|29|pg||N|||||||||| 31 OBX|3|NM|MCV|R|84.3|fL|||||||||||| OBX|4|NM|MCHC|L|30|g/L|||||||||||| OBX|5|NM|MCH|L|2|pg|||||||||||| OBX|6|NM|MVC|L|6|fL|||||||||||| Reply message: MSH|^~\&|LIS||||20130517165006||ACK^R01|4|P|2.3.1||||||UNICODE||| MSA|AA|201305172||||| X-B Quality control result message: MSH|^~\&||Rayto|||20130520145612||ORU^R01|201305203|P|2.3.1||||Q||UNICODE||| OBR|1||01|XB QCR||20130517|||||||||||||| Examining Physician |||||||||||||||||||||||||||| OBX|1|NM|MCHC||321|g/L|||||F||||||| OBX|2|NM|MCH||28.5|pg|||||F||||||| OBX|3|NM|MCV||87.9|fL|||||F||||||| Reply message: MSH|^~\&|LIS||||20130520145708||ACK^R01|5|Q|2.3.1||||||UNICODE||| MSA|AA|201305203||||| X-R Quality control setting message: MSH|^~\&||Rayto|||20170725154524||ORU^R01|201707253|P|2.3.1||||Q||Unicode||| PID|1||20|5||||||||||||||||||||||||||| OBR|1||1|XR QCS|||||||||||||||||||||||||||||||||||||||||||| Reply message: MSH|^~\&|LIS||||20170725160708||ACK^R01|6|P|2.3.1||||||Unicode||| MSA|AA|201707253||||| X-R Quality control result message: MSH|^~\&||Rayto|||20170725154619||ORU^R01|201707254|P|2.3.1||||Q||Unicode||| PID|1|a01|2|2|||2017-08-02|||||||||||||||||||||||| OBR|1||2|XR QCR|||2014-12-0911:35:51||||||||||||||||||||||||||||||||||||||||| OBX|1|NM|WBC||5.7|10\S\9/L|||||F||||||| OBX|2|NM|LYMP||48.6|%|||||F||||||| OBX|3|NM|MONP||34.1|%|||||F||||||| OBX|4|NM|GRAP||17.3|%|||||F||||||| OBX|5|NM|LYMA||2.8|10\S\9/L|||||F||||||| OBX|6|NM|MONA||1.9|10\S\9/L|||||F||||||| OBX|7|NM|GRAA||1.0|10\S\9/L|||||F||||||| OBX|8|NM|RBC||3.34|10\S\12/L|||||F||||||| OBX|9|NM|HGB||86|g/L|||||F||||||| OBX|10|NM|MCHC||229|g/L|||||F||||||| OBX|11|NM|MCH||25.7|pg|||||F||||||| OBX|12|NM|MCV||112.2|fL|||||F||||||| OBX|13|NM|RDWCV||10.8|%|||||F||||||| OBX|14|NM|RDWSD||60.8|fL|||||F||||||| 32 OBX|15|NM|HCT||37.5|%|||||F||||||| OBX|16|NM|PLT||205|10\S\9/L|||||F||||||| OBX|17|NM|MPV||9.2|fL|||||F||||||| OBX|18|NM|PDW||7.1|fL|||||F||||||| OBX|19|NM|PCT||0.189|%|||||F||||||| OBX|20|NM|PLCR||35.4|%|||||F||||||| Reply message:MSH|^~\&|LIS||||20170722560708||ACK^R01|7|P|2.3.1|||||| Unicode ||| MSA|AA|201707254||||| Two-way LIS query request sample Two-way LIS query request message includes sample number. When the LIS receive the request, it will reply with corresponding patient and sample information that be queried. Query request message includes 2 segments: MSH and ORC. MSH segment basically is the same as sample counting result segment, except for the value of MSH-9 message type segment is ORM^O01. Fill receiver number for ORC-3, and fill sample number here, fill SampleID1 for this segment in the sample, note that when built-in barcode scanning error occurs during automatic sample counting query, the value of sample number segment is Invalid. Below is query request message sample. MSH|^~\&||Rayto|||20170725155043||ORM^O01|201707251|P|2.3.1||||S||Unicode||| ORC|RF||2017072501||IP|||||||||||||||| Two-way LIS query request reply sample A query result reply message needs to be responded for LIS received query request message. The first two segments of query reply message are MSH and MSA. Fill ORR^O02 in MSH-9 message type segment. See the message reply sample part for the way of writing characters of MSA segment. If query message succeeds, it will contain PID, ORC and OBR segments, patient description and sample message, the information description method is the same as that of sample data communication message. The ORC segment in successful query message is indispensable, the value of ORC——1 is AF, fill query major key for ORC-2 segment, namely sample number. Note that OBR-2 segment is sample number information, the value should be in consistent with ORC-2 segment, and otherwise it will be considered as an error message. Below is a message sample with successful query result: MSH|^~\&|LIS||||20170725161058||ORR^O02|7|P|2.3.1|||||| Unicode ||| MSA|AA|201707251||||| PID|1||||Lucky|Cat||M|Jack||||||1Y|||||||||||||||| ORC|AF|201707251||| OBR|1|||||||||||||||||||||||||W|||||||||||||||||||||| Below is a reply message sample for failed query, MSA-2 segment indicates reply results, the value here is AR, means reject the query operation, the value also can be AE, means query operation processing error: MSH|^~\&|LIS||||20130520161108||ORR^O02|8|P|2.3.1|||||| Unicode ||| MSA|AR|2013040115||||| 33 4 Definition of HL7 Data Type Used - Code Element <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (ST)> - Composite The format is defined by specific segment. - Extended composite ID with check digit <ID (ST)> ^ <check digit (ST)> ^ <code identifying the check digit scheme employed (ID)> ^ < assigning authority (HD)> ^ <identifier type code (IS)> ^ < assigning facility (HD)> – Encapsulate Data <source application (HD) > ^ <type of data (ID) > ^ <data sub type (ID) > ^ <encoding (ID) > ^ <data (ST) > - Entity Identifier <entity identifier (ST)> ^ <namespace ID (IS)> ^ <universal ID (ST)> ^ <universal ID type (ID)> – Financial Class <financial class (IS) > ^ <effective date (TS) > - Hierarchic designator <namespace ID (IS)> ^ <universal ID (ST)> ^ <universal ID type (ID)> Used only as part of EI and other data types. - Formatted text This data type is derived from the string data type by allowing the addition of embedded formatting instructions. These instructions are limited to those that are intrinsic and independent of the circumstances under which the field is being used. - Coded value for user-defined tables The value of such a field follows the formatting rules for an ST field except that it is drawn from a site-defined (or user-defined) table of legal values. There shall be an HL7 table number associated with IS data types. - Coded values for HL7 tables The value of such a field follows the formatting rules for an ST field except that it is drawn from a table of legal values. There shall be an HL7 table number associated with ID data types. - Numeric A number represented as a series of ASCII numeric characters consisting of an optional leading sign (+ or -), the digits and an optional decimal point. - Person location <point of care (IS )> ^ <room (IS )> ^ <bed (IS)> ^ <facility (HD)> ^ < location status (IS )> ^ <person location type (IS)> ^ <building (IS )> ^ <floor (IS )> ^ <location description (ST)> - Processing type 34 <processing ID (ID)> ^ <processing mode (ID)> - Sequence ID A non-negative integer in the form of an NM field. The uses of this data type are defined in the chapters defining the segments and messages in which it appears. – String - Time stamp YYYY[MM[DD[HHMM[SS[.S[S[S[S]]]]]]]][+/-ZZZZ] ^ <degree of precision> - Extended composite ID number and name In Version 2.3, use instead of the CN data type. <ID number (ST)> ^ <family name (ST)> & <last_name_prefix (ST) ^ <given name (ST)> ^ <middle initial or name (ST)> ^ <suffix (e.g., JR or III) (ST)> ^ <prefix (e.g., DR) (ST)> ^ <degree (e.g., MD) (ST)> ^ <source table (IS)> ^ <assigning authority (HD)> ^ <name type code (ID)> ^ <identifier check digit (ST)> ^ <code identifying the check digit scheme employed (ID)> ^ <identifier type code (IS)> ^ <assigning facility (HD)> ^ <name representation code (ID)> - Extended person name In Version 2.3, replaces the PN data type. <family name (ST)> ^ <given name (ST)> & <last_name_prefix (ST)> ^ <middle initial or name (ST)> ^ <suffix (e.g., JR or III) (ST)> ^ <prefix (e.g., DR) (ST)> ^ <degree (e.g., MD) (IS)> ^ <name type code (ID) > ^ <name representation code (ID)> - Version identifier <version ID (ID)> ^ <internationalization code (CE)> ^ <international version ID (CE)> 35 5 Message Coding Definition 1. See the table below for the value meaning of the custom enumerated values in MSH segment: Table 8 MSH Custom Enumerated Values MSH-16 S – Sample C - Calibration Q - QC 2. See the table below for the value meaning of the custom enumerated values in MSA segment: Table 9 MSH Custom Enumerated Values MSA-1 AA - Accept AE – Error AR – Refuse 3. See the table below for the value meaning of the custom enumerated values in PID segment: Table 10 PID Custom Enumerated Values PID-8 M - Man F – Female O - Other PID-15 Y - Year M - Month D – Day H – Hour O - Other 4. See the table below for the value meaning of the custom enumerated values in OBR segment: Table 11 OBR Custom Enumerated Values OBR-26 W - Whole P- Peripheral PD- Pre-diluted 36 U - Unknown 5. See the table below for the value meaning of the custom enumerated values in OBX segment: Table 12 OBR Custom Enumerated Values OBX-4 L-J, X-B quality control setting message: R – Reference L - Limit X-R quality control result message: X – Mean R - Range OBX-5 ----- - Invalid value OBX-8 N - Normal H - High, higher than the upper limit of reference range L - Low, lower than the low limit of reference range 6. Histogram can be generated by PC terminal operating software, histogram is generated according to the impedance channel of the instrument, including WBC histogram, RBC histogram and PLT histogram, The following circumstances of graph data transmission exist according to software settings: (1) No transmission of graph data. (2) Transfer bitmap graph data, the data type field value in OBX segment is “ED”, the data field value format like “BMP^……bitmap data……”, “BMP” (This value also may be other type, such as JPG, PNG etc) means histogram data is in transmission, and the data has been conducted Base64 encoding. (3) Transfer graph data in binary form, the data type field value in OBX segment is “ED”, the data fieldvalue format like “DAT^……binary graph data……”, DAT (or BIN) indicates the binary data type defined by the application, and the data has been conducted Base64 encoding. There are three histograms, each histogram is divided into 256 channels, each channel is represented by a byte of data, there are 256 bytes in total, there is data for two graphs while transferring the binary graph data of scatter diagram, respectively are chromatic index data for main scatter diagram and sub scatter diagram. Chromatic index data has defined a scatter diagram includes color type information and 37 brightness information, there are 256 lines and 256 rows for each diagram, each byte represents one point. 38 6 Reference Books 1.《HL7 Interface Standards Version 2.3.1》