HL7 Delimiters

Michael Cham mike@blenderhouse.com asked to Hardhats on Jun 27 2012

Does anyone know how to change the field], [[HL7 segment~|segment], [[HL7 sub-segment~|subsegment delimiters used for HL-7 messages emitted from VistA?

Although I'm not sure if it is a good idea to. The HL-7 default is MSH|^~\& The VistA default(at least in the ADT-04 message that is being generated) is MSH^~|\&

^ is used instead of | ~ is used instead of ^
 * is used instead of ~

I haven't seen anything the HL-7 menu and a quick scan in fileman didn't turn up any interesting variables.

Thanks, Mike

P.S. Since the MSH is prepended to every message it should be a simple matter for any HL-7 listener to convert tokens accordingly, but apparently it isn't....

--- Ramadan Alsaeidi ramadan352003@gmail.com answered:

Mike go to HL7 Main Menu --> Interface Developer Options --> Application Edit select an application VAFC PIMS for the ADT-04 then change the HL7 FIELD SEPARATOR to | and the HL7 ENCODING CHARACTERS to ^~\&.

---

Select HL7 APPLICATION PARAMETER NAME: ? Answer with HL7 APPLICATION PARAMETER NAME Do you want the entire 203-Entry HL7 APPLICATION PARAMETER List? Y  Choose from:

AAC       ACTIVE AAC_FPDS       ACTIVE DENTV-AAC-C       ACTIVE DENTV-AAC-F       ACTIVE DENTV-C       ACTIVE DENTV-F       ACTIVE DENTV-HDR-C       INACTIVE DG HOME TELEHEALTH       ACTIVE DGMST HL7 EVENT       ACTIVE DGQE DATACARD       ACTIVE DGQE VIC EVENTS       ACTIVE DGRO-QRY       ACTIVE DGRO-QRYRESP       ACTIVE DGRU RAI CLIENT       ACTIVE DGRU RAI EVENTS       ACTIVE DHCP CARELIFE       ACTIVE DS Pub ManL       ACTIVE DTS Term SrvL       ACTIVE E-PHARM VISTA       ACTIVE E-PHARM VITRIA       ACTIVE EAS EDB       ACTIVE ECME VISTA       ACTIVE EDB eGate       ACTIVE EPI-LAB       ACTIVE ESR       ACTIVE FB CPE FPPS       ACTIVE FB FEE-FPPS       ACTIVE GMRA VDEF IE SIDE       ACTIVE GMRC IF CONSULT       ACTIVE GMRC IF TEST       ACTIVE GMRV VDEF IE SIDE       ACTIVE HDRADAS       ACTIVE HDRADRA       ACTIVE HDRALGY       ACTIVE HDRPPAR       ACTIVE HDRPREF       ACTIVE HDRPRES       ACTIVE HDRVTLS       ACTIVE HEC 050       ACTIVE HTAPPL IB PFSS RECV       ACTIVE IB PFSS SENDING       ACTIVE IBB PFSS RECV       ACTIVE IBB PFSS SENDING       ACTIVE IIV EC       ACTIVE IIV VISTA       ACTIVE INST-MCAR       ACTIVE IVM       ACTIVE LA7HDR       ACTIVE LA7LAB       ACTIVE LA7POC1       ACTIVE LA7POC2       ACTIVE LA7POC3       ACTIVE LA7POC4       ACTIVE LA7POC5       ACTIVE LA7UI1       ACTIVE LA7UI10       ACTIVE LA7UI2       ACTIVE LA7UI3       ACTIVE LA7UI4       ACTIVE LA7UI5       ACTIVE LA7UI6       ACTIVE LA7UI7       ACTIVE LA7UI8       ACTIVE LA7UI9       ACTIVE MAGD-CLIENT       ACTIVE MAGJ-CLIENT       ACTIVE MCAR-INST       ACTIVE MHV EVAULT       ACTIVE MHV VISTA       ACTIVE MPIF A29 SERVER       ACTIVE MPIF A30 SERVER       ACTIVE MPIF CMOR CHNG       ACTIVE MPIF CMOR COMP       ACTIVE MPIF CMOR RSLT       ACTIVE MPIF LOC/MIS       ACTIVE MPIF MPI       ACTIVE MPIF TRIGGER       ACTIVE MPIF-STARTUP       ACTIVE MRTS CARELIFE       ACTIVE NCH-AAC       ACTIVE NCH-LAB       ACTIVE NPI FSC       ACTIVE NPI VISTA       ACTIVE NPTF-508       ACTIVE OERR       ACTIVE OR RDI RECEIVER       ACTIVE OR RDI SENDER       ACTIVE PACS-RAD-DHCP       INACTIVE PCMM       ACTIVE PCMM-212       ACTIVE PCMM-293       ACTIVE PCMM-515       ACTIVE PRCP_SSTATION       INACTIVE PRCP_SS_VISTA       INACTIVE PRCV_DYNAMED       ACTIVE PRCV_IFCAP_2237       ACTIVE PRCV_IFCAP_FBAL       ACTIVE PRCV_IFCAP_FCAN       ACTIVE PRCV_IFCAP_FSUB       ACTIVE PRCV_IFCAP_IT       ACTIVE PRCV_IFCAP_IVSV       ACTIVE PRCV_IFCAP_PO       ACTIVE PRCV_IFCAP_RECV       ACTIVE PRCV_IFCAP_REQ       ACTIVE PRCV_IFCAP_VEN       ACTIVE PRF-QRY       ACTIVE PRF-QRYRESP       ACTIVE PRF-RECV       ACTIVE PRF-SEND       ACTIVE PSB BCBU CLIENT       ACTIVE PSB BCBU SERVER       ACTIVE PSB HL7 SRV       ACTIVE PSB HL7 SUB       ACTIVE PSB PMU RECV       ACTIVE PSB PMU SEND       ACTIVE PSD-CS       ACTIVE PSD-NDES       ACTIVE PSO DISPENSE       ACTIVE PSO HLCLIENT1       ACTIVE PSO HLSERVER1       ACTIVE PSO RECEIVE       ACTIVE PSO TPB-AAC       ACTIVE PSO TPB-PHARM       ACTIVE PSO VDEF IE SIDE       ACTIVE PSO VISTA       ACTIVE PSS DISPENSE       ACTIVE PSS VISTA       ACTIVE PSS/PDM       ACTIVE PSU NAT SITE       ACTIVE PSU-SITE       ACTIVE PXRM7-REM-COM       ACTIVE RA-CLIENT-IMG       ACTIVE RA-CLIENT-TCP       ACTIVE RA-PSCRIBE-TCP       ACTIVE RA-SCIMAGE-TCP       ACTIVE RA-SERVER-IMG       ACTIVE RA-TALKLINK-TCP       ACTIVE RA-VOICE-SERVER       ACTIVE RADIOLOGY       INACTIVE RG ADT       ACTIVE RG CIRN       ACTIVE RG CIRN ADT       ACTIVE RG SITE MERGE       ACTIVE RG SUBSCRIPTION       ACTIVE RMIM AAC       ACTIVE RMIM SITE       ACTIVE ROR AAC       ACTIVE ROR SITE       ACTIVE SD ENC PERF MON       ACTIVE SD-AAC-PAIT       ACTIVE SD-SITE-PAIT       ACTIVE SISIADT FILER       ACTIVE SPN-HL7-APP       ACTIVE SR AAIS       INACTIVE SR SURGERY       INACTIVE TIUHL7 EX RECEIVING APP       INACTIVE TIUHL7 EX SENDING APP       INACTIVE VAFC PIMS       ACTIVE VAFC TRIGGER       ACTIVE VAFCHL7TEMPLATE       ACTIVE VAFH PIMS       ACTIVE VAFHL7 TEMPLATE       ACTIVE VAMC 050       ACTIVE VBECS       ACTIVE VBECS ADT       ACTIVE VBECS TRIGGER       ACTIVE VDEF ALERTS       ACTIVE VETS DATA       ACTIVE VETS MD5       ACTIVE VETS UPDATE       ACTIVE VIC NCMD RECV       ACTIVE VIC NCMD SEND       ACTIVE VISTA_IFCAP       ACTIVE VITRIA NC       ACTIVE XUHUI MFK       ACTIVE XUHUI MFN       ACTIVE XUMF 04 MFK       ACTIVE XUMF 04 MFN       ACTIVE XUMF 04 MFQ       ACTIVE XUMF 04 MFR       ACTIVE XUMF DATA       ACTIVE XUMF IMF MFK       ACTIVE XUMF IMF MFN       ACTIVE XUMF MD5       ACTIVE XUMF MFK       ACTIVE XUMF MFN       ACTIVE XUMF MFP MFQ       ACTIVE XUMF MFP MFR       ACTIVE XUMF MFQ       ACTIVE XUMF MFR       ACTIVE XUMF MFS       ACTIVE XUMF UPDATE       ACTIVE XUMFX MFQ       ACTIVE XUMFX MFR       ACTIVE XUMFX SERVER       ACTIVE XUOAA ACK       ACTIVE XUOAA PMU       ACTIVE XUPS APP       ACTIVE XWB RECEIVER       ACTIVE XWB SENDER       ACTIVE YS GAF       ACTIVE YS MHA       ACTIVE

You may enter a new HL7 APPLICATION PARAMETER, if you wish The name of the application that will send/receive HL7 messages (e.g., RADIOLOGY). Vista application names must be namespaced and unique. Answer must be 3-120 characters in length.

Select HL7 APPLICATION PARAMETER NAME: VAFC PIMS      ACTIVE HL7 APPLICATION EDIT

NAME: VAFC PIMS                    ACTIVE/INACTIVE: ACTIVE

FACILITY NAME: 50                              COUNTRY CODE: USA

HL7 FIELD SEPARATOR:? HL7 ENCODING CHARACTERS:

MAIL GROUP: VAFH ADT/HL7

_______________________________________________________________________________ The HL7 field separator used by the DHCP application. If this field is not filled in, the uparrow (^) character is defaulted to as the field separator. Answer must be 1 character in length.

COMMAND:                                      Press H for help    Insert

HL7 APPLICATION EDIT

NAME: VAFC PIMS                    ACTIVE/INACTIVE: ACTIVE

FACILITY NAME: 50                              COUNTRY CODE: USA

HL7 FIELD SEPARATOR:                      HL7 ENCODING CHARACTERS:?

MAIL GROUP: VAFH ADT/HL7

_______________________________________________________________________________ The HL7 encoding characters used by the DHCP application. If this field is not filled in, the characters ~|\& are used as the default encoding characters. Answer must be 1-4 characters in length.

Press H for help   Insert