Medical pump comprising a rigid cavity defined between a bottom and a top hard shell (1,3) said cavity comprising an upper face (9), a lower face (10), a lateral face (11) and being divided by a movable membrane (2) which may be moved between said upper and lower faces (9,10), in such a way that a fluid tight reservoir is formed between said top shell (3) and said membrane (2) said bottom shell (1) and or said top shell (3) or both containing several holes (6) which are forming the internal ends of passages (8) communicating between the cavity and the external environment.