1. A system for operation of a medical device for therapeutics, comprising: a therapeutic module consisting of at least two layers; an analytical module consisting of a system-on-a-chip (SoC) and sensors; a set of compartments for the storage and combination of chemicals and biologicals; a set of electrical interconnects; a set of microfluidic components, including tubes, valves, actuators and gates; at least one integrated circuit; wherein device components are connected by the electrical interconnects; wherein the computation operations of the medical device are controlled by an integrated circuit; wherein when biological specimens are input into the analytical module, the analytical module analyzes the specimens; wherein the analytical module uses the SoC to model solutions to pathology optimization problems; wherein the analytical module transfers model solution data to the therapeutic module on a specific combination of chemicals and biologicals to remedy a patient pathology; wherein the medical device components include a set of compartments for combining chemicals and biologicals on at least one of a set of layers; wherein the medical device coordinates the transfer of chemicals and biologicals by using an integrated circuit to control the microfluidic components to distribute the chemicals and biologicals in specific measured doses according to the model recommendations from specific compartments in the medical device to a common compartment; wherein the chemicals and biologicals are combined in a common compartment of the medical device on one of a set of layers; and wherein the selected combination of chemicals and biologicals is transferred from the therapeutic module of the medical device to a cell site in a patient.