HL7 data conversion

Top  Previous  Next

 

HL7 data conversion

 

 

This format is a standard for sending/receiving patient information.

 

Note: Actually it is only called a standard. It really is not standard at all. Why not use XML with some standard element names? then you could have a different variation for every vendor and it would be easy to support?

 

This utility will convert your data to the HL7 format using the specs we have.

 

In order to activate this function, you need to put a control file in your A/R folder. This is an example of the contents of a conversion control file named sendhl7.ini

 

 

; HL7 processing control file

;

 

[Data Conversion]

menuselection=Create an HL7 data conversion

hl7FileLocation = C:\temp\HL7_Software_Files\

PatientDemographics = Demographics.hl7

PatientTransactions = Transactions.hl7

DelimitersField = |

DelimitersSubField = ^

DelimitersRepetitionSeparator = ~

DelimitersEscapeCharacter = \

DelimitersSubSubField = &

DelimitersSegmentTerminator = chr(13)

SendingApplication = DocTalk

ReceivingApplication = Remote System

MessageType = ADT

TriggerEvent = A04

MessageControlID =120000000012

ProcessingID = P

VersionID = 2.5

PatientAccount=all

IncludeTransactions=yes

 

If you only want one patient to be converted, put the account ID in place of 'all'

 

After you create this control file, you will be able to see a menu selection on the Conversion menu. From the main menu, select #8, then #9

 

********************************* EXAMPLES *********************************

 

PATIENT DEMOGRAPHICS - A04 AND A08 MESSAGES

                            SEGMENTS PD1, PV1, ZPI ARE OPTIONAL SEGMENTS AND NOT REQUIRED

 

MSH|^~\&| AKDHC | AKDHC ||Remote System|20060512152359||ADT^A04|120065121559|P|2.5|

EVN|A04|20060512152359|

PID|001||23456||Turner^David^R||19761220|M|||3003 N. Central Ave Suite 400^^Phoenix^AZ^85012||6028766788||||||999999999||||||||||20060425|

PD1||||589^WARNER-DUNLOP^MARY^^^M.D.|

PV1|001||||||2^Guerra^Isabel^^^^M.D.|3^Holmes^John^^^^M.D.||||||||||CHRONIC||||||||||||||||||||||||||||

IN1|0001||123|Medicare|

IN1|0002||231|BSBC|

ZPI|23|RENAL ONE|First|MW||54

 

 

 

PATIENT CHARGE - P03  MESSAGES

    SEGMENTS PD1,  ZPI ARE OPTIONAL SEGMENTS AND NOT REQUIRED

    Data fields are not always all filled out. 

    Example, PV1 field 44 and 45 might have admit date and discharge date but not required.

 

MSH|^~\&|DocTalk|DocTalk|||20070614121037||DFT^P03|356920076141236531|P|2.5|

EVN|P03|20081211154735|

PID|001||169443|3569|Martin^Rome||19450517|F|||Po Box 5552^^Lakeview^MO^90786||5554453495||||||123235567|||||||||||

PD1||

PV1|001||||||49^Moas^Amirer^^^^M.D.|||||||||||CHRONIC||||||||||||||||||||||||||||

FT1||||20070529^20070531||||||3.000000|185.0|||||5193|||585.6|49|||||G0327|GT

DG1|0001||585.6|

IN1|0001||3475|Kaiser HMO|

IN1|0002|

ZPI|||||65|DIALYSIS UNIT|0|