This function takes a query in ast form and replaces all the subcatagories, eg. all icd-10 diagnosis like C00.% will be replace with C00.1...
The Query as Ast Element
The new Query with replace elements
This function takes a query in ast form and replaces all the subcatagories, eg. all icd-10 diagnosis like C00.% will be replace with C00.1...