Originally posted by Richard Hart
Usage: /hci/InfoHEALTH/bin/smatList.sh [-v] [-h] [-p<ptcode>] [-fp<file>] [-a<acctno>] [-fa<file>] [-m<mdcode>] [-fm<file>] -o<file> <file1> [file2] ...
Where -h help!
-v verbose mode
-o<file> the output file. See Note below
-p<ptcode> the Patient Code (MRN). This can be repeated
-fp<file> a file containing Patient Codes (MRN), one per line
-a<acctno> the Account Number. This can be repeated
-fa<file> a file containing Account Numbers, one per line
-m<mdcode> the Medical Staff ID or GP Code (for Master File Updates). This can be repeated
-fm<file> a file containing Medical Staff codes, one per line
file1 is a Cloverleaf SMAT file, compressed or uncompressed
The output file supplied will have a suffix _xxx.dat, where
xxx is the file number in the range 1 through 999.
Each file will contain a maximum of 1000 records.