ehr_patient_info_download_algorithm
NextGen Patient Info download algorithm to access patient data.
This module implements an algorithm for downloading all patient information from NextGen's APIs. It provides functionality to:
- Authenticate with NextGen's FHIR, Enterprise, and SMART on FHIR APIs
- 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.
Ancestors
- BaseNonModelAlgorithmFactory
- BaseAlgorithmFactory
- abc.ABC
- bitfount.federated.roles._RolesMixIn
- bitfount.types._BaseSerializableObjectMixIn
- typing.Generic
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:Inherited from:
BaseNonModelAlgorithmFactory.worker :
Worker-side of the algorithm.