Research-IT-Swiss-TPH / redcap-pdf-injector

PDF Injector is a REDCap module that enables you to populate fillable PDFs with record data from variables.
https://research-it-swiss-tph.github.io/redcap-pdf-injector/
MIT License
7 stars 8 forks source link

Longitudinal data #3

Closed brianvychow closed 3 years ago

brianvychow commented 3 years ago

Hi Tertek,

Thank you for this module. They are very helpful. Was wondering if this module accepts longitudinal data? I plan to map the fields to multiple events. Example [event_1][name] on document 1 and [event_2][name] on document 2. Doesn't seem like I'm able to do that. Let me know if you have a way to do that.

Cheers,

Brian

tertek commented 3 years ago

Hi Brian, May I ask you to use the REDCap Community Forum to post this kind of question. I will respond you there, since here at Github is more for developer related issues. You can tag your question with #pdfi too, so I get notified. Thank you :)

brianvychow commented 3 years ago

Sorry if it's inappropriate here as I don’t have access to the community forum. All good.

Thank you.

Best regards,

Brian CHOW MIEAust CPEng NER PhD Candidate, NeuRA M: +61490457878 E: @. / @. Linkedin: https://www.linkedin.com/in/brianchowvoonyang/

“Grit is living life like it’s a marathon, not a sprint.”- Angela Duckworth

On 4 Jun 2021, at 6:11 PM, tertek @.***> wrote:

Hi Brian, May I ask you to use the REDCap Community Forum https://community.projectredcap.org/ to post this kind of question. I will respond you there, since here at Github is more for developer related issues. You can tag your question with #pdfi too, so I get notified. Thank you :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tertek/redcap-pdf-injector/issues/3#issuecomment-854468532, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3K5PQRVB2RU75SUMPPJI3TRCDB3ANCNFSM46CJXTUQ.

tertek commented 3 years ago

Oh sorry I did not know.

In that case I can help you out here: I think you can achieve that by creating two different Injections for each event on the same document format.

Then you can bind the PDF field for the first Injection with a variable event_1_name using @CALCTEXT([event_1][name] ) and in the other Injection with event_2_name using @CALCTEXT([event_2][name] ).

brianvychow commented 3 years ago

Thanks Tertek.

That might work. I’ll give it a try. Cheers.

Best regards,

Brian CHOW MIEAust CPEng NER PhD Candidate, NeuRA M: +61490457878 E: @. / @. Linkedin: https://www.linkedin.com/in/brianchowvoonyang/

“Grit is living life like it’s a marathon, not a sprint.”- Angela Duckworth

On 4 Jun 2021, at 6:24 PM, tertek @.***> wrote:

Oh sorry I did not know.

In that case I can help you out here: I think you can achieve that by creating two different Injections for each event on the same document format.

Then you can bind the PDF field for the first Injection with a variable event_1_name using @CALCTEXT([event_1][name] ) and in the other Injection with event_2_name using @CALCTEXT([event_2][name] ).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tertek/redcap-pdf-injector/issues/3#issuecomment-854476710, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3K5PURAGU6UMZLAAESKH3TRCESZANCNFSM46CJXTUQ.