Macros are similar to the "auto correct" facility in Microsoft Word where a small string of text can be expanded into a sentence or even paragraphs of text. The macros can also be set up to use the prefixed number, eg so that 5@w expands to 'for 5 weeks'. They can also be set up to include relevant data like the customer's name so that @dear expands to 'Dear Joanna' (assuming that the current customer's first name is Joanna). Finally it is possible to call a report to generate text for things like a referral email that includes the patient's medical history.

Macros can be used in any text field.  Note however that certain macros will be context dependent. For example, the @bid macro is designed for use when creating a Dispensing Label and uses information from the product record. If you use @bid when there is no current product, then the macro simply will not expand and the '3@bid' that you typed will be left unaltered.

You don't need to remember the macros, pressing Alt-M will display a Macro Select screen like that shown below. You can simply click on the macro you want to invoke it.

Note that the search facility searches both the code of the macros and their names. Hence entering say 'dg' will find all macros with code starting 'dg' and all macros whose name starts 'dg'.

The macros are set up by your administrator using the Administration|Lookups|Macro and Administration|Lookups|Report Macro facilities.

Macros can include {__} tokens that indicate text that needs to be replaced by the user.  Pressing:

  • Ctrl - Right Arrow - jumps to the next token, and selects it
  • Ctrl - Left Arrow - jumps to the previous token, and selects it

This allows users to progressively fill in text. E.g. a macro could generate:

Reason:  {__}
History: {__}

Current medications: {__}

What Preventative health cover is being used and do you need to purchase any today? {__}
Vaccination: {__}
Worming: {__}
Flea control: {__}
Heartworm Prevention: {__} 

Examine: {__}
Mentation: {__}
Body condition score: {__}
MM: {__}              CRT: {__}
HR: {__}               RR: {__}
LN: {__}
Temperature: {__}

NOTE: this facility is not supported in the Mail editor.

Syndicate content