ehr_patient_info_download_algorithm
EHR Patient Info download algorithm to access patient data.
This module implements an algorithm for downloading all patient information from EHR systems. It provides functionality to:
- Authenticate with NextGen's FHIR, Enterprise, and SMART on FHIR APIs
- Authenticate with FHIR R4 compatible systems
- Look up and download relevant info and documents for a given list of patient_ids
Classes
EHRPatientInfoDownloadAlgorithm
class EHRPatientInfoDownloadAlgorithm( datastructure: DataStructure, **kwargs: Any,):Algorithm for downloading patient info and documents from EHR.
Initialize the algorithm.
Arguments
datastructure: The data structure definition- **
**kwargs**: Additional keyword arguments.
Variables
- static
fields_dict : ClassVar[dict[str, marshmallow.fields.Field]]
Methods
modeller
def modeller( self, *, context: ProtocolContext, **kwargs: Any,) ‑> NoResultsModellerAlgorithm:Inherited from:
BaseNonModelAlgorithmFactory.modeller :
Modeller-side of the algorithm.
worker
def worker( self, *, hub: Optional[BitfountHub] = None, session: Optional[BitfountSession] = None, context: ProtocolContext, **kwargs: Any,) ‑> bitfount.federated.algorithms.ehr.ehr_patient_info_download_algorithm._WorkerSide:Worker-side of the algorithm.
Note: hub and session are only required for NextGen EHR systems. For FHIR R4 systems, these are not needed.