SMAT file message extraction tool

Clovertech Forums Read Only Archives Cloverleaf General SMAT file message extraction tool

  • Creator
    Topic
  • #49865
    Richard Hart
    Participant

      Usage: /hci/InfoHEALTH/bin/smatList.sh  [-v] [-h] [-p] [-fp] [-a] [-fa] [-m] [-fm] -o [file2] …

      Where -h          help!

           -v          verbose mode

           -o    the output file. See Note below

           -p  the Patient Code (MRN). This can be repeated

           -fp   a file containing Patient Codes (MRN), one per line

           -a  the Account Number. This can be repeated

           -fa   a file containing Account Numbers, one per line

           -m  the Medical Staff ID or GP Code (for Master File Updates). This can be repeated

           -fm   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.

    Viewing 0 reply threads
    • Author
      Replies
      • #63928
        Richard Hart
        Participant

          Latest revision

          Usage: /hci/InfoHEALTH/bin/smatList.sh  [-v] [-h] [-p] [-fp] [-a] [-fa] [-m] [-fm] [-c] -o [file2] …

          Where -h          help!

               -v          verbose mode

               -idx        use the ‘idx’ file to determine the messages. See Note below

               -quirk      use some processing on the message to remove ‘quirks’. Useful for old HL7 SMAT files

               -o    the output file. See Note below

               -c   modify the number of messages in the output file – default 1000. See Note below

               -len10      use the len10 output format, the default is a new line

               -p  the Patient Code (MRN). This can be repeated

               -fp   a file containing Patient Codes (MRN), one per line

               -a  the Account Number. This can be repeated

               -fa   a file containing Account Numbers, one per line

               -m  the Medical Staff ID or GP Code (for Master File Updates). This can be repeated

               -fm   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 in ‘len10’ or newline format,

              the ‘-c’ option can be used to change the maximum number of records in an output file

              with ‘-1’ unlimited.

              The ‘idx’ processing is useful for non HL7 SMAT files

      Viewing 0 reply threads
      • The forum ‘General’ is closed to new topics and replies.