VENOM Usage

This example is a test script, it will show what options are available.

Note: You will generally run this either automatically or via an AP macro/extra's line entry. When setting up the main AP card, we recommend to also add ^33=1 to the extra's line. This avoids the system adding the AP description every time it's called. So for the below example, set the extras line to:
Extras:   ^37=venom ^33=1

Title: Venom Test Examples

[VSL_INFO     VENOM Test Examples
[VSL_CREATED  Mon Feb 23 14:15:31 GMT 2009

# Files required for this Protocol
[VSL_FILE    venom.pro     This protocol

[notitle]
[nosave]
[start]
This test script will run through some of the things you can do with the
Venom codes.

[] Continue { Yes | No [abort] }

This 1st bit will prompt user for Container id, then look in that container
for the text they will be asked for. Uses the [lookup 100] tag.
.
# Ask what Category to use.
# Sets vcode internally
[lookup 100] 
[clear]
.
This will take CID (the number returned by lookup 100). You could
enter say 95 to limit just to Diagnosis and use the 'Answer' from
the last question to let user choose a term. An example of that
will be next.
.
[] Enter Venom term to look for { [line 10] }
.
[venom CID, ANSWER]
[clear]

Don't really expect these [Show tags to get any use - they are there
to allow script writers to see what they are set to.
.
.
[show cid]
[show container]
[show ddid]
[show venom]
.
Next will add a clincal record, ana code 100, the Venom code will
be added (::DDID). [clinical 100 Venom Term DDID Entered ::DDID.
.
[clinical 100 Venom Term DDID Entered ::DDID

[] Finished this part.
.
# Reset the terms so nothing is carried over
[zero_venom]
[clear]
.
Assume you asked a pile of questions, look up all cardiac entries.
You could use ANSWER as well - next example will do that.
.
[] Now Look up the term

[venom 95, ^Cardiac]
[clinical 101 Cardiac Case (CID) ::DDID

[] Finished this part.

# Reset the terms so nothing is carried over
[zero_venom]
[clear]
Ok what area of the body - use the answer to limit the terms to what was 
answered. This shows a way to alter what is looked up, with Eye the term 
could be one of   Blindness OR Eye or Ocular - with Cardiac and lung no 
re-mapping is needed but Ear will lookup 'Aural'. Normally the '|' symbol 
is used for OR but it was already used in Protocols - use a slash (/) and 
the system will translate.
.
If the alternative is a number then it's taken as an exact match and no 
lookup will be done, the venom term will be assumed to be correct. There 
must however be two number e.g. [venon 0,1234]
# Limit on the ::text is 20 characters.
.
[]Which Area of the Body? {
                Ear::Aural
                Eye::Blindness/Eye/Ocular
                Cardiac
                Lung
                Pelvis::Pelvic
                Its Pelodera Dermatitis::1641
                None of the above [quit]
                }
[venom 95,ANSWER]
[clinical] Area: ANSWER ::DDID
[clear]
[zero_venom]
.
You can also just enter clinical work with a Venom term attached by
added ::Number - This allows basic lines to be added to grab information
in a structured manner. e.g. If [Clinical 111 Finding: Eye  ::2271 that
will use a Vemon code of 2271 (Red Eye Finding) but the user will just
see a clinical line 'Finding: Eye'.
.
[Clinical 111 Finding: Eye  ::2271

[] Press Return to finish
[goto quit]