NumberOfStudyRelatedInstances and NumberOfSeriesRelatedInstances not returned from tags (OnStoredInstance)

how to get NumberOfStudyRelatedInstances and NumberOfSeriesRelatedInstances from OnStoredInstance Luascript

Hi* Jack

These tags are not part of the DICOM files themselves but computed when requested through C-Find queries or calls to /tools/find. They are meaningless during reception of a study.

Hope this helps,

Alain.

[*] Hi: exclamation used as a friendly greeting or to attract attention. Usually appreciated by us, humans - not always required when chatting with an AI bot.