ch-api-client-typescript2 5.23.2 → 5.23.10

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.
Files changed (54) hide show
  1. package/lib/api/deals-api.d.ts +4 -4
  2. package/lib/api/deals-api.d.ts.map +1 -1
  3. package/lib/api/doctor-affiliations-api.d.ts +4 -4
  4. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  5. package/lib/api/hospitals-api.d.ts +10 -75
  6. package/lib/api/hospitals-api.d.ts.map +1 -1
  7. package/lib/api/hospitals-api.js +0 -96
  8. package/lib/api/prescriptions-api.d.ts +198 -0
  9. package/lib/api/prescriptions-api.d.ts.map +1 -0
  10. package/lib/api/prescriptions-api.js +346 -0
  11. package/lib/api.d.ts +1 -0
  12. package/lib/api.d.ts.map +1 -1
  13. package/lib/api.js +1 -0
  14. package/lib/models/{appointment-timetables-model.d.ts → get-appointment-timetables-response-model.d.ts} +7 -7
  15. package/lib/models/get-appointment-timetables-response-model.d.ts.map +1 -0
  16. package/lib/models/index.d.ts +7 -2
  17. package/lib/models/index.d.ts.map +1 -1
  18. package/lib/models/index.js +7 -2
  19. package/lib/models/prescription-diagnosis-model.d.ts +37 -0
  20. package/lib/models/prescription-diagnosis-model.d.ts.map +1 -0
  21. package/lib/models/prescription-item-model.d.ts +151 -0
  22. package/lib/models/prescription-item-model.d.ts.map +1 -0
  23. package/lib/models/prescription-item-model.js +15 -0
  24. package/lib/models/prescription-medication-model.d.ts +79 -0
  25. package/lib/models/prescription-medication-model.d.ts.map +1 -0
  26. package/lib/models/prescription-medication-model.js +15 -0
  27. package/lib/models/prescription-model.d.ts +172 -0
  28. package/lib/models/prescription-model.d.ts.map +1 -0
  29. package/lib/models/prescription-model.js +15 -0
  30. package/lib/models/{create-landing-form-command.d.ts → prescription-symptom-model.d.ts} +14 -20
  31. package/lib/models/prescription-symptom-model.d.ts.map +1 -0
  32. package/lib/models/prescription-symptom-model.js +15 -0
  33. package/lib/models/prescriptions-model.d.ts +33 -0
  34. package/lib/models/prescriptions-model.d.ts.map +1 -0
  35. package/lib/models/prescriptions-model.js +15 -0
  36. package/package.json +1 -1
  37. package/src/.openapi-generator/FILES +8 -2
  38. package/src/api/deals-api.ts +4 -4
  39. package/src/api/doctor-affiliations-api.ts +4 -4
  40. package/src/api/hospitals-api.ts +8 -121
  41. package/src/api/prescriptions-api.ts +333 -0
  42. package/src/api.ts +1 -0
  43. package/src/models/{appointment-timetables-model.ts → get-appointment-timetables-response-model.ts} +6 -6
  44. package/src/models/index.ts +7 -2
  45. package/src/models/prescription-diagnosis-model.ts +42 -0
  46. package/src/models/prescription-item-model.ts +156 -0
  47. package/src/models/prescription-medication-model.ts +84 -0
  48. package/src/models/prescription-model.ts +183 -0
  49. package/src/models/{create-landing-form-command.ts → prescription-symptom-model.ts} +13 -19
  50. package/src/models/prescriptions-model.ts +42 -0
  51. package/lib/models/appointment-timetables-model.d.ts.map +0 -1
  52. package/lib/models/create-landing-form-command.d.ts.map +0 -1
  53. /package/lib/models/{appointment-timetables-model.js → get-appointment-timetables-response-model.js} +0 -0
  54. /package/lib/models/{create-landing-form-command.js → prescription-diagnosis-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';
@@ -20,31 +20,31 @@ import { AppointmentTimetableDateModel } from './appointment-timetable-date-mode
20
20
  /**
21
21
  *
22
22
  * @export
23
- * @interface AppointmentTimetablesModel
23
+ * @interface GetAppointmentTimetablesResponseModel
24
24
  */
25
- export interface AppointmentTimetablesModel {
25
+ export interface GetAppointmentTimetablesResponseModel {
26
26
  /**
27
27
  *
28
28
  * @type {string}
29
- * @memberof AppointmentTimetablesModel
29
+ * @memberof GetAppointmentTimetablesResponseModel
30
30
  */
31
31
  'hospitalTimeZone'?: string | null;
32
32
  /**
33
33
  *
34
34
  * @type {string}
35
- * @memberof AppointmentTimetablesModel
35
+ * @memberof GetAppointmentTimetablesResponseModel
36
36
  */
37
37
  'timeZone'?: string | null;
38
38
  /**
39
39
  *
40
40
  * @type {Date}
41
- * @memberof AppointmentTimetablesModel
41
+ * @memberof GetAppointmentTimetablesResponseModel
42
42
  */
43
43
  'today'?: Date;
44
44
  /**
45
45
  *
46
46
  * @type {Array<AppointmentTimetableDateModel>}
47
- * @memberof AppointmentTimetablesModel
47
+ * @memberof GetAppointmentTimetablesResponseModel
48
48
  */
49
49
  'days'?: Array<AppointmentTimetableDateModel> | null;
50
50
  }
@@ -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';
@@ -70,7 +69,6 @@ export * from './create-chat-user-command';
70
69
  export * from './create-cors-command';
71
70
  export * from './create-device-command';
72
71
  export * from './create-device-login-command';
73
- export * from './create-landing-form-command';
74
72
  export * from './create-media-command';
75
73
  export * from './create-patient-command';
76
74
  export * from './create-profile-command';
@@ -150,6 +148,7 @@ export * from './feature-model';
150
148
  export * from './footer-navigation-item-model';
151
149
  export * from './gender';
152
150
  export * from './geography-point';
151
+ export * from './get-appointment-timetables-response-model';
153
152
  export * from './grade-document-model';
154
153
  export * from './grade-model';
155
154
  export * from './header-navigation-item-model';
@@ -258,6 +257,12 @@ export * from './platform';
258
257
  export * from './policies-model';
259
258
  export * from './policy-item-model';
260
259
  export * from './policy-model';
260
+ export * from './prescription-diagnosis-model';
261
+ export * from './prescription-item-model';
262
+ export * from './prescription-medication-model';
263
+ export * from './prescription-model';
264
+ export * from './prescription-symptom-model';
265
+ export * from './prescriptions-model';
261
266
  export * from './problem-details';
262
267
  export * from './procedure';
263
268
  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
+
@@ -0,0 +1,156 @@
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 PrescriptionItemModel
21
+ */
22
+ export interface PrescriptionItemModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof PrescriptionItemModel
27
+ */
28
+ 'languageCode'?: string | null;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof PrescriptionItemModel
33
+ */
34
+ 'hospitalId'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof PrescriptionItemModel
39
+ */
40
+ 'hospitalName'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof PrescriptionItemModel
45
+ */
46
+ 'doctorName'?: string | null;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof PrescriptionItemModel
51
+ */
52
+ 'height'?: number | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof PrescriptionItemModel
57
+ */
58
+ 'heightUnit'?: string | null;
59
+ /**
60
+ *
61
+ * @type {number}
62
+ * @memberof PrescriptionItemModel
63
+ */
64
+ 'weight'?: number | null;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof PrescriptionItemModel
69
+ */
70
+ 'weightUnit'?: string | null;
71
+ /**
72
+ *
73
+ * @type {number}
74
+ * @memberof PrescriptionItemModel
75
+ */
76
+ 'bodyMassIndex'?: number | null;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof PrescriptionItemModel
81
+ */
82
+ 'bodyMassIndexUnit'?: string | null;
83
+ /**
84
+ *
85
+ * @type {number}
86
+ * @memberof PrescriptionItemModel
87
+ */
88
+ 'pulseRate'?: number | null;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof PrescriptionItemModel
93
+ */
94
+ 'pulseRateUnit'?: string | null;
95
+ /**
96
+ *
97
+ * @type {number}
98
+ * @memberof PrescriptionItemModel
99
+ */
100
+ 'systolicBloodPressure'?: number | null;
101
+ /**
102
+ *
103
+ * @type {number}
104
+ * @memberof PrescriptionItemModel
105
+ */
106
+ 'diastolicBloodPressure'?: number | null;
107
+ /**
108
+ *
109
+ * @type {string}
110
+ * @memberof PrescriptionItemModel
111
+ */
112
+ 'bloodPressureUnit'?: string | null;
113
+ /**
114
+ *
115
+ * @type {number}
116
+ * @memberof PrescriptionItemModel
117
+ */
118
+ 'bodyTemperature'?: number | null;
119
+ /**
120
+ *
121
+ * @type {string}
122
+ * @memberof PrescriptionItemModel
123
+ */
124
+ 'bodyTemperatureUnit'?: string | null;
125
+ /**
126
+ *
127
+ * @type {string}
128
+ * @memberof PrescriptionItemModel
129
+ */
130
+ 'advice'?: string | null;
131
+ /**
132
+ *
133
+ * @type {string}
134
+ * @memberof PrescriptionItemModel
135
+ */
136
+ 'summary'?: string | null;
137
+ /**
138
+ *
139
+ * @type {boolean}
140
+ * @memberof PrescriptionItemModel
141
+ */
142
+ 'followUpNeeded'?: boolean;
143
+ /**
144
+ *
145
+ * @type {number}
146
+ * @memberof PrescriptionItemModel
147
+ */
148
+ 'followUpDays'?: number | null;
149
+ /**
150
+ *
151
+ * @type {string}
152
+ * @memberof PrescriptionItemModel
153
+ */
154
+ 'followUpNotes'?: string | null;
155
+ }
156
+
@@ -0,0 +1,84 @@
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 PrescriptionMedicationModel
21
+ */
22
+ export interface PrescriptionMedicationModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof PrescriptionMedicationModel
27
+ */
28
+ 'id'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof PrescriptionMedicationModel
33
+ */
34
+ 'name'?: string | null;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof PrescriptionMedicationModel
39
+ */
40
+ 'ingredients'?: string | null;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof PrescriptionMedicationModel
45
+ */
46
+ 'dose'?: number | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof PrescriptionMedicationModel
51
+ */
52
+ 'doseUnit'?: string | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof PrescriptionMedicationModel
57
+ */
58
+ 'frequency'?: string | null;
59
+ /**
60
+ *
61
+ * @type {number}
62
+ * @memberof PrescriptionMedicationModel
63
+ */
64
+ 'duration'?: number | null;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof PrescriptionMedicationModel
69
+ */
70
+ 'durationUnit'?: string | null;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof PrescriptionMedicationModel
75
+ */
76
+ 'notes'?: string | null;
77
+ /**
78
+ *
79
+ * @type {number}
80
+ * @memberof PrescriptionMedicationModel
81
+ */
82
+ 'order'?: number;
83
+ }
84
+