In order to ensure that the DICOMweb data is eventually consistent when there is more than one concurrent write, a consistency check needs to be performed until the study is consistent. This service needs to be created and used.
The logic is basically:
Do some sort of study update
Write the DICOMweb data, using the most recent deduplicated data
Schedule a hash check for time + T
Time check is just: Compare the hash values of the currently written deduplicated data against the DICOMweb data. If the hash values don't match, then goto #2 above, otherwise study is consistent.
In order to ensure that the DICOMweb data is eventually consistent when there is more than one concurrent write, a consistency check needs to be performed until the study is consistent. This service needs to be created and used.
The logic is basically:
Time check is just: Compare the hash values of the currently written deduplicated data against the DICOMweb data. If the hash values don't match, then goto #2 above, otherwise study is consistent.