When you download breath alcohol test results to store them or pass them to another department, copying down only the readings shown on screen makes it hard to explain the state of the data. A log file downloaded from dedicated software may include not only test results but also events that occurred while the device was in use. You need to check separately whether you received all the records for the period you need and whether the received file has changed during analysis or transfer.
DATECH's official product information for the AF-i1 states that log events can be managed and downloaded with dedicated software, and that test results and operation events are stored with date and time information. File integrity here means checking that the file first downloaded has not changed during later storage, transfer, or analysis. It is not a procedure for judging every circumstance at the time of testing or the cause of individual records. It is a procedure for explaining where the file under review came from and whether it has been changed.
Designate the first file received as the original
Treat as the original the file first downloaded and saved from the dedicated software. If you open this file in a spreadsheet, sort it, or save it again, the file format, character encoding, or internal structure may change even if you did not directly edit any readings. Doing period totals, column renaming, unit conversion, and report writing in an analysis file copied from the original keeps the line between the original and processed versions clear.
It is hard to judge whether a file is the original from its file name alone. A different file can be saved under the same name, and the same file can be renamed during transfer. If you record the file name, file size, date and time saved, and the program used for the download at the first save, it becomes easier to explain later how the file was created.
Compare hash values to see whether it is the same file
A hash value is a value obtained by processing the entire file with a set calculation method. For example, SHA-256 is a hash method that can be used to compare whether a file has changed. Comparing the SHA-256 value calculated from the original file with the value recalculated from the received file gives you technical grounds for judging whether the two files are identical.
However, matching hash values do not confirm that the download period was chosen correctly, that the needed events were recorded on the device, or that the recorded dates and times match what actually happened. A hash value deals with whether the file itself is identical, and it answers a different question from whether the data content is sufficient. Also, do not keep only the hash value. Record the time it was calculated, the hash method used, and the target file's name and size together so the object of comparison can be identified later.
| What to distinguish | What to record with it | Why it is needed |
|---|---|---|
| Original file first downloaded | File name, file size, hash value, date and time saved | Identifies the reference file for later comparison |
| Download scope | Selected start and end times, search conditions applied | Confirms that the requested period and events were covered |
| Analysis copy | Copy name, original hash value, processing done | Traces the source file of summary tables or reports |
| File transfer | Date and time of transfer, transfer method, receiving department or role | Explains which file was handed over and when |
Check that the records you need are actually in the file
According to official AF-i1 product information, test results and operation events are stored with date and time information. To review test results and related events for a particular period, set the start and end times and the events to check before downloading, and check whether they are actually included after receiving the file. This check is not an add-on to hash comparison but a separate content review.
A matching row count does not mean the data is sufficient. Check the dates and times of the first and last records in the file, the field that distinguishes test results from other events, and the display unit of the readings. Keep whichever unit the values were recorded in, %BAC, ‰, or mg/L, exactly as in the original. Data converted to another unit or totaled by period should be treated as an analysis output, not the original.
As a hypothetical example, suppose a safety manager downloaded a file to review June's test results and related events. First observe the first date and time, the last date and time, and the field that distinguishes events in the file. If the last record is earlier than June 30 or the event field you meant to review does not appear, you can conclude that the requested scope is insufficient even if the original hash value matches. In this case, check the originally selected period and search conditions, and keep the file re-downloaded with the needed scope as a separate original. The scope review is finished when the set period and event fields are included and you have recorded that file's hash value and download conditions.
Keep original storage separate from analysis work
You can apply a method in which original files are kept in a storage location where no editing is done, and a copy is made each time analysis is needed. This reduces the chance of confusing a file that was opened and saved again, a file tidied up for a report, and a file received from someone else. It is best not to put personal information not needed for the storage purpose, such as the name of the person tested, into folder and file names.
If you changed column titles, sorted by time, totaled values, or converted units in a copy, briefly record what you did. Writing the original file name and original hash value in the analysis version lets you trace which file the report figures started from. If a file does not open or its size differs from the first record, rather than continuing the analysis, first compare it with the stored copy to determine whether the file is damaged or has been confused with another file.
On transfer, accept identity and scope separately
When passing data to another department, hand over the original file, the original hash value record, the download scope record, and the analysis version separately without mixing them. The receiving side can recalculate the hash value of the transferred file and compare it with the stored value, then check the date and time range and event fields in the file. This order lets you judge separately whether the file changed during transfer and whether it contains the records needed for review.
Split the acceptance standard into two kinds as well. For the file itself, the compared hash value must match the stored value, and you must be able to explain the file name, size, and save time. For the content, the download period and conditions must be on record, and the needed date and time range, event fields, and units of measurement must actually be included in the file. Meeting both standards together lets you verify the integrity of downloaded result files consistently without overstating what a hash value means.