# Diagnoses
db.diagnosis.matching("E11", code_type="10", match="starts_with")
# Procedures
db.procedure.matching("45378", code_type="C4", match="exactly")
# Medications (dispensing)
db.medication.matching("00002-7510", code_type="ND", match="starts_with")
# Multiple code sets (UNION → code_set)
db.diagnosis.matching(
[["E11"], ["I10"]],
code_type="10",
match=["starts_with", "exactly"],
)