ch-api-client-typescript2 5.22.1 → 5.23.8
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/deals-api.d.ts +4 -4
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.d.ts +4 -4
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.d.ts +10 -10
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/prescriptions-api.d.ts +198 -0
- package/lib/api/prescriptions-api.d.ts.map +1 -0
- package/lib/api/prescriptions-api.js +346 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/article-document-model.d.ts +13 -0
- package/lib/models/article-document-model.d.ts.map +1 -1
- package/lib/models/article-item-model.d.ts +24 -0
- package/lib/models/article-item-model.d.ts.map +1 -1
- package/lib/models/article-model.d.ts +24 -6
- package/lib/models/article-model.d.ts.map +1 -1
- package/lib/models/{appointment-timetables-model.d.ts → get-appointment-timetables-response-model.d.ts} +7 -7
- package/lib/models/get-appointment-timetables-response-model.d.ts.map +1 -0
- package/lib/models/index.d.ts +7 -1
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +7 -1
- package/lib/models/prescription-diagnosis-model.d.ts +37 -0
- package/lib/models/prescription-diagnosis-model.d.ts.map +1 -0
- package/lib/models/prescription-diagnosis-model.js +15 -0
- package/lib/models/prescription-item-model.d.ts +151 -0
- package/lib/models/prescription-item-model.d.ts.map +1 -0
- package/lib/models/prescription-item-model.js +15 -0
- package/lib/models/prescription-medication-model.d.ts +79 -0
- package/lib/models/prescription-medication-model.d.ts.map +1 -0
- package/lib/models/prescription-medication-model.js +15 -0
- package/lib/models/prescription-model.d.ts +172 -0
- package/lib/models/prescription-model.d.ts.map +1 -0
- package/lib/models/prescription-model.js +15 -0
- package/lib/models/prescription-symptom-model.d.ts +49 -0
- package/lib/models/prescription-symptom-model.d.ts.map +1 -0
- package/lib/models/prescription-symptom-model.js +15 -0
- package/lib/models/prescriptions-model.d.ts +33 -0
- package/lib/models/prescriptions-model.d.ts.map +1 -0
- package/lib/models/prescriptions-model.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +8 -1
- package/src/api/deals-api.ts +4 -4
- package/src/api/doctor-affiliations-api.ts +4 -4
- package/src/api/hospitals-api.ts +8 -8
- package/src/api/prescriptions-api.ts +333 -0
- package/src/api.ts +1 -0
- package/src/models/article-document-model.ts +15 -0
- package/src/models/article-item-model.ts +24 -0
- package/src/models/article-model.ts +24 -6
- package/src/models/{appointment-timetables-model.ts → get-appointment-timetables-response-model.ts} +6 -6
- package/src/models/index.ts +7 -1
- package/src/models/prescription-diagnosis-model.ts +42 -0
- package/src/models/prescription-item-model.ts +156 -0
- package/src/models/prescription-medication-model.ts +84 -0
- package/src/models/prescription-model.ts +183 -0
- package/src/models/prescription-symptom-model.ts +54 -0
- package/src/models/prescriptions-model.ts +42 -0
- package/lib/models/appointment-timetables-model.d.ts.map +0 -1
- /package/lib/models/{appointment-timetables-model.js → get-appointment-timetables-response-model.js} +0 -0
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { PrescriptionModel } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { PrescriptionsModel } from '../models';
|
|
27
|
+
/**
|
|
28
|
+
* PrescriptionsApi - axios parameter creator
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
export const PrescriptionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
+
return {
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @summary Get prescriptions of current user.
|
|
36
|
+
* @param {string} [languageCode]
|
|
37
|
+
* @param {string} [hospitalId]
|
|
38
|
+
* @param {string} [doctorId]
|
|
39
|
+
* @param {string} [doctorAffiliationId]
|
|
40
|
+
* @param {number} [page]
|
|
41
|
+
* @param {number} [limit]
|
|
42
|
+
* @param {Date} [lastRetrieved]
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
apiV2PrescriptionsGet: async (languageCode?: string, hospitalId?: string, doctorId?: string, doctorAffiliationId?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
47
|
+
const localVarPath = `/api/v2/prescriptions`;
|
|
48
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
50
|
+
let baseOptions;
|
|
51
|
+
if (configuration) {
|
|
52
|
+
baseOptions = configuration.baseOptions;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
56
|
+
const localVarHeaderParameter = {} as any;
|
|
57
|
+
const localVarQueryParameter = {} as any;
|
|
58
|
+
|
|
59
|
+
// authentication oauth2 required
|
|
60
|
+
// oauth required
|
|
61
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
62
|
+
|
|
63
|
+
if (languageCode !== undefined) {
|
|
64
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
if (hospitalId !== undefined) {
|
|
68
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
if (doctorId !== undefined) {
|
|
72
|
+
localVarQueryParameter['DoctorId'] = doctorId;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if (doctorAffiliationId !== undefined) {
|
|
76
|
+
localVarQueryParameter['DoctorAffiliationId'] = doctorAffiliationId;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (page !== undefined) {
|
|
80
|
+
localVarQueryParameter['page'] = page;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if (limit !== undefined) {
|
|
84
|
+
localVarQueryParameter['limit'] = limit;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
if (lastRetrieved !== undefined) {
|
|
88
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
89
|
+
(lastRetrieved as any).toISOString() :
|
|
90
|
+
lastRetrieved;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
96
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
97
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
url: toPathString(localVarUrlObj),
|
|
101
|
+
options: localVarRequestOptions,
|
|
102
|
+
};
|
|
103
|
+
},
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @summary Get prescription of current user by id.
|
|
107
|
+
* @param {string} id
|
|
108
|
+
* @param {string} [languageCode]
|
|
109
|
+
* @param {*} [options] Override http request option.
|
|
110
|
+
* @throws {RequiredError}
|
|
111
|
+
*/
|
|
112
|
+
apiV2PrescriptionsIdGet: async (id: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
113
|
+
// verify required parameter 'id' is not null or undefined
|
|
114
|
+
assertParamExists('apiV2PrescriptionsIdGet', 'id', id)
|
|
115
|
+
const localVarPath = `/api/v2/prescriptions/{id}`
|
|
116
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
117
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
118
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
119
|
+
let baseOptions;
|
|
120
|
+
if (configuration) {
|
|
121
|
+
baseOptions = configuration.baseOptions;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
125
|
+
const localVarHeaderParameter = {} as any;
|
|
126
|
+
const localVarQueryParameter = {} as any;
|
|
127
|
+
|
|
128
|
+
// authentication oauth2 required
|
|
129
|
+
// oauth required
|
|
130
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
131
|
+
|
|
132
|
+
if (languageCode !== undefined) {
|
|
133
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
139
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
141
|
+
|
|
142
|
+
return {
|
|
143
|
+
url: toPathString(localVarUrlObj),
|
|
144
|
+
options: localVarRequestOptions,
|
|
145
|
+
};
|
|
146
|
+
},
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* PrescriptionsApi - functional programming interface
|
|
152
|
+
* @export
|
|
153
|
+
*/
|
|
154
|
+
export const PrescriptionsApiFp = function(configuration?: Configuration) {
|
|
155
|
+
const localVarAxiosParamCreator = PrescriptionsApiAxiosParamCreator(configuration)
|
|
156
|
+
return {
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @summary Get prescriptions of current user.
|
|
160
|
+
* @param {string} [languageCode]
|
|
161
|
+
* @param {string} [hospitalId]
|
|
162
|
+
* @param {string} [doctorId]
|
|
163
|
+
* @param {string} [doctorAffiliationId]
|
|
164
|
+
* @param {number} [page]
|
|
165
|
+
* @param {number} [limit]
|
|
166
|
+
* @param {Date} [lastRetrieved]
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
async apiV2PrescriptionsGet(languageCode?: string, hospitalId?: string, doctorId?: string, doctorAffiliationId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrescriptionsModel>> {
|
|
171
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PrescriptionsGet(languageCode, hospitalId, doctorId, doctorAffiliationId, page, limit, lastRetrieved, options);
|
|
172
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
173
|
+
},
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @summary Get prescription of current user by id.
|
|
177
|
+
* @param {string} id
|
|
178
|
+
* @param {string} [languageCode]
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
async apiV2PrescriptionsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrescriptionModel>> {
|
|
183
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PrescriptionsIdGet(id, languageCode, options);
|
|
184
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
185
|
+
},
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* PrescriptionsApi - factory interface
|
|
191
|
+
* @export
|
|
192
|
+
*/
|
|
193
|
+
export const PrescriptionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
194
|
+
const localVarFp = PrescriptionsApiFp(configuration)
|
|
195
|
+
return {
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @summary Get prescriptions of current user.
|
|
199
|
+
* @param {string} [languageCode]
|
|
200
|
+
* @param {string} [hospitalId]
|
|
201
|
+
* @param {string} [doctorId]
|
|
202
|
+
* @param {string} [doctorAffiliationId]
|
|
203
|
+
* @param {number} [page]
|
|
204
|
+
* @param {number} [limit]
|
|
205
|
+
* @param {Date} [lastRetrieved]
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
apiV2PrescriptionsGet(languageCode?: string, hospitalId?: string, doctorId?: string, doctorAffiliationId?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PrescriptionsModel> {
|
|
210
|
+
return localVarFp.apiV2PrescriptionsGet(languageCode, hospitalId, doctorId, doctorAffiliationId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
211
|
+
},
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @summary Get prescription of current user by id.
|
|
215
|
+
* @param {string} id
|
|
216
|
+
* @param {string} [languageCode]
|
|
217
|
+
* @param {*} [options] Override http request option.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
*/
|
|
220
|
+
apiV2PrescriptionsIdGet(id: string, languageCode?: string, options?: any): AxiosPromise<PrescriptionModel> {
|
|
221
|
+
return localVarFp.apiV2PrescriptionsIdGet(id, languageCode, options).then((request) => request(axios, basePath));
|
|
222
|
+
},
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Request parameters for apiV2PrescriptionsGet operation in PrescriptionsApi.
|
|
228
|
+
* @export
|
|
229
|
+
* @interface PrescriptionsApiApiV2PrescriptionsGetRequest
|
|
230
|
+
*/
|
|
231
|
+
export interface PrescriptionsApiApiV2PrescriptionsGetRequest {
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {string}
|
|
235
|
+
* @memberof PrescriptionsApiApiV2PrescriptionsGet
|
|
236
|
+
*/
|
|
237
|
+
readonly languageCode?: string
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @type {string}
|
|
242
|
+
* @memberof PrescriptionsApiApiV2PrescriptionsGet
|
|
243
|
+
*/
|
|
244
|
+
readonly hospitalId?: string
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @type {string}
|
|
249
|
+
* @memberof PrescriptionsApiApiV2PrescriptionsGet
|
|
250
|
+
*/
|
|
251
|
+
readonly doctorId?: string
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @type {string}
|
|
256
|
+
* @memberof PrescriptionsApiApiV2PrescriptionsGet
|
|
257
|
+
*/
|
|
258
|
+
readonly doctorAffiliationId?: string
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @type {number}
|
|
263
|
+
* @memberof PrescriptionsApiApiV2PrescriptionsGet
|
|
264
|
+
*/
|
|
265
|
+
readonly page?: number
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @type {number}
|
|
270
|
+
* @memberof PrescriptionsApiApiV2PrescriptionsGet
|
|
271
|
+
*/
|
|
272
|
+
readonly limit?: number
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @type {Date}
|
|
277
|
+
* @memberof PrescriptionsApiApiV2PrescriptionsGet
|
|
278
|
+
*/
|
|
279
|
+
readonly lastRetrieved?: Date
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Request parameters for apiV2PrescriptionsIdGet operation in PrescriptionsApi.
|
|
284
|
+
* @export
|
|
285
|
+
* @interface PrescriptionsApiApiV2PrescriptionsIdGetRequest
|
|
286
|
+
*/
|
|
287
|
+
export interface PrescriptionsApiApiV2PrescriptionsIdGetRequest {
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof PrescriptionsApiApiV2PrescriptionsIdGet
|
|
292
|
+
*/
|
|
293
|
+
readonly id: string
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @memberof PrescriptionsApiApiV2PrescriptionsIdGet
|
|
299
|
+
*/
|
|
300
|
+
readonly languageCode?: string
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* PrescriptionsApi - object-oriented interface
|
|
305
|
+
* @export
|
|
306
|
+
* @class PrescriptionsApi
|
|
307
|
+
* @extends {BaseAPI}
|
|
308
|
+
*/
|
|
309
|
+
export class PrescriptionsApi extends BaseAPI {
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @summary Get prescriptions of current user.
|
|
313
|
+
* @param {PrescriptionsApiApiV2PrescriptionsGetRequest} requestParameters Request parameters.
|
|
314
|
+
* @param {*} [options] Override http request option.
|
|
315
|
+
* @throws {RequiredError}
|
|
316
|
+
* @memberof PrescriptionsApi
|
|
317
|
+
*/
|
|
318
|
+
public apiV2PrescriptionsGet(requestParameters: PrescriptionsApiApiV2PrescriptionsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
319
|
+
return PrescriptionsApiFp(this.configuration).apiV2PrescriptionsGet(requestParameters.languageCode, requestParameters.hospitalId, requestParameters.doctorId, requestParameters.doctorAffiliationId, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
*
|
|
324
|
+
* @summary Get prescription of current user by id.
|
|
325
|
+
* @param {PrescriptionsApiApiV2PrescriptionsIdGetRequest} requestParameters Request parameters.
|
|
326
|
+
* @param {*} [options] Override http request option.
|
|
327
|
+
* @throws {RequiredError}
|
|
328
|
+
* @memberof PrescriptionsApi
|
|
329
|
+
*/
|
|
330
|
+
public apiV2PrescriptionsIdGet(requestParameters: PrescriptionsApiApiV2PrescriptionsIdGetRequest, options?: AxiosRequestConfig) {
|
|
331
|
+
return PrescriptionsApiFp(this.configuration).apiV2PrescriptionsIdGet(requestParameters.id, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
332
|
+
}
|
|
333
|
+
}
|
package/src/api.ts
CHANGED
|
@@ -42,6 +42,7 @@ export * from './api/notifications-api';
|
|
|
42
42
|
export * from './api/origins-api';
|
|
43
43
|
export * from './api/patients-api';
|
|
44
44
|
export * from './api/plans-api';
|
|
45
|
+
export * from './api/prescriptions-api';
|
|
45
46
|
export * from './api/profiles-api';
|
|
46
47
|
export * from './api/search-curations-api';
|
|
47
48
|
export * from './api/secure-containers-api';
|
|
@@ -21,6 +21,9 @@ import { ArticleContributorDocumentModel } from './article-contributor-document-
|
|
|
21
21
|
import { AuditableEntityDocumentModel } from './auditable-entity-document-model';
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { DepartmentSubDocumentModel } from './department-sub-document-model';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
24
27
|
import { HospitalSubDocumentModel } from './hospital-sub-document-model';
|
|
25
28
|
// May contain unused imports in some cases
|
|
26
29
|
// @ts-ignore
|
|
@@ -317,6 +320,12 @@ export interface ArticleDocumentModel {
|
|
|
317
320
|
* @memberof ArticleDocumentModel
|
|
318
321
|
*/
|
|
319
322
|
'BackgroundThumbnail'?: string | null;
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @type {number}
|
|
326
|
+
* @memberof ArticleDocumentModel
|
|
327
|
+
*/
|
|
328
|
+
'ReadTime'?: number | null;
|
|
320
329
|
/**
|
|
321
330
|
*
|
|
322
331
|
* @type {HospitalSubDocumentModel}
|
|
@@ -341,6 +350,12 @@ export interface ArticleDocumentModel {
|
|
|
341
350
|
* @memberof ArticleDocumentModel
|
|
342
351
|
*/
|
|
343
352
|
'ArticleContributors'?: Array<ArticleContributorDocumentModel> | null;
|
|
353
|
+
/**
|
|
354
|
+
*
|
|
355
|
+
* @type {DepartmentSubDocumentModel}
|
|
356
|
+
* @memberof ArticleDocumentModel
|
|
357
|
+
*/
|
|
358
|
+
'SpecialtyType'?: DepartmentSubDocumentModel;
|
|
344
359
|
/**
|
|
345
360
|
*
|
|
346
361
|
* @type {AuditableEntityDocumentModel}
|
|
@@ -62,6 +62,24 @@ export interface ArticleItemModel {
|
|
|
62
62
|
* @memberof ArticleItemModel
|
|
63
63
|
*/
|
|
64
64
|
'description'?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ArticleItemModel
|
|
69
|
+
*/
|
|
70
|
+
'overview'?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof ArticleItemModel
|
|
75
|
+
*/
|
|
76
|
+
'specialtyType'?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof ArticleItemModel
|
|
81
|
+
*/
|
|
82
|
+
'readTime'?: number | null;
|
|
65
83
|
/**
|
|
66
84
|
*
|
|
67
85
|
* @type {boolean}
|
|
@@ -86,6 +104,12 @@ export interface ArticleItemModel {
|
|
|
86
104
|
* @memberof ArticleItemModel
|
|
87
105
|
*/
|
|
88
106
|
'userName'?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof ArticleItemModel
|
|
111
|
+
*/
|
|
112
|
+
'userPhotoThumbnail'?: string | null;
|
|
89
113
|
/**
|
|
90
114
|
*
|
|
91
115
|
* @type {string}
|
|
@@ -65,6 +65,24 @@ export interface ArticleModel {
|
|
|
65
65
|
* @memberof ArticleModel
|
|
66
66
|
*/
|
|
67
67
|
'description'?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ArticleModel
|
|
72
|
+
*/
|
|
73
|
+
'overview'?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof ArticleModel
|
|
78
|
+
*/
|
|
79
|
+
'specialtyType'?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof ArticleModel
|
|
84
|
+
*/
|
|
85
|
+
'readTime'?: number | null;
|
|
68
86
|
/**
|
|
69
87
|
*
|
|
70
88
|
* @type {boolean}
|
|
@@ -89,6 +107,12 @@ export interface ArticleModel {
|
|
|
89
107
|
* @memberof ArticleModel
|
|
90
108
|
*/
|
|
91
109
|
'userName'?: string | null;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof ArticleModel
|
|
114
|
+
*/
|
|
115
|
+
'userPhotoThumbnail'?: string | null;
|
|
92
116
|
/**
|
|
93
117
|
*
|
|
94
118
|
* @type {string}
|
|
@@ -161,12 +185,6 @@ export interface ArticleModel {
|
|
|
161
185
|
* @memberof ArticleModel
|
|
162
186
|
*/
|
|
163
187
|
'auditableEntity'?: AuditableEntity;
|
|
164
|
-
/**
|
|
165
|
-
*
|
|
166
|
-
* @type {string}
|
|
167
|
-
* @memberof ArticleModel
|
|
168
|
-
*/
|
|
169
|
-
'overview'?: string | null;
|
|
170
188
|
/**
|
|
171
189
|
*
|
|
172
190
|
* @type {string}
|
package/src/models/{appointment-timetables-model.ts → get-appointment-timetables-response-model.ts}
RENAMED
|
@@ -20,31 +20,31 @@ import { AppointmentTimetableDateModel } from './appointment-timetable-date-mode
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @export
|
|
23
|
-
* @interface
|
|
23
|
+
* @interface GetAppointmentTimetablesResponseModel
|
|
24
24
|
*/
|
|
25
|
-
export interface
|
|
25
|
+
export interface GetAppointmentTimetablesResponseModel {
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof GetAppointmentTimetablesResponseModel
|
|
30
30
|
*/
|
|
31
31
|
'hospitalTimeZone'?: string | null;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {string}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof GetAppointmentTimetablesResponseModel
|
|
36
36
|
*/
|
|
37
37
|
'timeZone'?: string | null;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {Date}
|
|
41
|
-
* @memberof
|
|
41
|
+
* @memberof GetAppointmentTimetablesResponseModel
|
|
42
42
|
*/
|
|
43
43
|
'today'?: Date;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {Array<AppointmentTimetableDateModel>}
|
|
47
|
-
* @memberof
|
|
47
|
+
* @memberof GetAppointmentTimetablesResponseModel
|
|
48
48
|
*/
|
|
49
49
|
'days'?: Array<AppointmentTimetableDateModel> | null;
|
|
50
50
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -18,7 +18,6 @@ export * from './appointment-status';
|
|
|
18
18
|
export * from './appointment-timetable-date-model';
|
|
19
19
|
export * from './appointment-timetable-status';
|
|
20
20
|
export * from './appointment-timetable-time-slot-model';
|
|
21
|
-
export * from './appointment-timetables-model';
|
|
22
21
|
export * from './appointment-type';
|
|
23
22
|
export * from './appointments-model';
|
|
24
23
|
export * from './article-contributor-document-model';
|
|
@@ -150,6 +149,7 @@ export * from './feature-model';
|
|
|
150
149
|
export * from './footer-navigation-item-model';
|
|
151
150
|
export * from './gender';
|
|
152
151
|
export * from './geography-point';
|
|
152
|
+
export * from './get-appointment-timetables-response-model';
|
|
153
153
|
export * from './grade-document-model';
|
|
154
154
|
export * from './grade-model';
|
|
155
155
|
export * from './header-navigation-item-model';
|
|
@@ -258,6 +258,12 @@ export * from './platform';
|
|
|
258
258
|
export * from './policies-model';
|
|
259
259
|
export * from './policy-item-model';
|
|
260
260
|
export * from './policy-model';
|
|
261
|
+
export * from './prescription-diagnosis-model';
|
|
262
|
+
export * from './prescription-item-model';
|
|
263
|
+
export * from './prescription-medication-model';
|
|
264
|
+
export * from './prescription-model';
|
|
265
|
+
export * from './prescription-symptom-model';
|
|
266
|
+
export * from './prescriptions-model';
|
|
261
267
|
export * from './problem-details';
|
|
262
268
|
export * from './procedure';
|
|
263
269
|
export * from './recurring-interval';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
8
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PrescriptionDiagnosisModel
|
|
21
|
+
*/
|
|
22
|
+
export interface PrescriptionDiagnosisModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PrescriptionDiagnosisModel
|
|
27
|
+
*/
|
|
28
|
+
'id'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PrescriptionDiagnosisModel
|
|
33
|
+
*/
|
|
34
|
+
'description'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof PrescriptionDiagnosisModel
|
|
39
|
+
*/
|
|
40
|
+
'order'?: number;
|
|
41
|
+
}
|
|
42
|
+
|