rxfoundry.clients.swifty-api 0.1.1021__py3-none-any.whl → 0.1.1027__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.
@@ -57,6 +57,9 @@ class Prescription(BaseModel):
57
57
  days_supply: Optional[StrictInt] = None
58
58
  written_date: Optional[date] = None
59
59
  substitutions: Optional[Code] = None
60
+ number_of_refills: Optional[Union[StrictFloat, StrictInt]] = None
61
+ fill_quantity: Optional[Union[StrictFloat, StrictInt]] = None
62
+ total_quantity: Optional[Union[StrictFloat, StrictInt]] = None
60
63
  sig_text: Optional[StrictStr] = None
61
64
  structured_sig_snomed_verson: Optional[StrictStr] = None
62
65
  structured_sig_fmt_version: Optional[StrictStr] = None
@@ -90,7 +93,7 @@ class Prescription(BaseModel):
90
93
  image_pdf: Optional[StrictStr] = None
91
94
  image_png: Optional[StrictStr] = None
92
95
  status: Optional[PrescriptionStatusType] = None
93
- __properties: ClassVar[List[str]] = ["uuid", "rx_number", "prescriber_order_number", "patient", "pharmacy", "prescriber", "drug_description", "prescribed_ndc", "medication", "number_of_fills", "quantity_value", "quantity_type", "quantity_uom", "days_supply", "written_date", "substitutions", "sig_text", "structured_sig_snomed_verson", "structured_sig_fmt_version", "structured_sig_instructions", "structured_sig_indications", "structured_sig_max_does_restrictions", "structured_sig_clarifying_free_text", "rx_fill_indicators", "pv0", "pv1", "is_on_formulary", "has_open_issues", "ignore_open_issues", "has_running_workflow", "has_pending_change_requests", "has_approved_change_requests", "has_denied_change_requests", "notified_on", "prescription_issues", "prescription_tasks", "prescription_edits", "prescription_change_requests", "prescription_transfer_requests", "transfer_requested_on", "transfer_requested_to", "transferred_on", "transfer_type", "transferred_by", "original_image_pdf", "original_image_png", "image_pdf", "image_png", "status"]
96
+ __properties: ClassVar[List[str]] = ["uuid", "rx_number", "prescriber_order_number", "patient", "pharmacy", "prescriber", "drug_description", "prescribed_ndc", "medication", "number_of_fills", "quantity_value", "quantity_type", "quantity_uom", "days_supply", "written_date", "substitutions", "number_of_refills", "fill_quantity", "total_quantity", "sig_text", "structured_sig_snomed_verson", "structured_sig_fmt_version", "structured_sig_instructions", "structured_sig_indications", "structured_sig_max_does_restrictions", "structured_sig_clarifying_free_text", "rx_fill_indicators", "pv0", "pv1", "is_on_formulary", "has_open_issues", "ignore_open_issues", "has_running_workflow", "has_pending_change_requests", "has_approved_change_requests", "has_denied_change_requests", "notified_on", "prescription_issues", "prescription_tasks", "prescription_edits", "prescription_change_requests", "prescription_transfer_requests", "transfer_requested_on", "transfer_requested_to", "transferred_on", "transfer_type", "transferred_by", "original_image_pdf", "original_image_png", "image_pdf", "image_png", "status"]
94
97
 
95
98
  @field_validator('transfer_type')
96
99
  def transfer_type_validate_enum(cls, value):
@@ -244,6 +247,9 @@ class Prescription(BaseModel):
244
247
  "days_supply": obj.get("days_supply"),
245
248
  "written_date": obj.get("written_date"),
246
249
  "substitutions": Code.from_dict(obj["substitutions"]) if obj.get("substitutions") is not None else None,
250
+ "number_of_refills": obj.get("number_of_refills"),
251
+ "fill_quantity": obj.get("fill_quantity"),
252
+ "total_quantity": obj.get("total_quantity"),
247
253
  "sig_text": obj.get("sig_text"),
248
254
  "structured_sig_snomed_verson": obj.get("structured_sig_snomed_verson"),
249
255
  "structured_sig_fmt_version": obj.get("structured_sig_fmt_version"),
@@ -36,14 +36,15 @@ class PrescriptionData(BaseModel):
36
36
  prescriber_ref: StrictStr = Field(description="The identifier for the prescriber. It can be the prescriber uuid or the prescriber's npi.")
37
37
  from_pharmacy_ref: Optional[StrictStr] = Field(default=None, description="The identifier for the transferring pharmacy if this is a transfer. It can be the pharmacy uuid or the pharmacy's npi.")
38
38
  medication_ref: StrictStr = Field(description="The identifier for the medication. It can be the medication uuid or an ndc for a medication variant of the medication.")
39
- number_of_refills: StrictInt = Field(description="The number of refills for the prescription. This is the total fills - 1.")
40
- quantity_value: Union[StrictFloat, StrictInt] = Field(description="The total quantity prescribed for the prescription. It should be equal to Days_Supply * (number_of_refills + 1)")
39
+ number_of_refills: Union[StrictFloat, StrictInt] = Field(description="The number of refills for the prescription. This is the total fills - 1.")
40
+ fill_quantity: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The quantity allotted for each refill of the prescription.")
41
+ total_quantity: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The total quantity prescribed for the prescription. It should be equal to Days_Supply * (number_of_refills + 1)")
41
42
  quantity_uom_code: Optional[Code] = None
42
43
  days_supply: StrictInt = Field(description="The number of days a fill will last when taken as prescribed.")
43
44
  written_date: date
44
45
  substitutions_code: Optional[StrictStr] = Field(default=None, description="The code for the substitutions. It should be one of the values in the list TherapeuticSubstitutionIndicatorType")
