메소드 | 설명 | |
---|---|---|
MainForm ( ) : System |
Initializes a new instance of the MainForm class.
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
메소드 | 설명 | |
---|---|---|
AddChildGroup ( |
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, |
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, |
Processes the field. Determines the type of field, before passing it onto the more specific parsing functions.
|
|
ProcessPrimitiveField ( AbstractPrimitive dataItem, string fieldDescription, string fieldCount, |
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, |
Processes the segment. Loops through all of the fields within the segment, and parsing them individually.
|
|
ProcessStructure ( IStructure structure, |
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, |
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, |
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 |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
리턴 | void |