to get the file - the Information Technology group of Family Medicine

advertisement
HL7 Interface Control Document
March 6, 2016
Notice of Confidentiality: The information contained in this document is the exclusive property of and is proprietary to
MDS Inc. This material may not in whole or in part be duplicated or used without the prior written consent MDS Inc.
HL7 Interface Control Document
TABLE OF CONTENTS
RESULTS RELEASE..................................................................................................................................................3
ORU – OBSERVATIONAL RESULTS (UNSOLICITED) ....................................................................................................3
MSH .......................................................................................................................................................................3
PID ........................................................................................................................................................................4
PV1 ........................................................................................................................................................................4
ZLB ........................................................................................................................................................................5
ZMN .......................................................................................................................................................................5
ZRG........................................................................................................................................................................6
ZFR ........................................................................................................................................................................6
ZMC .......................................................................................................................................................................7
ZCL ........................................................................................................................................................................7
ZCT ........................................................................................................................................................................8
OBR .......................................................................................................................................................................8
OBX .......................................................................................................................................................................9
NTE ......................................................................................................................................................................10
AUDIT ........................................................................................................................................................................10
COMMUNICATION ................................................................................................................................................11
EXAMPLES ............................................................................................................................................................... 11
MICROBIOLOGY EXAMPLE ............................................................................................................................... 11
HEMATOLOGY AND CHEMISTRY EXAMPLE.................................................................................................12
APPENDIX A .............................................................................................................................................................16
User Defined Table 0001 Province code .....................................................................................................................16
User Defined Table 0002 Priority code .......................................................................................................................... 16
User Defined Table 0003 Payment method ..................................................................................................................16
User Defined Table 0004 Patient class ........................................................................................................................17
Table 0085 Observation result status codes interpretation ............................................................................................17
Table 0155 Accept\application acknowledgment conditions ..........................................................................................17
Table 0178 File level event code ...................................................................................................................................18
Table 0180 Record level event code ..............................................................................................................................18
March 6, 2016
Confidential and Proprietary Information
Page 2 of 18
HL7 Interface Control Document
Results Release
ORU – Observational Results (Unsolicited)
These are the types of segments recognized by the MDS HL7 Interface:
MSH
Message Header
PID
Patient Identification
PV1
Patient Visit
[{ZLB}]
Lab Address Information
[{ZMN}]
Test Mnemonic Information - ** Mandatory
[{ZRG}]
Report Group Information - ** Mandatory
[{ZFR}]
Report Form Information - ** Mandatory
[{ZMC}]
Message Code Information - ** Mandatory
[{ZCL}]
Client Information
[{ZGB}]
Client Specific Information - ** Ignore for MDS Purposes Only
[{ZCD}]
Client Specific Information - ** Ignore for MDS Purposes Only
[{ZCT
Container Information (SPN)
[{OBR
Observation Request (RC)
[{OBX
Observation Result (RX)
[{NTE}]
Notes & Comments
}]
}]
Note: - All segments beginning with Z are MDS specific. Only the ZMC segment is mandatory and expected for
each message sent from MDS. Z segments are to be used for ‘lookup’ tables.
Note:
All segments beginning with Z are MDS specific.
ZMN, ZRG, ZFR, ZMC segments are mandatory and expected to be processed for each message
sent from MDS.
Information in ZFR is used in the audit file CURHST.0.
The rest of Z segments are to be used for ‘lookup’ tables.
MSH
Seq.
Element
Item #
Req.
Type*
Size
Comments
1
Field Separator
00001
R
ST
1
|
2
Encoding Characters
00002
R
ST
4
^~\&
3
Sending Application
00003
O
ST
180
7
Date\Time Of Message
00007
O
TS
26
9
Type
00009
R
CM
7
Only the first component is
sent and will be “ORU”.
10
Message Control ID
00010
R
ST
20
Sent in the form:
"MDS"
Fields
SRC
Client#-Accession-Highest
form#
11
Processing ID
March 6, 2016
00011
R
ID
Confidential and Proprietary Information
3
Page 3 of 18
HL7 Interface Control Document
Seq.
Element
Item #
Req.
Type*
Size
Comments
12
Version ID
00012
R
ID
8
Must be “2.3”
15
Accept Acknowledgment
Type
00015
O
ID
2
NE
16
Application
Acknowledgment Type
00016
O
ID
2
ER
Fields
Ex.
MSH|^~\&|MDS||||20010403074811||ORU|10596-QQQ720527-9-9|P^|2.3|||NE|ER
PID
Seq.
Element
Item #
Req.
Type*
Size
Comments
Fields
1
Set ID - Patient ID
00104
O
SI
4
Not sent
2
Patient ID (External ID)
00105
O
CK
16
Not sent
3
Patient ID (Internal ID)
00122
R
ST
16
4
Alternate Patient ID
00107
O
ST
15
5
Patient Name
00108
R
PN
48
NAME
7
Date\Time of Birth
00110
O
TS
26
DOB
8
Sex
00042
O
ID
1
SEX
13
Phone Number - Home
00116
O
XTN
40
PHN
19
SSN Number - Patient
00106
R
ST
16
Client Reference #
ODRCRF
Sent in the form:
MHN
“X”_OHIP#_” “_Version
MHN VER
If not available, must be
“z”_Patient ID (internal)
Ex.
PID|||2001-QQQ720527|2-|CCCRRRFFF^WILLIAM^||19210814|M|||||||||||X1111111111
PV1
Seq.
2
Element
Item #
Patient Class
00132
Req.
R
Type*
Size
Comments
IS
1
Always R
Fields
See User Defined Table 0004
for values
3
8
Assigned Patient
Location
Referring Doctor
00133
00138
O
O
PL
XCN
80
60
^1&1
^1&2
^9&2
^9&2
EntryLocation
Only components 1,2,4 & 6
are used.
Version (blank) Requisitioning
Physician Code
& Name
If left blank, Admitting Doctor
is used.
9
Consulting Doctor
March 6, 2016
00139
O
XCN
60
Confidential and Proprietary Information
Only components 1,2,4,6 &
13 are used.
Component 1 will be:
Version-Report To Client
Component 13 will be in the
form:
(0 for ordering Dr., 1 for On
OriginalDatabase
PLO (string)
PLO (code)
Report To Clients
Copy-To Flag
Queue Call
Reports
Page 4 of 18
HL7 Interface Control Document
17
19
Admitting Doctor
00147
Visit Number
00149
R
R
XCN
CX
File Copy to, 2 for Order/Entry
Copy to) “-“ CopyToFlag_""_QueueReports(Y/N)
Only components 1,2,4,6 &
13 are used.
Component 1 will be:
9-Ordering Doctor-Ordering
Name
Component 13 will be in the
form:
CopyToFlag_""_QueueReports
Only the first component of
this field is used and is
defined as:
^1&1
^1&2
60
20
41
Account Status
00171
O
IS
2
44
Admit Date\Time
00174
R
TS
26
If left blank, 0 (partial) will be
used.
Ordering Doctor
Copy-To Flag
Queue Call
Reports
PAK
Entry Date\Time
Visit STATUS
Service Date
Ex.
PV1||R|^^^^^^^^|||||-010596^H. DOCTOR^^^^DR.|9-10596^^^^^^^^^^^^-0-Y||||||||9-10596^H.
DOCTOR^^^^DR.^^^^^^^-0-Y||||||||||||||||||||||||1|||20010313
ZLB
Seq.
Element
Item #
Req.
Type*
Size
Comments
2
MDS Lab Identifier
--
R
ST
5
This will be the lab
prefix
3
MDS Lab Identifier
Version
R
ST
4
MDS Lab Address
O
ST
100
5
MDS Primary Lab
R
ST
5
6
MDS Primary Lab
Version
R
ST
5
7
MDS LIS UCI
O
ST
5
8
MDS LIS VOL
O
ST
5
Fields
This will be the prime
lab prefix
Ex.
ZLB||4M|4|999 DRIVE ST. W. CITYVILLE ONTARIO |42|6|ABC|TRB
ZMN
Seq.
Element
Item #
Req.
Type*
Size
2
MDS Result
Mnemonic
--
R
ST
20
3
MDS Result
Mnemonic Version
R
ST
4
MDS Report Name
O
ST
5
Units
O
ST
6
MDS Cumulative
Sequence
O
ST
7
MDS Reference
C
ST
March 6, 2016
Comments
Fields
Code
60
Confidential and Proprietary Information
Only used for MDS
purposes
Page 5 of 18
HL7 Interface Control Document
Seq.
Element
Item #
Req.
Type*
Size
NM
20
10
Comments
Fields
Comments
Fields
Range
8
MDS Result Code
R
9
MDS Report Form
R
10
MDS Report Group
R
NM
11
MDS Report Group
Version
R
ST
Ex.
ZMN||CUL REP|174|CULTURE REPORT||0||84863|9|8000|4
ZRG
Seq.
Element
Item #
Req.
Type*
1
MDS Report
Sequence
--
R
ST
2
MDS Report Group
Identifier
R
NM
3
MDS Report Group
Version
R
ST
4
MDS Report Flags
R
ST
5
MDS Report Group
Description
O
TX
6
MDS Index
O
NM
7
MDS Report Group
Heading
O
TX
Size
10
Code
Only used for MDS
Purposes
30
Number of Report Group
Description Lines
65
Should appear as a
heading on the
physician’s report
Ex.
ZRG|1.1|7020|||REF-OUT FORM 70|1|
BIOCHEMISTRY
ZFR
Seq.
Element
Item #
Req.
Type*
Size
2
MDS Report Form
--
R
NM
1
3
MDS Report Form
Status
R
NM
1
4
MDS Testing Lab
O
ST
5
5
MDS Medical
Director
O
ST
6
Edit Flag
R
NM
7
Abnormal Flag
O
NM
Comments
Fields
Final or Partial
Report
0 - report has not
been edited
1 – report has been
edited
Ex.
ZFR||9|1|||0|0
March 6, 2016
Confidential and Proprietary Information
Page 6 of 18
HL7 Interface Control Document
Note: ZFR segment contains information for the specific MDS form, not for the whole report. One message could
have more than one ZFR segment.
In such case flags for the report are Boolean product from flags in all ZFR segments.
Ex.
ZFR||1|0|||0|1
ZFR||7|1|||0|1
In the above example report has two forms and the flags for the report are:
Status of the report (ZFR-3)
= 0 AND 1 = 0 – Report is Partial (incomplete).
Edit flag of the report (ZFR-6)
= 0 AND 0 = 0 – Report has not been edit
Abnormal flag of the report (ZFR-7) = 1 AND 1 = 1 – Report has abnormal results
ZMC
Element
Item #
Req.
Type*
Size
1
Seq.
Set ID
--
O
SI
4
Comments
Fields
2
MDS Message Code
Identifier
R
ST
10
Code
3
MDS Message Code
Version
R
ST
4
Number of Message
Code Description
Lines
R
ST
30
HIP English
5
MDS Signifigant
Flag
R
NM
5
Signi
6
MDS Message Code
Description
R
TX
64K
Ex.
ZMC|2.1|NFG|1|1|Y|NO FUNGAL GROWTH AFTER 3 WEEKS INCUBATION.
ZCL
Seq.
Element
1
Set ID
2
Consulting Doctor
Item #
Req.
Type*
Size
-----
O
SI
4
00139
R
XCN
60
Comments
Fields
Only components 1,2,4,6&13
are used.
Client# Version
Code
Name
Client Type
3
Client Address
00114
O
XAD
106
Uses components 1,2,3,4 & 5
of HL7 defined structure for
Patient Address.
Street
City
Province
Postal Code
4
Route
-----
O
ST
6
Route~Route~Route~…
5
Stop
-----
O
ST
6
Stop~Stop~Stop~…
6
Area
-----
O
ST
2
Area~Area~Area~…
7
Report Set
-----
O
ST
1
ReportSet~ReportSet~…
March 6, 2016
Confidential and Proprietary Information
Page 7 of 18
HL7 Interface Control Document
Seq.
Element
Item #
Req.
Type*
Size
Comments
Fields
8
Client Type
-----
O
ST
5
Report
Destinations
9
Client Modem Pool
-----
O
ST
2
Pool
10
Client Fax Number
-----
O
TN
40
Office Fax
11
Client Backup Fax
Number
-----
O
TN
40
Number
Backup Fax
Number
Ex.
ZCL||9-10596^H. DOCTOR^^^^DR.^^^^^^^L2C--|110-185 THE WEST MALL^ETOBICOKE,ONT^^^Z9Z
5L5|900|143|01|2|L2C||4166209774
ZCT
Seq.
Element
Item #
Req.
Type*
Size
Comments
Fields
2
Barcode Identifier
--
R
ST
14
4
Placer Group
Number
00218
R
CM
14
A value used to
collect several orders
together in a group.
This value represents
an “ordering session”
for a single patient
and is sometimes
referred to as an
accession or
requisition.
SPN
7
Observation
Date\Time
00241
C
TS
26
The date\time the
specimen was collected
into the container.
COLL DT
SID
COLL TM
Ex.
ZCT||QQQ720527-02||QQQ720527-02|||20010313
OBR
Seq.
Element
Item #
Req.
Type*
Size
2
Placer Order Number
00216
R
CM
75
4
Universal Service ID
00238
O
CE
200
March 6, 2016
Confidential and Proprietary Information
Comments
Fields
This field identifies a
single laboratory test to
be performed. The values
in the <identifier> and
<name of coding system>
components are used. The
<name of coding system>
could be CPT-4, SNOMED,
LOCAL, etc. If the <name
of coding system>
component isn’t supplied
then LOCAL is assumed.
Currently only the LOCAL
coding system is
TC
Page 8 of 18
HL7 Interface Control Document
Seq.
Element
Item #
Req.
Type*
Size
Comments
Fields
supported.
7
Observation
Date/Time
00241
C
TS
26
COLDT
COLTM
14
Specimen Received
Date/Time
00248
C
TS
26
OEDT
OETM
20
Filler Field 1
00253
O
ST
60
COL IDXôOE IDX
COL IDX
OE IDX
27
Quantity/Timing
00260
O
TQ
200
Only the priority
component is used. See
User Defined Table 0002
for values. If not
defined, ‘R’ is used.
OEPRIO
Ex.
OBR||101||879|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX
Seq.
Element
Item
#
Req.
Type*
2
Value Type
00570
R
ID
2
Will always be ST
3
Observation
Identifier
00571
R
CE
80
Only the first three
components are sent.
<identifier>^<text>^<name
of coding system>
The coding system will
always be "L" for LOCAL
and the first component
will be:
Version – MNE (MDS Result
Mnemonic)
4
Observation
Sub-ID
00572
C
ST
5
Observation
value
00573
C
*
6
Units
O
ST
7
MDS
Reference
Range
C
ST
Size
Q
64K
Abnormal Flags
00576
O
ID
5
11
Observation
Result Status
00579
R
ID
2
Producer's ID
00583
CE
RC
Sent in the form:
RRS-RSQ-RC
Format depends on value stored
in OBX-2
RX
RX ABN
FLAG
See Table 0085 for values.
^CONFIG("HL7",
"OBX RX STATUS"
O
Fields
60
8
15
Comments
60
RX
STATUS
RX LOC
* Data types are defined in section 2.4.5 of the Health Level Seven document
Ex.
OBX||ST|51-CUL STAT^CULTURE STATUS^L|82150-1-82150|PRELIMINARY||||||F||||10^999 DRIVE ST. W. CITYVILLE ONTARIO ^L
OBX||ST|52-CUL STAT^CULTURE STATUS^L|82151-1-82151|FINAL||||||F||||10^999 DRIVE ST. W. CITYVILLE ONTARIO ^L
March 6, 2016
Confidential and Proprietary Information
Page 9 of 18
HL7 Interface Control Document
OBX||ST|5-FUN REP^FUNGAL REPORT^L|82461-1-82461|||||||F||||10^999 DRIVE ST. W. CITYVILLE ONTARIO ^L
NTE
Seq.
Element
Item #
Req.
Type*
Size
1
Set ID - Notes
And Comments
00096
O
SI
4
2
Source of Comment
00097
O
ID
8
3
Comment
00098
O
ST
64K
Comments
Fields
not sent
MS KEY
(MC or M)
MC see ZMC
segment
Value in component 1
depends on the value stored in
NTE-2
MS FREE
TEXT
MS TYPE
<message type (ST) or
message version
(NM)>^<message text (ST)>
Ex.
NTE||MC|1^NFG
AUDIT
For auditing purposes, MDS requires that a flat file be created in the same folder as where the MDS files are being
placed. The file name is to be “CURHST.0”.
It is to be created after results have been received from MDS, so that this file can be read the next time MDS
connects to send more results.
MDS requires that this file contain the following information for each message processed since the last connection:
Note: Every time MDS connects to the host PC a busy.txt file is created to indicate to the host that it shouldn’t try to
append to CURHST.0 or try to process the MDS files.
Name
Length
Processed Date
11 chars
Processed Time
8 chars
Log ID
7 chars – REC for Received report
Form Status
1 char – F for final – P for partial
Form Type
1 char – See ***
Accession
9 chars – found in MSH seq 10
Health Card Number
10 chars – found in PID seq 19 strip off X
Health Card Version Code 2 chars – found in PID seq 19
Patient Name
61 chars
Ordering Client #
8 chars
Message Date
11 chars - **
Message Time
8 chars - **
** Should be retrieved from MSH segment of HL7 message MDS sent (MDS timestamp when HL7 message was
created
March 6, 2016
Confidential and Proprietary Information
Page 10 of 18
HL7 Interface Control Document
*** form# is found in MSH segment as follows:
10
Message Control ID
00010
R
ST
20
Sent in the form:
Client#-Patient ID-form#-client
version#
Form 1 = S, Form 4 = X, Form 5 = C, Form 6 = H, Form 7 = A, Form 9 = M
Note: Each field is delimited by 2 spaces.
AUDIT EXAMPLE:
02-OCT-2001 11:39:38 REC
F M 7P2740623 2890268002 CC KASTNER,MARYLOU C
109785 02-OCT-2001 11:14:20
1 record per PID segment.
1 record per ZFR segment.
Communication
To communicate with MDS, a copy of BHOST version 10.2 (Windows) needs to be installed at the receiver’s end.
The following is a link to that product’s web page:
http://www.blast.com/
The communication is done by dial-up and a dedicated phone line is also required. The phone line must not be part
of a multi-line system.
EXAMPLES
MICROBIOLOGY EXAMPLE
<sb>MSH|^~\&|MDS||||20000925132902||ORU|111111-WNXXXXXXX-9|P^|2.3.0|||NE|ER
ZLB||WN||1 QUEEN ST. TORONTO 613-555-1111|W2||EGC|EOA
ZRG|1.1|4000|||ROUTINE CHEMISTRY I|1|
ZRG|2.1|8000|||MICROBIOLOGY CULTURE|3|
ZRG|2.2|8000|||MICROBIOLOGY CULTURE|3|
MICROBIOLOGY
ZRG|2.3|8000|||MICROBIOLOGY CULTURE|3|CULTURE AND SENSITIVITY
ZMN||K||POTASSIUM|MMOL/L|1160|3.5 - 5.2|42507|1|4000
ZMN||CUL REP||CULTURE REPORT||0||81067|9|8000
ZMN||CUL REP||CULTURE REPORT||0||81069|9|8000
ZMN||LAB #||LAB #||0||81001|9|8000
ZMN||SPEC NO||SPECIMEN NUMBER||0||81003|9|8000
ZMN||SOURCE||SOURCE||0||81006|9|8000
ZMN||CUL STAT||CULTURE STATUS||0||81050|9|8000
ZMN||CUL STAT||CULTURE STATUS||0||81051|9|8000
ZMN||CUL REP||CULTURE REPORT||0||81061|9|8000
ZMN||CUL REP||CULTURE REPORT||0||81063|9|8000
ZMN||CUL REP||CULTURE REPORT||0||81065|9|8000
ZMC|1.1|CF||1|Y|COMMENSAL FLORA
ZCL||-2XXXXX^D.C. WHITE^^^^DR.^^^^^^^LT|1 QUEEN ST^TORONTO,ONT^^^K1K
1K1|738|3|07|2|LT||6135551111||0
March 6, 2016
Confidential and Proprietary Information
Page 11 of 18
HL7 Interface Control Document
PID|||1997-WNXXXXXXX|-|LASTNAME^JAMES^||19670610|M|||||333-11111||||||X1111111111 P
PV1||R|^^^^^^^^|||||-2XXXXX^D.C. WHITE^^^^DR.|||||||||-2XXXXX^D.C.
WHITE^^^^DR.^^^^^^^-0||||||||||||||||||||||||1|||19980110
ZFR||1|1|||0|0
ZFR||9|1|||0|0
ZCT||WNXXXXXXX||WNXXXXXXX|||
OBR||100||30225|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-K^POTASSIUM^L|42507-1-42507|4.3||||||F||||X0^1 QUEEN ST. TORONTO 555-5551111^L
ZCT||WNXXXXXXX-02||WNXXXXXXX-02|||
OBR||101||879|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-LAB #^LAB #^L|81001-1-81001|DNR||||||X||||X0^1 QUEEN ST. TORONTO 555-5551111^L
OBX||ST|-SPEC NO^SPECIMEN NUMBER^L|81003-1-81003|WNXXXXXXX-02||||||X||||X0^1 QUEEN ST.
TORONTO 555-555-1111^L
OBX||ST|-SOURCE^SOURCE^L|81006-1-81006|THROAT||||||F||||X0^1 QUEEN ST. TORONTO 555555-1111^L
OBX||ST|-CUL STAT^CULTURE STATUS^L|81050-1-81050|PRELIMINARY||||||F||||X0^1 QUEEN ST.
TORONTO 555-555-1111^L
OBX||ST|-CUL STAT^CULTURE STATUS^L|81051-1-81051|FINAL||||||F||||X0^1 QUEEN ST.
TORONTO 555-555-1111^L
OBX||ST|-CUL REP^CULTURE REPORT^L|81061-1-81061|||||||F||||X0^1 QUEEN ST. TORONTO 555555-1111^L
NTE||MC|^CF
OBX||ST|-CUL REP^CULTURE REPORT^L|81063-1-81063|DNR||||||X||||X0^1 QUEEN ST. TORONTO
555-555-1111^L
OBX||ST|-CUL REP^CULTURE REPORT^L|81065-1-81065|DNR||||||X||||X0^1 QUEEN ST. TORONTO
555-555-1111^L
OBX||ST|-CUL REP^CULTURE REPORT^L|81067-1-81067|DNR||||||X||||X0^1 QUEEN ST. TORONTO
555-555-1111^L
OBX||ST|-CUL REP^CULTURE REPORT^L|81069-1-81069|DNR||||||X||||X0^1 QUEEN ST. TORONTO
555-555-1111^L
<eb>
HEMATOLOGY AND CHEMISTRY EXAMPLE
<sb>MSH|^~\&|MDS||||20011206214758||ORU|9XXXX-SLXXXXXXX-1|P^|2.3.0|||NE|ER
ZLB||SL||1 QUEEN ST. TORONTO 555-555-1111|S0||DIC|NOA
ZRG|1.1|1000|||HEMATOLOGY I|1|
ZRG|2.1|1100|||HEMATOLOGY II|1|
ZRG|3.1|1101|||MORPHOLOGY|1|
ZRG|4.1|3000|||URINALYSIS|1|URINALYSIS: CHEMICAL
ZRG|5.1|4000|||ROUTINE CHEMISTRY I|1|
ZRG|6.1|5600|||SPECIAL CHEMISTRY II|1|
ZMN||WBC||WHITE BLOOD CELL COUNT|x E9/L|20|4.0 - 11.0|10250|1|1000
ZMN||NEUTS-R||RELATIVE:
NEUTS||0||12000|1|1100
ZMN||LYMPH-R||
(R)
LYMPH||0||12500|1|1100
ZMN||MONO-R||
(R)
MONO||0||12750|1|1100
ZMN||EOS-R||
(R)
EOS||0||13000|1|1100
ZMN||BASO-R||
(R)
BASO||0||13250|1|1100
ZMN||NEUT-A||ABSOLUTE:
NEUTS|x E9/L|108|2.0 - 7.5|13325|1|1100
ZMN||LYMPH-A||
(A)
LYMPH|x E9/L|111|1.0 - 3.5|13350|1|1100
ZMN||MONO-A||
(A)
MONO|x E9/L|112|0.0 - 0.8|13400|1|1100
ZMN||EOS-A||
(A)
EOS|x E9/L|110|0.0 - 0.5|13450|1|1100
ZMN||BASO-A||
(A)
BASO|x E9/L|109|0.0 - 0.2|13550|1|1100
ZMN||RBC||RED BLOOD CELL COUNT|x E12/L|70|4.50 - 6.00|10500|1|1000
ZMN||RBCM||RBC||210||14250|1|1101
ZMN||WBCM||WBC||220||14300|1|1101
ZMN||PLATM||PLATELETS||230||14350|1|1101
ZMN||ESR||SEDIMENTATION RATE (ESR)|MM/H|60|UP TO 13|15750|1|1000
March 6, 2016
Confidential and Proprietary Information
Page 12 of 18
HL7 Interface Control Document
ZMN||COLOR||
COLOUR||800||30050|1|3000
ZMN||APP U||
APPEARANCE||805||30150|1|3000
ZMN||SG||
SPECIFIC GRAVITY||820||30250|1|3000
ZMN||PH||
pH||830||30350|1|3000
ZMN||PROTU||
PROTEIN|G/L|835||30450|1|3000
ZMN||GLUU||
GLUCOSE|MMOL/L|810||30550|1|3000
ZMN||HGB||HEMOGLOBIN|g/L|30|135 - 175|10750|1|1000
ZMN||KET||
KETONE|MMOL/L|815||30650|1|3000
ZMN||BLD-U||
BLOOD||825||30750|1|3000
ZMN||NITRI||
NITRITE||840||32051|1|3000
ZMN||LEU EST||
LEUCOCYTE ESTERASE||845||32052|1|3000
ZMN||HBAIC||HbA1C||6450|0.040 - 0.060|42302|1|4000
ZMN||TSH||THYROTROPIN (SENSITIVE TSH)|MIU/L|2621|0.35 - 5.00|58010|1|5600
ZMN||UREA||UREA|MMOL/L|1130|2.5-8.0|42357|1|4000
ZMN||GLU-F||GLUCOSE-FASTING|MMOL/L|1000|3.6 - 6.0|41967|1|4000
ZMN||CREAT||CREATININE|UMOL/L|1900|60-125|42407|1|4000
ZMN||NA||SODIUM|MMOL/L|1150|135 - 147|42476|1|4000
ZMN||HCT||HEMATOCRIT||40|0.40 - 0.50|11000|1|1000
ZMN||K||POTASSIUM|MMOL/L|1160|3.5 - 5.2|42526|1|4000
ZMN||CL||CHLORIDE|MMOL/L|1170|95-110|42576|1|4000
ZMN||BILI-T||TOTAL BILIRUBIN|UMOL/L|1220|UP TO 22|43457|1|4000
ZMN||ALK||ALKALINE PHOSPHATASE|U/L|1240|40 - 120|43962|1|4000
ZMN||AST||ASPARTATE TRANSAMINASE(AST)|U/L|1250|10-40|43758|1|4000
ZMN||CHOL||CHOLESTEROL|MMOL/L|1270||42658|1|4000
ZMN||HDL||HDL CHOLESTEROL|MMOL/L|1300|0.77-1.68|42702|1|4000
ZMN||LDL||LDL CHOLESTEROL(CALCULATED)|MMOL/L|1290||42705|1|4000
ZMN||HDLRAT||CHOLESTEROL/HDL RATIO||1292|UP TO 5.0|42708|1|4000
ZMN||TRIG||TRIGLYCERIDES|MMOL/L|1280|0.60-3.60|42822|1|4000
ZMN||MCV||MCV|fL|80|80 - 95|11250|1|1000
ZMN||MCHC||MCHC|g/L|90|320 - 360|11500|1|1000
ZMN||MCH||MCH|pg|85|27.5 - 33.0|11750|1|1000
ZMN||PLAT||PLATELET COUNT|x E9/L|50|150-400|11760|1|1000
ZMN||RDW||RDW||95|11.5 - 14.5|14375|1|1000
ZMC|1.1|42650OD||1|Y|DESIRABLE: CHOLESTEROL < 5.20
ZMC|2.1|42750A||1|Y|DESIRABLE: LDL < 3.40
ZMC|3.1|A1C1||2|Y|A HBA1C OF 0.04 - 0.060 INDICATES NORMAL GLYCEMIC
ZMC|3.2|A1C1||2|Y|CONTROL IN NON-DIABETIC PATIENTS.
ZMC|4.1|NADI||1|Y|NO ABNORMALITIES DETECTED BY INSTRUMENT
ZCL||-9XXXX^D.R. DOCTOR^^^^DR.^^^^^^^LL|1 QUEEN ST^TORONTO,ONT^^^K1K
1K1|900|8805|06|2|LL||5555551111||0
ZCL||-9XXXX^D.R. DOCTOR^^^^DR.^^^^^^^LT|1 QUEEN ST^TORONTO,ONT^^^K1K
1K1|620|1|01|2|LT||7055609325||0
PID|||2001-SLXXXXXXX|-|LASTNAME^STEVE^||19400221|M|||||(555)555-1111||||||X1111111111
PV1||R|^^^^^^^^|||||-09XXXX^D.R. DOCTOR^^^^DR.|||||||||-9XXXX^D.R.
DOCTOR^^^^DR.^^^^^^^-0||||||||||||||||||||||||1|||20011205
ZFR||1|1|||0|1
ZCT||SLXXXXXXX||SLXXXXXXX|||
OBR||100||30225|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-COLOR^
COLOUR^L|30050-1-30050|||||||D||||^^L
OBR||100||30226|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-APP U^
APPEARANCE^L|30150-1-30150|||||||D||||^^L
OBR||100||30227|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-SG^
SPECIFIC GRAVITY^L|30250-1-30250|||||||D||||^^L
OBR||100||30228|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-PH^
pH^L|30350-1-30350|||||||D||||^^L
OBR||100||30229|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-PROTU^
PROTEIN^L|30450-1-30450|||||||D||||^^L
OBR||100||30230|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-GLUU^
GLUCOSE^L|30550-1-30550|||||||D||||^^L
OBR||100||30232|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-KET^
KETONE^L|30650-1-30650|||||||D||||^^L
OBR||100||30233|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-BLD-U^
BLOOD^L|30750-1-30750|||||||D||||^^L
OBR||100||30234|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-NITRI^
NITRITE^L|32051-1-32051|||||||D||||^^L
OBR||100||30235|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-LEU EST^
LEUCOCYTE ESTERASE^L|32052-1-32052|||||||D||||^^L
March 6, 2016
Confidential and Proprietary Information
Page 13 of 18
HL7 Interface Control Document
OBR||100||30236|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-NEUTS-R^RELATIVE:
NEUTS^L|1-1-12000|0.58||||||F||||S0^1 QUEEN ST.
TORONTO 555-555-1111^L
OBR||100||30237|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-HGB^HEMOGLOBIN^L|1-1-10750|153||||||F||||S0^1 QUEEN ST. TORONTO 555-5551111^L
OBR||100||30238|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-LYMPH-R^
(R)
LYMPH^L|2-1-12500|0.29||||||F||||S0^1 QUEEN ST.
TORONTO 555-555-1111^L
OBR||100||30239|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-HCT^HEMATOCRIT^L|2-1-11000|0.45||||||F||||S0^1 QUEEN ST. TORONTO 555-5551111^L
OBR||100||30240|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-WBC^WHITE BLOOD CELL COUNT^L|3-1-10250|4.8||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30241|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-RBC^RED BLOOD CELL COUNT^L|4-1-10500|4.84||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30242|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-MCV^MCV^L|5-1-11250|92.4||||||F||||S0^1 QUEEN ST. TORONTO 555-555-1111^L
OBR||100||30243|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-MCH^MCH^L|6-1-11750|31.7||||||F||||S0^1 QUEEN ST. TORONTO 555-555-1111^L
OBR||100||30244|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-MCHC^MCHC^L|7-1-11500|343||||||F||||S0^1 QUEEN ST. TORONTO 555-555-1111^L
OBR||100||30245|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-RDW^RDW^L|9-1-14375|12.7||||||F||||S0^1 QUEEN ST. TORONTO 555-555-1111^L
OBR||100||30246|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-MONO-R^
(R)
MONO^L|11-1-12750|0.11||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30247|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-EOS-R^
(R)
EOS^L|12-1-13000|0.02||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30248|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-BASO-R^
(R)
BASO^L|13-1-13250|0.01||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30250|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-ESR^SEDIMENTATION RATE (ESR)^L|13-1-15750|0||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30251|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-NEUT-A^ABSOLUTE:
NEUTS^L|23-1-13325|2.8||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30252|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-LYMPH-A^
(A)
LYMPH^L|24-1-13350|1.4||||||F||||S0^1 QUEEN ST.
TORONTO 555-555-1111^L
OBR||100||30253|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-MONO-A^
(A)
MONO^L|26-1-13400|0.5||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30254|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-EOS-A^
(A)
EOS^L|27-1-13450|0.1||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30256|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-BASO-A^
(A)
BASO^L|28-1-13550|0.0||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30257|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-PLAT^PLATELET COUNT^L|11760-1-11760|293||||||F||||S0^1 QUEEN ST. TORONTO 555555-1111^L
OBR||100||30258|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-RBCM^RBC^L|14250-1-14250|||||||F||||S0^1 QUEEN ST. TORONTO 555-555-1111^L
NTE||MC|^NADI
OBR||100||30259|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-WBCM^WBC^L|14300-1-14300|||||||F||||S0^1 QUEEN ST. TORONTO 555-555-1111^L
NTE||MC|^NADI
OBR||100||30260|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-PLATM^PLATELETS^L|14350-1-14350|||||||F||||S0^1 QUEEN ST. TORONTO 555-5551111^L
NTE||MC|^NADI
OBR||100||30261|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
March 6, 2016
Confidential and Proprietary Information
Page 14 of 18
HL7 Interface Control Document
OBX||ST|-GLU-F^GLUCOSE-FASTING^L|41967-1-41967|4.4||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30262|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-HBAIC^HbA1C^L|42302-1-42302|0.046||||||F||||10^1 QUEENT ST. TORONTO (555)5551111^L
NTE||MC|^A1C1
OBR||100||30263|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-UREA^UREA^L|42357-1-42357|8.3|||HI|||F||||S0^1 QUEEN ST. TORONTO 555-5551111^L
OBR||100||30264|19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-CREAT^CREATININE^L|42407-1-42407|71||||||F||||S0^1 QUEEN ST. TORONTO 555-5551111^L
OBR||100||30264|19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-NA^SODIUM^L|42476-1-42476|142||||||F||||S0^1 QUEEN ST. TORONTO 555-555-1111^L
OBR||100||30265||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-K^POTASSIUM^L|42526-1-42526|4.7||||||F||||S0^1 QUEEN ST. TORONTO 555-5551111^L
OBR||100||30266|19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-CL^CHLORIDE^L|42576-1-42576|103||||||F||||S0^1 QUEEN ST. TORONTO 555-5551111^L
MSH|^~\&|MDS||||20011206214758||ORU|9XXXX-SLXXXXXXX-1|P^|2.3.0|||NE|ER
PID|||2001-SLXXXXXXX|-|LASTNAME^STEVE^||19600811|M|||||(705)524-5682||||||X1111111111
PV1||R|^^^^^^^^|||||-09XXXX^D.R. DOCTOR^^^^DR.|||||||||-9XXXX^D.R.
DOCTOR^^^^DR.^^^^^^^-0||||||||||||||||||||||||1|||20011205
ZFR||1|1|||0|1
ZCT||SLXXXXXXX||SLXXXXXXX|||
OBR||101||30267|19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-CHOL^CHOLESTEROL^L|42658-1-42658|4.73||||||F||||S0^1 QUEEN ST. TORONTO 555555-1111^L
NTE||MC|^42650OD
OBR||100||30268|19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-HDL^HDL CHOLESTEROL^L|42702-1-42702|1.43||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30269|19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-LDL^LDL CHOLESTEROL(CALCULATED)^L|42705-1-42705|2.98||||||F||||S0^1 QUEEN ST.
TORONTO 555-555-1111^L
NTE||MC|^42750A
OBR||100||30270|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-HDLRAT^CHOLESTEROL/HDL RATIO^L|42708-1-42708|3.3||||||F||||S0^1 QUEEN ST.
TORONTO 555-555-1111^L
OBR||100||30271|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-TRIG^TRIGLYCERIDES^L|42822-1-42822|0.71||||||F||||S0^1 QUEEN ST. TORONTO 555555-1111^L
OBR||100||30272|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-BILI-T^TOTAL BILIRUBIN^L|43457-1-43457|7||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30273|19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-AST^ASPARTATE TRANSAMINASE(AST)^L|43758-1-43758|20||||||F||||S0^1 QUEEN ST.
TORONTO 555-555-1111^L
OBR||100||30274|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-ALK^ALKALINE PHOSPHATASE^L|43962-1-43962|64||||||F||||S0^1 QUEEN ST. TORONTO
555-555-1111^L
OBR||100||30275|||19970117000000|||||||19970117173100||||||WTA^WTA|||||||R
OBX||ST|-TSH^THYROTROPIN (SENSITIVE TSH)^L|58010-1-58010|1.12||||||F||||10^1 QUEEN ST.
TORONTO (555)555-1111^L
<eb>
March 6, 2016
Confidential and Proprietary Information
Page 15 of 18
HL7 Interface Control Document
Appendix A
User Defined Table 0001 Province code
Value
Description
AB
Alberta
BC
British Columbia
MB
Manitoba
NB
New Brunswick
NF
Newfoundland
NS
Nova Scotia
NT
Northwest Territories
ON
Ontario
PE
Prince Edward Island
SK
Saskatchewan
YT
Yukon
User Defined Table 0002 Priority code
Value
R
RMOH
C
CMOH
S
SMOH
AL
ALMOH
A
AMOH
UNC
Description
(0) Routine
(0) Routine MOH
(1) Critical
(1) Critical MOH
(2) Stat\Urgent
(2) Stat\Urgent MOH
(3) Alert
(3) Alert MOH
(4) ASAP
(4) ASAP MOH
Unclaimed Phone-in Orders
User Defined Table 0003 Payment method
Value
“nil”
March 6, 2016
Description
NONE
B
BANK CARD
C
CASH
M
MASTER CARD
Q
CHEQUE
V
VISA CARD
Confidential and Proprietary Information
Page 16 of 18
HL7 Interface Control Document
User Defined Table 0004 Patient class
Value
Description
E
Emergency
I
Inpatient
O
Outpatient
P
Preadmit
R
Recurring Patient
B
Obstetrics
Table 0085 Observation result status codes interpretation
Value
IntRlab Result Status
Description
C
1
edited result
D
9
deleted
Record coming over is a correction and thus replaces a final
result
F
6
live, transferred or resulted
Deletes the OBX record
f
5
live, transferred or resulted
Final results; Can only be changed with a corrected result.
I
0
pending results entry
Final results; Can only be changed with a corrected result.
P
6
live, transferred or resulted
Specimen in lab; results pending
p
5
live, transferred or resulted
Preliminary results
R
6
live, transferred or resulted
Preliminary results
r
5
live, transferred or resulted
Results entered -- not verified
S
6
live, transferred or resulted
Results entered -- not verified
s
5
live, transferred or resulted
Partial results
X
8
never report
Partial results
U
6
live, transferred or resulted
Results cannot be obtained for this observation
live, transferred or resulted
Results status change to Final, without re-transmitting results
already sent as ‘preliminary.’ E.g., radiology changes status from
preliminary to final
deleted
Results status change to Final, without re-transmitting results
already sent as ‘preliminary.’ E.g., radiology changes status from
preliminary to final
u
W
5
9
Post original as wrong, e.g., transmitted for wrong patient
Table 0155 Accept\application acknowledgment conditions
Value
AL
NE
ER
SU
Note:
March 6, 2016
Description
Always
Never
Error\reject conditions only
Successful completion only
If MSH-15 and MSH-16 are omitted (or are both null), the original Acknowledgement Mode rules are used.
Confidential and Proprietary Information
Page 17 of 18
HL7 Interface Control Document
Table 0178 File level event code
Value
REP
UPD
Description
Replace current version of this master file with the version contained in this
message. Note: Every MFE segment that follows will use the MAD event
code.
Change file records as defined in the record level event codes for each
record that follows
Table 0180 Record level event code
Value
MAD
MDL
MUP
MDC
MAC
March 6, 2016
Description
Add record to master file
Delete record from master file
Update record for master file
Deactivate: discontinue using record in master file, but do not delete from
database
Reactivate deactivated record
Confidential and Proprietary Information
Page 18 of 18
Download