HL7v2 Editor

HL7v2 Editor

HL7v2 Editor is an online editor for HL7v2 messages.

HL7v2 Editor
DeveloperAnton Vasetenkov
RegistrationOptional
TypeHealthcare
DescriptionAn online editor for HL7v2 messages.
Written inTypeScript
PlatformWeb application
Initial releaseApril 17, 2022
Latest releaseApril 17, 2022
Current statusActive
HL7v2 Editor
Segment MSH Message Header
1 Field Separator (String)
1.1 String Data: |
2 Encoding Characters (String)
2.1 String Data: ^~\&
3 Sending Application (Hierarchic designator)
3.1 Namespace ID: MegaReg
4 Sending Facility (Hierarchic designator)
4.1 Namespace ID: XYZHospC
5 Receiving Application (Hierarchic designator)
5.1 Namespace ID: SuperOE
6 Receiving Facility (Hierarchic designator)
6.1 Namespace ID: XYZImgCtr
7 Date/Time Of Message (Time stamp)
7.1 Time: 20060529090131-0500
9 Message Type (Message type)
9.1 Message Code: ADT
9.2 Trigger Event: A01
9.3 Message Structure: ADT_A01
10 Message Control ID (String)
10.1 String Data: 01052901
11 Processing ID (Processing type)
11.1 Processing ID: P
12 Version ID (Version identifier)
12.1 Version ID: 2.5
Segment EVN Event Type
2 Recorded Date/Time (Time stamp)
2.1 Time: 200605290901
Segment PID Patient Identification
3 Patient Identifier List (Extended composite ID with check digit)
3.1 Number: 56782445
3.4 Assigning Authority: UAReg
3.5 Identifier Type Code: PI
5 Patient Name (Extended person name)
5.1 Family Name: KLEINSAMPLE
5.2 Given Name: BARRY
5.3 Second and Further Given Names or Initials Thereof: Q
5.4 Suffix (e.g., JR or III): JR
7 Date/Time of Birth (Time stamp)
7.1 Time: 19620910
8 Administrative Sex (Coded value for user-defined tables)
8.1 Coded Value for User-Defined Tables: M (Male)
10 Race (Coded element)
10.1 Identifier: 2028-9
10.3 Name of Coding System: HL70005
10.4 Alternate Identifier: RA99113
10.6 Name of Alternate Coding Syste: XYZ
11 Patient Address (Extended address)
11.1 Street Address: 260 GOODWIN CREST DRIVE
11.3 City: BIRMINGHAM
11.4 State or Province: AL
11.5 Zip or Postal Code: 35209
11.7 Address Type: M
11 Patient Address (Extended address)
11.1 Street Address: NICKELL’S PICKLES
11.2 Other Designation: 10000 W 100TH AVE
11.3 City: BIRMINGHAM
11.4 State or Province: AL
11.5 Zip or Postal Code: 35200
11.7 Address Type: O
18 Patient Account Number (Extended composite ID with check digit)
18.1 Number: 0105I30001
18.4 Assigning Authority: 99DEF
18.5 Identifier Type Code: AN
Segment PV1 Patient Visit
2 Patient Class (Coded value for user-defined tables)
2.1 Coded Value for User-Defined Tables: I (Inpatient)
3 Assigned Patient Location (Person location)
3.1 Point of Care: W
3.2 Room: 389
3.3 Bed: 1
3.4 Facility: UABH
3.8 Floor: 3
7 Attending Doctor (Extended composite ID number and name)
7.1 Number: 12345
7.2 Family Name: MORGAN
7.3 Given Name: REX
7.4 Second and Further Given Names or Initials Thereof: J
7.7 Degree (e.g., MD) deprecated as of v 2.5: MD
7.8 Source Table: 0010
7.9 Assigning Authority: UAMC
7.10 Name Type Code: L
9 Consulting Doctor (Extended composite ID number and name)
9.1 Number: 67890
9.2 Family Name: GRAINGER
9.3 Given Name: LUCY
9.4 Second and Further Given Names or Initials Thereof: X
9.7 Degree (e.g., MD) deprecated as of v 2.5: MD
9.8 Source Table: 0010
9.9 Assigning Authority: UAMC
9.10 Name Type Code: L
10 Hospital Service (Coded value for user-defined tables)
10.1 Coded Value for User-Defined Tables: MED (Medical Service)
15 Ambulatory Status (Coded value for user-defined tables)
15.1 Coded Value for User-Defined Tables: A0 (No functional limitations)
17 Admitting Doctor (Extended composite ID number and name)
17.1 Number: 13579
17.2 Family Name: POTTER
17.3 Given Name: SHERMAN
17.4 Second and Further Given Names or Initials Thereof: T
17.7 Degree (e.g., MD) deprecated as of v 2.5: MD
17.8 Source Table: 0010
17.9 Assigning Authority: UAMC
17.10 Name Type Code: L
44 Admit Date/Time (Time stamp)
44.1 Time: 200605290900
Segment OBX Observation / Result
1 Set ID - OBX (Sequence ID)
1.1 Sequence ID: 1
2 Value Type (Coded values for HL7 tables)
2.1 Coded Value for HL7-Defined Tables: NM (Numeric)
3 Observation Identifier (Coded element)
3.2 Text: Body Height
5 Observation Value
1.80
6 Units (Coded element)
6.1 Identifier: m
6.2 Text: Meter
6.3 Name of Coding System: ISO+
11 Observation Result Status (Coded values for HL7 tables)
11.1 Coded Value for HL7-Defined Tables: F (Final results; Can only be changed with a corrected result.)
Segment OBX Observation / Result
1 Set ID - OBX (Sequence ID)
1.1 Sequence ID: 2
2 Value Type (Coded values for HL7 tables)
2.1 Coded Value for HL7-Defined Tables: NM (Numeric)
3 Observation Identifier (Coded element)
3.2 Text: Body Weight
5 Observation Value
79
6 Units (Coded element)
6.1 Identifier: kg
6.2 Text: Kilogram
6.3 Name of Coding System: ISO+
11 Observation Result Status (Coded values for HL7 tables)
11.1 Coded Value for HL7-Defined Tables: F (Final results; Can only be changed with a corrected result.)
Segment AL1 Patient Allergy Information
1 Set ID - AL1 (Sequence ID)
1.1 Sequence ID: 1
3 Allergen Code/Mnemonic/Description (Coded element)
3.2 Text: ASPIRIN
Segment DG1 Diagnosis
1 Set ID - DG1 (Sequence ID)
1.1 Sequence ID: 1
3 Diagnosis Code - DG1 (Coded element)
3.1 Identifier: 786.50
3.2 Text: CHEST PAIN, UNSPECIFIED
3.3 Name of Coding System: I9
6 Diagnosis Type (Coded value for user-defined tables)
6.1 Coded Value for User-Defined Tables: A (Admitting)