powered by
Add an admid column to the model dataset and datainfo. Dependent on the presence of a CMT column in order to add admid correctly.
When generated, admids of events in between doses is set to the last used admid.
add_admid(model)
(model : Model) Pharmpy model
(Model) Pharmpy model
get_admid : Get or create an admid column
get_cmt : Get or create a cmt column