rxfoundry.clients.cwp-api 1.0.0.12345__tar.gz
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.
- rxfoundry_clients_cwp_api-1.0.0.12345/PKG-INFO +23 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/README.md +151 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/pyproject.toml +89 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/__init__.py +0 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/__init__.py +0 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/__init__.py +76 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/api/__init__.py +6 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/api/prescription_intake_api.py +366 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/api/version_api.py +281 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/api_client.py +797 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/api_response.py +21 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/configuration.py +572 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/exceptions.py +216 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/__init__.py +58 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/address.py +109 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/allergen.py +106 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/alternate_pharmacy.py +106 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/client_image.py +90 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/client_info.py +92 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/client_patient_id.py +90 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/clinical_status.py +104 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/conditions.py +105 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/contact_info.py +108 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/contact_info_fax.py +90 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/diagnosis.py +134 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/erx_payload.py +94 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/exception_state.py +97 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/identifier.py +98 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/insurance_coverage.py +138 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/insurance_coverage_payor.py +94 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/insurance_coverage_payor_group.py +94 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/medication_details.py +134 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/model400_error.py +99 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/model401_error.py +97 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/model403_error.py +97 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/model404_error.py +99 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/model422_error.py +109 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/model500_error.py +99 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/model502_error.py +99 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/model503_error.py +99 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/name.py +96 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/other_meds.py +96 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/patient.py +162 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/patient_contact_info.py +115 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/patient_contact_info_fax.py +90 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/patient_identification.py +124 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/pharmacy_identification.py +94 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/prescriber.py +109 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/prescriber_identification.py +94 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/prescription.py +134 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/prescription_intake_request.py +130 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/response_body.py +97 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/sending_pharmacy.py +112 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/start_end_dates.py +89 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/telephone.py +105 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/models/version.py +87 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/py.typed +0 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry/clients/cwp_api/rest.py +258 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry.clients.cwp_api.egg-info/PKG-INFO +23 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry.clients.cwp_api.egg-info/SOURCES.txt +108 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry.clients.cwp_api.egg-info/dependency_links.txt +1 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry.clients.cwp_api.egg-info/requires.txt +4 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/rxfoundry.clients.cwp_api.egg-info/top_level.txt +1 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/setup.cfg +7 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/setup.py +49 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_address.py +64 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_allergen.py +57 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_alternate_pharmacy.py +117 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_client_image.py +55 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_client_info.py +56 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_client_patient_id.py +54 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_clinical_status.py +57 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_conditions.py +71 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_contact_info.py +82 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_contact_info_fax.py +54 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_diagnosis.py +61 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_erx_payload.py +57 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_exception_state.py +57 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_identifier.py +56 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_insurance_coverage.py +81 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_insurance_coverage_payor.py +62 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_insurance_coverage_payor_group.py +55 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_medication_details.py +95 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_model400_error.py +60 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_model401_error.py +57 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_model403_error.py +57 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_model404_error.py +60 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_model422_error.py +61 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_model500_error.py +60 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_model502_error.py +60 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_model503_error.py +60 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_name.py +58 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_other_meds.py +57 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_patient.py +499 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_patient_contact_info.py +85 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_patient_contact_info_fax.py +54 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_patient_identification.py +78 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_pharmacy_identification.py +57 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_prescriber.py +127 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_prescriber_identification.py +56 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_prescription.py +250 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_prescription_intake_api.py +39 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_prescription_intake_request.py +536 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_response_body.py +57 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_sending_pharmacy.py +122 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_start_end_dates.py +53 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_telephone.py +60 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_version.py +52 -0
- rxfoundry_clients_cwp_api-1.0.0.12345/test/test_version_api.py +39 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: rxfoundry.clients.cwp-api
|
|
3
|
+
Version: 1.0.0.12345
|
|
4
|
+
Summary: Pharmacy Prescription Intake API
|
|
5
|
+
Home-page:
|
|
6
|
+
Author: OpenAPI Generator community
|
|
7
|
+
Author-email: team@openapitools.org
|
|
8
|
+
Keywords: OpenAPI,OpenAPI-Generator,Pharmacy Prescription Intake API
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
11
|
+
Requires-Dist: python-dateutil>=2.8.2
|
|
12
|
+
Requires-Dist: pydantic>=2
|
|
13
|
+
Requires-Dist: typing-extensions>=4.7.1
|
|
14
|
+
Dynamic: author
|
|
15
|
+
Dynamic: author-email
|
|
16
|
+
Dynamic: description
|
|
17
|
+
Dynamic: description-content-type
|
|
18
|
+
Dynamic: keywords
|
|
19
|
+
Dynamic: requires-dist
|
|
20
|
+
Dynamic: summary
|
|
21
|
+
|
|
22
|
+
The Pharmacy Prescription Intake API serves as a unified interface for the intake of prescriptions from external clients to CenterWell Traditional and Specialty Pharmacies. The API abstracts the complexities of interacting with multiple pharmacy systems and provides a standardized mechanism for prescription intake. As part of the intake process, prescriptions are evaluated according to routing rules, and new prescriptions are created and fulfilled through either the Traditional or Specialty pharmacy as appropriate.
|
|
23
|
+
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# rxfoundry.clients.cwp-api
|
|
2
|
+
The Pharmacy Prescription Intake API serves as a unified interface for the intake of prescriptions from external clients to CenterWell Traditional and Specialty Pharmacies. The API abstracts the complexities of interacting with multiple pharmacy systems and provides a standardized mechanism for prescription intake. As part of the intake process, prescriptions are evaluated according to routing rules, and new prescriptions are created and fulfilled through either the Traditional or Specialty pharmacy as appropriate.
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
6
|
+
|
|
7
|
+
- API version: 1.0.0.BUILD
|
|
8
|
+
- Package version: 1.0.0
|
|
9
|
+
- Generator version: 7.13.0
|
|
10
|
+
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
11
|
+
|
|
12
|
+
## Requirements.
|
|
13
|
+
|
|
14
|
+
Python 3.9+
|
|
15
|
+
|
|
16
|
+
## Installation & Usage
|
|
17
|
+
### pip install
|
|
18
|
+
|
|
19
|
+
If the python package is hosted on a repository, you can install directly using:
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
|
|
23
|
+
```
|
|
24
|
+
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`)
|
|
25
|
+
|
|
26
|
+
Then import the package:
|
|
27
|
+
```python
|
|
28
|
+
import rxfoundry.clients.cwp_api
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Setuptools
|
|
32
|
+
|
|
33
|
+
Install via [Setuptools](http://pypi.python.org/pypi/setuptools).
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
python setup.py install --user
|
|
37
|
+
```
|
|
38
|
+
(or `sudo python setup.py install` to install the package for all users)
|
|
39
|
+
|
|
40
|
+
Then import the package:
|
|
41
|
+
```python
|
|
42
|
+
import rxfoundry.clients.cwp_api
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Tests
|
|
46
|
+
|
|
47
|
+
Execute `pytest` to run the tests.
|
|
48
|
+
|
|
49
|
+
## Getting Started
|
|
50
|
+
|
|
51
|
+
Please follow the [installation procedure](#installation--usage) and then run the following:
|
|
52
|
+
|
|
53
|
+
```python
|
|
54
|
+
|
|
55
|
+
import rxfoundry.clients.cwp_api
|
|
56
|
+
from rxfoundry.clients.cwp_api.rest import ApiException
|
|
57
|
+
from pprint import pprint
|
|
58
|
+
|
|
59
|
+
# Defining the host is optional and defaults to http://localhost/cw-api
|
|
60
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
61
|
+
configuration = rxfoundry.clients.cwp_api.Configuration(
|
|
62
|
+
host = "http://localhost/cw-api"
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
# Enter a context with an instance of the API client
|
|
68
|
+
with rxfoundry.clients.cwp_api.ApiClient(configuration) as api_client:
|
|
69
|
+
# Create an instance of the API class
|
|
70
|
+
api_instance = rxfoundry.clients.cwp_api.PrescriptionIntakeApi(api_client)
|
|
71
|
+
x_src_sys = 'x_src_sys_example' # str | Source system originating the request
|
|
72
|
+
x_trace_id = 'x_trace_id_example' # str | Unique correlation identifier (UUID) for tracking requests
|
|
73
|
+
prescription_intake_request = rxfoundry.clients.cwp_api.PrescriptionIntakeRequest() # PrescriptionIntakeRequest |
|
|
74
|
+
|
|
75
|
+
try:
|
|
76
|
+
# Accepts prescription intake submissions from external client systems.
|
|
77
|
+
api_response = api_instance.v2_rxintake_prescriptions_post(x_src_sys, x_trace_id, prescription_intake_request)
|
|
78
|
+
print("The response of PrescriptionIntakeApi->v2_rxintake_prescriptions_post:\n")
|
|
79
|
+
pprint(api_response)
|
|
80
|
+
except ApiException as e:
|
|
81
|
+
print("Exception when calling PrescriptionIntakeApi->v2_rxintake_prescriptions_post: %s\n" % e)
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Documentation for API Endpoints
|
|
86
|
+
|
|
87
|
+
All URIs are relative to *http://localhost/cw-api*
|
|
88
|
+
|
|
89
|
+
Class | Method | HTTP request | Description
|
|
90
|
+
------------ | ------------- | ------------- | -------------
|
|
91
|
+
*PrescriptionIntakeApi* | [**v2_rxintake_prescriptions_post**](docs/PrescriptionIntakeApi.md#v2_rxintake_prescriptions_post) | **POST** /v2/rxintake/prescriptions | Accepts prescription intake submissions from external client systems.
|
|
92
|
+
*VersionApi* | [**get_version**](docs/VersionApi.md#get_version) | **GET** /v2/rxintake/version | Get the api version
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
## Documentation For Models
|
|
96
|
+
|
|
97
|
+
- [Address](docs/Address.md)
|
|
98
|
+
- [Allergen](docs/Allergen.md)
|
|
99
|
+
- [AlternatePharmacy](docs/AlternatePharmacy.md)
|
|
100
|
+
- [ClientImage](docs/ClientImage.md)
|
|
101
|
+
- [ClientInfo](docs/ClientInfo.md)
|
|
102
|
+
- [ClientPatientId](docs/ClientPatientId.md)
|
|
103
|
+
- [ClinicalStatus](docs/ClinicalStatus.md)
|
|
104
|
+
- [Conditions](docs/Conditions.md)
|
|
105
|
+
- [ContactInfo](docs/ContactInfo.md)
|
|
106
|
+
- [ContactInfoFax](docs/ContactInfoFax.md)
|
|
107
|
+
- [Diagnosis](docs/Diagnosis.md)
|
|
108
|
+
- [ErxPayload](docs/ErxPayload.md)
|
|
109
|
+
- [ExceptionState](docs/ExceptionState.md)
|
|
110
|
+
- [Identifier](docs/Identifier.md)
|
|
111
|
+
- [InsuranceCoverage](docs/InsuranceCoverage.md)
|
|
112
|
+
- [InsuranceCoveragePayor](docs/InsuranceCoveragePayor.md)
|
|
113
|
+
- [InsuranceCoveragePayorGroup](docs/InsuranceCoveragePayorGroup.md)
|
|
114
|
+
- [MedicationDetails](docs/MedicationDetails.md)
|
|
115
|
+
- [Model400Error](docs/Model400Error.md)
|
|
116
|
+
- [Model401Error](docs/Model401Error.md)
|
|
117
|
+
- [Model403Error](docs/Model403Error.md)
|
|
118
|
+
- [Model404Error](docs/Model404Error.md)
|
|
119
|
+
- [Model422Error](docs/Model422Error.md)
|
|
120
|
+
- [Model500Error](docs/Model500Error.md)
|
|
121
|
+
- [Model502Error](docs/Model502Error.md)
|
|
122
|
+
- [Model503Error](docs/Model503Error.md)
|
|
123
|
+
- [Name](docs/Name.md)
|
|
124
|
+
- [OtherMeds](docs/OtherMeds.md)
|
|
125
|
+
- [Patient](docs/Patient.md)
|
|
126
|
+
- [PatientContactInfo](docs/PatientContactInfo.md)
|
|
127
|
+
- [PatientContactInfoFax](docs/PatientContactInfoFax.md)
|
|
128
|
+
- [PatientIdentification](docs/PatientIdentification.md)
|
|
129
|
+
- [PharmacyIdentification](docs/PharmacyIdentification.md)
|
|
130
|
+
- [Prescriber](docs/Prescriber.md)
|
|
131
|
+
- [PrescriberIdentification](docs/PrescriberIdentification.md)
|
|
132
|
+
- [Prescription](docs/Prescription.md)
|
|
133
|
+
- [PrescriptionIntakeRequest](docs/PrescriptionIntakeRequest.md)
|
|
134
|
+
- [ResponseBody](docs/ResponseBody.md)
|
|
135
|
+
- [SendingPharmacy](docs/SendingPharmacy.md)
|
|
136
|
+
- [StartEndDates](docs/StartEndDates.md)
|
|
137
|
+
- [Telephone](docs/Telephone.md)
|
|
138
|
+
- [Version](docs/Version.md)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
<a id="documentation-for-authorization"></a>
|
|
142
|
+
## Documentation For Authorization
|
|
143
|
+
|
|
144
|
+
Endpoints do not require authorization.
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
## Author
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "rxfoundry.clients.cwp_api"
|
|
3
|
+
version = "1.0.0.12345"
|
|
4
|
+
description = "Pharmacy Prescription Intake API"
|
|
5
|
+
authors = ["OpenAPI Generator Community <team@openapitools.org>"]
|
|
6
|
+
license = "NoLicense"
|
|
7
|
+
readme = "README.md"
|
|
8
|
+
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
|
|
9
|
+
keywords = ["OpenAPI", "OpenAPI-Generator", "Pharmacy Prescription Intake API"]
|
|
10
|
+
include = ["rxfoundry.clients.cwp_api/py.typed"]
|
|
11
|
+
|
|
12
|
+
[tool.poetry.dependencies]
|
|
13
|
+
python = "^3.9"
|
|
14
|
+
|
|
15
|
+
urllib3 = ">= 2.1.0, < 3.0.0"
|
|
16
|
+
python-dateutil = ">= 2.8.2"
|
|
17
|
+
pydantic = ">= 2"
|
|
18
|
+
typing-extensions = ">= 4.7.1"
|
|
19
|
+
|
|
20
|
+
[tool.poetry.dev-dependencies]
|
|
21
|
+
pytest = ">= 7.2.1"
|
|
22
|
+
pytest-cov = ">= 2.8.1"
|
|
23
|
+
tox = ">= 3.9.0"
|
|
24
|
+
flake8 = ">= 4.0.0"
|
|
25
|
+
types-python-dateutil = ">= 2.8.19.14"
|
|
26
|
+
mypy = ">= 1.5"
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
[build-system]
|
|
30
|
+
requires = ["setuptools"]
|
|
31
|
+
build-backend = "setuptools.build_meta"
|
|
32
|
+
|
|
33
|
+
[tool.pylint.'MESSAGES CONTROL']
|
|
34
|
+
extension-pkg-whitelist = "pydantic"
|
|
35
|
+
|
|
36
|
+
[tool.mypy]
|
|
37
|
+
files = [
|
|
38
|
+
"rxfoundry.clients.cwp_api",
|
|
39
|
+
#"test", # auto-generated tests
|
|
40
|
+
"tests", # hand-written tests
|
|
41
|
+
]
|
|
42
|
+
# TODO: enable "strict" once all these individual checks are passing
|
|
43
|
+
# strict = true
|
|
44
|
+
|
|
45
|
+
# List from: https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options
|
|
46
|
+
warn_unused_configs = true
|
|
47
|
+
warn_redundant_casts = true
|
|
48
|
+
warn_unused_ignores = true
|
|
49
|
+
|
|
50
|
+
## Getting these passing should be easy
|
|
51
|
+
strict_equality = true
|
|
52
|
+
extra_checks = true
|
|
53
|
+
|
|
54
|
+
## Strongly recommend enabling this one as soon as you can
|
|
55
|
+
check_untyped_defs = true
|
|
56
|
+
|
|
57
|
+
## These shouldn't be too much additional work, but may be tricky to
|
|
58
|
+
## get passing if you use a lot of untyped libraries
|
|
59
|
+
disallow_subclassing_any = true
|
|
60
|
+
disallow_untyped_decorators = true
|
|
61
|
+
disallow_any_generics = true
|
|
62
|
+
|
|
63
|
+
### These next few are various gradations of forcing use of type annotations
|
|
64
|
+
#disallow_untyped_calls = true
|
|
65
|
+
#disallow_incomplete_defs = true
|
|
66
|
+
#disallow_untyped_defs = true
|
|
67
|
+
#
|
|
68
|
+
### This one isn't too hard to get passing, but return on investment is lower
|
|
69
|
+
#no_implicit_reexport = true
|
|
70
|
+
#
|
|
71
|
+
### This one can be tricky to get passing if you use a lot of untyped libraries
|
|
72
|
+
#warn_return_any = true
|
|
73
|
+
|
|
74
|
+
[[tool.mypy.overrides]]
|
|
75
|
+
module = [
|
|
76
|
+
"rxfoundry.clients.cwp_api.configuration",
|
|
77
|
+
]
|
|
78
|
+
warn_unused_ignores = true
|
|
79
|
+
strict_equality = true
|
|
80
|
+
extra_checks = true
|
|
81
|
+
check_untyped_defs = true
|
|
82
|
+
disallow_subclassing_any = true
|
|
83
|
+
disallow_untyped_decorators = true
|
|
84
|
+
disallow_any_generics = true
|
|
85
|
+
disallow_untyped_calls = true
|
|
86
|
+
disallow_incomplete_defs = true
|
|
87
|
+
disallow_untyped_defs = true
|
|
88
|
+
no_implicit_reexport = true
|
|
89
|
+
warn_return_any = true
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
# flake8: noqa
|
|
4
|
+
|
|
5
|
+
"""
|
|
6
|
+
Pharmacy Prescription Intake API
|
|
7
|
+
|
|
8
|
+
The Pharmacy Prescription Intake API serves as a unified interface for the intake of prescriptions from external clients to CenterWell Traditional and Specialty Pharmacies. The API abstracts the complexities of interacting with multiple pharmacy systems and provides a standardized mechanism for prescription intake. As part of the intake process, prescriptions are evaluated according to routing rules, and new prescriptions are created and fulfilled through either the Traditional or Specialty pharmacy as appropriate.
|
|
9
|
+
|
|
10
|
+
The version of the OpenAPI document: 1.0.0.BUILD
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
|
+
|
|
13
|
+
Do not edit the class manually.
|
|
14
|
+
""" # noqa: E501
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
__version__ = "1.0.0"
|
|
18
|
+
|
|
19
|
+
# import apis into sdk package
|
|
20
|
+
from rxfoundry.clients.cwp_api.api.prescription_intake_api import PrescriptionIntakeApi
|
|
21
|
+
from rxfoundry.clients.cwp_api.api.version_api import VersionApi
|
|
22
|
+
|
|
23
|
+
# import ApiClient
|
|
24
|
+
from rxfoundry.clients.cwp_api.api_response import ApiResponse
|
|
25
|
+
from rxfoundry.clients.cwp_api.api_client import ApiClient
|
|
26
|
+
from rxfoundry.clients.cwp_api.configuration import Configuration
|
|
27
|
+
from rxfoundry.clients.cwp_api.exceptions import OpenApiException
|
|
28
|
+
from rxfoundry.clients.cwp_api.exceptions import ApiTypeError
|
|
29
|
+
from rxfoundry.clients.cwp_api.exceptions import ApiValueError
|
|
30
|
+
from rxfoundry.clients.cwp_api.exceptions import ApiKeyError
|
|
31
|
+
from rxfoundry.clients.cwp_api.exceptions import ApiAttributeError
|
|
32
|
+
from rxfoundry.clients.cwp_api.exceptions import ApiException
|
|
33
|
+
|
|
34
|
+
# import models into sdk package
|
|
35
|
+
from rxfoundry.clients.cwp_api.models.address import Address
|
|
36
|
+
from rxfoundry.clients.cwp_api.models.allergen import Allergen
|
|
37
|
+
from rxfoundry.clients.cwp_api.models.alternate_pharmacy import AlternatePharmacy
|
|
38
|
+
from rxfoundry.clients.cwp_api.models.client_image import ClientImage
|
|
39
|
+
from rxfoundry.clients.cwp_api.models.client_info import ClientInfo
|
|
40
|
+
from rxfoundry.clients.cwp_api.models.client_patient_id import ClientPatientId
|
|
41
|
+
from rxfoundry.clients.cwp_api.models.clinical_status import ClinicalStatus
|
|
42
|
+
from rxfoundry.clients.cwp_api.models.conditions import Conditions
|
|
43
|
+
from rxfoundry.clients.cwp_api.models.contact_info import ContactInfo
|
|
44
|
+
from rxfoundry.clients.cwp_api.models.contact_info_fax import ContactInfoFax
|
|
45
|
+
from rxfoundry.clients.cwp_api.models.diagnosis import Diagnosis
|
|
46
|
+
from rxfoundry.clients.cwp_api.models.erx_payload import ErxPayload
|
|
47
|
+
from rxfoundry.clients.cwp_api.models.exception_state import ExceptionState
|
|
48
|
+
from rxfoundry.clients.cwp_api.models.identifier import Identifier
|
|
49
|
+
from rxfoundry.clients.cwp_api.models.insurance_coverage import InsuranceCoverage
|
|
50
|
+
from rxfoundry.clients.cwp_api.models.insurance_coverage_payor import InsuranceCoveragePayor
|
|
51
|
+
from rxfoundry.clients.cwp_api.models.insurance_coverage_payor_group import InsuranceCoveragePayorGroup
|
|
52
|
+
from rxfoundry.clients.cwp_api.models.medication_details import MedicationDetails
|
|
53
|
+
from rxfoundry.clients.cwp_api.models.model400_error import Model400Error
|
|
54
|
+
from rxfoundry.clients.cwp_api.models.model401_error import Model401Error
|
|
55
|
+
from rxfoundry.clients.cwp_api.models.model403_error import Model403Error
|
|
56
|
+
from rxfoundry.clients.cwp_api.models.model404_error import Model404Error
|
|
57
|
+
from rxfoundry.clients.cwp_api.models.model422_error import Model422Error
|
|
58
|
+
from rxfoundry.clients.cwp_api.models.model500_error import Model500Error
|
|
59
|
+
from rxfoundry.clients.cwp_api.models.model502_error import Model502Error
|
|
60
|
+
from rxfoundry.clients.cwp_api.models.model503_error import Model503Error
|
|
61
|
+
from rxfoundry.clients.cwp_api.models.name import Name
|
|
62
|
+
from rxfoundry.clients.cwp_api.models.other_meds import OtherMeds
|
|
63
|
+
from rxfoundry.clients.cwp_api.models.patient import Patient
|
|
64
|
+
from rxfoundry.clients.cwp_api.models.patient_contact_info import PatientContactInfo
|
|
65
|
+
from rxfoundry.clients.cwp_api.models.patient_contact_info_fax import PatientContactInfoFax
|
|
66
|
+
from rxfoundry.clients.cwp_api.models.patient_identification import PatientIdentification
|
|
67
|
+
from rxfoundry.clients.cwp_api.models.pharmacy_identification import PharmacyIdentification
|
|
68
|
+
from rxfoundry.clients.cwp_api.models.prescriber import Prescriber
|
|
69
|
+
from rxfoundry.clients.cwp_api.models.prescriber_identification import PrescriberIdentification
|
|
70
|
+
from rxfoundry.clients.cwp_api.models.prescription import Prescription
|
|
71
|
+
from rxfoundry.clients.cwp_api.models.prescription_intake_request import PrescriptionIntakeRequest
|
|
72
|
+
from rxfoundry.clients.cwp_api.models.response_body import ResponseBody
|
|
73
|
+
from rxfoundry.clients.cwp_api.models.sending_pharmacy import SendingPharmacy
|
|
74
|
+
from rxfoundry.clients.cwp_api.models.start_end_dates import StartEndDates
|
|
75
|
+
from rxfoundry.clients.cwp_api.models.telephone import Telephone
|
|
76
|
+
from rxfoundry.clients.cwp_api.models.version import Version
|