The loop_mlaps() function currently doesn't run on HPC4Health due to hard-coding of admdad table in one of the queries, which fails because the admdad table is typically called admdad_subset in HPC4Health datacuts:
This can be fixed by using the find_db_tabelname() function to automatically identify the name of the admdad table in a given DB version. Examples of how to do this can be found in the readmission function.
Developers/reviewers working on this issue should verify that the implemented solution resolves the issue on HPC4Health before merging the updated code. If you do not have HPC4Health access, please reach out to a team member with access (e.g., Anne, Vaakesan, Bijun, Trong) who can test the code for you.
Affected function:
loop_mlaps ()
The
loop_mlaps()
function currently doesn't run on HPC4Health due to hard-coding ofadmdad
table in one of the queries, which fails because theadmdad
table is typically calledadmdad_subset
in HPC4Health datacuts:This can be fixed by using the
find_db_tabelname()
function to automatically identify the name of theadmdad
table in a given DB version. Examples of how to do this can be found in thereadmission
function.Developers/reviewers working on this issue should verify that the implemented solution resolves the issue on HPC4Health before merging the updated code. If you do not have HPC4Health access, please reach out to a team member with access (e.g., Anne, Vaakesan, Bijun, Trong) who can test the code for you.