docs: def get_terms(term_id):
      """Get term(s) using term_id - given term_id may match multiple term records
  
      Term ID has to match either the id, alt_ids or obsolete_ids
      """
  
      search_body = {
          "query": {
              "bool": {
                  "should": [
                      {"term": {"id": term_id}},
                      {"term": {"alt_ids": term_id}},
                      {"term": {"obsolete_ids": term_id}},
                  ]
              }
          }
      }
  
      result = es.search(index="terms", body=search_body)
  
      results = []
      for r in result["hits"]["hits"]:
          results.append(r["_source"])
  
      return results