From 642bc2a7f859a01180c8565ea01e96ece46cc85e Mon Sep 17 00:00:00 2001 From: Jonah Kaye Date: Fri, 16 Feb 2024 02:25:53 -0500 Subject: [PATCH] feat(fhir): off client import Refs: #1212 --- src/metriport/medical/resources/facility/types/facility.py | 2 +- .../resources/facility/types/list_facilities_response.py | 2 +- .../medical/resources/organization/types/organization.py | 2 +- .../medical/resources/organization/types/organization_create.py | 2 +- src/metriport/medical/resources/patient/types/base_patient.py | 2 +- src/metriport/medical/resources/patient/types/contact.py | 2 +- .../medical/resources/patient/types/drivers_license.py | 2 +- .../medical/resources/patient/types/list_patients_response.py | 2 +- .../medical/resources/patient/types/medical_record_status.py | 2 +- src/metriport/medical/resources/patient/types/patient.py | 2 +- src/metriport/medical/resources/patient/types/record_status.py | 2 +- .../medical/resources/webhooks/types/payload_patient.py | 2 +- .../resources/webhooks/types/webhook_document_data_payload.py | 2 +- .../resources/webhooks/types/webhook_metadata_payload.py | 2 +- .../webhooks/types/webhook_patient_consolidated_data_payload.py | 2 +- .../webhooks/types/webhook_patient_document_data_payload.py | 2 +- .../medical/resources/webhooks/types/webhook_patient_payload.py | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/metriport/medical/resources/facility/types/facility.py b/src/metriport/medical/resources/facility/types/facility.py index e9749c3..1c254f7 100644 --- a/src/metriport/medical/resources/facility/types/facility.py +++ b/src/metriport/medical/resources/facility/types/facility.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .base_facility import BaseFacility try: diff --git a/src/metriport/medical/resources/facility/types/list_facilities_response.py b/src/metriport/medical/resources/facility/types/list_facilities_response.py index 618e55f..ab7fd6a 100644 --- a/src/metriport/medical/resources/facility/types/list_facilities_response.py +++ b/src/metriport/medical/resources/facility/types/list_facilities_response.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .facility import Facility try: diff --git a/src/metriport/medical/resources/organization/types/organization.py b/src/metriport/medical/resources/organization/types/organization.py index c4a2416..db89916 100644 --- a/src/metriport/medical/resources/organization/types/organization.py +++ b/src/metriport/medical/resources/organization/types/organization.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .organization_create import OrganizationCreate try: diff --git a/src/metriport/medical/resources/organization/types/organization_create.py b/src/metriport/medical/resources/organization/types/organization_create.py index a301560..ee328a7 100644 --- a/src/metriport/medical/resources/organization/types/organization_create.py +++ b/src/metriport/medical/resources/organization/types/organization_create.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .....commons.types.address import Address from .org_type import OrgType diff --git a/src/metriport/medical/resources/patient/types/base_patient.py b/src/metriport/medical/resources/patient/types/base_patient.py index 1431f6b..cf520f1 100644 --- a/src/metriport/medical/resources/patient/types/base_patient.py +++ b/src/metriport/medical/resources/patient/types/base_patient.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .....commons.types.address import Address from .contact import Contact from .personal_identifier import PersonalIdentifier diff --git a/src/metriport/medical/resources/patient/types/contact.py b/src/metriport/medical/resources/patient/types/contact.py index 78060f2..d97a13d 100644 --- a/src/metriport/medical/resources/patient/types/contact.py +++ b/src/metriport/medical/resources/patient/types/contact.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime try: import pydantic.v1 as pydantic # type: ignore diff --git a/src/metriport/medical/resources/patient/types/drivers_license.py b/src/metriport/medical/resources/patient/types/drivers_license.py index d2f75f3..ec0a3ef 100644 --- a/src/metriport/medical/resources/patient/types/drivers_license.py +++ b/src/metriport/medical/resources/patient/types/drivers_license.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .....commons.types.us_state import UsState from .....fhir.types.period import Period diff --git a/src/metriport/medical/resources/patient/types/list_patients_response.py b/src/metriport/medical/resources/patient/types/list_patients_response.py index 8abfe44..f740cbe 100644 --- a/src/metriport/medical/resources/patient/types/list_patients_response.py +++ b/src/metriport/medical/resources/patient/types/list_patients_response.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .patient import Patient try: diff --git a/src/metriport/medical/resources/patient/types/medical_record_status.py b/src/metriport/medical/resources/patient/types/medical_record_status.py index b1fa625..774b4ed 100644 --- a/src/metriport/medical/resources/patient/types/medical_record_status.py +++ b/src/metriport/medical/resources/patient/types/medical_record_status.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .record_status import RecordStatus try: diff --git a/src/metriport/medical/resources/patient/types/patient.py b/src/metriport/medical/resources/patient/types/patient.py index 60c8e1f..41111c2 100644 --- a/src/metriport/medical/resources/patient/types/patient.py +++ b/src/metriport/medical/resources/patient/types/patient.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .base_patient import BasePatient from .facility_id import FacilityId diff --git a/src/metriport/medical/resources/patient/types/record_status.py b/src/metriport/medical/resources/patient/types/record_status.py index ddb496e..f8adbe5 100644 --- a/src/metriport/medical/resources/patient/types/record_status.py +++ b/src/metriport/medical/resources/patient/types/record_status.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime try: import pydantic.v1 as pydantic # type: ignore diff --git a/src/metriport/medical/resources/webhooks/types/payload_patient.py b/src/metriport/medical/resources/webhooks/types/payload_patient.py index ccba112..1fc0f60 100644 --- a/src/metriport/medical/resources/webhooks/types/payload_patient.py +++ b/src/metriport/medical/resources/webhooks/types/payload_patient.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .....fhir.types.bundle import Bundle from .consolidated_webhook_status import ConsolidatedWebhookStatus from .filters import Filters diff --git a/src/metriport/medical/resources/webhooks/types/webhook_document_data_payload.py b/src/metriport/medical/resources/webhooks/types/webhook_document_data_payload.py index eaf1bb4..f06c044 100644 --- a/src/metriport/medical/resources/webhooks/types/webhook_document_data_payload.py +++ b/src/metriport/medical/resources/webhooks/types/webhook_document_data_payload.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .....fhir.types.codeable_concept import CodeableConcept try: diff --git a/src/metriport/medical/resources/webhooks/types/webhook_metadata_payload.py b/src/metriport/medical/resources/webhooks/types/webhook_metadata_payload.py index f0eccdb..8252916 100644 --- a/src/metriport/medical/resources/webhooks/types/webhook_metadata_payload.py +++ b/src/metriport/medical/resources/webhooks/types/webhook_metadata_payload.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime try: import pydantic.v1 as pydantic # type: ignore diff --git a/src/metriport/medical/resources/webhooks/types/webhook_patient_consolidated_data_payload.py b/src/metriport/medical/resources/webhooks/types/webhook_patient_consolidated_data_payload.py index 72e85c4..10a6d3c 100644 --- a/src/metriport/medical/resources/webhooks/types/webhook_patient_consolidated_data_payload.py +++ b/src/metriport/medical/resources/webhooks/types/webhook_patient_consolidated_data_payload.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .payload_patient import PayloadPatient from .webhook_metadata_payload import WebhookMetadataPayload diff --git a/src/metriport/medical/resources/webhooks/types/webhook_patient_document_data_payload.py b/src/metriport/medical/resources/webhooks/types/webhook_patient_document_data_payload.py index d47be71..01e94e9 100644 --- a/src/metriport/medical/resources/webhooks/types/webhook_patient_document_data_payload.py +++ b/src/metriport/medical/resources/webhooks/types/webhook_patient_document_data_payload.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .webhook_metadata_payload import WebhookMetadataPayload from .webhook_patient_payload import WebhookPatientPayload diff --git a/src/metriport/medical/resources/webhooks/types/webhook_patient_payload.py b/src/metriport/medical/resources/webhooks/types/webhook_patient_payload.py index 20a6169..d7d7ef0 100644 --- a/src/metriport/medical/resources/webhooks/types/webhook_patient_payload.py +++ b/src/metriport/medical/resources/webhooks/types/webhook_patient_payload.py @@ -3,7 +3,7 @@ import datetime as dt import typing -from ......core.datetime_utils import serialize_datetime +from .....core.datetime_utils import serialize_datetime from .mapi_webhook_status import MapiWebhookStatus from .webhook_document_data_payload import WebhookDocumentDataPayload