HL7 Networking

File Transfer and Process
Lina Thadasina 10/28/04

What happens on the LAB side?
How does the HL7 file get created?
‡ Basics First (Comm. Lab system)
> > > > > > Define FIN Parameters Perform Order Entry Look up worklist name Build a Load Perform Results Entry Start the FIN processor

Where is the File now?
‡ Where is the HL7 file?
‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ Go to the directory to locate file Copy File Edit the file Go to the FIN environment Edit ^AROEN Process File View Accession ± Where can we find it? Standardizing MHZHL7 6.0.5 Enhancements

Define FIN Parameters ‡ Option 9.7.8.4 .

Fin Parameters Screen .

make a note of your new Accession number.Order Entry ‡ Option 1.2 ± Maxi Order Entry ‡ Enter Order ‡ Remember ± Lab system may be linked to GPR > May have to enter the PID information which may transfer to FIN side. ‡ When order entry is completed. ‡ ³N´ To Print Label prompt ‡ Accession is now in ^DLX! .

"A00249".28876."A00249" > DLX(."A00249" > ^DLX(59833."ADD".28876. ‡ Ready to transfer demographic information to FIN system ‡ If HL7 file is created. only demographics will transfer ‡ Global ^DLX(.290) = MISYS > ^DLX(59833."DEM") = MISYS ..Order Entry Continued« ‡ What does it mean when it¶s in ^DLX ‡ Record of accession being added to the system for LAB side."A00249"..

Order Entry Continued« .

2.Perform Inquiry ‡ Option 5.1 ‡ Purpose > To look up worklist name .

Perform Inquiry continued« .

Perform Inquiry Continued« .

Perform Inquiry continued« .

g. SPCHEM .Perform Inquiry Continued« ‡ Note worklist name ‡ E.

Worklist Processing ‡ Option 2.1 ± Build Load ‡ Enter noted worklist name ‡ Take defaults and enter your accession number ‡ Close=³Y´ .

Worklist Processing continued« .

1 Released *Call results to PJ will appear .1 ± Accession Entry ‡ Enter the worklist name and accession on initial screen ‡ Enter results on each test ± follow requirements for high. ‡ Message .Results Processing ‡ Option 3. low. etc. based on messages received during data entry ‡ ³Y´ to Release ALL prompt.

Results Processing continued« .

Interval > Set ^FINTEST=0 for testing purposed ± DLX will process immediately .Housekeeping ‡ Option 8.2 ± Background Job Control ‡ Start the FIN processor > Data in DLX is processed in 10 min.

Housekeeping Continued« .

and copy to home directory ‡ Remember the host file prefix defined on LAB side ± FIN Parameters .Locate and Copy File ‡ Locate the HL7 file.

Locate HL7 file .

Edit HL7 File ‡ Change Directory to the HL7 directory ‡ Locate and Edit the File ‡ Add the Test Company ID. .

"FHS"."STDLF"."FHS".1) = ST^^00067^^File field separator^R ± ^HL7("REC". ± ^HL7("REC"."FHS".2) = ST^^00068^^File encoding characters^R ± ^HL7("REC"."STDLF"."STDLF"."FHS"."STDLF"."FHS".Edit HL7 file ‡ Add the Test Company ID in the FSH record ± 5th ³|´ piece > FHS .10) = ST^^00076^FHSCOM^File header comment^ ± ^HL7("REC"."FHS"."STDLF".file header segment > The FHS segment is used to head a file (group of batches)."FHS") = File Header Segment^^FHSREC ± ^HL7("REC".7) = TS^^00073^FHSCDT^File creation date/time^R ± ^HL7("REC"."STDLF".6) = ST^^00072^FHSCO^File Receiving facility (Override Company ID)^ ± ^HL7("REC"."STDLF".11) = ST^^00077^FHSCID^File control id^ .

Edit HL7 File Continued« .

Edit ^AROEN and Process File ‡ W ^AROEN ‡ 11^^USER1:[DSMMGR. e.MUMPS_PROG.LCH.HL7 ]^^^60^59735^ ‡ Edit ‡ Change directory to the directory name the HL7 file is located.g. LCH to LNT .

) .Edit AROEN and Process File (Cont.

"A00249"."A00249"."A00249") = TEST.59833.3.3."A00249"."A00249".0^49 > ^AR("LNT"."A00249".290) = 1^^^^^^^^^^^^^^^^^^^^^^TXA .Run the Processor ‡ D AUTOHL7^AROEN ‡ Check ^AR or other related files > > > > > > > > D AUTOHL7^AROEN >D ^%G Global ^AR("LNT"."A00249" ^AR("LNT".3.0.0) = ^AR("LNT".59833) = P^^^667^^^JQMTEST^280.JONES^41762^A111116^F^^^^^^^22222^59833.0.31866^^^^^^^^^ O^12345 > ^AR("LNT"."A00249".100."A00249" AR("LNT".

Accession related Files ‡ ‡ ‡ ‡ ^AR ^VAL ^LOC ^HL7PTHIS .

Accession Related Files Continued« .

Ready to run MHZHL7 ‡ What does MHZHL7 currently Do? ‡ List contents of a file ‡ Find Accession by searching through an HL7 file ‡ Rename a processed HL7 file to an unprocessed HL7 file ‡ Copy stream oriented file to a record oriented file ‡ D GO^MHZHL7 .

MHZHL7 Continued« .

List the Contents of a File .

Why Standardize? ‡ Provide users the capability of running utility from menu option ‡ Provide user friendly prompts and functionality with less interaction from Misys engineer/analyst ‡ Currently MHZHL7 only searches files in the directories set in ^AROEN .

‡ Allow the user to print the HL7 record information to a printer device ‡ Allow the user to find an accession and other accession related information through the Accession finder.5 Enhancements ‡ Enhancement provides more flexibility ± search for files in any directory ‡ Ability to search through the list to find additional information such as a unit code. etc. . client. physician name.6.0.

Questions .