samplehc 0.5.0__py3-none-any.whl → 0.7.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/_version.py +1 -1
- samplehc/resources/v2/__init__.py +14 -0
- samplehc/resources/v2/browser_agents.py +177 -0
- samplehc/resources/v2/clearinghouse/claim.py +20 -36
- samplehc/resources/v2/communication.py +8 -0
- samplehc/resources/v2/database.py +19 -9
- samplehc/resources/v2/events/__init__.py +33 -0
- samplehc/resources/v2/{events.py → events/events.py} +42 -10
- samplehc/resources/v2/events/hie/__init__.py +33 -0
- samplehc/resources/v2/events/hie/adt.py +249 -0
- samplehc/resources/v2/events/hie/hie.py +102 -0
- samplehc/resources/v2/integrations/__init__.py +14 -0
- samplehc/resources/v2/integrations/glidian/__init__.py +33 -0
- samplehc/resources/v2/integrations/glidian/glidian.py +425 -0
- samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +33 -0
- samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +276 -0
- samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +527 -0
- samplehc/resources/v2/integrations/integrations.py +32 -0
- samplehc/resources/v2/ledger/ledger.py +152 -0
- samplehc/resources/v2/v2.py +40 -8
- samplehc/types/v2/__init__.py +8 -0
- samplehc/types/v2/browser_agent_invoke_params.py +13 -0
- samplehc/types/v2/browser_agent_invoke_response.py +12 -0
- samplehc/types/v2/clearinghouse/claim_submit_params.py +1214 -884
- samplehc/types/v2/clearinghouse/claim_submit_response.py +10 -1
- samplehc/types/v2/communication_send_email_params.py +3 -0
- samplehc/types/v2/database_execute_sql_params.py +5 -3
- samplehc/types/v2/event_emit_params.py +1 -1
- samplehc/types/v2/events/__init__.py +3 -0
- samplehc/types/v2/events/hie/__init__.py +5 -0
- samplehc/types/v2/events/hie/adt_subscribe_params.py +92 -0
- samplehc/types/v2/integrations/__init__.py +10 -0
- samplehc/types/v2/integrations/glidian/__init__.py +20 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +32 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +22 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +11 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +14 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +20 -0
- samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +14 -0
- samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +7 -0
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +40 -0
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +22 -0
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +17 -0
- samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +17 -0
- samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +31 -0
- samplehc/types/v2/integrations/glidian_list_payers_params.py +11 -0
- samplehc/types/v2/integrations/glidian_list_payers_response.py +17 -0
- samplehc/types/v2/integrations/glidian_list_services_params.py +13 -0
- samplehc/types/v2/integrations/glidian_list_services_response.py +19 -0
- samplehc/types/v2/ledger_post_remittance_accepted_params.py +37 -0
- samplehc/types/v2/ledger_post_remittance_accepted_response.py +12 -0
- {samplehc-0.5.0.dist-info → samplehc-0.7.0.dist-info}/METADATA +1 -1
- {samplehc-0.5.0.dist-info → samplehc-0.7.0.dist-info}/RECORD +55 -21
- {samplehc-0.5.0.dist-info → samplehc-0.7.0.dist-info}/WHEEL +0 -0
- {samplehc-0.5.0.dist-info → samplehc-0.7.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
+
from pydantic import Field as FieldInfo
|
|
4
|
+
|
|
3
5
|
from ...._models import BaseModel
|
|
4
6
|
|
|
5
7
|
__all__ = ["ClaimSubmitResponse"]
|
|
6
8
|
|
|
7
9
|
|
|
8
10
|
class ClaimSubmitResponse(BaseModel):
|
|
9
|
-
|
|
11
|
+
claim_submission_id: str = FieldInfo(alias="claimSubmissionId")
|
|
12
|
+
"""Sample's internal ID of the claim submission."""
|
|
13
|
+
|
|
14
|
+
patient_control_number: str = FieldInfo(alias="patientControlNumber")
|
|
15
|
+
"""The patient control number we send to the clearinghouse for identification.
|
|
16
|
+
|
|
17
|
+
This is a alphanumeric string with <= 20 characters.
|
|
18
|
+
"""
|
|
@@ -37,6 +37,9 @@ class CommunicationSendEmailParams(TypedDict, total=False):
|
|
|
37
37
|
Note that encrypted emails do not support attachments.
|
|
38
38
|
"""
|
|
39
39
|
|
|
40
|
+
from_: Annotated[str, PropertyInfo(alias="from")]
|
|
41
|
+
"""The email address of the sender"""
|
|
42
|
+
|
|
40
43
|
zip_attachments: Annotated[bool, PropertyInfo(alias="zipAttachments")]
|
|
41
44
|
"""Whether to compress all attachments into a single zip file before sending"""
|
|
42
45
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import List, Union, Optional
|
|
5
|
+
from typing import Dict, List, Union, Iterable, Optional
|
|
6
6
|
from typing_extensions import Literal, Required, TypedDict
|
|
7
7
|
|
|
8
8
|
__all__ = ["DatabaseExecuteSqlParams"]
|
|
@@ -12,8 +12,10 @@ class DatabaseExecuteSqlParams(TypedDict, total=False):
|
|
|
12
12
|
query: Required[str]
|
|
13
13
|
"""The SQL query to execute."""
|
|
14
14
|
|
|
15
|
-
params: List[Union[str, float, bool, Optional[Literal["null"]]]]
|
|
15
|
+
params: List[Union[str, float, bool, Optional[Literal["null"]], Iterable[object], Dict[str, object]]]
|
|
16
16
|
"""An array of parameters to be used in the SQL query.
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
Supports primitive types (string, number, boolean, null), arrays, and objects.
|
|
19
|
+
Use placeholders like $1, $2, etc. in the query string. Examples: ["hello", 123,
|
|
20
|
+
[1,2,3], {"name": "John", "age": 30}]
|
|
19
21
|
"""
|
|
@@ -0,0 +1,92 @@
|
|
|
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 ....._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[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
|
+
"""
|
|
@@ -4,7 +4,17 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
from .snowflake_query_params import SnowflakeQueryParams as SnowflakeQueryParams
|
|
6
6
|
from .snowflake_query_response import SnowflakeQueryResponse as SnowflakeQueryResponse
|
|
7
|
+
from .glidian_list_payers_params import GlidianListPayersParams as GlidianListPayersParams
|
|
7
8
|
from .careviso_get_payers_response import CarevisoGetPayersResponse as CarevisoGetPayersResponse
|
|
9
|
+
from .glidian_list_payers_response import GlidianListPayersResponse as GlidianListPayersResponse
|
|
10
|
+
from .glidian_list_services_params import GlidianListServicesParams as GlidianListServicesParams
|
|
11
|
+
from .glidian_list_services_response import GlidianListServicesResponse as GlidianListServicesResponse
|
|
8
12
|
from .careviso_submit_prior_authorization_params import (
|
|
9
13
|
CarevisoSubmitPriorAuthorizationParams as CarevisoSubmitPriorAuthorizationParams,
|
|
10
14
|
)
|
|
15
|
+
from .glidian_get_submission_requirements_params import (
|
|
16
|
+
GlidianGetSubmissionRequirementsParams as GlidianGetSubmissionRequirementsParams,
|
|
17
|
+
)
|
|
18
|
+
from .glidian_get_submission_requirements_response import (
|
|
19
|
+
GlidianGetSubmissionRequirementsResponse as GlidianGetSubmissionRequirementsResponse,
|
|
20
|
+
)
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
)
|
|
@@ -0,0 +1,32 @@
|
|
|
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")]]
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
are_all_questions_answered: bool = FieldInfo(alias="areAllQuestionsAnswered")
|
|
15
|
+
|
|
16
|
+
clinical_questions: List[object] = FieldInfo(alias="clinicalQuestions")
|
|
17
|
+
|
|
18
|
+
glidian_record_id: str = FieldInfo(alias="glidianRecordId")
|
|
19
|
+
|
|
20
|
+
status: Literal["draft"]
|
|
21
|
+
|
|
22
|
+
record: Optional[object] = None
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
record: Dict[str, object]
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
status: Literal["submitted"]
|
|
13
|
+
|
|
14
|
+
record: Optional[object] = None
|
|
@@ -0,0 +1,20 @@
|
|
|
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")]
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
status: Literal["updated"]
|
|
13
|
+
|
|
14
|
+
record: Optional[object] = None
|
|
@@ -0,0 +1,7 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
are_all_questions_answered: bool = FieldInfo(alias="areAllQuestionsAnswered")
|
|
35
|
+
|
|
36
|
+
questions: List[Question]
|
|
37
|
+
|
|
38
|
+
status: Literal["success"]
|
|
39
|
+
|
|
40
|
+
responses: Optional[List[Response]] = None
|
samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
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, List, Union
|
|
6
|
+
from typing_extensions import Required, Annotated, TypedDict
|
|
7
|
+
|
|
8
|
+
from ......_utils import PropertyInfo
|
|
9
|
+
|
|
10
|
+
__all__ = ["ClinicalQuestionUpdateParams", "Responses"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class ClinicalQuestionUpdateParams(TypedDict, total=False):
|
|
14
|
+
slug: Required[str]
|
|
15
|
+
|
|
16
|
+
responses: Required[Dict[str, Responses]]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class Responses(TypedDict, total=False):
|
|
20
|
+
value: Required[Union[str, List[str]]]
|
|
21
|
+
|
|
22
|
+
other_value: Annotated[str, PropertyInfo(alias="otherValue")]
|
samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
are_all_questions_answered: bool = FieldInfo(alias="areAllQuestionsAnswered")
|
|
14
|
+
|
|
15
|
+
can_submit: bool = FieldInfo(alias="canSubmit")
|
|
16
|
+
|
|
17
|
+
questions: List[object]
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
|
@@ -0,0 +1,31 @@
|
|
|
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]
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
|
@@ -0,0 +1,17 @@
|
|
|
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]
|
|
@@ -0,0 +1,13 @@
|
|
|
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")]
|
|
@@ -0,0 +1,19 @@
|
|
|
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]
|
|
@@ -0,0 +1,37 @@
|
|
|
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 Union
|
|
6
|
+
from datetime import datetime
|
|
7
|
+
from typing_extensions import Required, Annotated, TypedDict
|
|
8
|
+
|
|
9
|
+
from ..._utils import PropertyInfo
|
|
10
|
+
|
|
11
|
+
__all__ = ["LedgerPostRemittanceAcceptedParams"]
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class LedgerPostRemittanceAcceptedParams(TypedDict, total=False):
|
|
15
|
+
adjustment_usd_cents: Required[Annotated[float, PropertyInfo(alias="adjustmentUsdCents")]]
|
|
16
|
+
"""Adjustment amount in cents (positive or negative)."""
|
|
17
|
+
|
|
18
|
+
claim_id: Required[Annotated[str, PropertyInfo(alias="claimId")]]
|
|
19
|
+
"""Identifier of the claim associated with this remittance."""
|
|
20
|
+
|
|
21
|
+
ik: Required[str]
|
|
22
|
+
"""Idempotency key for the remittance."""
|
|
23
|
+
|
|
24
|
+
insurance_id: Required[Annotated[str, PropertyInfo(alias="insuranceId")]]
|
|
25
|
+
"""Identifier of the insurance for the remittance."""
|
|
26
|
+
|
|
27
|
+
order_id: Required[Annotated[str, PropertyInfo(alias="orderId")]]
|
|
28
|
+
"""Order ID associated with the remittance."""
|
|
29
|
+
|
|
30
|
+
patient_id: Required[Annotated[str, PropertyInfo(alias="patientId")]]
|
|
31
|
+
"""Identifier of the patient for the remittance."""
|
|
32
|
+
|
|
33
|
+
patient_responsibility_usd_cents: Required[Annotated[float, PropertyInfo(alias="patientResponsibilityUsdCents")]]
|
|
34
|
+
"""Patient responsibility amount in cents."""
|
|
35
|
+
|
|
36
|
+
posted_at: Annotated[Union[str, datetime], PropertyInfo(alias="postedAt", format="iso8601")]
|
|
37
|
+
"""Optional ISO 8601 date-time to post the entry."""
|
|
@@ -0,0 +1,12 @@
|
|
|
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__ = ["LedgerPostRemittanceAcceptedResponse"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class LedgerPostRemittanceAcceptedResponse(BaseModel):
|
|
11
|
+
ledger_entry_id: str = FieldInfo(alias="ledgerEntryId")
|
|
12
|
+
"""The unique identifier of the successfully created ledger entry."""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: samplehc
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: The official Python library for the Sample Healthcare API
|
|
5
5
|
Project-URL: Homepage, https://github.com/samplehc/samplehc-python
|
|
6
6
|
Project-URL: Repository, https://github.com/samplehc/samplehc-python
|