# Add dosage regimen to NCA

**URL:** <https://discourse.pumas.ai/t/add-dosage-regimen-to-nca/210>\
**Category:** NCA\
**Created:** [February 18, 2020, 8:11pm UTC](https://discourse.pumas.ai/t/add-dosage-regimen-to-nca/210 "2020-02-18T20:11:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdw7262](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jdw7262](https://discourse.pumas.ai/u/jdw7262)\
**Post date:** [February 18, 2020, 8:11pm UTC](https://discourse.pumas.ai/t/add-dosage-regimen-to-nca/210/1 "2020-02-18T20:11:25Z")

</div>

Hello 🙂  
I would like to add dosage regimen to my data set and I tried below codes, but it didn’t work.

```auto
ev1=DosageRegimen(150; time = 0)

data4nca=read_nca(pkdata_phase_I;
        id=:ID,
        time=:Time,
        conc=:Conc,
        evs=ev1)

```

When I create NCA report and send it to data frame, ‘doseamt’ colume has no data.  
How can I add dosage regimen to my data set?  
Thank you.

---

<div class="post-metadata">

**Author:** ![jdw7262](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jdw7262](https://discourse.pumas.ai/u/jdw7262)\
**Post date:** [February 20, 2020, 5:34pm UTC](https://discourse.pumas.ai/t/add-dosage-regimen-to-nca/210/2 "2020-02-20T17:34:37Z")

</div>

Could anybody please share any idea for this? Thank you so much :).

---

<div class="post-metadata">

**Author:** ![andreasnoack](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.pumas.ai/andreasnoack/32/22_2.png) [@andreasnoack](https://discourse.pumas.ai/u/andreasnoack)\
**Post date:** [February 20, 2020, 8:02pm UTC](https://discourse.pumas.ai/t/add-dosage-regimen-to-nca/210/3 "2020-02-20T20:02:59Z")

</div>

Please always to provide complete examples that others are able to run and please also include any error messages and warnings exactly as you saw them. Finally, please also let us know the version of Pumas and JuliaPro that you are using. Didn’t you get the following warning?

```auto
┌ Warning: No dosage information has passed. If the dataset has dosage information, you can pass the column names by `amt=:AMT, route=:route`.
└ @ Pumas.NCA ~/.juliapro/JuliaPro_v1.3.1-1/packages/Pumas/Twdge/src/nca/data_parsing.jl:74

```

For NCA, the dosage information should be included in the `pkdata_phase_I` dataset. It’s not possible to pass a `DosageRegimen` to `read_nca`.

---

<div class="post-metadata">

**Author:** ![jdw7262](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jdw7262](https://discourse.pumas.ai/u/jdw7262)\
**Post date:** [February 20, 2020, 9:26pm UTC](https://discourse.pumas.ai/t/add-dosage-regimen-to-nca/210/4 "2020-02-20T21:26:45Z")

</div>

Thank you so much for your help and I apologize for the inconvenience. I will provide complete examples next time.  
I got the message you mentioned, but I was wondering whether there would be a way to add dosage regimen to NCA directly. Thank you so much for your help again 🙂

---

<div class="post-metadata">

**Author:** ![jafarbasha](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@jafarbasha](https://discourse.pumas.ai/u/jafarbasha)\
**Post date:** [March 4, 2020, 6:52pm UTC](https://discourse.pumas.ai/t/add-dosage-regimen-to-nca/210/5 "2020-03-04T18:52:08Z")

</div>

I think if you set dose to the grouping variable then you can see it the NCAReport output
