| Home | Trees | Indices | Help |
|
|---|
|
|
GNUmed hooks framework.
This module provides convenience functions and definitions
for accessing the GNUmed hooks framework.
This framework calls the script
~/.gnumed/scripts/hook_script.py
at various times during client execution. The script must
contain a function
def run_script(hook=None):
pass
which accepts a single argument <hook>. That argument will
contain the hook that is being activated.
Author: K. Hilbert <Karsten.Hilbert@gmx.net>
License: GPL v2 or later (details at http://www.gnu.org)
| Functions | |||
|
|||
|
|||
|
|||
| Variables | |
known_hooks = ['post_patient_activation', 'post_person_creatio
|
|
README_pat_dir = """Directory for data files containing the cu
|
|
HOOK_SCRIPT_EXAMPLE = """#!/usr/bin/pyth
|
|
HOOK_SCRIPT_NAME = 'hook_script.py'
|
|
HOOK_SCRIPT_DIR = os.path.expanduser(os.path.join('~', '.gnume
|
|
HOOK_SCRIPT_FULL_NAME = os.path.join(HOOK_SCRIPT_DIR, HOOK_SCR
|
|
README_hook_dir = """Directory for scripts called from hooks a
|
|
hook_module = None
|
|
Imports: os, sys, stat, logging, io, gmDispatcher, gmTools
| Variables Details |
known_hooks
|
README_pat_dir
|
HOOK_SCRIPT_EXAMPLE
|
HOOK_SCRIPT_DIR
|
HOOK_SCRIPT_FULL_NAME
|
README_hook_dir
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Jul 23 01:55:31 2020 | http://epydoc.sourceforge.net |