ch-admin-api-client-typescript 5.21.22 → 5.23.2
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.
- package/lib/api/appointments-api.d.ts +30 -3
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +28 -6
- package/lib/api/patient-affiliations-api.d.ts +216 -0
- package/lib/api/patient-affiliations-api.d.ts.map +1 -0
- package/lib/api/patient-affiliations-api.js +358 -0
- package/lib/api/patients-api.d.ts +191 -3
- package/lib/api/patients-api.d.ts.map +1 -1
- package/lib/api/patients-api.js +289 -6
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/chadmin-item-model.d.ts +3 -3
- package/lib/models/chadmin-item-model.d.ts.map +1 -1
- package/lib/models/chadmin-model.d.ts +3 -3
- package/lib/models/chadmin-model.d.ts.map +1 -1
- package/lib/models/chmanager-item-model.d.ts +3 -3
- package/lib/models/chmanager-item-model.d.ts.map +1 -1
- package/lib/models/chmanager-model.d.ts +3 -3
- package/lib/models/chmanager-model.d.ts.map +1 -1
- package/lib/models/create-article-command.d.ts +6 -0
- package/lib/models/create-article-command.d.ts.map +1 -1
- package/lib/models/create-patient-affiliation-command.d.ts +109 -0
- package/lib/models/create-patient-affiliation-command.d.ts.map +1 -0
- package/lib/models/create-patient-affiliation-command.js +15 -0
- package/lib/models/create-patient-command.d.ts +90 -0
- package/lib/models/create-patient-command.d.ts.map +1 -1
- package/lib/models/doctor-item-model.d.ts +3 -3
- package/lib/models/doctor-item-model.d.ts.map +1 -1
- package/lib/models/doctor-model.d.ts +3 -3
- package/lib/models/doctor-model.d.ts.map +1 -1
- package/lib/models/get-patient-walk-in-query.d.ts +37 -0
- package/lib/models/get-patient-walk-in-query.d.ts.map +1 -0
- package/lib/models/get-patient-walk-in-query.js +15 -0
- package/lib/models/index.d.ts +7 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +7 -0
- package/lib/models/manager-item-model.d.ts +3 -3
- package/lib/models/manager-item-model.d.ts.map +1 -1
- package/lib/models/manager-model.d.ts +3 -3
- package/lib/models/manager-model.d.ts.map +1 -1
- package/lib/models/patient-affiliation-item-model.d.ts +153 -0
- package/lib/models/patient-affiliation-item-model.d.ts.map +1 -0
- package/lib/models/patient-affiliation-item-model.js +15 -0
- package/lib/models/patient-affiliation-model.d.ts +153 -0
- package/lib/models/patient-affiliation-model.d.ts.map +1 -0
- package/lib/models/patient-affiliation-model.js +15 -0
- package/lib/models/patient-affiliations-model.d.ts +33 -0
- package/lib/models/patient-affiliations-model.d.ts.map +1 -0
- package/lib/models/patient-affiliations-model.js +15 -0
- package/lib/models/patient-item-model.d.ts +3 -3
- package/lib/models/patient-item-model.d.ts.map +1 -1
- package/lib/models/patient-model.d.ts +3 -3
- package/lib/models/patient-model.d.ts.map +1 -1
- package/lib/models/patient-walk-in-model.d.ts +32 -0
- package/lib/models/patient-walk-in-model.d.ts.map +1 -0
- package/lib/models/patient-walk-in-model.js +15 -0
- package/lib/models/update-article-command.d.ts +6 -0
- package/lib/models/update-article-command.d.ts.map +1 -1
- package/lib/models/update-patient-affiliation-command.d.ts +115 -0
- package/lib/models/update-patient-affiliation-command.d.ts.map +1 -0
- package/lib/models/update-patient-affiliation-command.js +15 -0
- package/lib/models/user-model.d.ts +3 -3
- package/lib/models/user-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +8 -0
- package/src/api/appointments-api.ts +52 -6
- package/src/api/patient-affiliations-api.ts +361 -0
- package/src/api/patients-api.ts +337 -6
- package/src/api.ts +1 -0
- package/src/models/chadmin-item-model.ts +3 -3
- package/src/models/chadmin-model.ts +3 -3
- package/src/models/chmanager-item-model.ts +3 -3
- package/src/models/chmanager-model.ts +3 -3
- package/src/models/create-article-command.ts +6 -0
- package/src/models/create-patient-affiliation-command.ts +114 -0
- package/src/models/create-patient-command.ts +90 -0
- package/src/models/doctor-item-model.ts +3 -3
- package/src/models/doctor-model.ts +3 -3
- package/src/models/get-patient-walk-in-query.ts +42 -0
- package/src/models/index.ts +7 -0
- package/src/models/manager-item-model.ts +3 -3
- package/src/models/manager-model.ts +3 -3
- package/src/models/patient-affiliation-item-model.ts +162 -0
- package/src/models/patient-affiliation-model.ts +162 -0
- package/src/models/patient-affiliations-model.ts +42 -0
- package/src/models/patient-item-model.ts +3 -3
- package/src/models/patient-model.ts +3 -3
- package/src/models/patient-walk-in-model.ts +39 -0
- package/src/models/update-article-command.ts +6 -0
- package/src/models/update-patient-affiliation-command.ts +120 -0
- package/src/models/user-model.ts +3 -3
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __assign = (this && this.__assign) || function () {
|
|
31
|
+
__assign = Object.assign || function(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
return __assign.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
+
function step(op) {
|
|
55
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
+
switch (op[0]) {
|
|
60
|
+
case 0: case 1: t = op; break;
|
|
61
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
+
default:
|
|
65
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
+
if (t[2]) _.ops.pop();
|
|
70
|
+
_.trys.pop(); continue;
|
|
71
|
+
}
|
|
72
|
+
op = body.call(thisArg, _);
|
|
73
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
+
};
|
|
80
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
+
exports.PatientAffiliationsApi = exports.PatientAffiliationsApiFactory = exports.PatientAffiliationsApiFp = exports.PatientAffiliationsApiAxiosParamCreator = void 0;
|
|
82
|
+
var axios_1 = __importDefault(require("axios"));
|
|
83
|
+
// Some imports not used depending on template conditions
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
var common_1 = require("../common");
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
var base_1 = require("../base");
|
|
88
|
+
/**
|
|
89
|
+
* PatientAffiliationsApi - axios parameter creator
|
|
90
|
+
* @export
|
|
91
|
+
*/
|
|
92
|
+
var PatientAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
93
|
+
var _this = this;
|
|
94
|
+
return {
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Get all patientAffiliations
|
|
98
|
+
* @param {string} [languageCode]
|
|
99
|
+
* @param {string} [hospitalId]
|
|
100
|
+
* @param {string} [patientId]
|
|
101
|
+
* @param {string} [patientName]
|
|
102
|
+
* @param {string} [patientPhoneNumber]
|
|
103
|
+
* @param {boolean} [showHidden]
|
|
104
|
+
* @param {number} [page]
|
|
105
|
+
* @param {number} [limit]
|
|
106
|
+
* @param {Date} [lastRetrieved]
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
apiV1PatientaffiliationsGet: function (languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options) {
|
|
111
|
+
if (options === void 0) { options = {}; }
|
|
112
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
113
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
114
|
+
return __generator(this, function (_a) {
|
|
115
|
+
switch (_a.label) {
|
|
116
|
+
case 0:
|
|
117
|
+
localVarPath = "/api/v1/patientaffiliations";
|
|
118
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
119
|
+
if (configuration) {
|
|
120
|
+
baseOptions = configuration.baseOptions;
|
|
121
|
+
}
|
|
122
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
123
|
+
localVarHeaderParameter = {};
|
|
124
|
+
localVarQueryParameter = {};
|
|
125
|
+
// authentication oauth2 required
|
|
126
|
+
// oauth required
|
|
127
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
128
|
+
case 1:
|
|
129
|
+
// authentication oauth2 required
|
|
130
|
+
// oauth required
|
|
131
|
+
_a.sent();
|
|
132
|
+
if (languageCode !== undefined) {
|
|
133
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
134
|
+
}
|
|
135
|
+
if (hospitalId !== undefined) {
|
|
136
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
137
|
+
}
|
|
138
|
+
if (patientId !== undefined) {
|
|
139
|
+
localVarQueryParameter['PatientId'] = patientId;
|
|
140
|
+
}
|
|
141
|
+
if (patientName !== undefined) {
|
|
142
|
+
localVarQueryParameter['PatientName'] = patientName;
|
|
143
|
+
}
|
|
144
|
+
if (patientPhoneNumber !== undefined) {
|
|
145
|
+
localVarQueryParameter['PatientPhoneNumber'] = patientPhoneNumber;
|
|
146
|
+
}
|
|
147
|
+
if (showHidden !== undefined) {
|
|
148
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
149
|
+
}
|
|
150
|
+
if (page !== undefined) {
|
|
151
|
+
localVarQueryParameter['page'] = page;
|
|
152
|
+
}
|
|
153
|
+
if (limit !== undefined) {
|
|
154
|
+
localVarQueryParameter['limit'] = limit;
|
|
155
|
+
}
|
|
156
|
+
if (lastRetrieved !== undefined) {
|
|
157
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
158
|
+
lastRetrieved.toISOString() :
|
|
159
|
+
lastRetrieved;
|
|
160
|
+
}
|
|
161
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
162
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
163
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
164
|
+
return [2 /*return*/, {
|
|
165
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
166
|
+
options: localVarRequestOptions,
|
|
167
|
+
}];
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
},
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @summary Get patientAffiliation by id
|
|
175
|
+
* @param {string} patientAffiliationId
|
|
176
|
+
* @param {string} [languageCode]
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
apiV1PatientaffiliationsPatientAffiliationIdGet: function (patientAffiliationId, languageCode, options) {
|
|
181
|
+
if (options === void 0) { options = {}; }
|
|
182
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
183
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
184
|
+
return __generator(this, function (_a) {
|
|
185
|
+
switch (_a.label) {
|
|
186
|
+
case 0:
|
|
187
|
+
// verify required parameter 'patientAffiliationId' is not null or undefined
|
|
188
|
+
(0, common_1.assertParamExists)('apiV1PatientaffiliationsPatientAffiliationIdGet', 'patientAffiliationId', patientAffiliationId);
|
|
189
|
+
localVarPath = "/api/v1/patientaffiliations/{patientAffiliationId}"
|
|
190
|
+
.replace("{".concat("patientAffiliationId", "}"), encodeURIComponent(String(patientAffiliationId)));
|
|
191
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
192
|
+
if (configuration) {
|
|
193
|
+
baseOptions = configuration.baseOptions;
|
|
194
|
+
}
|
|
195
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
196
|
+
localVarHeaderParameter = {};
|
|
197
|
+
localVarQueryParameter = {};
|
|
198
|
+
// authentication oauth2 required
|
|
199
|
+
// oauth required
|
|
200
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
201
|
+
case 1:
|
|
202
|
+
// authentication oauth2 required
|
|
203
|
+
// oauth required
|
|
204
|
+
_a.sent();
|
|
205
|
+
if (languageCode !== undefined) {
|
|
206
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
207
|
+
}
|
|
208
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
209
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
210
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
211
|
+
return [2 /*return*/, {
|
|
212
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
213
|
+
options: localVarRequestOptions,
|
|
214
|
+
}];
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
});
|
|
218
|
+
},
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
exports.PatientAffiliationsApiAxiosParamCreator = PatientAffiliationsApiAxiosParamCreator;
|
|
222
|
+
/**
|
|
223
|
+
* PatientAffiliationsApi - functional programming interface
|
|
224
|
+
* @export
|
|
225
|
+
*/
|
|
226
|
+
var PatientAffiliationsApiFp = function (configuration) {
|
|
227
|
+
var localVarAxiosParamCreator = (0, exports.PatientAffiliationsApiAxiosParamCreator)(configuration);
|
|
228
|
+
return {
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @summary Get all patientAffiliations
|
|
232
|
+
* @param {string} [languageCode]
|
|
233
|
+
* @param {string} [hospitalId]
|
|
234
|
+
* @param {string} [patientId]
|
|
235
|
+
* @param {string} [patientName]
|
|
236
|
+
* @param {string} [patientPhoneNumber]
|
|
237
|
+
* @param {boolean} [showHidden]
|
|
238
|
+
* @param {number} [page]
|
|
239
|
+
* @param {number} [limit]
|
|
240
|
+
* @param {Date} [lastRetrieved]
|
|
241
|
+
* @param {*} [options] Override http request option.
|
|
242
|
+
* @throws {RequiredError}
|
|
243
|
+
*/
|
|
244
|
+
apiV1PatientaffiliationsGet: function (languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options) {
|
|
245
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
246
|
+
var localVarAxiosArgs;
|
|
247
|
+
return __generator(this, function (_a) {
|
|
248
|
+
switch (_a.label) {
|
|
249
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PatientaffiliationsGet(languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options)];
|
|
250
|
+
case 1:
|
|
251
|
+
localVarAxiosArgs = _a.sent();
|
|
252
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
});
|
|
256
|
+
},
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @summary Get patientAffiliation by id
|
|
260
|
+
* @param {string} patientAffiliationId
|
|
261
|
+
* @param {string} [languageCode]
|
|
262
|
+
* @param {*} [options] Override http request option.
|
|
263
|
+
* @throws {RequiredError}
|
|
264
|
+
*/
|
|
265
|
+
apiV1PatientaffiliationsPatientAffiliationIdGet: function (patientAffiliationId, languageCode, options) {
|
|
266
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
267
|
+
var localVarAxiosArgs;
|
|
268
|
+
return __generator(this, function (_a) {
|
|
269
|
+
switch (_a.label) {
|
|
270
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PatientaffiliationsPatientAffiliationIdGet(patientAffiliationId, languageCode, options)];
|
|
271
|
+
case 1:
|
|
272
|
+
localVarAxiosArgs = _a.sent();
|
|
273
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
274
|
+
}
|
|
275
|
+
});
|
|
276
|
+
});
|
|
277
|
+
},
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
exports.PatientAffiliationsApiFp = PatientAffiliationsApiFp;
|
|
281
|
+
/**
|
|
282
|
+
* PatientAffiliationsApi - factory interface
|
|
283
|
+
* @export
|
|
284
|
+
*/
|
|
285
|
+
var PatientAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
286
|
+
var localVarFp = (0, exports.PatientAffiliationsApiFp)(configuration);
|
|
287
|
+
return {
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @summary Get all patientAffiliations
|
|
291
|
+
* @param {string} [languageCode]
|
|
292
|
+
* @param {string} [hospitalId]
|
|
293
|
+
* @param {string} [patientId]
|
|
294
|
+
* @param {string} [patientName]
|
|
295
|
+
* @param {string} [patientPhoneNumber]
|
|
296
|
+
* @param {boolean} [showHidden]
|
|
297
|
+
* @param {number} [page]
|
|
298
|
+
* @param {number} [limit]
|
|
299
|
+
* @param {Date} [lastRetrieved]
|
|
300
|
+
* @param {*} [options] Override http request option.
|
|
301
|
+
* @throws {RequiredError}
|
|
302
|
+
*/
|
|
303
|
+
apiV1PatientaffiliationsGet: function (languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options) {
|
|
304
|
+
return localVarFp.apiV1PatientaffiliationsGet(languageCode, hospitalId, patientId, patientName, patientPhoneNumber, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
305
|
+
},
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @summary Get patientAffiliation by id
|
|
309
|
+
* @param {string} patientAffiliationId
|
|
310
|
+
* @param {string} [languageCode]
|
|
311
|
+
* @param {*} [options] Override http request option.
|
|
312
|
+
* @throws {RequiredError}
|
|
313
|
+
*/
|
|
314
|
+
apiV1PatientaffiliationsPatientAffiliationIdGet: function (patientAffiliationId, languageCode, options) {
|
|
315
|
+
return localVarFp.apiV1PatientaffiliationsPatientAffiliationIdGet(patientAffiliationId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
316
|
+
},
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
exports.PatientAffiliationsApiFactory = PatientAffiliationsApiFactory;
|
|
320
|
+
/**
|
|
321
|
+
* PatientAffiliationsApi - object-oriented interface
|
|
322
|
+
* @export
|
|
323
|
+
* @class PatientAffiliationsApi
|
|
324
|
+
* @extends {BaseAPI}
|
|
325
|
+
*/
|
|
326
|
+
var PatientAffiliationsApi = /** @class */ (function (_super) {
|
|
327
|
+
__extends(PatientAffiliationsApi, _super);
|
|
328
|
+
function PatientAffiliationsApi() {
|
|
329
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @summary Get all patientAffiliations
|
|
334
|
+
* @param {PatientAffiliationsApiApiV1PatientaffiliationsGetRequest} requestParameters Request parameters.
|
|
335
|
+
* @param {*} [options] Override http request option.
|
|
336
|
+
* @throws {RequiredError}
|
|
337
|
+
* @memberof PatientAffiliationsApi
|
|
338
|
+
*/
|
|
339
|
+
PatientAffiliationsApi.prototype.apiV1PatientaffiliationsGet = function (requestParameters, options) {
|
|
340
|
+
var _this = this;
|
|
341
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
342
|
+
return (0, exports.PatientAffiliationsApiFp)(this.configuration).apiV1PatientaffiliationsGet(requestParameters.languageCode, requestParameters.hospitalId, requestParameters.patientId, requestParameters.patientName, requestParameters.patientPhoneNumber, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
343
|
+
};
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @summary Get patientAffiliation by id
|
|
347
|
+
* @param {PatientAffiliationsApiApiV1PatientaffiliationsPatientAffiliationIdGetRequest} requestParameters Request parameters.
|
|
348
|
+
* @param {*} [options] Override http request option.
|
|
349
|
+
* @throws {RequiredError}
|
|
350
|
+
* @memberof PatientAffiliationsApi
|
|
351
|
+
*/
|
|
352
|
+
PatientAffiliationsApi.prototype.apiV1PatientaffiliationsPatientAffiliationIdGet = function (requestParameters, options) {
|
|
353
|
+
var _this = this;
|
|
354
|
+
return (0, exports.PatientAffiliationsApiFp)(this.configuration).apiV1PatientaffiliationsPatientAffiliationIdGet(requestParameters.patientAffiliationId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
355
|
+
};
|
|
356
|
+
return PatientAffiliationsApi;
|
|
357
|
+
}(base_1.BaseAPI));
|
|
358
|
+
exports.PatientAffiliationsApi = PatientAffiliationsApi;
|
|
@@ -12,10 +12,15 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreatePatientAffiliationCommand } from '../models';
|
|
15
16
|
import { CreatePatientCommand } from '../models';
|
|
16
17
|
import { Gender } from '../models';
|
|
18
|
+
import { GetPatientWalkInQuery } from '../models';
|
|
19
|
+
import { PatientAffiliationModel } from '../models';
|
|
17
20
|
import { PatientModel } from '../models';
|
|
21
|
+
import { PatientWalkInModel } from '../models';
|
|
18
22
|
import { PatientsModel } from '../models';
|
|
23
|
+
import { UpdatePatientAffiliationCommand } from '../models';
|
|
19
24
|
import { UpdatePatientCommand } from '../models';
|
|
20
25
|
/**
|
|
21
26
|
* PatientsApi - axios parameter creator
|
|
@@ -50,15 +55,36 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
50
55
|
* @throws {RequiredError}
|
|
51
56
|
*/
|
|
52
57
|
apiV1PatientsPatientIdAffiliationsHospitalIdDelete: (patientId: string, hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary Get patientAffiliation by patient id and hospital id.
|
|
61
|
+
* @param {string} patientId
|
|
62
|
+
* @param {string} hospitalId
|
|
63
|
+
* @param {string} [languageCode]
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdGet: (patientId: string, hospitalId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
68
|
/**
|
|
54
69
|
*
|
|
55
70
|
* @summary Create patient affiliation
|
|
56
71
|
* @param {string} patientId
|
|
57
72
|
* @param {string} hospitalId
|
|
73
|
+
* @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdPost: (patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @summary Update patient affiliation
|
|
81
|
+
* @param {string} patientId
|
|
82
|
+
* @param {string} hospitalId
|
|
83
|
+
* @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
|
|
58
84
|
* @param {*} [options] Override http request option.
|
|
59
85
|
* @throws {RequiredError}
|
|
60
86
|
*/
|
|
61
|
-
|
|
87
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdPut: (patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
62
88
|
/**
|
|
63
89
|
*
|
|
64
90
|
* @summary Reactivate patient affiliation
|
|
@@ -102,6 +128,14 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
102
128
|
* @throws {RequiredError}
|
|
103
129
|
*/
|
|
104
130
|
apiV1PatientsPost: (createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @summary Get patient information for Patient walk-in feature
|
|
134
|
+
* @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
apiV1PatientsWalkinPost: (getPatientWalkInQuery?: GetPatientWalkInQuery, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
105
139
|
};
|
|
106
140
|
/**
|
|
107
141
|
* PatientsApi - functional programming interface
|
|
@@ -136,15 +170,36 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
136
170
|
* @throws {RequiredError}
|
|
137
171
|
*/
|
|
138
172
|
apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId: string, hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
173
|
+
/**
|
|
174
|
+
*
|
|
175
|
+
* @summary Get patientAffiliation by patient id and hospital id.
|
|
176
|
+
* @param {string} patientId
|
|
177
|
+
* @param {string} hospitalId
|
|
178
|
+
* @param {string} [languageCode]
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdGet(patientId: string, hospitalId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientAffiliationModel>>;
|
|
139
183
|
/**
|
|
140
184
|
*
|
|
141
185
|
* @summary Create patient affiliation
|
|
142
186
|
* @param {string} patientId
|
|
143
187
|
* @param {string} hospitalId
|
|
188
|
+
* @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
|
|
144
189
|
* @param {*} [options] Override http request option.
|
|
145
190
|
* @throws {RequiredError}
|
|
146
191
|
*/
|
|
147
|
-
apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
192
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @summary Update patient affiliation
|
|
196
|
+
* @param {string} patientId
|
|
197
|
+
* @param {string} hospitalId
|
|
198
|
+
* @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
|
|
199
|
+
* @param {*} [options] Override http request option.
|
|
200
|
+
* @throws {RequiredError}
|
|
201
|
+
*/
|
|
202
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdPut(patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
148
203
|
/**
|
|
149
204
|
*
|
|
150
205
|
* @summary Reactivate patient affiliation
|
|
@@ -188,6 +243,14 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
188
243
|
* @throws {RequiredError}
|
|
189
244
|
*/
|
|
190
245
|
apiV1PatientsPost(createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>>;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @summary Get patient information for Patient walk-in feature
|
|
249
|
+
* @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
apiV1PatientsWalkinPost(getPatientWalkInQuery?: GetPatientWalkInQuery, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientWalkInModel>>;
|
|
191
254
|
};
|
|
192
255
|
/**
|
|
193
256
|
* PatientsApi - factory interface
|
|
@@ -222,15 +285,36 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
222
285
|
* @throws {RequiredError}
|
|
223
286
|
*/
|
|
224
287
|
apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId: string, hospitalId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean>;
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @summary Get patientAffiliation by patient id and hospital id.
|
|
291
|
+
* @param {string} patientId
|
|
292
|
+
* @param {string} hospitalId
|
|
293
|
+
* @param {string} [languageCode]
|
|
294
|
+
* @param {*} [options] Override http request option.
|
|
295
|
+
* @throws {RequiredError}
|
|
296
|
+
*/
|
|
297
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdGet(patientId: string, hospitalId: string, languageCode?: string, options?: any): AxiosPromise<PatientAffiliationModel>;
|
|
225
298
|
/**
|
|
226
299
|
*
|
|
227
300
|
* @summary Create patient affiliation
|
|
228
301
|
* @param {string} patientId
|
|
229
302
|
* @param {string} hospitalId
|
|
303
|
+
* @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @throws {RequiredError}
|
|
306
|
+
*/
|
|
307
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options?: any): AxiosPromise<boolean>;
|
|
308
|
+
/**
|
|
309
|
+
*
|
|
310
|
+
* @summary Update patient affiliation
|
|
311
|
+
* @param {string} patientId
|
|
312
|
+
* @param {string} hospitalId
|
|
313
|
+
* @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
|
|
230
314
|
* @param {*} [options] Override http request option.
|
|
231
315
|
* @throws {RequiredError}
|
|
232
316
|
*/
|
|
233
|
-
|
|
317
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdPut(patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options?: any): AxiosPromise<boolean>;
|
|
234
318
|
/**
|
|
235
319
|
*
|
|
236
320
|
* @summary Reactivate patient affiliation
|
|
@@ -274,6 +358,14 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
274
358
|
* @throws {RequiredError}
|
|
275
359
|
*/
|
|
276
360
|
apiV1PatientsPost(createPatientCommand?: CreatePatientCommand, options?: any): AxiosPromise<PatientModel>;
|
|
361
|
+
/**
|
|
362
|
+
*
|
|
363
|
+
* @summary Get patient information for Patient walk-in feature
|
|
364
|
+
* @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
|
|
365
|
+
* @param {*} [options] Override http request option.
|
|
366
|
+
* @throws {RequiredError}
|
|
367
|
+
*/
|
|
368
|
+
apiV1PatientsWalkinPost(getPatientWalkInQuery?: GetPatientWalkInQuery, options?: any): AxiosPromise<PatientWalkInModel>;
|
|
277
369
|
};
|
|
278
370
|
/**
|
|
279
371
|
* Request parameters for apiV1PatientsGet operation in PatientsApi.
|
|
@@ -373,6 +465,31 @@ export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRe
|
|
|
373
465
|
*/
|
|
374
466
|
readonly isPermanent?: boolean;
|
|
375
467
|
}
|
|
468
|
+
/**
|
|
469
|
+
* Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdGet operation in PatientsApi.
|
|
470
|
+
* @export
|
|
471
|
+
* @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest
|
|
472
|
+
*/
|
|
473
|
+
export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest {
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @type {string}
|
|
477
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGet
|
|
478
|
+
*/
|
|
479
|
+
readonly patientId: string;
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @type {string}
|
|
483
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGet
|
|
484
|
+
*/
|
|
485
|
+
readonly hospitalId: string;
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @type {string}
|
|
489
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGet
|
|
490
|
+
*/
|
|
491
|
+
readonly languageCode?: string;
|
|
492
|
+
}
|
|
376
493
|
/**
|
|
377
494
|
* Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdPost operation in PatientsApi.
|
|
378
495
|
* @export
|
|
@@ -391,6 +508,37 @@ export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequ
|
|
|
391
508
|
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPost
|
|
392
509
|
*/
|
|
393
510
|
readonly hospitalId: string;
|
|
511
|
+
/**
|
|
512
|
+
*
|
|
513
|
+
* @type {CreatePatientAffiliationCommand}
|
|
514
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPost
|
|
515
|
+
*/
|
|
516
|
+
readonly createPatientAffiliationCommand?: CreatePatientAffiliationCommand;
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdPut operation in PatientsApi.
|
|
520
|
+
* @export
|
|
521
|
+
* @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest
|
|
522
|
+
*/
|
|
523
|
+
export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest {
|
|
524
|
+
/**
|
|
525
|
+
*
|
|
526
|
+
* @type {string}
|
|
527
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPut
|
|
528
|
+
*/
|
|
529
|
+
readonly patientId: string;
|
|
530
|
+
/**
|
|
531
|
+
*
|
|
532
|
+
* @type {string}
|
|
533
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPut
|
|
534
|
+
*/
|
|
535
|
+
readonly hospitalId: string;
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
* @type {UpdatePatientAffiliationCommand}
|
|
539
|
+
* @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPut
|
|
540
|
+
*/
|
|
541
|
+
readonly updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand;
|
|
394
542
|
}
|
|
395
543
|
/**
|
|
396
544
|
* Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut operation in PatientsApi.
|
|
@@ -475,6 +623,19 @@ export interface PatientsApiApiV1PatientsPostRequest {
|
|
|
475
623
|
*/
|
|
476
624
|
readonly createPatientCommand?: CreatePatientCommand;
|
|
477
625
|
}
|
|
626
|
+
/**
|
|
627
|
+
* Request parameters for apiV1PatientsWalkinPost operation in PatientsApi.
|
|
628
|
+
* @export
|
|
629
|
+
* @interface PatientsApiApiV1PatientsWalkinPostRequest
|
|
630
|
+
*/
|
|
631
|
+
export interface PatientsApiApiV1PatientsWalkinPostRequest {
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @type {GetPatientWalkInQuery}
|
|
635
|
+
* @memberof PatientsApiApiV1PatientsWalkinPost
|
|
636
|
+
*/
|
|
637
|
+
readonly getPatientWalkInQuery?: GetPatientWalkInQuery;
|
|
638
|
+
}
|
|
478
639
|
/**
|
|
479
640
|
* PatientsApi - object-oriented interface
|
|
480
641
|
* @export
|
|
@@ -500,6 +661,15 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
500
661
|
* @memberof PatientsApi
|
|
501
662
|
*/
|
|
502
663
|
apiV1PatientsPatientIdAffiliationsHospitalIdDelete(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
664
|
+
/**
|
|
665
|
+
*
|
|
666
|
+
* @summary Get patientAffiliation by patient id and hospital id.
|
|
667
|
+
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest} requestParameters Request parameters.
|
|
668
|
+
* @param {*} [options] Override http request option.
|
|
669
|
+
* @throws {RequiredError}
|
|
670
|
+
* @memberof PatientsApi
|
|
671
|
+
*/
|
|
672
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdGet(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientAffiliationModel, any>>;
|
|
503
673
|
/**
|
|
504
674
|
*
|
|
505
675
|
* @summary Create patient affiliation
|
|
@@ -509,6 +679,15 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
509
679
|
* @memberof PatientsApi
|
|
510
680
|
*/
|
|
511
681
|
apiV1PatientsPatientIdAffiliationsHospitalIdPost(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
682
|
+
/**
|
|
683
|
+
*
|
|
684
|
+
* @summary Update patient affiliation
|
|
685
|
+
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest} requestParameters Request parameters.
|
|
686
|
+
* @param {*} [options] Override http request option.
|
|
687
|
+
* @throws {RequiredError}
|
|
688
|
+
* @memberof PatientsApi
|
|
689
|
+
*/
|
|
690
|
+
apiV1PatientsPatientIdAffiliationsHospitalIdPut(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
512
691
|
/**
|
|
513
692
|
*
|
|
514
693
|
* @summary Reactivate patient affiliation
|
|
@@ -554,5 +733,14 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
554
733
|
* @memberof PatientsApi
|
|
555
734
|
*/
|
|
556
735
|
apiV1PatientsPost(requestParameters?: PatientsApiApiV1PatientsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel, any>>;
|
|
736
|
+
/**
|
|
737
|
+
*
|
|
738
|
+
* @summary Get patient information for Patient walk-in feature
|
|
739
|
+
* @param {PatientsApiApiV1PatientsWalkinPostRequest} requestParameters Request parameters.
|
|
740
|
+
* @param {*} [options] Override http request option.
|
|
741
|
+
* @throws {RequiredError}
|
|
742
|
+
* @memberof PatientsApi
|
|
743
|
+
*/
|
|
744
|
+
apiV1PatientsWalkinPost(requestParameters?: PatientsApiApiV1PatientsWalkinPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientWalkInModel, any>>;
|
|
557
745
|
}
|
|
558
746
|
//# sourceMappingURL=patients-api.d.ts.map
|