Disclosed are hypodermic needle devices having an easily-observed, visual indication that the drug contents of the device have expired. The visual indication may be triggered when a counter maintained by a processor of the hypodermic needle device has exceeded a time threshold. The time threshold may be configured based on the drug threshold, and the counter and time threshold may be manually or dynamically adjusted as real-world conditions change to alter the time to expiration. For instance, an prolonged increase in temperature detected by the temperature sensor may speed up the expiration rate of the drug and require a reduction in the time threshold.揭示皮下注射針設備,其具有對該設備的藥品內容物已經過期的容易觀察到的視覺指示。當由該皮下注射針設備的處理器維護的計數器已經超過時間閾值時,該視覺指示可以被觸發。可以基於藥品閾值來配置該時間閾值,並且可以在真實世界條件改變時手動或動態地調整該計數器和該時間閾值以更改過期時間。例如,由溫度感測器偵測到的長期溫度升高會加速藥品的過期速率並且需要減小該時間閾值。