nlmixr2 / rxode2

rxode2
https://nlmixr2.github.io/rxode2/
GNU General Public License v3.0
28 stars 8 forks source link

Add `dose()` and remove `podo()` #98

Closed mattfidler closed 2 years ago

mattfidler commented 2 years ago

https://github.com/nlmixrdevelopment/RxODE/issues/314

And add evid for transit-compartment type models

billdenney commented 2 years ago

It's not totally clear to me what this addition is. I think that having the ability to pull all dose-related information information from the last dose makes sense (and, I think that's what this is moving toward).

(I'm not trying to expand the scope of this if it's unrelated. I am trying to expand the scope of it so that it covers the complete need, if it is related.)

The dose-related columns that I can think of and their closely-related derived values are:

We would want to account for II and ADDL within this, too. It's not clear to me if we would do that by always having the above information relative to the most recent dose if there are II and ADDL in the data or if there should be an option to choose the time when the dose was initially-specified (i.e. the first of the II/ADDL doses) and an option to choose the most recent. (I don't see a lot of value to going back to the initially-specified dose, but I think it's good to consider the option and explicitly reject it rather than not consider it.)

mattfidler commented 2 years ago

This is mostly to support transit compartments but...

The others are questions:

mattfidler commented 2 years ago

Also available is time since first dose tafd, tafd(), tafd(cmt)

mattfidler commented 2 years ago

Forgot there is also the dose number: dosenum()

mattfidler commented 2 years ago

For Monolix:

https://mlxtran.lixoft.com/language-reference/dose-related-keywords/