45
46
  sig_text: StrictStr = Field(description="The instructions on how to take the prescription.")
46
- __properties: ClassVar[List[str]] = ["source", "external_rx_number", "external_system_slug", "patient_ref", "prescriber_ref", "from_pharmacy_ref", "medication_ref", "number_of_refills", "quantity_value", "quantity_uom_code", "days_supply", "written_date", "substitutions_code", "sig_text"]
47
+ __properties: ClassVar[List[str]] = ["source", "external_rx_number", "external_system_slug", "patient_ref", "prescriber_ref", "from_pharmacy_ref", "medication_ref", "number_of_refills", "fill_quantity", "total_quantity", "quantity_uom_code", "days_supply", "written_date", "substitutions_code", "sig_text"]
47
48
 
48
49
  @field_validator('source')
49
50
  def source_validate_enum(cls, value):
@@ -114,7 +115,8 @@ class PrescriptionData(BaseModel):
114
115
  "from_pharmacy_ref": obj.get("from_pharmacy_ref"),
115
116
  "medication_ref": obj.get("medication_ref"),
116
117
  "number_of_refills": obj.get("number_of_refills"),
117
- "quantity_value": obj.get("quantity_value"),
118
+ "fill_quantity": obj.get("fill_quantity"),
119
+ "total_quantity": obj.get("total_quantity"),
118
120
  "quantity_uom_code": Code.from_dict(obj["quantity_uom_code"]) if obj.get("quantity_uom_code") is not None else None,
119
121
  "days_supply": obj.get("days_supply"),
120
122
  "written_date": obj.get("written_date"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rxfoundry.clients.swifty-api
3
- Version: 0.1.1021
3
+ Version: 0.1.1027
4
4
  Summary: SwiftyRX API
5
5
  Home-page:
6
6
  Author: RxFoundry Team
@@ -70,11 +70,11 @@ rxfoundry/clients/swifty_api/models/pharmacy_chain.py,sha256=yUv7ZW1gUDMKY02Slz8
70
70
  rxfoundry/clients/swifty_api/models/pharmacy_other_identifier.py,sha256=IwToYxCa_EzvgHXDW1amSObWdvVM-rdXMgvUTgzx4C4,3147
71
71
  rxfoundry/clients/swifty_api/models/pharmacy_program_pricing.py,sha256=OEe0dcz8egJuIAmauGbMmhxt3SVCWrMpe1jjHbfRsKc,3596
72
72
  rxfoundry/clients/swifty_api/models/prescriber.py,sha256=jQhx3Hgkxf027UbELwlWX8W78yHARnuLtUBh0YOZREc,3548
73
- rxfoundry/clients/swifty_api/models/prescription.py,sha256=B_CTD4rZ_paUKRG28XEzIML22sGyI8W4g9Hjqo5dfu8,16528
73
+ rxfoundry/clients/swifty_api/models/prescription.py,sha256=eDcFF5jHp_3ZaBZzt4pmUjfvnJxDaPriJUMQ8Sg7usY,16962
74
74
  rxfoundry/clients/swifty_api/models/prescription_change_request.py,sha256=dmXRiJaAmQo9irg7xSUt-5T0eo34xEXMwqrasgyAp0k,4383
75
75
  rxfoundry/clients/swifty_api/models/prescription_change_request_and_response.py,sha256=TvFoqwmn226MLOgwosQZEWycNrBFJNAatO4GZgzEBUY,6432
76
76
  rxfoundry/clients/swifty_api/models/prescription_change_request_response.py,sha256=s2ytwqs1FMClu1rRMDu6Si30Ci7Do2SfmPy8jzmUJeM,5787
77
- rxfoundry/clients/swifty_api/models/prescription_data.py,sha256=jZtuI8LCdUQUcuhdvj9yZsLg0Qhy-CfdsYH1MOK9C-k,6036
77
+ rxfoundry/clients/swifty_api/models/prescription_data.py,sha256=AI8-oB3bZpDtAvPDvRz-4UeIfgkTKLeYbB_h1uk4z-A,6307
78
78
  rxfoundry/clients/swifty_api/models/prescription_issue.py,sha256=64xuz7_mrrEYixS1t1S0yCtezIEtcx3eus-tcXiyofY,4519
79
79
  rxfoundry/clients/swifty_api/models/prescription_message.py,sha256=umjhxGTf0xnlyGN-fsJc3tb03MCR0FBCR59pLG_6GDU,3556
80
80
  rxfoundry/clients/swifty_api/models/prescription_message_task.py,sha256=BLhumowKjkoN3kZc74F3jakJw7IwbFH0lSizzIGIqiw,3621
@@ -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.1021.dist-info/METADATA,sha256=1usHe7qzqmG7BSwVInFlhnogjQSGlZq7S0Kpg1ss1YQ,595
108
- rxfoundry_clients_swifty_api-0.1.1021.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
109
- rxfoundry_clients_swifty_api-0.1.1021.dist-info/top_level.txt,sha256=x7AlWW4imWljpZ91S0V0Pq8YFe0UFn8rBgeIQhJ5q5A,10
110
- rxfoundry_clients_swifty_api-0.1.1021.dist-info/RECORD,,
107
+ rxfoundry_clients_swifty_api-0.1.1027.dist-info/METADATA,sha256=-I-xEk9gJN2fN_wUu15AjwTwKUmTOteBoQ0wh7HhKhs,595
108
+ rxfoundry_clients_swifty_api-0.1.1027.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
109
+ rxfoundry_clients_swifty_api-0.1.1027.dist-info/top_level.txt,sha256=x7AlWW4imWljpZ91S0V0Pq8YFe0UFn8rBgeIQhJ5q5A,10
110
+ rxfoundry_clients_swifty_api-0.1.1027.dist-info/RECORD,,