samplehc 0.13.0__py3-none-any.whl → 0.14.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 CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "samplehc"
4
- __version__ = "0.13.0" # x-release-please-version
4
+ __version__ = "0.14.0" # x-release-please-version
@@ -32,6 +32,14 @@ from .glidian import (
32
32
  GlidianResourceWithStreamingResponse,
33
33
  AsyncGlidianResourceWithStreamingResponse,
34
34
  )
35
+ from .wellsky import (
36
+ WellskyResource,
37
+ AsyncWellskyResource,
38
+ WellskyResourceWithRawResponse,
39
+ AsyncWellskyResourceWithRawResponse,
40
+ WellskyResourceWithStreamingResponse,
41
+ AsyncWellskyResourceWithStreamingResponse,
42
+ )
35
43
  from .careviso import (
36
44
  CarevisoResource,
37
45
  AsyncCarevisoResource,
@@ -72,6 +80,12 @@ __all__ = [
72
80
  "AsyncSnowflakeResourceWithRawResponse",
73
81
  "SnowflakeResourceWithStreamingResponse",
74
82
  "AsyncSnowflakeResourceWithStreamingResponse",
83
+ "WellskyResource",
84
+ "AsyncWellskyResource",
85
+ "WellskyResourceWithRawResponse",
86
+ "AsyncWellskyResourceWithRawResponse",
87
+ "WellskyResourceWithStreamingResponse",
88
+ "AsyncWellskyResourceWithStreamingResponse",
75
89
  "BankResource",
76
90
  "AsyncBankResource",
77
91
  "BankResourceWithRawResponse",
@@ -60,6 +60,14 @@ from .glidian.glidian import (
60
60
  GlidianResourceWithStreamingResponse,
61
61
  AsyncGlidianResourceWithStreamingResponse,
62
62
  )
63
+ from .wellsky.wellsky import (
64
+ WellskyResource,
65
+ AsyncWellskyResource,
66
+ WellskyResourceWithRawResponse,
67
+ AsyncWellskyResourceWithRawResponse,
68
+ WellskyResourceWithStreamingResponse,
69
+ AsyncWellskyResourceWithStreamingResponse,
70
+ )
63
71
 
64
72
  __all__ = ["IntegrationsResource", "AsyncIntegrationsResource"]
65
73
 
@@ -69,6 +77,10 @@ class IntegrationsResource(SyncAPIResource):
69
77
  def snowflake(self) -> SnowflakeResource:
70
78
  return SnowflakeResource(self._client)
71
79
 
80
+ @cached_property
81
+ def wellsky(self) -> WellskyResource:
82
+ return WellskyResource(self._client)
83
+
72
84
  @cached_property
73
85
  def bank(self) -> BankResource:
74
86
  return BankResource(self._client)
@@ -118,6 +130,10 @@ class AsyncIntegrationsResource(AsyncAPIResource):
118
130
  def snowflake(self) -> AsyncSnowflakeResource:
119
131
  return AsyncSnowflakeResource(self._client)
120
132
 
133
+ @cached_property
134
+ def wellsky(self) -> AsyncWellskyResource:
135
+ return AsyncWellskyResource(self._client)
136
+
121
137
  @cached_property
122
138
  def bank(self) -> AsyncBankResource:
123
139
  return AsyncBankResource(self._client)
@@ -170,6 +186,10 @@ class IntegrationsResourceWithRawResponse:
170
186
  def snowflake(self) -> SnowflakeResourceWithRawResponse:
171
187
  return SnowflakeResourceWithRawResponse(self._integrations.snowflake)
172
188
 
189
+ @cached_property
190
+ def wellsky(self) -> WellskyResourceWithRawResponse:
191
+ return WellskyResourceWithRawResponse(self._integrations.wellsky)
192
+
173
193
  @cached_property
174
194
  def bank(self) -> BankResourceWithRawResponse:
175
195
  return BankResourceWithRawResponse(self._integrations.bank)
@@ -203,6 +223,10 @@ class AsyncIntegrationsResourceWithRawResponse:
203
223
  def snowflake(self) -> AsyncSnowflakeResourceWithRawResponse:
204
224
  return AsyncSnowflakeResourceWithRawResponse(self._integrations.snowflake)
205
225
 
226
+ @cached_property
227
+ def wellsky(self) -> AsyncWellskyResourceWithRawResponse:
228
+ return AsyncWellskyResourceWithRawResponse(self._integrations.wellsky)
229
+
206
230
  @cached_property
207
231
  def bank(self) -> AsyncBankResourceWithRawResponse:
208
232
  return AsyncBankResourceWithRawResponse(self._integrations.bank)
@@ -236,6 +260,10 @@ class IntegrationsResourceWithStreamingResponse:
236
260
  def snowflake(self) -> SnowflakeResourceWithStreamingResponse:
237
261
  return SnowflakeResourceWithStreamingResponse(self._integrations.snowflake)
238
262
 
263
+ @cached_property
264
+ def wellsky(self) -> WellskyResourceWithStreamingResponse:
265
+ return WellskyResourceWithStreamingResponse(self._integrations.wellsky)
266
+
239
267
  @cached_property
240
268
  def bank(self) -> BankResourceWithStreamingResponse:
241
269
  return BankResourceWithStreamingResponse(self._integrations.bank)
@@ -269,6 +297,10 @@ class AsyncIntegrationsResourceWithStreamingResponse:
269
297
  def snowflake(self) -> AsyncSnowflakeResourceWithStreamingResponse:
270
298
  return AsyncSnowflakeResourceWithStreamingResponse(self._integrations.snowflake)
271
299
 
300
+ @cached_property
301
+ def wellsky(self) -> AsyncWellskyResourceWithStreamingResponse:
302
+ return AsyncWellskyResourceWithStreamingResponse(self._integrations.wellsky)
303
+
272
304
  @cached_property
273
305
  def bank(self) -> AsyncBankResourceWithStreamingResponse:
274
306
  return AsyncBankResourceWithStreamingResponse(self._integrations.bank)
@@ -0,0 +1,33 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from .wellsky import (
4
+ WellskyResource,
5
+ AsyncWellskyResource,
6
+ WellskyResourceWithRawResponse,
7
+ AsyncWellskyResourceWithRawResponse,
8
+ WellskyResourceWithStreamingResponse,
9
+ AsyncWellskyResourceWithStreamingResponse,
10
+ )
11
+ from .patients import (
12
+ PatientsResource,
13
+ AsyncPatientsResource,
14
+ PatientsResourceWithRawResponse,
15
+ AsyncPatientsResourceWithRawResponse,
16
+ PatientsResourceWithStreamingResponse,
17
+ AsyncPatientsResourceWithStreamingResponse,
18
+ )
19
+
20
+ __all__ = [
21
+ "PatientsResource",
22
+ "AsyncPatientsResource",
23
+ "PatientsResourceWithRawResponse",
24
+ "AsyncPatientsResourceWithRawResponse",
25
+ "PatientsResourceWithStreamingResponse",
26
+ "AsyncPatientsResourceWithStreamingResponse",
27
+ "WellskyResource",
28
+ "AsyncWellskyResource",
29
+ "WellskyResourceWithRawResponse",
30
+ "AsyncWellskyResourceWithRawResponse",
31
+ "WellskyResourceWithStreamingResponse",
32
+ "AsyncWellskyResourceWithStreamingResponse",
33
+ ]
@@ -0,0 +1,324 @@
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
+
7
+ import httpx
8
+
9
+ from ....._types import Body, Omit, Query, Headers, NotGiven, omit, not_given
10
+ from ....._utils import maybe_transform, async_maybe_transform
11
+ from ....._compat import cached_property
12
+ from ....._resource import SyncAPIResource, AsyncAPIResource
13
+ from ....._response import (
14
+ to_raw_response_wrapper,
15
+ to_streamed_response_wrapper,
16
+ async_to_raw_response_wrapper,
17
+ async_to_streamed_response_wrapper,
18
+ )
19
+ from ....._base_client import make_request_options
20
+ from .....types.v2.integrations.wellsky import patient_add_params, patient_search_params
21
+
22
+ __all__ = ["PatientsResource", "AsyncPatientsResource"]
23
+
24
+
25
+ class PatientsResource(SyncAPIResource):
26
+ @cached_property
27
+ def with_raw_response(self) -> PatientsResourceWithRawResponse:
28
+ """
29
+ This property can be used as a prefix for any HTTP method call to return
30
+ the raw response object instead of the parsed content.
31
+
32
+ For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
33
+ """
34
+ return PatientsResourceWithRawResponse(self)
35
+
36
+ @cached_property
37
+ def with_streaming_response(self) -> PatientsResourceWithStreamingResponse:
38
+ """
39
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
40
+
41
+ For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
42
+ """
43
+ return PatientsResourceWithStreamingResponse(self)
44
+
45
+ def add(
46
+ self,
47
+ slug: str,
48
+ *,
49
+ data: Dict[str, object],
50
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
51
+ # The extra values given here take precedence over values defined on the client or passed to this method.
52
+ extra_headers: Headers | None = None,
53
+ extra_query: Query | None = None,
54
+ extra_body: Body | None = None,
55
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
56
+ ) -> object:
57
+ """
58
+ Add a patient to WellSky.
59
+
60
+ Args:
61
+ data: The data to add the patient to WellSky.
62
+
63
+ extra_headers: Send extra headers
64
+
65
+ extra_query: Add additional query parameters to the request
66
+
67
+ extra_body: Add additional JSON properties to the request
68
+
69
+ timeout: Override the client-level default timeout for this request, in seconds
70
+ """
71
+ if not slug:
72
+ raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
73
+ return self._post(
74
+ f"/api/v2/integrations/wellsky/{slug}/patients",
75
+ body=maybe_transform({"data": data}, patient_add_params.PatientAddParams),
76
+ options=make_request_options(
77
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
78
+ ),
79
+ cast_to=object,
80
+ )
81
+
82
+ def search(
83
+ self,
84
+ slug: str,
85
+ *,
86
+ reqdelete: str | Omit = omit,
87
+ reqdispin: str | Omit = omit,
88
+ reqlvl6_in: str | Omit = omit,
89
+ reqnamein: str | Omit = omit,
90
+ reqnonprosp: str | Omit = omit,
91
+ reqprosp: str | Omit = omit,
92
+ reqsortin: str | Omit = omit,
93
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
94
+ # The extra values given here take precedence over values defined on the client or passed to this method.
95
+ extra_headers: Headers | None = None,
96
+ extra_query: Query | None = None,
97
+ extra_body: Body | None = None,
98
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
99
+ ) -> object:
100
+ """
101
+ Search for patients in WellSky.
102
+
103
+ Args:
104
+ reqdelete: Delete flag (Y/N)
105
+
106
+ reqdispin: Disposition filter
107
+
108
+ reqlvl6_in: Facility ID
109
+
110
+ reqnamein: Patient name to search
111
+
112
+ reqnonprosp: Non-prospect flag (Y/N)
113
+
114
+ reqprosp: Prospect flag (Y/N)
115
+
116
+ reqsortin: Sort field
117
+
118
+ extra_headers: Send extra headers
119
+
120
+ extra_query: Add additional query parameters to the request
121
+
122
+ extra_body: Add additional JSON properties to the request
123
+
124
+ timeout: Override the client-level default timeout for this request, in seconds
125
+ """
126
+ if not slug:
127
+ raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
128
+ return self._get(
129
+ f"/api/v2/integrations/wellsky/{slug}/patients",
130
+ options=make_request_options(
131
+ extra_headers=extra_headers,
132
+ extra_query=extra_query,
133
+ extra_body=extra_body,
134
+ timeout=timeout,
135
+ query=maybe_transform(
136
+ {
137
+ "reqdelete": reqdelete,
138
+ "reqdispin": reqdispin,
139
+ "reqlvl6_in": reqlvl6_in,
140
+ "reqnamein": reqnamein,
141
+ "reqnonprosp": reqnonprosp,
142
+ "reqprosp": reqprosp,
143
+ "reqsortin": reqsortin,
144
+ },
145
+ patient_search_params.PatientSearchParams,
146
+ ),
147
+ ),
148
+ cast_to=object,
149
+ )
150
+
151
+
152
+ class AsyncPatientsResource(AsyncAPIResource):
153
+ @cached_property
154
+ def with_raw_response(self) -> AsyncPatientsResourceWithRawResponse:
155
+ """
156
+ This property can be used as a prefix for any HTTP method call to return
157
+ the raw response object instead of the parsed content.
158
+
159
+ For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
160
+ """
161
+ return AsyncPatientsResourceWithRawResponse(self)
162
+
163
+ @cached_property
164
+ def with_streaming_response(self) -> AsyncPatientsResourceWithStreamingResponse:
165
+ """
166
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
167
+
168
+ For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
169
+ """
170
+ return AsyncPatientsResourceWithStreamingResponse(self)
171
+
172
+ async def add(
173
+ self,
174
+ slug: str,
175
+ *,
176
+ data: Dict[str, object],
177
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
178
+ # The extra values given here take precedence over values defined on the client or passed to this method.
179
+ extra_headers: Headers | None = None,
180
+ extra_query: Query | None = None,
181
+ extra_body: Body | None = None,
182
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
183
+ ) -> object:
184
+ """
185
+ Add a patient to WellSky.
186
+
187
+ Args:
188
+ data: The data to add the patient to WellSky.
189
+
190
+ extra_headers: Send extra headers
191
+
192
+ extra_query: Add additional query parameters to the request
193
+
194
+ extra_body: Add additional JSON properties to the request
195
+
196
+ timeout: Override the client-level default timeout for this request, in seconds
197
+ """
198
+ if not slug:
199
+ raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
200
+ return await self._post(
201
+ f"/api/v2/integrations/wellsky/{slug}/patients",
202
+ body=await async_maybe_transform({"data": data}, patient_add_params.PatientAddParams),
203
+ options=make_request_options(
204
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
205
+ ),
206
+ cast_to=object,
207
+ )
208
+
209
+ async def search(
210
+ self,
211
+ slug: str,
212
+ *,
213
+ reqdelete: str | Omit = omit,
214
+ reqdispin: str | Omit = omit,
215
+ reqlvl6_in: str | Omit = omit,
216
+ reqnamein: str | Omit = omit,
217
+ reqnonprosp: str | Omit = omit,
218
+ reqprosp: str | Omit = omit,
219
+ reqsortin: str | Omit = omit,
220
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
221
+ # The extra values given here take precedence over values defined on the client or passed to this method.
222
+ extra_headers: Headers | None = None,
223
+ extra_query: Query | None = None,
224
+ extra_body: Body | None = None,
225
+ timeout: float | httpx.Timeout | None | NotGiven = not_given,
226
+ ) -> object:
227
+ """
228
+ Search for patients in WellSky.
229
+
230
+ Args:
231
+ reqdelete: Delete flag (Y/N)
232
+
233
+ reqdispin: Disposition filter
234
+
235
+ reqlvl6_in: Facility ID
236
+
237
+ reqnamein: Patient name to search
238
+
239
+ reqnonprosp: Non-prospect flag (Y/N)
240
+
241
+ reqprosp: Prospect flag (Y/N)
242
+
243
+ reqsortin: Sort field
244
+
245
+ extra_headers: Send extra headers
246
+
247
+ extra_query: Add additional query parameters to the request
248
+
249
+ extra_body: Add additional JSON properties to the request
250
+
251
+ timeout: Override the client-level default timeout for this request, in seconds
252
+ """
253
+ if not slug:
254
+ raise ValueError(f"Expected a non-empty value for `slug` but received {slug!r}")
255
+ return await self._get(
256
+ f"/api/v2/integrations/wellsky/{slug}/patients",
257
+ options=make_request_options(
258
+ extra_headers=extra_headers,
259
+ extra_query=extra_query,
260
+ extra_body=extra_body,
261
+ timeout=timeout,
262
+ query=await async_maybe_transform(
263
+ {
264
+ "reqdelete": reqdelete,
265
+ "reqdispin": reqdispin,
266
+ "reqlvl6_in": reqlvl6_in,
267
+ "reqnamein": reqnamein,
268
+ "reqnonprosp": reqnonprosp,
269
+ "reqprosp": reqprosp,
270
+ "reqsortin": reqsortin,
271
+ },
272
+ patient_search_params.PatientSearchParams,
273
+ ),
274
+ ),
275
+ cast_to=object,
276
+ )
277
+
278
+
279
+ class PatientsResourceWithRawResponse:
280
+ def __init__(self, patients: PatientsResource) -> None:
281
+ self._patients = patients
282
+
283
+ self.add = to_raw_response_wrapper(
284
+ patients.add,
285
+ )
286
+ self.search = to_raw_response_wrapper(
287
+ patients.search,
288
+ )
289
+
290
+
291
+ class AsyncPatientsResourceWithRawResponse:
292
+ def __init__(self, patients: AsyncPatientsResource) -> None:
293
+ self._patients = patients
294
+
295
+ self.add = async_to_raw_response_wrapper(
296
+ patients.add,
297
+ )
298
+ self.search = async_to_raw_response_wrapper(
299
+ patients.search,
300
+ )
301
+
302
+
303
+ class PatientsResourceWithStreamingResponse:
304
+ def __init__(self, patients: PatientsResource) -> None:
305
+ self._patients = patients
306
+
307
+ self.add = to_streamed_response_wrapper(
308
+ patients.add,
309
+ )
310
+ self.search = to_streamed_response_wrapper(
311
+ patients.search,
312
+ )
313
+
314
+
315
+ class AsyncPatientsResourceWithStreamingResponse:
316
+ def __init__(self, patients: AsyncPatientsResource) -> None:
317
+ self._patients = patients
318
+
319
+ self.add = async_to_streamed_response_wrapper(
320
+ patients.add,
321
+ )
322
+ self.search = async_to_streamed_response_wrapper(
323
+ patients.search,
324
+ )
@@ -0,0 +1,102 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from .patients import (
6
+ PatientsResource,
7
+ AsyncPatientsResource,
8
+ PatientsResourceWithRawResponse,
9
+ AsyncPatientsResourceWithRawResponse,
10
+ PatientsResourceWithStreamingResponse,
11
+ AsyncPatientsResourceWithStreamingResponse,
12
+ )
13
+ from ....._compat import cached_property
14
+ from ....._resource import SyncAPIResource, AsyncAPIResource
15
+
16
+ __all__ = ["WellskyResource", "AsyncWellskyResource"]
17
+
18
+
19
+ class WellskyResource(SyncAPIResource):
20
+ @cached_property
21
+ def patients(self) -> PatientsResource:
22
+ return PatientsResource(self._client)
23
+
24
+ @cached_property
25
+ def with_raw_response(self) -> WellskyResourceWithRawResponse:
26
+ """
27
+ This property can be used as a prefix for any HTTP method call to return
28
+ the raw response object instead of the parsed content.
29
+
30
+ For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
31
+ """
32
+ return WellskyResourceWithRawResponse(self)
33
+
34
+ @cached_property
35
+ def with_streaming_response(self) -> WellskyResourceWithStreamingResponse:
36
+ """
37
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
38
+
39
+ For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
40
+ """
41
+ return WellskyResourceWithStreamingResponse(self)
42
+
43
+
44
+ class AsyncWellskyResource(AsyncAPIResource):
45
+ @cached_property
46
+ def patients(self) -> AsyncPatientsResource:
47
+ return AsyncPatientsResource(self._client)
48
+
49
+ @cached_property
50
+ def with_raw_response(self) -> AsyncWellskyResourceWithRawResponse:
51
+ """
52
+ This property can be used as a prefix for any HTTP method call to return
53
+ the raw response object instead of the parsed content.
54
+
55
+ For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
56
+ """
57
+ return AsyncWellskyResourceWithRawResponse(self)
58
+
59
+ @cached_property
60
+ def with_streaming_response(self) -> AsyncWellskyResourceWithStreamingResponse:
61
+ """
62
+ An alternative to `.with_raw_response` that doesn't eagerly read the response body.
63
+
64
+ For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
65
+ """
66
+ return AsyncWellskyResourceWithStreamingResponse(self)
67
+
68
+
69
+ class WellskyResourceWithRawResponse:
70
+ def __init__(self, wellsky: WellskyResource) -> None:
71
+ self._wellsky = wellsky
72
+
73
+ @cached_property
74
+ def patients(self) -> PatientsResourceWithRawResponse:
75
+ return PatientsResourceWithRawResponse(self._wellsky.patients)
76
+
77
+
78
+ class AsyncWellskyResourceWithRawResponse:
79
+ def __init__(self, wellsky: AsyncWellskyResource) -> None:
80
+ self._wellsky = wellsky
81
+
82
+ @cached_property
83
+ def patients(self) -> AsyncPatientsResourceWithRawResponse:
84
+ return AsyncPatientsResourceWithRawResponse(self._wellsky.patients)
85
+
86
+
87
+ class WellskyResourceWithStreamingResponse:
88
+ def __init__(self, wellsky: WellskyResource) -> None:
89
+ self._wellsky = wellsky
90
+
91
+ @cached_property
92
+ def patients(self) -> PatientsResourceWithStreamingResponse:
93
+ return PatientsResourceWithStreamingResponse(self._wellsky.patients)
94
+
95
+
96
+ class AsyncWellskyResourceWithStreamingResponse:
97
+ def __init__(self, wellsky: AsyncWellskyResource) -> None:
98
+ self._wellsky = wellsky
99
+
100
+ @cached_property
101
+ def patients(self) -> AsyncPatientsResourceWithStreamingResponse:
102
+ return AsyncPatientsResourceWithStreamingResponse(self._wellsky.patients)
@@ -0,0 +1,6 @@
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
@@ -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 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."""
@@ -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_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,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: samplehc
3
- Version: 0.13.0
3
+ Version: 0.14.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
@@ -30,7 +30,7 @@ Requires-Dist: sniffio
30
30
  Requires-Dist: typing-extensions<5,>=4.10
31
31
  Provides-Extra: aiohttp
32
32
  Requires-Dist: aiohttp; extra == 'aiohttp'
33
- Requires-Dist: httpx-aiohttp>=0.1.8; extra == 'aiohttp'
33
+ Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'
34
34
  Description-Content-Type: text/markdown
35
35
 
36
36
  # Sample Healthcare Python API library
@@ -11,7 +11,7 @@ samplehc/_resource.py,sha256=Mdg6fhf_5wYd2K2JZ4BQIJMPqJOWetqpJE3h3MmGZJE,1160
11
11
  samplehc/_response.py,sha256=UzsuYRbic274gcdUWq9ShPkdRt7VrzkjaqwSwdxqWIs,28816
12
12
  samplehc/_streaming.py,sha256=yAEL3kUU3BoKZpDC6T6Psl11nDAMMAjSyWvWnk3R8vU,10140
13
13
  samplehc/_types.py,sha256=Gx3CUAUSTuUToKvgv-KsFoQ25mp6N1qHbODB21j8I8c,7238
14
- samplehc/_version.py,sha256=Ndowe8w0P8o2TF_NLb06QTQ4jiKAxUAMNzt2PaE0C1E,161
14
+ samplehc/_version.py,sha256=TVrhwlOSQXahwGXqP4B2e5RFQeIx-AaiIHzoWWCz1gU,161
15
15
  samplehc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  samplehc/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
17
17
  samplehc/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
@@ -59,9 +59,9 @@ samplehc/resources/v2/hie/__init__.py,sha256=kEs1If5SVR3Inp__6822fiPvynz8MwRIJdY
59
59
  samplehc/resources/v2/hie/adt.py,sha256=wTasDk8rjNpfHO0k8lrGjymchtVhskwlzzd2XC5ruXQ,9538
60
60
  samplehc/resources/v2/hie/documents.py,sha256=J3-4S4BBD7vPAo3aCThta8UeX0hyxVjizk2md26EjKs,15318
61
61
  samplehc/resources/v2/hie/hie.py,sha256=bdTM7CeHELmGULZRkOHnnfg-MoKadTnbaY9hDBtNMv4,4550
62
- samplehc/resources/v2/integrations/__init__.py,sha256=YiQg_OIh2fgxRU5bC-_KZW8Q4gfxekvwAzve_37ATeU,3858
62
+ samplehc/resources/v2/integrations/__init__.py,sha256=_Qn1-4MAe33zZdspy6aX-a_FPKhoi4mJI21pMmVsOZY,4321
63
63
  samplehc/resources/v2/integrations/careviso.py,sha256=hrq_Qfw9hXvtXwJ2JayofjACBJhqDHwSU5aCQUy4G1o,15464
64
- samplehc/resources/v2/integrations/integrations.py,sha256=ee8BjFmeEzZVo7HjEkY-PV2vjVVsltkrLIn9m2wCpOE,10567
64
+ samplehc/resources/v2/integrations/integrations.py,sha256=6pswQrhQ261h1r2q-wwgzvK2LEi8qDm5A3uGQv0w3zQ,11697
65
65
  samplehc/resources/v2/integrations/salesforce.py,sha256=2QcY6sHc12juXX3IDNt_isQk_Vca2bB1QC4ZWA5Ku6c,10914
66
66
  samplehc/resources/v2/integrations/snowflake.py,sha256=xOF5bevD1ViDcL6qaoKMeNBtjVpZyeckzRO7dPmLdrs,6506
67
67
  samplehc/resources/v2/integrations/xcures.py,sha256=G7d6HaTkxIv-yuePj7KREitEFjgjTk3DlAtCCLYXODE,7260
@@ -76,6 +76,9 @@ samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizat
76
76
  samplehc/resources/v2/integrations/kno2/__init__.py,sha256=O46p4OnML6RdkmNBI_ZB79u58Sbfo9teFgQ7yrsfmI0,1002
77
77
  samplehc/resources/v2/integrations/kno2/kno2.py,sha256=xc__0U-pQMavJNUN2t8EIZtkg3efeOpdK3JqpvDPsMk,3589
78
78
  samplehc/resources/v2/integrations/kno2/messages.py,sha256=BlIUV_1ae2lNtjI6wJigXk7iOTAs2G8vhQJ00qO1dF8,10347
79
+ samplehc/resources/v2/integrations/wellsky/__init__.py,sha256=-DaaU18hvyGskY1k5y3LsMtAw8nv5X6nB2PM4BFHkS8,1041
80
+ samplehc/resources/v2/integrations/wellsky/patients.py,sha256=9TSUdr9taZMtb7yuPOL_85AMMc6BAfKrTgpJgUmsPIU,11493
81
+ samplehc/resources/v2/integrations/wellsky/wellsky.py,sha256=0-8yyclRm13JRUbH-KJpPk0uwbPke8qunO98QNF9mDw,3697
79
82
  samplehc/resources/v2/ledger/__init__.py,sha256=wJp8z_TSgl7zuOvOvFxpwUBMAaVp4mRI2NVkbKGKiL0,1452
80
83
  samplehc/resources/v2/ledger/account.py,sha256=Fc3A7czMWCVa1jPZXiZ2EQjtmMjVqEOz4jwAihS9N_I,11452
81
84
  samplehc/resources/v2/ledger/entry.py,sha256=m0IuJr2Objsnm5int5Z7VGtJQkmVcFDzbK0yAqP1CUg,13982
@@ -229,6 +232,9 @@ samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_up
229
232
  samplehc/types/v2/integrations/kno2/__init__.py,sha256=-gOR4o0TRcDJlPLYQR7Xe0kb5WIOcFem52qiHIW6seA,319
230
233
  samplehc/types/v2/integrations/kno2/message_get_attachment_response.py,sha256=AZue-qHJSTSNeMpGLkFkdQeQGYKWrPoJ9TaJZmhcoiQ,318
231
234
  samplehc/types/v2/integrations/kno2/message_retrieve_response.py,sha256=fr41OON96HnoAyFIpRxh7Hb4pTCreYydkack6lZFPuM,271
235
+ samplehc/types/v2/integrations/wellsky/__init__.py,sha256=yMzbfqlrc8-Dbq1uhpHeZ0XgRCdyyAeo-Vf-gCBhIi8,270
236
+ samplehc/types/v2/integrations/wellsky/patient_add_params.py,sha256=5pHaMWacMXHzybjSOxcDOnw8VRoQz51X0IrYxfe_lwc,367
237
+ samplehc/types/v2/integrations/wellsky/patient_search_params.py,sha256=tFOPYSIsulg6NTYJqQscM2g5Zpt_eBPyJroBRTWxvLY,947
232
238
  samplehc/types/v2/ledger/__init__.py,sha256=UR89wcUHLaMEO1ZNDPNCGMK9ibhjF8oJ9eSV9RCw53s,591
233
239
  samplehc/types/v2/ledger/account_writeoff_params.py,sha256=hRmn--xzlslRj8HGctk8ZBeWknSX_87P77Qw-sybzE4,695
234
240
  samplehc/types/v2/ledger/account_writeoff_response.py,sha256=W-pBaGANRA0VqPme3uyfCxDGrIB_SvOvJW-rzi_w5bw,311
@@ -242,7 +248,7 @@ samplehc/types/v2/tasks/state_update_params.py,sha256=qSLE4Ic5PJlkvcFbTu-KlfH6qg
242
248
  samplehc/types/v2/tasks/state_update_response.py,sha256=ZLnR_rl9yasOnaxQvcM3fiaI_H16pDjBve1GUUleul4,214
243
249
  samplehc/types/v2/workflow_runs/__init__.py,sha256=Nmrudr30JDOaGyeMcc_dqaqqs_9kTdebHD7W0vHHfdE,208
244
250
  samplehc/types/v2/workflow_runs/step_get_output_response.py,sha256=XhRGcpEmxu4TBgpF8r63u5-ruEUDWuXr0ahv1CD9gis,333
245
- samplehc-0.13.0.dist-info/METADATA,sha256=xQ-FOFnNAabeX3AofU3v8T6K5pMY0SfRhyFYuK6TWkA,14285
246
- samplehc-0.13.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
247
- samplehc-0.13.0.dist-info/licenses/LICENSE,sha256=nrJkK4JSAQb1p7FJcTysujPJoAZtrnXxwsLkwHz0-J8,11347
248
- samplehc-0.13.0.dist-info/RECORD,,
251
+ samplehc-0.14.0.dist-info/METADATA,sha256=UgoTLJMYG2Ij-jt1M_WTZT2QIJsxP6i34aV8h6p-AqE,14285
252
+ samplehc-0.14.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
253
+ samplehc-0.14.0.dist-info/licenses/LICENSE,sha256=nrJkK4JSAQb1p7FJcTysujPJoAZtrnXxwsLkwHz0-J8,11347
254
+ samplehc-0.14.0.dist-info/RECORD,,