A GE OEC Fluorostar system has recently been configured so that DICOM RDSR objects can be sent to OpenREM. This works, but each study sent creates a new entry in the Display Name table. This seems to be because each study uses a different Device Observer UID. My understanding is that this field should be unique to the equipment, but for this system it changes for each study.
It is very unlikely that I will be able to change the data being sent from the system, so would like a solution built into OpenREM.
We could add a section to the local_settings.py:
IGNORE_DEVICE_OBSERVER_UID_FOR_THESE_MODELS = ['GE OEC Fluorostar']
Then in rdsr.py before the equip_display_name is created:
from django.conf import settings if device_observer_uid in settings.IGNORE_DEVICE_OBSERVER_UID_FOR_THESE_MODELS: device_observer_uid = None
May need to add the above into the other extractors too.