health.hl7v22
Module health.hl7v22
Declarations
Definitions
ballerinax/health.hl7v22 Ballerina library
Package containing HL7 messages, segments, data types and utilities to implement HL7 v2.2 specification related integration
HL7 v2.2 Package
Package Overview
This Package holds the messages, segments and data types for the HL7 version 2.2.
Usage
To add the HL7 v22 dependency the project simply import the package as below,
import ballerinax/health.hl7v22
Dependency Compatibility
| Package | version |
|---|---|
| ballerinax/health.hl7v2 | 3.0.x |
Refer HL7 Base package to learn more about usage of the HL7 package series.
Usage
To add the HL7 v2.2 dependency the project simply import the package as below,
import ballerinax/health.hl7v22
Sample: Simple HL7 Server implementation compatible for HL7 v2.2 which accept any message HL7 message available
in this package. This server binds to port 3000
Tip: Use Hapi TestPanel or any HL7 v2.2 compatible client to invoke this server.
import ballerina/io; import ballerina/tcp; import ballerina/uuid; import ballerinax/health.hl7v2; import ballerinax/health.hl7v22; service on new tcp:Listener(3000) { remote function onConnect(tcp:Caller caller) returns tcp:ConnectionService { io:println("Client connected to HL7 server: ", caller.remotePort.toString()); return new HL7ServiceConnectionService(); } } service class HL7ServiceConnectionService { *tcp:ConnectionService; remote function onBytes(tcp:Caller caller, readonly & byte[] data) returns tcp:Error? { string|error fromBytes = string:fromBytes(data); if fromBytes is string { io:println("Received HL7 Message: ", fromBytes); } // Parse the received message. hl7v2:Message|error parsedMsg = hl7v2:parse(data); if parsedMsg is error { return error(string `Error occurred while parsing the received message: ${parsedMsg.message()}`, parsedMsg); } io:println(string `Parsed HL7 message: ${parsedMsg.toJsonString()}`); // Extract Message header (MSH). hl7v22:MSH? msh = (); if parsedMsg is hl7v2:Message && parsedMsg.hasKey("msh") { anydata mshEntry = parsedMsg["msh"]; hl7v22:MSH|error tempMSH = mshEntry.ensureType(); if tempMSH is error { return error("Error occurred while casting MSH", tempMSH); } msh = tempMSH; } if msh is () { return error("Failed to extract MSH from HL7 message"); } // Create Acknowledgement message. hl7v22:ACK ack = { msh: { msh2: "^~\\&", msh3: "TESTSERVER", msh4: "WSO2OH", msh5: msh.msh3, msh6: msh.msh4, msh9: {cm_msg1: hl7v22:ACK_MESSAGE_TYPE}, msh10: uuid:createType1AsString().substring(0, 8), msh11: "P", msh12: "2.2" }, msa: { msa1: "AA", msa2: msh.msh10 } }; // Encode message to wire format. byte[]|hl7v2:HL7Error encodedMsg = hl7v2:encode(hl7v22:VERSION, ack); if encodedMsg is hl7v2:HL7Error { return error("Error occurred while encoding acknowledgement", encodedMsg); } string|error resp = string:fromBytes(encodedMsg); if resp is string { io:println(string `Encoded HL7 ACK Response Message: ${resp}`); } // Echoes back the data to the client from which the data is received. check caller->writeBytes(encodedMsg); } remote function onError(tcp:Error err) { io:println(string `An error occurred while receiving HL7 message: ${err.message()}. Stack trace: `, err.stackTrace()); } remote function onClose() { io:println("Client left."); } }
Functions
getMessage
Returns instance of HL7 message given the message type.
Parameters
- messageName string - Message type
Return Type
- Message? - Instance of HL7 message
getSegment
Returns instance of segment record given the segment name.
Parameters
- segmentName string - HL7 message segment name
Return Type
- Segment? - Record of segment instance
getSegmentComponent
function getSegmentComponent(string segmentComponentName) returns SegmentComponent?Returns instance of HL7 segment component.
Parameters
- segmentComponentName string - HL7 Segment component name
Return Type
- SegmentComponent? - Instance of HL7 segment component
Constants
health.hl7v22: ACC_SEGMENT_NAME
health.hl7v22: ACK_MESSAGE_TYPE
health.hl7v22: ADD_SEGMENT_NAME
health.hl7v22: ADR_A19_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: ADR_A19_MESSAGE_TYPE
health.hl7v22: ADR_A19_QUERY_RESPONSE_SEGMENT_COMPONENT
health.hl7v22: ADT_A01_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: ADT_A01_MESSAGE_TYPE
health.hl7v22: ADT_A02_MESSAGE_TYPE
health.hl7v22: ADT_A03_MESSAGE_TYPE
health.hl7v22: ADT_A04_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: ADT_A04_MESSAGE_TYPE
health.hl7v22: ADT_A05_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: ADT_A05_MESSAGE_TYPE
health.hl7v22: ADT_A06_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: ADT_A06_MESSAGE_TYPE
health.hl7v22: ADT_A07_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: ADT_A07_MESSAGE_TYPE
health.hl7v22: ADT_A08_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: ADT_A08_MESSAGE_TYPE
health.hl7v22: ADT_A09_MESSAGE_TYPE
health.hl7v22: ADT_A10_MESSAGE_TYPE
health.hl7v22: ADT_A11_MESSAGE_TYPE
health.hl7v22: ADT_A12_MESSAGE_TYPE
health.hl7v22: ADT_A13_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: ADT_A13_MESSAGE_TYPE
health.hl7v22: ADT_A14_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: ADT_A14_MESSAGE_TYPE
health.hl7v22: ADT_A15_MESSAGE_TYPE
health.hl7v22: ADT_A16_MESSAGE_TYPE
health.hl7v22: ADT_A17_MESSAGE_TYPE
health.hl7v22: ADT_A18_MESSAGE_TYPE
health.hl7v22: ADT_A20_MESSAGE_TYPE
health.hl7v22: ADT_A21_MESSAGE_TYPE
health.hl7v22: ADT_A22_MESSAGE_TYPE
health.hl7v22: ADT_A23_MESSAGE_TYPE
health.hl7v22: ADT_A24_MESSAGE_TYPE
health.hl7v22: ADT_A25_MESSAGE_TYPE
health.hl7v22: ADT_A26_MESSAGE_TYPE
health.hl7v22: ADT_A27_MESSAGE_TYPE
health.hl7v22: ADT_A28_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: ADT_A28_MESSAGE_TYPE
health.hl7v22: ADT_A29_MESSAGE_TYPE
health.hl7v22: ADT_A30_MESSAGE_TYPE
health.hl7v22: ADT_A31_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: ADT_A31_MESSAGE_TYPE
health.hl7v22: ADT_A32_MESSAGE_TYPE
health.hl7v22: ADT_A33_MESSAGE_TYPE
health.hl7v22: ADT_A34_MESSAGE_TYPE
health.hl7v22: ADT_A35_MESSAGE_TYPE
health.hl7v22: ADT_A36_MESSAGE_TYPE
health.hl7v22: ADT_A37_MESSAGE_TYPE
health.hl7v22: AL1_SEGMENT_NAME
health.hl7v22: BAR_P01_INSURANCE_SEGMENT_COMPONENT
health.hl7v22: BAR_P01_MESSAGE_TYPE
health.hl7v22: BAR_P01_VISIT_SEGMENT_COMPONENT
health.hl7v22: BAR_P02_MESSAGE_TYPE
health.hl7v22: BAR_P02_PATIENT_SEGMENT_COMPONENT
health.hl7v22: BHS_SEGMENT_NAME
health.hl7v22: BLG_SEGMENT_NAME
health.hl7v22: BTS_SEGMENT_NAME
health.hl7v22: DFT_P03_MESSAGE_TYPE
health.hl7v22: DG1_SEGMENT_NAME
health.hl7v22: DSC_SEGMENT_NAME
health.hl7v22: DSP_SEGMENT_NAME
health.hl7v22: DSR_Q01_MESSAGE_TYPE
health.hl7v22: DSR_Q03_MESSAGE_TYPE
health.hl7v22: DSR_R03_MESSAGE_TYPE
health.hl7v22: ERR_SEGMENT_NAME
health.hl7v22: EVN_SEGMENT_NAME
health.hl7v22: FHS_SEGMENT_NAME
health.hl7v22: FT1_SEGMENT_NAME
health.hl7v22: FTS_SEGMENT_NAME
health.hl7v22: GT1_SEGMENT_NAME
health.hl7v22: IN1_SEGMENT_NAME
health.hl7v22: IN2_SEGMENT_NAME
health.hl7v22: IN3_SEGMENT_NAME
health.hl7v22: MCF_MESSAGE_TYPE
health.hl7v22: MFA_SEGMENT_NAME
health.hl7v22: MFD_M01_MESSAGE_TYPE
health.hl7v22: MFD_M02_MESSAGE_TYPE
health.hl7v22: MFD_M03_MESSAGE_TYPE
health.hl7v22: MFE_SEGMENT_NAME
health.hl7v22: MFI_SEGMENT_NAME
health.hl7v22: MFN_M01_MESSAGE_TYPE
health.hl7v22: MFN_M01_MF_SEGMENT_COMPONENT
health.hl7v22: MFN_M02_MESSAGE_TYPE
health.hl7v22: MFN_M02_MF_STAFF_SEGMENT_COMPONENT
health.hl7v22: MFN_M03_MESSAGE_TYPE
health.hl7v22: MFN_M03_MF_TEST_SEGMENT_COMPONENT
health.hl7v22: MFQ_M01_MESSAGE_TYPE
health.hl7v22: MFQ_M02_MESSAGE_TYPE
health.hl7v22: MFQ_M03_MESSAGE_TYPE
health.hl7v22: MRG_SEGMENT_NAME
health.hl7v22: MSA_SEGMENT_NAME
health.hl7v22: MSH_SEGMENT_NAME
health.hl7v22: NCK_SEGMENT_NAME
health.hl7v22: NK1_SEGMENT_NAME
health.hl7v22: NMD_N01_APP_STATS_SEGMENT_COMPONENT
health.hl7v22: NMD_N01_APP_STATUS_SEGMENT_COMPONENT
health.hl7v22: NMD_N01_CLOCK_AND_STATS_WITH_NOTES_SEGMENT_COMPONENT
health.hl7v22: NMD_N01_CLOCK_SEGMENT_COMPONENT
health.hl7v22: NMD_N01_MESSAGE_TYPE
health.hl7v22: NMQ_N02_CLOCK_AND_STATISTICS_SEGMENT_COMPONENT
health.hl7v22: NMQ_N02_MESSAGE_TYPE
health.hl7v22: NMQ_N02_QRY_WITH_DETAIL_SEGMENT_COMPONENT
health.hl7v22: NMR_N02_MESSAGE_TYPE
health.hl7v22: NMR_N02_RESPONSE_SEGMENT_COMPONENT
health.hl7v22: NPU_SEGMENT_NAME
health.hl7v22: NSC_SEGMENT_NAME
health.hl7v22: NST_SEGMENT_NAME
health.hl7v22: NTE_SEGMENT_NAME
health.hl7v22: OBR_SEGMENT_NAME
health.hl7v22: OBX_SEGMENT_NAME
health.hl7v22: ODS_SEGMENT_NAME
health.hl7v22: ODT_SEGMENT_NAME
health.hl7v22: OM1_SEGMENT_NAME
health.hl7v22: OM2_SEGMENT_NAME
health.hl7v22: OM3_SEGMENT_NAME
health.hl7v22: OM4_SEGMENT_NAME
health.hl7v22: OM5_SEGMENT_NAME
health.hl7v22: OM6_SEGMENT_NAME
health.hl7v22: ORC_SEGMENT_NAME
health.hl7v22: ORF_R04_MESSAGE_TYPE
health.hl7v22: ORF_R04_OBSERVATION_SEGMENT_COMPONENT
health.hl7v22: ORF_R04_ORDER_SEGMENT_COMPONENT
health.hl7v22: ORF_R04_QUERY_RESPONSE_SEGMENT_COMPONENT
health.hl7v22: ORM_O01_MESSAGE_TYPE
health.hl7v22: ORM_O01_OBSERVATION_SEGMENT_COMPONENT
health.hl7v22: ORM_O01_ORDER_DETAIL_SEGMENT_COMPONENT
health.hl7v22: ORM_O01_ORDER_DETAIL_SEGMENT_SEGMENT_COMPONENT
health.hl7v22: ORM_O01_ORDER_SEGMENT_COMPONENT
health.hl7v22: ORM_O01_PATIENT_SEGMENT_COMPONENT
health.hl7v22: ORR_O02_MESSAGE_TYPE
health.hl7v22: ORR_O02_ORDER_DETAIL_SEGMENT_COMPONENT
health.hl7v22: ORR_O02_ORDER_DETAIL_SEGMENT_SEGMENT_COMPONENT
health.hl7v22: ORR_O02_ORDER_SEGMENT_COMPONENT
health.hl7v22: ORR_O02_PATIENT_SEGMENT_COMPONENT
health.hl7v22: ORU_R01_MESSAGE_TYPE
health.hl7v22: ORU_R01_OBSERVATION_SEGMENT_COMPONENT
health.hl7v22: ORU_R01_ORDER_OBSERVATION_SEGMENT_COMPONENT
health.hl7v22: ORU_R01_PATIENT_RESULT_SEGMENT_COMPONENT
health.hl7v22: ORU_R01_PATIENT_SEGMENT_COMPONENT
health.hl7v22: PID_SEGMENT_NAME
health.hl7v22: PR1_SEGMENT_NAME
health.hl7v22: PRA_SEGMENT_NAME
health.hl7v22: PV1_SEGMENT_NAME
health.hl7v22: PV2_SEGMENT_NAME
health.hl7v22: QRD_SEGMENT_NAME
health.hl7v22: QRF_SEGMENT_NAME
health.hl7v22: QRY_A19_MESSAGE_TYPE
health.hl7v22: QRY_P04_MESSAGE_TYPE
health.hl7v22: QRY_Q01_MESSAGE_TYPE
health.hl7v22: QRY_Q02_MESSAGE_TYPE
health.hl7v22: QRY_Q26_MESSAGE_TYPE
health.hl7v22: QRY_Q27_MESSAGE_TYPE
health.hl7v22: QRY_Q28_MESSAGE_TYPE
health.hl7v22: QRY_Q29_MESSAGE_TYPE
health.hl7v22: QRY_Q30_MESSAGE_TYPE
health.hl7v22: QRY_R02_MESSAGE_TYPE
health.hl7v22: RAR_RAR_DEFINITION_SEGMENT_COMPONENT
health.hl7v22: RAR_RAR_ENCODING_SEGMENT_COMPONENT
health.hl7v22: RAR_RAR_MESSAGE_TYPE
health.hl7v22: RAR_RAR_ORDER_SEGMENT_COMPONENT
health.hl7v22: RAR_RAR_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RAS_O02_COMPONENTS_SEGMENT_COMPONENT
health.hl7v22: RAS_O02_ENCODING_SEGMENT_COMPONENT
health.hl7v22: RAS_O02_MESSAGE_TYPE
health.hl7v22: RAS_O02_OBSERVATION_SEGMENT_COMPONENT
health.hl7v22: RAS_O02_ORDER_DETAIL_SEGMENT_COMPONENT
health.hl7v22: RAS_O02_ORDER_DETAIL_SUPPLEMENT_SEGMENT_COMPONENT
health.hl7v22: RAS_O02_ORDER_SEGMENT_COMPONENT
health.hl7v22: RAS_O02_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RDE_O01_COMPONENT_SEGMENT_COMPONENT
health.hl7v22: RDE_O01_MESSAGE_TYPE
health.hl7v22: RDE_O01_OBSERVATION_SEGMENT_COMPONENT
health.hl7v22: RDE_O01_ORDER_DETAIL_SEGMENT_COMPONENT
health.hl7v22: RDE_O01_ORDER_SEGMENT_COMPONENT
health.hl7v22: RDE_O01_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RDR_RDR_DEFINITION_SEGMENT_COMPONENT
health.hl7v22: RDR_RDR_DISPENSE_SEGMENT_COMPONENT
health.hl7v22: RDR_RDR_ENCODING_SEGMENT_COMPONENT
health.hl7v22: RDR_RDR_MESSAGE_TYPE
health.hl7v22: RDR_RDR_ORDER_SEGMENT_COMPONENT
health.hl7v22: RDR_RDR_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RDS_O01_COMPONENT_SEGMENT_COMPONENT
health.hl7v22: RDS_O01_ENCODING_SEGMENT_COMPONENT
health.hl7v22: RDS_O01_MESSAGE_TYPE
health.hl7v22: RDS_O01_OBSERVATION_SEGMENT_COMPONENT
health.hl7v22: RDS_O01_ORDER_DETAIL_SEGMENT_COMPONENT
health.hl7v22: RDS_O01_ORDER_DETAIL_SUPPLEMENT_SEGMENT_COMPONENT
health.hl7v22: RDS_O01_ORDER_SEGMENT_COMPONENT
health.hl7v22: RDS_O01_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RER_RER_DEFINITION_SEGMENT_COMPONENT
health.hl7v22: RER_RER_MESSAGE_TYPE
health.hl7v22: RER_RER_ORDER_SEGMENT_COMPONENT
health.hl7v22: RER_RER_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RGR_RGR_DEFINITION_SEGMENT_COMPONENT
health.hl7v22: RGR_RGR_ENCODING_SEGMENT_COMPONENT
health.hl7v22: RGR_RGR_MESSAGE_TYPE
health.hl7v22: RGR_RGR_ORDER_SEGMENT_COMPONENT
health.hl7v22: RGR_RGR_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RGV_O01_COMPONENT_SEGMENT_COMPONENT
health.hl7v22: RGV_O01_ENCODING_SEGMENT_COMPONENT
health.hl7v22: RGV_O01_GIVE_SEGMENT_COMPONENT
health.hl7v22: RGV_O01_MESSAGE_TYPE
health.hl7v22: RGV_O01_OBSERVATION_SEGMENT_COMPONENT
health.hl7v22: RGV_O01_ORDER_DETAIL_SEGMENT_COMPONENT
health.hl7v22: RGV_O01_ORDER_DETAIL_SUPPLEMENT_SEGMENT_COMPONENT
health.hl7v22: RGV_O01_ORDER_SEGMENT_COMPONENT
health.hl7v22: RGV_O01_PATIENT_SEGMENT_COMPONENT
health.hl7v22: ROR_ROR_DEFINITION_SEGMENT_COMPONENT
health.hl7v22: ROR_ROR_MESSAGE_TYPE
health.hl7v22: ROR_ROR_ORDER_SEGMENT_COMPONENT
health.hl7v22: ROR_ROR_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RQ1_SEGMENT_NAME
health.hl7v22: RQD_SEGMENT_NAME
health.hl7v22: RRA_O02_ADMINISTRATION_SEGMENT_COMPONENT
health.hl7v22: RRA_O02_MESSAGE_TYPE
health.hl7v22: RRA_O02_ORDER_SEGMENT_COMPONENT
health.hl7v22: RRA_O02_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RRA_O02_RESPONSE_SEGMENT_COMPONENT
health.hl7v22: RRD_O02_MESSAGE_TYPE
health.hl7v22: RRD_O02_ORDER_DETAIL_SEGMENT_COMPONENT
health.hl7v22: RRD_O02_ORDER_SEGMENT_COMPONENT
health.hl7v22: RRD_O02_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RRE_O02_MESSAGE_TYPE
health.hl7v22: RRE_O02_ORDER_DETAIL_SEGMENT_COMPONENT
health.hl7v22: RRE_O02_ORDER_SEGMENT_COMPONENT
health.hl7v22: RRE_O02_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RRG_O02_MESSAGE_TYPE
health.hl7v22: RRG_O02_ORDER_DETAIL_SEGMENT_COMPONENT
health.hl7v22: RRG_O02_ORDER_SEGMENT_COMPONENT
health.hl7v22: RRG_O02_PATIENT_SEGMENT_COMPONENT
health.hl7v22: RXA_SEGMENT_NAME
health.hl7v22: RXC_SEGMENT_NAME
health.hl7v22: RXD_SEGMENT_NAME
health.hl7v22: RXE_SEGMENT_NAME
health.hl7v22: RXG_SEGMENT_NAME
health.hl7v22: RXO_SEGMENT_NAME
health.hl7v22: RXR_SEGMENT_NAME
health.hl7v22: STF_SEGMENT_NAME
health.hl7v22: UB1_SEGMENT_NAME
health.hl7v22: UB2_SEGMENT_NAME
health.hl7v22: UDM_Q05_MESSAGE_TYPE
health.hl7v22: URD_SEGMENT_NAME
health.hl7v22: URS_SEGMENT_NAME
health.hl7v22: VERSION
health.hl7v22: Zxx_SEGMENT_NAME
Records
health.hl7v22: ACC
ACC segment. Accident The ACC segment contains patient information relative to an accidentin which the patient has been involved.
Fields
- Fields Included from *Segment
- name string(default ACC_SEGMENT_NAME) - Segment Name
- acc1 TS(default {}) - Accident Date / Time
- acc2 ID(default "") - Accident Code
- acc3 ST(default "") - Accident Location
health.hl7v22: ACK
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ACK_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
health.hl7v22: AD
Address All components are ST data type. The street or mailing address of a person or institution.
Fields
- Fields Included from *CompositeType
- anydata...
- ad1 ST(default "") - Street Address
- ad2 ST(default "") - Other Designation
- ad3 ST(default "") - City
- ad4 ST(default "") - State Or Province
- ad5 ID(default "") - Zip Or Postal Code
- ad6 ID(default "") - Country
- ad7 ID(default "") - Type
- ad8 ST(default "") - Other Geographic Designation
health.hl7v22: ADD
ADD segment. Addendum The ADD segment is used to define the continuation of the prior segment in a continuation message
Fields
- Fields Included from *Segment
- name string(default ADD_SEGMENT_NAME) - Segment Name
- add1 ST(default "") - Addendum Continuation Pointer
health.hl7v22: ADR_A19
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADR_A19_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- qrd QRD(default {}) - QRD
- query_response ADR_A19_QUERY_RESPONSE[](default [{pid: {}}]) - ADR_A19_QUERY_RESPONSE Segment Group
- dsc? DSC - DSC
health.hl7v22: ADR_A19_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default ADR_A19_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: ADR_A19_QUERY_RESPONSE
Fields
- Fields Included from *SegmentComponent
- name string(default ADR_A19_QUERY_RESPONSE_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- evn? EVN -
- pid PID(default {}) -
- nk1 NK1[](default []) -
- pv1 PV1(default {}) -
- pv2? PV2 -
- obx OBX[](default []) -
- al1 AL1[](default []) -
- dg1 DG1[](default []) -
- pr1 PR1[](default []) -
- gt1 GT1[](default []) -
- insurance ADR_A19_INSURANCE[](default []) -
- acc? ACC -
- ub1? UB1 -
- ub2? UB2 -
health.hl7v22: ADT_A01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- nk1 NK1[](default []) - NK1
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- al1 AL1[](default []) - AL1
- dg1 DG1[](default []) - DG1
- pr1 PR1[](default []) - PR1
- gt1 GT1[](default []) - GT1
- insurance ADT_A01_INSURANCE[](default []) - ADT_A01_INSURANCE Segment Group
- acc? ACC - ACC
- ub1? UB1 - UB1
- ub2? UB2 - UB2
health.hl7v22: ADT_A01_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default ADT_A01_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: ADT_A02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
health.hl7v22: ADT_A03
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A03_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
health.hl7v22: ADT_A04
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A04_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- nk1 NK1[](default []) - NK1
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- al1 AL1[](default []) - AL1
- dg1 DG1[](default []) - DG1
- pr1 PR1[](default []) - PR1
- gt1 GT1[](default []) - GT1
- insurance ADT_A04_INSURANCE[](default []) - ADT_A04_INSURANCE Segment Group
- acc? ACC - ACC
- ub1? UB1 - UB1
- ub2? UB2 - UB2
health.hl7v22: ADT_A04_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default ADT_A04_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: ADT_A05
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A05_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- nk1 NK1[](default []) - NK1
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- al1 AL1[](default []) - AL1
- dg1 DG1[](default []) - DG1
- pr1 PR1[](default []) - PR1
- gt1 GT1[](default []) - GT1
- insurance ADT_A05_INSURANCE[](default []) - ADT_A05_INSURANCE Segment Group
- acc? ACC - ACC
- ub1? UB1 - UB1
- ub2? UB2 - UB2
health.hl7v22: ADT_A05_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default ADT_A05_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: ADT_A06
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A06_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- mrg? MRG - MRG
- nk1 NK1[](default []) - NK1
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- al1 AL1[](default []) - AL1
- dg1 DG1[](default []) - DG1
- pr1 PR1[](default []) - PR1
- gt1 GT1[](default []) - GT1
- insurance ADT_A06_INSURANCE[](default []) - ADT_A06_INSURANCE Segment Group
- acc? ACC - ACC
- ub1? UB1 - UB1
- ub2? UB2 - UB2
health.hl7v22: ADT_A06_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default ADT_A06_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: ADT_A07
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A07_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- mrg? MRG - MRG
- nk1 NK1[](default []) - NK1
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- al1 AL1[](default []) - AL1
- dg1 DG1[](default []) - DG1
- pr1 PR1[](default []) - PR1
- gt1 GT1[](default []) - GT1
- insurance ADT_A07_INSURANCE[](default []) - ADT_A07_INSURANCE Segment Group
- acc? ACC - ACC
- ub1? UB1 - UB1
- ub2? UB2 - UB2
health.hl7v22: ADT_A07_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default ADT_A07_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: ADT_A08
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A08_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- nk1 NK1[](default []) - NK1
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- al1 AL1[](default []) - AL1
- dg1 DG1[](default []) - DG1
- pr1 PR1[](default []) - PR1
- gt1 GT1[](default []) - GT1
- insurance ADT_A08_INSURANCE[](default []) - ADT_A08_INSURANCE Segment Group
- acc? ACC - ACC
- ub1? UB1 - UB1
- ub2? UB2 - UB2
health.hl7v22: ADT_A08_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default ADT_A08_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: ADT_A09
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A09_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- dg1 DG1[](default []) - DG1
health.hl7v22: ADT_A10
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A10_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- dg1 DG1[](default []) - DG1
health.hl7v22: ADT_A11
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A11_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- dg1 DG1[](default []) - DG1
health.hl7v22: ADT_A12
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A12_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- dg1 DG1[](default []) - DG1
health.hl7v22: ADT_A13
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A13_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- nk1 NK1[](default []) - NK1
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- al1 AL1[](default []) - AL1
- dg1 DG1[](default []) - DG1
- pr1 PR1[](default []) - PR1
- gt1 GT1[](default []) - GT1
- insurance ADT_A13_INSURANCE[](default []) - ADT_A13_INSURANCE Segment Group
- acc? ACC - ACC
- ub1? UB1 - UB1
- ub2? UB2 - UB2
health.hl7v22: ADT_A13_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default ADT_A13_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: ADT_A14
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A14_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- nk1 NK1[](default []) - NK1
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- al1 AL1[](default []) - AL1
- dg1 DG1[](default []) - DG1
- pr1 PR1[](default []) - PR1
- gt1 GT1[](default []) - GT1
- insurance ADT_A14_INSURANCE[](default []) - ADT_A14_INSURANCE Segment Group
- acc? ACC - ACC
- ub1? UB1 - UB1
- ub2? UB2 - UB2
health.hl7v22: ADT_A14_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default ADT_A14_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: ADT_A15
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A15_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- dg1 DG1[](default []) - DG1
health.hl7v22: ADT_A16
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A16_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- dg1 DG1[](default []) - DG1
health.hl7v22: ADT_A17
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A17_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- pid_2 PID(default {}) - PID
- pv1_2 PV1(default {}) - PV1
- pv2_2? PV2 - PV2
- obx_2 OBX[](default []) - OBX
health.hl7v22: ADT_A18
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A18_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- mrg? MRG - MRG
- pv1 PV1(default {}) - PV1
health.hl7v22: ADT_A20
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A20_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- npu NPU(default {}) - NPU
health.hl7v22: ADT_A21
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A21_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
health.hl7v22: ADT_A22
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A22_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
health.hl7v22: ADT_A23
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A23_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
health.hl7v22: ADT_A24
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A24_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1? PV1 - PV1
- pid_2 PID(default {}) - PID
- pv1_2? PV1 - PV1
health.hl7v22: ADT_A25
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A25_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
health.hl7v22: ADT_A26
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A26_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
health.hl7v22: ADT_A27
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A27_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
health.hl7v22: ADT_A28
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A28_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- nk1 NK1[](default []) - NK1
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- al1 AL1[](default []) - AL1
- dg1 DG1[](default []) - DG1
- pr1 PR1[](default []) - PR1
- gt1 GT1[](default []) - GT1
- insurance ADT_A28_INSURANCE[](default []) - ADT_A28_INSURANCE Segment Group
- acc? ACC - ACC
- ub1? UB1 - UB1
- ub2? UB2 - UB2
health.hl7v22: ADT_A28_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default ADT_A28_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: ADT_A29
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A29_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
health.hl7v22: ADT_A30
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A30_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- mrg MRG(default {}) - MRG
health.hl7v22: ADT_A31
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A31_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- nk1 NK1[](default []) - NK1
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- al1 AL1[](default []) - AL1
- dg1 DG1[](default []) - DG1
- pr1 PR1[](default []) - PR1
- gt1 GT1[](default []) - GT1
- insurance ADT_A31_INSURANCE[](default []) - ADT_A31_INSURANCE Segment Group
- acc? ACC - ACC
- ub1? UB1 - UB1
- ub2? UB2 - UB2
health.hl7v22: ADT_A31_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default ADT_A31_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: ADT_A32
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A32_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
health.hl7v22: ADT_A33
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A33_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1 PV1(default {}) - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
health.hl7v22: ADT_A34
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A34_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- mrg MRG(default {}) - MRG
health.hl7v22: ADT_A35
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A35_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- mrg MRG(default {}) - MRG
health.hl7v22: ADT_A36
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A36_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- mrg MRG(default {}) - MRG
health.hl7v22: ADT_A37
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ADT_A37_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1? PV1 - PV1
- pid_2 PID(default {}) - PID
- pv1_2? PV1 - PV1
health.hl7v22: AL1
AL1 segment. Patient Allergy Information The AL1 segment contains patient allergy information of various types. Most of this information will be derived from user-defined tables. Each AL1 segment describes a single patient allergy
Fields
- Fields Included from *Segment
- name string(default AL1_SEGMENT_NAME) - Segment Name
- al11 SI(default "") - Set Id - Allergy
- al12 ID(default "") - Allergy Type
- al13 CE(default {}) - Allergy Code / Mnemonic / Description
- al14 ID(default "") - Allergy Severity
- al15 ST(default "") - Allergy Reaction
- al16 DT(default "") - Identification Date
health.hl7v22: BAR_P01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default BAR_P01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- visit BAR_P01_VISIT[](default [{}]) - BAR_P01_VISIT Segment Group
health.hl7v22: BAR_P01_INSURANCE
Fields
- Fields Included from *SegmentComponent
- name string(default BAR_P01_INSURANCE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- in1 IN1(default {}) -
- in2? IN2 -
- in3? IN3 -
health.hl7v22: BAR_P01_VISIT
Fields
- Fields Included from *SegmentComponent
- name string(default BAR_P01_VISIT_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- pv1? PV1 -
- pv2? PV2 -
- obx OBX[](default []) -
- al1 AL1[](default []) -
- dg1 DG1[](default []) -
- pr1 PR1[](default []) -
- gt1 GT1[](default []) -
- nk1 NK1[](default []) -
- insurance BAR_P01_INSURANCE[](default []) -
- acc? ACC -
- ub1? UB1 -
- ub2? UB2 -
health.hl7v22: BAR_P02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default BAR_P02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- patient BAR_P02_PATIENT[](default [{pid: {}}]) - BAR_P02_PATIENT Segment Group
health.hl7v22: BAR_P02_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default BAR_P02_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- pid PID(default {}) -
- pv1? PV1 -
health.hl7v22: BHS
BHS segment. Batch Header The BHS segment defines the start of a batch
Fields
- Fields Included from *Segment
- name string(default BHS_SEGMENT_NAME) - Segment Name
- bhs1 ST(default "") - Batch Field Separator
- bhs2 ST(default "") - Batch Encoding Characters
- bhs3 ST(default "") - Batch Sending Application
- bhs4 ST(default "") - Batch Sending Facility
- bhs5 ST(default "") - Batch Receiving Application
- bhs6 ST(default "") - Batch Receiving Facility
- bhs7 TS(default {}) - Batch Creation Date / Time
- bhs8 ST(default "") - Batch Security
- bhs9 ST(default "") - Batch Name / Id / Type
- bhs10 ST(default "") - Batch Comment
- bhs11 ST(default "") - Batch Control Id
- bhs12 ST(default "") - Reference Batch Control Id
health.hl7v22: BLG
BLG segment. Billing The BLG segment is used to provide billing information, on the ordered service, to the filling application
Fields
- Fields Included from *Segment
- name string(default BLG_SEGMENT_NAME) - Segment Name
- blg1 CM_CCD(default {}) - When To Charge
- blg2 ID(default "") - Charge Type
- blg3 CK(default {}) - Account Id
health.hl7v22: BTS
BTS segment. Batch Trailer The BTS segment defines the end of a batch.
Fields
- Fields Included from *Segment
- name string(default BTS_SEGMENT_NAME) - Segment Name
- bts1 ST(default "") - Batch Message Count
- bts2 ST(default "") - Batch Comment
- bts3 CM_BATCH_TOTAL[](default [{}]) - Batch Totals
health.hl7v22: CE
Coded Element This data type transmits codes and the text associated with the code. Example: |54.21^Laparoscopy^I9^42112^^AS4|
Fields
- Fields Included from *CompositeType
- anydata...
- ce1 ID(default "") - Identifier
- ce2 ST(default "") - Text
- ce3 ST(default "") - Name Of Coding System
- ce4 ST(default "") - Alternate Identifier
- ce5 ST(default "") - Alternate Text
- ce6 ST(default "") - Name Of Alternate Coding System
health.hl7v22: CF
Coded Element with Formatted Values This data type transmits codes and the formatted text associated with the code. This data type can be used to transmit for the first time the formatted text for the canned text portion of a report, for example, a stan...
Fields
- Fields Included from *CompositeType
- anydata...
- cf1 ID(default "") - Identifier
- cf2 ST(default "") - Formatted Text
- cf3 ST(default "") - Name Of Coding System
- cf4 ST(default "") - Alternate Identifier
- cf5 ST(default "") - Alternate Formatted Text
- cf6 ST(default "") - Name Of Alternate Coding System
health.hl7v22: CK
Composite Id With Check Digit This data type is used for certain fields that commonly contain check digits, e.g., PID-3-Patient ID (Internal ID). If a site is not using check-digits for a particular CK field, the second and third components are no...
Fields
- Fields Included from *CompositeType
- anydata...
- ck1 NM(default "") - ID Number
- ck2 NM(default "") - Check Digit
- ck3 ID(default "") - Code Identifying the Check Digit Scheme Employed
- ck4 ST(default "") - Assigning Facility ID
health.hl7v22: CM_ABS_RANGE
Absolute Range
Fields
- Fields Included from *CompositeType
- anydata...
- cm_abs_range1 CM_RANGE(default {}) - Range
- cm_abs_range2 NM(default "") - Numeric Change
- cm_abs_range3 NM(default "") - Percent Per Change
- cm_abs_range4 NM(default "") - Days
health.hl7v22: CM_AUI
Authorization Information
Fields
- Fields Included from *CompositeType
- anydata...
- cm_aui1 ST(default "") - Authorization Number
- cm_aui2 DT(default "") - Date
- cm_aui3 ST(default "") - Source
health.hl7v22: CM_BATCH_TOTAL
Cm For Batch Totals as many types of totals as needed for the batch may be carried by this field as separate components. Each component is an NM data type
Fields
- Fields Included from *CompositeType
- anydata...
- cm_batch_total1 NM(default "") - Batch Total 1
- cm_batch_total2 NM(default "") - Batch Total 2
- cm_batch_total3 NM(default "") - ...
health.hl7v22: CM_CCD
Charge Time
Fields
- Fields Included from *CompositeType
- anydata...
- cm_ccd1 ID(default "") - When To Charge
- cm_ccd2 TS(default {}) - Date/Time
health.hl7v22: CM_DDI
Daily Deductible
Fields
- Fields Included from *CompositeType
- anydata...
- cm_ddi1 ST(default "") - Delay Days
- cm_ddi2 NM(default "") - Amount
- cm_ddi3 NM(default "") - Number Of Days
health.hl7v22: CM_DIN
Activation Date
Fields
- Fields Included from *CompositeType
- anydata...
- cm_din1 TS(default {}) - Date
- cm_din2 CE(default {}) - Institution Name
health.hl7v22: CM_DLD
Discharge Location
Fields
- Fields Included from *CompositeType
- anydata...
- cm_dld1 ID(default "") - Code
- cm_dld2 ST(default "") - Description
health.hl7v22: CM_DLT
Delta Check
Fields
- Fields Included from *CompositeType
- anydata...
- cm_dlt1 CM_RANGE(default {}) - Range
- cm_dlt2 NM(default "") - Numeric Threshold
- cm_dlt3 ST(default "") - Change
- cm_dlt4 NM(default "") - Length Of Time-days
health.hl7v22: CM_DTN
Day Type And Number
Fields
- Fields Included from *CompositeType
- anydata...
- cm_dtn1 ID(default "") - Day Type
- cm_dtn2 NM(default "") - Number Of Days
health.hl7v22: CM_EIP
Parent Order
Fields
- Fields Included from *CompositeType
- anydata...
- cm_eip1 ST(default "") - Parent s Placer Order Number
- cm_eip2 ST(default "") - Parent s Filler Order Number
health.hl7v22: CM_ELD
Error
Fields
- Fields Included from *CompositeType
- anydata...
- cm_eld1 ST(default "") - Segment-id
- cm_eld2 NM(default "") - Sequence
- cm_eld3 NM(default "") - Field-position
- cm_eld4 CE(default {}) - Code Identifying Error
health.hl7v22: CM_FILLER
Number Of Processing Power Point
Fields
- Fields Included from *CompositeType
- anydata...
- cm_filler1 ID(default "") - Unique Filler Id
- cm_filler2 ID(default "") - Filler Application Id
health.hl7v22: CM_FINANCE
Cm Of Finance
Fields
- Fields Included from *CompositeType
- anydata...
- cm_finance1 ID(default "") - Financial Class Id
- cm_finance2 TS(default {}) - Effective Date
health.hl7v22: CM_GROUP_ID
Order Group Number
Fields
- Fields Included from *CompositeType
- anydata...
- cm_group_id1 ID(default "") - Unique Group Id
- cm_group_id2 ID(default "") - Placer Application Id
health.hl7v22: CM_INTERNAL_LOCATION
Cm For Location Information In Hospital
Fields
- Fields Included from *CompositeType
- anydata...
- cm_internal_location1 ID(default "") - Nurse Unit (station)
- cm_internal_location2 ID(default "") - Room
- cm_internal_location3 ID(default "") - Bed
- cm_internal_location4 ID(default "") - Facility Id
- cm_internal_location5 ID(default "") - Bed Status
health.hl7v22: CM_JOB_CODE
Job Title
Fields
- Fields Included from *CompositeType
- anydata...
- cm_job_code1 ID(default "") - Job Code
- cm_job_code2 ID(default "") - Employee Classification
health.hl7v22: CM_LA1
Location With Address Information
Fields
- Fields Included from *CompositeType
- anydata...
- cm_la11 CM_INTERNAL_LOCATION(default {}) - Dispense / Deliver To Location
- cm_la12 AD(default {}) - Location
health.hl7v22: CM_LICENSE_NO
Cm For Driving License
Fields
- Fields Included from *CompositeType
- anydata...
- cm_license_no1 ST(default "") - License Number
- cm_license_no2 ST(default "") - Issuing State,province,country
health.hl7v22: CM_MOC
Charge To Practise
Fields
- Fields Included from *CompositeType
- anydata...
- cm_moc1 ST(default "") - Dollar Amount
- cm_moc2 ST(default "") - Charge Code
health.hl7v22: CM_MSG
Message Type
Fields
- Fields Included from *CompositeType
- anydata...
- cm_msg1 ID(default "") - Message Type
- cm_msg2 ID(default "") - Trigger Event
health.hl7v22: CM_NDL
Observing Practitioner
Fields
- Fields Included from *CompositeType
- anydata...
- cm_ndl1 CN_PERSON(default {}) - Interpreter / Technician
- cm_ndl2 TS(default {}) - Start Date/Time
- cm_ndl3 TS(default {}) - End Date/Time
- cm_ndl4 CM_INTERNAL_LOCATION(default {}) - Location
health.hl7v22: CM_OCD
Occurence
Fields
- Fields Included from *CompositeType
- anydata...
- cm_ocd1 ID(default "") - Occurrence Code
- cm_ocd2 DT(default "") - Occurrence Date
health.hl7v22: CM_OSD
Order Sequence
Fields
- Fields Included from *CompositeType
- anydata...
- cm_osd1 ID(default "") - Sequence/results Flag
- cm_osd2 ST(default "") - Placer Order Number Entity Identifier
- cm_osd3 IS(default "") - Placer Order Number Namespace ID
- cm_osd4 ST(default "") - Filler Order Number Entity Identifier
- cm_osd5 IS(default "") - Filler Order Number Namespace ID
- cm_osd6 ST(default "") - Sequence Condition Value
- cm_osd7 NM(default "") - Maximum Number Of Repeats
health.hl7v22: CM_OSP
Occurence Span
Fields
- Fields Included from *CompositeType
- anydata...
- cm_osp1 ID(default "") - Occurrence Span Code
- cm_osp2 DT(default "") - Occurrence Span Start Date
- cm_osp3 DT(default "") - Occurrence Span Stop Date
health.hl7v22: CM_PAT_ID
Patient Id
Fields
- Fields Included from *CompositeType
- anydata...
- cm_pat_id1 ST(default "") - Patient Id
- cm_pat_id2 NM(default "") - Check Digit
- cm_pat_id3 ID(default "") - Check Digit Scheme
- cm_pat_id4 ID(default "") - Facility Id
- cm_pat_id5 ID(default "") - Type
health.hl7v22: CM_PAT_ID_0192
Patient Id With Table 0192
Fields
- Fields Included from *CompositeType
- anydata...
- cm_pat_id_01921 ST(default "") - Patient Id
- cm_pat_id_01922 NM(default "") - Check Digit
- cm_pat_id_01923 ID(default "") - Check Digit Scheme
- cm_pat_id_01924 ID(default "") - Facility Id
- cm_pat_id_01925 ID(default "") - Type
health.hl7v22: CM_PCF
Pre-certification Required
Fields
- Fields Included from *CompositeType
- anydata...
- cm_pcf1 ID(default "") - Pre-certification Patient Type
- cm_pcf2 ID(default "") - Pre-certication Required
- cm_pcf3 TS(default {}) - Pre-certification Window
health.hl7v22: CM_PEN
Penalty
Fields
- Fields Included from *CompositeType
- anydata...
- cm_pen1 ID(default "") - Penalty Id
- cm_pen2 NM(default "") - Penalty Amount
health.hl7v22: CM_PIP
Privileges
Fields
- Fields Included from *CompositeType
- anydata...
- cm_pip1 CE(default {}) - Privilege
- cm_pip2 CE(default {}) - Privilege Class
- cm_pip3 DT(default "") - Expiration Date
- cm_pip4 DT(default "") - Activation Date
health.hl7v22: CM_PLACER
Order Number Of The Client / The Contracting Authority
Fields
- Fields Included from *CompositeType
- anydata...
- cm_placer1 ST(default "") - Unique Placer Id
- cm_placer2 ID(default "") - Placer Application
health.hl7v22: CM_PLN
Practitioner Id Numbers
Fields
- Fields Included from *CompositeType
- anydata...
- cm_pln1 ST(default "") - Id Number
- cm_pln2 ID(default "") - Type Of Id Number (id)
- cm_pln3 ST(default "") - State/Other Qualifiying Info
health.hl7v22: CM_POSITION
Seat Or Room / Table / Chair
Fields
- Fields Included from *CompositeType
- anydata...
- cm_position1 ST(default "") - Hall
- cm_position2 ST(default "") - Table
- cm_position3 ST(default "") - Chair
health.hl7v22: CM_PRACTITIONER
Action Carried Out By
Fields
- Fields Included from *CompositeType
- anydata...
- cm_practitioner1 CN_PERSON(default {}) - Procedure Practitioner Id
- cm_practitioner2 ID(default "") - Procedure Practitioner Type
health.hl7v22: CM_PRL
Parent Result Link The third component may be used to record the name of the microorganism identified by the parent result directly. The organism in this case should be identified exactly as it is in the parent culture
Fields
- Fields Included from *CompositeType
- anydata...
- cm_prl1 ST(default "") - OBX-3-observation identifier of parent result
- cm_prl2 ST(default "") - OBX-4-sub-ID of parent result
- cm_prl3 CE(default {}) - OBX-5-observation results from parent
health.hl7v22: CM_PTA
Policy Type
Fields
- Fields Included from *CompositeType
- anydata...
- cm_pta1 ID(default "") - Policy Type
- cm_pta2 ID(default "") - Amount Class
- cm_pta3 NM(default "") - Amount
health.hl7v22: CM_RANGE
Range Of Values
Fields
- Fields Included from *CompositeType
- anydata...
- cm_range1 ST(default "") - Low Value
- cm_range2 ST(default "") - High Value
health.hl7v22: CM_RFR
Reference Range
Fields
- Fields Included from *CompositeType
- anydata...
- cm_rfr1 CM_RANGE(default {}) - Reference Range
- cm_rfr2 ID(default "") - Sex
- cm_rfr3 CM_RANGE(default {}) - Age Range
- cm_rfr4 CM_RANGE(default {}) - Gestational Age Range
- cm_rfr5 ST(default "") - Species
- cm_rfr6 ID(default "") - Race / Subspecies
- cm_rfr7 ST(default "") - Text Condition
health.hl7v22: CM_RI
Interval
Fields
- Fields Included from *CompositeType
- anydata...
- cm_ri1 ST(default "") - Repeat Pattern
- cm_ri2 ST(default "") - Explicit Time Intevall
health.hl7v22: CM_RMC
Room Coverage
Fields
- Fields Included from *CompositeType
- anydata...
- cm_rmc1 ID(default "") - Room Type
- cm_rmc2 ID(default "") - Amount Type
- cm_rmc3 NM(default "") - Coverage Amount
health.hl7v22: CM_SPD
Specialty
Fields
- Fields Included from *CompositeType
- anydata...
- cm_spd1 ST(default "") - Specialty Name
- cm_spd2 ST(default "") - Governing Board
- cm_spd3 ID(default "") - Eligible Or Certified
- cm_spd4 DT(default "") - Date Of Certification
health.hl7v22: CM_SPS
Specimen Source
Fields
- Fields Included from *CompositeType
- anydata...
- cm_sps1 CE(default {}) - Specimen Source Name Or Code
- cm_sps2 TX(default "") - Additives
- cm_sps3 TX(default "") - Freetext
- cm_sps4 CE(default {}) - Body Site
- cm_sps5 CE(default {}) - Site Modifier
health.hl7v22: CM_UVC
Value Code And Amount
Fields
- Fields Included from *CompositeType
- anydata...
- cm_uvc1 ID(default "") - Value Code
- cm_uvc2 NM(default "") - Value Amount
health.hl7v22: CM_VR
Value Qualifier
Fields
- Fields Included from *CompositeType
- anydata...
- cm_vr1 ST(default "") - First Data Code Value
- cm_vr2 ST(default "") - Last Data Code Calue
health.hl7v22: CN_PERSON
Cn For Person A field identifying a person both as a coded value and with a text name. The first component is the coded ID according to a site-specific table. The second through the seventh components are the person s name as a PN ...
Fields
- Fields Included from *CompositeType
- anydata...
- cn_person1 ID(default "") - Id Number
- cn_person2 ST(default "") - Familiy Name
- cn_person3 ST(default "") - Given Name
- cn_person4 ST(default "") - Middle Initial Or Name
- cn_person5 ST(default "") - Suffix (e.g. Jr Or Iii)
- cn_person6 ST(default "") - Prefix (e.g. Dr)
- cn_person7 ST(default "") - Degree (e.g. Md)
- cn_person8 ID(default "") - Source Table Id
health.hl7v22: CN_PHYSICIAN
Cn For Physicians
Fields
- Fields Included from *CompositeType
- anydata...
- cn_physician1 ID(default "") - Physician Id
- cn_physician2 ST(default "") - Familiy Name
- cn_physician3 ST(default "") - Given Name
- cn_physician4 ST(default "") - Middle Initial Or Name
- cn_physician5 ST(default "") - Suffix (e.g. Jr Or Iii)
- cn_physician6 ST(default "") - Prefix (e.g. Dr)
- cn_physician7 ST(default "") - Degree (e.g. Md)
- cn_physician8 ID(default "") - Source Table Id
health.hl7v22: CP
Composite Price
Example: |100.00&USD^UP^0^9^min^P50.00&USD^UP^10^59^min^P10.00&USD^UP^60^999^P 50.00&USD^AP200.00&USD^PF~80.00&USD^DC|
Fields
- Fields Included from *CompositeType
- anydata...
- cp1 MO(default {}) - Price
- cp2 ID(default "") - Price Type
- cp3 NM(default "") - From Value
- cp4 NM(default "") - To Value
- cp5 CE(default {}) - Range Units
- cp6 ID(default "") - Range Type
health.hl7v22: CQ
Composite Quantity With Units Quantity of the service that should be provided at each service interval. E.g, if two blood cultures to be obtained every 4 hours, the quantity would be 2. If three units of blood are to be typed and cross-matched, th...
Fields
- Fields Included from *CompositeType
- anydata...
- cq1 NM(default "") - Quantity
- cq2 ST(default "") - Units
health.hl7v22: CX
Extended Composite ID With Check Digit Example: |1234567^4^M11^ADT01^MR^University Hospital|
Fields
- Fields Included from *CompositeType
- anydata...
- cx1 ST(default "") - ID
- cx2 ST(default "") - Check Digit
- cx3 ID(default "") - Code Identifying The Check Digit Scheme Employed
- cx4 HD(default {}) - Assigning Authority
- cx5 IS(default "") - Identifier Type Code
- cx6 HD(default {}) - Assigning Facility
health.hl7v22: DFT_P03
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default DFT_P03_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- evn EVN(default {}) - EVN
- pid PID(default {}) - PID
- pv1? PV1 - PV1
- pv2? PV2 - PV2
- obx OBX[](default []) - OBX
- ft1 FT1[](default [{}]) - FT1
health.hl7v22: DG1
DG1 segment. Diagnosis The DG1 segment contains patient diagnosis information of various types. For example: Admitting, Current, Primary, Final, etc. Coding methodologies are also defined
Fields
- Fields Included from *Segment
- name string(default DG1_SEGMENT_NAME) - Segment Name
- dg11 SI(default "") - Set Id - Diagnosis
- dg12 ID(default "") - Diagnosis Coding Method
- dg13 ID(default "") - Diagnosis Code
- dg14 ST(default "") - Diagnosis Description
- dg15 TS(default {}) - Diagnosis Date / Time
- dg16 ID(default "") - Diagnosis / Drg Type
- dg17 CE(default {}) - Major Diagnostic Category
- dg18 ID(default "") - Diagnostic Related Group
- dg19 ID(default "") - Drg Approval Indicator
- dg110 ID(default "") - Drg Grouper Review Code
- dg111 ID(default "") - Outlier Type
- dg112 NM(default "") - Outlier Days
- dg113 NM(default "") - Outlier Cost
- dg114 ST(default "") - Grouper Version And Type
- dg115 NM(default "") - Diagnosis / Drg Priority
- dg116 CN_PERSON(default {}) - Diagnosing Clinician
health.hl7v22: DLN
Driver s License Number This field contains the driver’s license information. For state or province refer to official postal codes for that country; for country refer to ISO 3166 for codes
Fields
- Fields Included from *CompositeType
- anydata...
- dln1 ST(default "") - Driver s License Number
- dln2 IS(default "") - Issuing State, Province, Country
- dln3 DT(default "") - Expiration Date
health.hl7v22: DSC
DSC segment. Continuation Pointer The DSC segment is used in the continuation protocol.
Fields
- Fields Included from *Segment
- name string(default DSC_SEGMENT_NAME) - Segment Name
- dsc1 ST(default "") - Continuation Pointer
health.hl7v22: DSP
DSP segment. Display Data The DSP segment is used to contain data that has been preformatted by the sender for display. The semantic content of the data is lost; the data is simply treated as lines of text.
Fields
- Fields Included from *Segment
- name string(default DSP_SEGMENT_NAME) - Segment Name
- dsp1 SI(default "") - Set Id - Display Data
- dsp2 SI(default "") - Display Level
- dsp3 TX(default "") - Data Line
- dsp4 ST(default "") - Logical Break Point
- dsp5 TX(default "") - Result Id
health.hl7v22: DSR_Q01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default DSR_Q01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- mfa MFA(default {}) - MFA
- err? ERR - ERR
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsp DSP[](default [{}]) - DSP
- dsc? DSC - DSC
health.hl7v22: DSR_Q03
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default DSR_Q03_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa? MSA - MSA
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsp DSP[](default [{}]) - DSP
- dsc? DSC - DSC
health.hl7v22: DSR_R03
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default DSR_R03_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa? MSA - MSA
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsp DSP[](default [{}]) - DSP
- dsc? DSC - DSC
health.hl7v22: EI
Entity Identifier The entity identifier defines a given entity within a specified series of identifiers. The specified series, the assigning authority, is defined by components 2 through 4. The assigning authority is of the hierarchic ...
Fields
- Fields Included from *CompositeType
- anydata...
- ei1 ST(default "") - Entity Identifier
- ei2 IS(default "") - Namespace ID
- ei3 ST(default "") - Universal ID
- ei4 ID(default "") - Universal ID Type
health.hl7v22: ERR
ERR segment. Error The ERR segment is used to add error comments to acknowledgement messages
Fields
- Fields Included from *Segment
- name string(default ERR_SEGMENT_NAME) - Segment Name
- err1 CM_ELD[](default [{}]) - Error Code And Location
health.hl7v22: EVN
EVN segment. Event Type The EVN segment is used to communicate necessary trigger event information to receiving applications. Valid event types for all chapters are contained in table 0003 - event type code
Fields
- Fields Included from *Segment
- name string(default EVN_SEGMENT_NAME) - Segment Name
- evn1 ID(default "") - Event Type Code
- evn2 TS(default {}) - Date / Time Of Event
- evn3 TS(default {}) - Date / Time Planned Event
- evn4 ID(default "") - Event Reason Code
- evn5 ID(default "") - Operator Id
health.hl7v22: FC
Financial Class
Fields
- Fields Included from *CompositeType
- anydata...
- fc1 IS(default "") - Financial Class
- fc2 TS(default {}) - Effective Date
health.hl7v22: FHS
FHS segment. File Header The FHS segment is used to head a file (group of batches) as defined in Section 2.9.3.
Fields
- Fields Included from *Segment
- name string(default FHS_SEGMENT_NAME) - Segment Name
- fhs1 ST(default "") - File Field Separator
- fhs2 ST(default "") - File Encoding Characters
- fhs3 ST(default "") - File Sending Application
- fhs4 ST(default "") - File Sending Facility
- fhs5 ST(default "") - File Receiving Application
- fhs6 ST(default "") - File Receiving Facility
- fhs7 TS(default {}) - File Creation Date / Time
- fhs8 ST(default "") - File Security
- fhs9 ST(default "") - File Name / Id
- fhs10 ST(default "") - File Header Comment
- fhs11 ST(default "") - File Control Id
- fhs12 ST(default "") - Reference File Control Id
health.hl7v22: FT1
FT1 segment. Financial Transaction The FT1 segment contains detail data necessary to post charges, payments, adjustments, etc. to patient accounting records.
Fields
- Fields Included from *Segment
- name string(default FT1_SEGMENT_NAME) - Segment Name
- ft11 SI(default "") - Set Id - Financial Transaction
- ft12 ST(default "") - Transaction Id
- ft13 ST(default "") - Transaction Batch Id
- ft14 DT(default "") - Transaction Date
- ft15 DT(default "") - Transaction Posting Date
- ft16 ID(default "") - Transaction Type
- ft17 CE(default {}) - Transaction Code
- ft18 ST(default "") - Transaction Description
- ft19 ST(default "") - Transaction Description - Alternate
- ft110 NM(default "") - Transaction Quantity
- ft111 NM(default "") - Transaction Amount - Extended
- ft112 NM(default "") - Transaction Amount - Unit
- ft113 CE(default {}) - Department Code
- ft114 ID(default "") - Insurance Plan Id
- ft115 NM(default "") - Insurance Amount
- ft116 CM_INTERNAL_LOCATION(default {}) - Assigned Patient Location
- ft117 ID(default "") - Fee Schedule
- ft118 ID(default "") - Patient Type
- ft119 CE[](default [{}]) - Diagnosis Code
- ft120 CN_PERSON(default {}) - Performed By Code
- ft121 CN_PERSON(default {}) - Ordered By Code
- ft122 NM(default "") - Unit Cost
- ft123 CM_FILLER(default {}) - Filler Order Number
health.hl7v22: FTS
FTS segment. File Trailer The FTS segment defines the end of a file
Fields
- Fields Included from *Segment
- name string(default FTS_SEGMENT_NAME) - Segment Name
- fts1 NM(default "") - File Batch Count
- fts2 ST(default "") - File Trailer Comment
health.hl7v22: GT1
GT1 segment. Guarantor The GT1 segment contains guarantor (e.g., person with financial responsibility for payment of a patient account) data for patient and insurance billing applications
Fields
- Fields Included from *Segment
- name string(default GT1_SEGMENT_NAME) - Segment Name
- gt11 SI(default "") - Set Id - Guarantor
- gt12 COMP_ID_DIGIT(default "") - Guarantor Number
- gt13 PN(default {}) - Guarantor Name
- gt14 PN(default {}) - Guarantor Spouse Name
- gt15 AD(default {}) - Guarantor Address
- gt16 TN(default "") - Guarantor Phone Number - Home
- gt17 TN(default "") - Guarantor Phone Number - Business
- gt18 DT(default "") - Guarantor Date Of Birth
- gt19 ID(default "") - Guarantor Sex
- gt110 ID(default "") - Guarantor Type
- gt111 ID(default "") - Guarantor Relationship
- gt112 ST(default "") - Guarantor Social Security Number
- gt113 DT(default "") - Guarantor Date - Begin
- gt114 DT(default "") - Guarantor Date - End
- gt115 NM(default "") - Guarantor Priority
- gt116 ST(default "") - Guarantor Employer Name
- gt117 AD(default {}) - Guarantor Employer Address
- gt118 TN(default "") - Guarantor Employ Phone Number
- gt119 ST(default "") - Guarantor Employee Id Number
- gt120 ID(default "") - Guarantor Employment Status
- gt121 ST(default "") - Guarantor Organization
health.hl7v22: HD
Hierarchic Designator The HD is designed to be a more powerful application identifier. It is also designed to be used either as a local version of a site-defined application identifier or a publicly-assigned UID. Syntactically, the HD is a...
Fields
- Fields Included from *CompositeType
- anydata...
- hd1 IS(default "") - Namespace ID
- hd2 ST(default "") - Universal ID
- hd3 ID(default "") - Universal ID Type
health.hl7v22: IN1
IN1 segment. Insurance The IN1 segment contains insurance policy coverage information necessary to produce properly pro-rated and patient and insurance bills.
Fields
- Fields Included from *Segment
- name string(default IN1_SEGMENT_NAME) - Segment Name
- in11 SI(default "") - Set Id - Insurance
- in12 ID(default "") - Insurance Plan Id
- in13 ST(default "") - Insurance Company Id
- in14 ST(default "") - Insurance Company Name
- in15 AD(default {}) - Insurance Company Address
- in16 PN(default {}) - Insurance Company Contact Pers
- in17 TN(default "") - Insurance Company Phone Number
- in18 ST(default "") - Group Number
- in19 ST(default "") - Group Name
- in110 ST(default "") - Insured s Group Employer Id
- in111 ST(default "") - Insured s Group Employer Name
- in112 DT(default "") - Plan Effective Date
- in113 DT(default "") - Plan Expiration Date
- in114 CM_AUI(default {}) - Authorization Information
- in115 ID(default "") - Plan Type
- in116 PN(default {}) - Name Of Insured
- in117 ID(default "") - Insured s Relationship To Patient
- in118 DT(default "") - Insured s Date Of Birth
- in119 AD(default {}) - Insured s Address
- in120 ID(default "") - Assignment Of Benefits
- in121 ID(default "") - Coordination Of Benefits
- in122 ST(default "") - Coordination Of Benefits - Priority
- in123 ID(default "") - Notice Of Admission Code
- in124 DT(default "") - Notice Of Admission Date
- in125 ID(default "") - Report Of Eligibility Code
- in126 DT(default "") - Report Of Eligibility Date
- in127 ID(default "") - Release Information Code
- in128 ST(default "") - Pre-admit Certification (pac)
- in129 TS(default {}) - Verification Date / Time
- in130 CN_PERSON(default {}) - Verification By
- in131 ID(default "") - Type Of Agreement Code
- in132 ID(default "") - Billing Status
- in133 NM(default "") - Lifetime Reserve Days
- in134 NM(default "") - Delay Before Lifetime Reserve Days
- in135 ID(default "") - Company Plan Code
- in136 ST(default "") - Policy Number
- in137 NM(default "") - Policy Deductible
- in138 NM(default "") - Policy Limit - Amount
- in139 NM(default "") - Policy Limit - Days
- in140 NM(default "") - Room Rate - Semi-private
- in141 NM(default "") - Room Rate - Private
- in142 CE(default {}) - Insured s Employment Status
- in143 ID(default "") - Insured s Sex
- in144 AD(default {}) - Insured s Employer Address
- in145 ST(default "") - Verification Status
- in146 ID(default "") - Prior Insurance Plan Id
health.hl7v22: IN2
IN2 segment. Insurance Additional Info The IN2 segment contains additional insurance policy coverage and benefit information necessary for proper billing and reimbursement. Fields used by this segment are defined by HICFA or other regulatory agencies.
Fields
- Fields Included from *Segment
- name string(default IN2_SEGMENT_NAME) - Segment Name
- in21 ST(default "") - Insured s Employee Id
- in22 NM(default "") - Insured s Social Security Number
- in23 CN_PERSON(default {}) - Insured s Employer Name
- in24 ID(default "") - Employer Information Data
- in25 ID(default "") - Mail Claim Party
- in26 NM(default "") - Medicare Health Insurance Card Number
- in27 PN(default {}) - Medicaid Case Name
- in28 NM(default "") - Medicaid Case Number
- in29 PN(default {}) - Champus Sponsor Name
- in210 NM(default "") - Champus Id Number
- in211 ID(default "") - Dependent Of Champus Recipient
- in212 ST(default "") - Champus Organization
- in213 ST(default "") - Champus Station
- in214 ID(default "") - Champus Service
- in215 ID(default "") - Champus Rank / Grade
- in216 ID(default "") - Champus Status
- in217 DT(default "") - Champus Retire Date
- in218 ID(default "") - Champus Non-availability Certification On File
- in219 ID(default "") - Baby Coverage
- in220 ID(default "") - Combine Baby Bill
- in221 NM(default "") - Blood Deductible
- in222 PN(default {}) - Special Coverage Approval Name
- in223 ST(default "") - Special Coverage Approval Title
- in224 ID[](default [""]) - Non-covered Insurance Code
- in225 ST(default "") - Payor Id
- in226 ST(default "") - Payor Subscriber Id
- in227 ID(default "") - Eligibility Source
- in228 CM_RMC[](default [{}]) - Room Coverage Type / Amount
- in229 CM_PTA[](default [{}]) - Policy Type / Amount
- in230 CM_DDI(default {}) - Daily Deductible
health.hl7v22: IN3
IN3 segment. Insurance Additional Info-certification The IN3 segment contains additional insurance information for certifying the need for patient care. Fields used by this segment are defined by HICFA or other regulatory agencies
Fields
- Fields Included from *Segment
- name string(default IN3_SEGMENT_NAME) - Segment Name
- in31 SI(default "") - Set Id - Insurance Certification
- in32 ST(default "") - Certification Number
- in33 CN_PERSON(default {}) - Certified By
- in34 ID(default "") - Certification Required
- in35 CM_PEN(default {}) - Penalty
- in36 TS(default {}) - Certification Date / Time
- in37 TS(default {}) - Certification Modify Date / Time
- in38 CN_PERSON(default {}) - Operator
- in39 DT(default "") - Certification Begin Date
- in310 DT(default "") - Certification End Date
- in311 CM_DTN(default {}) - Days
- in312 CE(default {}) - Non-concur Code / Description
- in313 TS(default {}) - Non-concur Effective Date / Time
- in314 CN_PERSON(default {}) - Physician Reviewer
- in315 ST(default "") - Certification Contact
- in316 TN(default "") - Certification Contact Phone Number
- in317 CE(default {}) - Appeal Reason
- in318 CE(default {}) - Certification Agency
- in319 TN(default "") - Certification Agency Phone Number
- in320 CM_PCF[](default [{}]) - Pre-certification Required / Window
- in321 ST(default "") - Case Manager
- in322 DT(default "") - Second Opinion Date
- in323 ID(default "") - Second Opinion Status
- in324 ID(default "") - Second Opinion Documentation Received
- in325 CN_PERSON(default {}) - Second Opinion Practitioner
health.hl7v22: JCC
Job Code Class
Fields
- Fields Included from *CompositeType
- anydata...
- jcc1 IS(default "") - Job Code
- jcc2 IS(default "") - Job Class
health.hl7v22: MCF
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default MCF_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- mfa MFA(default {}) - MFA
- err? ERR - ERR
health.hl7v22: MFA
MFA segment. Master File Acknowledgement
Fields
- Fields Included from *Segment
- name string(default MFA_SEGMENT_NAME) - Segment Name
- mfa1 ID(default "") - Record-level Event Code
- mfa2 ST(default "") - Mfn Control Id
- mfa3 TS(default {}) - Event Completion Date / Time
- mfa4 CE(default {}) - Error Return Code And/Or Text
- mfa5 CE[](default [{}]) - Primary Key Value
health.hl7v22: MFD_M01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default MFD_M01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- mfi MFI(default {}) - MFI
- mfa MFA[](default []) - MFA
health.hl7v22: MFD_M02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default MFD_M02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- mfi MFI(default {}) - MFI
- mfa MFA[](default []) - MFA
health.hl7v22: MFD_M03
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default MFD_M03_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- mfi MFI(default {}) - MFI
- mfa MFA[](default []) - MFA
health.hl7v22: MFE
MFE segment. Master File Entry
Fields
- Fields Included from *Segment
- name string(default MFE_SEGMENT_NAME) - Segment Name
- mfe1 ID(default "") - Record-level Event Code
- mfe2 ST(default "") - Mfn Control Id
- mfe3 TS(default {}) - Effective Date / Time
- mfe4 CE[](default [{}]) - Primary Key Value
health.hl7v22: MFI
MFI segment. Master File Identification
Fields
- Fields Included from *Segment
- name string(default MFI_SEGMENT_NAME) - Segment Name
- mfi1 CE(default {}) - Master File Identifier
- mfi2 ID(default "") - Master File Application Identifier
- mfi3 ID(default "") - File-level Event Code
- mfi4 TS(default {}) - Entered Date / Time
- mfi5 TS(default {}) - Effective Date / Time
- mfi6 ID(default "") - Response Level Code
health.hl7v22: MFN_M01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default MFN_M01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- mfi MFI(default {}) - MFI
- mf MFN_M01_MF[](default [{mfe: {}}]) - MFN_M01_MF Segment Group
health.hl7v22: MFN_M01_MF
Fields
- Fields Included from *SegmentComponent
- name string(default MFN_M01_MF_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- mfe MFE(default {}) -
- zxx? Zxx -
health.hl7v22: MFN_M02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default MFN_M02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- mfi MFI(default {}) - MFI
- mf_staff MFN_M02_MF_STAFF[](default [{mfe: {}}]) - MFN_M02_MF_STAFF Segment Group
health.hl7v22: MFN_M02_MF_STAFF
Fields
- Fields Included from *SegmentComponent
- name string(default MFN_M02_MF_STAFF_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- mfe MFE(default {}) -
- zxx? Zxx -
health.hl7v22: MFN_M03
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default MFN_M03_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- mfi MFI(default {}) - MFI
- mf_test MFN_M03_MF_TEST[](default [{mfe: {}}]) - MFN_M03_MF_TEST Segment Group
health.hl7v22: MFN_M03_MF_TEST
Fields
- Fields Included from *SegmentComponent
- name string(default MFN_M03_MF_TEST_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- mfe MFE(default {}) -
- zxx? Zxx -
health.hl7v22: MFQ_M01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default MFQ_M01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsc? DSC - DSC
health.hl7v22: MFQ_M02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default MFQ_M02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsc? DSC - DSC
health.hl7v22: MFQ_M03
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default MFQ_M03_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsc? DSC - DSC
health.hl7v22: MO
Money The first component is a quantity and the second is the denomination in which the quantity is expressed. The values for the denomination component are those specified in ISO-4217. If the denomination is not specified,...
Fields
- Fields Included from *CompositeType
- anydata...
- mo1 NM(default "") - Quantity
- mo2 ID(default "") - Denomenation
health.hl7v22: MRG
MRG segment. Merge Patient Information The MRG segment provides receiving applications with information necessary to initiate the merging of patient data as well as groups of records. It is intended that this segment be used throughout the standard to allow the merging of regi...
Fields
- Fields Included from *Segment
- name string(default MRG_SEGMENT_NAME) - Segment Name
- mrg1 CM_PAT_ID(default {}) - Prior Patient Id - Internal
- mrg2 CM_PAT_ID(default {}) - Prior Alternate Patient Id
- mrg3 CK(default {}) - Prior Patient Account Number
- mrg4 CK(default {}) - Prior Patient Id - External
health.hl7v22: MSA
MSA segment. Message Acknowledgment The MSA segment contains information sent while acknowledging another message
Fields
- Fields Included from *Segment
- name string(default MSA_SEGMENT_NAME) - Segment Name
- msa1 ID(default "") - Acknowledgement Code
- msa2 ST(default "") - Message Control Id
- msa3 ST(default "") - Text Message
- msa4 NM(default "") - Expected Sequence Number
- msa5 ID(default "") - Delayed Acknowledgement Type
- msa6 CE(default {}) - Error Condition
health.hl7v22: MSH
MSH segment. Message Header The MSH segment defines the intent, source, destination, and some specifics of the syntax of a message. Note: If MSH-15 and MSH-16 are omitted (or are both null), the original Acknowledgement Mode rules are used.
Fields
- Fields Included from *Segment
- name string(default MSH_SEGMENT_NAME) - Segment Name
- msh1 ST(default "") - Field Separator
- msh2 ST(default "") - Encoding Characters
- msh3 ST(default "") - Sending Application
- msh4 ST(default "") - Sending Facility
- msh5 ST(default "") - Receiving Application
- msh6 ST(default "") - Receiving Facility
- msh7 TS(default {}) - Date / Time Of Message
- msh8 ST(default "") - Security
- msh9 CM_MSG(default {}) - Message Type
- msh10 ST(default "") - Message Control Id
- msh11 ID(default "") - Processing Id
- msh12 ID(default "") - Version Id
- msh13 NM(default "") - Sequence Number
- msh14 ST(default "") - Continuation Pointer
- msh15 ID(default "") - Accept Acknowledgement Type
- msh16 ID(default "") - Application Acknowledgement Type
- msh17 ID(default "") - Country Code
health.hl7v22: NCK
NCK segment. System Clock the NCK segment is used to allow the various systems on the network to synchronize their system clocks (system date and time).
Fields
- Fields Included from *Segment
- name string(default NCK_SEGMENT_NAME) - Segment Name
- nck1 TS(default {}) - System Date/Time
health.hl7v22: NK1
NK1 segment. Next Of Kin The NK1 segment contains information about the patient s other related parties. Any associated parties may be identified. Utilizing NK1-1-set ID, multiple NK1 segments can be sent to patient accounts
Fields
- Fields Included from *Segment
- name string(default NK1_SEGMENT_NAME) - Segment Name
- nk11 SI(default "") - Set Id - Next Of Kin
- nk12 PN(default {}) - Name
- nk13 CE(default {}) - Relationship
- nk14 AD(default {}) - Address
- nk15 TN(default "") - Phone Number
- nk16 TN(default "") - Business Phone Number
- nk17 CE(default {}) - Contact Role
- nk18 DT(default "") - Start Date
- nk19 DT(default "") - End Date
- nk110 ST(default "") - Next Of Kin
- nk111 CM_JOB_CODE(default {}) - Next Of Kin Job Code / Class
- nk112 ST(default "") - Next Of Kin Employee Number
- nk113 ST(default "") - Organization Name
health.hl7v22: NMD_N01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default NMD_N01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- clock_and_stats_with_notes NMD_N01_CLOCK_AND_STATS_WITH_NOTES[](default [{}]) - NMD_N01_CLOCK_AND_STATS_WITH_NOTES Segment Group
health.hl7v22: NMD_N01_APP_STATS
Fields
- Fields Included from *SegmentComponent
- name string(default NMD_N01_APP_STATS_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- nst NST(default {}) -
- nte NTE[](default []) -
- app_status NMD_N01_APP_STATUS(default {nsc: {}}) -
health.hl7v22: NMD_N01_APP_STATUS
Fields
- Fields Included from *SegmentComponent
- name string(default NMD_N01_APP_STATUS_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- nsc NSC(default {}) -
- nte NTE[](default []) -
health.hl7v22: NMD_N01_CLOCK
Fields
- Fields Included from *SegmentComponent
- name string(default NMD_N01_CLOCK_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- nck NCK(default {}) -
- nte NTE[](default []) -
- app_stats NMD_N01_APP_STATS(default {nst: {}}) -
health.hl7v22: NMD_N01_CLOCK_AND_STATS_WITH_NOTES
Fields
- Fields Included from *SegmentComponent
- name string(default NMD_N01_CLOCK_AND_STATS_WITH_NOTES_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- clock NMD_N01_CLOCK(default {nck: {}}) -
health.hl7v22: NMQ_N02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default NMQ_N02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qry_with_detail? NMQ_N02_QRY_WITH_DETAIL - NMQ_N02_QRY_WITH_DETAIL Segment Group
health.hl7v22: NMQ_N02_CLOCK_AND_STATISTICS
Fields
- Fields Included from *SegmentComponent
- name string(default NMQ_N02_CLOCK_AND_STATISTICS_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- nck? NCK -
- nst? NST -
- nsc? NSC -
health.hl7v22: NMQ_N02_QRY_WITH_DETAIL
Fields
- Fields Included from *SegmentComponent
- name string(default NMQ_N02_QRY_WITH_DETAIL_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- qrd QRD(default {}) -
- qrf? QRF -
- clock_and_statistics NMQ_N02_CLOCK_AND_STATISTICS[](default [{}]) -
health.hl7v22: NMR_N02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default NMR_N02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- qrd? QRD - QRD
- response NMR_N02_RESPONSE[](default [{}]) - NMR_N02_RESPONSE Segment Group
health.hl7v22: NMR_N02_RESPONSE
Fields
- Fields Included from *SegmentComponent
- name string(default NMR_N02_RESPONSE_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- nck? NCK -
- nte NTE[](default []) -
- nst? NST -
- nte_2 NTE[](default []) -
- nsc? NSC -
- nte_3 NTE[](default []) -
health.hl7v22: NPU
NPU segment. Bed Status Update The NPU segment allows the updating of census (bed status) data without sending patient specific data. For example: changing the status of a bed from housekeeping to unoccupied.
Fields
- Fields Included from *Segment
- name string(default NPU_SEGMENT_NAME) - Segment Name
- npu1 CM_INTERNAL_LOCATION(default {}) - Bed Location
- npu2 ID(default "") - Bed Status
health.hl7v22: NSC
NSC segment. Status Change The NSC segment can be used to request the start-up, shut-down, and/or migration (to a different cpu or file-server/file-system) of a particular application. It can also be used in an unsolicited update from one system to another to announce the star...
Fields
- Fields Included from *Segment
- name string(default NSC_SEGMENT_NAME) - Segment Name
- nsc1 ID(default "") - Network Change Type
- nsc2 ST(default "") - Current Cpu
- nsc3 ST(default "") - Current Fileserver
- nsc4 ST(default "") - Current Application
- nsc5 ST(default "") - Current Facility
- nsc6 ST(default "") - New Cpu
- nsc7 ST(default "") - New Fileserver
- nsc8 ST(default "") - New Application
- nsc9 ST(default "") - New Facility
health.hl7v22: NST
NST segment. Statistics The NST segment allows network statistical information to be passed between the various systems on the network. Some fields in this segment refer to portions of lower level protocols; they contain information that can be used by network management appli...
Fields
- Fields Included from *Segment
- name string(default NST_SEGMENT_NAME) - Segment Name
- nst1 ID(default "") - Statistics Available
- nst2 ST(default "") - Source Identifier
- nst3 ID(default "") - Source Type
- nst4 TS(default {}) - Statistics Start
- nst5 TS(default {}) - Statistics End
- nst6 NM(default "") - Receive Character Count
- nst7 NM(default "") - Send Character Count
- nst8 NM(default "") - Message Received
- nst9 NM(default "") - Message Sent
- nst10 NM(default "") - Checksum Errors Received
- nst11 NM(default "") - Length Errors Received
- nst12 NM(default "") - Other Errors Received
- nst13 NM(default "") - Connect Timeouts
- nst14 NM(default "") - Receive Timeouts
- nst15 NM(default "") - Network Errors
health.hl7v22: NTE
NTE segment. Notes And Comments The NTE segment is defined here for inclusion in messages defined in other chapters. It is a common format for sending notes and comments
Fields
- Fields Included from *Segment
- name string(default NTE_SEGMENT_NAME) - Segment Name
- nte1 SI(default "") - Set Id - Notes And Comments
- nte2 ID(default "") - Source Of Comment
- nte3 FT[](default [""]) - Comment
health.hl7v22: OBR
OBR segment. Observation Request The Observation Request (OBR) segment is used to transmit information specific to an order for a diagnostic study or observation, physical exam, or assessment. The daggered (+) items in this segment are not created by the placer. They are creat...
Fields
- Fields Included from *Segment
- name string(default OBR_SEGMENT_NAME) - Segment Name
- obr1 SI(default "") - Set Id - Observation Request
- obr2 CM_PLACER(default {}) - Placer Order Number
- obr3 CM_FILLER(default {}) - Filler Order Number +
- obr4 CE(default {}) - Universal Service Id
- obr5 ST(default "") - Priority
- obr6 TS(default {}) - Requested Date / Time
- obr7 TS(default {}) - Observation Date / Time
- obr8 TS(default {}) - Observation End Date / Time
- obr9 CQ(default {}) - Collection Volume *
- obr10 CN_PERSON[](default [{}]) - Collector Identifier *
- obr11 ID(default "") - Specimen Action Code *
- obr12 CE(default {}) - Danger Code
- obr13 ST(default "") - Relevant Clinical Information
- obr14 TS(default {}) - Specimen Received Date / Time *
- obr15 CM_SPS(default {}) - Specimen Source *
- obr16 CN_PERSON[](default [{}]) - Ordering Provider
- obr17 TN(default "") - Order Callback Phone Number
- obr18 ST(default "") - Placer Field 1
- obr19 ST(default "") - Placer Field 2
- obr20 ST(default "") - Filler Field 1 +
- obr21 ST(default "") - Filler Field 2 +
- obr22 TS(default {}) - Results Report / Status Change - Date / Time +
- obr23 CM_MOC(default {}) - Charge To Practice +
- obr24 ID(default "") - Diagnostic Service Section Id
- obr25 ID(default "") - Result Status +
- obr26 CM_PRL(default {}) - Parent Result +
- obr27 TQ[](default [{}]) - Quantity / Timing
- obr28 CN_PERSON(default {}) - Result Copies To
- obr29 CM_EIP(default {}) - Parent Number +
- obr30 ID(default "") - Transportation Mode
- obr31 CE[](default [{}]) - Reason For Study
- obr32 CM_NDL(default {}) - Principal Result Interpreter +
- obr33 CM_NDL[](default [{}]) - Assistant Result Interpreter +
- obr34 CM_NDL[](default [{}]) - Technician +
- obr35 CM_NDL[](default [{}]) - Transcriptionist +
- obr36 TS(default {}) - Scheduled Date / Time +
health.hl7v22: OBX
OBX segment. Observation Result
Fields
- Fields Included from *Segment
- name string(default OBX_SEGMENT_NAME) - Segment Name
- obx1 SI(default "") - Set Id - Observational Simple
- obx2 ID(default "") - Value Type
- obx3 CE(default {}) - Observation Identifier
- obx4 ST(default "") - Observation Sub-id
- obx5 varies(default {}) - Observation Value
- obx6 CE(default {}) - Units
- obx7 ST(default "") - References Range
- obx8 ID(default "") - Abnormal Flags
- obx9 NM(default "") - Probability
- obx10 ID(default "") - Nature Of Abnormal Test
- obx11 ID(default "") - Observation Result Status
- obx12 TS(default {}) - Effective Date Last Observation Normal Values
- obx13 ST(default "") - User Defined Access Checks
- obx14 TS(default {}) - Date / Time Of The Observation
- obx15 CE(default {}) - Producer s Id
- obx16 CN_PHYSICIAN(default {}) - Responsible Observer
health.hl7v22: ODS
ODS segment. Dietary Orders, Supplements, And Preferences The ORC sequence items of interest to ODS are ORC-1-order control,ORC-2-placer order number, ORC-3-filler order number, ORC-7-quantity/timing, ORC-9-date/time of transaction, ORC-10-entered by, and ORC-11verified by. Fo...
Fields
- Fields Included from *Segment
- name string(default ODS_SEGMENT_NAME) - Segment Name
- ods1 ID(default "") - Type
- ods2 CE(default {}) - Service Period
- ods3 CE(default {}) - Diet, Supplement, Or Preference Code
- ods4 ST(default "") - Text Instruction
health.hl7v22: ODT
ODT segment. Diet Tray Instruction This segment addresses tray instructions. These are independent of diet codes, supplements, and preferences and therefore get separate order numbers
Fields
- Fields Included from *Segment
- name string(default ODT_SEGMENT_NAME) - Segment Name
- odt1 CE(default {}) - Tray Type
- odt2 CE(default {}) - Service Period
- odt3 ST(default "") - Text Instruction
health.hl7v22: OM1
OM1 segment. General - Fields That Apply To Most Observations The OM1 segment contains attributes that apply to the definition of most observations. This segment also contains the field attributes that specify what additional segments might also be defined for this observation
Fields
- Fields Included from *Segment
- name string(default OM1_SEGMENT_NAME) - Segment Name
- om11 ST(default "") - Segment Type Id
- om12 NM(default "") - Sequence Number - Test/ Observation Master File
- om13 CE(default {}) - Producer s Test / Observation Id
- om14 ID[](default [""]) - Permitted Data Types
- om15 ID(default "") - Specimen Required
- om16 CE(default {}) - Producer Id
- om17 TX(default "") - Observation Description
- om18 CE(default {}) - Other Test / Observation Ids For The Observation
- om19 ST[](default [""]) - Other Names
- om110 ST(default "") - Preferred Report Name For The Observation
- om111 ST(default "") - Preferred Short Name Or Mnemonic For Observation
- om112 ST(default "") - Preferred Long Name For The Observation
- om113 ID(default "") - Orderability
- om114 CE[](default [{}]) - Identity Of Instrument Used To Perform This Study
- om115 CE[](default [{}]) - Coded Representation Of Method
- om116 ID(default "") - Portable
- om117 ID[](default [""]) - Observation Producing Department / Section
- om118 TN(default "") - Telephone Number Of Section
- om119 ID(default "") - Nature Of Test / Observation
- om120 CE(default {}) - Report Subheader
- om121 ST(default "") - Report Display Order
- om122 TS(default {}) - Date / Time Stamp For Any Change In Definition For Obs
- om123 TS(default {}) - Effective Date / Time Of Change
- om124 NM(default "") - Typical Turn-around Time
- om125 NM(default "") - Processing Time
- om126 ID[](default [""]) - Processing Priority
- om127 ID(default "") - Reporting Priority
- om128 CE[](default [{}]) - Outside Site(s) Where Observation May Be Performed
- om129 AD(default {}) - Address Of Outside Site(s)
- om130 TN(default "") - Phone Number Of Outside Site
- om131 ID(default "") - Confidentiality Code
- om132 CE(default {}) - Observations Required To Interpret The Observation
- om133 TX(default "") - Interpretation Of Observations
- om134 CE(default {}) - Contraindications To Observations
- om135 CE[](default [{}]) - Reflex Tests / Observations
- om136 ST(default "") - Rules That Trigger Reflex Testing
- om137 CE(default {}) - Fixed Canned Message
- om138 TX(default "") - Patient Preparation
- om139 CE(default {}) - Procedure Medication
- om140 TX(default "") - Factors That May Affect The Observation
- om141 ST[](default [""]) - Test / Observation Performance Schedule
- om142 TX(default "") - Description Of Test Methods
health.hl7v22: OM2
OM2 segment. Numeric Observation This segment contains attributes of observations with continuous values (including those with data types of numeric, date, or time stamp). It can be applied to observation batteries of type A and C (see OM1-19nature of test/observation).
Fields
- Fields Included from *Segment
- name string(default OM2_SEGMENT_NAME) - Segment Name
- om21 ST(default "") - Segment Type Id
- om22 NM(default "") - Sequence Number - Test/ Observation Master File
- om23 CE(default {}) - Units Of Measure
- om24 NM[](default [""]) - Range Of Decimal Precision
- om25 CE(default {}) - Corresponding Si Units Of Measure
- om26 TX(default "") - Si Conversion Factor
- om27 CM_RFR(default {}) - Reference (normal) Range - Ordinal & Continuous Observations
- om28 CM_RANGE(default {}) - Critical Range For Ordinal And Continuous Observations
- om29 CM_ABS_RANGE(default {}) - Absolute Range For Ordinal And Continuous Observations
- om210 CM_DLT[](default [{}]) - Delta Check Criteria
- om211 NM(default "") - Minimum Meaningful Increments
health.hl7v22: OM3
OM3 segment. Categorical Test/observation This segment applies to free text and other non-numeric data types
Fields
- Fields Included from *Segment
- name string(default OM3_SEGMENT_NAME) - Segment Name
- om31 ST(default "") - Segment Type Id
- om32 NM(default "") - Sequence Number - Test/ Observation Master File
- om33 ID(default "") - Preferred Coding System
- om34 CE(default {}) - Valid Coded Answers
- om35 CE[](default [{}]) - Normal Test Codes For Categorical Observations
- om36 CE(default {}) - Abnormal Test Codes For Categorical Observations
- om37 CE(default {}) - Critical Test Codes For Categorical Observations
- om38 ID(default "") - Data Type
health.hl7v22: OM4
OM4 segment. Observation That Require Specimens
Fields
- Fields Included from *Segment
- name string(default OM4_SEGMENT_NAME) - Segment Name
- om41 ST(default "") - Segment Type Id
- om42 NM(default "") - Sequence Number - Test/ Observation Master File
- om43 ID(default "") - Derived Specimen
- om44 TX(default "") - Container Description
- om45 NM(default "") - Container Volume
- om46 CE(default {}) - Container Units
- om47 CE(default {}) - Specimen
- om48 CE(default {}) - Additive
- om49 TX(default "") - Preparation
- om410 TX(default "") - Special Handling Requirements
- om411 CQ(default {}) - Normal Collection Volume
- om412 CQ(default {}) - Minimum Collection Volume
- om413 TX(default "") - Specimen Requirements
- om414 ID[](default [""]) - Specimen Priorities
- om415 CQ(default {}) - Specimen Retention Time
health.hl7v22: OM5
OM5 segment. Observation Batteries This segment contains information about batteries and supersets (a nature code of F, P or S, as described in OM119-nature of test/observation).
Fields
- Fields Included from *Segment
- name string(default OM5_SEGMENT_NAME) - Segment Name
- om51 ST(default "") - Segment Type Id
- om52 NM(default "") - Sequence Number - Test/ Observation Master File
- om53 CE[](default [{}]) - Tests / Observations Included Within An Ordered Test Battery
- om54 ST(default "") - Observation Id Suffixes
health.hl7v22: OM6
OM6 segment. Observations That Are Calculated From Other Obersvations This segment contains information about quantities that are derived from one or more other quantities or direct observations by mathematical or logical means
Fields
- Fields Included from *Segment
- name string(default OM6_SEGMENT_NAME) - Segment Name
- om61 ST(default "") - Segment Type Id
- om62 NM(default "") - Sequence Number - Test/ Observation Master File
- om63 TX(default "") - Derivation Rule
health.hl7v22: ORC
ORC segment. Commom Order The Common Order segment (ORC) is used to transmit data elements that are common to all orders (all types of services that are requested). The ORC segment is required in both the Order (ORM) and Order Acknowledgement (ORR) messages.
Fields
- Fields Included from *Segment
- name string(default ORC_SEGMENT_NAME) - Segment Name
- orc1 ID(default "") - Order Control
- orc2 CM_PLACER(default {}) - Placer Order Number
- orc3 CM_FILLER(default {}) - Filler Order Number
- orc4 CM_GROUP_ID(default {}) - Placer Group Number
- orc5 ID(default "") - Order Status
- orc6 ID(default "") - Response Flag
- orc7 TQ[](default [{}]) - Quantity / Timing
- orc8 CM_EIP(default {}) - Parent
- orc9 TS(default {}) - Date / Time Of Transaction
- orc10 CN_PERSON(default {}) - Entered By
- orc11 CN_PERSON(default {}) - Verified By
- orc12 CN_PERSON(default {}) - Ordering Provider
- orc13 PL(default {}) - Enterer s Location
- orc14 TN(default "") - Call Back Phone Number
- orc15 TS(default {}) - Order Effective Date / Time
- orc16 CE(default {}) - Order Control Code Reason
- orc17 CE(default {}) - Entering Organization
- orc18 CE(default {}) - Entering Device
- orc19 CN_PERSON(default {}) - Action By
health.hl7v22: ORF_R04
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ORF_R04_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- query_response ORF_R04_QUERY_RESPONSE[](default [{qrd: {}}]) - ORF_R04_QUERY_RESPONSE Segment Group
- dsc? DSC - DSC
health.hl7v22: ORF_R04_OBSERVATION
Fields
- Fields Included from *SegmentComponent
- name string(default ORF_R04_OBSERVATION_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- obx? OBX -
- nte NTE[](default []) -
health.hl7v22: ORF_R04_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default ORF_R04_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc? ORC -
- obr OBR(default {}) -
- nte NTE[](default []) -
- observation ORF_R04_OBSERVATION[](default [{}]) -
health.hl7v22: ORF_R04_QUERY_RESPONSE
Fields
- Fields Included from *SegmentComponent
- name string(default ORF_R04_QUERY_RESPONSE_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- qrd QRD(default {}) -
- qrf? QRF -
- pid? PID -
- nte NTE[](default []) -
- 'order ORF_R04_ORDER[](default [{obr: {}}]) -
health.hl7v22: ORM_O01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ORM_O01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- nte NTE[](default []) - NTE
- patient? ORM_O01_PATIENT - ORM_O01_PATIENT Segment Group
- 'order ORM_O01_ORDER[](default [{orc: {}}]) -
health.hl7v22: ORM_O01_OBSERVATION
Fields
- Fields Included from *SegmentComponent
- name string(default ORM_O01_OBSERVATION_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- obx OBX(default {}) -
- nte NTE[](default []) -
health.hl7v22: ORM_O01_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default ORM_O01_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- order_detail? ORM_O01_ORDER_DETAIL -
- blg? BLG -
health.hl7v22: ORM_O01_ORDER_DETAIL
Fields
- Fields Included from *SegmentComponent
- name string(default ORM_O01_ORDER_DETAIL_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- order_detail_segment ORM_O01_ORDER_DETAIL_SEGMENT(default {}) -
- nte NTE[](default []) -
- observation ORM_O01_OBSERVATION[](default []) -
health.hl7v22: ORM_O01_ORDER_DETAIL_SEGMENT
Fields
- Fields Included from *SegmentComponent
- name string(default ORM_O01_ORDER_DETAIL_SEGMENT_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- obr? OBR -
- rqd? RQD -
- rq1? RQ1 -
- rxo? RXO -
- ods? ODS -
- odt? ODT -
health.hl7v22: ORM_O01_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default ORM_O01_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
- al1 AL1[](default []) -
- pv1? PV1 -
health.hl7v22: ORR_O02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ORR_O02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- nte NTE[](default []) - NTE
- patient? ORR_O02_PATIENT - ORR_O02_PATIENT Segment Group
health.hl7v22: ORR_O02_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default ORR_O02_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- order_detail? ORR_O02_ORDER_DETAIL -
health.hl7v22: ORR_O02_ORDER_DETAIL
Fields
- Fields Included from *SegmentComponent
- name string(default ORR_O02_ORDER_DETAIL_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- order_detail_segment? ORR_O02_ORDER_DETAIL_SEGMENT -
- nte NTE[](default []) -
health.hl7v22: ORR_O02_ORDER_DETAIL_SEGMENT
Fields
- Fields Included from *SegmentComponent
- name string(default ORR_O02_ORDER_DETAIL_SEGMENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- obr? OBR -
- rqd? RQD -
- rq1? RQ1 -
- rxo? RXO -
- ods? ODS -
- odt? ODT -
health.hl7v22: ORR_O02_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default ORR_O02_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid? PID -
- nte NTE[](default []) -
- 'order ORR_O02_ORDER[](default [{orc: {}}]) -
health.hl7v22: ORU_R01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ORU_R01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- patient_result ORU_R01_PATIENT_RESULT[](default [{}]) - ORU_R01_PATIENT_RESULT Segment Group
- dsc? DSC - DSC
health.hl7v22: ORU_R01_OBSERVATION
Fields
- Fields Included from *SegmentComponent
- name string(default ORU_R01_OBSERVATION_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- obx? OBX -
- nte NTE[](default []) -
health.hl7v22: ORU_R01_ORDER_OBSERVATION
Fields
- Fields Included from *SegmentComponent
- name string(default ORU_R01_ORDER_OBSERVATION_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc? ORC -
- obr OBR(default {}) -
- nte NTE[](default []) -
- observation ORU_R01_OBSERVATION[](default [{}]) -
health.hl7v22: ORU_R01_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default ORU_R01_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
- pv1? PV1 -
health.hl7v22: ORU_R01_PATIENT_RESULT
Fields
- Fields Included from *SegmentComponent
- name string(default ORU_R01_PATIENT_RESULT_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- patient ORU_R01_PATIENT(default {pid: {}}) -
- order_observation ORU_R01_ORDER_OBSERVATION[](default [{obr: {}}]) -
health.hl7v22: PID
PID segment. Patient Identification The PID segment is used by all applications as the primary means of communicating patient identification information. This segment contains permanent patient identifying, and demographic information that, for the most part, is not likely to ...
Fields
- Fields Included from *Segment
- name string(default PID_SEGMENT_NAME) - Segment Name
- pid1 SI(default "") - Set Id - Patient Id
- pid2 CK(default {}) - Patient Id (external Id)
- pid3 CM_PAT_ID[](default [{}]) - Patient Id (internal Id)
- pid4 ST(default "") - Alternate Patient Id
- pid5 PN(default {}) - Patient Name
- pid6 ST(default "") - Mother s Maiden Name
- pid7 TS(default {}) - Date Of Birth
- pid8 ID(default "") - Sex
- pid9 PN[](default [{}]) - Patient Alias
- pid10 ID(default "") - Race
- pid11 AD(default {}) - Patient Address
- pid12 ST(default "") - County Code
- pid13 TN(default "") - Phone Number - Home
- pid14 TN(default "") - Phone Number - Business
- pid15 ST(default "") - Language - Patient
- pid16 ID(default "") - Marital Status
- pid17 ID(default "") - Religion
- pid18 CK(default {}) - Patient Account Number
- pid19 ST(default "") - Social Security Number - Patient
- pid20 CM_LICENSE_NO(default {}) - Driver s License Number - Patient
- pid21 CK(default {}) - Mother s Identifier
- pid22 ID(default "") - Ethnic Group
- pid23 ST(default "") - Birth Place
- pid24 ID(default "") - Multiple Birth Indicator
- pid25 NM(default "") - Birth Order
- pid26 ID[](default [""]) - Citizenship
- pid27 CE(default {}) - Veterans Military Status
health.hl7v22: PL
Person Location This data type is used to specify a patient location within a healthcare institution. Which components are valued depends on the needs of the site. It is most commonly used for specifying patient locations, but may re...
Fields
- Fields Included from *CompositeType
- anydata...
- pl1 ID(default "") - Point Of Care
- pl2 IS(default "") - Room
- pl3 IS(default "") - Bed
- pl4 HD(default {}) - Facility
- pl5 IS(default "") - Location Status
- pl6 IS(default "") - Person Location Type
- pl7 IS(default "") - Building
- pl8 ST(default "") - Floor
- pl9 ST(default "") - Location Type
health.hl7v22: PN
Person Name A name includes multiple free text components as listed above. The maximum length of a PN field is 48 characters including component separators. The sending system may send upper- and lowercase or all uppercase. The r...
Fields
- Fields Included from *CompositeType
- anydata...
- pn1 ST(default "") - Familiy Name
- pn2 ST(default "") - Given Name
- pn3 ST(default "") - Middle Initial Or Name
- pn4 ST(default "") - Suffix (e.g. Jr Or Iii)
- pn5 ST(default "") - Prefix (e.g. Dr)
- pn6 ST(default "") - Degree (e.g. Md)
health.hl7v22: PR1
PR1 segment. Procedures The PR1 segment contains information relative to various types of procedures that can be performed on a patient. For example: Surgical, Nuclear Medicine, X-Ray with contrast, etc
Fields
- Fields Included from *Segment
- name string(default PR1_SEGMENT_NAME) - Segment Name
- pr11 SI(default "") - Set Id - Procedure
- pr12 ID[](default [""]) - Procedure Coding Method
- pr13 ID[](default [""]) - Procedure Code
- pr14 ST[](default [""]) - Procedure Description
- pr15 TS(default {}) - Procedure Date / Time
- pr16 ID(default "") - Procedure Type
- pr17 NM(default "") - Procedure Minutes
- pr18 CN_PERSON(default {}) - Anesthesiologist
- pr19 ID(default "") - Anesthesia Code
- pr110 NM(default "") - Anesthesia Minutes
- pr111 CN_PERSON(default {}) - Surgeon
- pr112 CM_PRACTITIONER[](default [{}]) - Procedure Practitioner
- pr113 ID(default "") - Consent Code
- pr114 NM(default "") - Procedure Priority
health.hl7v22: PRA
PRA segment. Practitioner Detail
Fields
- Fields Included from *Segment
- name string(default PRA_SEGMENT_NAME) - Segment Name
- pra1 ST(default "") - Pra - Primary Key Value
- pra2 CE[](default [{}]) - Practitioner Group
- pra3 ID[](default [""]) - Practitioner Category
- pra4 ID(default "") - Provider Billing
- pra5 CM_SPD[](default [{}]) - Specialty
- pra6 CM_PLN[](default [{}]) - Practitioner Id Numbers
- pra7 CM_PIP[](default [{}]) - Privileges
health.hl7v22: PT
Processing Type This data type indicates whether to process a message as defined in HL7 Application (level 7) Processing rules
Fields
- Fields Included from *CompositeType
- anydata...
- pt1 ST(default "") - Processing ID
- pt2 ST(default "") - Processing Mode
health.hl7v22: PV1
PV1 segment. Patient Visit The PV1 segment is used by Registration/ADT applications to communicate information on a visit specific basis. This segment can be used to send multiple visit statistic records to the same patient account, or single visit records to more than one acc...
Fields
- Fields Included from *Segment
- name string(default PV1_SEGMENT_NAME) - Segment Name
- pv11 SI(default "") - Set Id - Patient Visit
- pv12 ID(default "") - Patient Class
- pv13 CM_INTERNAL_LOCATION(default {}) - Assigned Patient Location
- pv14 ID(default "") - Admission Type
- pv15 ST(default "") - Preadmit Number
- pv16 CM_INTERNAL_LOCATION(default {}) - Prior Patient Location
- pv17 CN_PHYSICIAN(default {}) - Attending Doctor
- pv18 CN_PHYSICIAN(default {}) - Referring Doctor
- pv19 CN_PHYSICIAN[](default [{}]) - Consulting Doctor
- pv110 ID(default "") - Hospital Service
- pv111 CM_INTERNAL_LOCATION(default {}) - Temporary Location
- pv112 ID(default "") - Preadmit Test Indicator
- pv113 ID(default "") - Readmission Indicator
- pv114 ID(default "") - Admit Source
- pv115 ID[](default [""]) - Ambulatory Status
- pv116 ID(default "") - Vip Indicator
- pv117 CN_PHYSICIAN(default {}) - Admitting Doctor
- pv118 ID(default "") - Patient Type
- pv119 CM_PAT_ID(default {}) - Visit Number
- pv120 CM_FINANCE(default {}) - Financial Class
- pv121 ID(default "") - Charge Price Indicator
- pv122 ID(default "") - Courtesy Code
- pv123 ID(default "") - Credit Rating
- pv124 ID[](default [""]) - Contract Code
- pv125 DT[](default [""]) - Contract Effective Date
- pv126 NM[](default [""]) - Contract Amount
- pv127 NM[](default [""]) - Contract Period
- pv128 ID(default "") - Interest Code
- pv129 ID(default "") - Transfer To Bad Debt - Code
- pv130 DT(default "") - Transfer To Bad Debt - Date
- pv131 ID(default "") - Bad Debt Agency Code
- pv132 NM(default "") - Bad Debt Transfer Amount
- pv133 NM(default "") - Bad Debt Recovery Amount
- pv134 ID(default "") - Delete Account Indicator
- pv135 DT(default "") - Delete Account Date
- pv136 ID(default "") - Discharge Disposition
- pv137 CM_DLD(default {}) - Discharged To Location
- pv138 ID(default "") - Diet Type
- pv139 ID(default "") - Servicing Facility
- pv140 ID(default "") - Bed Status
- pv141 ID(default "") - Account Status
- pv142 CM_INTERNAL_LOCATION(default {}) - Pending Location
- pv143 CM_INTERNAL_LOCATION(default {}) - Prior Temporary Location
- pv144 TS(default {}) - Admit Date / Time
- pv145 TS(default {}) - Discharge Date / Time
- pv146 NM(default "") - Current Patient Balance
- pv147 NM(default "") - Total Charges
- pv148 NM(default "") - Total Adjustments
- pv149 NM(default "") - Total Payments
- pv150 CM_PAT_ID_0192(default {}) - Alternate Visit Id
health.hl7v22: PV2
PV2 segment. Patient Visit - Additional Information The PV2 segment is a continuation of visit specific information contained on the PV1 segment.
Fields
- Fields Included from *Segment
- name string(default PV2_SEGMENT_NAME) - Segment Name
- pv21 CM_INTERNAL_LOCATION(default {}) - Prior Pending Location
- pv22 CE(default {}) - Accommodation Code
- pv23 CE(default {}) - Admit Reason
- pv24 CE(default {}) - Transfer Reason
- pv25 ST[](default [""]) - Patient Valuables
- pv26 ST(default "") - Patient Valuables Location
- pv27 ID(default "") - Visit User Code
- pv28 DT(default "") - Expected Admit Date
- pv29 DT(default "") - Expected Discharge Date
health.hl7v22: QRD
QRD segment. Query Definition
Fields
- Fields Included from *Segment
- name string(default QRD_SEGMENT_NAME) - Segment Name
- qrd1 TS(default {}) - Query Date / Time
- qrd2 ID(default "") - Query Format Code
- qrd3 ID(default "") - Query Priority
- qrd4 ST(default "") - Query Id
- qrd5 ID(default "") - Deferred Response Type
- qrd6 TS(default {}) - Deferred Response Date / Time
- qrd7 CQ(default {}) - Quantity Limited Request
- qrd8 ST[](default [""]) - Who Subject Filter
- qrd9 ID[](default [""]) - What Subject Filter
- qrd10 ST[](default [""]) - What Department Data Code
- qrd11 CM_VR[](default [{}]) - What Data Code Value Qualifier
- qrd12 ID(default "") - Query Results Level
health.hl7v22: QRF
QRF segment. Query Filter The QRF segment is used with the QRD segment to refine the content of a query further
Fields
- Fields Included from *Segment
- name string(default QRF_SEGMENT_NAME) - Segment Name
- qrf1 ST[](default [""]) - Where Subject Filter
- qrf2 TS(default {}) - When Data Start Date / Time
- qrf3 TS(default {}) - When Data End Date / Time
- qrf4 ST[](default [""]) - What User Qualifier
- qrf5 ST[](default [""]) - Other Qry Subject Filter
- qrf6 ID[](default [""]) - Which Date / Time Qualifier
- qrf7 ID[](default [""]) - Which Date / Time Status Qualifier
- qrf8 ID[](default [""]) - Date / Time Selection Qualifier
health.hl7v22: QRY_A19
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default QRY_A19_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
health.hl7v22: QRY_P04
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default QRY_P04_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsc? DSC - DSC
health.hl7v22: QRY_Q01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default QRY_Q01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsc? DSC - DSC
health.hl7v22: QRY_Q02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default QRY_Q02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsc? DSC - DSC
health.hl7v22: QRY_Q26
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default QRY_Q26_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsc? DSC - DSC
health.hl7v22: QRY_Q27
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default QRY_Q27_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsc? DSC - DSC
health.hl7v22: QRY_Q28
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default QRY_Q28_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsc? DSC - DSC
health.hl7v22: QRY_Q29
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default QRY_Q29_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsc? DSC - DSC
health.hl7v22: QRY_Q30
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default QRY_Q30_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf? QRF - QRF
- dsc? DSC - DSC
health.hl7v22: QRY_R02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default QRY_R02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- qrd QRD(default {}) - QRD
- qrf QRF(default {}) - QRF
- dsc? DSC - DSC
health.hl7v22: RAR_RAR
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RAR_RAR_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- definition RAR_RAR_DEFINITION[](default [{qrd: {}}]) - RAR_RAR_DEFINITION Segment Group
- dsc? DSC - DSC
health.hl7v22: RAR_RAR_DEFINITION
Fields
- Fields Included from *SegmentComponent
- name string(default RAR_RAR_DEFINITION_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- qrd QRD(default {}) -
- qrf? QRF -
- patient RAR_RAR_PATIENT(default {pid: {}}) -
- 'order RAR_RAR_ORDER[](default [{orc: {}}]) -
health.hl7v22: RAR_RAR_ENCODING
Fields
- Fields Included from *SegmentComponent
- name string(default RAR_RAR_ENCODING_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxe RXE(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
health.hl7v22: RAR_RAR_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RAR_RAR_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- encoding RAR_RAR_ENCODING(default {rxe: {}}) -
- rxa RXA[](default [{}]) -
health.hl7v22: RAR_RAR_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RAR_RAR_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
health.hl7v22: RAS_O02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RAS_O02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- nte NTE[](default []) - NTE
- patient? RAS_O02_PATIENT - RAS_O02_PATIENT Segment Group
- 'order RAS_O02_ORDER[](default [{orc: {}}]) -
health.hl7v22: RAS_O02_COMPONENTS
Fields
- Fields Included from *SegmentComponent
- name string(default RAS_O02_COMPONENTS_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxc RXC[](default [{}]) -
- nte NTE[](default []) -
health.hl7v22: RAS_O02_ENCODING
Fields
- Fields Included from *SegmentComponent
- name string(default RAS_O02_ENCODING_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxe RXE(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
health.hl7v22: RAS_O02_OBSERVATION
Fields
- Fields Included from *SegmentComponent
- name string(default RAS_O02_OBSERVATION_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- obx OBX(default {}) -
- nte NTE[](default []) -
health.hl7v22: RAS_O02_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RAS_O02_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- order_detail RAS_O02_ORDER_DETAIL(default {rxo: {}}) -
- encoding RAS_O02_ENCODING(default {rxe: {}}) -
- rxa RXA[](default [{}]) -
- rxr RXR(default {}) -
- observation RAS_O02_OBSERVATION[](default []) -
health.hl7v22: RAS_O02_ORDER_DETAIL
Fields
- Fields Included from *SegmentComponent
- name string(default RAS_O02_ORDER_DETAIL_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxo RXO(default {}) -
- order_detail_supplement RAS_O02_ORDER_DETAIL_SUPPLEMENT(default {nte: [{}]}) -
health.hl7v22: RAS_O02_ORDER_DETAIL_SUPPLEMENT
Fields
- Fields Included from *SegmentComponent
- name string(default RAS_O02_ORDER_DETAIL_SUPPLEMENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- nte NTE[](default [{}]) -
- rxr RXR[](default [{}]) -
- components RAS_O02_COMPONENTS(default {rxc: [{}]}) -
health.hl7v22: RAS_O02_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RAS_O02_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
- al1 AL1[](default []) -
- pv1? PV1 -
health.hl7v22: RDE_O01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RDE_O01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- nte NTE[](default []) - NTE
- patient? RDE_O01_PATIENT - RDE_O01_PATIENT Segment Group
- 'order RDE_O01_ORDER[](default [{orc: {}}]) -
health.hl7v22: RDE_O01_COMPONENT
Fields
- Fields Included from *SegmentComponent
- name string(default RDE_O01_COMPONENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxc RXC[](default [{}]) -
- nte NTE[](default []) -
health.hl7v22: RDE_O01_OBSERVATION
Fields
- Fields Included from *SegmentComponent
- name string(default RDE_O01_OBSERVATION_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- obx? OBX -
- nte NTE[](default []) -
health.hl7v22: RDE_O01_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RDE_O01_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- order_detail RDE_O01_ORDER_DETAIL(default {rxo: {}}) -
- rxe RXE(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
- observation RDE_O01_OBSERVATION[](default [{}]) -
health.hl7v22: RDE_O01_ORDER_DETAIL
Fields
- Fields Included from *SegmentComponent
- name string(default RDE_O01_ORDER_DETAIL_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxo RXO(default {}) -
- nte NTE[](default []) -
- rxr RXR[](default [{}]) -
- component RDE_O01_COMPONENT(default {rxc: [{}]}) -
health.hl7v22: RDE_O01_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RDE_O01_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
- al1 AL1[](default []) -
- pv1? PV1 -
health.hl7v22: RDR_RDR
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RDR_RDR_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- definition RDR_RDR_DEFINITION[](default [{qrd: {}}]) - RDR_RDR_DEFINITION Segment Group
- dsc? DSC - DSC
health.hl7v22: RDR_RDR_DEFINITION
Fields
- Fields Included from *SegmentComponent
- name string(default RDR_RDR_DEFINITION_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- qrd QRD(default {}) -
- qrf? QRF -
- patient RDR_RDR_PATIENT(default {pid: {}}) -
- 'order RDR_RDR_ORDER[](default [{orc: {}}]) -
health.hl7v22: RDR_RDR_DISPENSE
Fields
- Fields Included from *SegmentComponent
- name string(default RDR_RDR_DISPENSE_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- rxd RXD(default {}) -
- rxr RXR[](default [{}]) -
health.hl7v22: RDR_RDR_ENCODING
Fields
- Fields Included from *SegmentComponent
- name string(default RDR_RDR_ENCODING_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxe RXE(default {}) -
- rxr RXR(default {}) -
- rxc RXC[](default []) -
health.hl7v22: RDR_RDR_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RDR_RDR_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- encoding RDR_RDR_ENCODING(default {rxe: {}}) -
- dispense RDR_RDR_DISPENSE[](default [{rxd: {}}]) -
health.hl7v22: RDR_RDR_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RDR_RDR_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
health.hl7v22: RDS_O01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RDS_O01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- nte NTE[](default []) - NTE
- patient? RDS_O01_PATIENT - RDS_O01_PATIENT Segment Group
- 'order RDS_O01_ORDER[](default [{orc: {}}]) -
health.hl7v22: RDS_O01_COMPONENT
Fields
- Fields Included from *SegmentComponent
- name string(default RDS_O01_COMPONENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxc RXC[](default [{}]) -
- nte NTE[](default []) -
health.hl7v22: RDS_O01_ENCODING
Fields
- Fields Included from *SegmentComponent
- name string(default RDS_O01_ENCODING_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxe RXE(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
health.hl7v22: RDS_O01_OBSERVATION
Fields
- Fields Included from *SegmentComponent
- name string(default RDS_O01_OBSERVATION_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- obx? OBX -
- nte NTE[](default []) -
health.hl7v22: RDS_O01_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RDS_O01_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- order_detail RDS_O01_ORDER_DETAIL(default {rxo: {}}) -
- encoding RDS_O01_ENCODING(default {rxe: {}}) -
- rxd RXD(default {}) -
- rxr RXR[](default [{}]) -
- rxe RXE[](default []) -
- observation RDS_O01_OBSERVATION[](default [{}]) -
health.hl7v22: RDS_O01_ORDER_DETAIL
Fields
- Fields Included from *SegmentComponent
- name string(default RDS_O01_ORDER_DETAIL_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxo RXO(default {}) -
- order_detail_supplement RDS_O01_ORDER_DETAIL_SUPPLEMENT(default {nte: [{}]}) -
health.hl7v22: RDS_O01_ORDER_DETAIL_SUPPLEMENT
Fields
- Fields Included from *SegmentComponent
- name string(default RDS_O01_ORDER_DETAIL_SUPPLEMENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- nte NTE[](default [{}]) -
- rxr RXR[](default [{}]) -
- component RDS_O01_COMPONENT(default {rxc: [{}]}) -
health.hl7v22: RDS_O01_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RDS_O01_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
- al1 AL1[](default []) -
- pv1? PV1 -
health.hl7v22: RER_RER
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RER_RER_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- definition RER_RER_DEFINITION[](default [{qrd: {}}]) - RER_RER_DEFINITION Segment Group
- dsc? DSC - DSC
health.hl7v22: RER_RER_DEFINITION
Fields
- Fields Included from *SegmentComponent
- name string(default RER_RER_DEFINITION_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- qrd QRD(default {}) -
- qrf? QRF -
- patient RER_RER_PATIENT(default {pid: {}}) -
- 'order RER_RER_ORDER[](default [{orc: {}}]) -
health.hl7v22: RER_RER_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RER_RER_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- rxe RXE(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
health.hl7v22: RER_RER_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RER_RER_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
health.hl7v22: RGR_RGR
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RGR_RGR_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- definition RGR_RGR_DEFINITION[](default [{qrd: {}}]) - RGR_RGR_DEFINITION Segment Group
- dsc? DSC - DSC
health.hl7v22: RGR_RGR_DEFINITION
Fields
- Fields Included from *SegmentComponent
- name string(default RGR_RGR_DEFINITION_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- qrd QRD(default {}) -
- qrf? QRF -
- patient RGR_RGR_PATIENT(default {pid: {}}) -
- 'order RGR_RGR_ORDER[](default [{orc: {}}]) -
health.hl7v22: RGR_RGR_ENCODING
Fields
- Fields Included from *SegmentComponent
- name string(default RGR_RGR_ENCODING_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxe RXE(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
health.hl7v22: RGR_RGR_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RGR_RGR_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- encoding RGR_RGR_ENCODING(default {rxe: {}}) -
- rxg RXG[](default [{}]) -
- rxr RXR[](default [{}]) -
health.hl7v22: RGR_RGR_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RGR_RGR_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
health.hl7v22: RGV_O01
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RGV_O01_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- nte NTE[](default []) - NTE
- patient? RGV_O01_PATIENT - RGV_O01_PATIENT Segment Group
- 'order RGV_O01_ORDER[](default [{orc: {}}]) -
health.hl7v22: RGV_O01_COMPONENT
Fields
- Fields Included from *SegmentComponent
- name string(default RGV_O01_COMPONENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxc RXC[](default [{}]) -
- nte NTE[](default []) -
health.hl7v22: RGV_O01_ENCODING
Fields
- Fields Included from *SegmentComponent
- name string(default RGV_O01_ENCODING_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxe RXE(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
health.hl7v22: RGV_O01_GIVE
Fields
- Fields Included from *SegmentComponent
- name string(default RGV_O01_GIVE_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- rxg RXG(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
- observation RGV_O01_OBSERVATION(default {}) -
health.hl7v22: RGV_O01_OBSERVATION
Fields
- Fields Included from *SegmentComponent
- name string(default RGV_O01_OBSERVATION_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- obx? OBX -
- nte NTE[](default []) -
health.hl7v22: RGV_O01_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RGV_O01_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- order_detail RGV_O01_ORDER_DETAIL(default {rxo: {}}) -
- encoding RGV_O01_ENCODING(default {rxe: {}}) -
- give RGV_O01_GIVE(default {rxg: {}}) -
health.hl7v22: RGV_O01_ORDER_DETAIL
Fields
- Fields Included from *SegmentComponent
- name string(default RGV_O01_ORDER_DETAIL_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxo RXO(default {}) -
- order_detail_supplement RGV_O01_ORDER_DETAIL_SUPPLEMENT(default {nte: [{}]}) -
health.hl7v22: RGV_O01_ORDER_DETAIL_SUPPLEMENT
Fields
- Fields Included from *SegmentComponent
- name string(default RGV_O01_ORDER_DETAIL_SUPPLEMENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- nte NTE[](default [{}]) -
- rxr RXR[](default [{}]) -
- component RGV_O01_COMPONENT(default {rxc: [{}]}) -
health.hl7v22: RGV_O01_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RGV_O01_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
- al1 AL1[](default []) -
- pv1? PV1 -
health.hl7v22: ROR_ROR
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default ROR_ROR_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- definition ROR_ROR_DEFINITION[](default [{qrd: {}}]) - ROR_ROR_DEFINITION Segment Group
- dsc? DSC - DSC
health.hl7v22: ROR_ROR_DEFINITION
Fields
- Fields Included from *SegmentComponent
- name string(default ROR_ROR_DEFINITION_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- qrd QRD(default {}) -
- qrf? QRF -
- patient ROR_ROR_PATIENT(default {pid: {}}) -
- 'order ROR_ROR_ORDER[](default [{orc: {}}]) -
health.hl7v22: ROR_ROR_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default ROR_ROR_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- rxo RXO(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
health.hl7v22: ROR_ROR_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default ROR_ROR_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
health.hl7v22: RP
Reference Pointer This data type transmits information about data stored on another system. It contains a reference pointer that uniquely identifies the data on the other system, the identity of the other system, and the type of data. ...
Fields
- Fields Included from *CompositeType
- anydata...
- rp1 ST(default "") - Pointer
- rp2 ST(default "") - Application ID
- rp3 ID(default "") - Type of Data
health.hl7v22: RQ1
RQ1 segment. Requisition Detail 1 RQ1 contains additional detail for each nonstock requisitioned item. This segment definition is paired with a preceeding RQD segment.
Fields
- Fields Included from *Segment
- name string(default RQ1_SEGMENT_NAME) - Segment Name
- rq11 SI(default "") - Anticipated Price
- rq12 CE(default {}) - Manufacturer Id
- rq13 ST(default "") - Manufacturer s Catalog
- rq14 CE(default {}) - Vendor Id
- rq15 ST(default "") - Vendor Catalog
- rq16 ID(default "") - Taxable
- rq17 ID(default "") - Substitute Allowed
health.hl7v22: RQD
RQD segment. Requisition Detail RQD contains the detail for each requisitioned item.
Fields
- Fields Included from *Segment
- name string(default RQD_SEGMENT_NAME) - Segment Name
- rqd1 SI(default "") - Requisition Line Number
- rqd2 CE(default {}) - Item Code - Internal
- rqd3 CE(default {}) - Item Code - External
- rqd4 CE(default {}) - Hospital Item Code
- rqd5 NM(default "") - Requisition Quantity
- rqd6 CE(default {}) - Requisition Unit Of Measure
- rqd7 ID(default "") - Department Cost Center
- rqd8 ID(default "") - Item Natural Account Code
- rqd9 CE(default {}) - Deliver-to Id
- rqd10 DT(default "") - Date Needed
health.hl7v22: RRA_O02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RRA_O02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- nte NTE[](default []) - NTE
- response? RRA_O02_RESPONSE - RRA_O02_RESPONSE Segment Group
health.hl7v22: RRA_O02_ADMINISTRATION
Fields
- Fields Included from *SegmentComponent
- name string(default RRA_O02_ADMINISTRATION_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxa RXA[](default [{}]) -
- rxr RXR(default {}) -
health.hl7v22: RRA_O02_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RRA_O02_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- administration RRA_O02_ADMINISTRATION[](default []) -
health.hl7v22: RRA_O02_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RRA_O02_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid PID(default {}) -
- nte NTE[](default []) -
health.hl7v22: RRA_O02_RESPONSE
Fields
- Fields Included from *SegmentComponent
- name string(default RRA_O02_RESPONSE_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- patient RRA_O02_PATIENT(default {pid: {}}) -
- 'order RRA_O02_ORDER[](default [{orc: {}}]) -
health.hl7v22: RRD_O02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RRD_O02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- nte NTE[](default []) - NTE
- patient? RRD_O02_PATIENT - RRD_O02_PATIENT Segment Group
health.hl7v22: RRD_O02_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RRD_O02_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- order_detail RRD_O02_ORDER_DETAIL(default {rxd: {}}) -
health.hl7v22: RRD_O02_ORDER_DETAIL
Fields
- Fields Included from *SegmentComponent
- name string(default RRD_O02_ORDER_DETAIL_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxd RXD(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
health.hl7v22: RRD_O02_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RRD_O02_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid? PID -
- nte NTE[](default []) -
- 'order RRD_O02_ORDER[](default [{orc: {}}]) -
health.hl7v22: RRE_O02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RRE_O02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- nte NTE[](default []) - NTE
- patient? RRE_O02_PATIENT - RRE_O02_PATIENT Segment Group
health.hl7v22: RRE_O02_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RRE_O02_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- order_detail RRE_O02_ORDER_DETAIL(default {rxe: {}}) -
health.hl7v22: RRE_O02_ORDER_DETAIL
Fields
- Fields Included from *SegmentComponent
- name string(default RRE_O02_ORDER_DETAIL_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxe RXE(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
health.hl7v22: RRE_O02_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RRE_O02_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid? PID -
- nte NTE[](default []) -
- 'order RRE_O02_ORDER[](default [{orc: {}}]) -
health.hl7v22: RRG_O02
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default RRG_O02_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- msa MSA(default {}) - MSA
- err? ERR - ERR
- nte NTE[](default []) - NTE
- patient? RRG_O02_PATIENT - RRG_O02_PATIENT Segment Group
health.hl7v22: RRG_O02_ORDER
Fields
- Fields Included from *SegmentComponent
- name string(default RRG_O02_ORDER_SEGMENT_COMPONENT) -
- isRequired boolean(default true) -
- orc ORC(default {}) -
- order_detail RRG_O02_ORDER_DETAIL(default {rxg: {}}) -
health.hl7v22: RRG_O02_ORDER_DETAIL
Fields
- Fields Included from *SegmentComponent
- name string(default RRG_O02_ORDER_DETAIL_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- rxg RXG(default {}) -
- rxr RXR[](default [{}]) -
- rxc RXC[](default []) -
health.hl7v22: RRG_O02_PATIENT
Fields
- Fields Included from *SegmentComponent
- name string(default RRG_O02_PATIENT_SEGMENT_COMPONENT) -
- isRequired boolean(default false) -
- pid? PID -
- nte NTE[](default []) -
- 'order RRG_O02_ORDER[](default [{orc: {}}]) -
health.hl7v22: RXA
RXA segment. Pharmacy Aadministration The ORC must have the filler order number and the order control code RE. As a site-specific variant, the RXO and associated RXCs and/or the RXE (and associated RXCs) may be present if the receiving application needs any of their data. The ...
Fields
- Fields Included from *Segment
- name string(default RXA_SEGMENT_NAME) - Segment Name
- rxa1 NM(default "") - Give Sub-id Counter
- rxa2 NM(default "") - Administration Sub-id Counter
- rxa3 TS(default {}) - Date / Time Start Of Administration
- rxa4 TS(default {}) - Date / Time End Of Administration
- rxa5 CE(default {}) - Administered Code
- rxa6 NM(default "") - Administered Amount
- rxa7 CE(default {}) - Administered Units
- rxa8 CE(default {}) - Administered Dosage Form
- rxa9 ST[](default [""]) - Administration Notes
- rxa10 CN_PERSON(default {}) - Administering Provider
- rxa11 CM_LA1(default {}) - Administered-at Location
- rxa12 ST(default "") - Administered Per (time Unit)
health.hl7v22: RXC
RXC segment. Pharmacy Component Order If the drug ordered with the RXO segment is a compound drug OR an IV solution, AND there is not a coded value for the Universal Service ID which specifies the components (base and all additives), then the components (the base and additives...
Fields
- Fields Included from *Segment
- name string(default RXC_SEGMENT_NAME) - Segment Name
- rxc1 ID(default "") - Rx Component Type
- rxc2 CE(default {}) - Component Code
- rxc3 NM(default "") - Component Amount
- rxc4 CE(default {}) - Component Units
health.hl7v22: RXD
RXD segment. Pharmacy Dispense
Fields
- Fields Included from *Segment
- name string(default RXD_SEGMENT_NAME) - Segment Name
- rxd1 NM(default "") - Dispense Sub-id Counter
- rxd2 CE(default {}) - Dispense / Give Code
- rxd3 TS(default {}) - Date / Time Dispensed
- rxd4 NM(default "") - Actual Dispense Amount
- rxd5 CE(default {}) - Actual Dispense Units
- rxd6 CE(default {}) - Actual Dosage Form
- rxd7 NM(default "") - Prescription Number
- rxd8 NM(default "") - Number Of Refills Remaining
- rxd9 ST[](default [""]) - Dispense Notes
- rxd10 CN_PERSON(default {}) - Dispensing Provider
- rxd11 ID(default "") - Substitution Status
- rxd12 NM(default "") - Total Daily Dose
- rxd13 CM_LA1(default {}) - Dispense-to location
- rxd14 ID(default "") - Needs Human Review
- rxd15 CE[](default [{}]) - Pharmacy Special Dispensing Instructions
health.hl7v22: RXE
RXE segment. Pharmacy Encoded Order The RXE segment details the pharmacy application s encoding of the order. It also contains several pharmacyspecific order status fields, such as RXE-16-number of refills remaining, RXE-17-number of refills/doses dispensed, RXE-18-date/time o...
Fields
- Fields Included from *Segment
- name string(default RXE_SEGMENT_NAME) - Segment Name
- rxe1 TQ(default {}) - Quantity / Timing
- rxe2 CE(default {}) - Give Code
- rxe3 NM(default "") - Give Amount - Minimum
- rxe4 NM(default "") - Give Amount - Maximum
- rxe5 CE(default {}) - Give Units
- rxe6 CE(default {}) - Give Dosage Form
- rxe7 CE[](default [{}]) - Provider s Administration Instructions
- rxe8 CM_LA1(default {}) - Deliver-to Location
- rxe9 ID(default "") - Substitution Status
- rxe10 NM(default "") - Dispense Amount
- rxe11 CE(default {}) - Dispense Units
- rxe12 NM(default "") - Number Of Refills
- rxe13 CN_PERSON(default {}) - Ordering Provider s Dea Number
- rxe14 CN_PERSON(default {}) - Pharmacist Verifier Id
- rxe15 ST(default "") - Prescription Number
- rxe16 NM(default "") - Number Of Refills Remaining
- rxe17 NM(default "") - Number Of Refills / Doses Dispensed
- rxe18 TS(default {}) - Date / Time Of Most Recent Refill Or Dose Dispensed
- rxe19 CQ(default {}) - Total Daily Dose
- rxe20 ID(default "") - Needs Human Review
- rxe21 CE[](default [{}]) - Pharmacy Special Dispensing Instructions
- rxe22 ST(default "") - Give Per (time Unit)
- rxe23 CE(default {}) - Give Rate Amount
- rxe24 CE(default {}) - Give Rate Units
health.hl7v22: RXG
RXG segment. Pharmacy Give
Fields
- Fields Included from *Segment
- name string(default RXG_SEGMENT_NAME) - Segment Name
- rxg1 NM(default "") - Give Sub-id Counter
- rxg2 NM(default "") - Dispense Sub-id Counter
- rxg3 TQ(default {}) - Quantity / Timing
- rxg4 CE(default {}) - Give Code
- rxg5 NM(default "") - Give Amount - Minimum
- rxg6 NM(default "") - Give Amount - Maximum
- rxg7 CE(default {}) - Give Units
- rxg8 CE(default {}) - Give Dosage Form
- rxg9 ST[](default [""]) - Administration Notes
- rxg10 ID(default "") - Substitution Status
- rxg11 CM_LA1(default {}) - Dispense-to location
- rxg12 ID(default "") - Needs Human Review
- rxg13 CE[](default [{}]) - Pharmacy Special Administration Instructions
- rxg14 ST(default "") - Give Per (time Unit)
- rxg15 CE(default {}) - Give Rate Amount
- rxg16 CE(default {}) - Give Rate Units
health.hl7v22: RXO
RXO segment. Pharmacy Prescription Order This is the "master" pharmacy order segment. It contains order data not specific to components or additives. Unlike the OBR, it does not contain status fields or other data that are results-only. It can be used for any type of pharmacy ...
Fields
- Fields Included from *Segment
- name string(default RXO_SEGMENT_NAME) - Segment Name
- rxo1 CE(default {}) - Requested Give Code
- rxo2 NM(default "") - Requested Give Amount - Minimum
- rxo3 NM(default "") - Requested Give Amount - Maximum
- rxo4 CE(default {}) - Requested Give Units
- rxo5 CE(default {}) - Requested Dosage Form
- rxo6 CE[](default [{}]) - Provider s Pharmacy Instructions
- rxo7 CE[](default [{}]) - Provider s Administration Instructions
- rxo8 CM_LA1(default {}) - Deliver-to Location
- rxo9 ID(default "") - Allow Substitutions
- rxo10 CE(default {}) - Requested Dispense Code
- rxo11 NM(default "") - Requested Dispense Amount
- rxo12 CE(default {}) - Requested Dispense Units
- rxo13 NM(default "") - Number Of Refills
- rxo14 CN_PERSON(default {}) - Ordering Provider s Dea Number
- rxo15 CN_PERSON(default {}) - Pharmacist Verifier Id
- rxo16 ID(default "") - Needs Human Review
- rxo17 ST(default "") - Requested Give Per (time Unit)
health.hl7v22: RXR
RXR segment. Pharmacy Route The Pharmacy Route segment contains the alternative combination of route, site, administration device, and administration method that are prescribed. The pharmacy and/or nursing staff has a choice between the routes based on either their professiona...
Fields
- Fields Included from *Segment
- name string(default RXR_SEGMENT_NAME) - Segment Name
- rxr1 CE(default {}) - Route
- rxr2 CE(default {}) - Site
- rxr3 CE(default {}) - Administration Device
- rxr4 CE(default {}) - Administration Method
health.hl7v22: STF
STF segment. Staff Identification Segment
Fields
- Fields Included from *Segment
- name string(default STF_SEGMENT_NAME) - Segment Name
- stf1 CE(default {}) - Stf - Primary Key Value
- stf2 CE[](default [{}]) - Staff Id Code
- stf3 PN(default {}) - Staff Name
- stf4 ID[](default [""]) - Staff Type
- stf5 ID(default "") - Sex
- stf6 TS(default {}) - Date Of Birth
- stf7 ID(default "") - Active / Inactive
- stf8 CE[](default [{}]) - Department
- stf9 CE[](default [{}]) - Service
- stf10 TN[](default [""]) - Phone
- stf11 AD(default {}) - Office / Home Address
- stf12 CM_DIN[](default [{}]) - Activation Date
- stf13 CM_DIN[](default [{}]) - Inactivation Date
- stf14 CE[](default [{}]) - Backup Person Id
- stf15 ST[](default [""]) - E-mail Address
- stf16 ID(default "") - Preferred Method Of Contact
health.hl7v22: TQ
Timing Quantity Quantity/timing (ORC-7, OBR-27) provides a means of specifying when the service described by the order segment is to be performed and how frequently. It is a complex multicomponent field that can have repeats; i.e., m...
Fields
- Fields Included from *CompositeType
- anydata...
- tq1 CQ(default {}) - Quantity
- tq2 CM_RI(default {}) - Interval
- tq3 ST(default "") - Duration
- tq4 TS(default {}) - Start Date/Time
- tq5 TS(default {}) - End Date/Time
- tq6 ID(default "") - Priority
- tq7 ST(default "") - Condition
- tq8 TX(default "") - Text
- tq9 ID(default "") - Conjunction
- tq10 CM_OSD(default {}) - Order Sequencing
health.hl7v22: TS
Time Stamp
Contains the exact time of an event, including the date and time. Time stamp fields are always in the format: YYYYMMDD[HHMM[SS[.SSSS]]][+/-ZZZZ]^
Fields
- Fields Included from *CompositeType
- anydata...
- ts1 ST(default "") - Time Of An Event
- ts2 ST(default "") - Degree Of Precision
health.hl7v22: Type
Generic data type for HL7 messages.
health.hl7v22: UB1
UB1 segment. Ub82 Data The UB1 segment contains data necessary to complete UB82 bills. Only UB82 data elements that do not exist in other HL7 defined segments will appear in this segment. Patient name and Date of Birth are required for UB82 billing, however, they are included ...
Fields
- Fields Included from *Segment
- name string(default UB1_SEGMENT_NAME) - Segment Name
- ub11 SI(default "") - Set Id - Ub82
- ub12 NM(default "") - Blood Deductible (43)
- ub13 NM(default "") - Blood Furnished Pints Of (40)
- ub14 NM(default "") - Blood Replaced Pints (41)
- ub15 NM(default "") - Blood Not Replaced Pints (42)
- ub16 NM(default "") - Co-insurance Days (25)
- ub17 ID(default "") - Condition Code (35-39)
- ub18 NM(default "") - Covered Days (23)
- ub19 NM(default "") - Non-covered Days (24)
- ub110 CM_UVC(default {}) - Value Amount And Code (46-49)
- ub111 NM(default "") - Number Of Grace Days (90)
- ub112 ID(default "") - Special Program Indicator (44)
- ub113 ID(default "") - Psro / Ur Approval Indicator (87)
- ub114 DT(default "") - Psro / Ur Approved Stay - From (88)
- ub115 DT(default "") - Psro / Ur Approved Stay - To (89)
- ub116 CM_OCD(default {}) - Occurrence (28-32)
- ub117 ID(default "") - Occurrence Span (33)
- ub118 DT(default "") - Occurrence Span Start Date (33)
- ub119 DT(default "") - Occurrence Span End Date (33)
- ub120 ST(default "") - Ub-82 Locator 2
- ub121 ST(default "") - Ub-82 Locator 9
- ub122 ST(default "") - Ub-82 Locator 27
- ub123 ST(default "") - Ub-82 Locator 45
health.hl7v22: UB2
UB2 segment. Ub92 Data The UB2 segment contains data necessary to complete UB92 bills. Only UB92 data elements that do not exist in other HL7 defined segments will appear in this segment. Just as with the UB82 billing, Patient Name and Date of Birth are required, they are incl...
Fields
- Fields Included from *Segment
- name string(default UB2_SEGMENT_NAME) - Segment Name
- ub21 SI(default "") - Set Id - Ub92
- ub22 ST(default "") - Co-insurance Days (9)
- ub23 ID(default "") - Condition Code (24-30)
- ub24 ST(default "") - Covered Days (7)
- ub25 ST(default "") - Non-covered Days (8)
- ub26 CM_UVC(default {}) - Value Amount And Code (39-41)
- ub27 CM_OCD(default {}) - Occurrence Code And Date (32-35)
- ub28 CM_OSP(default {}) - Occurrence Span Code / Dates (36)
- ub29 ST(default "") - Ub92 Locator 2 (state)
- ub210 ST(default "") - Ub92 Locator 11 (state)
- ub211 ST(default "") - Ub92 Locator 31 (national)
- ub212 ST(default "") - Document Control Number (37)
- ub213 ST(default "") - Ub92 Locator 49 (national)
- ub214 ST(default "") - Ub92 Locator 56 (state)
- ub215 ST(default "") - Ub92 Locator 57 (national)
- ub216 ST(default "") - Ub92 Locator 78 (state)
health.hl7v22: UDM_Q05
HL7 Message
Fields
- Fields Included from *Message
- name string
- anydata...
- name string(default UDM_Q05_MESSAGE_TYPE) - Message name
- msh MSH(default {}) - MSH
- urd URD(default {}) - URD
- urs? URS - URS
- dsp DSP[](default [{}]) - DSP
- dsc DSC(default {}) - DSC
health.hl7v22: URD
URD segment. Results/update Definition The URD segment is used in sending unsolicited updates about orders and results. It s purpose is similar to that of the QRD segment, but from the results/unsolicited update point of view. Some of the fields have parallels in the QRD segment
Fields
- Fields Included from *Segment
- name string(default URD_SEGMENT_NAME) - Segment Name
- urd1 TS(default {}) - R/U Date / Time
- urd2 ID(default "") - Report Priority
- urd3 ST[](default [""]) - R/U Who Subject Definition
- urd4 ID[](default [""]) - R/U What Subject Definition
- urd5 ST[](default [""]) - R/U What Department Code
- urd6 ST[](default [""]) - R/U Display / Print Locations
- urd7 ID(default "") - R/U Results Level
health.hl7v22: URS
URS segment. Unsolicited Selection The URS segment is identical with the QRF segment, except that, if the name of any field contains Query (of QRY), this word has been changed to Results (See URS-5-R/U other results subject definition).
Fields
- Fields Included from *Segment
- name string(default URS_SEGMENT_NAME) - Segment Name
- urs1 ST[](default [""]) - R/U Where Subject Definition
- urs2 TS(default {}) - R/U When Data Start Date / Time
- urs3 TS(default {}) - R/U When Data End Date / Time
- urs4 ST[](default [""]) - R/U What User Qualifier
- urs5 ST[](default [""]) - R/U Other Results Subject Definition
- urs6 ID[](default [""]) - R/U Which Date / Time Qualifier
- urs7 ID[](default [""]) - R/U Which Date / Time Status Qualifier
- urs8 ID[](default [""]) - R/U Date / Time Selection Qualifier
health.hl7v22: XAD
Extended Address Example: |1234 Easy St.^Ste. 123^San Francisco^CA^95123^USA^B^^SF^|
Fields
- Fields Included from *CompositeType
- anydata...
- xad1 ST(default "") - Street Address
- xad2 ST(default "") - Other Designation
- xad3 ST(default "") - City
- xad4 ST(default "") - State Or Province
- xad5 ST(default "") - Zip Or Postal Code
- xad6 ID(default "") - Country
- xad7 ID(default "") - Address Type
- xad8 ST(default "") - Other Geographic Designation
- xad9 IS(default "") - County/parish Code
- xad10 IS(default "") - Census Tract
health.hl7v22: XCN
Extended Composite ID Number And Name Example: |1234567^Smith^John^J^III^DR^PHD^ADT01^^L^4^M11^MR|
Fields
- Fields Included from *CompositeType
- anydata...
- xcn1 ST(default "") - ID Number
- xcn2 ST(default "") - Family Name
- xcn3 ST(default "") - Given Name
- xcn4 ST(default "") - Middle Initial Or Name
- xcn5 ST(default "") - Suffix
- xcn6 ST(default "") - Prefix
- xcn7 ST(default "") - Degree
- xcn8 ID(default "") - Source Table
- xcn9 HD(default {}) - Assigning Authority
- xcn10 ID(default "") - Name Type
- xcn11 ST(default "") - Identifier Check Digit
- xcn12 ID(default "") - Code Identifying The Check Digit Scheme Employed
- xcn13 IS(default "") - Identifier Type Code
- xcn14 HD(default {}) - Assigning Facility ID
health.hl7v22: XON
Extended Composite Name And ID For Organizations Example: |HL7 Health Center^L^6^M11^HCFA|
Fields
- Fields Included from *CompositeType
- anydata...
- xon1 ST(default "") - Organization Name
- xon2 IS(default "") - Organization Name Type Code
- xon3 NM(default "") - ID Number
- xon4 ST(default "") - Check Digit
- xon5 ID(default "") - Code Identifying The Check Digit Scheme Employed
- xon6 HD(default {}) - Assigning Authority
- xon7 IS(default "") - Identifier Type Code
- xon8 HD(default {}) - Assigning Facility ID
health.hl7v22: XPN
Extended Person Name Example: |Smith^John^J^III^DR^PHD^L|
Fields
- Fields Included from *CompositeType
- anydata...
- xpn1 ST(default "") - Family Name
- xpn2 ST(default "") - Given Name
- xpn3 ST(default "") - Middle Initial Or Name
- xpn4 ST(default "") - Suffix
- xpn5 ST(default "") - Prefix
- xpn6 ST(default "") - Degree
- xpn7 ID(default "") - Name Type Code
- xpn8 ID(default "") - Name Representation Code
health.hl7v22: XTN
Extended Telecommunication Number Example: (415)555-3210^ORN^FX^
Fields
- Fields Included from *CompositeType
- anydata...
- xtn1 TN(default "") - Telephone Number
- xtn2 ID(default "") - Telecommunication Use Code
- xtn3 ID(default "") - Telecommunication Equipment Type
- xtn4 ST(default "") - Email Address
- xtn5 NM(default "") - Country Code
- xtn6 NM(default "") - Area/city Code
- xtn7 NM(default "") - Phone Number
- xtn8 NM(default "") - Extension
- xtn9 ST(default "") - Any Text
health.hl7v22: Zxx
Zxx segment. Any Z Segment
Fields
- Fields Included from *Segment
- name string(default Zxx_SEGMENT_NAME) - Segment Name
- zxx1 ST(default "") - Zxx.1
String types
Import
import ballerinax/health.hl7v22;Other versions
1.0.0
Metadata
Released date: about 22 hours ago
Version: 1.0.0
Compatibility
Platform: java21
Ballerina version: 2201.12.10
GraalVM compatible: Yes
Pull count
Total: 1
Current verison: 1
Weekly downloads
Keywords
Healthcare
HL7
V2
HL7v2.2
Name/HL7 V2.2
Vendor/Other
Area/Healthcare
Type/Library
Contributors