Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fhir): updated fhir resource imports #6

Merged
merged 5 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "metriport"
version = "8.0.2-beta"
version = "8.0.3-beta"
description = ""
readme = "README.md"
authors = []
Expand Down
6 changes: 4 additions & 2 deletions src/metriport/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# This file was auto-generated by Fern from our API Definition.

from .resources import Address, UsState, commons, fhir, medical
from . import commons
from . import fhir
from . import medical
from .environment import MetriportEnvironment

__all__ = ["Address", "MetriportEnvironment", "UsState", "commons", "fhir", "medical"]
__all__ = ["MetriportEnvironment", "commons", "fhir", "medical"]
3 changes: 1 addition & 2 deletions src/metriport/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from .environment import MetriportEnvironment
from .resources.medical.client import AsyncMedicalClient, MedicalClient

from .medical.client import AsyncMedicalClient, MedicalClient

class Metriport:
def __init__(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .us_state import UsState

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .access_policy_ip_access_rule import AccessPolicyIpAccessRule
from .access_policy_resource import AccessPolicyResource
from .code import Code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .access_policy_ip_access_rule_action import AccessPolicyIpAccessRuleAction

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .expression import Expression
from .reference import Reference

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .account_coverage import AccountCoverage
from .account_guarantor import AccountGuarantor
from .account_status import AccountStatus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .extension import Extension
from .positive_int import PositiveInt
from .reference import Reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .extension import Extension
from .period import Period
from .reference import Reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .activity_definition_dynamic_value import ActivityDefinitionDynamicValue
from .activity_definition_participant import ActivityDefinitionParticipant
from .activity_definition_status import ActivityDefinitionStatus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .expression import Expression
from .extension import Extension

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .code import Code
from .codeable_concept import CodeableConcept
from .extension import Extension
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import datetime as dt
import typing

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .address_type import AddressType
from .address_use import AddressUse

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .adverse_event_actuality import AdverseEventActuality
from .adverse_event_suspect_entity import AdverseEventSuspectEntity
from .base_resource import BaseResource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .codeable_concept import CodeableConcept
from .extension import Extension
from .reference import Reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .adverse_event_causality import AdverseEventCausality
from .extension import Extension
from .reference import Reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import datetime as dt
import typing

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .age_comparator import AgeComparator
from .code import Code
from .decimal import Decimal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .agent_channel import AgentChannel
from .agent_setting import AgentSetting
from .agent_status import AgentStatus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .reference import Reference
from .url import Url

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .decimal import Decimal

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .age import Age
from .allergy_intolerance_category_item import AllergyIntoleranceCategoryItem
from .allergy_intolerance_criticality import AllergyIntoleranceCriticality
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .allergy_intolerance_reaction_severity import AllergyIntoleranceReactionSeverity
from .annotation import Annotation
from .codeable_concept import CodeableConcept
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import datetime as dt
import typing

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .date_time import DateTime
from .markdown import Markdown

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .appointment_participant import AppointmentParticipant
from .appointment_status import AppointmentStatus
from .base_resource import BaseResource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .appointment_participant_required import AppointmentParticipantRequired
from .appointment_participant_status import AppointmentParticipantStatus
from .codeable_concept import CodeableConcept
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .base_resource import BaseResource
from .code import Code
from .codeable_concept import CodeableConcept
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .async_job_status import AsyncJobStatus
from .code import Code
from .id import Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import datetime as dt
import typing

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .base_64_binary import Base64Binary
from .code import Code
from .date_time import DateTime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .audit_event_action import AuditEventAction
from .audit_event_agent import AuditEventAgent
from .audit_event_entity import AuditEventEntity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .audit_event_network import AuditEventNetwork
from .codeable_concept import CodeableConcept
from .coding import Coding
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .extension import Extension

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .audit_event_detail import AuditEventDetail
from .base_64_binary import Base64Binary
from .coding import Coding
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .audit_event_network_type import AuditEventNetworkType
from .extension import Extension

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .coding import Coding
from .extension import Extension
from .reference import Reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .code import Code
from .extension import Extension
from .id import Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .base_resource import BaseResource
from .codeable_concept import CodeableConcept
from .identifier import Identifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .base_64_binary import Base64Binary
from .code import Code
from .id import Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import typing_extensions

from ....core.datetime_utils import serialize_datetime
from ...core.datetime_utils import serialize_datetime
from .base_resource import BaseResource
from .biologically_derived_product_collection import BiologicallyDerivedProductCollection
from .biologically_derived_product_manipulation import BiologicallyDerivedProductManipulation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .extension import Extension
from .period import Period
from .reference import Reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .extension import Extension
from .period import Period

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .codeable_concept import CodeableConcept
from .extension import Extension
from .period import Period
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 .biologically_derived_product_storage_scale import BiologicallyDerivedProductStorageScale
from .decimal import Decimal
from .extension import Extension
Expand Down
Loading
Loading