|
Email address
Data should be emailed to the address company[email protected].
Where company is a short name of the software vendor/software name.
Subject
The subject should consist of:
DATA: some description of the data
Email body
The body of the email should start with a set of key value pairs, one per line similar to
those found in Internet email headers. The order of the lines does not matter. The body of
the email must contain the following lines:
Key |
Value |
Optional |
Values |
Description |
Source |
Sender |
|
e.g. YOURCOMPANY |
|
Key |
Unique string |
|
Provided by CCHSD |
Security check |
Date |
YYYYMMDD |
|
|
Generation date |
Data-Type |
CLAIM |
|
CLAIM/others |
|
Action |
PROCESS |
Yes |
PROCESS/TEST |
Restricted according to
sub-system |
Reference |
String |
|
Free text |
Unique string identifying the
message. Used in receipts and error messages |
A message will be returned to a pre-configured email
address indicating the time at which the data was extracted from the message along with
the reference string. The trading partner should provide this address. If there was an
error with the email, a notification
message will be sent automatically.
A blank line should follow the required tag lines. The rest of the email message may
contain human readable contact information.
Attachment
The data should be attached as a compressed base-64 encoded file. The file should be
compressed using gzip (ftp://ftp.is.co.za/gnu/gzip-1.2.4
depending on platform)
compression. The file name of the attached data file should be CompanyCLM.gz. The
mime type of the attachment should indicate the type of compression that is being used, in
this case the mime type should be application/x-gzip.
Reply receipt
The receipt messages that will be returned by Sovereign will have a similar format to
those received. The subject will be a copy of the originating message subject with a Re:
prepended to the string and either --ERROR or OK appended to the end.
Key |
Value |
Optional |
Values |
Description |
Source |
Sender |
|
NMP |
|
Date |
YYYYMMDD |
|
|
Process date |
Data-Type |
CLAIM-REPLY |
|
CLAIM-REPLY/others |
|
Action |
PROCESS |
Yes |
PROCESS/TEST |
Duplicate of sent |
Reference |
String |
Yes |
Free text |
Duplicate of sent |
Result |
OK |
|
OK/ERROR |
|
Message |
String |
Yes |
Free text |
Reason for error
otherwise ignore e.g. "Data processed
successfully" |
|