samplehc 0.17.0__py3-none-any.whl → 0.18.0__py3-none-any.whl

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.
Files changed (150) hide show
  1. samplehc/_client.py +1 -38
  2. samplehc/_version.py +1 -1
  3. samplehc/resources/__init__.py +0 -14
  4. samplehc/resources/v2/__init__.py +0 -98
  5. samplehc/resources/v2/async_results.py +0 -79
  6. samplehc/resources/v2/documents/__init__.py +0 -14
  7. samplehc/resources/v2/documents/documents.py +0 -194
  8. samplehc/resources/v2/v2.py +0 -224
  9. samplehc/types/__init__.py +0 -5
  10. samplehc/types/v2/__init__.py +0 -53
  11. samplehc/types/v2/documents/__init__.py +0 -3
  12. {samplehc-0.17.0.dist-info → samplehc-0.18.0.dist-info}/METADATA +22 -27
  13. samplehc-0.18.0.dist-info/RECORD +92 -0
  14. samplehc/resources/v1/__init__.py +0 -19
  15. samplehc/resources/v1/v1.py +0 -298
  16. samplehc/resources/v2/clearinghouse/__init__.py +0 -47
  17. samplehc/resources/v2/clearinghouse/claim.py +0 -407
  18. samplehc/resources/v2/clearinghouse/clearinghouse.py +0 -844
  19. samplehc/resources/v2/clearinghouse/payers.py +0 -224
  20. samplehc/resources/v2/documents/pdf_template.py +0 -165
  21. samplehc/resources/v2/hie/__init__.py +0 -47
  22. samplehc/resources/v2/hie/adt.py +0 -249
  23. samplehc/resources/v2/hie/documents.py +0 -390
  24. samplehc/resources/v2/hie/hie.py +0 -134
  25. samplehc/resources/v2/integrations/__init__.py +0 -131
  26. samplehc/resources/v2/integrations/bank/__init__.py +0 -33
  27. samplehc/resources/v2/integrations/bank/bank.py +0 -102
  28. samplehc/resources/v2/integrations/bank/transactions.py +0 -185
  29. samplehc/resources/v2/integrations/careviso.py +0 -372
  30. samplehc/resources/v2/integrations/glidian/__init__.py +0 -33
  31. samplehc/resources/v2/integrations/glidian/glidian.py +0 -425
  32. samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -33
  33. samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +0 -276
  34. samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +0 -527
  35. samplehc/resources/v2/integrations/integrations.py +0 -326
  36. samplehc/resources/v2/integrations/kno2/__init__.py +0 -33
  37. samplehc/resources/v2/integrations/kno2/kno2.py +0 -102
  38. samplehc/resources/v2/integrations/kno2/messages.py +0 -260
  39. samplehc/resources/v2/integrations/salesforce.py +0 -277
  40. samplehc/resources/v2/integrations/snowflake.py +0 -173
  41. samplehc/resources/v2/integrations/wellsky/__init__.py +0 -33
  42. samplehc/resources/v2/integrations/wellsky/patients.py +0 -324
  43. samplehc/resources/v2/integrations/wellsky/wellsky.py +0 -102
  44. samplehc/resources/v2/integrations/xcures.py +0 -197
  45. samplehc/resources/v2/policies.py +0 -655
  46. samplehc/resources/v2/tasks/__init__.py +0 -33
  47. samplehc/resources/v2/tasks/state.py +0 -266
  48. samplehc/resources/v2/tasks/tasks.py +0 -754
  49. samplehc/resources/v2/workflow_runs/__init__.py +0 -33
  50. samplehc/resources/v2/workflow_runs/step.py +0 -169
  51. samplehc/resources/v2/workflow_runs/workflow_runs.py +0 -479
  52. samplehc/resources/v2/workflows.py +0 -377
  53. samplehc/types/v1/__init__.py +0 -3
  54. samplehc/types/v1_query_audit_logs_params.py +0 -12
  55. samplehc/types/v1_query_audit_logs_response.py +0 -16
  56. samplehc/types/v1_sql_execute_params.py +0 -27
  57. samplehc/types/v1_sql_execute_response.py +0 -27
  58. samplehc/types/v2/async_result_retrieve_response.py +0 -18
  59. samplehc/types/v2/clearinghouse/__init__.py +0 -9
  60. samplehc/types/v2/clearinghouse/claim_submit_params.py +0 -2693
  61. samplehc/types/v2/clearinghouse/claim_submit_response.py +0 -23
  62. samplehc/types/v2/clearinghouse/payer_list_response.py +0 -27
  63. samplehc/types/v2/clearinghouse/payer_search_params.py +0 -12
  64. samplehc/types/v2/clearinghouse/payer_search_response.py +0 -33
  65. samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +0 -3129
  66. samplehc/types/v2/clearinghouse_check_claim_status_params.py +0 -41
  67. samplehc/types/v2/clearinghouse_check_eligibility_params.py +0 -36
  68. samplehc/types/v2/clearinghouse_check_eligibility_response.py +0 -15
  69. samplehc/types/v2/clearinghouse_coordination_of_benefits_params.py +0 -35
  70. samplehc/types/v2/clearinghouse_run_discovery_params.py +0 -59
  71. samplehc/types/v2/clearinghouse_run_discovery_response.py +0 -13
  72. samplehc/types/v2/document_unzip_async_response.py +0 -12
  73. samplehc/types/v2/document_unzip_response.py +0 -20
  74. samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +0 -17
  75. samplehc/types/v2/hie/__init__.py +0 -8
  76. samplehc/types/v2/hie/adt_subscribe_params.py +0 -92
  77. samplehc/types/v2/hie/document_query_params.py +0 -92
  78. samplehc/types/v2/hie/document_query_response.py +0 -16
  79. samplehc/types/v2/hie/document_upload_params.py +0 -54
  80. samplehc/types/v2/integrations/__init__.py +0 -23
  81. samplehc/types/v2/integrations/bank/__init__.py +0 -6
  82. samplehc/types/v2/integrations/bank/transaction_sync_params.py +0 -15
  83. samplehc/types/v2/integrations/bank/transaction_sync_response.py +0 -26
  84. samplehc/types/v2/integrations/careviso_get_payers_response.py +0 -19
  85. samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +0 -90
  86. samplehc/types/v2/integrations/glidian/__init__.py +0 -20
  87. samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +0 -32
  88. samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +0 -24
  89. samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +0 -13
  90. samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +0 -16
  91. samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +0 -20
  92. samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +0 -16
  93. samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +0 -7
  94. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +0 -42
  95. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +0 -23
  96. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +0 -19
  97. samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +0 -17
  98. samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +0 -31
  99. samplehc/types/v2/integrations/glidian_list_payers_params.py +0 -11
  100. samplehc/types/v2/integrations/glidian_list_payers_response.py +0 -17
  101. samplehc/types/v2/integrations/glidian_list_services_params.py +0 -13
  102. samplehc/types/v2/integrations/glidian_list_services_response.py +0 -19
  103. samplehc/types/v2/integrations/kno2/__init__.py +0 -6
  104. samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +0 -15
  105. samplehc/types/v2/integrations/kno2/message_retrieve_response.py +0 -13
  106. samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +0 -22
  107. samplehc/types/v2/integrations/salesforce_run_soql_query_params.py +0 -11
  108. samplehc/types/v2/integrations/snowflake_query_params.py +0 -12
  109. samplehc/types/v2/integrations/snowflake_query_response.py +0 -8
  110. samplehc/types/v2/integrations/wellsky/__init__.py +0 -6
  111. samplehc/types/v2/integrations/wellsky/patient_add_params.py +0 -13
  112. samplehc/types/v2/integrations/wellsky/patient_search_params.py +0 -32
  113. samplehc/types/v2/integrations/xcure_make_request_params.py +0 -18
  114. samplehc/types/v2/ledger/__init__.py +0 -3
  115. samplehc/types/v2/policy_list_companies_params.py +0 -18
  116. samplehc/types/v2/policy_list_companies_response.py +0 -24
  117. samplehc/types/v2/policy_list_params.py +0 -47
  118. samplehc/types/v2/policy_list_plans_params.py +0 -18
  119. samplehc/types/v2/policy_list_plans_response.py +0 -30
  120. samplehc/types/v2/policy_list_response.py +0 -67
  121. samplehc/types/v2/policy_retrieve_presigned_url_response.py +0 -17
  122. samplehc/types/v2/policy_retrieve_text_response.py +0 -12
  123. samplehc/types/v2/task_cancel_response.py +0 -12
  124. samplehc/types/v2/task_complete_params.py +0 -12
  125. samplehc/types/v2/task_complete_response.py +0 -16
  126. samplehc/types/v2/task_get_suspended_payload_response.py +0 -8
  127. samplehc/types/v2/task_retrieve_response.py +0 -22
  128. samplehc/types/v2/task_retry_response.py +0 -10
  129. samplehc/types/v2/task_update_column_params.py +0 -19
  130. samplehc/types/v2/task_update_column_response.py +0 -9
  131. samplehc/types/v2/task_update_screen_time_params.py +0 -14
  132. samplehc/types/v2/task_update_screen_time_response.py +0 -8
  133. samplehc/types/v2/tasks/__init__.py +0 -7
  134. samplehc/types/v2/tasks/state_get_response.py +0 -8
  135. samplehc/types/v2/tasks/state_update_params.py +0 -13
  136. samplehc/types/v2/tasks/state_update_response.py +0 -9
  137. samplehc/types/v2/workflow_deploy_response.py +0 -12
  138. samplehc/types/v2/workflow_query_params.py +0 -12
  139. samplehc/types/v2/workflow_query_response.py +0 -8
  140. samplehc/types/v2/workflow_run_get_start_data_response.py +0 -14
  141. samplehc/types/v2/workflow_run_resume_when_complete_params.py +0 -14
  142. samplehc/types/v2/workflow_run_resume_when_complete_response.py +0 -12
  143. samplehc/types/v2/workflow_run_retrieve_response.py +0 -16
  144. samplehc/types/v2/workflow_runs/__init__.py +0 -5
  145. samplehc/types/v2/workflow_runs/step_get_output_response.py +0 -14
  146. samplehc/types/v2/workflow_start_params.py +0 -25
  147. samplehc/types/v2/workflow_start_response.py +0 -25
  148. samplehc-0.17.0.dist-info/RECORD +0 -226
  149. {samplehc-0.17.0.dist-info → samplehc-0.18.0.dist-info}/WHEEL +0 -0
  150. {samplehc-0.17.0.dist-info → samplehc-0.18.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,41 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["ClearinghouseCheckClaimStatusParams"]
10
-
11
-
12
- class ClearinghouseCheckClaimStatusParams(TypedDict, total=False):
13
- provider_npi: Required[Annotated[str, PropertyInfo(alias="providerNpi")]]
14
- """The provider's NPI number"""
15
-
16
- subscriber_date_of_birth: Required[Annotated[str, PropertyInfo(alias="subscriberDateOfBirth")]]
17
- """The subscriber's date of birth (YYYY-MM-DD format)"""
18
-
19
- subscriber_first_name: Required[Annotated[str, PropertyInfo(alias="subscriberFirstName")]]
20
- """The subscriber's first name"""
21
-
22
- subscriber_last_name: Required[Annotated[str, PropertyInfo(alias="subscriberLastName")]]
23
- """The subscriber's last name"""
24
-
25
- subscriber_member_id: Required[Annotated[str, PropertyInfo(alias="subscriberMemberId")]]
26
- """The subscriber's member ID"""
27
-
28
- trading_partner_service_id: Required[Annotated[str, PropertyInfo(alias="tradingPartnerServiceId")]]
29
- """The Payer ID in our clearinghouse"""
30
-
31
- payer_claim_number: Annotated[str, PropertyInfo(alias="payerClaimNumber")]
32
- """The payer claim number (ICN) to check status for"""
33
-
34
- provider_name: Annotated[str, PropertyInfo(alias="providerName")]
35
- """The provider's organization name"""
36
-
37
- service_from_date: Annotated[str, PropertyInfo(alias="serviceFromDate")]
38
- """The beginning date of service (YYYY-MM-DD format)"""
39
-
40
- service_to_date: Annotated[str, PropertyInfo(alias="serviceToDate")]
41
- """The ending date of service (YYYY-MM-DD format)"""
@@ -1,36 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ..._types import SequenceNotStr
8
- from ..._utils import PropertyInfo
9
-
10
- __all__ = ["ClearinghouseCheckEligibilityParams"]
11
-
12
-
13
- class ClearinghouseCheckEligibilityParams(TypedDict, total=False):
14
- provider_identifier: Required[Annotated[str, PropertyInfo(alias="providerIdentifier")]]
15
- """The provider identifier. This is usually your NPI."""
16
-
17
- provider_name: Required[Annotated[str, PropertyInfo(alias="providerName")]]
18
- """The provider name."""
19
-
20
- service_type_codes: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="serviceTypeCodes")]]
21
- """The service type codes."""
22
-
23
- subscriber_date_of_birth: Required[Annotated[str, PropertyInfo(alias="subscriberDateOfBirth")]]
24
- """The date of birth of the subscriber."""
25
-
26
- subscriber_first_name: Required[Annotated[str, PropertyInfo(alias="subscriberFirstName")]]
27
- """The first name of the subscriber."""
28
-
29
- subscriber_last_name: Required[Annotated[str, PropertyInfo(alias="subscriberLastName")]]
30
- """The last name of the subscriber."""
31
-
32
- subscriber_member_id: Required[Annotated[str, PropertyInfo(alias="subscriberMemberId")]]
33
- """The member ID of the subscriber."""
34
-
35
- trading_partner_service_id: Required[Annotated[str, PropertyInfo(alias="tradingPartnerServiceId")]]
36
- """The trading partner service ID"""
@@ -1,15 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Optional
4
-
5
- from ..._models import BaseModel
6
-
7
- __all__ = ["ClearinghouseCheckEligibilityResponse"]
8
-
9
-
10
- class ClearinghouseCheckEligibilityResponse(BaseModel):
11
- """
12
- Successfully checked eligibility, returns the eligibility details from the payer.
13
- """
14
-
15
- eligibility: Optional[object] = None
@@ -1,35 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["ClearinghouseCoordinationOfBenefitsParams"]
10
-
11
-
12
- class ClearinghouseCoordinationOfBenefitsParams(TypedDict, total=False):
13
- dependent_date_of_birth: Required[Annotated[str, PropertyInfo(alias="dependentDateOfBirth")]]
14
-
15
- dependent_first_name: Required[Annotated[str, PropertyInfo(alias="dependentFirstName")]]
16
-
17
- dependent_last_name: Required[Annotated[str, PropertyInfo(alias="dependentLastName")]]
18
-
19
- encounter_date_of_service: Required[Annotated[str, PropertyInfo(alias="encounterDateOfService")]]
20
-
21
- encounter_service_type_code: Required[Annotated[str, PropertyInfo(alias="encounterServiceTypeCode")]]
22
-
23
- provider_name: Required[Annotated[str, PropertyInfo(alias="providerName")]]
24
-
25
- provider_npi: Required[Annotated[str, PropertyInfo(alias="providerNpi")]]
26
-
27
- subscriber_date_of_birth: Required[Annotated[str, PropertyInfo(alias="subscriberDateOfBirth")]]
28
-
29
- subscriber_first_name: Required[Annotated[str, PropertyInfo(alias="subscriberFirstName")]]
30
-
31
- subscriber_last_name: Required[Annotated[str, PropertyInfo(alias="subscriberLastName")]]
32
-
33
- subscriber_member_id: Required[Annotated[str, PropertyInfo(alias="subscriberMemberId")]]
34
-
35
- trading_partner_service_id: Required[Annotated[str, PropertyInfo(alias="tradingPartnerServiceId")]]
@@ -1,59 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["ClearinghouseRunDiscoveryParams", "Person"]
10
-
11
-
12
- class ClearinghouseRunDiscoveryParams(TypedDict, total=False):
13
- person: Required[Person]
14
-
15
- account_number: Annotated[str, PropertyInfo(alias="accountNumber")]
16
- """Account number"""
17
-
18
- check_credit: Annotated[bool, PropertyInfo(alias="checkCredit")]
19
- """Whether to check credit"""
20
-
21
- check_demographics: Annotated[bool, PropertyInfo(alias="checkDemographics")]
22
- """Whether to check demographics"""
23
-
24
- date_of_service: Annotated[str, PropertyInfo(alias="dateOfService")]
25
- """Date of service (YYYY-MM-DD)"""
26
-
27
- run_business_rules: Annotated[bool, PropertyInfo(alias="runBusinessRules")]
28
- """Whether to run business rules"""
29
-
30
- service_code: Annotated[str, PropertyInfo(alias="serviceCode")]
31
- """Service code"""
32
-
33
- idempotency_key: Annotated[str, PropertyInfo(alias="Idempotency-Key")]
34
-
35
-
36
- class Person(TypedDict, total=False):
37
- address_line1: Annotated[str, PropertyInfo(alias="addressLine1")]
38
- """Patient's address line 1"""
39
-
40
- address_line2: Annotated[str, PropertyInfo(alias="addressLine2")]
41
- """Patient's address line 2"""
42
-
43
- city: str
44
- """Patient's city"""
45
-
46
- date_of_birth: Annotated[str, PropertyInfo(alias="dateOfBirth")]
47
- """Patient's date of birth (YYYY-MM-DD)"""
48
-
49
- first_name: Annotated[str, PropertyInfo(alias="firstName")]
50
- """Patient's first name"""
51
-
52
- last_name: Annotated[str, PropertyInfo(alias="lastName")]
53
- """Patient's last name"""
54
-
55
- state: str
56
- """Patient's state"""
57
-
58
- zip: str
59
- """Patient's ZIP code"""
@@ -1,13 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Optional
4
-
5
- from ..._models import BaseModel
6
-
7
- __all__ = ["ClearinghouseRunDiscoveryResponse"]
8
-
9
-
10
- class ClearinghouseRunDiscoveryResponse(BaseModel):
11
- """Discovery process completed successfully."""
12
-
13
- result: Optional[object] = None
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from pydantic import Field as FieldInfo
4
-
5
- from ..._models import BaseModel
6
-
7
- __all__ = ["DocumentUnzipAsyncResponse"]
8
-
9
-
10
- class DocumentUnzipAsyncResponse(BaseModel):
11
- async_result_id: str = FieldInfo(alias="asyncResultId")
12
- """The ID of the async result for this job."""
@@ -1,20 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import List
4
-
5
- from pydantic import Field as FieldInfo
6
-
7
- from ..._models import BaseModel
8
-
9
- __all__ = ["DocumentUnzipResponse", "Document"]
10
-
11
-
12
- class Document(BaseModel):
13
- id: str
14
-
15
- file_name: str = FieldInfo(alias="fileName")
16
-
17
-
18
- class DocumentUnzipResponse(BaseModel):
19
- documents: List[Document]
20
- """The list of PDFs found in the ZIP file."""
@@ -1,17 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from pydantic import Field as FieldInfo
4
-
5
- from ...._models import BaseModel
6
-
7
- __all__ = ["PdfTemplateRetrieveMetadataResponse"]
8
-
9
-
10
- class PdfTemplateRetrieveMetadataResponse(BaseModel):
11
- """Successfully retrieved PDF template document metadata."""
12
-
13
- id: str
14
-
15
- file_name: str = FieldInfo(alias="fileName")
16
-
17
- presigned_url: str = FieldInfo(alias="presignedUrl")
@@ -1,8 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .adt_subscribe_params import AdtSubscribeParams as AdtSubscribeParams
6
- from .document_query_params import DocumentQueryParams as DocumentQueryParams
7
- from .document_upload_params import DocumentUploadParams as DocumentUploadParams
8
- from .document_query_response import DocumentQueryResponse as DocumentQueryResponse
@@ -1,92 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Iterable, Optional
6
- from typing_extensions import Literal, Required, Annotated, TypedDict
7
-
8
- from ...._utils import PropertyInfo
9
-
10
- __all__ = ["AdtSubscribeParams", "Address", "Contact", "PersonalIdentifier"]
11
-
12
-
13
- class AdtSubscribeParams(TypedDict, total=False):
14
- address: Required[Iterable[Address]]
15
- """
16
- An array of Address objects, representing the Patient's current and/or previous
17
- addresses. May be empty.
18
- """
19
-
20
- dob: Required[str]
21
- """The Patient's date of birth (DOB), formatted `YYYY-MM-DD` as per ISO 8601."""
22
-
23
- external_id: Required[Annotated[str, PropertyInfo(alias="externalId")]]
24
- """An external Patient ID that you store and can use to reference this Patient."""
25
-
26
- first_name: Required[Annotated[str, PropertyInfo(alias="firstName")]]
27
- """The Patient's first name(s)."""
28
-
29
- gender_at_birth: Required[Annotated[Literal["M", "F", "O", "U"], PropertyInfo(alias="genderAtBirth")]]
30
- """The Patient's gender at birth, can be one of `M` or `F` or `O` or `U`.
31
-
32
- Use `O` (other) when the patient's gender is known but it is not `M` or `F`, i.e
33
- intersex or hermaphroditic. Use `U` (unknown) when the patient's gender is not
34
- known.
35
- """
36
-
37
- last_name: Required[Annotated[str, PropertyInfo(alias="lastName")]]
38
- """The Patient's last name(s)."""
39
-
40
- contact: Iterable[Contact]
41
- """
42
- An array of Contact objects, representing the Patient's current and/or previous
43
- contact information. May be empty.
44
- """
45
-
46
- personal_identifiers: Annotated[Iterable[PersonalIdentifier], PropertyInfo(alias="personalIdentifiers")]
47
- """An array of the Patient's personal IDs, such as a driver's license or SSN.
48
-
49
- May be empty.
50
- """
51
-
52
-
53
- class Address(TypedDict, total=False):
54
- address_line1: Required[Annotated[str, PropertyInfo(alias="addressLine1")]]
55
- """The address."""
56
-
57
- city: Required[str]
58
- """The city."""
59
-
60
- state: Required[str]
61
- """The 2 letter state acronym, for example: `CA`."""
62
-
63
- zip: Required[str]
64
- """5 digit zip code."""
65
-
66
- address_line2: Annotated[Optional[str], PropertyInfo(alias="addressLine2")]
67
- """The address details, for example: `#4451`."""
68
-
69
- country: str
70
- """If specified, must be `USA`; otherwise will default to `USA`."""
71
-
72
-
73
- class Contact(TypedDict, total=False):
74
- email: str
75
- """The Patient's email address."""
76
-
77
- phone: str
78
- """The Patient's 10 digit phone number, formatted `1234567899`."""
79
-
80
-
81
- class PersonalIdentifier(TypedDict, total=False):
82
- type: Required[Literal["driversLicense", "ssn"]]
83
- """The ID type - currently `driversLicense` or `ssn` is supported."""
84
-
85
- value: Required[str]
86
- """The ID number. For type `ssn`, should be 9 digits."""
87
-
88
- state: str
89
- """The 2 letter state acronym where this ID was issued, for example: `CA`.
90
-
91
- Only required for type `driversLicense`.
92
- """
@@ -1,92 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Iterable, Optional
6
- from typing_extensions import Literal, Required, Annotated, TypedDict
7
-
8
- from ...._utils import PropertyInfo
9
-
10
- __all__ = ["DocumentQueryParams", "Address", "Contact", "PersonalIdentifier"]
11
-
12
-
13
- class DocumentQueryParams(TypedDict, total=False):
14
- address: Required[Iterable[Address]]
15
- """
16
- An array of Address objects, representing the Patient's current and/or previous
17
- addresses. May be empty.
18
- """
19
-
20
- dob: Required[str]
21
- """The Patient's date of birth (DOB), formatted `YYYY-MM-DD` as per ISO 8601."""
22
-
23
- external_id: Required[Annotated[str, PropertyInfo(alias="externalId")]]
24
- """An external Patient ID that you store and can use to reference this Patient."""
25
-
26
- first_name: Required[Annotated[str, PropertyInfo(alias="firstName")]]
27
- """The Patient's first name(s)."""
28
-
29
- gender_at_birth: Required[Annotated[Literal["M", "F", "O", "U"], PropertyInfo(alias="genderAtBirth")]]
30
- """The Patient's gender at birth, can be one of `M` or `F` or `O` or `U`.
31
-
32
- Use `O` (other) when the patient's gender is known but it is not `M` or `F`, i.e
33
- intersex or hermaphroditic. Use `U` (unknown) when the patient's gender is not
34
- known.
35
- """
36
-
37
- last_name: Required[Annotated[str, PropertyInfo(alias="lastName")]]
38
- """The Patient's last name(s)."""
39
-
40
- contact: Iterable[Contact]
41
- """
42
- An array of Contact objects, representing the Patient's current and/or previous
43
- contact information. May be empty.
44
- """
45
-
46
- personal_identifiers: Annotated[Iterable[PersonalIdentifier], PropertyInfo(alias="personalIdentifiers")]
47
- """An array of the Patient's personal IDs, such as a driver's license or SSN.
48
-
49
- May be empty.
50
- """
51
-
52
-
53
- class Address(TypedDict, total=False):
54
- address_line1: Required[Annotated[str, PropertyInfo(alias="addressLine1")]]
55
- """The address."""
56
-
57
- city: Required[str]
58
- """The city."""
59
-
60
- state: Required[str]
61
- """The 2 letter state acronym, for example: `CA`."""
62
-
63
- zip: Required[str]
64
- """5 digit zip code."""
65
-
66
- address_line2: Annotated[Optional[str], PropertyInfo(alias="addressLine2")]
67
- """The address details, for example: `#4451`."""
68
-
69
- country: str
70
- """If specified, must be `USA`; otherwise will default to `USA`."""
71
-
72
-
73
- class Contact(TypedDict, total=False):
74
- email: str
75
- """The Patient's email address."""
76
-
77
- phone: str
78
- """The Patient's 10 digit phone number, formatted `1234567899`."""
79
-
80
-
81
- class PersonalIdentifier(TypedDict, total=False):
82
- type: Required[Literal["driversLicense", "ssn"]]
83
- """The ID type - currently `driversLicense` or `ssn` is supported."""
84
-
85
- value: Required[str]
86
- """The ID number. For type `ssn`, should be 9 digits."""
87
-
88
- state: str
89
- """The 2 letter state acronym where this ID was issued, for example: `CA`.
90
-
91
- Only required for type `driversLicense`.
92
- """
@@ -1,16 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from pydantic import Field as FieldInfo
4
-
5
- from ...._models import BaseModel
6
-
7
- __all__ = ["DocumentQueryResponse"]
8
-
9
-
10
- class DocumentQueryResponse(BaseModel):
11
- async_result_id: str = FieldInfo(alias="asyncResultId")
12
- """The async result ID.
13
-
14
- When the async result completes, the result will contain both FHIR bundle and
15
- document objects.
16
- """
@@ -1,54 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Iterable
6
- from typing_extensions import Required, Annotated, TypedDict
7
-
8
- from ...._utils import PropertyInfo
9
-
10
- __all__ = ["DocumentUploadParams", "DocumentType", "DocumentTypeCoding"]
11
-
12
-
13
- class DocumentUploadParams(TypedDict, total=False):
14
- description: Required[str]
15
- """A brief description of the document."""
16
-
17
- document_type: Required[Annotated[DocumentType, PropertyInfo(alias="documentType")]]
18
- """The type of document being uploaded."""
19
-
20
- file_metadata_id: Required[Annotated[str, PropertyInfo(alias="fileMetadataId")]]
21
- """The ID of the file metadata to upload."""
22
-
23
- patient_id: Required[Annotated[str, PropertyInfo(alias="patientId")]]
24
- """The external Patient ID that you store and can use to reference this Patient."""
25
-
26
- date_end: Annotated[str, PropertyInfo(alias="dateEnd")]
27
- """ISO 8601 timestamp for when the document period ends."""
28
-
29
- date_start: Annotated[str, PropertyInfo(alias="dateStart")]
30
- """ISO 8601 timestamp for when the document period starts."""
31
-
32
- facility_name: Annotated[str, PropertyInfo(alias="facilityName")]
33
- """The name and type of facility (e.g., 'John Snow Clinic - Acute Care Centre')."""
34
-
35
-
36
- class DocumentTypeCoding(TypedDict, total=False):
37
- code: Required[str]
38
- """The code from the terminology system."""
39
-
40
- display: Required[str]
41
- """Human-readable display name for the code."""
42
-
43
- system: Required[str]
44
- """The terminology system URI (e.g., http://loinc.org)."""
45
-
46
-
47
- class DocumentType(TypedDict, total=False):
48
- """The type of document being uploaded."""
49
-
50
- text: Required[str]
51
- """Plain text representation of the document type."""
52
-
53
- coding: Iterable[DocumentTypeCoding]
54
- """Array of coded representations from terminology systems."""
@@ -1,23 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .snowflake_query_params import SnowflakeQueryParams as SnowflakeQueryParams
6
- from .snowflake_query_response import SnowflakeQueryResponse as SnowflakeQueryResponse
7
- from .xcure_make_request_params import XcureMakeRequestParams as XcureMakeRequestParams
8
- from .glidian_list_payers_params import GlidianListPayersParams as GlidianListPayersParams
9
- from .careviso_get_payers_response import CarevisoGetPayersResponse as CarevisoGetPayersResponse
10
- from .glidian_list_payers_response import GlidianListPayersResponse as GlidianListPayersResponse
11
- from .glidian_list_services_params import GlidianListServicesParams as GlidianListServicesParams
12
- from .glidian_list_services_response import GlidianListServicesResponse as GlidianListServicesResponse
13
- from .salesforce_run_soql_query_params import SalesforceRunSoqlQueryParams as SalesforceRunSoqlQueryParams
14
- from .salesforce_run_crud_action_params import SalesforceRunCrudActionParams as SalesforceRunCrudActionParams
15
- from .careviso_submit_prior_authorization_params import (
16
- CarevisoSubmitPriorAuthorizationParams as CarevisoSubmitPriorAuthorizationParams,
17
- )
18
- from .glidian_get_submission_requirements_params import (
19
- GlidianGetSubmissionRequirementsParams as GlidianGetSubmissionRequirementsParams,
20
- )
21
- from .glidian_get_submission_requirements_response import (
22
- GlidianGetSubmissionRequirementsResponse as GlidianGetSubmissionRequirementsResponse,
23
- )
@@ -1,6 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .transaction_sync_params import TransactionSyncParams as TransactionSyncParams
6
- from .transaction_sync_response import TransactionSyncResponse as TransactionSyncResponse
@@ -1,15 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, TypedDict
6
-
7
- __all__ = ["TransactionSyncParams"]
8
-
9
-
10
- class TransactionSyncParams(TypedDict, total=False):
11
- slug: Required[str]
12
- """The slug of the bank connection."""
13
-
14
- cursor: str
15
- """Cursor for pagination of transactions."""
@@ -1,26 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import List, Optional
4
-
5
- from pydantic import Field as FieldInfo
6
-
7
- from ....._models import BaseModel
8
-
9
- __all__ = ["TransactionSyncResponse"]
10
-
11
-
12
- class TransactionSyncResponse(BaseModel):
13
- has_more: bool = FieldInfo(alias="hasMore")
14
- """Whether there are more transactions to fetch."""
15
-
16
- modified: List[object]
17
- """Array of modified transactions."""
18
-
19
- next_cursor: Optional[str] = FieldInfo(alias="nextCursor", default=None)
20
- """Cursor for the next page of transactions."""
21
-
22
- removed: List[object]
23
- """Array of removed transactions."""
24
-
25
- transactions: List[object]
26
- """Array of added transactions."""
@@ -1,19 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import List
4
- from typing_extensions import TypeAlias
5
-
6
- from pydantic import Field as FieldInfo
7
-
8
- from ...._models import BaseModel
9
-
10
- __all__ = ["CarevisoGetPayersResponse", "CarevisoGetPayersResponseItem"]
11
-
12
-
13
- class CarevisoGetPayersResponseItem(BaseModel):
14
- insurance_id: str = FieldInfo(alias="insuranceId")
15
-
16
- insurance_name: str = FieldInfo(alias="insuranceName")
17
-
18
-
19
- CarevisoGetPayersResponse: TypeAlias = List[CarevisoGetPayersResponseItem]