rxfoundry.clients.swifty-api 0.1.1010__py3-none-any.whl → 0.1.1012__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.
@@ -1986,6 +1986,7 @@ class PrescriptionApi:
1986
1986
  prescriber_uuid: Annotated[Optional[StrictStr], Field(description="Filter prescriptions by prescriber UUID")] = None,
1987
1987
  medication_uuid: Annotated[Optional[StrictStr], Field(description="Filter prescriptions by medication UUID")] = None,
1988
1988
  extra_filter: Annotated[Optional[List[StrictStr]], Field(description="Filter prescriptions by flags: - `needs_pv0` - needs pv0 verification. pv0 is a review that is meant to approximate a pv1 review. It is not a standard board of pharmacy workflow step. - `needs_pv1` - needs pv1 verification. pv1 is a review to ensure the prescription is accurate and that there are no adverse effects for the patient to take the medication based upon data provided by the patient (current medications, pregnacy status, allergies, current conditions). This is a standard board of pharmacy prescription workflow step. - `needs_pv2` - needs pv2 verification. pv2 is a final review to make sure the right medication has been dispensed to the patient in the correct quantity. This is a standard board of pharmacy prescription workflow step. - `patient_not_registered` - prescription has no registered patient - `has_open_issues` - issues have been flagged for the prescription that need to be reviewed - `has_pv0` - prescription has been verified at pv0 level - `has_pv1` - prescription has been verified at pv1 level - `has_pv2` - prescription has been verified at pv2 level - `patient_registered' - patient has been registered with the pharmacy - `notified` - a notification has been sent to the patient portal for this prescription - `not_notified` - a notification has not been sent to the patient portal for this prescription - `on_formulary` - prescription is on the formulary for the virtual pharmacy - `not_on_formulary` - prescription is not on the formulary for the virtual pharmacy - `transferred` - the prescription has been transferred to a dispensing pharmacy - `not_transferred` - the prescription has not been transferred to a dispensing pharmacy - `transfer_requested` - the prescription has been requested to be transferred to a dispensing pharmacy, but has not yet transferred - `open_change_request` - a change request has been requested for this prescription, but has not yet completed - `approved_change_request` - the most recent change request has been approved for this prescription - `denied_change_request` - the most recent change request has been denied for this prescription ")] = None,
1989
+ status_filter: Annotated[Optional[List[StrictStr]], Field(description="Filter prescriptions by status: - `NOT_READY_TO_FILL` - prescription is not ready to be filled - `EXPIRED` - prescription has expired - `NOT_AVAILABLE` - prescription is not available for filling - `OUT_OF_REFILLS` - prescription has run out of refills - `OUT_OF_STOCK` - prescription is out of stock - `READY_TO_FILL` - prescription is ready to be filled - `DISCONTINUED` - prescription has been discontinued ")] = None,
1989
1990
  page: Optional[StrictInt] = None,
1990
1991
  results_per_page: Optional[StrictInt] = None,
