A method for refilling a reservoir of a storing and metering station of a dispensing machine with drug portions, wherein the dispensing machine has a plurality of storing and metering stations, a packing device which receives drug portions discharged by the storing and metering stations and places the same into dispensing packages, and a control device which controls the storing and metering stations and the packing device, wherein each storing and metering station has a stationary part and a removable part which contains the refillable reservoir, wherein the removable part has an information memory which stores an identifier, and contains a memory location for a filling code, and wherein a reading device for reading the information memory is functionally assigned to the stationary part, the method comprising:
- a) removing a removable part containing the emptied reservoir of one of the storing and metering stations, wherein the memory location contains a first value for the filling code, and transporting the removable part is transported to a charging station;
- b) reading the identifier at the charging station, refilling the reservoir with a prespecified amount of drug portions, and writing a second value into the memory location for the purpose of storing the filling code;
- c) saving the second value, together with the identifier that has been read, in a database which can be read by the control device;
- d) transporting the removable part with the filled reservoir back to the dispensing machine and placing the removable part on the stationary part of the original or a different storing and metering station, and reading the identifier and the filling code of the information memory;
- and
- e) comparing the identifier that has been read and the value of the filling code that has been read to the corresponding values in the database, and generating an error signal if they do not match.