Skip to main content

EnsLib.InteropTools.HL7.MessageAnalyzer.Validation.Segment.FieldComponentRequired

class EnsLib.InteropTools.HL7.MessageAnalyzer.Validation.Segment.FieldComponentRequired extends EnsLib.InteropTools.HL7.MessageAnalyzer.Validation.Segment.SegmentValidationBase

This class covers validation errors reported for both components and subcomponents. This is because the changes to the data structure definition are the same in both cases. Validation flags: o (component), j (subcomponent)

Method Inventory

Parameters

parameter ARGSCOMP = 1;
parameter ARGSSUBC = 2;

Methods

method %OnNew(pChangeKey As %List, pCleanedStatusMessage As %String, pArgs As %List) as %Status
Inherited description: This callback method is invoked by the %New() method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

method AddMessageImpl(pArgs As %List, pHL7Message As Message)
Inherited description: Add an HL7 message with a validation problem to this object
method BeforePrompt(pHL7Configuration As HL7Configuration) as %List
Inherited description: Return a $List of text lines to be presented to the user before prompting them for action
classmethod DescribeChange(pHL7Configuration As HL7Configuration, pClassArgs As %String, pCategory As %String, pSubCategory As %String, pItem As %String, pOldData As %String, pNewData As %String) as %String
Inherited description: Fix the HL7 configuration (custom)
method FixConfigurationCompound(pHL7Configuration As HL7Configuration, pConfigChangeLog As ConfigChangeLog, pCustomVersion As %String, pSchemaName As %String, pLogger As Logger)
Inherited description: Fix the HL7 configuration (library + custom)
method FixPrompt(pHL7Configuration As HL7Configuration) as %String
Inherited description: Return a prompt describing the proposed fix
method GetFixTarget() as %List
Inherited description: Return $ListBuild(CATEGORY,SUBCATEGORY) where CATEGORY is "CT"/"DT"/"SS" and SUBCATEGORY is the codetable etc.
classmethod OperationKey(pArgs As %List) as %List
classmethod RegisterPatterns(Output pRecords)

Inherited Members

Inherited Methods

FeedbackOpens in a new tab