pat2vec.patvec_get_batch_methods.main_get_pat_batch_epr_docs

Functions

get_pat_batch_epr_docs(...)

Retrieves a batch of EPR documents for a patient.

pat2vec.patvec_get_batch_methods.main_get_pat_batch_epr_docs.get_pat_batch_epr_docs(current_pat_client_id_code, search_term, config_obj, cohort_searcher_with_terms_and_search)[source]

Retrieves a batch of EPR documents for a patient.

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

  • search_term (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 EPR documents.