This method adds a new keyword match. This will return a 0 if it is successful; any other number indicates a failure.
intRc = objHL7ScriptContext.AddNewKeywordMatch2(101,"PID",3,2,1,"New value")|
Parameter |
Type |
Description |
|---|---|---|
|
KeyTypeNum |
Integer |
Identifier for the OnBase Keyword Type. |
|
Segment |
String |
Segment ID (for example, PID). |
|
Field# |
Integer |
Field number. |
|
Component# |
Integer |
Component number. |
|
Subcomponent# |
Integer |
Subcomponent number. |
|
Value string |
String |
Value for the new keyword match. |
|
Return Value |
Description |
|---|---|
|
0 |
Returned if this match was added. |
|
Non-0 |
Returned if this match was not added. |