HL7Version

Returns or sets a value that specifies the rule and segment definition file extension.

Syntax

object.HL7Version [ = String]

The HL7Version property syntax has these parts:

Part Description
object An object expression that evaluates to the HL7 control.
String A string expression that specifies the rule and segment definition file extension.

Remarks

HL7Version of an object is initiated at design time or at runtime by specifying the rule and
segment definition file extension. The HL7Version should only be set once for the duration for
the application. If the HL7Version 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