samplehc 0.17.0__py3-none-any.whl → 0.19.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.
- samplehc/_base_client.py +5 -2
- samplehc/_client.py +1 -38
- samplehc/_compat.py +3 -3
- samplehc/_utils/_json.py +35 -0
- samplehc/_version.py +1 -1
- samplehc/resources/__init__.py +0 -14
- samplehc/resources/v2/__init__.py +0 -98
- samplehc/resources/v2/async_results.py +0 -79
- samplehc/resources/v2/documents/__init__.py +0 -14
- samplehc/resources/v2/documents/documents.py +44 -196
- samplehc/resources/v2/v2.py +0 -224
- samplehc/types/__init__.py +0 -5
- samplehc/types/v2/__init__.py +0 -53
- samplehc/types/v2/document_extract_params.py +20 -1
- samplehc/types/v2/documents/__init__.py +0 -3
- {samplehc-0.17.0.dist-info → samplehc-0.19.0.dist-info}/METADATA +22 -27
- samplehc-0.19.0.dist-info/RECORD +93 -0
- samplehc/resources/v1/__init__.py +0 -19
- samplehc/resources/v1/v1.py +0 -298
- samplehc/resources/v2/clearinghouse/__init__.py +0 -47
- samplehc/resources/v2/clearinghouse/claim.py +0 -407
- samplehc/resources/v2/clearinghouse/clearinghouse.py +0 -844
- samplehc/resources/v2/clearinghouse/payers.py +0 -224
- samplehc/resources/v2/documents/pdf_template.py +0 -165
- samplehc/resources/v2/hie/__init__.py +0 -47
- samplehc/resources/v2/hie/adt.py +0 -249
- samplehc/resources/v2/hie/documents.py +0 -390
- samplehc/resources/v2/hie/hie.py +0 -134
- samplehc/resources/v2/integrations/__init__.py +0 -131
- samplehc/resources/v2/integrations/bank/__init__.py +0 -33
- samplehc/resources/v2/integrations/bank/bank.py +0 -102
- samplehc/resources/v2/integrations/bank/transactions.py +0 -185
- samplehc/resources/v2/integrations/careviso.py +0 -372
- samplehc/resources/v2/integrations/glidian/__init__.py +0 -33
- samplehc/resources/v2/integrations/glidian/glidian.py +0 -425
- samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -33
- samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +0 -276
- samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +0 -527
- samplehc/resources/v2/integrations/integrations.py +0 -326
- samplehc/resources/v2/integrations/kno2/__init__.py +0 -33
- samplehc/resources/v2/integrations/kno2/kno2.py +0 -102
- samplehc/resources/v2/integrations/kno2/messages.py +0 -260
- samplehc/resources/v2/integrations/salesforce.py +0 -277
- samplehc/resources/v2/integrations/snowflake.py +0 -173
- samplehc/resources/v2/integrations/wellsky/__init__.py +0 -33
- samplehc/resources/v2/integrations/wellsky/patients.py +0 -324
- samplehc/resources/v2/integrations/wellsky/wellsky.py +0 -102
- samplehc/resources/v2/integrations/xcures.py +0 -197
- samplehc/resources/v2/policies.py +0 -655
- samplehc/resources/v2/tasks/__init__.py +0 -33
- samplehc/resources/v2/tasks/state.py +0 -266
- samplehc/resources/v2/tasks/tasks.py +0 -754
- samplehc/resources/v2/workflow_runs/__init__.py +0 -33
- samplehc/resources/v2/workflow_runs/step.py +0 -169
- samplehc/resources/v2/workflow_runs/workflow_runs.py +0 -479
- samplehc/resources/v2/workflows.py +0 -377
- samplehc/types/v1/__init__.py +0 -3
- samplehc/types/v1_query_audit_logs_params.py +0 -12
- samplehc/types/v1_query_audit_logs_response.py +0 -16
- samplehc/types/v1_sql_execute_params.py +0 -27
- samplehc/types/v1_sql_execute_response.py +0 -27
- samplehc/types/v2/async_result_retrieve_response.py +0 -18
- samplehc/types/v2/clearinghouse/__init__.py +0 -9
- samplehc/types/v2/clearinghouse/claim_submit_params.py +0 -2693
- samplehc/types/v2/clearinghouse/claim_submit_response.py +0 -23
- samplehc/types/v2/clearinghouse/payer_list_response.py +0 -27
- samplehc/types/v2/clearinghouse/payer_search_params.py +0 -12
- samplehc/types/v2/clearinghouse/payer_search_response.py +0 -33
- samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +0 -3129
- samplehc/types/v2/clearinghouse_check_claim_status_params.py +0 -41
- samplehc/types/v2/clearinghouse_check_eligibility_params.py +0 -36
- samplehc/types/v2/clearinghouse_check_eligibility_response.py +0 -15
- samplehc/types/v2/clearinghouse_coordination_of_benefits_params.py +0 -35
- samplehc/types/v2/clearinghouse_run_discovery_params.py +0 -59
- samplehc/types/v2/clearinghouse_run_discovery_response.py +0 -13
- samplehc/types/v2/document_unzip_async_response.py +0 -12
- samplehc/types/v2/document_unzip_response.py +0 -20
- samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +0 -17
- samplehc/types/v2/hie/__init__.py +0 -8
- samplehc/types/v2/hie/adt_subscribe_params.py +0 -92
- samplehc/types/v2/hie/document_query_params.py +0 -92
- samplehc/types/v2/hie/document_query_response.py +0 -16
- samplehc/types/v2/hie/document_upload_params.py +0 -54
- samplehc/types/v2/integrations/__init__.py +0 -23
- samplehc/types/v2/integrations/bank/__init__.py +0 -6
- samplehc/types/v2/integrations/bank/transaction_sync_params.py +0 -15
- samplehc/types/v2/integrations/bank/transaction_sync_response.py +0 -26
- samplehc/types/v2/integrations/careviso_get_payers_response.py +0 -19
- samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +0 -90
- samplehc/types/v2/integrations/glidian/__init__.py +0 -20
- samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +0 -32
- samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +0 -24
- samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +0 -13
- samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +0 -16
- samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +0 -20
- samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +0 -16
- samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +0 -7
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +0 -42
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +0 -23
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +0 -19
- samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +0 -17
- samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +0 -31
- samplehc/types/v2/integrations/glidian_list_payers_params.py +0 -11
- samplehc/types/v2/integrations/glidian_list_payers_response.py +0 -17
- samplehc/types/v2/integrations/glidian_list_services_params.py +0 -13
- samplehc/types/v2/integrations/glidian_list_services_response.py +0 -19
- samplehc/types/v2/integrations/kno2/__init__.py +0 -6
- samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +0 -15
- samplehc/types/v2/integrations/kno2/message_retrieve_response.py +0 -13
- samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +0 -22
- samplehc/types/v2/integrations/salesforce_run_soql_query_params.py +0 -11
- samplehc/types/v2/integrations/snowflake_query_params.py +0 -12
- samplehc/types/v2/integrations/snowflake_query_response.py +0 -8
- samplehc/types/v2/integrations/wellsky/__init__.py +0 -6
- samplehc/types/v2/integrations/wellsky/patient_add_params.py +0 -13
- samplehc/types/v2/integrations/wellsky/patient_search_params.py +0 -32
- samplehc/types/v2/integrations/xcure_make_request_params.py +0 -18
- samplehc/types/v2/ledger/__init__.py +0 -3
- samplehc/types/v2/policy_list_companies_params.py +0 -18
- samplehc/types/v2/policy_list_companies_response.py +0 -24
- samplehc/types/v2/policy_list_params.py +0 -47
- samplehc/types/v2/policy_list_plans_params.py +0 -18
- samplehc/types/v2/policy_list_plans_response.py +0 -30
- samplehc/types/v2/policy_list_response.py +0 -67
- samplehc/types/v2/policy_retrieve_presigned_url_response.py +0 -17
- samplehc/types/v2/policy_retrieve_text_response.py +0 -12
- samplehc/types/v2/task_cancel_response.py +0 -12
- samplehc/types/v2/task_complete_params.py +0 -12
- samplehc/types/v2/task_complete_response.py +0 -16
- samplehc/types/v2/task_get_suspended_payload_response.py +0 -8
- samplehc/types/v2/task_retrieve_response.py +0 -22
- samplehc/types/v2/task_retry_response.py +0 -10
- samplehc/types/v2/task_update_column_params.py +0 -19
- samplehc/types/v2/task_update_column_response.py +0 -9
- samplehc/types/v2/task_update_screen_time_params.py +0 -14
- samplehc/types/v2/task_update_screen_time_response.py +0 -8
- samplehc/types/v2/tasks/__init__.py +0 -7
- samplehc/types/v2/tasks/state_get_response.py +0 -8
- samplehc/types/v2/tasks/state_update_params.py +0 -13
- samplehc/types/v2/tasks/state_update_response.py +0 -9
- samplehc/types/v2/workflow_deploy_response.py +0 -12
- samplehc/types/v2/workflow_query_params.py +0 -12
- samplehc/types/v2/workflow_query_response.py +0 -8
- samplehc/types/v2/workflow_run_get_start_data_response.py +0 -14
- samplehc/types/v2/workflow_run_resume_when_complete_params.py +0 -14
- samplehc/types/v2/workflow_run_resume_when_complete_response.py +0 -12
- samplehc/types/v2/workflow_run_retrieve_response.py +0 -16
- samplehc/types/v2/workflow_runs/__init__.py +0 -5
- samplehc/types/v2/workflow_runs/step_get_output_response.py +0 -14
- samplehc/types/v2/workflow_start_params.py +0 -25
- samplehc/types/v2/workflow_start_response.py +0 -25
- samplehc-0.17.0.dist-info/RECORD +0 -226
- {samplehc-0.17.0.dist-info → samplehc-0.19.0.dist-info}/WHEEL +0 -0
- {samplehc-0.17.0.dist-info → samplehc-0.19.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,90 +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 Literal, Required, Annotated, TypedDict
|
|
7
|
-
|
|
8
|
-
from ...._types import SequenceNotStr
|
|
9
|
-
from ...._utils import PropertyInfo
|
|
10
|
-
|
|
11
|
-
__all__ = ["CarevisoSubmitPriorAuthorizationParams", "Attachment"]
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class CarevisoSubmitPriorAuthorizationParams(TypedDict, total=False):
|
|
15
|
-
attachments: Required[Iterable[Attachment]]
|
|
16
|
-
|
|
17
|
-
case_type: Required[
|
|
18
|
-
Annotated[Literal["prior_auth_request", "benefits_investigation"], PropertyInfo(alias="caseType")]
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
cpt_codes: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="cptCodes")]]
|
|
22
|
-
|
|
23
|
-
group_id: Required[Annotated[str, PropertyInfo(alias="groupId")]]
|
|
24
|
-
|
|
25
|
-
icd10_codes: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="icd10Codes")]]
|
|
26
|
-
|
|
27
|
-
insurance_name: Required[Annotated[str, PropertyInfo(alias="insuranceName")]]
|
|
28
|
-
|
|
29
|
-
lab_order_id: Required[Annotated[str, PropertyInfo(alias="labOrderId")]]
|
|
30
|
-
|
|
31
|
-
member_id: Required[Annotated[str, PropertyInfo(alias="memberId")]]
|
|
32
|
-
|
|
33
|
-
patient_dob: Required[Annotated[str, PropertyInfo(alias="patientDob")]]
|
|
34
|
-
|
|
35
|
-
patient_first_name: Required[Annotated[str, PropertyInfo(alias="patientFirstName")]]
|
|
36
|
-
|
|
37
|
-
patient_id: Required[Annotated[str, PropertyInfo(alias="patientId")]]
|
|
38
|
-
|
|
39
|
-
patient_last_name: Required[Annotated[str, PropertyInfo(alias="patientLastName")]]
|
|
40
|
-
|
|
41
|
-
patient_phone: Required[Annotated[str, PropertyInfo(alias="patientPhone")]]
|
|
42
|
-
|
|
43
|
-
provider_fax: Required[Annotated[str, PropertyInfo(alias="providerFax")]]
|
|
44
|
-
|
|
45
|
-
provider_first_name: Required[Annotated[str, PropertyInfo(alias="providerFirstName")]]
|
|
46
|
-
|
|
47
|
-
provider_id: Required[Annotated[str, PropertyInfo(alias="providerId")]]
|
|
48
|
-
|
|
49
|
-
provider_last_name: Required[Annotated[str, PropertyInfo(alias="providerLastName")]]
|
|
50
|
-
|
|
51
|
-
provider_npi: Required[Annotated[str, PropertyInfo(alias="providerNpi")]]
|
|
52
|
-
|
|
53
|
-
provider_phone: Required[Annotated[str, PropertyInfo(alias="providerPhone")]]
|
|
54
|
-
|
|
55
|
-
service_date: Required[Annotated[str, PropertyInfo(alias="serviceDate")]]
|
|
56
|
-
"""The date of service for the test. Should be in the format YYYY-MM-DD."""
|
|
57
|
-
|
|
58
|
-
test_names: Required[Annotated[SequenceNotStr[str], PropertyInfo(alias="testNames")]]
|
|
59
|
-
|
|
60
|
-
accession_date: Annotated[str, PropertyInfo(alias="accessionDate")]
|
|
61
|
-
|
|
62
|
-
collection_date: Annotated[str, PropertyInfo(alias="collectionDate")]
|
|
63
|
-
"""The date of collection for the test. Should be in the format YYYY-MM-DD."""
|
|
64
|
-
|
|
65
|
-
collection_type: Annotated[str, PropertyInfo(alias="collectionType")]
|
|
66
|
-
"""The type of collection for the test"""
|
|
67
|
-
|
|
68
|
-
insurance_id: Annotated[str, PropertyInfo(alias="insuranceId")]
|
|
69
|
-
|
|
70
|
-
patient_city: Annotated[str, PropertyInfo(alias="patientCity")]
|
|
71
|
-
|
|
72
|
-
patient_gender: Annotated[Literal["M", "F", "Non-binary", "Non-specified"], PropertyInfo(alias="patientGender")]
|
|
73
|
-
|
|
74
|
-
patient_state: Annotated[str, PropertyInfo(alias="patientState")]
|
|
75
|
-
|
|
76
|
-
patient_street: Annotated[str, PropertyInfo(alias="patientStreet")]
|
|
77
|
-
|
|
78
|
-
patient_street2: Annotated[str, PropertyInfo(alias="patientStreet2")]
|
|
79
|
-
|
|
80
|
-
patient_zip: Annotated[str, PropertyInfo(alias="patientZip")]
|
|
81
|
-
|
|
82
|
-
test_identifiers: Annotated[SequenceNotStr[str], PropertyInfo(alias="testIdentifiers")]
|
|
83
|
-
|
|
84
|
-
test_type: Annotated[str, PropertyInfo(alias="testType")]
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
class Attachment(TypedDict, total=False):
|
|
88
|
-
id: Required[str]
|
|
89
|
-
|
|
90
|
-
file_name: Required[Annotated[str, PropertyInfo(alias="fileName")]]
|
|
@@ -1,20 +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 .prior_authorization_submit_response import PriorAuthorizationSubmitResponse as PriorAuthorizationSubmitResponse
|
|
6
|
-
from .prior_authorization_create_draft_params import (
|
|
7
|
-
PriorAuthorizationCreateDraftParams as PriorAuthorizationCreateDraftParams,
|
|
8
|
-
)
|
|
9
|
-
from .prior_authorization_update_record_params import (
|
|
10
|
-
PriorAuthorizationUpdateRecordParams as PriorAuthorizationUpdateRecordParams,
|
|
11
|
-
)
|
|
12
|
-
from .prior_authorization_create_draft_response import (
|
|
13
|
-
PriorAuthorizationCreateDraftResponse as PriorAuthorizationCreateDraftResponse,
|
|
14
|
-
)
|
|
15
|
-
from .prior_authorization_update_record_response import (
|
|
16
|
-
PriorAuthorizationUpdateRecordResponse as PriorAuthorizationUpdateRecordResponse,
|
|
17
|
-
)
|
|
18
|
-
from .prior_authorization_retrieve_record_response import (
|
|
19
|
-
PriorAuthorizationRetrieveRecordResponse as PriorAuthorizationRetrieveRecordResponse,
|
|
20
|
-
)
|
|
@@ -1,32 +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 Dict, Iterable
|
|
6
|
-
from typing_extensions import Required, Annotated, TypedDict
|
|
7
|
-
|
|
8
|
-
from ....._utils import PropertyInfo
|
|
9
|
-
|
|
10
|
-
__all__ = ["PriorAuthorizationCreateDraftParams", "Attachment"]
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class PriorAuthorizationCreateDraftParams(TypedDict, total=False):
|
|
14
|
-
attachments: Required[Iterable[Attachment]]
|
|
15
|
-
|
|
16
|
-
glidian_payer_id: Required[Annotated[float, PropertyInfo(alias="glidianPayerId")]]
|
|
17
|
-
|
|
18
|
-
glidian_service_id: Required[Annotated[str, PropertyInfo(alias="glidianServiceId")]]
|
|
19
|
-
|
|
20
|
-
reference_number: Required[Annotated[str, PropertyInfo(alias="referenceNumber")]]
|
|
21
|
-
|
|
22
|
-
submission_requirements: Required[Annotated[Dict[str, str], PropertyInfo(alias="submissionRequirements")]]
|
|
23
|
-
|
|
24
|
-
reference_number_two: Annotated[str, PropertyInfo(alias="referenceNumberTwo")]
|
|
25
|
-
|
|
26
|
-
state: str
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
class Attachment(TypedDict, total=False):
|
|
30
|
-
id: Required[str]
|
|
31
|
-
|
|
32
|
-
file_name: Required[Annotated[str, PropertyInfo(alias="fileName")]]
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List, Optional
|
|
4
|
-
from typing_extensions import Literal
|
|
5
|
-
|
|
6
|
-
from pydantic import Field as FieldInfo
|
|
7
|
-
|
|
8
|
-
from ....._models import BaseModel
|
|
9
|
-
|
|
10
|
-
__all__ = ["PriorAuthorizationCreateDraftResponse"]
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class PriorAuthorizationCreateDraftResponse(BaseModel):
|
|
14
|
-
"""Prior authorization draft creation result."""
|
|
15
|
-
|
|
16
|
-
are_all_questions_answered: bool = FieldInfo(alias="areAllQuestionsAnswered")
|
|
17
|
-
|
|
18
|
-
clinical_questions: List[object] = FieldInfo(alias="clinicalQuestions")
|
|
19
|
-
|
|
20
|
-
glidian_record_id: str = FieldInfo(alias="glidianRecordId")
|
|
21
|
-
|
|
22
|
-
status: Literal["draft"]
|
|
23
|
-
|
|
24
|
-
record: Optional[object] = None
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Dict
|
|
4
|
-
|
|
5
|
-
from ....._models import BaseModel
|
|
6
|
-
|
|
7
|
-
__all__ = ["PriorAuthorizationRetrieveRecordResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class PriorAuthorizationRetrieveRecordResponse(BaseModel):
|
|
11
|
-
"""Prior authorization record details."""
|
|
12
|
-
|
|
13
|
-
record: Dict[str, object]
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
from typing_extensions import Literal
|
|
5
|
-
|
|
6
|
-
from ....._models import BaseModel
|
|
7
|
-
|
|
8
|
-
__all__ = ["PriorAuthorizationSubmitResponse"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class PriorAuthorizationSubmitResponse(BaseModel):
|
|
12
|
-
"""Submission result."""
|
|
13
|
-
|
|
14
|
-
status: Literal["submitted"]
|
|
15
|
-
|
|
16
|
-
record: Optional[object] = None
|
|
@@ -1,20 +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 Dict
|
|
6
|
-
from typing_extensions import Required, Annotated, TypedDict
|
|
7
|
-
|
|
8
|
-
from ....._utils import PropertyInfo
|
|
9
|
-
|
|
10
|
-
__all__ = ["PriorAuthorizationUpdateRecordParams"]
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class PriorAuthorizationUpdateRecordParams(TypedDict, total=False):
|
|
14
|
-
slug: Required[str]
|
|
15
|
-
|
|
16
|
-
reference_number: Annotated[str, PropertyInfo(alias="referenceNumber")]
|
|
17
|
-
|
|
18
|
-
reference_number_two: Annotated[str, PropertyInfo(alias="referenceNumberTwo")]
|
|
19
|
-
|
|
20
|
-
submission_requirements: Annotated[Dict[str, str], PropertyInfo(alias="submissionRequirements")]
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Optional
|
|
4
|
-
from typing_extensions import Literal
|
|
5
|
-
|
|
6
|
-
from ....._models import BaseModel
|
|
7
|
-
|
|
8
|
-
__all__ = ["PriorAuthorizationUpdateRecordResponse"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class PriorAuthorizationUpdateRecordResponse(BaseModel):
|
|
12
|
-
"""Prior authorization record update result."""
|
|
13
|
-
|
|
14
|
-
status: Literal["updated"]
|
|
15
|
-
|
|
16
|
-
record: Optional[object] = None
|
|
@@ -1,7 +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 .clinical_question_list_response import ClinicalQuestionListResponse as ClinicalQuestionListResponse
|
|
6
|
-
from .clinical_question_update_params import ClinicalQuestionUpdateParams as ClinicalQuestionUpdateParams
|
|
7
|
-
from .clinical_question_update_response import ClinicalQuestionUpdateResponse as ClinicalQuestionUpdateResponse
|
samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List, Union, Optional
|
|
4
|
-
from typing_extensions import Literal
|
|
5
|
-
|
|
6
|
-
from pydantic import Field as FieldInfo
|
|
7
|
-
|
|
8
|
-
from ......_models import BaseModel
|
|
9
|
-
|
|
10
|
-
__all__ = ["ClinicalQuestionListResponse", "Question", "Response"]
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class Question(BaseModel):
|
|
14
|
-
id: float
|
|
15
|
-
|
|
16
|
-
prompt: str
|
|
17
|
-
|
|
18
|
-
type: Literal["text", "select", "select-other", "multi-select"]
|
|
19
|
-
|
|
20
|
-
options: Optional[List[str]] = None
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
class Response(BaseModel):
|
|
24
|
-
question_id: float
|
|
25
|
-
|
|
26
|
-
value: Union[str, List[str]]
|
|
27
|
-
|
|
28
|
-
is_valid: Optional[bool] = None
|
|
29
|
-
|
|
30
|
-
other_value: Optional[str] = None
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
class ClinicalQuestionListResponse(BaseModel):
|
|
34
|
-
"""Clinical questions for the record."""
|
|
35
|
-
|
|
36
|
-
are_all_questions_answered: bool = FieldInfo(alias="areAllQuestionsAnswered")
|
|
37
|
-
|
|
38
|
-
questions: List[Question]
|
|
39
|
-
|
|
40
|
-
status: Literal["success"]
|
|
41
|
-
|
|
42
|
-
responses: Optional[List[Response]] = None
|
samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py
DELETED
|
@@ -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 typing import Dict, Union
|
|
6
|
-
from typing_extensions import Required, Annotated, TypedDict
|
|
7
|
-
|
|
8
|
-
from ......_types import SequenceNotStr
|
|
9
|
-
from ......_utils import PropertyInfo
|
|
10
|
-
|
|
11
|
-
__all__ = ["ClinicalQuestionUpdateParams", "Responses"]
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class ClinicalQuestionUpdateParams(TypedDict, total=False):
|
|
15
|
-
slug: Required[str]
|
|
16
|
-
|
|
17
|
-
responses: Required[Dict[str, Responses]]
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
class Responses(TypedDict, total=False):
|
|
21
|
-
value: Required[Union[str, SequenceNotStr[str]]]
|
|
22
|
-
|
|
23
|
-
other_value: Annotated[str, PropertyInfo(alias="otherValue")]
|
samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py
DELETED
|
@@ -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
|
-
|
|
5
|
-
from pydantic import Field as FieldInfo
|
|
6
|
-
|
|
7
|
-
from ......_models import BaseModel
|
|
8
|
-
|
|
9
|
-
__all__ = ["ClinicalQuestionUpdateResponse"]
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class ClinicalQuestionUpdateResponse(BaseModel):
|
|
13
|
-
"""Updated clinical questions status."""
|
|
14
|
-
|
|
15
|
-
are_all_questions_answered: bool = FieldInfo(alias="areAllQuestionsAnswered")
|
|
16
|
-
|
|
17
|
-
can_submit: bool = FieldInfo(alias="canSubmit")
|
|
18
|
-
|
|
19
|
-
questions: List[object]
|
|
@@ -1,17 +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__ = ["GlidianGetSubmissionRequirementsParams"]
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class GlidianGetSubmissionRequirementsParams(TypedDict, total=False):
|
|
13
|
-
insurance_id: Required[Annotated[float, PropertyInfo(alias="insuranceId")]]
|
|
14
|
-
|
|
15
|
-
service_id: Required[Annotated[float, PropertyInfo(alias="serviceId")]]
|
|
16
|
-
|
|
17
|
-
state: str
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import List, Union
|
|
4
|
-
from typing_extensions import Literal, TypeAlias
|
|
5
|
-
|
|
6
|
-
from pydantic import Field as FieldInfo
|
|
7
|
-
|
|
8
|
-
from ...._models import BaseModel
|
|
9
|
-
|
|
10
|
-
__all__ = ["GlidianGetSubmissionRequirementsResponse", "UnionMember0", "UnionMember0Requirements", "UnionMember1"]
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class UnionMember0Requirements(BaseModel):
|
|
14
|
-
available_fields: List[str] = FieldInfo(alias="availableFields")
|
|
15
|
-
|
|
16
|
-
required_fields: List[str] = FieldInfo(alias="requiredFields")
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class UnionMember0(BaseModel):
|
|
20
|
-
requirements: UnionMember0Requirements
|
|
21
|
-
|
|
22
|
-
status: Literal["success"]
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
class UnionMember1(BaseModel):
|
|
26
|
-
available_states: List[str] = FieldInfo(alias="availableStates")
|
|
27
|
-
|
|
28
|
-
status: Literal["invalid-state"]
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
GlidianGetSubmissionRequirementsResponse: TypeAlias = Union[UnionMember0, UnionMember1]
|
|
@@ -1,11 +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 TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["GlidianListPayersParams"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class GlidianListPayersParams(TypedDict, total=False):
|
|
11
|
-
state: str
|
|
@@ -1,17 +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 ...._models import BaseModel
|
|
7
|
-
|
|
8
|
-
__all__ = ["GlidianListPayersResponse", "GlidianListPayersResponseItem"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class GlidianListPayersResponseItem(BaseModel):
|
|
12
|
-
id: float
|
|
13
|
-
|
|
14
|
-
name: str
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
GlidianListPayersResponse: TypeAlias = List[GlidianListPayersResponseItem]
|
|
@@ -1,13 +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 Annotated, TypedDict
|
|
6
|
-
|
|
7
|
-
from ...._utils import PropertyInfo
|
|
8
|
-
|
|
9
|
-
__all__ = ["GlidianListServicesParams"]
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class GlidianListServicesParams(TypedDict, total=False):
|
|
13
|
-
insurance_id: Annotated[float, PropertyInfo(alias="insuranceId")]
|
|
@@ -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 ...._models import BaseModel
|
|
7
|
-
|
|
8
|
-
__all__ = ["GlidianListServicesResponse", "GlidianListServicesResponseItem"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class GlidianListServicesResponseItem(BaseModel):
|
|
12
|
-
id: float
|
|
13
|
-
|
|
14
|
-
name: str
|
|
15
|
-
|
|
16
|
-
type: str
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
GlidianListServicesResponse: TypeAlias = List[GlidianListServicesResponseItem]
|
|
@@ -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 .message_retrieve_response import MessageRetrieveResponse as MessageRetrieveResponse
|
|
6
|
-
from .message_get_attachment_response import MessageGetAttachmentResponse as MessageGetAttachmentResponse
|
|
@@ -1,15 +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__ = ["MessageGetAttachmentResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class MessageGetAttachmentResponse(BaseModel):
|
|
11
|
-
"""Attachment retrieved successfully as a document resource."""
|
|
12
|
-
|
|
13
|
-
id: str
|
|
14
|
-
|
|
15
|
-
file_name: str = FieldInfo(alias="fileName")
|
|
@@ -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__ = ["MessageRetrieveResponse"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class MessageRetrieveResponse(BaseModel):
|
|
11
|
-
"""Message retrieved successfully."""
|
|
12
|
-
|
|
13
|
-
message: Optional[object] = None
|
|
@@ -1,22 +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 Dict
|
|
6
|
-
from typing_extensions import Literal, Required, Annotated, TypedDict
|
|
7
|
-
|
|
8
|
-
from ...._utils import PropertyInfo
|
|
9
|
-
|
|
10
|
-
__all__ = ["SalesforceRunCrudActionParams"]
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class SalesforceRunCrudActionParams(TypedDict, total=False):
|
|
14
|
-
crud_action_type: Required[
|
|
15
|
-
Annotated[Literal["create", "update", "upsert", "delete", "retrieve"], PropertyInfo(alias="crudActionType")]
|
|
16
|
-
]
|
|
17
|
-
|
|
18
|
-
resource_type: Required[Annotated[str, PropertyInfo(alias="resourceType")]]
|
|
19
|
-
|
|
20
|
-
resource_body: Annotated[Dict[str, object], PropertyInfo(alias="resourceBody")]
|
|
21
|
-
|
|
22
|
-
resource_id: Annotated[str, PropertyInfo(alias="resourceId")]
|
|
@@ -1,11 +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__ = ["SalesforceRunSoqlQueryParams"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class SalesforceRunSoqlQueryParams(TypedDict, total=False):
|
|
11
|
-
query: Required[str]
|
|
@@ -1,12 +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__ = ["SnowflakeQueryParams"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class SnowflakeQueryParams(TypedDict, total=False):
|
|
11
|
-
query: Required[str]
|
|
12
|
-
"""The SQL query to execute."""
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from typing import Dict, List
|
|
4
|
-
from typing_extensions import TypeAlias
|
|
5
|
-
|
|
6
|
-
__all__ = ["SnowflakeQueryResponse"]
|
|
7
|
-
|
|
8
|
-
SnowflakeQueryResponse: TypeAlias = List[Dict[str, object]]
|
|
@@ -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 .patient_add_params import PatientAddParams as PatientAddParams
|
|
6
|
-
from .patient_search_params import PatientSearchParams as PatientSearchParams
|
|
@@ -1,13 +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 Dict
|
|
6
|
-
from typing_extensions import Required, TypedDict
|
|
7
|
-
|
|
8
|
-
__all__ = ["PatientAddParams"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class PatientAddParams(TypedDict, total=False):
|
|
12
|
-
data: Required[Dict[str, object]]
|
|
13
|
-
"""The data to add the patient to WellSky."""
|
|
@@ -1,32 +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 Annotated, TypedDict
|
|
6
|
-
|
|
7
|
-
from ....._utils import PropertyInfo
|
|
8
|
-
|
|
9
|
-
__all__ = ["PatientSearchParams"]
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class PatientSearchParams(TypedDict, total=False):
|
|
13
|
-
reqdelete: Annotated[str, PropertyInfo(alias="REQDELETE")]
|
|
14
|
-
"""Delete flag (Y/N)"""
|
|
15
|
-
|
|
16
|
-
reqdispin: Annotated[str, PropertyInfo(alias="REQDISPIN")]
|
|
17
|
-
"""Disposition filter"""
|
|
18
|
-
|
|
19
|
-
reqlvl6_in: Annotated[str, PropertyInfo(alias="REQLVL6IN")]
|
|
20
|
-
"""Facility ID"""
|
|
21
|
-
|
|
22
|
-
reqnamein: Annotated[str, PropertyInfo(alias="REQNAMEIN")]
|
|
23
|
-
"""Patient name to search"""
|
|
24
|
-
|
|
25
|
-
reqnonprosp: Annotated[str, PropertyInfo(alias="REQNONPROSP")]
|
|
26
|
-
"""Non-prospect flag (Y/N)"""
|
|
27
|
-
|
|
28
|
-
reqprosp: Annotated[str, PropertyInfo(alias="REQPROSP")]
|
|
29
|
-
"""Prospect flag (Y/N)"""
|
|
30
|
-
|
|
31
|
-
reqsortin: Annotated[str, PropertyInfo(alias="REQSORTIN")]
|
|
32
|
-
"""Sort field"""
|
|
@@ -1,18 +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 Dict
|
|
6
|
-
from typing_extensions import Literal, Required, TypedDict
|
|
7
|
-
|
|
8
|
-
__all__ = ["XcureMakeRequestParams"]
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class XcureMakeRequestParams(TypedDict, total=False):
|
|
12
|
-
method: Required[Literal["GET", "POST", "PUT"]]
|
|
13
|
-
|
|
14
|
-
path: Required[str]
|
|
15
|
-
|
|
16
|
-
body: Dict[str, object]
|
|
17
|
-
|
|
18
|
-
parameters: Dict[str, object]
|
|
@@ -1,18 +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 TypedDict
|
|
6
|
-
|
|
7
|
-
__all__ = ["PolicyListCompaniesParams"]
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class PolicyListCompaniesParams(TypedDict, total=False):
|
|
11
|
-
company_name: str
|
|
12
|
-
"""Company name to filter by"""
|
|
13
|
-
|
|
14
|
-
limit: float
|
|
15
|
-
"""Maximum number of results to return"""
|
|
16
|
-
|
|
17
|
-
skip: float
|
|
18
|
-
"""Number of results to skip"""
|