Академический Документы
Профессиональный Документы
Культура Документы
22 December 1998
1998 ASPECT Computing Pty Ltd 550 Glenferrie Rd Hawthorn VIC 3122 Australia
Every effort has been made to supply complete and accurate information, and advice about errors or general comments are greatly appreciated. ASPECT Computing Pty Ltd accepts no responsibility for any loss of data that may occur as a result of using this manual, other than any responsibility defined by the laws of the state.
Amendment History
Issue 1.2 (22 December 1998)
Filename: K:\Documentation\IN-TRAY\HL7 Interface Specification v1.2.doc Date Last Saved: 22 December 1998 History:
Date 3 Sept 1998 4 Sept 1998 30 Sept 1998 6 Oct 1998 7 Oct 1998 Issu e 0.1 0.2 0.3 0.4 0.5 Pages Changed All All All All All Replacement Details Initial Draft First Review Draft Second Review Draft Third Review Draft Working Draft
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
iii
Amendment History
Issu e 0.6
Replacement Details OR-1115, OR-1116, OR-1118, OR-1119, OR-1120, OR-1121, OR-1122, OR-1123, OR-1124, OR-1128, OR-1129, OR-1130, OR-1132, OR-1133, OR-1145, OR-1172, OR-1175, OR-1182, OR-1188, OR-1189 OR-1096, OR-1213, OR-1217, OR-1224, OR-1226, OR-1231, OR-1233, OR-1228, OR-1246, OR-1248, OR-1287, OR-1350, OR-1386, OR-1174, OR-1235, OR-1300, OR-1301, OR-1249 OR-1496, OR-1510, OR-1563 OR-1574
17 Nov 1998
0.7
All
4 December 1998
1.0
All
1.1 1.1
All All
iv
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Preface
This interface specification details the technical requirements for the transmission of data to the Department of Human Services (DHS), using the HL7 messaging protocol. For hospitals to implement this interface, additional information is required. This additional information includes The code list specification, which details valid values for each data item (if applicable), and The business rules specification, which specifies the rules for the submission to the Department for admitted episodes and emergency. The Client Management Interface (CMI) technical specifications, which specifies the rules for the submission to the Department for mental health (only required if Service Providers are not taking up the CMI). Development of the interface should not be attempted without these additional specifications. This interface specification is not a standard it is the interface definition for the reporting to the DHS systems, namely: Data Warehouse (DWH) for acute health and mental health reporting, and Operational Data Store (ODS) for mental health. This specification has been based on the HL7 Standard Version 2.3 and the Australian Standard AS4700.1. Some variation from these standards was necessary in order to meet the reporting requirements to the DHS. These variances are noted in bold throughout the specification where appropriate.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Table of Contents
Chapter 1. Introduction .................................................................................................................................. 1-1 1.1. 1.2. 1.3. 1.4. 1.5. Scope ............................................................................................................................... 1-1 Background ..................................................................................................................... 1-2 Application ...................................................................................................................... 1-3 Referenced Documents................................................................................................... 1-4 Definitions ....................................................................................................................... 1-4
Chapter 2. Trigger Events .............................................................................................................................. 2-1 2.1. General ............................................................................................................................ 2-1 2.2. Trigger Event Overview .................................................................................................. 2-2 2.3. Trigger Event Descriptions............................................................................................. 2-4 2.3.1. A01 Admit/Visit Notification ............................................................................ 2-4 2.3.2. A02 Transfer a Patient.................................................................................... 2-5 2.3.3. A03 Discharge/End Visit ................................................................................. 2-7 2.3.4. A04 Register a Patient.................................................................................... 2-8 2.3.5. A08 Update Patient Information.................................................................... 2-10 2.3.6. A11 Cancel Admit/Visit Notification............................................................... 2-11 2.3.7. A12 Cancel Transfer..................................................................................... 2-13 2.3.8. A13 Cancel Discharge/End Visit ................................................................... 2-14 2.3.9. A19 Patient Query ........................................................................................ 2-15 2.3.10. A21 Patient Goes on a Leave of Absence................................................... 2-18 2.3.11. A22 Patient Returns from a Leave of Absence ............................................ 2-19 2.3.12. A24 Link Patient Information......................................................................... 2-20 2.3.13. A31 Update Person Information.................................................................... 2-20 2.3.14. A37 Unlink Patient Information ..................................................................... 2-21
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
vii
Table of Contents
Move Visit InformationVisit Number ..................................................... 2-21 Unsolicited Transmission of an Observation Message ........................... 2-22 Master Practitioner ................................................................................ 2-24 Master Location..................................................................................... 2-25 Master Files Query............................................................................... 2-25 Document Query.................................................................................... 2-26
Chapter 3. Message Segments....................................................................................................................... 3-1 3.1. General............................................................................................................................. 3-1 3.2. Message Segment Descriptions ..................................................................................... 3-2 3.2.1. Message Header Segment (MSH)..................................................................... 3-2 3.2.2. Message Acknowledgement (MSA) Segment.................................................... 3-4 3.2.3. Error (ERR) Segment........................................................................................ 3-5 3.2.4. Event Type (EVN) Segment.............................................................................. 3-6 3.2.5. Patient Identification (PID) Segment ................................................................. 3-7 3.2.6. Patient Visit (PV1) Segment............................................................................ 3-17 3.2.7. Patient Visit - Additional Information (PV2) Segment ...................................... 3-30 3.2.8. Patient Additional Demographic (PD1) Segment ............................................. 3-34 3.2.9. Diagnosis (DG1) Segment .............................................................................. 3-36 3.2.10. Diagnosis Related Group (DRG) Segment ...................................................... 3-39 3.2.11. Procedure (PR1) Segment .............................................................................. 3-40 3.2.12. Insurance (IN1) Segment ................................................................................ 3-46 3.2.13. Insurance Additional Information (IN2) Segment ............................................. 3-50 3.2.14. Observation Report (OBR) Segment............................................................... 3-55 3.2.15. Observation (OBX) Segment........................................................................... 3-58 3.2.16. Merge Patient Information (MRG) Segment .................................................... 3-63 3.2.17. Funding Arrangement Information (ZFA) Segment.......................................... 3-64 3.2.18. Emergency Information (ZEM) Segment ......................................................... 3-66 3.2.19. Mental Health Information (ZMH) Segment ..................................................... 3-68 3.2.20. Mental Health Legal Status Information (ZLE) Segment.................................. 3-76 3.2.21. Master File Identification Segment (MFI)......................................................... 3-85 3.2.22. Master File Entry Segment (MFE)................................................................... 3-87 3.2.23. Location Identification Segment (LOC)............................................................ 3-89
viii
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Table of Contents
Location Characteristic Segment (LCH) .......................................................... 3-91 Location Department Segment (LDP) ............................................................. 3-93 Staff identification Segment (STF).................................................................. 3-95 Original-style Query Definition Segment (QRD) .............................................. 3-99 Original-style Query Filter Segment (QRF) ....................................................3-102
Chapter 4. Lower-Layer Protocols................................................................................................................. 4-1 4.1. Communications Environment Overview ...................................................................... 4-1 4.2. Lower Level Protocol Requirements.............................................................................. 4-2 4.3. Network Security ............................................................................................................. 4-4 Chapter 5. Reporting ...................................................................................................................................... 5-1
Chapter 6. Scenarios ...................................................................................................................................... 6-1 6.1. Emergency....................................................................................................................... 6-1 6.2. Admitted Episode............................................................................................................ 6-4 6.3. Mental Health................................................................................................................... 6-7
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
ix
Chapter 1 Introduction
This Interface Specification covers the Victorian (Australia) implementation of the Health Level Seven (HL7) Version 2.3 Standard, for patient administration for reporting to the Department of Human Services (Victoria). The Australian Standard AS 4700.1 - 1998 has been used as the basis for this specification and all relevant information from that Standard has been incorporated to enable consistent implementation of HL7 in Victoria, Australia. This specification is not a stand-alone document for review in isolation. A good understanding and, preferably, working knowledge of HL7 is essential, as this specification frequently refers to the HL7 Version 2.3 Standard. In particular, chapter 2 of the HL7 Version 2.3 Standard provides details of data types and data items specific to HL7 which are referred to in this document. Copies of the HL7 Standard are available from Standards Australia (Locked Bag 802 South Melbourne VIC 3205 or telephone 03 9693 3502). The purpose of this specification is to detail to health service providers, health information technology vendors, health information technology consultants and the health informatics community the use of the HL7 protocol to exchange key sets of data between different computer application systems and to the Department.
1.1. Scope
This Interface Specification defines a uniform implementation of the HL7 Version 2.3 protocol, for communications of on-line, real-time HL7 messages between computer application systems in Victorian health care providers (public and private) and the Victorian health Data Warehouse (DWH) and mental health Operational Data Store (ODS) systems. Both acute and mental health data is covered. Specifically, this document contains: reference information including reference documents and definitions trigger event descriptions e.g. A01 Admit/visit notification message segments e.g. Patient Identification (PID) Segment.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
11
Introduction
examples of triggers The specification provides interpretation and guidance on which HL7 trigger events, segments and data elements are mandatory (required), optional, or conditional (required, based on a condition), and gives relevant usage notes for interfacing to the DWH and ODS systems. The specification provides for consistent use of data definitions and references to the National Health Data Dictionary Version 7.0 (1998) and the International Organization for Standardization (ISO) where relevant. HL7 reporting to the Department of Human Services (Victoria) should comply with this specification as it allows for transmission of data sent to the Department for reporting to: Data Warehouse (DWH) for acute health and mental health Operational Data Store (ODS) for mental health which will be the systems accepting the collections of: Victorian Inpatient Minimum Database (VIMD/VAED) Victorian Emergency Minimum Dataset (VEMD) Psychiatric Records Information Systems Manager (PRISM). This specification will be further developed in the future to allow for HL7 reporting of other data sets to the Department including: Elective Surgery Information System (ESIS) Health services cost data Ambulance services data Aged Care Assessment Team (ACAT) data.
1.2. Background
HL7 is a health care application protocol accredited as a Standard by the American National Standards Institute (ANSI). `Level Seven' refers to the highest level of the International Organization for Standardization (ISO) communications model for Open Systems Interconnection (OSI) at the application level. Issues within the application level include definition of the data to be exchanged, the timing of the exchange
12
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Introduction
and communication of certain errors to the application. This level supports such functions as security checks, identification of the participants, availability checks, negotiating exchange mechanisms and, importantly, structuring the data exchanges themselves. HL7 focuses on the interface requirements of the entire health care organization. It allows development along the fastest possible track to the unique requirements of already installed hospital and departmental systems, some of which use mature technologies. The HL7 protocol is a collection of standard formats that specify the implementation of interfaces between computer applications. It is not rigid. Flexibility is built into the protocol to allow compatibility for specialized data sets that have facility-specific needs. One of HL7's strengths is its inbuilt flexibility. However, it is also one of its weaknesses. It is open to misinterpretation in its structure and format. HL7 is based on the health environment in the USA. While HL7 is concerned with addressing immediate needs, there is a very strong focus on convergence with other Standards development activities in the USA and internationally. There are international HL7 initiatives in countries such as Australia, Canada, the United Kingdom, Germany, Japan, the Netherlands and New Zealand. The Australian Standard for the implementation of HL7, AS 4700.1, was prepared by the Standards Australia HL7 Working Group IT/14/6/3, under direction from the IT/14 Health Informatics Committee, in response to requests from the health informatics community. This working group aims to develop Australian Standards for patient electronic data communication between health care information systems based on the current release of the Health Level Seven (HL7) protocol. The HL7 protocol covers a wide range of data interchange functions. However, the Australian Standard focuses on the patient administration functions as these form the common basis for all HL7 messages. Generally, information entered into a patient administration system is passed to the nursing, ancillary and financial systems, either in the form of an unsolicited update or in response to a record-oriented query. Other functions of HL7 being addressed include pathology, prescriptions, radiology, referral and health service messaging, dietary and stock orders and results, together with finance and billing. This document is based upon the Australian standard and HL7 2.3, and covers the Victorian application of these standards. The interface described within this document must be adhered to in order to interface with the DWH and ODS.
1.3. Application
All efforts have been made in this document to minimize divergence from the Australian Standard which respectively has aimed to minimize divergence with the HL7 USA protocol to ensure maximum compatibility with future versions. Deviations from the AS 4700.1 (Australian HL7 Standard) and HL7 2.3 have been indicated by the use of bolding.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
13
Introduction
1.5. Definitions
For the purpose of this document, the definitions below apply. Admitted patient A patient who undergoes a hospital's formal admission process (NHDD). Non-admitted patient A patient who does not undergo a hospital's formal admission process. This includes emergency department patient, outpatient and other non-admitted patient (NHDD). Community mental health clients also belong to this category. Trigger event An action that takes place in an application, based on some predefined condition such as an admission, ward transfer, or placement of an order and the like. The action usually results in the compilation and transmission of a data message.
14
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Introduction
Visit An admitted patient visit is the hospital stay from date of admission to the date of discharge. A non-admitted patient visit is the attendance for which one or more services are provided to that patient. Establishment Identifier A three character code used by the Victorian health Data Warehouse to identify a Hospital or equivalent health service provider. Campus A location within a network component hospital or itself a hospital. Campus Code A four character code used by the Victorian health Data Warehouse to identify a Campus or equivalent health service provider. The code includes the three character Hospital code plus a fourth character Site Identifier to indicate the exact physical site where the health service was provided or data was transmitted. Subcentre Independent unit within a campus (e.g. a specific ward or team). Emergency An non-admitted patient visit at an Emergency Department. Admitted Episode An acute or mental health visit performed within a hospital setting (includes hospital in the home, but not mental health residential placement). Case A period of mental health care of a client at a campus. Episode A period of mental health care of a client at a subcentre, within the bounds of a case.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
15
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
21
Trigger Events
22
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
The trigger events that can be sent and received by the different systems interfacing to the DWH and ODS are described below: Table 21. Trigger Events for DWH and ODS
Trigger Mental Health (admitted and community) Send A01 A02 A03 A04 A08 A11 A12 A13 A19 A21 A22 Receive Emergency Send Receive Acute Admitted Episode Send (DWH) (DWH) (DWH) (DWH) (DWH) (DWH) (DWH) (DWH) (DWH) (DWH) (DWH) (DWH) Receive
(DWH, ODS) (DWH, ODS) (DWH, ODS) (DWH, ODS) (DWH, ODS) (DWH, ODS) (DWH, ODS) (DWH, ODS) (ODS) (DWH, ODS) (DWH, ODS)
(DWH) (DWH)
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
23
Trigger Events
Trigger
Mental Health (admitted and community) Send Receive (from ODS) (DWH, ODS) (from ODS) (DWH, ODS) (DWH, ODS) (ODS) (ODS)
(DWH)
(DWH)
24
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
Mandatory for Mental Health interface to ODS Mandatory for Mental Health interface to DWH (b) Description The A01 trigger event is to be used for admitted patients only. It is generated as a result of the patient undergoing the admission process of a health care facility which assigns the patient to a bed. It signals the beginning of a patient's stay in a health care facility. (c) Usage Notes It is important that the patient id(see PID-3), visit number(see PV1-19) and the servicing facility(see PV1-39) are populated as these form the basis of uniquely identifying each visit within a health care facility. Trigger A11 cancels an A01. (d) Trigger Structure
ADT MSH EVN PID [ PD1 ] [ { NK1 } ] PV1 [ PV2 ] [ { DB1 } ] [ { OBX } ] [ { AL1 } ] [ { DG1 } ] [ DRG ] [ { PR1 [ { ROL } ] } ] [ { GT1 } ] [ { IN1 [ IN2 ] [ IN3 ] } ] [ ACC ] [ UB1 ] [ UB2 ] [ { ZMH } ] [ { ZLE } ] [ { ZFA } ] ADT Message Message Header Event Type Patient Identification Additional Demographics Next of Kin / Associated Parties Patient Visit Patient Visit Additional Info. Disability Information Observation / Result Allergy Information Diagnosis Information Diagnosis Related Group Procedures Role
Accident Information Universal Bill Information Universal Bill 92 Information Mental Health Information Mental Health Legal Status Information Funding Arrangement Information
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
25
Trigger Events
Acute health patient admission into a ward within a hospital; sent to DWH Mental health client admission into a ward within a hospital; sent to ODS and DWH Mental health client residential placement; sent to ODS and DWH
26
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
Mental Health Information Mental Health Legal Status Information Funding Arrangement Information General Acknowledgment Message Header Message Acknowledgment Error
Acute health patient transfer between wards; sent to DWH Mental health client transfer between wards; sent to ODS and DWH Mental health client transfer between residential units; sent to ODS and DWH
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
27
Trigger Events
PID [ PD1 ] PV1 [ PV2 ] [ { DB1 } ] [ { DG1 } ] [ DRG ] [ { PR1 [ { ROL } ] } ] [ { OBX } ] [ ZEM ] [ { ZMH } ] [ { ZLE } ] [ { ZFA } ] ACK MSH MSA [ ERR ]
Patient Identification Additional Demographics Patient Visit Patient Visit Additional Info. Disability Information Diagnosis Information Diagnosis Related Group Procedures Role
Observation / Result Emergency Information Mental Health Information Mental Health Legal Status Information Funding Arrangement Information General Acknowledgment Message Header Message Acknowledgment Error
Acute health patient discharge from hospital; sent to DWH Acute health patient statistical separation (change of care type); sent to DWH Emergency department departure of patient; sent to DWH Mental health client separation from hospital; sent to ODS and DWH Mental health client separation from residential placement; sent to ODS and DWH Mental health client statistical separation (change of program classification, leave > 3 days); sent to DWH Mental health client completion of R/CTO; sent to ODS and DWH Mental health client closure of a case; sent to ODS and DWH Mental health client closure of an episode; sent to ODS and DWH
28
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
(a) Status Not Available for Admitted Episode interface (Acute Health patients) to DWH Mandatory for Emergency interface to DWH Mandatory for Mental Health interface to ODS Mandatory for Mental Health interface to DWH (b) Description The A04 trigger event is generated when a patient has been registered as a non-admitted patient. That is, the patient is not yet admitted to a health care facility. (c) Usage Notes The visit start date/time is entered in data element 'admit date/time' (see PV1-44). (d) Trigger Structure
ADT MSH EVN PID [ PD1 ] [ { NK1 } ] PV1 [ PV2 ] [ { DB1 } ] [ { OBX } ] [ { AL1 } ] [ { DG1 } ] [ DRG ] [ { PR1 [ { ROL } ] } ] [ { GT1 } ] [ { IN1 [ IN2 ] [ IN3 ] } ] [ ACC ] [ UB1 ] [ UB2 ] [ ZEM ] [ { ZMH } ] ADT Message Message Header Event Type Patient Identification Additional Demographics Next of Kin / Associated Parties Patient Visit Patient Visit Additional Info. Disability Information Observation / Result Allergy Information Diagnosis Information Diagnosis Related Group Procedures Role
Accident Information Universal Bill Information Universal Bill 92 Information Emergency Information Mental Health Information
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
29
Trigger Events
] ]
Mental Health Legal Status Information Funding Arrangement Information General Acknowledgment Message Header Message Acknowledgment Error
Emergency department arrival of a patient; sent to DWH Mental health client statewide registration; sent to ODS and DWH Mental health client start case; sent to ODS and DWH Mental health client start episode; sent to ODS and DWH Mental health client start R/CTO; sent to ODS and DWH Mental health client recording of contact; sent to ODS and DWH
210
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
ADT MSH EVN PID [ PD1 ] [ { NK1 } ] PV1 [ PV2 ] [ { DB1 } ] [ { OBX } ] [ { AL1 } ] [ { DG1 } ] [ DRG ] [ { PR1 [ { ROL } ] } ] [ { GT1 } ] [ { IN1 [ IN2 ] [ IN3 ] } ] [ ACC ] [ UB1 ] [ UB2 ] [ ZEM ] [ { ZMH } ] [ { ZLE } ] [ { ZFA } ] ACK MSH MSA [ ERR ]
ADT Message Message Header Event Type Patient Identification Additional Demographics Next of Kin / Associated Parties Patient Visit Patient Visit Additional Info. Disability Information Observation / Result Allergy Information Diagnosis Information Diagnosis Related Group Procedures Role
Accident Information Universal Bill Information Universal Bill 92 Information Emergency Information Mental Health Information Mental Health Legal Status Information Funding Arrangement Information General Acknowledgment Message Header Message Acknowledgment Error
Acute health patient update of details; sent to DWH Emergency department patient update of details; sent to DWH Mental health update of client details; sent to ODS and DWH Mental health client start case management; sent to ODS and DWH
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
211
Trigger Events
Mental health client legal status assignment; sent to ODS and DWH Mental health client recording of ECT, mechanical restraint and seclusion procedures; sent to DWH Mental Health update of CTO details; sent to ODS and DWH Mental Health ISP details; sent to DWH Mental Health Diagnosis details; sent to ODS and DWH
212
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
[ [ [ [ [
] ] ] ]
Diagnosis Information Emergency Information Mental Health Information Mental Health Legal Status Information Funding Arrangement Information General Acknowledgment Message Header Message Acknowledgment Error
Cancellation of an acute health patient admission into a ward within a hospital; sent to DWH Cancellation of an emergency department arrival of a patient; sent to DWH Cancellation of a mental health client admission into a ward within a hospital; sent to ODS and DWH Cancellation of a mental health client residential placement; sent to ODS and DWH
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
213
Trigger Events
PID [ PD1 ] PV1 [ PV2 ] [ { DB1 } [ { OBX } [ DG1 ] [ { ZMH } [ { ZLE } [ { ZFA } ACK MSH MSA [ ERR ]
] ] ] ] ]
Patient Identification Additional Demographics Patient Visit Patient Visit Additional Info. Disability Information Observation / Result Diagnosis Information Mental Health Information Mental Health Legal Status Information Funding Arrangement Information General Acknowledgment Message Header Message Acknowledgment Error
Cancellation of an acute health patient transfer between wards; sent to DWH Cancellation of a mental health client transfer between wards; sent to ODS and DWH Cancellation of a mental health client transfer between residential units; sent to ODS and DWH
214
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
Accident Information Universal Bill Information Universal Bill 92 Information Emergency Information Mental Health Information Mental Health Legal Status Information Funding Arrangement Information General Acknowledgment Message Header Message Acknowledgment Error
Cancellation of an acute health patient discharge from hospital; sent to DWH Cancellation of an acute health patient statistical separation (change of care type); sent to DWH Cancellation of an emergency department departure of patient; sent to DWH
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
215
Trigger Events
Cancellation of a mental health client separation from hospital; sent to ODS and DWH Cancellation of a mental health client separation from residential placement; sent to ODS and DWH Cancellation of a mental health client statistical separation; sent to DWH
216
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
PV1 [ PV2 ] [ { DB1 } ] [ { OBX } ] [ { AL1 } ] [ { DG1 } ] [ DRG ] [ { PR1 [ { ROL } ] } ] [ { GT1 } ] [ { IN1 [ IN2 ] [ IN3 ] } ] [ ACC ] [ UB1 ] [ UB2 ] [ { ZMH } ] [ { ZLE } ] } [ DSC ]
Patient Visit Patient Visit Additional Info. Disability Information Observation / Result Allergy Information Diagnosis Information Diagnosis Related Group Procedures Role
Accident Information Universal Bill Information Universal Bill 92 Information Mental Health Information Mental Health Legal Status Information Continuation Pointer
Mental Health query on Admission history for a client; sent to ODS Mental Health query on Residential Placement history for a client; sent to ODS Mental Health query on R/CTO history for a client; sent to ODS Mental Health query on legal status history for a client; sent to ODS Mental Health query on demographic details for a client; sent to ODS Mental Health query on most recent legal status for a client; sent to ODS Mental Health query on most recent admission for a client; sent to ODS Mental Health query on status of CTO Transfer Out; sent to ODS Mental Health query on Contacts history for a client; sent to ODS Mental Health query on Cases for a client; sent to ODS
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
217
Trigger Events
Mental Health query on Episode for a client; sent to ODS Mental Health query on diagnosis history for a client; sent to ODS Mental Health query on MHRB Hearing history for a client; sent to ODS Mental health final registration check; sent to ODS Mental Health client search; sent to ODS
2.3.10.
218
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
Mental Health Information Mental Health Legal Status Information Funding Arrangement Information General Acknowledgment Message Header Message Acknowledgment Error
Acute health patient recording of leave from ward sent to DWH Mental health client recording of leave from ward; sent to ODS and DWH Mental health client recording of leave from residential unit; sent to ODS and DWH
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
219
Trigger Events
[ PD1 PV1 [ PV2 ] [ { DB1 [ { OBX [ { ZMH [ { ZLE [ { ZFA ACK MSH MSA [ ERR ]
} } } } }
] ] ] ] ]
Additional Demographics Patient Visit Patient Visit Additional Info. Disability Information Observation / Result Mental Health Information Mental Health Legal Status Information Funding Arrangement Information General Acknowledgment Message Header Message Acknowledgment Error
Acute health patient recording of return from leave to ward sent to DWH Mental health client recording of return from leave to ward; sent to ODS and DWH Mental health client recording of return from leave to residential unit; sent to ODS and DWH
Mental health client notification of statewide unit record numbers to be linked; sent to CMI
220
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
Mental Health Client Update of Registration Details (demographics, alias and alerts); sent to ODS and DWH.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
221
Trigger Events
Mental health client notification of statewide unit record numbers to be unlinked; sent to CMI
222
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
Mental health client change client for an episode; sent to ODS and DWH
Patient Identification Additional Demographics Notes and Comments Patient Visit Patient Visit - Additional Info
Order common Observations Report ID Notes and comments Observation/Result Notes and comments Clinical Trial Identification
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
223
Trigger Events
} [ ZMH [DSC]
Acute health patient recording of barthel index scores; sent to DWH Acute health patient recording of RUG ADL scores; sent to DWH Acute health patient recording of mechanical ventilation; sent to DWH Acute health patient recording of newborn details; sent to DWH Mental health client recording of wellbeing scores; sent to DWH Mental health client recording of death; sent to ODS and DWH
224
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
Mental health notification of health care professional; sent to ODS Mental Health notification of campuses for a HCP; sent to ODS Mental health notification of authorised psychiatrist for a campus; sent to ODS
Mental health notification of establishment/campus daily bed status; sent to ODS Mental health update of campus details; sent to ODS Mental health update of gazetted service details; sent to ODS Mental health update of subcentre details; sent to ODS Mental health update of program details; sent to ODS Mental Health update of subcentre/program details; sent to ODS Mental Health update of held bed details; sent to ODS Mental Health update of bed details; sent to ODS
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
225
Trigger Events
Mental health request for campus details; sent to ODS Mental health request for bed status details; sent to ODS
226
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Trigger Events
Document Query Message Header Query Definition Query Filter Document Response
MSH MSA [ERR] QRD [{ [EVN] PID PV1 TXA [{OBX}] }] [DSC]
Message Header Message Acknowledgement Error Query Definition Event Type Patient Identification Patient Visit Document Notification Observation Continuation Pointer
Mental Health Request Submission Report Admitted Episode Request Submission Report
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
227
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
31
Message Segments
(e) Repetition (Rp/#) Whether the data element may repeat. A 'Y' indicates that repetition is indefinite or site-determined. An integer indicates repetition to the number of times specified in the integer. (f) Table (Tbl#) The number of the HL7 Version 2.3 table that defines the values for the data element. These values should be followed unless otherwise indicated. Additional RAPID variations have been included. (g) ID number (Item#) The small integer that uniquely identifies the data element in the HL7 Version 2.3 protocol. (h) Element name The descriptive name for the data element. (i) Usage Notes Usage notes are provided for data elements to assist health institutions and health information technology vendors with data element interpretation, use and implementation in the Victorian health information technology environment. (j) Victorian definition reference (Ref) Where an appropriate National Health Data Dictionary or Australian Bureau of Statistics item exists, its definition and format applies unless otherwise indicated in the usage notes. (k) Format Required format for the data element. (l) Example Sample of values that may be populated within this data element.
(m) AE Refers to Admitted Episode data element, previously known as a VAED data element. (n) EM Refers to Emergency data element, previously known as VEMD data element. (o) MH Refers to Mental Health data element, some of which were previously known as PRISM data elements.
32
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 1 2 3
Len 1 4
DT ST ST
Opt R R O
Rp/#
Tbl#
Usage Notes Value = | Values = ^~\& Allows institutions and software vendors to populate this field with software version generating this transaction.
Ref
Format
Example
180 HD
180 HD
00004
Sending facility
This is used to transmit the NHDD 50 Establishment Identifier/Campus Code of the sending system (includes CMI Server Code). Refer to Code List Book "Service Provider Code". Note: Variant to HL7 & NHDD
5 6
180 HD 180 HD
O R
00005 00006
Receiving application Receiving facility This is used to transmit the Establishment Identifier /Campus Code of the receiving system (includes CMI Server Code). Refer to Code List Book "Service Provider Code ". Note: Variant to HL7 & NHDD NHDD 50 DHSODS or DHSDWH or BBBB
7 8
26 40
TS ST
O O
00007 00008
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
33
Message Segments
Seq 9 10 11
Len 7 20 3
DT CM ST PT
Opt R R R
Rp/#
Tbl#
Usage Notes The message type and trigger event A number that uniquely identifies the message Values: Production = P Testing = D
Ref
Format
12 13 14 15
8 15
ID NM
R O O O
0104
Value = 2.3
180 ST 2 ID
0155
00015
Accept Default value = AL acknowledgment type For immediate query, set to NE Application Default value = AL acknowledgment type Country code Values: AU for Australia NZ for New Zealand ISO 3166
16 17
2 2
ID ID
O O
0155
00016 00017
18 19
6 60
ID CE
O O
Y/3
0211
00692 00693
Character set Principal language of message Value = EN (for English) ISO 639
34
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
(b) Data elements and usage notes DWH and ODS will be sending both positive and negative receipt (commit) and process (application) acknowledgements.
Acknowledgement Type Positive Receipt Acknowledgement Negative Receipt Acknowledgement Positive Process Acknowledgement Negative Process Acknowledgement Acknowledgement Code CA CE AA AE
Seq 1 2 3 4 5 6
Len 2 20 80 15 1
DT ID ST ST NM ID
Opt R R O O B/X O
Rp/#
Tbl# 0008
Element name Acknowledgment code Message control ID Text message Expected sequence number
Usage Notes
Ref
Format AA
Example
0102
00022 00023
100 CE
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
35
Message Segments
(a) Function The ERR segment is used to add error comments to acknowledgment messages. (b) Data elements and usage notes DWH and ODS will be sending back error messages in the ERR-1 Error code and Location field. Warnings will also be notified in this field. If only warnings are generated for a trigger message, then the MSA-1 Acknowledgement Code will have a AA (Positive Process Acknowledgement) and warning numbers will be generated in ERR-1. When an error refers to a diagnosis, the error message will contain the error number, a dash, and then the ICD code it applies to. (In the error messages listed in the Business Rules book, the ICD code is denoted by a #.) Table 33. Error (ERR) Segment
Seq 1
Len 80
DT CM
Opt R
Rp/# Y
Tbl#
Item# 00024
Usage Notes
Ref
Format A126
Example
A560 B049
36
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Rules To transmit Last Updated By User, populate <ID Number>; To transmit Last Updated By Campus, populate <Assigning authority> : <ID Number>^^^^^^^^<assigning authority>
Set this field to the appropriate code. To transmit details of an ISP, set this field to . ISP
Seq 1 2
Len 3 26
DT ID TS
Opt B/X R
Rp/#
Tbl# 0003
Usage Notes Refer to HL7 2.3 Most systems will default to the system date/time when the transaction was entered, but they should also permit an override.
Ref
Format
Example
3 4
26 3
TS IS
O O 0062
00101 00102
Date/Time planned event Event reason code See above table. Refer to Code List Book Admission Event Type , Placement Event Type SA
60
XCN
0188
00103
Operator ID
MH: This is used to transmit Last Updated By User / Last Updated by Campus Refer to Code List Book Service Provider Code
123456789^^^^^^^^BB BB
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
37
Message Segments
Seq 6
Len 26
DT TS
Opt R
Rp/#
Tbl#
Item# 01278
Usage Notes This field contains the date/time that the event actually occurred. For cancellations, this field should contain the date/time that the event being cancelled occurred. Note: Variant to HL7 & AS4700.1
Ref
Format
Example
38
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Rules To transmit Local Unit Record Number use as <identifier type code>; PI Populate <assigning authority> with Campus Identifier : <ID>^^^<assigning authority>^PI
To transmit Statewide Unit Record Number use SWUR as <identifier type code>; Populate <assigning authority> with DHSODS : <ID>^^^DHSODS^SWUR
To transmit a message for a mental health client who is not registered statewide, set <ID> to UNREGISTERED and set <identifier type code> , to SWUR ; Populate <assigning authority> with DHSODS : UNREGISTERED^^^DHSODS^SWUR
To transmit CMI Client Number use as <identifier type code>; CI Populate <assigning authority> with CMI Identifier : <ID>^^^<assigning authority>^CI
To transmit Pension Number use PN as <identifier type code>; To transmit Pension Type populate <assigning authority> : <ID>^^^<assigning authority>^PN
Patient Name
To transmit Surname, populate <family name> ; To transmit First name, populate <given name> ; To transmit Middle Name, populate <middle initial or name> ; To transmit Title, populate <prefix> : <family name>^<given name>^<middle initial or name>^^<prefix>
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
39
Message Segments
Rules To transmit Alias Surname, populate <alias family name> ; To transmit Alias First name, populate <alias given name> ; To transmit Alias Middle name, populate <alias middle initial or name> ; To transmit Alias Title, populate <alias prefix> ; To transmit Alias Identifier, populate <alias id> ; To transmit Alias Sex, populate <alias sex> ; To transmit Alias Date of Birth, populate <alias date of birth> ; To transmit Alias sequence, populate <alias sequence> ; To transmit Alias Effective Date, populate <alias effective date> ; To transmit Recorded By Campus, populate <recorded by campus> : <alias family name>^<alias given name>^<alias middle initial or name>^^<alias prefix>^<alias degree>^<alias sex>^< alias date of birth>^<alias sequence>^<alias effective date>^<recorded by campus>
Patient Address
To transmit Address, populate <street address> ; To transmit Locality (suburb), populate <other designation> ; To transmit State, populate <state or province> ; To transmit Postcode, populate <zip or postal code> : <street address>^<other designation>^^<state or province>^<zip or postal code>
Separate medicare number and code and suffix with a preceded by a space: 30993303651 ALB
Seq 1 2
Len 4 20
DT SI CX
Opt O O
Rp/#
Tbl#
Usage Notes
Ref
Format
Example
310
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 3
Len 20
DT CX
Opt R
Rp/# Y
Tbl#
Item# 00106
Usage Notes
Ref
Format
NHDD The institution's unique patient identifier (e.g. medical 127 record number) Populate with as many identifiers as is necessary. Include Assigning Authority for each. Refer to NHDD data element 'Person identifier' AE: Previously known as Unit Record Number EM: Previously known as Patient Identifier MH: This is used to transmit Local Unit Record Number ~ Statewide Unit Record Number ~ CMI Client Identifier (system nbr)~ Pension Number & Benefit Type Refer to Code List Book Pension Benefit Type Note: Variant to AS4700.1 NHDD 121
20
CX
00107
Alternate patient ID
MH: 1234567
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
311
Message Segments
Seq 5
Len 48
DT XPN
Opt C
Rp/# Y
Tbl#
Item# 00108
Usage Notes Conditional for trigger A01 AE: This is used to transmit Surname & First Name for DVA patients only MH: This is used to transmit Client Surname, First Name, Middle name and Title. Refer to Code List Book Title Note: Variant to HL7 & AS4700.1
Ref
Format
6 7
48 26
XPN TS
O C
00109 00110
Mother's Maiden Name Date of birth Conditional for triggers A01 and A04 HL7 data element format to be used. Time optional Refer to NHDD data element 'Date of birth' AE & EM: This is used to transmit Birth Date MH: This is used to transmit Date of Birth Note: Variant to HL7 NHDD 36 19720612
312
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 8
Len 1
DT IS
Opt C
Rp/#
Tbl# 0001
Item# 00111
Usage Notes Conditional for triggers A01 and A04 Refer to Code List Book "Sex" Note: Variant to HL7, AS4700.1 & NHDD
Format 2
Example
120 RS1
00112
Patient alias
Repeating data element for recording of Mental Health Name alias. Populate with as many occurrences as is necessary. MH: This is used to transmit Alias surname, firstname, middle name, title, sex, date of birth, alias sequence, effective date and campus the alias assigned by. Refer to Code List Book Title , Sex , Service Provider Code Note: Variant to HL7 & AS4700.1
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
313
Message Segments
Seq 10
Len 1
DT IS
Opt C
Rp/#
Tbl# 0005
Item# 00113
Usage Notes This element is used for indigenous status (aboriginality) Refer to NHDD data element 'Indigenous status' Conditional for triggers A01 and A04 AE & EM: Previously known as Aboriginality MH: This is used to transmit Indigenous Status Refer to Code List Book "Indigenous Status" Note: Variant to HL7 & AS4700.1
Ref NHDD 1
Format
Example
11
106 XAD
00114
Patient address
Full street address of patient. NHDD 16 Populate only one occurrence. See also NHDD data element 'Area of usual residence' AE & EM: Populate only locality and postcode MH: Populate with address, locality (suburb), postcode & state. Refer to Code List Book State
314
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 12
Len 4
DT IS
Opt O
Rp/#
Tbl#
Item# 00115
Usage Notes Superseded Refer to PID-11-Patient address component 9 Note: Variant to HL7
Ref
Format
Example
13
40
XTN
00116
Phone number- Home MH: This is used to transmit Home Phone Number. Populate only one occurrence. Phone numberBusiness Language-Patient Refer to NHDD data element 'Preferred language' MH & EM: Previously known as Preferred Language Refer to Code List Book "Preferred Language" NHDD 132
MH: 0399999999
14 15
40 60
XTN CE
O O
Y 0296
00117 00118
01
16
IS
0002
00119
Marital status
Data element 'Marital status' Conditional for triggers A01 and A04 AE & MH: This is used to transmit Marital Status Refer to Code List Book "Marital Status" Note: Variant to HL7 & AS4700.1
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
315
Message Segments
Seq 17
Len 3
DT IS
Opt O
Rp/#
Tbl# 0006
Item# 00120
Usage Notes MH: This is used to transmit Religion. Refer to Code List Book Religion
Ref
Format 2233
Example
18 19
20 16
CX ST
O C
00121 00122
Patient account number SSN Number- Patient Use the Medicare number, plus the line number (medicare code) Refer to NHDD data element 'Medicare number' Conditional for trigger A01 and A04 AE & MH & EM: This is used to transmit medicare number (including medicare code) and suffix Separate medicare number (including medicare code) and suffix with a space. Note: Variant to HL7 & AS4700.1 NHDD 91 30993303651 ALB
20 21
25 20
DLN CX
O O Y
00123 00124
Driver's licence number-Patient Mother's identifier This is the mother's unique identifier where this patient is the child of the mother
316
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 22
Len 3
DT IS
Opt O
Rp/#
Tbl# 0189
Item# 00125
Usage Notes Not to be used for aboriginality or country of birth Patient's country of birth Refer to NHDD data element 'Country of birth' Conditional for triggers A01 and A04 AE & EM: Previously known as Birth Place MH: This is used to transmit Country of Birth Refer to Code List Book "Country of Birth" Note: Variant to HL7 & AS4700.1
Ref
Format
Example
23
60
ST
00126
Birthplace
NHDD 35 8206
24 25 26 27
2 2 4 60
ID NM IS CE
O O O O Y
0136
00127 00128
Multiple birth indicator Refer to NHDD data element 'Birth plurality' Birth order Citizenship Veteran's military status Use the Australian Veterans Affairs File Number AE: This is used to transmit DVA Number Refer to NHDD data element 'Birth order'
NHDD 20 NHDD 19
0171 0172
00129 00130
NHDD 204
AE: VX123456
28
80
CE
00739
Nationality
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
317
Message Segments
Seq 29
Len 26
DT TS
Opt O
Rp/#
Tbl#
Item# 00740
Usage Notes MH: This is used to transmit Date of Death Time optional
Ref
Format
30
ID
0136
00741
MH: Y
318
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Rules If Discharge disposition = transfer, Discharged to location is mandatory, containing only one transfer code If Discharge disposition = home, Discharged to location is mandatory, containing up to 5 repeating Separation Referral codes. To transmit Separation Transfer Code, populate <identifier> and set <name of coding system> to TRF ; To transmit Separation Referral Code, populate <identifier> and set <name of coding system> to REF ; To transmit Source of referral to Palliative Care, populate <identifier> and set <name of coding system> to PAL : <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)>
To transmit Referral Type Code, populate <identifier> and set <name of coding system> to RTYP ; To transmit Referred to Campus, populate <identifier> and set <name of coding system> to RCMP ; To transmit Referred to Subcentre, populate <identifier> and set <name of coding system> to RSBC : <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)>
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
319
Message Segments
Seq 1 2
Len 4 1
DT SI IS
Opt O R
Rp/#
Tbl#
Item# 00131
Usage Notes
Ref
Format
Example
0004
00132
Intended mode of treatment Admitted patient: S = Same day patient I = Overnight patient Refer to NHDD data element concept 'Admitted patient' Non-admitted patient: P = Pre-admit patient E = Emergency patient C = Mental Health community client Refer to NHDD data element concept 'Non-admitted patient' Note: Variant to HL7 & AS4700.1
320
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 3
Len 80
DT PL
Opt C
Rp/#
Tbl#
Item# 00133
Usage Notes Conditional for triggers A01 and A02 AE: Previously known as Accommodation Type MH: This is used to transmit Subcentre Code, Subcentre Type and Accommodation Type Refer to Code List Book "Accommodation Type", Subcentre Type Note: Variant to HL7
Ref
Format
Example
IS
0007
00134
Admission type
Conditional for trigger A01 The circumstance under which the patient will be admitted: AE: This is used to transmit Admission Type EM: Previously known as Type of Visit MH: This is used to transmit Admission Type Refer to Code List Book "Admission Type", Type of Visit Note: Variant to HL7 AE: M EM: 1 MH: O
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
321
Message Segments
Seq 5
Len 20
DT CX
Opt O
Rp/#
Tbl#
Item# 00135
Usage Notes Planning number for identification Primarily used as source of identification, before the admission number Identify for use by other systems to attach details MH: This is used to transmit Linked Admission Id
Ref
Format
Example
80
PL
00136
Conditional for trigger A02 Refer to PV1-3 AE & MH: Populate with previous location when changing location. Refer to Code List Book "Accommodation Type" Note: Variant to HL7 & AS4700.1 AE & MH: E
60
XCN
0010
00137
Attending doctor
The attending doctor providing services to the patient MH: This is used to transmit Contact clinician code, discipline and campus Refer to Code List Book Discipline , Service Provider Code
MH: 123456^^^^^^03^^BBB B
322
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 8
Len 60
DT XCN
Opt C
Rp/# Y
Tbl# 0010
Item# 00138
Usage Notes Clinician who referred patient to the consulting doctor Conditional for trigger A04 EM: Previously known as Referred By Refer to Code List Book "Referred By" Note: Variant to HL7 & AS4700.1
Ref
Format
Example
EM: 1
60
XCN
0010
00139
Consulting doctor
Consultant responsible for the care of the patient, including salaried specialist, visiting medical officer AE: Previously known as Clinical Sub-program Refer to Code List Book "Clinical Sub-program" Note: Variant to AS4700.1
10
IS
0069
00140
Hospital service
AE: 010
11 12 13
80 2 2
PL IS IS
O O O 0087 0092
Refer to PV1-3 and PV1-6 Indicate whether preadmission test is required AE: This is used to transmit Admission/Readmission to Rehabilitation Refer to Code List Book "Admission/Readmission to Rehabiliation"
AE: 0
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
323
Message Segments
Seq 14
Len 3
DT IS
Opt C
Rp/#
Tbl# 0023
Item# 00144
Usage Notes Conditional for trigger A01 Refer to NHDD data elements 'Source of referral to acute hospital or private psychiatric hospital' and 'Source of referral to public psychiatric hospital' AE & MH: This is used to transmit Admission Source Refer to Code List Book "Admission Source" Note: Variant to HL7, AS4700.1 & NHDD
Format
Example
AE: C MH: 13
15 16 17
2 2 60
IS IS XCN
O O O
0009 0099
0010
324
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 18
Len 2
DT IS
Opt C
Rp/#
Tbl# 0018
Item# 00148
Usage Notes Patient's accommodation status Conditional on AE and MH submissions. Not required for EM. AE & MH: Previously known as Care Type MH: Value = 5 Refer to Code List Book "Care Type" Note: Variant to HL7 & AS4700.1
Ref
Format
Example
AE: U MH: 5
19
20
CX
00149
Visit number
This field contains the unique number assigned to each patient visit (formal admission) AE: Previously known as Unique Key EM: This is used to transmit Visit Number MH: This is used to transmit Admitted Episode Id Note: Variant to HL7 & AS4700.1
0087654321
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
325
Message Segments
Seq 20
Len 50
DT FC
Opt C
Rp/# Y
Tbl# 0064
Item# 00150
Usage Notes
Ref
Format
Example
Primary class for identifying NHDD source of reimbursement, for 118 & 397 example: Conditional for triggers A01 and A04 AE & MH: Previously known as Account Class EM: Previously known as Compensable Status Refer to Code List Book "Account Class" and "Compensable Status" Note: Variant to HL7
21 22 23 24 25 26 27 28 29 30
2 2 2 2 8 12 3 2 1 8
IS IS IS IS DT NM NM IS IS DT
O O O O O O O O O O Y Y Y Y
Charge price indicator Courtesy code Credit rating Contract code Contract effective date Contract amount Contract period Interest code Transfer to bad debt code Transfer to bad debt date
0073 0110
326
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 31 32 33 34 35 36
Len 10 12 12 1 8 3
DT IS NM NM IS DT IS
Opt O O O O O C
Rp/#
Tbl# 0021
Element name Bad debt agency code Bad debt transfer amount Bad debt recovery amount Delete account indicator Delete account date
Usage Notes
Ref
Format
Example
0111
00164 00165
0112
00166
Discharge disposition Conditional for trigger A03 AE: Previously known as Separation Type EM: Previously known as Departure Status MH: This is used to transmit Separation Type (A03) and Leave Type (A21) Refer to Code List Book Separation Type , Ward Leave Type , Placement Leave Type Note: Variant to HL7, AS4700.1 & NHDD
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
327
Message Segments
Seq 37
Len 25
DT CE
Opt O
Rp/# Y/5
Tbl# 0113
Item# 00167
Usage Notes AE: Previously known as Separation Transfer Code, Separation Referral Code and Source of Referral to Palliative Care EM: Previously known as Transfer Destination MH: This is used to transmit Separation Referral Code, Referral Type, Referred to Campus, Referred to Subcentre Refer to Code List Book "Service Provider Code" and "Separation Referral" and "Referral Type" Note: Variant to HL7 & AS4700.1
Ref
Format BBBB
Example
38
IS
0114
00168
Diet type
39
IS
0115
00169
Servicing facility
AE & EM & MH: This is used to transmit Establishment Id (Campus Code) Refer to Code List Book "Service Provider Code"
NHDD 50
BBBB
40 41 42
1 2 80
IS IS PL
O O O
0116 0117
Note:
Variant to HL7
328
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 43 44
Len 80 26
DT PL TS
Opt O C
Rp/#
Tbl#
Usage Notes
Ref
Format
Example
Conditional for triggers A01 and A04 HL7 data element format to be used. Refer to NHDD data element 'Admission date' AE: Previously known as Admission Date/Time EM: Previously known as Arrival Date/Time MH: This is used to transmit Admission Date/Time (A01) Note: Variant to HL7 & AS4700.1
199808271537
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
329
Message Segments
Seq 45
Len 26
DT TS
Opt C
Rp/#
Tbl#
Item# 00175
Usage Notes Conditional for trigger A03 HL7 data element format to be used Refer to NHDD data element 'Discharge date' AE: Previously known as Separation Date/Time EM: Previously known as Departure Date/Time MH: This is used to transmit Separation Date/Time Note: Variant to HL7 & AS4700.1
Ref NHDD 43
Format
Example
199808271833
46 47 48 49 50 51 52
12 12 12 12 20 1 60
NM NM NM NM CX IS XCN
Current patient balance Total charge Total adjustments Total payments Alternate visit ID Visit indicator Other healthcare provider MH: This is used to transmit Shared Care Refer to Code List Book Shared Care Flag MH: Y
330
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 1 2 3
Len 80 60 60
DT PL CE CE
Opt O O C
Rp/#
Tbl# 0129
Usage Notes
Ref
Format
Example
Conditional for trigger A01 AE/MH: Previously known as Criterion for Admission Refer to Code List Book "Criterion for Admission" Note: Variant to HL7 & AS4700.1
AE/MH: B
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
331
Message Segments
Seq 4
Len 60
DT CE
Opt C
Rp/#
Tbl#
Item# 00184
Usage Notes Conditional for trigger A01 AE: Previously known as Reason for Critical Care Transfer MH: This is used to transmit Transfer Reason. Refer to Code List Book "Reason for Critical Care Transfer" and "Transfer Reason" Note: Variant to HL7 & AS4700.1
Ref
Example
5 6 7 8
25 25 2 26
ST ST IS TS
O O O O
Patient valuables Patient valuables location Visit user code Expected admit date Time optional MH: This is used to transmit Expected return (from leave) date Note: Variant to AS4700.1 Variant to AS4700.1 MH: 19980811
26
TS
00189
Note:
332
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 10
Len 3
DT NM
Opt C
Rp/#
Tbl#
Item# 00711
Usage Notes Conditional for trigger A01 AE: Previously known as Intended Duration of Stay MH: This is used to transmit Intended Duration of Stay Refer to Code List Book Intended Duration of Stay Note: Variant to HL7
Ref NHDD 76
Example
11
NM
00712
12 13
50 90
ST XCN
O O
00713 00714
See also NHDD data element EM/AE: 'Source of referral' NHDD 50 EM & AE: Previously known as Transfer Source MH: This is used to transmit Source of Referral Refer to Code List Book Source of Referral MH: NHDD 385 & 150
14 15 16 17
8 1 1 8
DT ID IS DT
O O O O 0136 0213
Previous service date Employment illness related indicator Purge status code Purge status date
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
333
Message Segments
Seq 18
Len 6
DT IS
Opt C
Rp/#
Tbl# 0214
Item# 00719
Element name
Usage Notes
Ref
Example
Special program code Conditional for trigger A01, Optional for other triggers. AE & MH: Previously known as Program Funding Source Refer to Code List Book "Program Funding Source" Note: Variant to HL7
19 20 21 22 23 24
1 1 1 1 90 2
ID NM IS ID XON IS
O O O O O O Y
0136
00720 00721
Retention indicator Expected number of insurance plans Visit publicity code Visit protection indicator Clinic organization name Patient status code See also NHDD data element NHDD 'Patient accommodation 118 eligibility status'
0215 0136
0216
00725
25 26 27 28 29
1 8 2 8 8
IS DT IS DT DT
O O O O O
0217
00726 00727
Visit priority code Previous treatment date Expected discharge disposition Signature on file date First similar illness date AE: Previously known as Onset Date AE: 19980304
0112
334
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 30 31
Len 3 2
DT IS IS
Opt O O
Rp/#
Usage Notes
Ref
Format
Example
AE & MH: Previously known as Intention to readmit within 28 days Refer to Code List Book "Intention to Readmit within 28 Days
32 33 34 35 36 37
1 26 2 2 1 1
ID TS ID ID ID ID
O O O O O O
0136
00733 00734
Billing media code Expected surgery date & time Military partnership code Military nonavailability code Newborn baby indicator Baby detained indicator See also NHDD references to 'Newborns'
(b) Data elements and usage notes For relevant data elements and usage notes, see PD1 table below. Table 38. Patient Additional Demographic (PD1) Segment
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
335
Message Segments
Seq 1
Len 2
DT IS
Opt C
Rp/# Y
Tbl# 0223
Item# 00755
Usage Notes MH: This is used to transmit Living Status Conditional for trigger A01 Refer to Code List Book "Living Status" Note: Variant to HL7
Ref
Format MH: 3
Example
IS
0220
00742
Living Arrangement
AE & MH: This is used to transmit Carer Availability Refer to Code List Book "Carer Availability Note: Variant to HL7
NHDD 22 (v 6.0)
AE & MH: 1
3 4
90 90
XON XCN
O O
Y Y
00756 00757
Patient Primary Facility Patient Primary Care Provider Name & ID No. Student Indicator Handicap Living Will Organ Donor Separate Bill Duplicate Patient Publicity Indicator Protection Indicator
5 6 7 8 9 10 11 12
2 2 2 2 2 2 1 1
IS IS IS IS ID CX CE ID
O O O O O O O O Y
0125 0129
00743 01283
336
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
The first four components of diagnosis code are used in differing ways according to the type of diagnosis. Table 39. Use of Diagnosis Code (DG1-3) Field
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
337
Message Segments
<Text>
<Alternate Identifier>
(Diagnosis type)
NATINJ
N/A
Body Region
BODREG
N/A
N/A
DESCINJ
N/A
INJCAU
N/A
Human Intent Ref: NHDD 382 Type of Place Where Injury Occurred Ref: NHDD 384 Activity When Injured
HUMINT
N/A
TYPLC
N/A
ACTINJ
N/A
338
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 1 2 3
Len 4 2 60
DT SI ID CE
Opt R (B) R R
Rp/#
Tbl#
Item# 00375
Ref
Forma t
Example
0053 0051
00376 00377
Refer to table above for coding of this data element Refer to Code List Book Diagnosis Type Note: Variant to HL7
AE/MH: H571^^ICD10AM^P EM: H571^^ICD10AM^P 13^^NATINJ 22^^BODREG ^Cricket ball^DESCINJ 24^^INJCAU 1^^HUMINT A^^TYPLC S^^ACTINJ
4 5
40 26
ST TS
B C
00378 00379
Diagnosis Description Diagnosis Date/Time MH: This is used to transmit Diagnosis Date Time optional Note: Variant to HL7 Variant to HL7, not required MH: 19981111
6 7
2 60
IS CE
O B
0052 0118
00380 00381
Note:
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
339
Message Segments
Seq 8 9 10 11 12 13 14 15
Len 60 2 2 60 3 12 4 10
DT CE ID IS CE NM CP ST NM
Opt B B B B B B B B
Rp/#
Element name Diagnostic Related Group DRG Approval Indicator DRG Grouper Review Code Outlier Type Outlier Days Outlier Cost Grouper Version and Type Diagnosis Priority
Usage Notes
Ref
Forma t
Example
MH: This is used to transmit Diagnosis Event Sequence Number. Note: Variant to HL7
MH: 1
16
60
XCN
00390
Diagnosis Clinician
MH: This is used to transmit Clinician Code, Discipline and Campus. Refer to Code List Book "Discipline , Service Provider Code
MH: 123456^^^^^^02^^BBB B
17 18 19
3 1 26
IS ID TS
O O O
0228 0136
340
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 1
Len 60
DT CE
Opt R
Rp/#
Tbl# 0055
Item# 00382
Usage Notes AE: Previously known as DRG Hosp. Gen. Note: Variant to HL7 & NHDD
Ref NHDD 42
Format
2 3 4 5 6 7 8 9 10
26 2 2 60 3 12 1 9 1
TS ID IS CE NM CP IS CP ID
DRG Assigned Date/Time DRG Approval Indicator DRG Grouper Review Code Outlier Type Outlier Days Outlier Cost DRG Payor Outlier Reimbursement Confidential Indicator
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
341
Message Segments
342
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Rules See table below. <Identifier> is a code for what is contained in the segment; <text> is used for descriptions associated with the <identifier>; ECT course number, reason, or variation reason ; <name of coding system> specifies what codeset is being transmitted ; <alternate identifier> is used to transmit maximum number of treatments in an ECT course : <identifier>^<text>^<name of coding system>^<alternate identifier>
Procedure Date/Time
If Type of Procedure is an ICD code, populate this field with Procedure Date/Time (where procedure code is an ICD code). If Type of Procedure is ECT Course, populate this field with Consent Date/Time (Proc Code = ECTCOURSE) ; If Type of Procedure is ECT Treatment, populate this field with ECT Date/Time (Proc. Code = ECTTREAT) ; If Type of Procedure is Start Mechanical Restraint, populate this field with MR Start Date/Time (Proc. Code = STARTMR) ; If Type of Procedure is End Mechanical Restraint, populate this field with MR End Date/Time (Proc. Code = ENDMR) ; If Type of Procedure is Start Seclusion, populate this field with Seclusion Start Date/Time (Proc. Code = STARTSEC) ; If Type of Procedure is End Seclusion, populate this field with Seclusion End Date/Time (Proc. Code = ENDSEC) ;
If Type of Procedure is Start Mechanical Restraint, populate this field with Form of restraint (Proc. Code = STARTMR) ; If Type of Procedure is ECT Treatment, populate this field with ECT Type (Proc. Code = ECTTREAT).
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
343
Message Segments
Rules To transmit Clinician Code, populate <ID> ; To transmit Clinican Discipline, populate <degree> ; To transmit Clinician Campus, populate <assigning authority> ; Set <identifier type code> to AUTH (authorised by), APPR (approved by), SUP (supervised by), or ADMIN (administered by) as appropriate : <ID>^^^^^^<degree>^^<assigning authority>^^^^<identifier type code>
Anesthesiologist
The first four components of procedure code are used in differing ways according to the type of procedure. Table 312. Use of Procedure Code (PR1-3) Field
<Text>
(Associated description) Eye examination (Associated description) 1 (Holds course number) N/A 6 (Maximum number of treatments in the course) 2 (Treatment number) 6 (Maximum number of treatments in the course) VEMD N/A
ECT Course
ECTCOURSE
ECT Treatment
ECTTREAT
344
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
<Identifier> STARTMR 1
<Text>
(Holds reason code) End Mechanical Restraint ENDMR 2 (Holds Variation reason code) Start Seclusion STARTSEC 1 (Holds reason code) End Seclusion ENDSEC 2 (Holds Variation reason code) N/A N/A N/A N/A N/A N/A
Seq 1 2
Len 4 2
DT SI IS
Opt R (B) R
Rp/#
Tbl#
Item# 00391
Ref
Format
Example
0089
00392
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
345
Message Segments
Seq 3
Len 80
DT CE
Opt R
Rp/#
Tbl# 0088
Item# 00393
Usage Notes Refer to table above for coding of this data element Refer to Code List Book Reason for Restraint , Reason for Seclusion , Restraint Variation Reason , Seclusion Variation Reason
Format
Example AE: 5600100^CAT Scan^ICD10AM EM: 83^Eye examination^VEMD MH (ECT course): ECTCOURSE ^1^^5 MH (ECT Treatment): ECTTREAT^1^2^6 MH (Start MR): STARTMR ^1 MH (End MR): ENDMR ^2 MH (Start Seclusion): STARTSEC^1 MH (End Seclusion): ENDSEC^2
4 5
40 26
ST TS
B C
00394 00395
Procedure Description Procedure Date/Time Refer to table above for coding of this data element Note: Variant to HL7 MH: 19980101
346
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 6
Len 2
DT IS
Opt C
Rp/#
Tbl# 0230
Item# 00396
Usage Notes Refer to table above for coding of this data element Refer to Code List Book Form of Restraint , ECT Type Note: Variant to HL7
Ref
Format MH: 1
Example
7 8 9 10 11 12
NM
Procedure Minutes Anesthesiologist Anesthesia Code Anesthesia Minutes Surgeon Procedure Practitioner MH: This is used to transmit Authorised By (Proc. Code = ECTCOURSE or STARTMR or STARTSEC) / Approved By (Proc. Code = STARTMR or STARTSEC) / Supervised By (Proc Code = STARTMR or STARTSEC) / Administered By (Proc Code = ECTTREAT) / Discipline (Proc Code = ECTCOURSE, ECTTREAT, STARTMR or STARTSEC) Refer to Code List Book Service Provider Code , Discipline Note: Variant to HL7 MH:123456^^^^^^04^^ AAAA^^^^ADMIN MH: This is used to transmit ECT Anaesthetist MH: ^Joe Blogges
120 XCN 2 4 IS NM
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
347
Message Segments
Seq 13
Len 60
DT CE
Opt C
Rp/#
Tbl# 0059
Item# 00403
Usage Notes MH: This is used to transmit Consent Type Refer to Code List Book Consent Type Note: Variant to HL7
Ref
Format MH: 1
Example
14
NM
00404
Procedure Priority
MH: This is used to transmit MR Seq (Proc. Code = STARTMR or ENDMR) / Seclusion Seq (Proc. Code = STARTSEC or ENDSEC) Note: Variant to HL7
MH: 1
15
80
CE
00772
(b) Data elements and usage notes For relevant data elements and usage notes, see IN1 table below. Table 314. Insurance (IN1) Segment
348
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 1
Len 4
DT SI
Opt C
Rp/#
Tbl#
Item# 00426
Usage Notes Required for the sending of Insurance Details. Value = 1 Note: Variant to HL7 Variant to HL7
Ref
Format 1
Example
2 3
60 59
CE CX
O C Y
0072
00368 00428
Note:
Required for the sending of Insurance Details. Conditional for trigger A01 AE & MH: This is used to transmit Health Insurance Fund Refer to Code List Book "Health Insurance Fund" Note: Variant to HL7
4 5 6 7 8 9 10
O O O O O O O
Y Y Y Y
Insurance Company Name Insurance Company Address Insurance Co. Contact Person Insurance Co. Phone Number Group Number Group Name Insured Group Emp s ID
130 XON 12 CX
Y Y
00434 00435
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
349
Message Segments
Seq 11 12 13 14 15
Len
DT
Opt O O O O C
Rp/# Y
Tbl#
Element name Insured Group Emp s Name Plan Effective Date Plan Expiration Date Authorization Information Plan Type
Usage Notes
Ref
Format
Example
130 XON 8 8 55 3 DT DT CM IS
Required for the sending of Insurance Details. Conditional for trigger A01 AE & MH: This is used to transmit Level of Insurance Refer to Code List Book "Level of Insurance" Note: Variant to HL7 & NHDD
NHDD 75
AE & MH: 3
16 17 18 19 20 21 22
48 2 26
XPN IS TS
O O O O O O O
Name of Insured Insured Relationship s to Patient Insured Date of s Birth Insured Address s Assignment of Benefits Coordination of Benefits Coord of Ben. Priority
106 XAD 2 2 2 IS IS ST
350
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
Len 2 8 2 8 2 15 26 60 2 2 4 4 8 15 12 12 4
DT ID DT ID DT IS ST TS XCN IS IS NM NM IS ST CP CP NM
Opt O O O O O O O O O O O O O O O O O
Rp/#
Tbl#
Item# 00448 00449 00450 00451 00452 00453 00454 00455 00456 00457 00458 00459 00460 00461 00462 00463 00464
Element name Notice of Admission Flag Notice of Admission Date Report of Eligibility Flag Report of Eligibility Date Release Information Code Pre-Admit Cert (PAC) Verification Date/Time Verification By Type of Agreement Code Billing Status Lifetime Reserve Days Delay Before L.R. Day Company Plan Code Policy Number Policy Deductible Policy Limit Amount Note: Policy Limit Days
Usage Notes
Ref
Format
Example
Variant to HL7
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
351
Message Segments
Seq 40 41 42 43 44 45 46 47 48 49
Len 12 12 60 1
DT CP CP CE IS
Opt O O O O O O O O O O
Rp/#
Tbl#
Element name Room Rate SemiPrivate Room Rate Private Insured s Employment Status Insured Sex s Insured Employer s Address Verification Status Prior Insurance Plan ID Coverage Type Handicap Insured ID Number s Note: Note:
Ref
Format
Example
106 XAD 2 8 3 2 12 ST IS IS IS CX
01230
(b) Data elements and usage notes For relevant data elements and usage notes, see table below. Table 315. Insurance Additional Information (IN2) Segment
352
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Len 59 11
DT CX ST
Opt O O O O O O O O O O O O O O O O
Rp/# Y
Tbl#
Element name Insured's Employee ID Insured's Social Security Number Insured's Employer Name Employer Information Date Mail Claim Party Medicare Health Ins Card Number Medicaid Case Name Medicaid Case Number Champus Sponsor Name Champus ID Number Dependent of Champus Recipient Champus Organisation Champus Status Champus Service Champus Rank/Grade Champus Status
Usage Notes
Ref
Format
Example
Y 0139 Y 0137
00478 00479
00480 00481 00482 00483 00484 0140 0141 0142 00485 00486 00487
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
353
Message Segments
Seq 17 18 19 20 21 22 23 24 25 26 27 28
Len 8 1 1 1 1 48 30 8 59 59 1 25
DT DT ID ID ID ST XPN ST IS CX CX IS CM
Opt O O O O O O O O O O O O
Rp/#
Tbl#
Item# 00488
Element name Champus Retire Date Champus Non-Avail Cert On File Baby Coverage Combine Baby Bill Blood Deductible Special Coverage Approval Name Special Coverage Approval Title Non-Covered Insurance Code Payor ID Payor Subscriber ID Eligibility Source Room Coverage Type/Amount Policy Type/Amount
Usage Notes
Ref
Format
Example
00493 00494
Y Y Y
0143
0144 Y
00498
29
25
CM
30 31 32 33
25 2 2 4
CM IS IS IS
O O O O
354
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 34 35 36 37 38 39 40 41 42 43 44
Len 60 2 80 1 2 3 48 80 3 1 8
DT CE IS CE ID IS IS XPN CE IS IS DT
Opt O O O O O O O O O O O
Rp/#
Element name Primary Language Living Arrangement Publicity Indicator Protection Indicator Student Indicator Religion Mother's Maiden Name Nationality Ethnic Group Marital Status Insured's Employment Start Date Insured's Employment Stop Date Job Title
Usage Notes
Ref
Format
Example
45
DT
00783
46
20
ST
00785
MH: This is used to transmit Occupation Refer to Code List Book "Occupation" Note: Variant to NHDD
NHDD 230
83
47
20
JCC
Job Code/Class
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
355
Message Segments
Seq 48
Len 2
DT IS
Opt O
Rp/#
Tbl# 0311
Item# 00752
Usage Notes MH: This is used to transmit Employment Status Refer to Code List Book "Employment Status"
Format 70
Example
49 50
48 40
XPN XTN
O O
Y Y
00789 00790
Employer Contact Person Name Employer Contact Person Contact Phone Number Employer Contact Reason Insured's Contact Person's Name Insured's Contact Person Telephone Number Insured's Contact Person Reason Relationship To The Patient Start Date Relationship To The Patient Stop Date Insurance Co. Contact Reason Insurance Co. Contact Phone Number Policy Scope
51 52 53
2 48 40
IS XPN XTN
O O O Y Y
0222
54 55 56 57 58
2 8 8 2 40
IS DT DT IS XTN
O O O O O
0222
00794 00795
Y 0232
59
IS
0312
00799
356
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 60 61 62
Len 2 60 2
DT IS CX IS
Opt O O O
Rp/#
Tbl# 0313
Element name Policy Source Patient Member Number Guarantor's Relationship To Insured Insured's Telephone Number Home Insured's Employer Telephone Number Military Handicapped Program Suspend Flag Copay Limit Flag Stoploss Limit Flag Insured Organisation Name and ID Insured Employer Organisation Name and Id Race HCFA Patient Relationship To Insured
Usage Notes
Ref
Format
Example
0063
00802
63 64 65 66 67 68 69 70
40 40 60 2 2 2
XTN XTN CE ID ID ID
O O O O O O O O
Y Y
00803 00804 00805 0136 0136 0136 00806 00807 00808 00809 00810
Y Y
71 72
1 60
IS CE
O O
0005
00113 00811
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
357
Message Segments
(a) Function
The OBR segment identifies the observation set represented by the following observations.
(b) Data elements and usage notes For relevant data elements and usage notes, see table below. Table 316. Observation Report (OBR) Segment
Seq 1 2 3 4
Len 4 22 22
DT SI EI EI
Opt C C C R
Rp/#
Tbl#
Element name Set ID OBR Placer Order Number Filler Order Number + Universal Service ID
Usage Notes
Ref
Format
Example
200 CE
Identifies the category for the OBX segment Values: RUGADL, BARTHEL, MECHVENT, ALERTSTART, ALERTHALT, WELLBEING, DEATH, ADMISSION, NEWBORN
5 6 7 8 9 10 11 12
2 26 26 26 20 60 1 60
ID TS TS TS CQ XCN ID CE
X X C O O O O O Y 0065
Priority Requested Date/Time Observation Date/Time # Observation End Date/Time # Collection Volume * Collector Identifier * Specimen Action Code Danger Code
358
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Len
DT
Opt O C O O O O O O O C O O C O O O O O O
Rp/#
Tbl#
Element name Relevant Clinical Info. Specimen Received Date/Time * Specimen Source * Ordering Provider Order Callback Phone Number Placer Field 1 Placer Field 2 Filler Field 1 + Filler Field 2 + Results Rpt/Status Chng Date/Time Charge to Practice + Diagnostic Serv Sect ID Result Status + Parent Result + Quantity/Timing Result Copies To Parent * Transportation Mode Reason for Study
Usage Notes
Ref
Format
Example
300 ST 26 TS
0070 Y Y/2
0074 0123
Y Y/5
300 CE
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
359
Message Segments
Seq 32 33 34 35 36 37 38 39 40
Len
DT
Opt O O O O O O O O O
Rp/#
Tbl#
Item# 00264
Element name Principal Result Interpreter + Assistant Result Interpreter + Technician + Transcriptionist + Scheduled Date/Time + Number of Sample Containers * Transport Logistics of Collected Sample * Collector Comment s * Transport Arrangement Responsibility Transport Arranged Escort Required Planned Patient Transport Comment
Usage Notes
Ref
Format
Example
Y Y Y
Y Y
200 CE 60 CE
41 42 43
30 1
ID ID
O O O Y
0224 0225
200 CE
360
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
(b) Data elements and usage notes For relevant data elements and usage notes, see table OBX below. RS2 Data Type structure is as follows : <quantity 1 (NM)> ^ <identifier 1 (ST)> ^ <identifier 2 (ST)> ^ <identifier 3 (ST)> ^ <identifier 4 (ST)> ^ <flag 1 (IS)> ^ <flag 2 (IS)> ^ <quantity 2 (NM)> ^ <quantity 3 (NM)> ^ <quantity 4 (NM)> ^ <quantity 5 (NM)> ^ <date 1 (TS)> ^ <flag 3 (IS)> The following table defines the coding requirements for data elements in the OBX segment where indicated.
Element Name Responsible Observer Rules To transmit clinician code, populate <ID Number>; To transmit Discipline, populate <Degree> ; To transmit campus code, populate <Assigning authority> : <ID Number>^^^^^^<degree>^^<assigning authority>
Note:
The components of observation value are used in differing ways according to the type of observation. Table 317. Use of Observation Value (OBX-5) Field
Observation Identifier = ALERTSTART^Appropriate Alert Description = ALERTHALT^Appropriate Alert Description = BARTHEL Ref: NHDD 309 = RUGADL Ref: NHDD 309 N/A N/A
Observation Value
^= A (Admission) or S (Separation) ^Barthel Index Score Eg: A^80 ^= A (Admission) or S (Separation) ^RUG ADL State Eg: A^16
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
361
Message Segments
= NEWBORN Ref: NHDD 21 (Birth weight) Ref: NHDD 375 (Qual. Status) = WELLBEING^Wellbeing ID
Admission Weight^= Q (Qualified) or U (Unqualified) Eg: 5^U If Seq No is 1 then Total Score If Seq No is > 1 then Wellbeing Component ^ Wellbeing Component Value (in calculations) ^ Wellbeing Component Score Eg: 1^0^9
= DEATH
^Nature of death^Suicide method^Date of death accuracy^^Deliberate self harm Flag^History of Suicide Attempts^Days since last inpatient^Days since last contact^Days since last MHA status^Days since last seen^Date of deliberate self-harm^client admitted flag Eg: ^2^06^1^^N^Y^10^5^20^5^^Y
= ADMISSION
362
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 1 2
Len 10 2
DT SI CE
Opt O C
Rp/#
Tbl#
Usage Notes
Ref
Format
Example
Variation of the HL7 structure Value = RS2 (RAPID structure) See usage notes above for RS2 structure. RS2
590 CE
00571
NEWBORN
20
ST
00572
Observation Sub-ID
MH: This is used to transmit Wellbeing Scale Refer to Code List Book Wellbeing Scale
MH: HNSADL
600 RS2
00573
Observation Value
See table above. Refer to Code List Book "Nature of Death", "Suicide Method", Date of Death Accuracy , Deliberate Self harm Flag , History of Suicide Attempts , "Qualification Status , Wellbeing Component , Wellbeing Component Score , Prior Restraint/ Sedation , Client Admitted Flag , Barthel Index Scores , RUG ADL Score Note: Variant to HL7
400^Q
60
CE
00574
Units
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
363
Message Segments
Seq 7
Len 10
DT ST
Opt O
Rp/#
Tbl#
Item# 00575
Usage Notes MH: This is used to transmit Alert Sequence (when Obs. ID = ALERTSTART/ALERTHALT), Wellbeing Sequence (when Obs. ID = WELLBEING)
Ref
Format MH: 1
Example
8 9 10 11
5 5 2 1
ID NM ID ID
O O O R
Y/5
0078
00576 00577
Abnormal Flags Probability Nature of Abnormal Test Observ Result Status Value = F (final result) or = C (correction to observation previously sent ) or = D (delete the observation) F
0080 0085
00578 00579
12 13 14
26 20 26
TS ST TS
O O O
Date Last Obs Normal Values User Defined Access Checks Date/Time of the Observation MH: This is used to transmit Alert Start Date (Obs. ID = ALERTSTART) / Alert Halt Date (Obs. ID = ALERTHALT / Wellbeing Date (Obs. ID = WELLBEING) / Qualification Change Date (Obs. ID = NEWBORN) NHDD 342 MH: 19980505
15
60
CE
00583
Producer ID s
364
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 16
Len 80
DT XCN
Opt O
Rp/#
Tbl#
Item# 00584
Element name
Usage Notes
Ref
Format MH : 111
Example
Responsible Observer MH: This is used to transmit Wellbeing Clinician, Discipline and Campus (Obs. ID = WELLBEING), Alert entered by User and Campus(Obs. ID = ALERTSTART) Refer to Code List Book "Service Provider Code , Discipline
17
60
CE
00936
Observation Method
(b) Data elements and usage notes For relevant data elements and usage notes, see MRG table below. The following table defines the coding requirements for data elements in the MRG segment where indicated.
Element Name Prior Patient ID Internal Prior Visit Number Rules If changing client for a service episode (A45), populate this field with the original Client ID for the episode. To transmit Prior Episode Id, populate <ID> ; Set <identifier type code> to EPISODE : <ID>^^^^EPISODE
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
365
Message Segments
Seq 1 2 3 4 5 6 7
Len 20 20 20 20 20 20 48
DT CX CX CX CX CX CX XPN
Opt R O O O O O O
Rp/# Y Y
Tbl#
Element name Prior Patient ID Internal Prior Alternate Patient ID Prior Patient Account Number Prior Patient ID External Prior Visit Number Prior Alternate Visit ID Prior Patient Name
Ref
Format
Example 123456789
Prior Episode Id
12345^^^^EPISODE
366
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 1
Len 4
DT SI
Opt R
Rp/#
Tbl#
Item# 00391
Usage Notes Identifies which procedures were performed under this contract.
Ref
Format
Example
CE
90001
Funding Arrangement Indicates if the funding arrangement is a contract or hub and spoke arrangement. Values: 1 Contract 2 Hub/Spoke 3 Healthstreams Refer to Code List Book "Funding Arrangement"
AE: 1
CE
90002
Contract Type
Type of contract arrangement NHDD 79 Refer to Code List Book "Contract Type"
AE: 3
CE
90003
Contract Role
Role of health care facility in this funding arrangement Values: A Contractor B Service Provider Refer to Code List Book "Contract Role"
NHDD 79
AE: B
26
TS
90004
Date and Time of beginning of special funding arrangement Date and Time of end of special funding arrangement
26
TS
90005
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
367
Message Segments
Seq 7
Len 4
DT ST
Opt R
Rp/#
Tbl#
Item# 90006
Usage Notes
Ref
Format
Identifier of the other hospital NHDD 50 party to the special funding arrangement AE: This is used to transmit Campus Code Refer to Code List Book "Service Provider Code"
(b) Data elements and usage notes For relevant data elements and usage notes, see table below. Table 321. Emergency Information (ZEM) Segment
368
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 1
Len 60
DT CE
Opt O
Rp/#
Tbl#
Item# 90007
Usage Notes Transport used to present to Emergency Dept. Conditional for trigger A04. Refer to Code List Book Transport Mode
Ref
Format EM: 1
Example
60
CE
90008
Transport used to depart from Emergency Dept. Conditional for trigger A03. Refer to Code List Book Transport Mode
EM: 3
10
ST
90009
Unique identifier to each ambulance transport occasion. Classification for urgency of NHDD need for medical and nursing 355 care Refer to Code List Book Triage Category Note: Variant to NHDD NHDD 353 & 354 NHDD 356 & 357 NHDD 356 & 357
EM: 0000746532
60
CE
90010
EM: 2
5 6
26 26
TS TS
O O
90011 90012
Triage date/time First Seen Nurse date/time First Seen Doctor date/time
Date and time patient first seen by triage nurse Date and time baseline observations taken after triage Date and time first medical officer assess patient
EM: 199808270334
26
TS
90013
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
369
Message Segments
Seq 8
Len 60
DT CE
Opt O
Rp/#
Tbl#
Item# 90014
Usage Notes Referral to further care if necessary for continuation of treatment. Refer to Code List Book Referred To
Ref
Format EM: 2
Example
60
CE
90015
Reason patient referred to another health care facility Refer to Code List Book Reason for Transfer
EM: 5
10
60
CE
90016
Escort Source
Work location or other source of the medical or nursing assistant(s) accompanying a patient whilst being transferred to another hospital. Refer to Code List Book Escort Source
EM: 2
(b) Data elements and usage notes For relevant data elements and usage notes, see ZMH table below. The following table defines the coding requirements for data elements in the ZMH segment where indicated.
370
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Rules To transmit Clinician Code, populate <ID> ; To transmit Clinican Discipline, populate <degree> ; To transmit Clinician Campus, populate <assigning authority> : <ID>^^^^^^<degree>^^<assigning authority>
Seq 1 2
Len 10 5
DT SI NM
Opt O O
Rp/#
Tbl#
Usage Notes
Ref
Format
Example
Duration of the contact in minutes MH: This is used to transmit Contact Duration.
10
CE
90101
Contact Type
Type of contact. MH: This is used to transmit Contact Type. Refer to Code List Book Contact Type
10
CE
90102
Type of community contact. MH: This is used to transmit Community Type. Refer to Code List Book Community Contact Type
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
371
Message Segments
Seq 5
Len 10
DT CE
Opt O
Rp/#
Tbl#
Item# 90103
Usage Notes Medium of the contact. MH: This is used to transmit. Service Medium. Refer to Code List Book Service Medium
Ref
Format 1
Example
10
CE
90104
Service Location
Location of the contact. MH: This is used to transmit. Service Location. Refer to Code List Book Service Location
10
CE
90105
Service Recipient
Identifies the recipient or recipient group of the contact. MH: This is used to transmit. Service Recipient. Refer to Code List Book Service Recipient
10
CE
90106
Number of clinicians involved in the contact. MH: This is used to transmit. Number Providing Service.
10
CE
90107
Number of clients/client related persons involved in the contact. MH: This is used to transmit Number Receiving Service.
372
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 10
Len 10
DT CE
Opt O
Rp/#
Tbl#
Item# 90108
Usage Notes Focus of care of the contact. MH: This is used to transmit. Focus of Care. Refer to Code List Book Focus of Care
Ref
Format 4
Example
11
30
ST
90109
Contact Name
Name of the contact recipient, not necessarily the client. MH: This is used to transmit. Contact Name.
12
10
CE
90110
Program
Funding program for the visit. MH: This is used to transmit Program.
13
10
CE
90111
Program Classification
Program Classification of the client. MH: This is used to transmit Program Classification. Refer Code List Book Program Class
14
10
CE
90021
Case Id
The unique identifier for a case. MH: This is used to transmit: Case Id
1234567890
15
26
TS
90022
The start date of a case. MH: This is used to transmit: Case Start Date
19980404
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
373
Message Segments
Seq 16
Len 26
DT TS
Opt O
Rp/#
Tbl#
Item# 90023
Usage Notes The end date of a case. MH: This is used to transmit: Case End Date
Ref
Format
Example 19980707
17
10
CE
90024
MH Episode Id
1234567890
18
26
TS
90025
The start date of an episode. MH: This is used to transmit: Episode Start Date
19980404
19
26
TS
90026
The end date of an episode. MH: This is used to transmit: Episode End Date
19980707
20
10
CE
90110
Case Management Id
Case Management sequence. MH: This is use to transmit Case Management Sequence Number.
21
48
XPN
90027
Case Manager
Details of the case manager for the case. MH: This is used to transmit: Case Manager Code/ Case Manager Discipline and Campus Refer to Code List Book Discipline , Service Provider Code
123456^^^^^^31^^BBB B
374
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 22
Len 26
DT TS
Opt O
Rp/#
Tbl#
Item# 90028
Usage Notes Start of case management period for the case manager listed in Case Manager field. MH: This is used to transmit: Case Management Start Date
Ref
Format
Example 19980404
23
TS
90029
End of case management period for the case manager listed in Case Manager field. MH: This is used to transmit: Case Management End Date
19980707
24
10
CE
90030
Previous Case Id
Reference to the previous case for the client, at the service. MH: This is used to transmit: Previous Case Id
87876776
25
IS
90031
Admission Details
Admission Details for the client. MH: This is used to transmit: Admission Details Refer to Code List Book Admission Details
26
IS
90032
Whether a crisis assessment has led to the admission. MH: This is used to transmit: Crisis Assessment Indicator Refer to Code List Book Crisis Assessment
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
375
Message Segments
Seq 27
Len 6
DT IS
Opt O
Rp/#
Tbl#
Item# 90033
Usage Notes What the Mental Health escort source was (if any), leading up to the admission. MH: This is used to transmit: Escort Source Refer to Code List Book Mental Health Escort Source
Ref
Format 5
Example
28
IS
90034
MH Transport Mode
What the transport mode to the hospital was, leading up to the admission. MH: This is used to transmit: Transport Mode Refer to Code List Book Transport Mode
29
10
CE
90035
Transfer from campus Campus code that the client was transferred from. MH: This is used to transmit: Transfer from campus Refer to Code List Book Establishment Id
BBBB
30
26
TS
90036
Involuntary Start Date Date the client was first assigned an involuntary legal status for the current involuntary period. MH: This is used to transmit: Involuntary Start Date
19980304
376
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 31
Len 1
DT IS
Opt O
Rp/#
Tbl#
Item# 90037
Usage Notes Whether the client requires an interpreter. MH: This is used to transmit: Interpreter Required Refer to Code List Book Interpreter Required
Format 2
Example
32
PL
90038
The Mental Health Area code the client belongs to, according to home address, at time of event. MH: This is used to transmit: MHA Code Refer to Code List Book Mental Health Area
81
33
PL
90039
The Mental Health Postcode for the client according to home address, at time of event. MH: This is used to transmit: Client Postcode at time of event.
3123
34
IS
90040
Education
Level of education of the client. MH: This is used to transmit: Education Refer to Code List Book Education
40
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
377
Message Segments
Seq 35
Len 6
DT IS
Opt O
Rp/#
Tbl#
Item# 90041
Usage Notes
Ref
Format 10
Example
Type of housing of the client. NHDD 173 MH: This is used to transmit: Housing Refer to Code List Book Housing
36
26
TS
90042
Date of Mental Health statewide registration. MH: This is used to transmit Registration Date
19981002
37
PL
90039
Client Region
The Mental Health Region for the client according to home address. MH: This is used to transmit: Mental Health Region. Refer to Code List Book Region
20
(b) Data elements and usage notes For relevant data elements and usage notes, see ZLE table below. The following table defines the coding requirements for data elements in the ZLE segment where indicated.
378
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Rules To transmit R/CTO Id, populate <identifier> and set <name of coding system to CTO : <identifier>^^CTO
ID Number
To transmit Progress Report Id, populate <identifier> and set <name of coding system to CTOPROGRESS : <identifier>^^CTOPROGRESS
ID Number
To transmit Legal Status ID, populate <identifier> and set <name of coding system to LEGAL : <identifier>^^LEGAL
ID Number
To transmit MHRB Hearing Id, populate <identifier> and set <name of coding system to MHRB : <identifier>^^MHRB
ID Number
To transmit Annual Exam Id, populate <identifier> and set <name of coding system> to ANEXAM : <identifier>^^ANEXAM
To transmit Mental Health Legal Status (voluntary/involuntary indicator), populate <identifier> and set <name of coding system> to MHLS. To transmit Legal Status (specific act/section), populate <identifier> and set <name of coding system> to LSC.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
379
Message Segments
Rules To transmit Clinician Code, populate <ID number> ; To transmit Clinican Discipline, populate <degree> ; To transmit Clinician Campus, populate <assigning authority> ; Populate <identifier type code> with AUTHPSYCH (authorised psychiatrist), CONFBY (legal status confirmed by), ANEXAM (annual exam clinician), CTOAUTH (CTO Authorising psychiatrist), MONPSYCH (monitoring psychiatrist), SUPDOCTOR (supervising doctor) ,SUPPSYCH (supervising psychiatrist : <ID number>^^^^^^<degree>^^<assigning authority>^^^^<identifier type code>
Reason
To transmit Legal Status Discharge reason, populate <Identifier> and set <text> to DISCHARGE : <identifier>^DISCHARGE
Reason
To transmit CTO revoke reason, populate <Identifier> and set <text> to CTOREVOKE : <identifier>^CTOREVOKE
Reason
To transmit RCTO revoke reason, populate <Identifier> and set <text> to DISCHARGE : <identifier>^RCTOREVOKE
380
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 1 2
Len 10 22
DT SI CE
Opt O O
Rp/#
Tbl#
Usage Notes
Ref
Format
Example
General Identifier. MH: This is used to transmit: R/CTO ID / Legal ID / MHRB Hearing ID / Annual Exam ID / Type of ID
123456^^LEGAL
60
CE
90052
Legal Status Code of the client. AE: This is used to transmit Mental Health Legal Status MH: This is used to transmit Legal Status Refer to Code List Book Mental Health Legal Status Legal Status Code
48
XCN
90053
Practitioner Name
Name of practitioner. MH: This is used to transmit: Legal Status Authorising Psychiatrist Code / Confirmed By / Annual Exam Clinician / CTO Authorising Psychiatrist / Monitoring Psychiatrist / Supervising Doctor / Supervising Psychiatrist / Discipline and Campus Code Refer to Code List Book Discipline , Service Provider Code
123456^^^^^^02^^BBB B^^^^ANEXAM
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
381
Message Segments
Seq 5
Len 60
DT CE
Opt O
Rp/#
Tbl#
Item# 90054
Usage Notes Reason for event. MH: This is used to transmit: Legal Status Discharge Reason / CTO Revoked Reason / RCTO Revoked Reason Refer to Code List Book Discharge Reason , CTO Revoked Reason , RCTO Revoked Reason
Ref
Format
Example 2^DISCHARGE
26
TS
90055
Applicable date
Date the CTIP order became applicable for the client. MH: This is used to transmit CTIP Applicable Date
19980505
26
TS
90056
Date the client first approved with this legal status. MH: This is used to transmit Legal Status Date/time
19980330
26
TS
90057
Date the next CTIP Review is expected for the client. MH: This is used to transmit CTIP Review Date
19981217
26
TS
90058
Date the CTIP order expires for the client. MH: This is used to transmit CTIP Finish Date
19981215
382
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 10
Len 26
DT TS
Opt O
Rp/#
Tbl#
Item# 90059
Usage Notes Date the sentence expires for the client. MH: This is used to transmit Sentence Expiry Completion Date
Ref
Format
Example 19981103
11
26
TS
90060
Due Date
Due Date for the event. MH: This is used to transmit: Annual Exam Due Date (if ID number type = ANEXAM/ CTO Report Due Date (if ID number type = CTO) (may be repeating for CTO reporting requirements)
19980504~19980604
12
26
TS
90061
Completed date
Date the event actually occurred. MH: This is used to transmit: Annual Exam Competed Date (if ID number type = ANEXAM) / CTO Report Completed Date (if ID Number type = CTO)
19981207
13
26
TS
90062
Date of the MHRB Hearing for the client. MH: This is used to transmit: MHRB Hearing Date
19980706
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
383
Message Segments
Seq 14
Len 6
DT IS
Opt O
Rp/#
Tbl#
Item# 90063
Usage Notes Type of the MHRB Hearing for the client. MH: This is used to transmit: MHRB Hearing Type Refer to Code List Book Hearing Type
Ref
Format 49
Example
15
26
TS
90064
New scheduled date/time of the MHRB hearing for the client. MH: This is used to transmit: New Scheduled Date/time
19981203
16
IS
90065
Campus
New campus of the MHRB hearing for the client. MH: This is used to transmit: New Campus for Hearing
BBBB
17
10
IS
90066
Subcentre
New subcentre of the MHRB hearing for the client. MH: This is used to transmit: New Subcentre for Hearing
CCCC
18
IS
90067
MHRB Outcome
Outcome of the MHRB hearing for the client. MH: This is used to transmit: MHRB Outcome Refer to Code List Book MHRB Outcome
19
26
TS
90068
Start Date of the R/CTO. MH: This is used to transmit: R/CTO Start Date
19980816
384
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 20
Len 26
DT TS
Opt O
Rp/#
Tbl#
Item# 90069
Usage Notes Completed date of the R/CTO. MH: This is used to transmit: R/CTO Completed Date
Ref
Format
Example 19980530
21
26
TS
90070
Expiry Date of the R/CTO. MH: This is used to transmit: R/CTO Expiry Date
19980731
22
30
ST
90071
R/CTO Completed By Who completed the R/CTO form. MH: This is used to transmit: R/CTO Completed By
19980404
23
26
TS
90072
Date the R/CTO revocation was authorised. MH: This is used to transmit: Revoke Authorised Date
19980505
24
IS
90073
Restricted Flag
Whether the CTO is restricted. MH: This is used to transmit: Restricted flag Refer to Code List Book Restricted Flag
25
26
TS
90074
Date the R/CTO event occurred. MH: This is used to transmit: R/CTO Event Date
19980606
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
385
Message Segments
Seq 26
Len 60
DT CE
Opt O
Rp/#
Tbl#
Item# 90075
Usage Notes Type of the R/CTO event. MH: This is used to transmit: R/CTO Event Type Refer to Code List Book CTO Event Type
Ref
Format 2
Example
27
IS
90076
Residency Clause
Whether a residency clause is included in the R/CTO. MH: This is used to transmit: Residency Clause Refer to Code List Book Residency Clause Flag
28
1000
TX
90077
Further conditions placed on an RCTO. MH: This is used to transmit: RCTO Further Conditions
29
IS
90078
Report Required
Reporting Requirements of the R/CTO. MH: This is used to transmit: Reporting Requirements Refer to Code List Book R/CTO Reporting Requirements
03
30
IS
90079
Report Outcome
Outcome of R/CTO report. MH: This is used to transmit: Report Outcome. Refer to Code List Book R/CTO Report Outcome
386
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 31
Len 30
DT ST
Opt O
Rp/#
Tbl#
Item# 90080
Element name
Usage Notes
Ref
Format
Report Completed By Who completed the R/CTO report. MH: This is used to transmit: Report Completed By
32
10
CE
90081
R/CTO Status
Status of the R/CTO. MH: This is used to transmit the status of an R/CTO for a client. Refer to Code List Book R/CTO Status
(b) Data elements and usage notes For relevant data elements and usage notes, see MFI table below. The following table defines the coding requirements for data elements in the MFI segment where indicated.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
387
Message Segments
Element Name Master File Application Identifier When Master File Identifier = PRA
Rules
Set to HCP for HCP Details Set to HCPCAMPUS for campuses a HCP works at Set to AUTHPSYCH for Authorised Psychiatrist Details When Master File Identifier = LOC Set to CAMPUS for Campus Details Set to SUBCENTRE for Subcentre Details Set to PROGRAM for Program Details Set to GAZSERV for Gazetted Service Details Set to DAILYBED for Daily Bed Status Details Set to BED for Bed Details Set to SUBCENTPROG for Subcentre Program Details Set to HELDBED for Held Bed Details
Seq 1
Len 60
DT CE
Opt R
Rp/#
Tbl# 0175
Item# 00658
Usage Notes This field containsLOCfor Location Master File (M05), This field contains PRAfor Practitioner Master File (M02)
Ref
Format LOC
Example
2 3 4 5
180 HD 3 26 26 ID TS TS
O R O O 0178
HCP REP
388
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 6
Len 2
DT ID
Opt R
Rp/#
Tbl# 0179
Item# 00663
Element name
Usage Notes
Ref
Format NE
Example
Response Level Code Value: NE No application level responses will be sent back to sending application for master file notifications.
(b) Data elements and usage notes For relevant data elements and usage notes, see MFE table below. Table 325. Master File Entry (MFE) Segment
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
389
Message Segments
Seq 1
Len 3
DT ID
Opt R
Rp/#
Tbl# 0180
Item# 00664
Usage Notes
Ref
Format MAD
Example
Use MAD to send bed status for the first time for that Activity Date, or to add a reference table record. Use MUP to resend a bed status for a previously sent Activity Date, or to update a reference table record. Use MDL to remove a reference table record. Note: ODS is the only system that can ADD campus details. CMI and equivalents can UPDATE campus details and ADD subcentre and gazetted service details. Variant to HL7 MH: 19980902
2 3
20 26
ST TS
O R
00665 00662
Note:
390
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 4
Len
DT
Opt O
Rp/# Y
Tbl#
Item# 00667
Ref
Format
Example
200 Varies
(b) Data elements and usage notes For relevant data elements and usage notes, see LOC table below. The following table defines the coding requirements for data elements in the LOC segment where indicated.
Element Name Location Address Rules To transmit Address, populate <street address> ; To transmit Suburb, populate <other designation> ; To transmit State, populate <state or province> ; To transmit Postcode, populate <zip or postal code> ; To transmit MHA code, populate <other geographic designation> : <street address>^<other designation>^^<state or province>^<zip or postal code>^^^<other geographic designation>
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
391
Message Segments
Seq 1
Len
DT
Opt R
Rp/#
Tbl#
Item# 01307
Usage Notes MH: This is used to transmit Campus Code Refer to Code List Book Service Provider Code
Ref
Format BBBB
Example
200 PL
2 3 4
48 2 90
ST IS XON
O R O Y 0260
Location Description Location Type Organisation Name Value: L MH: This is used to transmit Subcentre Name (if MFI-2 = SUBCENTRE), Campus Name (if MFI-2 = CAMPUS) MH: This is used to transmit Subcentre Address, Suburb, State and Postcode (if MFI-2 = SUBCENTRE), Campus Address, Suburb, State, Postcode and MHA code (if MFI-2 = CAMPUS) Refer to Code List Book State Mental Health Area , L Monash CAT
106 XAD
00948
Location Address
40
XTN
00949
Location Phone
MH: This is used to transmit Subcentre Phone Number (if MFI-2 = SUBCENTRE), Campus Phone Number (if MFI-2 = CAMPUS)
94897766
7 8
60 3
CE IS
O O
Y Y 0261
00951 00953
392
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
(b) Data elements and usage notes For relevant data elements and usage notes, see LCH table below. The following table defines the coding requirements for data elements in the LCH segment where indicated.
Element Name Primary Key Value LCH Rules To transmit Subcentre Code, populate <point of care> ; To transmit Subcentre Type, populate <location status> ; To transmit Program Classification, populate <person location type> <point of care>^^^^<location status>^<person location type> Location Characteristic ID If MFI-2 = DAILYBED Location Characteristic will contain HELD, OCCUPIED, ONLEAVE, APPROVED, OPERATIONAL, PURCHASED (in repeating segments). If MFI-2 = PROGRAM Location Characteristic will contain TARGETPOP, AMHS, FUNDSOURCE (in repeating segments). If MFI-2 = SUBCENTRE Location Characteristic will contain OPENREASON If MFI-2 = HELDBED Location Characteristic will contain HELDBED If MFI-2 = BED Location Characteristic will contain APPROVED, OPERATIONAL, PURCHASED Location Characteristic Value This will contain the value for the characteristic specified in Location Characteristic ID for the current segment.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
393
Message Segments
Seq 1
Len
DT
Opt R
Rp/#
Tbl#
Item# 01305
Usage Notes MH: This is used to transmit Subcentre Code, Program Classification and Subcentre Type Refer to Code List Book "Program Class", Subcentre Type
Ref
Format
Example CCCC^^^^C^A
200 PL
2 3 4
1 80 80
ID EI CE
O O O
0206
00763 00764
Segment Action Code Segment Unique Key Location Characteristic ID MH: This is used to transmit Bed Category (Held Beds, Occupied Beds, On Leave, Approved Beds, Operational Beds, Purchased Beds) Program Characteristic (Target population, AMHS and Funding source) Subcentre Open reason Held Bed (Held Bed) Bed (Approved, Operational, Purchased Beds) Note: Variant to HL7 HELD
0324
01295
394
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 5
Len 80
DT CE
Opt O
Rp/#
Tbl#
Item# 01237
Usage Notes MH: This is used to transmit Number of Beds in this Bed Category, Value for Program Characteristic, Subcentre Open Reason Refer to Code List Book "Target Population Area , Mental Health Service , Funding Source , Open Reason Note: Variant to HL7
Ref
Format 2
Example
(b) Data elements and usage notes For relevant data elements and usage notes, see LDP table below. The following table defines the coding requirements for data elements in the LDP segment where indicated.
Element Name Specialty Type Rules To transmit Program Code, populate <identifier> ; To transmit Program Description, populate <text> : <identifier>^<text>
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
395
Message Segments
Seq 1 2 3
Len
DT
Opt O O O
Rp/#
Tbl#
Item# 00963
Element name Primary Key Value LDP Location Department Location Service Note: Note:
Ref
Format
Example
200 PL 10 3 IS IS
0264 Y 0069
00964 00965
MH: This is used to transmit Ward/Residential Type Refer to Code List Book Ward/Residential Type
60
CE
0265
00966
Specialty Type
MH: This is used to transmit Program Code, Program Description MH: This is used to transmit Locked Type (for Beds) Refer to Code List Book Locked Type
IS
0004
00967
6 7
1 26
ID TS
O O
0183
00675 00969
Active/Inactive Flag Activation Date MH: This is used to transmit Subcentre Open Date (if MFI2 = SUBCENTRE), Subcentre Program Start Date (if MFI-2 = SUBCENTPROG), Campus Open Date (if MFI-2 = CAMPUS), Gazetted Service Proclaimed Date (if MFI-2 = GAZSERV), Bed Effective Date (if MFI-2 = BED), Program Start Date (if MFI-2 = PROGRAM) 19980101
396
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 8
Len 26
DT TS
Opt O
Rp/#
Tbl#
Item# 00970
Usage Notes MH: This is used to transmit Subcentre Close Date (if MFI-2 = SUBCENTRE), Subcentre Program End Date (if MFI-2 = SUBCENTPROG), Campus Close Date (if MFI-2 = CAMPUS, Gazetted Service End Date (if MFI-2 = GAZSERV), Program End date (if MFI-2 = PROGRAM) MH: This is used to transmit Subcentre Termination Reason (if MFI-2 = SUBCENTRE), Reason for change to Bed Numbers (if MFI-2 = BED). Refer to Code List Book Termination Reason , Reason for Change to Bed Numbers
Ref
Format
Example 19980202
80
ST
00971
Inactivated Reason
06
10 11
80 40
VH
0267
00976 00978
XTN O
(b) Data elements and usage notes For relevant data elements and usage notes, see STF table below.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
397
Message Segments
The following table defines the coding requirements for data elements in the STF segment where indicated.
Element Name Staff Name Rules To transmit Surname, populate <family name> ; To transmit Given Name, populate <given name> ; To transmit Title, populate <prefix> : <family name>^<given name>^^^<prefix> Staff Type If MFI-2 = HCP Possible values are CASEMANAGER, CLINICIAN, DELEGATE, DOCTOR, GP,PRIVATEPSYCH. All codes appropriate to the HCP will be transmitted in this repeating field. If MFI-2 = AUTHPSYCH Set only one value in this field, to AUTHPSYCH. Office/Home Address To transmit Address, populate <street address> ; To transmit Suburb, populate <other designation> ; To transmit State, populate <state or province> ; To transmit Postcode, populate <zip or postal code> : <street address>^<other designation>^^<state or province>^<zip or postal code>
Seq 1 2
Len 60 60
DT CE CX
Opt O O
Rp/#
Tbl#
Item# 00671
Ref
Format
Example
00672
398
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 3
Len 48
DT XPN
Opt O
Rp/#
Tbl#
Item# 00673
Usage Notes MH: This is used to transmit Title, Surname and Given Name Refer to Code List Book Title
Ref
Format
Example
IS
0182
00674
Staff Type
MH: This is used to transmit what roles the HCP will carry out. (All codes appropriate for the HCP will be transmitted.) Refer to Code List Book HCP Type
CASEMANAGER~DO CTOR
5 6 7 8 9
1 26 1
IS TS ID
O O O O O Y Y
0001
00111 00110
Sex Date/Time of Birth Active/Inactive Department Service MH: This is used to transmit Campus Code for the HCP/Authorised Psychiatrist. Populate only one occurrence. Refer to Code List Book Service Provider Code AAAA
200 CE 200 CE
10
40
XTN
00678
Phone
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
399
Message Segments
Seq 11
Len
DT
Opt O
Rp/# Y
Tbl#
Item# 00679
Usage Notes MH: This is used to transmit Address, Suburb, State and Postcode. Refer to Code List Book State
Ref
Format
Example
106 XAD
12
26
CM
00680
Activation Date
MH: This is used to transmit one occurrence of either HCP Start Date, Authorised Psychiatrist Start Date, HCP Start Date at Campus MH: This is used to transmit HCP End Date, HCP End Date at Campus
13
26
CM
00681
Inactivation Date STF Backup Person ID E-mail address Preferred Method of Contact Marital Status Job Title Job Code/Class
14 15 16 17 18 19
60 40 1 1 20 20
CE ST ID IS ST JCC
O O O O O O
Y Y 0185 0002
MH: This is used to transmit Discipline Refer to Code List Book Discipline
31
20 21
2 1
IS ID
O O
0066 0136
01276 01275
3100
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Seq 22 23 24 25 26
Len 25 1 8 8 8
DT DLN ID DT DT DT
Opt O O O O O
Rp/#
Tbl#
Item# 01302
Element name Driver License s Number Staff Copy Auto Ins Auto Ins. Expires Date Last DMV Review Date Next DMV Review
Usage Notes
Ref
Format
Example
0136
(b) Data elements and usage notes For relevant data elements and usage notes, see QRD table below. The following table defines the coding requirements for data elements in the QRD segment where indicated.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
3101
Message Segments
Rules To transmit Statewide UR Number, populate <ID> and set <identifier type code> to SWUR ; To transmit CMI Client Number, populate <ID> and set <identifier type code> to CI ; To transmit Client Surname, populate <family name> ; To transmit Client First Name, populate <given name> : <ID>^<family name>^<given name>^^^^^^^^^^<identifier type code>
For Admission History query, set to WRDADM For Placement History query, set to RESPLC For R/CTO history query, set to CTO For Legal status history query, set to LEGHISTORY For demographics query, set to CLIENT For most recent legal status query, set to LEGCURRENT For most recent admission query, set to ADMCURRENT For Status of CTO Transfer Out query, set to CTOSTATUS For Contacts history query, set to CONTACT For all cases for a client query, set to CASE For all episodes for a client query, set to EPISODE For diagnosis history query, set to DIAGNOSIS For MHRB Hearing history, set to MHRBHEAR For Client Search, set to CLSEARCH For Final Registration Check, set to REGCHECK For Request Campus Download, set to CMPDWNLD For Request Bed Status Details, set to BEDSTATUS For Request UR Number, set to REQUESTUR. For Request Submission Reports, set to SUBMRPT
3102
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Rules To transmit CTO Id, populate <identifier> and set <text> to CTO ; To transmit Campus Code, populate <identifier> and set <text> to CAMPUS ; To transmit Program Class, populate <identifier> and set <text> to PROGCLASS : <identifier>^<text>
Seq 1 2
Len 26 1
DT TS ID
Opt R R
Rp/#
Tbl#
Item# 00025
Usage Notes MH: Date & time of query Value = T (tabular) if multiple records are expected to be returned. Value = R (record) if a single record is expected to be returned.
Ref
Format
Example 199802021400 T
0106
00026
3 4 5 6 7
1 10 1 26 10
ID ST ID TS CQ
R R O O O
0091
00027 00028
Query Priority Query ID Deferred Response Type Deferred Response Date/Time Quantity Limited Request
0107
00029 00030
0126
00031
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
3103
Message Segments
Seq 8
Len 60
DT XCN
Opt O
Rp/# Y
Tbl#
Item# 00032
Usage Notes MH: This is used to transmit Statewide UR Number, CMI Client ID, Client Surname, given name, Note: Variant to HL7
Ref
Format
Example
60
CE
0048
00033
MH: This field is used to transmit the type of query requested MH: This is used to transmit CTO Id, Campus and Program Class. Refer to Code List Book Service Provider Code , Program Class Note: Variant to HL7
REQUESTUR
10
60
CE
00034
1234567^CAMPUS~9 876^PROGCLASS
11
20
ST
00035
MH: This is used to transmit Soundex Indicator Refer to Code List Book Soundex Flag
12
ID
0108
00036
(b) Data elements and usage notes For relevant data elements and usage notes, see QRF table below. The following table defines the coding requirements for data elements in the QRF segment where indicated.
3104
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Message Segments
Rules To transmit Date of Birth, populate <identifier>, and set <text> to DOB ; To transmit Date of Birth Range, populate <identifier>, and set <text> to DOBRANGE ; To transmit Sex, populate <identifier>, and set <text> to SEX ; To transmit Medicare Number, populate <identifier>, and set <text> to MEDICARE : <identifier>^<text>
Seq 1
Len 20
DT ST
Opt R
Rp/# Y
Tbl#
Item# 00037
Usage Notes MH: This field is used to transmit Campus Code. Refer to Code List Book Service Provider Code
Ref
Format BBBB
Example
26
TS
00038
MH: This field is used to transmit Schedule start date, Bed Status Date, Submission Report Start Date. MH: This field is used to transmit Schedule end date, Submission Report End Date.
19980104
26
TS
00039
19980430
60
ST
00040
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
3105
Message Segments
Seq 5
Len 60
DT CE
Opt O
Rp/# Y
Tbl#
Item# 00041
Usage Notes MH: This is used to transmit DOB, DOB range, Sex and Medicare Number. See table above. Refer to Code List Book Sex Note: Variant to HL7
Ref
Format
6 7 8 9
12 12 12 60
ID ID ID TQ
O O O O
Y Y Y
Which Date/Time Qualifier Which Date/Time Status Qualifier Date/Time Selection Qualifier When Quantity/Timing Qualifier
3106
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
41
Lower-Layer Protocols
a) Error free transmission. Applications can assume that they correctly received all of the transmitted bytes in the correct order that they were sent. This implies that error checking is done at a lower level. However, sending applications may not assume that the message was actually received without receiving an acknowledgement message. b) Character conversion. If the two machines exchanging data use different representations of the same character set, the communications environment will convert the data from one representation to the other. c) Message length. HL7 sets no limits on the maximum size of HL7 messages. The Standard assumes that the communications environment can transport messages of any length that might be necessary. Note: Just as HL7 makes no assumptions about the design or architecture of the application systems sending and receiving HL7 messages, it makes no assumptions about the communications environment beyond those listed above. In particular, aside from the above assumptions, the communications environment, including its architecture, design and implementation, is outside the scope of HL7.
42
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Lower-Layer Protocols
Where an unreliable transport mechanism is used, a checksum is used to mathematically determine that the data has arrived uncorrupted. For example: Hybrid LLP: used only for unreliable transports, i.e., serial. <SB>D21<CR> segment<CR> segment<CR> more segments<CR> cccccxxx <EB><CR> where c=length ( 5 bytes ) x=checksum ( 3 bytes ) and <CR> =0x0D, <SB>=0x0B, <EB>=0x1C eg <013>MSH|||||<CR>EVN|||||<CR>PID|||||<CR>cccccxxx<014>
The Lower Level Protocol (LLP) requirements for the RAPID project are based on the use of TCP/IP as the base communications protocol. It is a mandatory requirement that any external system wishing to communicate with the RAPID subsystems implements TCP/IP as the transport protocol. Any external system will also need to register with the RAPID management, the IP Address of the server which they will be using to send information to RAPID. RAPID will only accept information from the IP Address which is registered for that facility. RAPID will also only send HL7 information to registered facilities, and the information will always be sent to the IP Address that has been registerd for that facility. This means that machines for which IP Addresses are dymanically allocated will not be able to send information to any of the RAPID subsystems. RAPID will use the Minimal LLP, which is intended for use over error-free links and reliable transport protocols such as TCP/IP. The use of the Hybrid LLP is unnecessary in an IP environment. The checksums introduced by the use of the Hybrid LLP are for integrity checking across network links. With IP, checksums over data and header are inherent to the protocol. In particular with TCP the protocol will request retransmission if checksum errors are detected. So another checksum doesn add further protection but does add to transmission t overheads.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
43
Lower-Layer Protocols
44
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Chapter 5 Reporting
Report requests will be transmitted to DWH using the T12 trigger. Report period can be specified using segments QRD and QRF. Hard copy reports will be produced and provided to the service provider the next day at latest. Report Definitions will be provided at a later date.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
51
Chapter 6 Scenarios
The following scenarios do not attempt to give a complete picture of a patient episode of care. They are intended to provide examples of s how the triggers and segments may be transmitted.
6.1. Emergency
Note: Nature of main injury, Body region, Description of injury event, Injury Cause, Human Intent, Type of place where injury occurred and Activity when injured are transmitted in the diagnosis code field of the DG1 segment. These data items are identified separate to the ICD diagnosis code by the name of coding system sub component of the diagnosis code.
Example 1 Joe is transported via an ambulance (case # 048851) to the emergency department at hospital AAAA. He is registered at 3:45pm on 27/8/99 and presents to triage 3 minutes later. A nurse first attends him at 3:57 pm and the doctor follows at 4:03pm. He is diagnosed with an eye injury and has an eye examination performed. He is subsequently discharged to go home at 4:32pm. A04 Register a patient
MSH|^~\&||AAAA||DWH|199808271545||ADT^A04|000008|P|2.3<cr> EVN|A04|199808271545<cr> PID|||0012345678^^^^PI||||19710105|1||1|^^CARNEGIE^^3163||||||||1234567890 1 JOS||||1102<cr> PV1||E||1||||1|||||||||||8888888|6|||||||||||||||||||AAAA|||||199808271545<cr> IN1|||HBA||||||||||||01<cr> ZEM|4||0000048851<cr>
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
61
Scenarios
62
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Scenarios
DG1|6||24^Struck by or collision with object^INJCAU<cr> DG1|7||1^Accident^HUMINT<cr> DG1|8||A^Athletics and sports area^TYPLC<cr> DG1|9||S^Sports^ACTINJ<cr> PR1|1||83^Eye Examination^VEMD<cr>
Example 2 Joe is walks into the emergency department at hospital AAAA. He is registered at 3:45pm on 27/8/99 and presents to triage 3 minutes later. A doctor first attends him at 4:03pm. He is diagnosed with a migraine and has a CT scan performed. He is subsequently admitted to a ward for further observation at 4:32pm. A04 Register a patient
MSH|^~\&||AAAA||DWH|199808271545||ADT^A04|000008|P|2.3<cr> EVN|A04|199808271545<cr> PID|||0012345678^^^^PI||||19710105|1||1|^^CARNEGIE^^3163||||01||||1234567890 1 JOS||||1102<cr> PV1||E||1|||||||||||||||8888888|6|||||||||||||||||||AAAA|||||199808271543<cr> IN1|||HBA||||||||||||01<cr> ZEM|7<cr>
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
63
Scenarios
Example 1 Joe is admitted to a ward from the emergency department. He suffered a blow to the head. He was released from hospital the next day. A01 Admit/visit notification
MSH|^~\&||AAAA||DWH|199808271640||ADT^A01|12345678|P|2.3<cr>
64
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Scenarios
Example 2 Sarah is admitted for knee surgery from the booking list. A01 Admit/visit notification
MSH|^~\&||AAAA||DWH|199808271545||ADT^A01|12345680|P|2.3<cr> EVN|A01|199808271545<cr> PID|||0012345678^^^^PI||||19710105|2||1|^^CARNEGIE^^3163|||||1|||1234567891 1 SAR||||01<cr> PV1||I|^^^^^2|X||||||||||L||||4|8888888|PJ1|||||||||||||||||||BBBB|||||199808271545<cr> PV2|||0|||||||2||||||||1<cr> PD1||1<cr>
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
65
Scenarios
IN1|||HBA||||||||||||01<cr>
Example 3 John has stones that require attention. The procedure to be performed has been contracted out to hospital CCCC from hospital AAAA. John was not admitted to hospital AAAA. This represents hospital AAAA transmissions. A01 Admit/visit notification
MSH|^~\&||AAAA||DWH|199808271545||ADT^A01|12345682|P|2.3<cr> EVN|A01|199808271545<cr> PID|||0012345678^^^^PI||||19710105|2||1|^^CARNEGIE^^3163|||||1|||1234567891 1 JOH||||01<cr> PV1||I|^^^^^2|X||||||||||L||||4|8888888|PJ1|||||||||||||||||||AAAA|||||199808271545<cr> PV2|||0|||||||2||||||||1<cr> PD1||1<cr> IN1|||HBA|||||||||||3<cr>
66
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Scenarios
Subsequently, the team take Kim to triage at a hospital (campus BBBB). Triage decide to register Kim, and record this on the system at approximately 1am, 11/11/1998. The Registration details are updated. A Client Search is performed on ODS, ODS returns a match for Kim as Statewide number 1111111111. Details are updated & Kim is registered at campus BBBB. Registration - A04 Register a Patient
MSH|^~\&||BBBB||ODS|199811110105||ADT^A04|0000012346|P|2.3<cr>
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
67
Scenarios
EVN|A04|199811110105|||98675^^^^^^^^BBBB|199811110105<cr> PID|||1111111111^^^^SWUR||Kimball^Kim^Nadia^^Ms||19700302|2|Kimball^Kimberley^Nadia^^Miss^^2^19700302^1^19981111^ZZZZ|4|123 Smith St^Collingwood^^VIC^3100||0395884621||01|1|0001||3900198883 1 ALB||||1102<cr> PV1||C||||||||||||||||5|REGISTRATION||||||||||||||||||||BBBB|||||199811110105<cr> PD1|3|1<cr> IN1|1<cr> IN2||||||||||||||||||||||||||||||||||||||||||||||99||S<cr> ZMH|||||||||||||||||||||||||||||||||0|81|08|D|1<cr>
On 12/11/98 an assessment is performed (at Campus BBBB) & the assessing clinician decides a community team (subcentre JJJJ) should treat Kim. Start case & start episode - A04 Register a Patient
MSH|^~\&||BBBB||ODS|199811121400||ADT^A04|0000012347|P|2.3<cr> EVN|A04|199811121400|||98675^^^^^^^^BBBB|199811112400<cr> PID|||1111111111^^^^SWUR<cr> PV1||C|JJJJ||||||||||||||||||||||||||||||||||||BBBB<cr> ZMH||||||||||||||9999999999|19981112||8888888888|19981112<cr>
The campus appoints a Case Manager for Kim on 20/11/1998. Start Case Management - A08 Update Patient Details
MSH|^~\&||BBBB||ODS|19981120||ADT^A08|0000012348|P|2.3<cr> EVN|A08|199811201600<cr> PID|||1111111111^^^^SWUR<cr> PV1||C|JJJJ||||||||||||||||||||||||||||||||||||BBBB<cr>
68
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Scenarios
ZMH||||||||||||||9999999999||||||1111|12385^^^^^^31^^BBBB|19981120<cr>
Wellbeing performed for Kim on 21/11/1998. Wellbeing - R01 Unsolicited Transmission of an observation message
MSH|^~\&||BBBB||DWH|19981121||ORU^R01|0000012349|P|2.3<cr> EVN|R01|19981121<cr> PID|||1111111111^^^^SWUR<cr> PV1||C|JJJJ||||||||||||||||||||||||||||||||||||BBBB<cr> OBR||||WELLBEING^1111<cr> OBX|1|RS2|WELLBEING|HNSADL|12||||||F|||19981121|| 67856788^^^^^^31^^BBBB<cr> OBX|2|RS2|WELLBEING|HNSADL|2^1~0^2~2^3~1^4~1^5~9^6~1^7~1^8~1^9~2^10~1^11~0^12<cr>
Time passes & Kim has been recommended, admitted and made involuntary. Throughout this time the community episode continues. A diagnosis is performed for Kim on 1/1/1999, the diagnosis is ???. Diagnosis A08 Update Patient Information
MSH|^~\&||BBBB||ODS|19990101||ADT^A08|1000222222|P|2.3<cr> EVN|A08|19990101<cr> PID|||1111111111^^^^SWUR<cr> PV1||I|||||||||||||||||987652||||||||||||||||||||BBBB|||||199811110105<cr> DG1|||F311^Bipolar affective disorder^ICD10AM^P~F101^Alcohol abuse^ICD10AM^A~G409^Suspected Epilepsy^ICD10AM^A~J459^Asthma^ICD10AM^A||19990101|||||||||||12345656^^^^^^31^^BBBB<cr> PR1|||5600100^CAT Scan^ICD10AM||1990101<cr>
Kim is separated from the inpatient unit on a CTO on 2/1/1999. (The legal status has previously been changed to s14.) The CTO requires 3monthly reporting.
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
69
Scenarios
Kim is discharged from the CTO on 6/8/1999. Discharge CTO A03 Discharge/End Visit
MSH|^~\&||BBBB||ODS|19990806||ADT^A03|1000222225|P|2.3<cr> EVN|A03|19990806||||19990806<cr> PID|||1111111111^^^^SWUR<cr> PV1||C|||||||||||||||||||||||||||||||||||||BBBB<cr> ZLE||123456^^CTO|||02||||||||||||||||||1990806<cr>
Kim legal status is set to voluntary on 6/8/1999. The community episode continues. s
610
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
Scenarios
Victorian Health Level 7 (HL7) DWH and ODS Interface Specification, Issue 1.2
611