-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically Calculate Target Weight #502
Comments
This is something I could look at adding, but I'd need references to documented formulas :) |
On top of this, is there any news on the hip-to-waist ratio? Still think this would be beneficial to have a full understanding of someone's health. |
If you could create another ticket with reference to formulas, I could look at what I could do :) |
I think I have one for ideal weight, but its only in st & lbs & ft & inches. I am waiting for either of my clients to come back to me to let me know if this calculation works ok, as they can test on some real subjects! Weight in pounds = 5 x BMI + (BMI divided by 5) x (Height in inches minus 60) |
I will add this into 10.3 if I can find a suitable formula (has to be for Kg - this is then converted under the hood to relevant weight formats). I'm struggling to find something online. I'd prefer to reference a body like the NHS. |
Updated .. Weight in kilograms = 2.2 x BMI + (3.5 x BMI) x (Height in meters minus 1.5) |
Where is that formula from? |
So we're happy the following is correct?
|
I am, how about @sbservices ?? |
These look sound to me. However, I have just fired off an email to ask my 2 customers if they're happy with those. Hopefully, they'll come back to me today or tomorrow. |
Ok, I am confirming that these 2 calculations are good to go my side. |
Would you guys mind giving me a few examples.... so I can check my calculations against them? |
A height of 1.83m with a bmi of 23.8 Should have a target weight of 79.85kg |
Just a thought, is the calculation getting there current BMI or whats deemed a healthy BMI? My only thought is that if someone has a unhealthy bmi then this would affect the target weight? |
I was going to ask the same. This is a little more complicated than just the formula. I presume the BMI is based on the start weight? OR. does the BMI that goes into the calculation change with their latest weight? |
A healthy BMI is a set number between 18.5 to 24.9. If this was set in the settings by the admin as to what they want to set as a healthy BMI, then I could enter a BMI of 24 for example. Then the calculation would be like this: 182 = 5 x 24 + (24/5)x(67 - 60) = 153.6lb (approx 10st 13.5) This formula is correct, because if this person was 10st 13.5, they would be at their set target BMI of 24. so we know their target weight is 10st 13.5lb. So I think allowing the admins to input their preferred BMI as a variable would make things easier and work better for the admins / coaches to set targets for their own groups. Because I would know as a trained health professional that my group can be considered at their ideal goal if they are at the BMI I've set for them. Weight Watchers use to go with the highest number of the BMI which was the 24.9 and set that as their goal weight, but gave the members the option to set their own target if they were not happy with this, but the coach would recommend that they reach this as a minimum to be at their healthy BMI and that anything higher than this weight would be over of the healthy range but they could drop below it if they wanted. |
I'm going to hop off this ticket, as I am more bias against BMI. I hope this sorts out soon for you soon @sbservices on another note, @sbservices have your clients looked more into hip2waist ratio compared to the classic bmi? It gives a better indication of fat stored on the body compared to bmi. Let me know your thoughts 👍 |
Oh, so you need the ability for each user to be able to set a target BMI and therefore autocalculate from there their weight? So it's not an automated approach? i.e. if their starting BMI is between this number and this number then use the formula automatically to generate their target? |
Preferably for admin to be able to set the target BMI for all members so that it automatically calculates what their target weight should be based on that BMI. Then if the member says that they wish to go below this, then the coach can set a lower target weight, or the member can adjust it themselves as well. So yes, maybe like Meal Tracker where the calories target is based on 'Weight Tracker', perhaps the BMI is set by 'Admin' but they can choose to override it and set a manual one of their own. But at least tell them that if this target is over 24.9 BMI it will give them a warning to say the target you are trying to set is over the 24.9 higher limit of the healthy BMI range, it is recommended that you set a goal within your BMI, but they can choose to proceed despite the warning. so long as they acknowledge that this wasn't recommended by their coach and is against advice, then yes. |
Ah ok, I may need to come back to this ticket as it's a lot more involved than I first thought (plus questioning if this method is of use to the majority). I've just changed the code to allow a "suggested target" based upon their starting BMI - however it appears more complicated so perhaps not one for 10.3. Big thanks for all the input!! |
Good shout I think 👍S A HullOn 28 Sept 2022 15:51, Ali Colville ***@***.***> wrote:
Ah ok, I may need to come back to this ticket as it's a lot more involved than I first thought (plus questioning if this method is of use to the majority). I've just changed the code to allow a "suggested target" based upon their starting BMI - however it appears more complicated so perhaps not one for 10.3.
Big thanks for all the input!!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Thanks Ali for the consideration. I'm going to have a play on 'Calculated field forms' - perhaps I could do something with this for now. |
I have the formula!! |
Hi Ali |
In what sense? If you mean completion, then it maybe a while as it's quite low on my priority list I'm afraid. |
Request to have target weight calculated automatically based on the top scale of their Healthy BMI. With a manual override if the member wants to change this to a lower weight target but not allowing them to go below the bottom end of the Healthy BMI.
The text was updated successfully, but these errors were encountered: