olira 1.2.0__tar.gz → 1.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {olira-1.2.0 → olira-1.3.0}/CHANGELOG.md +11 -0
- {olira-1.2.0 → olira-1.3.0}/PKG-INFO +1 -1
- {olira-1.2.0 → olira-1.3.0}/SDK_DOCUMENTATION.md +51 -46
- {olira-1.2.0 → olira-1.3.0}/pyproject.toml +1 -1
- {olira-1.2.0 → olira-1.3.0}/src/olira/models.py +107 -47
- {olira-1.2.0 → olira-1.3.0}/src/olira/version.py +1 -1
- {olira-1.2.0 → olira-1.3.0}/uv.lock +1 -1
- {olira-1.2.0 → olira-1.3.0}/.devcontainer/Dockerfile +0 -0
- {olira-1.2.0 → olira-1.3.0}/.devcontainer/README.md +0 -0
- {olira-1.2.0 → olira-1.3.0}/.devcontainer/devcontainer.json +0 -0
- {olira-1.2.0 → olira-1.3.0}/.github/CODEOWNERS +0 -0
- {olira-1.2.0 → olira-1.3.0}/.github/workflows/ci.yml +0 -0
- {olira-1.2.0 → olira-1.3.0}/.github/workflows/publish.yml +0 -0
- {olira-1.2.0 → olira-1.3.0}/.gitignore +0 -0
- {olira-1.2.0 → olira-1.3.0}/LICENSE +0 -0
- {olira-1.2.0 → olira-1.3.0}/README.md +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/.env.example +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/00_quickstart.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/01_patient_management.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/02_event_logging.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/03_fhir_ingestion.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/04_historical_ingestion.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/05_logs_only_workflow.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/06_read_patient_state.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/07_patient_token.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/08_cohort_management.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/README.md +0 -0
- {olira-1.2.0 → olira-1.3.0}/examples/pyproject.toml +0 -0
- {olira-1.2.0 → olira-1.3.0}/scripts/check-version.sh +0 -0
- {olira-1.2.0 → olira-1.3.0}/scripts/install-dev.sh +0 -0
- {olira-1.2.0 → olira-1.3.0}/scripts/lint.sh +0 -0
- {olira-1.2.0 → olira-1.3.0}/scripts/pre-pr.sh +0 -0
- {olira-1.2.0 → olira-1.3.0}/scripts/test.sh +0 -0
- {olira-1.2.0 → olira-1.3.0}/scripts/uv.sh +0 -0
- {olira-1.2.0 → olira-1.3.0}/src/olira/__init__.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/src/olira/_module_api.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/src/olira/client.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/src/olira/exceptions.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/src/olira/http.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/src/olira/ingestion_confirm.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/src/olira/log_query.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/src/olira/py.typed +0 -0
- {olira-1.2.0 → olira-1.3.0}/src/olira/queue.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/src/olira/validation.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/tests/__init__.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/tests/conftest.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/tests/test_async_client.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/tests/test_client.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/tests/test_event_recorders.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/tests/test_ingestion_confirm.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/tests/test_log_query_builder.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/tests/test_models.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/tests/test_privacy.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/tests/test_retry.py +0 -0
- {olira-1.2.0 → olira-1.3.0}/tests/test_validation.py +0 -0
|
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.3.0] - 2026-07-07
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **`OliraLogType`** — added canonical noun-only members for every log type renamed by the
|
|
13
|
+
platform's OLI-1943 nomenclature change (e.g. `MOOD_REPORT`, `CONVERSATION`, `LAB_RESULTS`,
|
|
14
|
+
`CLINICAL_NOTE`, `CONTENT_INTERACTION`, `TASK_OUTCOME`, `DEMOGRAPHICS`, ...). The platform
|
|
15
|
+
accepts both the new and the old verb-suffixed values indefinitely, so existing deprecated
|
|
16
|
+
members (e.g. `MOODS_REPORT`, `CONVERSATION_COMPLETED`) are unchanged and continue to work;
|
|
17
|
+
new integrations should prefer the canonical member noted in each one's docstring/doc entry.
|
|
18
|
+
|
|
8
19
|
## [1.2.0] - 2026-06-25
|
|
9
20
|
|
|
10
21
|
### Added
|
|
@@ -9,7 +9,7 @@ managing patients, backfilling historical data, reading Patient State,
|
|
|
9
9
|
and minting patient-scoped tokens for use with the
|
|
10
10
|
[Olira MCP Patient State server](https://olira.ai/api-docs).
|
|
11
11
|
|
|
12
|
-
**Package:** `olira` — **Version:** `1.
|
|
12
|
+
**Package:** `olira` — **Version:** `1.3.0`
|
|
13
13
|
|
|
14
14
|
## Related docs
|
|
15
15
|
|
|
@@ -219,37 +219,42 @@ produced a given data point.
|
|
|
219
219
|
`StrEnum` of all supported log types. Use these constants as `log_type`
|
|
220
220
|
in `log()` and `log_batch()`.
|
|
221
221
|
|
|
222
|
+
As of OLI-1943 the platform renamed most verb-suffixed subtypes to noun-only
|
|
223
|
+
canonical names (e.g. `moods_report` → `mood_report`). The platform accepts
|
|
224
|
+
both forms indefinitely, so the deprecated members below keep working — but
|
|
225
|
+
new integrations should use the canonical name listed alongside each one.
|
|
226
|
+
|
|
222
227
|
**Symptom reports**
|
|
223
228
|
|
|
224
229
|
- `OliraLogType.SYMPTOM_REPORT` → `"symptom_report"`
|
|
225
230
|
- `OliraLogType.SYMPTOM_FREE_TEXT` → `"symptom_free_text"`
|
|
226
231
|
- `OliraLogType.SYMPTOM_DETAIL` → `"symptom_detail"`
|
|
227
|
-
- `OliraLogType.MOODS_REPORT` → `"moods_report"`
|
|
228
|
-
- `OliraLogType.FUNCTIONAL_CLASS_REPORTED` → `"functional_class_reported"`
|
|
229
|
-
- `OliraLogType.HEALTH_METRIC_REPORTED` → `"health_metric_reported"`
|
|
232
|
+
- `OliraLogType.MOOD_REPORT` → `"mood_report"` (deprecated alias: `MOODS_REPORT` → `"moods_report"`)
|
|
233
|
+
- `OliraLogType.FUNCTIONAL_CLASS` → `"functional_class"` (deprecated alias: `FUNCTIONAL_CLASS_REPORTED` → `"functional_class_reported"`)
|
|
234
|
+
- `OliraLogType.HEALTH_METRIC` → `"health_metric"` (deprecated alias: `HEALTH_METRIC_REPORTED` → `"health_metric_reported"`)
|
|
230
235
|
|
|
231
236
|
**Lab & clinical**
|
|
232
237
|
|
|
233
|
-
- `OliraLogType.LAB_RESULTS_RECEIVED` → `"lab_results_received"`
|
|
238
|
+
- `OliraLogType.LAB_RESULTS` → `"lab_results"` (deprecated alias: `LAB_RESULTS_RECEIVED` → `"lab_results_received"`)
|
|
234
239
|
- `OliraLogType.VITALS_MEASUREMENT` → `"vitals_measurement"`
|
|
235
|
-
- `OliraLogType.CLINICAL_NOTE_RECEIVED` → `"clinical_note_received"`
|
|
236
|
-
- `OliraLogType.CLINICAL_FINDING_REPORTED` → `"clinical_finding_reported"`
|
|
237
|
-
- `OliraLogType.PROCEDURE_RESULT_RECEIVED` → `"procedure_result_received"`
|
|
238
|
-
- `OliraLogType.PROCEDURE_PERFORMED` → `"procedure_performed"`
|
|
239
|
-
- `OliraLogType.GENOMIC_VARIANT_REPORTED` → `"genomic_variant_reported"`
|
|
240
|
-
- `OliraLogType.IMAGING_RESULT_RECEIVED` → `"imaging_result_received"`
|
|
241
|
-
- `OliraLogType.CLINICAL_MEASUREMENT_REPORTED` → `"clinical_measurement_reported"`
|
|
242
|
-
- `OliraLogType.TREATMENT_RESPONSE_ASSESSMENT_REPORTED` → `"treatment_response_assessment_reported"`
|
|
243
|
-
- `OliraLogType.CLINICAL_PLAN_ITEM_REPORTED` → `"clinical_plan_item_reported"`
|
|
244
|
-
- `OliraLogType.CARE_ENCOUNTER_REPORTED` → `"care_encounter_reported"`
|
|
245
|
-
- `OliraLogType.CARE_GOAL_REPORTED` → `"care_goal_reported"`
|
|
246
|
-
- `OliraLogType.IMMUNIZATION_REPORTED` → `"immunization_reported"`
|
|
247
|
-
- `OliraLogType.ALLERGY_INTOLERANCE_REPORTED` → `"allergy_intolerance_reported"`
|
|
248
|
-
- `OliraLogType.FAMILY_HISTORY_REPORTED` → `"family_history_reported"`
|
|
249
|
-
- `OliraLogType.DEVICE_REPORTED` → `"device_reported"`
|
|
250
|
-
- `OliraLogType.CARE_ACTION_LOGGED` → `"care_action_logged"`
|
|
240
|
+
- `OliraLogType.CLINICAL_NOTE` → `"clinical_note"` (deprecated alias: `CLINICAL_NOTE_RECEIVED` → `"clinical_note_received"`)
|
|
241
|
+
- `OliraLogType.CLINICAL_FINDING` → `"clinical_finding"` (deprecated alias: `CLINICAL_FINDING_REPORTED` → `"clinical_finding_reported"`)
|
|
242
|
+
- `OliraLogType.PROCEDURE_RESULT` → `"procedure_result"` (deprecated alias: `PROCEDURE_RESULT_RECEIVED` → `"procedure_result_received"`)
|
|
243
|
+
- `OliraLogType.PROCEDURE` → `"procedure"` (deprecated alias: `PROCEDURE_PERFORMED` → `"procedure_performed"`)
|
|
244
|
+
- `OliraLogType.GENOMIC_VARIANT` → `"genomic_variant"` (deprecated alias: `GENOMIC_VARIANT_REPORTED` → `"genomic_variant_reported"`)
|
|
245
|
+
- `OliraLogType.IMAGING_RESULT` → `"imaging_result"` (deprecated alias: `IMAGING_RESULT_RECEIVED` → `"imaging_result_received"`)
|
|
246
|
+
- `OliraLogType.CLINICAL_MEASUREMENT` → `"clinical_measurement"` (deprecated alias: `CLINICAL_MEASUREMENT_REPORTED` → `"clinical_measurement_reported"`)
|
|
247
|
+
- `OliraLogType.TREATMENT_RESPONSE_ASSESSMENT` → `"treatment_response_assessment"` (deprecated alias: `TREATMENT_RESPONSE_ASSESSMENT_REPORTED` → `"treatment_response_assessment_reported"`)
|
|
248
|
+
- `OliraLogType.CLINICAL_PLAN_ITEM` → `"clinical_plan_item"` (deprecated alias: `CLINICAL_PLAN_ITEM_REPORTED` → `"clinical_plan_item_reported"`)
|
|
249
|
+
- `OliraLogType.CARE_ENCOUNTER` → `"care_encounter"` (deprecated alias: `CARE_ENCOUNTER_REPORTED` → `"care_encounter_reported"`)
|
|
250
|
+
- `OliraLogType.CARE_GOAL` → `"care_goal"` (deprecated alias: `CARE_GOAL_REPORTED` → `"care_goal_reported"`)
|
|
251
|
+
- `OliraLogType.IMMUNIZATION` → `"immunization"` (deprecated alias: `IMMUNIZATION_REPORTED` → `"immunization_reported"`)
|
|
252
|
+
- `OliraLogType.ALLERGY_INTOLERANCE` → `"allergy_intolerance"` (deprecated alias: `ALLERGY_INTOLERANCE_REPORTED` → `"allergy_intolerance_reported"`)
|
|
253
|
+
- `OliraLogType.FAMILY_HISTORY` → `"family_history"` (deprecated alias: `FAMILY_HISTORY_REPORTED` → `"family_history_reported"`)
|
|
254
|
+
- `OliraLogType.DEVICE` → `"device"` (deprecated alias: `DEVICE_REPORTED` → `"device_reported"`)
|
|
255
|
+
- `OliraLogType.CARE_ACTION` → `"care_action"` (deprecated alias: `CARE_ACTION_LOGGED` → `"care_action_logged"`)
|
|
251
256
|
- `OliraLogType.MEMORY_REPORT` → `"memory_report"`
|
|
252
|
-
- `OliraLogType.UNSTRUCTURED_REPORT_RECEIVED` → `"unstructured_report_received"`
|
|
257
|
+
- `OliraLogType.UNSTRUCTURED_REPORT` → `"unstructured_report"` (deprecated alias: `UNSTRUCTURED_REPORT_RECEIVED` → `"unstructured_report_received"`)
|
|
253
258
|
|
|
254
259
|
**Questionnaires**
|
|
255
260
|
|
|
@@ -258,45 +263,45 @@ in `log()` and `log_batch()`.
|
|
|
258
263
|
|
|
259
264
|
**Conversations**
|
|
260
265
|
|
|
261
|
-
- `OliraLogType.CONVERSATION_COMPLETED` → `"conversation_completed"`
|
|
262
|
-
- `OliraLogType.CONVERSATION_TURN_LOGGED` → `"conversation_turn_logged"`
|
|
266
|
+
- `OliraLogType.CONVERSATION` → `"conversation"` (deprecated alias: `CONVERSATION_COMPLETED` → `"conversation_completed"`)
|
|
267
|
+
- `OliraLogType.CONVERSATION_TURN` → `"conversation_turn"` (deprecated alias: `CONVERSATION_TURN_LOGGED` → `"conversation_turn_logged"`)
|
|
263
268
|
|
|
264
269
|
**Passive data**
|
|
265
270
|
|
|
266
|
-
- `OliraLogType.HEART_RATE_DATA_RECEIVED` → `"heart_rate_data_received"`
|
|
267
|
-
- `OliraLogType.SLEEP_DATA_RECEIVED` → `"sleep_data_received"`
|
|
268
|
-
- `OliraLogType.ACTIVITY_DATA_RECEIVED` → `"activity_data_received"`
|
|
269
|
-
- `OliraLogType.CGM_READING_RECEIVED` → `"cgm_reading_received"`
|
|
270
|
-
- `OliraLogType.SPO2_READING_RECEIVED` → `"spo2_reading_received"`
|
|
271
|
-
- `OliraLogType.WEIGHT_MEASUREMENT_RECEIVED` → `"weight_measurement_received"`
|
|
271
|
+
- `OliraLogType.HEART_RATE_DATA` → `"heart_rate_data"` (deprecated alias: `HEART_RATE_DATA_RECEIVED` → `"heart_rate_data_received"`)
|
|
272
|
+
- `OliraLogType.SLEEP_DATA` → `"sleep_data"` (deprecated alias: `SLEEP_DATA_RECEIVED` → `"sleep_data_received"`)
|
|
273
|
+
- `OliraLogType.ACTIVITY_DATA` → `"activity_data"` (deprecated alias: `ACTIVITY_DATA_RECEIVED` → `"activity_data_received"`)
|
|
274
|
+
- `OliraLogType.CGM_READING` → `"cgm_reading"` (deprecated alias: `CGM_READING_RECEIVED` → `"cgm_reading_received"`)
|
|
275
|
+
- `OliraLogType.SPO2_READING` → `"spo2_reading"` (deprecated alias: `SPO2_READING_RECEIVED` → `"spo2_reading_received"`)
|
|
276
|
+
- `OliraLogType.WEIGHT_MEASUREMENT` → `"weight_measurement"` (deprecated alias: `WEIGHT_MEASUREMENT_RECEIVED` → `"weight_measurement_received"`)
|
|
272
277
|
|
|
273
278
|
**Medications**
|
|
274
279
|
|
|
275
|
-
- `OliraLogType.MEDICATION_ACTION` → `"medication_action"`
|
|
276
|
-
- `OliraLogType.MEDICATION_DOSE_UPDATE` → `"medication_dose_update"`
|
|
277
|
-
- `OliraLogType.MEDICATION_ADVERSE_EVENT_REPORTED` → `"medication_adverse_event_reported"`
|
|
280
|
+
- `OliraLogType.MEDICATION_LIST_UPDATE` → `"medication_list_update"` (deprecated alias: `MEDICATION_ACTION` → `"medication_action"`)
|
|
281
|
+
- `OliraLogType.MEDICATION_ADHERENCE` → `"medication_adherence"` (deprecated alias: `MEDICATION_DOSE_UPDATE` → `"medication_dose_update"`)
|
|
282
|
+
- `OliraLogType.MEDICATION_ADVERSE_EVENT` → `"medication_adverse_event"` (deprecated alias: `MEDICATION_ADVERSE_EVENT_REPORTED` → `"medication_adverse_event_reported"`)
|
|
278
283
|
|
|
279
284
|
**Engagement**
|
|
280
285
|
|
|
281
286
|
- `OliraLogType.USER_LOGIN` → `"user_login"`
|
|
282
287
|
- `OliraLogType.USER_LOGOUT` → `"user_logout"`
|
|
283
|
-
- `OliraLogType.CONTENT_INTERACTED` → `"content_interacted"`
|
|
284
|
-
- `OliraLogType.NOTIFICATION_INTERACTED` → `"notification_interacted"`
|
|
285
|
-
- `OliraLogType.TASK_UPDATED` → `"task_updated"`
|
|
288
|
+
- `OliraLogType.CONTENT_INTERACTION` → `"content_interaction"` (deprecated alias: `CONTENT_INTERACTED` → `"content_interacted"`)
|
|
289
|
+
- `OliraLogType.NOTIFICATION_INTERACTION` → `"notification_interaction"` (deprecated alias: `NOTIFICATION_INTERACTED` → `"notification_interacted"`)
|
|
290
|
+
- `OliraLogType.TASK_OUTCOME` → `"task_outcome"` (deprecated alias: `TASK_UPDATED` → `"task_updated"`)
|
|
286
291
|
- `OliraLogType.INTERACTION_FEEDBACK` → `"interaction_feedback"`
|
|
287
|
-
- `OliraLogType.FEATURE_USED` → `"feature_used"`
|
|
292
|
+
- `OliraLogType.FEATURE_USAGE` → `"feature_usage"` (deprecated alias: `FEATURE_USED` → `"feature_used"`)
|
|
288
293
|
|
|
289
294
|
**Profile**
|
|
290
295
|
|
|
291
|
-
- `OliraLogType.DEMOGRAPHICS_UPDATED` → `"demographics_updated"`
|
|
292
|
-
- `OliraLogType.CONDITION_RECORDED` → `"condition_recorded"`
|
|
293
|
-
- `OliraLogType.PREFERENCES_UPDATED` → `"preferences_updated"`
|
|
294
|
-
- `OliraLogType.EMERGENCY_CONTACT_UPDATED` → `"emergency_contact_updated"`
|
|
295
|
-
- `OliraLogType.CARE_TEAM_UPDATED` → `"care_team_updated"`
|
|
296
|
-
- `OliraLogType.INSURANCE_UPDATED` → `"insurance_updated"`
|
|
297
|
-
- `OliraLogType.SOCIAL_UPDATED` → `"social_updated"`
|
|
298
|
-
- `OliraLogType.PHARMACY_UPDATED` → `"pharmacy_updated"`
|
|
299
|
-
- `OliraLogType.TREATMENT_PHASE_CHANGED` → `"treatment_phase_changed"`
|
|
296
|
+
- `OliraLogType.DEMOGRAPHICS` → `"demographics"` (deprecated alias: `DEMOGRAPHICS_UPDATED` → `"demographics_updated"`)
|
|
297
|
+
- `OliraLogType.CONDITION` → `"condition"` (deprecated alias: `CONDITION_RECORDED` → `"condition_recorded"`)
|
|
298
|
+
- `OliraLogType.PREFERENCES` → `"preferences"` (deprecated alias: `PREFERENCES_UPDATED` → `"preferences_updated"`)
|
|
299
|
+
- `OliraLogType.EMERGENCY_CONTACT` → `"emergency_contact"` (deprecated alias: `EMERGENCY_CONTACT_UPDATED` → `"emergency_contact_updated"`)
|
|
300
|
+
- `OliraLogType.CARE_TEAM` → `"care_team"` (deprecated alias: `CARE_TEAM_UPDATED` → `"care_team_updated"`)
|
|
301
|
+
- `OliraLogType.INSURANCE` → `"insurance"` (deprecated alias: `INSURANCE_UPDATED` → `"insurance_updated"`)
|
|
302
|
+
- `OliraLogType.SOCIAL_DETERMINANTS` → `"social_determinants"` (deprecated alias: `SOCIAL_UPDATED` → `"social_updated"`)
|
|
303
|
+
- `OliraLogType.PHARMACY` → `"pharmacy"` (deprecated alias: `PHARMACY_UPDATED` → `"pharmacy_updated"`)
|
|
304
|
+
- `OliraLogType.TREATMENT_PHASE` → `"treatment_phase"` (deprecated alias: `TREATMENT_PHASE_CHANGED` → `"treatment_phase_changed"`)
|
|
300
305
|
|
|
301
306
|
## Patients
|
|
302
307
|
|
|
@@ -32,70 +32,130 @@ def _validate_patient_id(value: str) -> str:
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
class OliraLogType(StrEnum):
|
|
35
|
-
"""Customer-facing log types. Values match the platform log catalog.
|
|
35
|
+
"""Customer-facing log types. Values match the platform log catalog.
|
|
36
|
+
|
|
37
|
+
As of OLI-1943, the platform renamed most verb-suffixed subtypes (e.g.
|
|
38
|
+
``moods_report``, ``conversation_completed``) to noun-only canonical names
|
|
39
|
+
(e.g. ``mood_report``, ``conversation``). Both forms are accepted by the
|
|
40
|
+
platform indefinitely, so members marked "deprecated" below are kept for
|
|
41
|
+
backwards compatibility and are safe to keep using — but new integrations
|
|
42
|
+
should prefer the canonical member listed in each deprecation note.
|
|
43
|
+
"""
|
|
36
44
|
|
|
37
45
|
SYMPTOM_REPORT = "symptom_report"
|
|
38
46
|
SYMPTOM_FREE_TEXT = "symptom_free_text"
|
|
39
47
|
SYMPTOM_DETAIL = "symptom_detail"
|
|
40
|
-
MOODS_REPORT = "moods_report"
|
|
41
|
-
FUNCTIONAL_CLASS_REPORTED = "functional_class_reported"
|
|
42
|
-
HEALTH_METRIC_REPORTED = "health_metric_reported"
|
|
48
|
+
MOODS_REPORT = "moods_report" # deprecated: use MOOD_REPORT
|
|
49
|
+
FUNCTIONAL_CLASS_REPORTED = "functional_class_reported" # deprecated: use FUNCTIONAL_CLASS
|
|
50
|
+
HEALTH_METRIC_REPORTED = "health_metric_reported" # deprecated: use HEALTH_METRIC
|
|
43
51
|
|
|
44
|
-
LAB_RESULTS_RECEIVED = "lab_results_received"
|
|
52
|
+
LAB_RESULTS_RECEIVED = "lab_results_received" # deprecated: use LAB_RESULTS
|
|
45
53
|
VITALS_MEASUREMENT = "vitals_measurement"
|
|
46
|
-
CLINICAL_NOTE_RECEIVED = "clinical_note_received"
|
|
47
|
-
CLINICAL_FINDING_REPORTED = "clinical_finding_reported"
|
|
48
|
-
PROCEDURE_RESULT_RECEIVED = "procedure_result_received"
|
|
49
|
-
PROCEDURE_PERFORMED = "procedure_performed"
|
|
50
|
-
GENOMIC_VARIANT_REPORTED = "genomic_variant_reported"
|
|
51
|
-
IMAGING_RESULT_RECEIVED = "imaging_result_received"
|
|
52
|
-
CLINICAL_MEASUREMENT_REPORTED = "clinical_measurement_reported"
|
|
53
|
-
TREATMENT_RESPONSE_ASSESSMENT_REPORTED =
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
54
|
+
CLINICAL_NOTE_RECEIVED = "clinical_note_received" # deprecated: use CLINICAL_NOTE
|
|
55
|
+
CLINICAL_FINDING_REPORTED = "clinical_finding_reported" # deprecated: use CLINICAL_FINDING
|
|
56
|
+
PROCEDURE_RESULT_RECEIVED = "procedure_result_received" # deprecated: use PROCEDURE_RESULT
|
|
57
|
+
PROCEDURE_PERFORMED = "procedure_performed" # deprecated: use PROCEDURE
|
|
58
|
+
GENOMIC_VARIANT_REPORTED = "genomic_variant_reported" # deprecated: use GENOMIC_VARIANT
|
|
59
|
+
IMAGING_RESULT_RECEIVED = "imaging_result_received" # deprecated: use IMAGING_RESULT
|
|
60
|
+
CLINICAL_MEASUREMENT_REPORTED = "clinical_measurement_reported" # deprecated: use CLINICAL_MEASUREMENT
|
|
61
|
+
TREATMENT_RESPONSE_ASSESSMENT_REPORTED = (
|
|
62
|
+
"treatment_response_assessment_reported" # deprecated: use TREATMENT_RESPONSE_ASSESSMENT
|
|
63
|
+
)
|
|
64
|
+
CLINICAL_PLAN_ITEM_REPORTED = "clinical_plan_item_reported" # deprecated: use CLINICAL_PLAN_ITEM
|
|
65
|
+
CARE_ENCOUNTER_REPORTED = "care_encounter_reported" # deprecated: use CARE_ENCOUNTER
|
|
66
|
+
CARE_GOAL_REPORTED = "care_goal_reported" # deprecated: use CARE_GOAL
|
|
67
|
+
IMMUNIZATION_REPORTED = "immunization_reported" # deprecated: use IMMUNIZATION
|
|
68
|
+
ALLERGY_INTOLERANCE_REPORTED = "allergy_intolerance_reported" # deprecated: use ALLERGY_INTOLERANCE
|
|
69
|
+
FAMILY_HISTORY_REPORTED = "family_history_reported" # deprecated: use FAMILY_HISTORY
|
|
70
|
+
DEVICE_REPORTED = "device_reported" # deprecated: use DEVICE
|
|
71
|
+
CARE_ACTION_LOGGED = "care_action_logged" # deprecated: use CARE_ACTION
|
|
62
72
|
MEMORY_REPORT = "memory_report"
|
|
63
|
-
UNSTRUCTURED_REPORT_RECEIVED = "unstructured_report_received"
|
|
73
|
+
UNSTRUCTURED_REPORT_RECEIVED = "unstructured_report_received" # deprecated: use UNSTRUCTURED_REPORT
|
|
64
74
|
|
|
65
75
|
QUESTIONNAIRE_RESPONSE = "questionnaire_response"
|
|
66
76
|
QUESTIONNAIRE_ITEM_RESPONSE = "questionnaire_item_response"
|
|
67
77
|
|
|
68
|
-
CONVERSATION_COMPLETED = "conversation_completed"
|
|
69
|
-
CONVERSATION_TURN_LOGGED = "conversation_turn_logged"
|
|
78
|
+
CONVERSATION_COMPLETED = "conversation_completed" # deprecated: use CONVERSATION
|
|
79
|
+
CONVERSATION_TURN_LOGGED = "conversation_turn_logged" # deprecated: use CONVERSATION_TURN
|
|
70
80
|
|
|
71
|
-
HEART_RATE_DATA_RECEIVED = "heart_rate_data_received"
|
|
72
|
-
SLEEP_DATA_RECEIVED = "sleep_data_received"
|
|
73
|
-
ACTIVITY_DATA_RECEIVED = "activity_data_received"
|
|
74
|
-
CGM_READING_RECEIVED = "cgm_reading_received"
|
|
75
|
-
SPO2_READING_RECEIVED = "spo2_reading_received"
|
|
76
|
-
WEIGHT_MEASUREMENT_RECEIVED = "weight_measurement_received"
|
|
81
|
+
HEART_RATE_DATA_RECEIVED = "heart_rate_data_received" # deprecated: use HEART_RATE_DATA
|
|
82
|
+
SLEEP_DATA_RECEIVED = "sleep_data_received" # deprecated: use SLEEP_DATA
|
|
83
|
+
ACTIVITY_DATA_RECEIVED = "activity_data_received" # deprecated: use ACTIVITY_DATA
|
|
84
|
+
CGM_READING_RECEIVED = "cgm_reading_received" # deprecated: use CGM_READING
|
|
85
|
+
SPO2_READING_RECEIVED = "spo2_reading_received" # deprecated: use SPO2_READING
|
|
86
|
+
WEIGHT_MEASUREMENT_RECEIVED = "weight_measurement_received" # deprecated: use WEIGHT_MEASUREMENT
|
|
77
87
|
|
|
78
|
-
MEDICATION_ACTION = "medication_action"
|
|
79
|
-
MEDICATION_DOSE_UPDATE = "medication_dose_update"
|
|
80
|
-
MEDICATION_ADVERSE_EVENT_REPORTED = "medication_adverse_event_reported"
|
|
88
|
+
MEDICATION_ACTION = "medication_action" # deprecated: use MEDICATION_LIST_UPDATE
|
|
89
|
+
MEDICATION_DOSE_UPDATE = "medication_dose_update" # deprecated: use MEDICATION_ADHERENCE
|
|
90
|
+
MEDICATION_ADVERSE_EVENT_REPORTED = "medication_adverse_event_reported" # deprecated: use MEDICATION_ADVERSE_EVENT
|
|
81
91
|
|
|
82
92
|
USER_LOGIN = "user_login"
|
|
83
93
|
USER_LOGOUT = "user_logout"
|
|
84
|
-
CONTENT_INTERACTED = "content_interacted"
|
|
85
|
-
NOTIFICATION_INTERACTED = "notification_interacted"
|
|
86
|
-
TASK_UPDATED = "task_updated"
|
|
94
|
+
CONTENT_INTERACTED = "content_interacted" # deprecated: use CONTENT_INTERACTION
|
|
95
|
+
NOTIFICATION_INTERACTED = "notification_interacted" # deprecated: use NOTIFICATION_INTERACTION
|
|
96
|
+
TASK_UPDATED = "task_updated" # deprecated: use TASK_OUTCOME
|
|
87
97
|
INTERACTION_FEEDBACK = "interaction_feedback"
|
|
88
|
-
FEATURE_USED = "feature_used"
|
|
89
|
-
|
|
90
|
-
DEMOGRAPHICS_UPDATED = "demographics_updated"
|
|
91
|
-
CONDITION_RECORDED = "condition_recorded"
|
|
92
|
-
PREFERENCES_UPDATED = "preferences_updated"
|
|
93
|
-
EMERGENCY_CONTACT_UPDATED = "emergency_contact_updated"
|
|
94
|
-
CARE_TEAM_UPDATED = "care_team_updated"
|
|
95
|
-
INSURANCE_UPDATED = "insurance_updated"
|
|
96
|
-
SOCIAL_UPDATED = "social_updated"
|
|
97
|
-
PHARMACY_UPDATED = "pharmacy_updated"
|
|
98
|
-
TREATMENT_PHASE_CHANGED = "treatment_phase_changed"
|
|
98
|
+
FEATURE_USED = "feature_used" # deprecated: use FEATURE_USAGE
|
|
99
|
+
|
|
100
|
+
DEMOGRAPHICS_UPDATED = "demographics_updated" # deprecated: use DEMOGRAPHICS
|
|
101
|
+
CONDITION_RECORDED = "condition_recorded" # deprecated: use CONDITION
|
|
102
|
+
PREFERENCES_UPDATED = "preferences_updated" # deprecated: use PREFERENCES
|
|
103
|
+
EMERGENCY_CONTACT_UPDATED = "emergency_contact_updated" # deprecated: use EMERGENCY_CONTACT
|
|
104
|
+
CARE_TEAM_UPDATED = "care_team_updated" # deprecated: use CARE_TEAM
|
|
105
|
+
INSURANCE_UPDATED = "insurance_updated" # deprecated: use INSURANCE
|
|
106
|
+
SOCIAL_UPDATED = "social_updated" # deprecated: use SOCIAL_DETERMINANTS
|
|
107
|
+
PHARMACY_UPDATED = "pharmacy_updated" # deprecated: use PHARMACY
|
|
108
|
+
TREATMENT_PHASE_CHANGED = "treatment_phase_changed" # deprecated: use TREATMENT_PHASE
|
|
109
|
+
|
|
110
|
+
# ------------------------------------------------------------------
|
|
111
|
+
# Canonical noun-only names (OLI-1943). Prefer these for new integrations;
|
|
112
|
+
# the deprecated members above remain valid and continue to work.
|
|
113
|
+
# ------------------------------------------------------------------
|
|
114
|
+
MOOD_REPORT = "mood_report"
|
|
115
|
+
FUNCTIONAL_CLASS = "functional_class"
|
|
116
|
+
HEALTH_METRIC = "health_metric"
|
|
117
|
+
LAB_RESULTS = "lab_results"
|
|
118
|
+
CLINICAL_NOTE = "clinical_note"
|
|
119
|
+
CLINICAL_FINDING = "clinical_finding"
|
|
120
|
+
PROCEDURE_RESULT = "procedure_result"
|
|
121
|
+
PROCEDURE = "procedure"
|
|
122
|
+
GENOMIC_VARIANT = "genomic_variant"
|
|
123
|
+
IMAGING_RESULT = "imaging_result"
|
|
124
|
+
CLINICAL_MEASUREMENT = "clinical_measurement"
|
|
125
|
+
TREATMENT_RESPONSE_ASSESSMENT = "treatment_response_assessment"
|
|
126
|
+
CLINICAL_PLAN_ITEM = "clinical_plan_item"
|
|
127
|
+
CARE_ENCOUNTER = "care_encounter"
|
|
128
|
+
CARE_GOAL = "care_goal"
|
|
129
|
+
IMMUNIZATION = "immunization"
|
|
130
|
+
ALLERGY_INTOLERANCE = "allergy_intolerance"
|
|
131
|
+
FAMILY_HISTORY = "family_history"
|
|
132
|
+
DEVICE = "device"
|
|
133
|
+
CARE_ACTION = "care_action"
|
|
134
|
+
UNSTRUCTURED_REPORT = "unstructured_report"
|
|
135
|
+
CONVERSATION = "conversation"
|
|
136
|
+
CONVERSATION_TURN = "conversation_turn"
|
|
137
|
+
HEART_RATE_DATA = "heart_rate_data"
|
|
138
|
+
SLEEP_DATA = "sleep_data"
|
|
139
|
+
ACTIVITY_DATA = "activity_data"
|
|
140
|
+
CGM_READING = "cgm_reading"
|
|
141
|
+
SPO2_READING = "spo2_reading"
|
|
142
|
+
WEIGHT_MEASUREMENT = "weight_measurement"
|
|
143
|
+
MEDICATION_LIST_UPDATE = "medication_list_update"
|
|
144
|
+
MEDICATION_ADHERENCE = "medication_adherence"
|
|
145
|
+
MEDICATION_ADVERSE_EVENT = "medication_adverse_event"
|
|
146
|
+
CONTENT_INTERACTION = "content_interaction"
|
|
147
|
+
NOTIFICATION_INTERACTION = "notification_interaction"
|
|
148
|
+
TASK_OUTCOME = "task_outcome"
|
|
149
|
+
FEATURE_USAGE = "feature_usage"
|
|
150
|
+
DEMOGRAPHICS = "demographics"
|
|
151
|
+
CONDITION = "condition"
|
|
152
|
+
PREFERENCES = "preferences"
|
|
153
|
+
EMERGENCY_CONTACT = "emergency_contact"
|
|
154
|
+
CARE_TEAM = "care_team"
|
|
155
|
+
INSURANCE = "insurance"
|
|
156
|
+
SOCIAL_DETERMINANTS = "social_determinants"
|
|
157
|
+
PHARMACY = "pharmacy"
|
|
158
|
+
TREATMENT_PHASE = "treatment_phase"
|
|
99
159
|
|
|
100
160
|
|
|
101
161
|
class OliraTrace(BaseModel):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|