Optional Input for calculations

Viewing 1 reply thread
  • Author
    Posts
  • June 11, 2018 at 7:12 AM #29039

    Abby Ave
    Participant

    Hello! Still using the demo version of tap forms and I just need to see first if i can use it for my clinic.

    So I need to compute for a woman’s age of gestation (AOG) in weeks and days (i.e. 28w3d). However there are two ways to do it:
    (1) Either use LMP, which is a certain date, or
    (2) use her due date (EDD) based on her earliest ultrasound, whichever information is available

    But if i use method (1), i would need to compute her EDD based on her given LMP. I’ve been able to do this using a calculation field for EDD. But if LMP wasn’t available, would it be possible to manually enter an EDD to compute for her AOG?

    June 11, 2018 at 9:01 AM #29040

    Brendan
    Keymaster

    Hello Abby,

    Thanks for taking Tap Forms out for a spin!

    You can use the IFEMPTY(LMP; X; Y) function in the Calculation fields formula to perform a different function if the value of LMP was empty. So if LMP is empty, do whatever you would do to calculate the EDD in the X part, otherwise do whatever you would do to calculate the AOG.

    Sorry if I’ve totally messed up your terminology.

    Thanks!

    Brendan

Viewing 1 reply thread

You must be logged in to reply to this topic.