HL7Path

Returns or sets a value that specifies where the rule and segment definition files are located

Syntax

object.HL7Path [ = String]

The HL7Path property syntax has these parts:

Part Description
object An object expression that evaluates to the HL7 control.
String A string expression that specifies the directory of where the rule and segment definition files are located.

Remarks

HL7Path of an object is initiated at design time or at runtime by specifying the directory of where the rule and segment definition files are located. The HL7Path should only be set once for the duration for the application.  If the HL7Path property is set at runtime it should be set before calling the Init method.

Example

Private Sub Form_Load()

If Len(App.Path) > 3 Then
   Hl7cntl1.HL7Path = App.Path & "\"
Else
   Hl7cntl1.HL7Path = App.Path
End If

Hl7cntl1.HL7Version = ".v22"          ‘msgRules.v22, segDefs.v22 files

Hl7cntl1.Init
.
..
...

 

Back to Home Page.

This page, and all contents, are Copyright © 1998 by Gary M. Gallagher.
Sparrow Technologies Incorporated - http://www.sparrow-technologies.com