Clinical Data Interface
Mock implementation of the clinical data interface. |
FastAPI app
Mock implementation of the clinical data interface.
Uses generated data to provide a patient list for downstream services.
- class Settings(_env_file='<object object>', _env_file_encoding=None, _env_nested_delimiter=None, _secrets_dir=None, **values)[source]
Bases:
BaseSettingsFastAPI Settings for clinical guideline interface
-
ceosys_base_path:
str
-
ceosys_base_path:
- async get_data(variable_name)[source]
Get clinical data for all patients.
- Parameters:
variable_name (
List[str]) – List of clinical variable names to return for the patients.- Return type:
Dict
Returns: List of all available values for the requested variables.
- async get_patient_data(patient_id, variable_name)[source]
Get clinical data for a specific patient.
- Parameters:
patient_id (
str) – Patient identifiervariable_name (
List[str]) – List of clinical variable names to return for the patients.
- Return type:
Dict
Returns: List of all available values for the requested variables for the specified patient.