1991
1992
  _request_timeout: Union[
@@ -2018,6 +2019,8 @@ class PrescriptionApi:
2018
2019
  :type medication_uuid: str
2019
2020
  :param extra_filter: Filter prescriptions by flags: - `needs_pv0` - needs pv0 verification. pv0 is a review that is meant to approximate a pv1 review. It is not a standard board of pharmacy workflow step. - `needs_pv1` - needs pv1 verification. pv1 is a review to ensure the prescription is accurate and that there are no adverse effects for the patient to take the medication based upon data provided by the patient (current medications, pregnacy status, allergies, current conditions). This is a standard board of pharmacy prescription workflow step. - `needs_pv2` - needs pv2 verification. pv2 is a final review to make sure the right medication has been dispensed to the patient in the correct quantity. This is a standard board of pharmacy prescription workflow step. - `patient_not_registered` - prescription has no registered patient - `has_open_issues` - issues have been flagged for the prescription that need to be reviewed - `has_pv0` - prescription has been verified at pv0 level - `has_pv1` - prescription has been verified at pv1 level - `has_pv2` - prescription has been verified at pv2 level - `patient_registered' - patient has been registered with the pharmacy - `notified` - a notification has been sent to the patient portal for this prescription - `not_notified` - a notification has not been sent to the patient portal for this prescription - `on_formulary` - prescription is on the formulary for the virtual pharmacy - `not_on_formulary` - prescription is not on the formulary for the virtual pharmacy - `transferred` - the prescription has been transferred to a dispensing pharmacy - `not_transferred` - the prescription has not been transferred to a dispensing pharmacy - `transfer_requested` - the prescription has been requested to be transferred to a dispensing pharmacy, but has not yet transferred - `open_change_request` - a change request has been requested for this prescription, but has not yet completed - `approved_change_request` - the most recent change request has been approved for this prescription - `denied_change_request` - the most recent change request has been denied for this prescription
2020
2021
  :type extra_filter: List[str]
2022
+ :param status_filter: Filter prescriptions by status: - `NOT_READY_TO_FILL` - prescription is not ready to be filled - `EXPIRED` - prescription has expired - `NOT_AVAILABLE` - prescription is not available for filling - `OUT_OF_REFILLS` - prescription has run out of refills - `OUT_OF_STOCK` - prescription is out of stock - `READY_TO_FILL` - prescription is ready to be filled - `DISCONTINUED` - prescription has been discontinued
2023
+ :type status_filter: List[str]
2021
2024
  :param page:
2022
2025
  :type page: int
2023
2026
  :param results_per_page:
@@ -2052,6 +2055,7 @@ class PrescriptionApi:
2052
2055
  prescriber_uuid=prescriber_uuid,
2053
2056
  medication_uuid=medication_uuid,
2054
2057
  extra_filter=extra_filter,
2058
+ status_filter=status_filter,
2055
2059
  page=page,
2056
2060
  results_per_page=results_per_page,
2057
2061
  _request_auth=_request_auth,
@@ -2085,6 +2089,7 @@ class PrescriptionApi:
2085
2089
  prescriber_uuid: Annotated[Optional[StrictStr], Field(description="Filter prescriptions by prescriber UUID")] = None,
2086
2090
  medication_uuid: Annotated[Optional[StrictStr], Field(description="Filter prescriptions by medication UUID")] = None,
2087
2091
  extra_filter: Annotated[Optional[List[StrictStr]], Field(description="Filter prescriptions by flags: - `needs_pv0` - needs pv0 verification. pv0 is a review that is meant to approximate a pv1 review. It is not a standard board of pharmacy workflow step. - `needs_pv1` - needs pv1 verification. pv1 is a review to ensure the prescription is accurate and that there are no adverse effects for the patient to take the medication based upon data provided by the patient (current medications, pregnacy status, allergies, current conditions). This is a standard board of pharmacy prescription workflow step. - `needs_pv2` - needs pv2 verification. pv2 is a final review to make sure the right medication has been dispensed to the patient in the correct quantity. This is a standard board of pharmacy prescription workflow step. - `patient_not_registered` - prescription has no registered patient - `has_open_issues` - issues have been flagged for the prescription that need to be reviewed - `has_pv0` - prescription has been verified at pv0 level - `has_pv1` - prescription has been verified at pv1 level - `has_pv2` - prescription has been verified at pv2 level - `patient_registered' - patient has been registered with the pharmacy - `notified` - a notification has been sent to the patient portal for this prescription - `not_notified` - a notification has not been sent to the patient portal for this prescription - `on_formulary` - prescription is on the formulary for the virtual pharmacy - `not_on_formulary` - prescription is not on the formulary for the virtual pharmacy - `transferred` - the prescription has been transferred to a dispensing pharmacy - `not_transferred` - the prescription has not been transferred to a dispensing pharmacy - `transfer_requested` - the prescription has been requested to be transferred to a dispensing pharmacy, but has not yet transferred - `open_change_request` - a change request has been requested for this prescription, but has not yet completed - `approved_change_request` - the most recent change request has been approved for this prescription - `denied_change_request` - the most recent change request has been denied for this prescription ")] = None,
2092
+ status_filter: Annotated[Optional[List[StrictStr]], Field(description="Filter prescriptions by status: - `NOT_READY_TO_FILL` - prescription is not ready to be filled - `EXPIRED` - prescription has expired - `NOT_AVAILABLE` - prescription is not available for filling - `OUT_OF_REFILLS` - prescription has run out of refills - `OUT_OF_STOCK` - prescription is out of stock - `READY_TO_FILL` - prescription is ready to be filled - `DISCONTINUED` - prescription has been discontinued ")] = None,
2088
2093
  page: Optional[StrictInt] = None,
2089
2094
  results_per_page: Optional[StrictInt] = None,
2090
2095
  _request_timeout: Union[
@@ -2117,6 +2122,8 @@ class PrescriptionApi:
2117
2122
  :type medication_uuid: str
2118
2123
  :param extra_filter: Filter prescriptions by flags: - `needs_pv0` - needs pv0 verification. pv0 is a review that is meant to approximate a pv1 review. It is not a standard board of pharmacy workflow step. - `needs_pv1` - needs pv1 verification. pv1 is a review to ensure the prescription is accurate and that there are no adverse effects for the patient to take the medication based upon data provided by the patient (current medications, pregnacy status, allergies, current conditions). This is a standard board of pharmacy prescription workflow step. - `needs_pv2` - needs pv2 verification. pv2 is a final review to make sure the right medication has been dispensed to the patient in the correct quantity. This is a standard board of pharmacy prescription workflow step. - `patient_not_registered` - prescription has no registered patient - `has_open_issues` - issues have been flagged for the prescription that need to be reviewed - `has_pv0` - prescription has been verified at pv0 level - `has_pv1` - prescription has been verified at pv1 level - `has_pv2` - prescription has been verified at pv2 level - `patient_registered' - patient has been registered with the pharmacy - `notified` - a notification has been sent to the patient portal for this prescription - `not_notified` - a notification has not been sent to the patient portal for this prescription - `on_formulary` - prescription is on the formulary for the virtual pharmacy - `not_on_formulary` - prescription is not on the formulary for the virtual pharmacy - `transferred` - the prescription has been transferred to a dispensing pharmacy - `not_transferred` - the prescription has not been transferred to a dispensing pharmacy - `transfer_requested` - the prescription has been requested to be transferred to a dispensing pharmacy, but has not yet transferred - `open_change_request` - a change request has been requested for this prescription, but has not yet completed - `approved_change_request` - the most recent change request has been approved for this prescription - `denied_change_request` - the most recent change request has been denied for this prescription
2119
2124
  :type extra_filter: List[str]
2125
+ :param status_filter: Filter prescriptions by status: - `NOT_READY_TO_FILL` - prescription is not ready to be filled - `EXPIRED` - prescription has expired - `NOT_AVAILABLE` - prescription is not available for filling - `OUT_OF_REFILLS` - prescription has run out of refills - `OUT_OF_STOCK` - prescription is out of stock - `READY_TO_FILL` - prescription is ready to be filled - `DISCONTINUED` - prescription has been discontinued
2126
+ :type status_filter: List[str]
2120
2127
  :param page:
2121
2128
  :type page: int
2122
2129
  :param results_per_page:
@@ -2151,6 +2158,7 @@ class PrescriptionApi:
2151
2158
  prescriber_uuid=prescriber_uuid,
2152
2159
  medication_uuid=medication_uuid,
2153
2160
  extra_filter=extra_filter,
2161
+ status_filter=status_filter,
2154
2162
  page=page,
2155
2163
  results_per_page=results_per_page,
2156
2164
  _request_auth=_request_auth,
@@ -2184,6 +2192,7 @@ class PrescriptionApi:
2184
2192
  prescriber_uuid: Annotated[Optional[StrictStr], Field(description="Filter prescriptions by prescriber UUID")] = None,
2185
2193
  medication_uuid: Annotated[Optional[StrictStr], Field(description="Filter prescriptions by medication UUID")] = None,
2186
2194
  extra_filter: Annotated[Optional[List[StrictStr]], Field(description="Filter prescriptions by flags: - `needs_pv0` - needs pv0 verification. pv0 is a review that is meant to approximate a pv1 review. It is not a standard board of pharmacy workflow step. - `needs_pv1` - needs pv1 verification. pv1 is a review to ensure the prescription is accurate and that there are no adverse effects for the patient to take the medication based upon data provided by the patient (current medications, pregnacy status, allergies, current conditions). This is a standard board of pharmacy prescription workflow step. - `needs_pv2` - needs pv2 verification. pv2 is a final review to make sure the right medication has been dispensed to the patient in the correct quantity. This is a standard board of pharmacy prescription workflow step. - `patient_not_registered` - prescription has no registered patient - `has_open_issues` - issues have been flagged for the prescription that need to be reviewed - `has_pv0` - prescription has been verified at pv0 level - `has_pv1` - prescription has been verified at pv1 level - `has_pv2` - prescription has been verified at pv2 level - `patient_registered' - patient has been registered with the pharmacy - `notified` - a notification has been sent to the patient portal for this prescription - `not_notified` - a notification has not been sent to the patient portal for this prescription - `on_formulary` - prescription is on the formulary for the virtual pharmacy - `not_on_formulary` - prescription is not on the formulary for the virtual pharmacy - `transferred` - the prescription has been transferred to a dispensing pharmacy - `not_transferred` - the prescription has not been transferred to a dispensing pharmacy - `transfer_requested` - the prescription has been requested to be transferred to a dispensing pharmacy, but has not yet transferred - `open_change_request` - a change request has been requested for this prescription, but has not yet completed - `approved_change_request` - the most recent change request has been approved for this prescription - `denied_change_request` - the most recent change request has been denied for this prescription ")] = None,
2195
+ status_filter: Annotated[Optional[List[StrictStr]], Field(description="Filter prescriptions by status: - `NOT_READY_TO_FILL` - prescription is not ready to be filled - `EXPIRED` - prescription has expired - `NOT_AVAILABLE` - prescription is not available for filling - `OUT_OF_REFILLS` - prescription has run out of refills - `OUT_OF_STOCK` - prescription is out of stock - `READY_TO_FILL` - prescription is ready to be filled - `DISCONTINUED` - prescription has been discontinued ")] = None,
2187
2196
  page: Optional[StrictInt] = None,
2188
2197
  results_per_page: Optional[StrictInt] = None,
2189
2198
  _request_timeout: Union[
@@ -2216,6 +2225,8 @@ class PrescriptionApi:
2216
2225
  :type medication_uuid: str
2217
2226
  :param extra_filter: Filter prescriptions by flags: - `needs_pv0` - needs pv0 verification. pv0 is a review that is meant to approximate a pv1 review. It is not a standard board of pharmacy workflow step. - `needs_pv1` - needs pv1 verification. pv1 is a review to ensure the prescription is accurate and that there are no adverse effects for the patient to take the medication based upon data provided by the patient (current medications, pregnacy status, allergies, current conditions). This is a standard board of pharmacy prescription workflow step. - `needs_pv2` - needs pv2 verification. pv2 is a final review to make sure the right medication has been dispensed to the patient in the correct quantity. This is a standard board of pharmacy prescription workflow step. - `patient_not_registered` - prescription has no registered patient - `has_open_issues` - issues have been flagged for the prescription that need to be reviewed - `has_pv0` - prescription has been verified at pv0 level - `has_pv1` - prescription has been verified at pv1 level - `has_pv2` - prescription has been verified at pv2 level - `patient_registered' - patient has been registered with the pharmacy - `notified` - a notification has been sent to the patient portal for this prescription - `not_notified` - a notification has not been sent to the patient portal for this prescription - `on_formulary` - prescription is on the formulary for the virtual pharmacy - `not_on_formulary` - prescription is not on the formulary for the virtual pharmacy - `transferred` - the prescription has been transferred to a dispensing pharmacy - `not_transferred` - the prescription has not been transferred to a dispensing pharmacy - `transfer_requested` - the prescription has been requested to be transferred to a dispensing pharmacy, but has not yet transferred - `open_change_request` - a change request has been requested for this prescription, but has not yet completed - `approved_change_request` - the most recent change request has been approved for this prescription - `denied_change_request` - the most recent change request has been denied for this prescription
2218
2227
  :type extra_filter: List[str]
2228
+ :param status_filter: Filter prescriptions by status: - `NOT_READY_TO_FILL` - prescription is not ready to be filled - `EXPIRED` - prescription has expired - `NOT_AVAILABLE` - prescription is not available for filling - `OUT_OF_REFILLS` - prescription has run out of refills - `OUT_OF_STOCK` - prescription is out of stock - `READY_TO_FILL` - prescription is ready to be filled - `DISCONTINUED` - prescription has been discontinued
2229
+ :type status_filter: List[str]
2219
2230
  :param page:
2220
2231
  :type page: int
2221
2232
  :param results_per_page:
@@ -2250,6 +2261,7 @@ class PrescriptionApi:
2250
2261
  prescriber_uuid=prescriber_uuid,
2251
2262
  medication_uuid=medication_uuid,
2252
2263
  extra_filter=extra_filter,
2264
+ status_filter=status_filter,
2253
2265
  page=page,
2254
2266
  results_per_page=results_per_page,
2255
2267
  _request_auth=_request_auth,
@@ -2278,6 +2290,7 @@ class PrescriptionApi:
2278
2290
  prescriber_uuid,
2279
2291
  medication_uuid,
2280
2292
  extra_filter,
2293
+ status_filter,
2281
2294
  page,
2282
2295
  results_per_page,
2283
2296
  _request_auth,
@@ -2290,6 +2303,7 @@ class PrescriptionApi:
2290
2303
 
2291
2304
  _collection_formats: Dict[str, str] = {
2292
2305
  'extra_filter': 'csv',
2306
+ 'status_filter': 'csv',
2293
2307
  }
2294
2308
 
2295
2309
  _path_params: Dict[str, str] = {}
@@ -2331,6 +2345,10 @@ class PrescriptionApi:
2331
2345
 
2332
2346
  _query_params.append(('extra_filter', extra_filter))
2333
2347
 
2348
+ if status_filter is not None:
2349
+
2350
+ _query_params.append(('status_filter', status_filter))
2351
+
2334
2352
  if page is not None:
2335
2353
 
2336
2354
  _query_params.append(('page', page))
@@ -27,10 +27,10 @@ class PrescriptionStatusType(str, Enum):
27
27
  """
28
28
  allowed enum values
29
29
  """
30
- ON_HOLD = 'On_Hold'
31
- TRANSFERRED = 'Transferred'
32
- CANCELLED = 'Cancelled'
33
- DISCONTINUED = 'Discontinued'
30
+ PROCESSING = 'PROCESSING'
31
+ PROFILED = 'PROFILED'
32
+ READY_TO_FILL = 'READY_TO_FILL'
33
+ DISCONTINUED = 'DISCONTINUED'
34
34
 
35
35
  @classmethod
36
36
  def from_json(cls, json_str: str) -> Self:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rxfoundry.clients.swifty-api
3
- Version: 0.1.1010
3
+ Version: 0.1.1012
4
4
  Summary: SwiftyRX API
5
5
  Home-page:
6
6
  Author: RxFoundry Team
@@ -17,7 +17,7 @@ rxfoundry/clients/swifty_api/api/patient_api.py,sha256=ShJk70-hROrSeAAn4hJ6lAzxP
17
17
  rxfoundry/clients/swifty_api/api/pharmacist_api.py,sha256=6oEqrrIEmBB0i2iDIQKsjJr7fuGiY0J-H_NWIjp1Qvc,24931
18
18
  rxfoundry/clients/swifty_api/api/pharmacy_api.py,sha256=t86xd58lZMZE1x74XKW8C3fwk2UZhFn5ZpJUQ9kR8e8,30623
19
19
  rxfoundry/clients/swifty_api/api/prescriber_api.py,sha256=HeEZCXVJot9e6yprgkfCGjkZWdubbBIWaP86ekB7pXI,25033
20
- rxfoundry/clients/swifty_api/api/prescription_api.py,sha256=c6WDkR1uOhy9sA03kZYDk2txj8X2em1j4SqUvPxLWh4,118059
20
+ rxfoundry/clients/swifty_api/api/prescription_api.py,sha256=GXTxSaMYlV12FrVLSnYmZuRBrKdtoNEvbsFRcGX7Od0,121315
21
21
  rxfoundry/clients/swifty_api/api/task_api.py,sha256=MYwZrOHfLBwpvqnZZdDfCksJhXv734N-6Etj8AMbTS8,71168
22
22
  rxfoundry/clients/swifty_api/api/tasks_api.py,sha256=vxHkoBNneGazceXfrHtni95xEn3LmBtdry_SFTH5574,14138
23
23
  rxfoundry/clients/swifty_api/api/token_api.py,sha256=iCpu7mMiFJ7uLOEiDytERIoVnUEv-95v7hKnCSNd4vE,11613
@@ -82,7 +82,7 @@ rxfoundry/clients/swifty_api/models/prescription_message_task_status.py,sha256=y
82
82
  rxfoundry/clients/swifty_api/models/prescription_message_task_type.py,sha256=msMbMTTp7O8SWO6aoOKe7wqs0a39jZQyf65N_Yi7jg4,994
83
83
  rxfoundry/clients/swifty_api/models/prescription_message_type.py,sha256=wwAQb9R4pS5yNzx3wrIVFyVXP0x11b_TxbPfII0gUwk,1578
84
84
  rxfoundry/clients/swifty_api/models/prescription_patch.py,sha256=O9E_LvPxYfPoae_kjo-O-irSQoZo5kSCBysIG_6MVB4,4778
85
- rxfoundry/clients/swifty_api/models/prescription_status_type.py,sha256=giRkDvkaJiC9SQJIQjR-2o5tN-WdLM8ktV24_5cx9xo,825
85
+ rxfoundry/clients/swifty_api/models/prescription_status_type.py,sha256=9JyM5j8ZgpdAG6ybaOj_pk0DgS1V8YrrgY1Ebvow9TY,833
86
86
  rxfoundry/clients/swifty_api/models/prescription_task.py,sha256=ZnT2NHEsjVzsidMSpBIN461LB0w3qCGatPpFceRGcpk,4727
87
87
  rxfoundry/clients/swifty_api/models/prescription_task_status.py,sha256=NN_GLuN2ioH2QXPVUauX2hwfyv_dEs2wCoHHWVYoEzo,3206
88
88
  rxfoundry/clients/swifty_api/models/prescription_task_type.py,sha256=Iz7fdv1Y9tmQVHFClMQhVSpI8tXNVeWrf3oj5J-_KmQ,899
@@ -104,7 +104,7 @@ rxfoundry/clients/swifty_api/models/workflow_sub_task_sub_task.py,sha256=0xp-FNZ
104
104
  rxfoundry/clients/swifty_api/models/workflow_task.py,sha256=sEZfS5hgaepJ725yWqOGPMJucc85LaB2Vnmln3K800U,3594
105
105
  rxfoundry/clients/swifty_api/models/workflow_task_task.py,sha256=bdU1NmMhlbBIP_Mz9l_-W1uYj7eiZ2G82dKEOttiq_U,6304
106
106
  rxfoundry/clients/swifty_api/models/workflow_type.py,sha256=RuVz5rEqKktxWbzz7JkPc-Evw86YTh21EX4mgH8IjG4,1596
107
- rxfoundry_clients_swifty_api-0.1.1010.dist-info/METADATA,sha256=BEOHpNlIMOfldhu61NVrMHA_WUEmwjQ7Y9kL6mcezTo,595
108
- rxfoundry_clients_swifty_api-0.1.1010.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
109
- rxfoundry_clients_swifty_api-0.1.1010.dist-info/top_level.txt,sha256=x7AlWW4imWljpZ91S0V0Pq8YFe0UFn8rBgeIQhJ5q5A,10
110
- rxfoundry_clients_swifty_api-0.1.1010.dist-info/RECORD,,
107
+ rxfoundry_clients_swifty_api-0.1.1012.dist-info/METADATA,sha256=nInG6PMhSzPmWVghaznU-jzYLOTVqf26lK_wnGrcP94,595
108
+ rxfoundry_clients_swifty_api-0.1.1012.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
109
+ rxfoundry_clients_swifty_api-0.1.1012.dist-info/top_level.txt,sha256=x7AlWW4imWljpZ91S0V0Pq8YFe0UFn8rBgeIQhJ5q5A,10
110
+ rxfoundry_clients_swifty_api-0.1.1012.dist-info/RECORD,,