Implement add medicament functionality