C# 클래스 HL7Snoop.MainForm

The MainForm designer partial - describes all of the visual components on the form.
파일 보기 프로젝트 열기: dgrinberg/HL7-Snoop

공개 메소드들

메소드 설명
MainForm ( ) : System

Initializes a new instance of the MainForm class.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
AddChildGroup ( FieldGroup parentNode, FieldGroup childGroup ) : void

Adds the child group, to the parent node, only if the child group acutally contains fields.

CorrectLineFeeds ( string message ) : string
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

InitializeTreeList ( ) : void

Initializes the tree list.

ProcessCompositeField ( IComposite composite, string fieldDescription, string fieldCount, FieldGroup parentNode ) : void

Processes the composite field. A composite field is a group of fields, such as "Coded Entry". This function breaks up the composite field and passes each field back to "ProcessField"

ProcessField ( IType item, string fieldDescription, string fieldCount, FieldGroup parentNode ) : void

Processes the field. Determines the type of field, before passing it onto the more specific parsing functions.

ProcessPrimitiveField ( AbstractPrimitive dataItem, string fieldDescription, string fieldCount, FieldGroup parentNode ) : void

Processes the primitive field. A primitive field is the most basic type (i.e. no composite fields). This function retrieves the data and builds the node in the TreeListView.

ProcessSegment ( AbstractSegment segment, FieldGroup parentNode ) : void

Processes the segment. Loops through all of the fields within the segment, and parsing them individually.

ProcessStructure ( IStructure structure, FieldGroup parentNode ) : void

Processes the structure. A base structure can be either a segment, or segment group. This function determines which it is before passing it on.

ProcessStructureGroup ( AbstractGroup structureGroup, FieldGroup parentNode ) : void

Processes a structure group. A structure group is, primarily, a group of segments. This could either be the entire message or special segments that need to be grouped together. An example of this is the result segments (OBR, OBX and NTE), these are grouped together in the model definition (e.g. REF_I12_RESULTS_NOTES).

ProcessVaries ( Varies varies, string fieldDescription, string fieldCount, FieldGroup parentNode ) : void

Processes the varies. "Varies" are the data in the OBX segment, the sending application can set the type hence generically the OBX value field is a variant type. The "Varies" data parameter contains the data in type IType (hence being passed back to process field).

btnParse_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnParse control. Retreives the HL7 from the text box and attempts to parse it using NHapi. If successfull, it retreives all of the fields and displays them in the TreeListView

tbMessage_TextChanged ( object sender, EventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

MainForm() 공개 메소드

Initializes a new instance of the MainForm class.
public MainForm ( ) : System
리턴 System