if (FALSE) { # interactive()
## Finding llt codes for Embolism (SMQ)
smq_sel <- rlang::list2(
embolism = "Embolic and thrombotic events, venous (SMQ)"
)
get_llt_smq(smq_sel,
smq_scope = "narrow",
smq_list = smq_list_,
smq_content = smq_content_
)
# You can query multiple SMQs in one item, and query high level SMQs
smq_sel2 <-
rlang::list2(
sepsis = c("Sepsis (SMQ)","Toxic-septic shock conditions (SMQ)"),
ischemic_heart_disease = c("Ischaemic heart disease (SMQ)"),
)
get_llt_smq(smq_sel2,
smq_scope = "narrow",
smq_list = smq_list_,
smq_content = smq_content_
)
}
Run the code above in your browser using DataLab