Conversation
1. Use most recent weight compared to only one previous weight and not all previous weights in that time frame. 2. For the previous weight: use the weight that is at least 30 days prior (not sooner) and up to 100 days prior.
1. Use most recent weight compared to only one previous weight and not all previous weights in that time frame. 2. For the previous weight: use the weight that is at least 30 days prior (not sooner) and up to 100 days prior.
|
@labkey-martyp, I am getting team errors unrelated to my update. Could you check once when you get a chance please. Thanks |
Hi Lakshmi, while running your code please run query validation. Warnings are fine but Errors need to be cleaned up. |
@labkey-martyp , I finished validating the queries. No errors in the two queries I have in this PR, but a few warnings found. |
|
@kollil If you're adding new datasets they need to be added in datasets_metadata.xml and datasets_manifest.xml.
|
Or if this is a query it's missing from this PR. @labkey-martyp, I am not able to open this image. Got error - |
|
@labkey-martyp , I have never added the new queries to these datasets before. Is this something new?
|
Oh sorry @kollil , not sure why the image didn't come through. The query validation is saying study.WeightManagementMMAData is not found. If this is a query, the sql file needs to be added to this PR. If it's a dataset, it needs to be added in datasets_metadata and datasets_manifest. |
@labkey-martyp, That's interesting. study.WeightManagementMMAData is already in production and is there since we have Labkey and created by Ben. I was just using that table in my new query. |
If you're using it in your checked-in code, it needs to be available in the same context. User defined query won't work. You can copy the sql into a new .sql file of the same name. Before you install this PR on production, delete the user-defined version of the query so there is no confusion which one is being used. |
@kollil study.WeightManagementMMAData was created by you in 2017 |



Made changes to the query.