pat2vec.patvec_get_batch_methods.main_get_pat_batch_bmi

Functions

get_pat_batch_bmi(...[, search_term])

Retrieves a batch of BMI-related observations for a patient.

pat2vec.patvec_get_batch_methods.main_get_pat_batch_bmi.get_pat_batch_bmi(current_pat_client_id_code, config_obj, cohort_searcher_with_terms_and_search, search_term=None)[source]

Retrieves a batch of BMI-related observations for a patient.

Parameters:
  • current_pat_client_id_code (str) – The patient’s unique identifier.

  • search_term (Optional[str]) – The term to search for (currently unused).

  • config_obj (Any) – The main configuration object.

  • cohort_searcher_with_terms_and_search (Any) – The search function to use.

Return type:

DataFrame

Returns:

A DataFrame containing the batch of BMI-related observations.