The invention relates to an apparatus (2, 3), comprising a mating unit (20-1, 20-2; 31) for releasably attaching the apparatus (2) to a medical device for ejecting a medicament (1) or for releasably receiving at least a part of said medical device (1), one or more optical sensors (25, 26) for determining information related to a condition and/or use of said medical device (1), and a wireless unit (28) configured for transmitting the determined information to a device (42, 42').本発明は、医療デバイスに装置(2)を開放可能に取り付けるための、又は該医療デバイス(1)の少なくとも一部を開放可能に受けるためのはめ合いユニット(20-1、20-2;31)を含んでなる装置(2、3)に関する。装置(2、3)は、医療デバイス(1)の状況及び/又は使用に関する情報を決定するための一つ又はそれ以上の光センサ(25、26)及び/又は一つ又はそれ以上の音響センサ(27)薬剤(1)を更に含む。本発明は更に、そのような装置(2、3)及びそのような医療デバイス(1)を含んでなるシステム、そのような医療デバイス(1)の状況及び/又は使用に関するに情報を決定するための方法(500、600、700)及びコンピュータプログラム(61)、及びそのようなコンピュータプログラム(61)を保存するコンピュータが読むことができる媒体(60)に関する。【選択図】図4