itc-components-library20 0.0.1
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/README.md +63 -0
- package/fesm2022/itc-components-library20.mjs +3622 -0
- package/fesm2022/itc-components-library20.mjs.map +1 -0
- package/index.d.ts +1868 -0
- package/package.json +24 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,1868 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, ChangeDetectorRef, SimpleChanges, InjectionToken } from '@angular/core';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { IconDefinition } from '@fortawesome/angular-fontawesome';
|
|
5
|
+
import * as fas from '@fortawesome/free-solid-svg-icons';
|
|
6
|
+
import { Table } from 'primeng/table';
|
|
7
|
+
import { SortEvent, MenuItem } from 'primeng/api';
|
|
8
|
+
import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
|
|
9
|
+
import { PrimeNG } from 'primeng/config';
|
|
10
|
+
import { HttpClient } from '@angular/common/http';
|
|
11
|
+
import { Observable } from 'rxjs';
|
|
12
|
+
import * as AWS from 'aws-sdk';
|
|
13
|
+
|
|
14
|
+
declare class ItcLibrary20 {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItcLibrary20, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItcLibrary20, "lib-itc-library20", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare class PrimaryButton {
|
|
20
|
+
text: string;
|
|
21
|
+
bgColor: string;
|
|
22
|
+
isNegative: boolean;
|
|
23
|
+
icon?: any;
|
|
24
|
+
position: string;
|
|
25
|
+
fontWeight: string;
|
|
26
|
+
textColor: string;
|
|
27
|
+
border: string;
|
|
28
|
+
borderRadius: string;
|
|
29
|
+
onClick: EventEmitter<void>;
|
|
30
|
+
click(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrimaryButton, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PrimaryButton, "lib-primary-button", never, { "text": { "alias": "text"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "isNegative": { "alias": "isNegative"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "position": { "alias": "position"; "required": false; }; "fontWeight": { "alias": "fontWeight"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare class SecondaryButton {
|
|
36
|
+
text: string;
|
|
37
|
+
bgColor: string;
|
|
38
|
+
textColor: string;
|
|
39
|
+
icon?: any;
|
|
40
|
+
position: string;
|
|
41
|
+
fontWeight: string;
|
|
42
|
+
borderRadius: string;
|
|
43
|
+
border: string;
|
|
44
|
+
onClick: EventEmitter<void>;
|
|
45
|
+
click(): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SecondaryButton, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SecondaryButton, "lib-secondary-button", never, { "text": { "alias": "text"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "position": { "alias": "position"; "required": false; }; "fontWeight": { "alias": "fontWeight"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "border": { "alias": "border"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare class ThirdButton {
|
|
51
|
+
text: string;
|
|
52
|
+
bgColor: string;
|
|
53
|
+
textColor: string;
|
|
54
|
+
icon?: any;
|
|
55
|
+
position: string;
|
|
56
|
+
fontWeight: string;
|
|
57
|
+
width: string;
|
|
58
|
+
height: string;
|
|
59
|
+
borderRadius: string;
|
|
60
|
+
border: string;
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
iconSpin: boolean;
|
|
63
|
+
fontSize: string;
|
|
64
|
+
onClick: EventEmitter<void>;
|
|
65
|
+
click(): void;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThirdButton, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThirdButton, "lib-third-button", never, { "text": { "alias": "text"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "position": { "alias": "position"; "required": false; }; "fontWeight": { "alias": "fontWeight"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "border": { "alias": "border"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "iconSpin": { "alias": "iconSpin"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; }, { "onClick": "onClick"; }, never, never, true, never>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
interface IColumn {
|
|
71
|
+
field: string;
|
|
72
|
+
header: string;
|
|
73
|
+
}
|
|
74
|
+
declare class BasicTable {
|
|
75
|
+
router: Router;
|
|
76
|
+
columns: IColumn[];
|
|
77
|
+
data: any[];
|
|
78
|
+
rows: number;
|
|
79
|
+
detailRoute: string;
|
|
80
|
+
actions: Record<string, (rowData: any) => void>;
|
|
81
|
+
first: number;
|
|
82
|
+
faCircle: IconDefinition;
|
|
83
|
+
faStroopwafel: IconDefinition;
|
|
84
|
+
isDateColumn(value: any): boolean;
|
|
85
|
+
isIconColumn(columnField: string): boolean;
|
|
86
|
+
navigateRoute(id: number): void;
|
|
87
|
+
pageChange(event: any): void;
|
|
88
|
+
get tableData(): any[];
|
|
89
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BasicTable, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BasicTable, "lib-basic-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "detailRoute": { "alias": "detailRoute"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, {}, never, never, true, never>;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
declare class SortableTable {
|
|
94
|
+
router: Router;
|
|
95
|
+
columns: IColumn[];
|
|
96
|
+
data: any[];
|
|
97
|
+
rows: number;
|
|
98
|
+
detailRoute: string;
|
|
99
|
+
actions: Record<string, (rowData: any) => void>;
|
|
100
|
+
colorPicker: (rowData: any, field: string) => string;
|
|
101
|
+
selected: any[];
|
|
102
|
+
tableCheckbox: string;
|
|
103
|
+
selectionChange: EventEmitter<any[]>;
|
|
104
|
+
resetData: EventEmitter<void>;
|
|
105
|
+
first: number;
|
|
106
|
+
faCircle: fas.IconDefinition;
|
|
107
|
+
faStroopwafel: fas.IconDefinition;
|
|
108
|
+
faMagnifyingGlass: fas.IconDefinition;
|
|
109
|
+
selectedData: any[];
|
|
110
|
+
isDateColumn(value: any): boolean;
|
|
111
|
+
isIconColumn(columnField: string): boolean;
|
|
112
|
+
navigateRoute(id: number): void;
|
|
113
|
+
pageChange(event: any): void;
|
|
114
|
+
dt: Table;
|
|
115
|
+
initialValue: any[];
|
|
116
|
+
isSorted: boolean | null;
|
|
117
|
+
currentSortedField: string | null;
|
|
118
|
+
ngOnInit(): void;
|
|
119
|
+
customSort(event: SortEvent): void;
|
|
120
|
+
sortTableData(event: SortEvent): void;
|
|
121
|
+
private isPriorityField;
|
|
122
|
+
isPriorityColumn(columnField: string): boolean;
|
|
123
|
+
private comparePriorities;
|
|
124
|
+
onRowSelect(): void;
|
|
125
|
+
clearSelection(): void;
|
|
126
|
+
hasMagnifyingGlassIcon(field: string): boolean;
|
|
127
|
+
resetSorting(): void;
|
|
128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SortableTable, never>;
|
|
129
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SortableTable, "lib-sortable-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "detailRoute": { "alias": "detailRoute"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "colorPicker": { "alias": "colorPicker"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "tableCheckbox": { "alias": "tableCheckbox"; "required": false; }; }, { "selectionChange": "selectionChange"; "resetData": "resetData"; }, never, never, true, never>;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
interface IAppointment {
|
|
133
|
+
id: string;
|
|
134
|
+
patientId: string;
|
|
135
|
+
startDate: Date;
|
|
136
|
+
endDate: Date;
|
|
137
|
+
name: string;
|
|
138
|
+
createDate: Date;
|
|
139
|
+
accountProfileId: string;
|
|
140
|
+
}
|
|
141
|
+
declare enum CalendarView {
|
|
142
|
+
Month = "month",
|
|
143
|
+
Week = "week"
|
|
144
|
+
}
|
|
145
|
+
declare class Calendar {
|
|
146
|
+
private cdr;
|
|
147
|
+
private primengConfig;
|
|
148
|
+
appointments: IAppointment[];
|
|
149
|
+
items: MenuItem[];
|
|
150
|
+
startHour: number;
|
|
151
|
+
endHour: number;
|
|
152
|
+
timeInterval: number;
|
|
153
|
+
dateSelected: EventEmitter<{
|
|
154
|
+
date: Date;
|
|
155
|
+
startTime: string;
|
|
156
|
+
}>;
|
|
157
|
+
closeModal: EventEmitter<void>;
|
|
158
|
+
tabChanged: EventEmitter<string>;
|
|
159
|
+
faChevronLeft: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
160
|
+
faChevronRight: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
161
|
+
faCirclePlus: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
162
|
+
faCircleCheck: _fortawesome_fontawesome_common_types.IconDefinition;
|
|
163
|
+
viewDate: Date;
|
|
164
|
+
selectedDate: Date | null;
|
|
165
|
+
blinkDate: Date | null;
|
|
166
|
+
selectedDateString: string;
|
|
167
|
+
selectedStartTime: string | undefined;
|
|
168
|
+
weekDays: string[];
|
|
169
|
+
monthDays: Date[];
|
|
170
|
+
currentView: CalendarView;
|
|
171
|
+
timeSlots: string[];
|
|
172
|
+
weeks: Date[][];
|
|
173
|
+
visibleList: boolean;
|
|
174
|
+
newAppointment: boolean;
|
|
175
|
+
activeItem: MenuItem | undefined;
|
|
176
|
+
activeValue: string;
|
|
177
|
+
selectedAppointments: IAppointment[];
|
|
178
|
+
hoveredAppointment: any;
|
|
179
|
+
tooltipStyle: any;
|
|
180
|
+
private appointmentCache;
|
|
181
|
+
private monthViewData;
|
|
182
|
+
private weekViewData;
|
|
183
|
+
private formattedDateCache;
|
|
184
|
+
private cacheKeys;
|
|
185
|
+
isLoading: boolean;
|
|
186
|
+
CalendarView: typeof CalendarView;
|
|
187
|
+
constructor(cdr: ChangeDetectorRef, primengConfig: PrimeNG);
|
|
188
|
+
configuraLingua(): void;
|
|
189
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
190
|
+
private invalidateAppointmentCache;
|
|
191
|
+
private formatDateKey;
|
|
192
|
+
private cacheAppointmentData;
|
|
193
|
+
private precomputeAppointments;
|
|
194
|
+
private precomputeInBatches;
|
|
195
|
+
private getVisibleDays;
|
|
196
|
+
private precomputeForDays;
|
|
197
|
+
generateView(view: CalendarView, date: Date): void;
|
|
198
|
+
private isSameWeek;
|
|
199
|
+
generateMonthView(date: Date): void;
|
|
200
|
+
generateWeekView(date: Date): void;
|
|
201
|
+
generateTimeSlots(): void;
|
|
202
|
+
switchToView(view: CalendarView): void;
|
|
203
|
+
startOfWeek(date: Date): Date;
|
|
204
|
+
previous(): void;
|
|
205
|
+
next(): void;
|
|
206
|
+
isToday(date: Date): boolean;
|
|
207
|
+
isPastDate(date: Date): boolean;
|
|
208
|
+
isPastTime(date: Date, timeSlot: string): boolean;
|
|
209
|
+
hasAppointments(date: Date): boolean;
|
|
210
|
+
isTimeSlotOccupied(date: Date, timeSlot: string): boolean;
|
|
211
|
+
isCurrentMonth(date: Date): boolean;
|
|
212
|
+
isSameDate(date1: Date, date2: Date): boolean;
|
|
213
|
+
formatDate(date: Date): string;
|
|
214
|
+
extractTime(dateInput: Date): string;
|
|
215
|
+
selectDate(date?: Date, startTime?: string): void;
|
|
216
|
+
getAppointmentsForDate(day: Date, timeSlots: string[]): IAppointment[];
|
|
217
|
+
getAppointmentDuration(appointment: any): number;
|
|
218
|
+
getAppointmentHeightStyle(appointment: any): object;
|
|
219
|
+
getFirstAppointmentForDate(day: Date, timeSlots: string[]): IAppointment | null;
|
|
220
|
+
getAppointmentsForDataTime(date: Date, timeSlot: string): IAppointment[];
|
|
221
|
+
private formatHourToTimeString;
|
|
222
|
+
toggleNewAppointment(): void;
|
|
223
|
+
closeAppointmentModal(): void;
|
|
224
|
+
onDialogHide(): void;
|
|
225
|
+
viewToday(): void;
|
|
226
|
+
showTooltip(appointment: any, event: MouseEvent): void;
|
|
227
|
+
hideTooltip(): void;
|
|
228
|
+
onValueChange(value: string | number): void;
|
|
229
|
+
ngOnInit(): void;
|
|
230
|
+
dialogWidth: string;
|
|
231
|
+
onResize(): void;
|
|
232
|
+
setDialogWidth(): void;
|
|
233
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Calendar, never>;
|
|
234
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Calendar, "lib-calendar", never, { "appointments": { "alias": "appointments"; "required": false; }; "items": { "alias": "items"; "required": false; }; "startHour": { "alias": "startHour"; "required": false; }; "endHour": { "alias": "endHour"; "required": false; }; "timeInterval": { "alias": "timeInterval"; "required": false; }; }, { "dateSelected": "dateSelected"; "closeModal": "closeModal"; "tabChanged": "tabChanged"; }, never, [".custom-input", ".custom-prescription", ".save-button"], true, never>;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
declare class Message {
|
|
238
|
+
text: string;
|
|
239
|
+
date: string;
|
|
240
|
+
from: string;
|
|
241
|
+
bgColor: string;
|
|
242
|
+
textColor: string;
|
|
243
|
+
fontWeight: string;
|
|
244
|
+
width: string;
|
|
245
|
+
minHeight: string;
|
|
246
|
+
borderRadius: string;
|
|
247
|
+
border: string;
|
|
248
|
+
padding: string;
|
|
249
|
+
viewed?: any;
|
|
250
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Message, never>;
|
|
251
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Message, "lib-message", never, { "text": { "alias": "text"; "required": false; }; "date": { "alias": "date"; "required": false; }; "from": { "alias": "from"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "fontWeight": { "alias": "fontWeight"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "border": { "alias": "border"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "viewed": { "alias": "viewed"; "required": false; }; }, {}, never, never, true, never>;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
interface IDictionaryIconDTO {
|
|
255
|
+
id: string | null;
|
|
256
|
+
name: string | null;
|
|
257
|
+
code: string | null;
|
|
258
|
+
type: string | null;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
interface IDictionaryTypeQuestionDTO {
|
|
262
|
+
id: number | null;
|
|
263
|
+
name: string | null;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
interface IDictionaryTypeSurveyDTO {
|
|
267
|
+
id?: number | null;
|
|
268
|
+
name: string | null;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
interface IDictionaryAnswerResponse {
|
|
272
|
+
id: string;
|
|
273
|
+
text: string | null;
|
|
274
|
+
value: number;
|
|
275
|
+
icon: IDictionaryIconDTO;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
interface IDictionaryStepResponse {
|
|
279
|
+
id: number;
|
|
280
|
+
name: string | null;
|
|
281
|
+
number: number;
|
|
282
|
+
typeSurvey: IDictionaryTypeSurveyDTO;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
interface IDictionaryQuestionResponse {
|
|
286
|
+
id: string;
|
|
287
|
+
text: string | null;
|
|
288
|
+
position: string | null;
|
|
289
|
+
step: IDictionaryStepResponse;
|
|
290
|
+
typeSurvey: IDictionaryTypeSurveyDTO;
|
|
291
|
+
typeQuestion: IDictionaryTypeQuestionDTO;
|
|
292
|
+
icon: IDictionaryIconDTO;
|
|
293
|
+
answers: IDictionaryAnswerResponse[];
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
interface IQuestionAnswer {
|
|
297
|
+
idQuestion: string | undefined;
|
|
298
|
+
idAnswer: string | undefined;
|
|
299
|
+
idTypeSurvey: number;
|
|
300
|
+
}
|
|
301
|
+
declare class Survey {
|
|
302
|
+
questionList: IDictionaryQuestionResponse[];
|
|
303
|
+
typeSurvey: number;
|
|
304
|
+
patientSurvey: string;
|
|
305
|
+
sumOutput: EventEmitter<any>;
|
|
306
|
+
questionAnswer: EventEmitter<IQuestionAnswer>;
|
|
307
|
+
ngOnInit(): void;
|
|
308
|
+
onSumOutputReceived(sum: any): void;
|
|
309
|
+
onQuestionAnswerReceived(object: IQuestionAnswer): void;
|
|
310
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Survey, never>;
|
|
311
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Survey, "lib-survey", never, { "questionList": { "alias": "questionList"; "required": false; }; "typeSurvey": { "alias": "typeSurvey"; "required": false; }; "patientSurvey": { "alias": "patientSurvey"; "required": false; }; }, { "sumOutput": "sumOutput"; "questionAnswer": "questionAnswer"; }, never, never, true, never>;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
interface ISurveyResultResponse {
|
|
315
|
+
question: IDictionaryQuestionResponse;
|
|
316
|
+
answer: IDictionaryAnswerResponse;
|
|
317
|
+
value: number | null;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
interface IPatientSurveyResponse {
|
|
321
|
+
id: string;
|
|
322
|
+
patientId: string;
|
|
323
|
+
date: Date;
|
|
324
|
+
typeSurvey: IDictionaryTypeSurveyDTO;
|
|
325
|
+
results: ISurveyResultResponse[];
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
interface IPatientSurveyRequest {
|
|
329
|
+
patientId: string;
|
|
330
|
+
typeSurveyId: number;
|
|
331
|
+
answers: string[];
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
declare class ApiSurveyService {
|
|
335
|
+
private gateway;
|
|
336
|
+
endpoint: string;
|
|
337
|
+
constructor(gateway: string);
|
|
338
|
+
http: HttpClient;
|
|
339
|
+
getQuestionByParameters(typeSurvey: number | "", stepNumber: number | ""): Observable<IDictionaryQuestionResponse[]>;
|
|
340
|
+
getQuestionByTypeSurvey(typeSurvey: number): Observable<IDictionaryQuestionResponse[]>;
|
|
341
|
+
getQuestionByQuestionId(questionId: number): Observable<IDictionaryQuestionResponse[]>;
|
|
342
|
+
getStepByTypeSurvey(typeSurvey: number): Observable<IDictionaryStepResponse[]>;
|
|
343
|
+
getStepByStepNumber(stepNumber: number): Observable<IDictionaryStepResponse[]>;
|
|
344
|
+
getSurveys(): Observable<IPatientSurveyResponse[]>;
|
|
345
|
+
getSurvey(patientId: string | "", surveyType: number | "", surveyId: string | "", lastSurvey: false): Observable<IPatientSurveyResponse[]>;
|
|
346
|
+
getSurveyById(surveyId: string): Observable<IPatientSurveyResponse>;
|
|
347
|
+
getLastSurvey(patientId: string, surveyType: number, lastSurvey: true): Observable<IPatientSurveyResponse[]>;
|
|
348
|
+
postSurvey(patientSurveyRequest: IPatientSurveyRequest): Observable<boolean>;
|
|
349
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiSurveyService, never>;
|
|
350
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiSurveyService>;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
declare class SurveyRadio {
|
|
354
|
+
apiSurvey: ApiSurveyService;
|
|
355
|
+
question: IDictionaryQuestionResponse | undefined;
|
|
356
|
+
typeSurvey: number;
|
|
357
|
+
patientSurvey: string;
|
|
358
|
+
patientId: string | undefined;
|
|
359
|
+
questionAnswer: EventEmitter<IQuestionAnswer>;
|
|
360
|
+
filteredSurvey: IPatientSurveyResponse;
|
|
361
|
+
questionAnswerObject: IQuestionAnswer;
|
|
362
|
+
ngOnInit(): void;
|
|
363
|
+
selectedValue(idQuestion: string | undefined, idAnswer: string | undefined): void;
|
|
364
|
+
searchSurvey(surveyId: string): void;
|
|
365
|
+
getMatchingAnswer(surveyId: string, answerId: string): boolean;
|
|
366
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SurveyRadio, never>;
|
|
367
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SurveyRadio, "lib-survey-radio", never, { "question": { "alias": "question"; "required": false; }; "typeSurvey": { "alias": "typeSurvey"; "required": false; }; "patientSurvey": { "alias": "patientSurvey"; "required": false; }; "patientId": { "alias": "patientId"; "required": false; }; }, { "questionAnswer": "questionAnswer"; }, never, never, true, never>;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
declare class SurveyValuebox {
|
|
371
|
+
apiSurvey: ApiSurveyService;
|
|
372
|
+
question: IDictionaryQuestionResponse | undefined;
|
|
373
|
+
typeSurvey: number;
|
|
374
|
+
indexQuestion: number;
|
|
375
|
+
patientSurvey: string;
|
|
376
|
+
patientId: string | undefined;
|
|
377
|
+
sumOutput: EventEmitter<any>;
|
|
378
|
+
questionAnswer: EventEmitter<IQuestionAnswer>;
|
|
379
|
+
filteredSurvey: IPatientSurveyResponse;
|
|
380
|
+
sum: number;
|
|
381
|
+
selectedValues: {
|
|
382
|
+
[key: number]: number | string;
|
|
383
|
+
};
|
|
384
|
+
questionAnswerObject: IQuestionAnswer;
|
|
385
|
+
sumValue(valueSelected: number, groupIndex: number, idQuestion: string | undefined, idAnswer: string | undefined): void;
|
|
386
|
+
ngOnInit(): void;
|
|
387
|
+
searchSurvey(surveyId: string): void;
|
|
388
|
+
getMatchingAnswer(answerId: string | undefined): boolean;
|
|
389
|
+
initializeSelectedValues(): void;
|
|
390
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SurveyValuebox, never>;
|
|
391
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SurveyValuebox, "lib-survey-valuebox", never, { "question": { "alias": "question"; "required": false; }; "typeSurvey": { "alias": "typeSurvey"; "required": false; }; "indexQuestion": { "alias": "indexQuestion"; "required": false; }; "patientSurvey": { "alias": "patientSurvey"; "required": false; }; "patientId": { "alias": "patientId"; "required": false; }; }, { "sumOutput": "sumOutput"; "questionAnswer": "questionAnswer"; }, never, never, true, never>;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
declare class SurveyText {
|
|
395
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SurveyText, never>;
|
|
396
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SurveyText, "lib-survey-text", never, {}, {}, never, never, true, never>;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
interface IMinio {
|
|
400
|
+
bucketName: string;
|
|
401
|
+
accessKeyId: string;
|
|
402
|
+
secretAccessKey: string;
|
|
403
|
+
endpoint: string;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
declare class Minio {
|
|
407
|
+
private config;
|
|
408
|
+
private s3;
|
|
409
|
+
bucketName: string;
|
|
410
|
+
accessKeyId: string;
|
|
411
|
+
secretAccessKey: string;
|
|
412
|
+
endpoint: string;
|
|
413
|
+
constructor(config: IMinio);
|
|
414
|
+
uploadFile(fileName: string, fileContent: any): Promise<AWS.S3.ManagedUpload.SendData>;
|
|
415
|
+
getObject(fileName: string): Promise<AWS.S3.GetObjectOutput>;
|
|
416
|
+
getAllObjectsInFolder(folderPath: string): Promise<Map<string, AWS.S3.GetObjectOutput>>;
|
|
417
|
+
deleteObject(bucketName: string, fileName: string): Promise<AWS.S3.DeleteObjectOutput>;
|
|
418
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Minio, never>;
|
|
419
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<Minio>;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
declare class PrimengItalianLocale {
|
|
423
|
+
}
|
|
424
|
+
declare const PRIMENG_ITALIAN_LOCALE: {
|
|
425
|
+
firstDayOfWeek: number;
|
|
426
|
+
dayNames: string[];
|
|
427
|
+
dayNamesShort: string[];
|
|
428
|
+
dayNamesMin: string[];
|
|
429
|
+
monthNames: string[];
|
|
430
|
+
monthNamesShort: string[];
|
|
431
|
+
today: string;
|
|
432
|
+
clear: string;
|
|
433
|
+
dateFormat: string;
|
|
434
|
+
weekHeader: string;
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
declare class FormatDate {
|
|
438
|
+
convertToISOFormat(date: Date): string;
|
|
439
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormatDate, never>;
|
|
440
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormatDate>;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
interface IDictionaryTypeContact$1 {
|
|
444
|
+
id: number;
|
|
445
|
+
name: string;
|
|
446
|
+
isEnabled: boolean;
|
|
447
|
+
isVisible: boolean;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
interface IAccountContactResponse {
|
|
451
|
+
typeContact: IDictionaryTypeContact$1;
|
|
452
|
+
value: string;
|
|
453
|
+
isActive: boolean;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
interface IDictionarySystemDTO {
|
|
457
|
+
id?: string;
|
|
458
|
+
name?: string;
|
|
459
|
+
initials?: string;
|
|
460
|
+
isEnabled: boolean;
|
|
461
|
+
isVisible: boolean;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
interface IAccountDistrictResponse {
|
|
465
|
+
districtId: string;
|
|
466
|
+
isActive: boolean;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
interface IAccountAslResponse {
|
|
470
|
+
id: number;
|
|
471
|
+
aslId: string;
|
|
472
|
+
isActive: boolean;
|
|
473
|
+
accountDistricts: IAccountDistrictResponse[];
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
interface IAccountStructureResponse {
|
|
477
|
+
id: number;
|
|
478
|
+
structureId: string;
|
|
479
|
+
isActive: boolean;
|
|
480
|
+
asls: IAccountAslResponse[];
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
interface IDictionaryPermission {
|
|
484
|
+
id?: number;
|
|
485
|
+
function: string;
|
|
486
|
+
code: string;
|
|
487
|
+
isEnabled: boolean;
|
|
488
|
+
isVisible: boolean;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
interface IProfilePermissionResponse {
|
|
492
|
+
permission: IDictionaryPermission;
|
|
493
|
+
write: boolean;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
interface IDictionaryProfileResponse {
|
|
497
|
+
id: number;
|
|
498
|
+
name: string;
|
|
499
|
+
isEnabled: boolean;
|
|
500
|
+
isVisible: boolean;
|
|
501
|
+
systems?: IDictionarySystemDTO[];
|
|
502
|
+
permissions: IProfilePermissionResponse[];
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
interface IAccountProfileSystemResponse {
|
|
506
|
+
id: string;
|
|
507
|
+
profile: IDictionaryProfileResponse;
|
|
508
|
+
system: IDictionarySystemDTO;
|
|
509
|
+
createDate: Date;
|
|
510
|
+
expireDate: Date;
|
|
511
|
+
structures?: IAccountStructureResponse[];
|
|
512
|
+
isActive: boolean;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
interface IAccountResponse {
|
|
516
|
+
id: string;
|
|
517
|
+
name?: string;
|
|
518
|
+
lastname?: string;
|
|
519
|
+
fiscalcode?: string;
|
|
520
|
+
username?: string;
|
|
521
|
+
dateOfBirth?: Date;
|
|
522
|
+
lastLoginDate?: Date;
|
|
523
|
+
isActive: boolean;
|
|
524
|
+
isLocked: boolean;
|
|
525
|
+
dateLocked?: Date;
|
|
526
|
+
firstAccess: boolean;
|
|
527
|
+
numberLoginFailed: number;
|
|
528
|
+
otp?: string;
|
|
529
|
+
dateExpireOTP?: Date;
|
|
530
|
+
profileSystems?: IAccountProfileSystemResponse[];
|
|
531
|
+
contacts?: IAccountContactResponse[];
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
interface IAccountContactRequest {
|
|
535
|
+
typeContactId: number;
|
|
536
|
+
value: string;
|
|
537
|
+
isActive: boolean;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
interface IAccountStructureRequest {
|
|
541
|
+
id?: number;
|
|
542
|
+
structureId: string;
|
|
543
|
+
isActive: boolean;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
interface IAccountProfileSystemRequest {
|
|
547
|
+
id?: string;
|
|
548
|
+
profileId: number;
|
|
549
|
+
systemId?: string;
|
|
550
|
+
isActive: boolean;
|
|
551
|
+
expireDate?: Date;
|
|
552
|
+
structures?: IAccountStructureRequest[];
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
interface IAccountRequest {
|
|
556
|
+
id?: string;
|
|
557
|
+
name?: string;
|
|
558
|
+
lastname?: string;
|
|
559
|
+
fiscalcode?: string;
|
|
560
|
+
username?: string;
|
|
561
|
+
dateOfBirth?: Date;
|
|
562
|
+
isActive: boolean;
|
|
563
|
+
isLocked: boolean;
|
|
564
|
+
dateLocked?: Date;
|
|
565
|
+
lastLoginDate?: Date;
|
|
566
|
+
numberLoginFailed?: number;
|
|
567
|
+
profileSystems?: IAccountProfileSystemRequest[];
|
|
568
|
+
contacts: IAccountContactRequest[];
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
interface ILoginRequest {
|
|
572
|
+
username: string;
|
|
573
|
+
password: string;
|
|
574
|
+
idLdap?: number;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
interface IAuthenticationResponse {
|
|
578
|
+
id: string;
|
|
579
|
+
jwtToken?: string;
|
|
580
|
+
refreshToken?: string;
|
|
581
|
+
jwtExpiration: Date;
|
|
582
|
+
refreshTokenExpiration: Date;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
interface ILoginResponse {
|
|
586
|
+
accountId: string;
|
|
587
|
+
isLocked: boolean;
|
|
588
|
+
dateLocked?: Date;
|
|
589
|
+
isEnabled: boolean;
|
|
590
|
+
firstAccess: boolean;
|
|
591
|
+
numberFail: number;
|
|
592
|
+
passwordExpired: boolean;
|
|
593
|
+
tokenData?: IAuthenticationResponse;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
interface INewTokenRequest {
|
|
597
|
+
token?: string;
|
|
598
|
+
refreshToken?: string;
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
interface IAccountCredentialDTO {
|
|
602
|
+
id?: number;
|
|
603
|
+
accountId: string;
|
|
604
|
+
password?: string;
|
|
605
|
+
date: Date;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
declare class ApiAccountService {
|
|
609
|
+
private gateway;
|
|
610
|
+
endpoint: string;
|
|
611
|
+
constructor(gateway: string);
|
|
612
|
+
http: HttpClient;
|
|
613
|
+
getAccounts(): Observable<IAccountResponse[]>;
|
|
614
|
+
getAccountById(id: string): Observable<IAccountResponse>;
|
|
615
|
+
getAccountByFiscalCode(fiscalCode: string): Observable<IAccountResponse>;
|
|
616
|
+
getAccountByUsername(username: string): Observable<IAccountResponse>;
|
|
617
|
+
getAccountByAccountProfileId(accountProfileId: string): Observable<IAccountResponse>;
|
|
618
|
+
getCredentialByAccountId(accountId: string): Observable<IAccountCredentialDTO>;
|
|
619
|
+
postAccount(accountRequest: IAccountRequest): Observable<string>;
|
|
620
|
+
postLogin(loginRequest: ILoginRequest): Observable<string | ILoginResponse>;
|
|
621
|
+
postLoginLdap(loginRequest: ILoginRequest): Observable<string | ILoginResponse>;
|
|
622
|
+
postRefreshToken(refreshToken: INewTokenRequest): Observable<IAuthenticationResponse>;
|
|
623
|
+
postCredential(accountCredentialDTO: IAccountCredentialDTO): Observable<number>;
|
|
624
|
+
setLoginAccount(id: string): Observable<boolean>;
|
|
625
|
+
deleteAccount(id: string): Observable<boolean>;
|
|
626
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiAccountService, never>;
|
|
627
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiAccountService>;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
interface IProfilePermissionRequest {
|
|
631
|
+
profileId?: number;
|
|
632
|
+
permissionId: number;
|
|
633
|
+
write: boolean;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
interface IDictionaryProfileRequest {
|
|
637
|
+
id?: number;
|
|
638
|
+
name?: string;
|
|
639
|
+
isEnabled: boolean;
|
|
640
|
+
isVisible: boolean;
|
|
641
|
+
systems?: string[];
|
|
642
|
+
permissions?: IProfilePermissionRequest[];
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
declare class ApiAccountDictionaryService {
|
|
646
|
+
private gateway;
|
|
647
|
+
endpoint: string;
|
|
648
|
+
constructor(gateway: string);
|
|
649
|
+
http: HttpClient;
|
|
650
|
+
getPermissions(): Observable<IDictionaryPermission[]>;
|
|
651
|
+
getPermissionById(id: string): Observable<IDictionaryPermission>;
|
|
652
|
+
getPermissionByCode(code: string): Observable<IDictionaryPermission>;
|
|
653
|
+
getPermissionByParameters(id: string, code: string): Observable<IDictionaryPermission>;
|
|
654
|
+
getProfiles(): Observable<IDictionaryProfileResponse[]>;
|
|
655
|
+
getProfileById(id: string): Observable<IDictionaryProfileResponse>;
|
|
656
|
+
getTypesContact(): Observable<IDictionaryTypeContact$1[]>;
|
|
657
|
+
getTypeContactById(id: string): Observable<IDictionaryTypeContact$1>;
|
|
658
|
+
getSystems(): Observable<IDictionarySystemDTO[]>;
|
|
659
|
+
getSystemById(id: string): Observable<IDictionarySystemDTO>;
|
|
660
|
+
postPermission(permissionRequest: IDictionaryPermission): Observable<number>;
|
|
661
|
+
postProfile(profileRequest: IDictionaryProfileRequest): Observable<number>;
|
|
662
|
+
postTypeContact(typeContactRequest: IDictionaryTypeContact$1): Observable<number>;
|
|
663
|
+
postSystem(system: IDictionarySystemDTO): Observable<string>;
|
|
664
|
+
deletePermission(id: number): Observable<boolean>;
|
|
665
|
+
deleteProfile(id: number): Observable<boolean>;
|
|
666
|
+
deleteTypeContact(id: number): Observable<boolean>;
|
|
667
|
+
deleteSystem(id: string): Observable<boolean>;
|
|
668
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiAccountDictionaryService, never>;
|
|
669
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiAccountDictionaryService>;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
interface IDictionaryVitalSign {
|
|
673
|
+
id?: string;
|
|
674
|
+
name?: string;
|
|
675
|
+
unitOfMeasure?: string;
|
|
676
|
+
isEnabled: boolean;
|
|
677
|
+
isVisible: boolean;
|
|
678
|
+
sort?: number;
|
|
679
|
+
referenceVitalSign?: IDictionaryVitalSign;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
interface IDictionaryTypeRecurrency {
|
|
683
|
+
id: number | null;
|
|
684
|
+
name: string | null;
|
|
685
|
+
isEnabled: boolean;
|
|
686
|
+
isVisible: boolean;
|
|
687
|
+
dayToAdd: number;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
interface IDictionaryRecurrencyResponse {
|
|
691
|
+
id: number;
|
|
692
|
+
startDate: Date;
|
|
693
|
+
endDate: Date;
|
|
694
|
+
number: number;
|
|
695
|
+
typeRecurrency: IDictionaryTypeRecurrency;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
interface IExamValueResponse {
|
|
699
|
+
id: string;
|
|
700
|
+
patientId: string;
|
|
701
|
+
vitalSign: IDictionaryVitalSign;
|
|
702
|
+
examDate: Date;
|
|
703
|
+
receivedDate: Date;
|
|
704
|
+
value: string | null;
|
|
705
|
+
viewed: boolean;
|
|
706
|
+
examId: string;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
interface IPatientExamResponse {
|
|
710
|
+
id: string;
|
|
711
|
+
patientId: string;
|
|
712
|
+
vitalSign: IDictionaryVitalSign;
|
|
713
|
+
startDate: Date;
|
|
714
|
+
endDate: Date;
|
|
715
|
+
annotation: string | null;
|
|
716
|
+
accountProfileId: string;
|
|
717
|
+
telephone: string | null;
|
|
718
|
+
email: string | null;
|
|
719
|
+
toDo: boolean;
|
|
720
|
+
values: IExamValueResponse[] | null;
|
|
721
|
+
recurrency: IDictionaryRecurrencyResponse;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
interface IDictionaryRecurrencyRequest {
|
|
725
|
+
id: number | null;
|
|
726
|
+
startDate: string;
|
|
727
|
+
endDate: string;
|
|
728
|
+
typeId: number;
|
|
729
|
+
number: number;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
interface IPatientExamRequest {
|
|
733
|
+
id?: string;
|
|
734
|
+
patientId: string;
|
|
735
|
+
vitalSignId: string;
|
|
736
|
+
startDate: string;
|
|
737
|
+
endDate: string;
|
|
738
|
+
annotation?: string;
|
|
739
|
+
accountProfileId: string;
|
|
740
|
+
telephone?: string;
|
|
741
|
+
email?: string;
|
|
742
|
+
recurrency?: IDictionaryRecurrencyRequest;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
interface IExamValueRequest {
|
|
746
|
+
id: string | null;
|
|
747
|
+
examId: string | null;
|
|
748
|
+
patientId: string;
|
|
749
|
+
vitalSignId: string;
|
|
750
|
+
examDate: Date;
|
|
751
|
+
receivedDate: Date;
|
|
752
|
+
value: string | null;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
declare class ApiExamService {
|
|
756
|
+
private gateway;
|
|
757
|
+
endpoint: string;
|
|
758
|
+
constructor(gateway: string);
|
|
759
|
+
http: HttpClient;
|
|
760
|
+
getPatientExams(): Observable<IPatientExamResponse[]>;
|
|
761
|
+
getPatientExamsByParameters(patientId: string | "", vitalSignId: string | ""): Observable<IPatientExamRequest[]>;
|
|
762
|
+
getPatientExamByPatientId(patientid: string): Observable<IPatientExamResponse[]>;
|
|
763
|
+
getPatientExamVitalSignId(id: string): Observable<IPatientExamResponse>;
|
|
764
|
+
getExamValues(): Observable<IExamValueResponse[]>;
|
|
765
|
+
getExamValueByParameters(vitalSignId: string | "", patientId: string | ""): Observable<IExamValueResponse[]>;
|
|
766
|
+
getExamValueByVitalSignId(vitalSignId: string): Observable<IExamValueResponse>;
|
|
767
|
+
getExamValueByPatientId(patientId: string): Observable<IExamValueResponse[]>;
|
|
768
|
+
postPatientExams(patientExamRequest: IPatientExamRequest): Observable<string>;
|
|
769
|
+
postExamValue(examValueRequest: IExamValueRequest): Observable<string>;
|
|
770
|
+
setPatientExam(id: string): Observable<boolean>;
|
|
771
|
+
setExamValue(patientId: string): Observable<boolean>;
|
|
772
|
+
deletePatientExam(id: string): Observable<boolean>;
|
|
773
|
+
deleteExamValue(id: string): Observable<boolean>;
|
|
774
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiExamService, never>;
|
|
775
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiExamService>;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
interface IDictionaryTypeAppointment {
|
|
779
|
+
id: number | null;
|
|
780
|
+
name: string | null;
|
|
781
|
+
isEnabled: boolean;
|
|
782
|
+
isVisible: boolean;
|
|
783
|
+
dayToAdd: number;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
interface IPatientAppointmentResponse {
|
|
787
|
+
id: string;
|
|
788
|
+
patientId: string;
|
|
789
|
+
startDate: Date;
|
|
790
|
+
endDate: Date;
|
|
791
|
+
typeAppointment: IDictionaryTypeAppointment;
|
|
792
|
+
annotation: string | null;
|
|
793
|
+
accountProfileId: string;
|
|
794
|
+
structureDepartmentId: string | null;
|
|
795
|
+
telephone: string | null;
|
|
796
|
+
email: string | null;
|
|
797
|
+
toDo: boolean;
|
|
798
|
+
createDate: Date;
|
|
799
|
+
recurrency: IDictionaryRecurrencyResponse;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
interface IPatientAppointmentRequest {
|
|
803
|
+
id?: string;
|
|
804
|
+
patientId: string;
|
|
805
|
+
startDate: string;
|
|
806
|
+
endDate: string;
|
|
807
|
+
typeId: number;
|
|
808
|
+
annotation?: string;
|
|
809
|
+
accountProfileId: string;
|
|
810
|
+
structureDepartmentId?: string;
|
|
811
|
+
telephone?: string;
|
|
812
|
+
email?: string;
|
|
813
|
+
recurrency?: IDictionaryRecurrencyRequest;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
declare class ApiExamAppointmentService {
|
|
817
|
+
private gateway;
|
|
818
|
+
endpoint: string;
|
|
819
|
+
constructor(gateway: string);
|
|
820
|
+
http: HttpClient;
|
|
821
|
+
getPatientAppointments(): Observable<IPatientAppointmentResponse[]>;
|
|
822
|
+
getPatientAppointmentByParameters(patientId: string | "", accountProfileId: string | "", structureDepartmentId: string | "", typeId: number | ""): Observable<IPatientAppointmentResponse[]>;
|
|
823
|
+
getPatientAppointmentById(id: string): Observable<IPatientAppointmentResponse>;
|
|
824
|
+
getPatientAppointmentByPatientId(patientId: string): Observable<IPatientAppointmentResponse>;
|
|
825
|
+
getPatientAppointmentByAccountProfileId(accountProfileId: string): Observable<IPatientAppointmentResponse[]>;
|
|
826
|
+
getPatientAppointmentByStructureDepartmentId(structureDepartmentId: string): Observable<IPatientAppointmentResponse>;
|
|
827
|
+
getPatientAppointmentByTypeId(typeId: string): Observable<IPatientAppointmentResponse>;
|
|
828
|
+
postPatientAppointment(patientAppointmentRequest: IPatientAppointmentRequest): Observable<string>;
|
|
829
|
+
deletePatientAppointment(id: string): Observable<boolean>;
|
|
830
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiExamAppointmentService, never>;
|
|
831
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiExamAppointmentService>;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
interface IDictionaryTarget {
|
|
835
|
+
id: string;
|
|
836
|
+
vitalSign: IDictionaryVitalSign;
|
|
837
|
+
defaultMinValue: string | null;
|
|
838
|
+
defaultMaxValue: string | null;
|
|
839
|
+
step: number;
|
|
840
|
+
percentage: boolean;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
interface IDictionaryTypeComponentDTO {
|
|
844
|
+
id?: number;
|
|
845
|
+
name?: string;
|
|
846
|
+
isEnabled: boolean;
|
|
847
|
+
isVisible: boolean;
|
|
848
|
+
createDate: Date;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
interface IDictionaryComponentResponse {
|
|
852
|
+
id: string;
|
|
853
|
+
name?: string;
|
|
854
|
+
identifier?: string;
|
|
855
|
+
typeComponent: IDictionaryTypeComponentDTO;
|
|
856
|
+
brand?: string;
|
|
857
|
+
model?: string;
|
|
858
|
+
macAddress?: string;
|
|
859
|
+
bluetoothName?: string;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
interface IDictionaryKitResponse {
|
|
863
|
+
id: string;
|
|
864
|
+
kitIdentifier?: string;
|
|
865
|
+
createDate: Date;
|
|
866
|
+
isEnabled: boolean;
|
|
867
|
+
isVisible: boolean;
|
|
868
|
+
components?: IDictionaryComponentResponse[];
|
|
869
|
+
video?: boolean;
|
|
870
|
+
departmentId?: string;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
interface IDictionaryKitRequest {
|
|
874
|
+
id?: string;
|
|
875
|
+
kitIdentifier?: string;
|
|
876
|
+
isEnabled: boolean;
|
|
877
|
+
isVisible: boolean;
|
|
878
|
+
components?: string[];
|
|
879
|
+
video?: boolean;
|
|
880
|
+
departmentId?: string;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
interface IDictionaryComponentRequest {
|
|
884
|
+
id?: string;
|
|
885
|
+
name?: string;
|
|
886
|
+
identifier?: string;
|
|
887
|
+
typeId: number;
|
|
888
|
+
brand?: string;
|
|
889
|
+
model?: string;
|
|
890
|
+
macAddress?: string;
|
|
891
|
+
bluetoothName?: string;
|
|
892
|
+
ipAddress?: string;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
interface IDictionaryTargetRequest {
|
|
896
|
+
id?: string;
|
|
897
|
+
vitalSignId: string;
|
|
898
|
+
defaultMinValue?: string;
|
|
899
|
+
defaultMaxValue?: string;
|
|
900
|
+
step: number;
|
|
901
|
+
percentage: boolean;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
interface IRiskDefaultTargetResponse {
|
|
905
|
+
id: number;
|
|
906
|
+
target: IDictionaryTarget[];
|
|
907
|
+
minValue?: string;
|
|
908
|
+
maxValue?: string;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
interface IDictionaryRiskResponse {
|
|
912
|
+
id: string;
|
|
913
|
+
name?: string;
|
|
914
|
+
createDate: Date;
|
|
915
|
+
isEnabled: boolean;
|
|
916
|
+
isVisible: boolean;
|
|
917
|
+
values?: IRiskDefaultTargetResponse[];
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
interface IRiskDefaultTargetRequest {
|
|
921
|
+
id?: number;
|
|
922
|
+
riskId: string;
|
|
923
|
+
targetId: string;
|
|
924
|
+
minValue?: string;
|
|
925
|
+
maxValue?: string;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
interface IDictionaryRiskRequest {
|
|
929
|
+
id?: string;
|
|
930
|
+
name?: string;
|
|
931
|
+
isEnabled: boolean;
|
|
932
|
+
isVisible: boolean;
|
|
933
|
+
values?: IRiskDefaultTargetRequest[];
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
declare class ApiExamDictionaryService {
|
|
937
|
+
private gateway;
|
|
938
|
+
endpoint: string;
|
|
939
|
+
constructor(gateway: string);
|
|
940
|
+
http: HttpClient;
|
|
941
|
+
getRecurrencies(): Observable<IDictionaryRecurrencyResponse[]>;
|
|
942
|
+
getRecurrencyById(id: number): Observable<IDictionaryRecurrencyResponse>;
|
|
943
|
+
getTypesRecurrency(): Observable<IDictionaryTypeRecurrency[]>;
|
|
944
|
+
getTypeRecurrencyById(id: number): Observable<IDictionaryTypeRecurrency>;
|
|
945
|
+
getVitalSigns(): Observable<IDictionaryVitalSign[]>;
|
|
946
|
+
getVitalSignById(id: string): Observable<IDictionaryVitalSign>;
|
|
947
|
+
getTypesAppointment(): Observable<IDictionaryTypeAppointment[]>;
|
|
948
|
+
getTypeAppointmentById(id: number): Observable<IDictionaryTypeAppointment>;
|
|
949
|
+
getTargets(): Observable<IDictionaryTarget[]>;
|
|
950
|
+
getTargetById(targetId: string): Observable<IDictionaryTarget>;
|
|
951
|
+
getTargetByVitalSignId(vitalSignId: string): Observable<IDictionaryTarget[]>;
|
|
952
|
+
getTargetByParameters(vitalSignId: string | '', targetId: string | ''): Observable<IDictionaryTarget>;
|
|
953
|
+
getKits(): Observable<IDictionaryKitResponse[]>;
|
|
954
|
+
getKitById(id: string): Observable<IDictionaryKitResponse>;
|
|
955
|
+
getComponents(): Observable<IDictionaryComponentResponse[]>;
|
|
956
|
+
getComponentById(id: string): Observable<IDictionaryComponentResponse>;
|
|
957
|
+
getComponentsByType(type: number): Observable<IDictionaryComponentResponse[]>;
|
|
958
|
+
getComponentByParameters(id: string, type: number): Observable<IDictionaryComponentResponse>;
|
|
959
|
+
getTypeComponent(): Observable<IDictionaryTypeComponentDTO[]>;
|
|
960
|
+
getTypeComponentById(id: number): Observable<IDictionaryTypeComponentDTO>;
|
|
961
|
+
getRisks(): Observable<IDictionaryRiskResponse[]>;
|
|
962
|
+
getRiskById(id: string): Observable<IDictionaryRiskResponse>;
|
|
963
|
+
postRecurrency(recurrencyRequest: IDictionaryRecurrencyRequest): Observable<number>;
|
|
964
|
+
postTypeRecurrency(typeRecurrencyRequest: IDictionaryTypeRecurrency): Observable<number>;
|
|
965
|
+
postVitalSign(vitalSignRequest: IDictionaryVitalSign): Observable<number>;
|
|
966
|
+
postTypeAppointment(typeAppointmentRequest: IDictionaryTypeAppointment): Observable<number>;
|
|
967
|
+
postTarget(targetRequest: IDictionaryTargetRequest): Observable<string>;
|
|
968
|
+
postComponent(componentRequest: IDictionaryComponentRequest): Observable<string>;
|
|
969
|
+
postKit(kitRequest: IDictionaryKitRequest): Observable<string>;
|
|
970
|
+
postRisk(riskRequest: IDictionaryRiskRequest): Observable<string>;
|
|
971
|
+
deleteRecurrency(id: number): Observable<boolean>;
|
|
972
|
+
deleteTypeRecurrency(id: number): Observable<boolean>;
|
|
973
|
+
deleteVitalSign(id: string): Observable<boolean>;
|
|
974
|
+
deleteTypeAppointment(id: number): Observable<boolean>;
|
|
975
|
+
deleteTarget(targetId: string): Observable<boolean>;
|
|
976
|
+
deleteKit(id: string): Observable<boolean>;
|
|
977
|
+
deleteRisk(id: string): Observable<boolean>;
|
|
978
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiExamDictionaryService, never>;
|
|
979
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiExamDictionaryService>;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
interface IPatientKitResponse {
|
|
983
|
+
id: string;
|
|
984
|
+
kit: IDictionaryKitResponse;
|
|
985
|
+
patientId: string;
|
|
986
|
+
createDate: Date;
|
|
987
|
+
status: boolean;
|
|
988
|
+
assignDate: Date;
|
|
989
|
+
expireDate: Date;
|
|
990
|
+
isCalibrated?: boolean;
|
|
991
|
+
floor?: string;
|
|
992
|
+
room?: string;
|
|
993
|
+
bed?: string;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
interface IPatientKitRequest {
|
|
997
|
+
id?: string;
|
|
998
|
+
patientId: string;
|
|
999
|
+
kitId: string;
|
|
1000
|
+
assignDate?: string;
|
|
1001
|
+
expireDate?: string;
|
|
1002
|
+
floor?: string;
|
|
1003
|
+
room?: string;
|
|
1004
|
+
bed?: string;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
declare class ApiKitService {
|
|
1008
|
+
private gateway;
|
|
1009
|
+
endpoint: string;
|
|
1010
|
+
constructor(gateway: string);
|
|
1011
|
+
http: HttpClient;
|
|
1012
|
+
getPatientKit(): Observable<IPatientKitResponse[]>;
|
|
1013
|
+
getPatientKitByParameters(id: string, patientId: string): Observable<IPatientKitResponse>;
|
|
1014
|
+
getPatientKitById(id: string): Observable<IPatientKitResponse>;
|
|
1015
|
+
getPatientKitByPatientId(patientId: string): Observable<IPatientKitResponse[]>;
|
|
1016
|
+
postPatientKit(patientKitRequest: IPatientKitRequest): Observable<string>;
|
|
1017
|
+
setPatientKit(id: string): Observable<boolean>;
|
|
1018
|
+
deletePatientKit(id: string): Observable<boolean>;
|
|
1019
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiKitService, never>;
|
|
1020
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiKitService>;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
interface ICountryResponse {
|
|
1024
|
+
id: string;
|
|
1025
|
+
name: string;
|
|
1026
|
+
code: string;
|
|
1027
|
+
iso: string;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
interface IRegionResponse {
|
|
1031
|
+
id: string;
|
|
1032
|
+
name: string;
|
|
1033
|
+
code: string;
|
|
1034
|
+
istatCode: string;
|
|
1035
|
+
iso: string;
|
|
1036
|
+
country: ICountryResponse;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
interface IProvinceResponse {
|
|
1040
|
+
id: string;
|
|
1041
|
+
name: string;
|
|
1042
|
+
code: string;
|
|
1043
|
+
istatCode: string;
|
|
1044
|
+
iso: string;
|
|
1045
|
+
symbol: string;
|
|
1046
|
+
region: IRegionResponse;
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
interface ICommonResponse {
|
|
1050
|
+
id: string;
|
|
1051
|
+
name: string;
|
|
1052
|
+
code: string;
|
|
1053
|
+
latitude: string;
|
|
1054
|
+
longitute: string;
|
|
1055
|
+
istatCode: string;
|
|
1056
|
+
registryCode: string;
|
|
1057
|
+
province: IProvinceResponse;
|
|
1058
|
+
abroadCountry: ICountryResponse;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
interface IAslResponse {
|
|
1062
|
+
id: string;
|
|
1063
|
+
name: string;
|
|
1064
|
+
code: string;
|
|
1065
|
+
email: string;
|
|
1066
|
+
telephone: string;
|
|
1067
|
+
latitude: string;
|
|
1068
|
+
longitute: string;
|
|
1069
|
+
common: ICommonResponse;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
interface IDistrictResponse {
|
|
1073
|
+
id: string;
|
|
1074
|
+
name: string;
|
|
1075
|
+
code: string;
|
|
1076
|
+
email: string;
|
|
1077
|
+
telephone: string;
|
|
1078
|
+
asl: IAslResponse;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
interface IAslRequest {
|
|
1082
|
+
id: string;
|
|
1083
|
+
name: string;
|
|
1084
|
+
code: string;
|
|
1085
|
+
email: string;
|
|
1086
|
+
telephone: string;
|
|
1087
|
+
latitude: string;
|
|
1088
|
+
longitute: string;
|
|
1089
|
+
commonId: string;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
interface IDistrictRequest {
|
|
1093
|
+
id: string;
|
|
1094
|
+
name: string;
|
|
1095
|
+
code: string;
|
|
1096
|
+
email: string;
|
|
1097
|
+
telephone: string;
|
|
1098
|
+
aslId: string;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
interface ICommonRequest {
|
|
1102
|
+
id: string;
|
|
1103
|
+
name: string;
|
|
1104
|
+
code: string;
|
|
1105
|
+
latitude: string;
|
|
1106
|
+
longitute: string;
|
|
1107
|
+
istatCode: string;
|
|
1108
|
+
registryCode: string;
|
|
1109
|
+
provinceId: string;
|
|
1110
|
+
abroadCountryId: string;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
interface ICountryRequest {
|
|
1114
|
+
id: string;
|
|
1115
|
+
name: string;
|
|
1116
|
+
code: string;
|
|
1117
|
+
iso: string;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
interface IProvinceRequest {
|
|
1121
|
+
id: string;
|
|
1122
|
+
name: string;
|
|
1123
|
+
code: string;
|
|
1124
|
+
istatCode: string;
|
|
1125
|
+
iso: string;
|
|
1126
|
+
symbol: string;
|
|
1127
|
+
regionId: string;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
interface IRegionRequest {
|
|
1131
|
+
id: string;
|
|
1132
|
+
name: string;
|
|
1133
|
+
code: string;
|
|
1134
|
+
istatCode: string;
|
|
1135
|
+
iso: string;
|
|
1136
|
+
countryId: string;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
declare class ApiGeographyService {
|
|
1140
|
+
private gateway;
|
|
1141
|
+
endpoint: string;
|
|
1142
|
+
constructor(gateway: string);
|
|
1143
|
+
http: HttpClient;
|
|
1144
|
+
getAsls(): Observable<IAslResponse[]>;
|
|
1145
|
+
getAslById(id: string): Observable<IAslResponse>;
|
|
1146
|
+
getAslByName(name: string): Observable<IAslResponse>;
|
|
1147
|
+
getAslByCommonId(commonId: string): Observable<IAslResponse[]>;
|
|
1148
|
+
getDistricts(): Observable<IDistrictResponse[]>;
|
|
1149
|
+
getDistrictById(id: string): Observable<IDistrictResponse>;
|
|
1150
|
+
getDistrictByName(name: string): Observable<IDistrictResponse>;
|
|
1151
|
+
getDistrictByAslId(aslId: string): Observable<IDistrictResponse[]>;
|
|
1152
|
+
getCommons(): Observable<ICommonResponse[]>;
|
|
1153
|
+
getCommonByParameters(provinceId: string | "", regionId: string | ""): Observable<ICommonResponse[]>;
|
|
1154
|
+
getCommonById(id: string): Observable<ICommonResponse>;
|
|
1155
|
+
getCommonByName(name: string): Observable<ICommonResponse>;
|
|
1156
|
+
getCommonByProvinceId(provinceId: string): Observable<ICommonResponse[]>;
|
|
1157
|
+
getCommonByRegionId(regionId: string): Observable<ICommonResponse[]>;
|
|
1158
|
+
getCountries(): Observable<ICountryResponse[]>;
|
|
1159
|
+
getCountryById(id: string): Observable<ICountryResponse>;
|
|
1160
|
+
getCountryByName(name: string): Observable<ICountryResponse>;
|
|
1161
|
+
getProvinces(): Observable<IProvinceResponse[]>;
|
|
1162
|
+
getProvinceById(id: string): Observable<IProvinceResponse>;
|
|
1163
|
+
getProvinceByName(name: string): Observable<IProvinceResponse>;
|
|
1164
|
+
getProvinceByRegionId(regionId: string): Observable<IProvinceResponse[]>;
|
|
1165
|
+
getRegions(): Observable<IRegionResponse[]>;
|
|
1166
|
+
getRegionById(id: string): Observable<IRegionResponse>;
|
|
1167
|
+
getRegionByName(name: string): Observable<IRegionResponse>;
|
|
1168
|
+
getRegionByCountryId(countryId: string): Observable<IRegionResponse[]>;
|
|
1169
|
+
postAsl(aslRequest: IAslRequest): Observable<string>;
|
|
1170
|
+
postDistrict(districtRequest: IDistrictRequest): Observable<string>;
|
|
1171
|
+
postCommon(commonRequest: ICommonRequest): Observable<string>;
|
|
1172
|
+
postCountry(countryRequest: ICountryRequest): Observable<string>;
|
|
1173
|
+
postProvince(provinceRequest: IProvinceRequest): Observable<string>;
|
|
1174
|
+
postRegion(regionRequest: IRegionRequest): Observable<string>;
|
|
1175
|
+
deleteAsl(id: string): Observable<boolean>;
|
|
1176
|
+
deleteDistrict(id: string): Observable<boolean>;
|
|
1177
|
+
deleteCommon(id: string): Observable<boolean>;
|
|
1178
|
+
deleteCountry(id: string): Observable<boolean>;
|
|
1179
|
+
deleteProvince(id: string): Observable<boolean>;
|
|
1180
|
+
deleteRegion(id: string): Observable<boolean>;
|
|
1181
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiGeographyService, never>;
|
|
1182
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiGeographyService>;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
interface IPatientDataRequest {
|
|
1186
|
+
id: string;
|
|
1187
|
+
name?: string;
|
|
1188
|
+
lastName?: string;
|
|
1189
|
+
gender?: string;
|
|
1190
|
+
birthDate: Date;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
interface IPatientIdentifierRequest {
|
|
1194
|
+
patientId: string;
|
|
1195
|
+
identifierId: number;
|
|
1196
|
+
value?: string;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
interface IPatientContactRequest {
|
|
1200
|
+
id?: number;
|
|
1201
|
+
patientId: string;
|
|
1202
|
+
contactId: number;
|
|
1203
|
+
value?: string;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
interface IPatientIdentifierResponse {
|
|
1207
|
+
patientId: string;
|
|
1208
|
+
identifierId: number;
|
|
1209
|
+
value?: string;
|
|
1210
|
+
createDate: Date;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
interface IPatientContactResponse {
|
|
1214
|
+
id: number;
|
|
1215
|
+
patientId: string;
|
|
1216
|
+
contactId: number;
|
|
1217
|
+
value?: string;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
interface IPatientAddressResponse {
|
|
1221
|
+
patientId: string;
|
|
1222
|
+
typeAddressId: number;
|
|
1223
|
+
fullAddress?: string;
|
|
1224
|
+
address?: string;
|
|
1225
|
+
cap?: string;
|
|
1226
|
+
commonId?: string;
|
|
1227
|
+
room?: string;
|
|
1228
|
+
bed?: string;
|
|
1229
|
+
floor?: string;
|
|
1230
|
+
departmentId?: string;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
interface IPatientAddressRequest {
|
|
1234
|
+
patientId: string;
|
|
1235
|
+
addressId: number;
|
|
1236
|
+
fullAddress?: string;
|
|
1237
|
+
address?: string;
|
|
1238
|
+
cap?: string;
|
|
1239
|
+
commonId?: string;
|
|
1240
|
+
room?: string;
|
|
1241
|
+
bed?: string;
|
|
1242
|
+
floor?: string;
|
|
1243
|
+
departmentId?: string;
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
declare class ApiAdministrationService {
|
|
1247
|
+
private gateway;
|
|
1248
|
+
endpoint: string;
|
|
1249
|
+
constructor(gateway: string);
|
|
1250
|
+
http: HttpClient;
|
|
1251
|
+
getPatientIdentifiers(): Observable<IPatientIdentifierResponse[]>;
|
|
1252
|
+
getPatientIdentifierByParameters(patientId: string | '', identifierId: number | 0): Observable<IPatientIdentifierResponse[]>;
|
|
1253
|
+
getPatientContacts(): Observable<IPatientContactResponse[]>;
|
|
1254
|
+
getPatientContactByParameters(patientId: string | '', contactId: number | 0): Observable<IPatientContactResponse[]>;
|
|
1255
|
+
getPatientAddresses(): Observable<IPatientAddressResponse[]>;
|
|
1256
|
+
getPatientAddressByParameters(patientId: string | '', addressId: number | 0): Observable<IPatientAddressResponse[]>;
|
|
1257
|
+
postPatientData(patientDataRequest: IPatientDataRequest): Observable<boolean>;
|
|
1258
|
+
postPatientIdentifier(patientIdentifierRequest: IPatientIdentifierRequest): Observable<boolean>;
|
|
1259
|
+
postPatientContact(patientContactRequest: IPatientContactRequest): Observable<boolean>;
|
|
1260
|
+
postPatientAddress(patientAddressRequest: IPatientAddressRequest): Observable<boolean>;
|
|
1261
|
+
putPatientIdentifier(patientIdentifierRequest: IPatientIdentifierRequest): Observable<boolean>;
|
|
1262
|
+
putPatientContact(patientContactRequest: IPatientContactRequest): Observable<boolean>;
|
|
1263
|
+
putPatientAddress(patientAddressRequest: IPatientAddressRequest): Observable<boolean>;
|
|
1264
|
+
deletePatientIdentifier(patientId: string, identifierId: number): Observable<boolean>;
|
|
1265
|
+
deletePatientContact(contactId: number): Observable<boolean>;
|
|
1266
|
+
deletePatientAddress(patientId: string, typeAddressId: number): Observable<boolean>;
|
|
1267
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiAdministrationService, never>;
|
|
1268
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiAdministrationService>;
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
interface ITargetDTO {
|
|
1272
|
+
patientId?: string;
|
|
1273
|
+
targetId: string;
|
|
1274
|
+
minValue?: string;
|
|
1275
|
+
maxValue?: string;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
interface ICaregiverDTO {
|
|
1279
|
+
patientId?: string;
|
|
1280
|
+
name?: string;
|
|
1281
|
+
lastname?: string;
|
|
1282
|
+
fiscalcode?: string;
|
|
1283
|
+
telephone?: string;
|
|
1284
|
+
email?: string;
|
|
1285
|
+
annotation?: string;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
interface IDictionaryTypeAddress {
|
|
1289
|
+
id: number;
|
|
1290
|
+
name: string;
|
|
1291
|
+
isEnabled: boolean;
|
|
1292
|
+
isVisible: boolean;
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
interface IAddressResponse {
|
|
1296
|
+
fullAddress: string;
|
|
1297
|
+
address: string;
|
|
1298
|
+
cap: string;
|
|
1299
|
+
commonId: number;
|
|
1300
|
+
type: IDictionaryTypeAddress;
|
|
1301
|
+
room?: string;
|
|
1302
|
+
bed?: string;
|
|
1303
|
+
floor?: string;
|
|
1304
|
+
departmentId?: string;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
interface IDictionaryTypeContact {
|
|
1308
|
+
id: number;
|
|
1309
|
+
name: string;
|
|
1310
|
+
isEnabled: boolean;
|
|
1311
|
+
isVisible: boolean;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
interface IContactResponse {
|
|
1315
|
+
id: number;
|
|
1316
|
+
contactId: number;
|
|
1317
|
+
value: string;
|
|
1318
|
+
type: IDictionaryTypeContact;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
interface IDoctorResponse {
|
|
1322
|
+
doctorName: string;
|
|
1323
|
+
doctorLastname: string;
|
|
1324
|
+
doctorFiscalcode: string;
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
interface IDictionaryIdentifier {
|
|
1328
|
+
id: number;
|
|
1329
|
+
name: string;
|
|
1330
|
+
isEnabled: boolean;
|
|
1331
|
+
isVisible: boolean;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
interface IIdentifierResponse {
|
|
1335
|
+
value: string;
|
|
1336
|
+
type: IDictionaryIdentifier;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
interface IDictionarySetting {
|
|
1340
|
+
id?: string;
|
|
1341
|
+
name?: string;
|
|
1342
|
+
sender: boolean;
|
|
1343
|
+
receiver: boolean;
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
interface IDictionarySettingStatus {
|
|
1347
|
+
id?: number;
|
|
1348
|
+
name?: string;
|
|
1349
|
+
isEnabled: boolean;
|
|
1350
|
+
isVisible: boolean;
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
interface ISettingResponse {
|
|
1354
|
+
id: number;
|
|
1355
|
+
patientId: string;
|
|
1356
|
+
sender: IDictionarySetting;
|
|
1357
|
+
receiver: IDictionarySetting;
|
|
1358
|
+
status: IDictionarySettingStatus;
|
|
1359
|
+
date: Date;
|
|
1360
|
+
isActive: boolean;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
interface IRiskDTO {
|
|
1364
|
+
patientId?: string;
|
|
1365
|
+
riskId: string;
|
|
1366
|
+
createDate?: Date;
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
interface IPatientResponse {
|
|
1370
|
+
id: string;
|
|
1371
|
+
name: string;
|
|
1372
|
+
lastname: string;
|
|
1373
|
+
gender: string;
|
|
1374
|
+
birthDate: Date;
|
|
1375
|
+
inBed?: boolean;
|
|
1376
|
+
doctors: IDoctorResponse[];
|
|
1377
|
+
contacts: IContactResponse[];
|
|
1378
|
+
identifiers: IIdentifierResponse[];
|
|
1379
|
+
addresses?: IAddressResponse[];
|
|
1380
|
+
settings: ISettingResponse[];
|
|
1381
|
+
caregiver: ICaregiverDTO;
|
|
1382
|
+
targets: ITargetDTO[];
|
|
1383
|
+
risk: IRiskDTO;
|
|
1384
|
+
createDate: Date;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
interface IAddressRequest {
|
|
1388
|
+
patientId?: string;
|
|
1389
|
+
typeId: number;
|
|
1390
|
+
fullAddress?: string;
|
|
1391
|
+
address?: string;
|
|
1392
|
+
cap?: string;
|
|
1393
|
+
commonId?: string;
|
|
1394
|
+
room?: string;
|
|
1395
|
+
bed?: string;
|
|
1396
|
+
floor?: string;
|
|
1397
|
+
departmentId?: string;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
interface IContactsRequest {
|
|
1401
|
+
id?: number;
|
|
1402
|
+
patientId?: string;
|
|
1403
|
+
contactId: number;
|
|
1404
|
+
value?: string;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
interface IDoctorRequest {
|
|
1408
|
+
patientId?: string;
|
|
1409
|
+
doctorName?: string;
|
|
1410
|
+
doctorLastname?: string;
|
|
1411
|
+
doctorFiscalcode?: string;
|
|
1412
|
+
telephone?: string;
|
|
1413
|
+
accountId?: string;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
interface IIdentifierRequest {
|
|
1417
|
+
patientId?: string;
|
|
1418
|
+
identifierId: number;
|
|
1419
|
+
value?: string;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
interface ISettingRequest {
|
|
1423
|
+
id?: number;
|
|
1424
|
+
patientId: string;
|
|
1425
|
+
senderId?: string;
|
|
1426
|
+
receiverId?: string;
|
|
1427
|
+
statusId?: number;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
interface IPatientRequest {
|
|
1431
|
+
id?: string;
|
|
1432
|
+
name?: string;
|
|
1433
|
+
lastname?: string;
|
|
1434
|
+
gender?: string;
|
|
1435
|
+
birthDate?: Date;
|
|
1436
|
+
doctors?: IDoctorRequest[];
|
|
1437
|
+
contacts?: IContactsRequest[];
|
|
1438
|
+
identifiers?: IIdentifierRequest[];
|
|
1439
|
+
addresses?: IAddressRequest[];
|
|
1440
|
+
settings?: ISettingRequest[];
|
|
1441
|
+
caregiver?: ICaregiverDTO;
|
|
1442
|
+
targets?: ITargetDTO[];
|
|
1443
|
+
risk?: IRiskDTO;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
interface ITargetResponse {
|
|
1447
|
+
patientId: string;
|
|
1448
|
+
targetId: string;
|
|
1449
|
+
minValue: string | null;
|
|
1450
|
+
maxValue: string | null;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
interface IDictionaryTypeAnnotation {
|
|
1454
|
+
id?: number;
|
|
1455
|
+
name?: string;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
interface IAnnotationResponse {
|
|
1459
|
+
id: string;
|
|
1460
|
+
accountProfileId: string;
|
|
1461
|
+
typeAnnotation: IDictionaryTypeAnnotation;
|
|
1462
|
+
date: string;
|
|
1463
|
+
text?: string;
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
interface IAnnotationRequest {
|
|
1467
|
+
patientId: string;
|
|
1468
|
+
accountProfileId: string;
|
|
1469
|
+
typeId: number;
|
|
1470
|
+
text?: string;
|
|
1471
|
+
}
|
|
1472
|
+
|
|
1473
|
+
interface IDictionaryTypeEventDTO {
|
|
1474
|
+
id?: string;
|
|
1475
|
+
name?: string;
|
|
1476
|
+
code?: string;
|
|
1477
|
+
icon?: string;
|
|
1478
|
+
haveImage: boolean;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
interface IAlertResponse {
|
|
1482
|
+
id: string;
|
|
1483
|
+
patient: IPatientResponse;
|
|
1484
|
+
date: string;
|
|
1485
|
+
eventType: IDictionaryTypeEventDTO;
|
|
1486
|
+
annotation?: string;
|
|
1487
|
+
value?: string;
|
|
1488
|
+
priority?: string;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
declare class ApiPatientService {
|
|
1492
|
+
private gateway;
|
|
1493
|
+
endpoint: string;
|
|
1494
|
+
constructor(gateway: string);
|
|
1495
|
+
http: HttpClient;
|
|
1496
|
+
getPatients(): Observable<IPatientResponse[]>;
|
|
1497
|
+
getPatientById(id: string): Observable<IPatientResponse>;
|
|
1498
|
+
getPatientByFiscalCode(fiscalcode: string): Observable<IPatientResponse>;
|
|
1499
|
+
getTargets(): Observable<ITargetResponse[]>;
|
|
1500
|
+
getTargetByPatientId(patientId: string): Observable<ITargetResponse[]>;
|
|
1501
|
+
getTargetByParameters(patientId: string | '', targetId: string | ''): Observable<ITargetResponse[]>;
|
|
1502
|
+
getSettings(): Observable<ISettingResponse[]>;
|
|
1503
|
+
getSettingByPatientId(patientId: string): Observable<ISettingResponse[]>;
|
|
1504
|
+
getSettingById(id: number): Observable<ISettingResponse>;
|
|
1505
|
+
getCaregivers(): Observable<ICaregiverDTO[]>;
|
|
1506
|
+
getCaregiverById(id: string): Observable<ICaregiverDTO>;
|
|
1507
|
+
getNotes(): Observable<IAnnotationResponse[]>;
|
|
1508
|
+
getNotesByPatientId(patientId: string): Observable<IAnnotationResponse[]>;
|
|
1509
|
+
getLogs(): Observable<IAnnotationResponse[]>;
|
|
1510
|
+
getLogsByPatientId(patientId: string): Observable<IAnnotationResponse[]>;
|
|
1511
|
+
getAlerts(): Observable<IAlertResponse[]>;
|
|
1512
|
+
getAlertsByPatientId(patientId: string): Observable<IAlertResponse[]>;
|
|
1513
|
+
postPatient(patientRequest: IPatientRequest): Observable<number>;
|
|
1514
|
+
postTarget(targetRequest: ITargetResponse): Observable<boolean>;
|
|
1515
|
+
postSetting(settingRequest: ISettingRequest): Observable<number>;
|
|
1516
|
+
postCaregiver(dictionaryCaregiver: ICaregiverDTO): Observable<boolean>;
|
|
1517
|
+
postNote(annotationRequest: IAnnotationRequest): Observable<string>;
|
|
1518
|
+
postLog(annotationRequest: IAnnotationRequest): Observable<string>;
|
|
1519
|
+
postRisk(riskRequest: IRiskDTO): Observable<boolean>;
|
|
1520
|
+
putAlert(patientId: string): Observable<boolean>;
|
|
1521
|
+
deletePatient(id: string): Observable<boolean>;
|
|
1522
|
+
deleteSetting(id: number): Observable<boolean>;
|
|
1523
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiPatientService, never>;
|
|
1524
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiPatientService>;
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
declare class ApiPatientDictionaryService {
|
|
1528
|
+
private gateway;
|
|
1529
|
+
endpoint: string;
|
|
1530
|
+
constructor(gateway: string);
|
|
1531
|
+
http: HttpClient;
|
|
1532
|
+
getIdentifiers(): Observable<IDictionaryIdentifier[]>;
|
|
1533
|
+
getDictionaryIdentifierById(identifierId: number): Observable<IDictionaryIdentifier>;
|
|
1534
|
+
getDictionaryTypesAddress(): Observable<IDictionaryTypeAddress[]>;
|
|
1535
|
+
getDictionaryTypeAddressById(addressId: number): Observable<IDictionaryTypeAddress>;
|
|
1536
|
+
getDictionaryTypesContact(): Observable<IDictionaryTypeContact[]>;
|
|
1537
|
+
getDictionaryTypeContactById(contactId: number): Observable<IDictionaryTypeContact>;
|
|
1538
|
+
getSettingBySenderReceiver(sender: boolean, receiver: boolean): Observable<IDictionarySetting[]>;
|
|
1539
|
+
getSettingById(id: string): Observable<IDictionarySetting>;
|
|
1540
|
+
getSettingStatus(): Observable<IDictionarySettingStatus[]>;
|
|
1541
|
+
getSettingStatusById(id: number): Observable<IDictionarySettingStatus>;
|
|
1542
|
+
getTypeEvent(): Observable<IDictionaryTypeEventDTO[]>;
|
|
1543
|
+
getTypeEventByCode(code: string): Observable<IDictionaryTypeEventDTO>;
|
|
1544
|
+
getTypeEventById(id: string): Observable<IDictionaryTypeEventDTO>;
|
|
1545
|
+
postDictionaryIdentifier(dictionaryIdentifierRequest: IDictionaryIdentifier): Observable<number>;
|
|
1546
|
+
postDictionaryTypeAddress(dictionaryTypeAddressRequest: IDictionaryTypeAddress): Observable<number>;
|
|
1547
|
+
postDictionaryTypeContact(dictionaryTypeContactRequest: IDictionaryTypeContact): Observable<number>;
|
|
1548
|
+
postDictionarySetting(dictionarySetting: IDictionarySetting): Observable<string>;
|
|
1549
|
+
postDictionarySettingStatus(dictionarySettingStatus: IDictionarySettingStatus): Observable<number>;
|
|
1550
|
+
deleteIdentifier(identifierId: number): Observable<boolean>;
|
|
1551
|
+
deleteTypeAddress(addressId: number): Observable<boolean>;
|
|
1552
|
+
deleteTypeContact(contactId: number): Observable<boolean>;
|
|
1553
|
+
deleteSetting(id: string): Observable<boolean>;
|
|
1554
|
+
deleteStatus(id: number): Observable<boolean>;
|
|
1555
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiPatientDictionaryService, never>;
|
|
1556
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiPatientDictionaryService>;
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
interface IDictionaryPriority {
|
|
1560
|
+
id: number;
|
|
1561
|
+
name: string;
|
|
1562
|
+
isEnabled: boolean;
|
|
1563
|
+
isVisible: boolean;
|
|
1564
|
+
}
|
|
1565
|
+
|
|
1566
|
+
interface IDictionaryTypeRequest {
|
|
1567
|
+
id: number;
|
|
1568
|
+
name: string;
|
|
1569
|
+
isEnabled: boolean;
|
|
1570
|
+
isVisible: boolean;
|
|
1571
|
+
subTypeName: string;
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
interface IDTOEpicrisis {
|
|
1575
|
+
anamnesis: string;
|
|
1576
|
+
objectiveExam: string;
|
|
1577
|
+
diagnosticQuestion: string;
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
interface IDTOKey {
|
|
1581
|
+
id: string;
|
|
1582
|
+
patientId: string;
|
|
1583
|
+
accessId: string;
|
|
1584
|
+
requestId: string;
|
|
1585
|
+
patientPsId: string;
|
|
1586
|
+
origin: string;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
interface IDictionaryOutcome {
|
|
1590
|
+
id: number;
|
|
1591
|
+
name: string;
|
|
1592
|
+
isEnabled: boolean;
|
|
1593
|
+
isVisible: boolean;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
interface IOutcomeResponse {
|
|
1597
|
+
accountProfileId: string;
|
|
1598
|
+
outcome: IDictionaryOutcome;
|
|
1599
|
+
outcomeText: string;
|
|
1600
|
+
date: Date;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
interface IDictionaryStatus {
|
|
1604
|
+
id: number;
|
|
1605
|
+
name: string;
|
|
1606
|
+
isEnabled: boolean;
|
|
1607
|
+
isVisible: boolean;
|
|
1608
|
+
}
|
|
1609
|
+
|
|
1610
|
+
interface IStatusResponse {
|
|
1611
|
+
id: number;
|
|
1612
|
+
status: IDictionaryStatus;
|
|
1613
|
+
accountProfileId: string;
|
|
1614
|
+
date: Date;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
interface ISurveyResponse {
|
|
1618
|
+
surveyId: string;
|
|
1619
|
+
createDate: Date;
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
interface IRequestResponse {
|
|
1623
|
+
key: IDTOKey;
|
|
1624
|
+
type: IDictionaryTypeRequest;
|
|
1625
|
+
status: IStatusResponse[];
|
|
1626
|
+
outcome: IOutcomeResponse;
|
|
1627
|
+
priority: IDictionaryPriority;
|
|
1628
|
+
epicrisi: IDTOEpicrisis;
|
|
1629
|
+
surveys: ISurveyResponse[];
|
|
1630
|
+
hubId: string;
|
|
1631
|
+
spokeId: string;
|
|
1632
|
+
departmentId: string;
|
|
1633
|
+
accountSpoke: string;
|
|
1634
|
+
date: Date;
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
interface IRequestRequest {
|
|
1638
|
+
key: string;
|
|
1639
|
+
keyData: IDTOKey;
|
|
1640
|
+
accountId: string;
|
|
1641
|
+
profileId: string;
|
|
1642
|
+
typeId: number;
|
|
1643
|
+
hubId: string;
|
|
1644
|
+
spokeId: string;
|
|
1645
|
+
departmentId: string;
|
|
1646
|
+
priorityId: number;
|
|
1647
|
+
accountSpoke: string;
|
|
1648
|
+
epicrisi: IDTOEpicrisis;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
declare class ApiRequestService {
|
|
1652
|
+
private gateway;
|
|
1653
|
+
endpoint: string;
|
|
1654
|
+
constructor(gateway: string);
|
|
1655
|
+
http: HttpClient;
|
|
1656
|
+
getRequests(): Observable<IRequestResponse[]>;
|
|
1657
|
+
getRequestByParameters(statusId: string | "", typeId: string | ""): Observable<IRequestResponse[]>;
|
|
1658
|
+
getRequestByKey(key: string): Observable<IRequestResponse>;
|
|
1659
|
+
getRequestsByStatus(statusId: string): Observable<IRequestResponse>;
|
|
1660
|
+
getRequestByType(typeId: number): Observable<IRequestResponse>;
|
|
1661
|
+
postRequest(requestRequest: IRequestRequest, accountProfileId: string | ""): Observable<string>;
|
|
1662
|
+
setRequestStatus(requestId: string, statusId: number, accountProfileId: string | ""): Observable<boolean>;
|
|
1663
|
+
deleteRequest(key: string): Observable<boolean>;
|
|
1664
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiRequestService, never>;
|
|
1665
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiRequestService>;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
interface IOutcomeRequestTypeResponse {
|
|
1669
|
+
id: string;
|
|
1670
|
+
outcome: IDictionaryOutcome;
|
|
1671
|
+
typeRequest: IDictionaryTypeRequest;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
interface IOutcomeRequestTypeRequest {
|
|
1675
|
+
id: number;
|
|
1676
|
+
outcomeId: number;
|
|
1677
|
+
typeRequestId: number;
|
|
1678
|
+
}
|
|
1679
|
+
|
|
1680
|
+
declare class ApiRequestDictionaryService {
|
|
1681
|
+
private gateway;
|
|
1682
|
+
endpoint: string;
|
|
1683
|
+
constructor(gateway: string);
|
|
1684
|
+
http: HttpClient;
|
|
1685
|
+
getKeys(): Observable<IDTOKey[]>;
|
|
1686
|
+
getKeyByParameters(patientId: string | "", accessId: string | "", requestId: string | "", spoke: string | ""): Observable<IDTOKey[]>;
|
|
1687
|
+
getKeyById(id: string): Observable<IDTOKey>;
|
|
1688
|
+
getKeyByPatientId(patientId: string): Observable<IDTOKey>;
|
|
1689
|
+
getKeyByAccessId(accessId: string): Observable<IDTOKey>;
|
|
1690
|
+
getKeyByRequestId(requestId: string): Observable<IDTOKey>;
|
|
1691
|
+
getKeyBySpoke(spoke: string): Observable<IDTOKey>;
|
|
1692
|
+
getOutcomes(): Observable<IDictionaryOutcome[]>;
|
|
1693
|
+
getOutcomeById(id: string): Observable<IDictionaryOutcome>;
|
|
1694
|
+
getStatus(): Observable<IDictionaryStatus[]>;
|
|
1695
|
+
getStatusById(id: string): Observable<IDictionaryStatus>;
|
|
1696
|
+
getTypesRequest(): Observable<IDictionaryTypeRequest[]>;
|
|
1697
|
+
getTypeRequestById(id: string): Observable<IDictionaryTypeRequest>;
|
|
1698
|
+
getTypeRequestOutcome(): Observable<IOutcomeRequestTypeResponse[]>;
|
|
1699
|
+
getTypeRequestOutcomeById(id: string): Observable<IOutcomeRequestTypeResponse>;
|
|
1700
|
+
getPriorities(): Observable<IDictionaryPriority[]>;
|
|
1701
|
+
getPriority(id: string): Observable<IDictionaryPriority>;
|
|
1702
|
+
postKey(dictionaryKey: IDTOKey): Observable<number>;
|
|
1703
|
+
postOutcome(dictionaryOutcome: IDictionaryOutcome): Observable<number>;
|
|
1704
|
+
postStatus(dictionaryStatus: IDictionaryStatus): Observable<number>;
|
|
1705
|
+
postTypeRequest(dictionaryTypeRequest: IDictionaryTypeRequest): Observable<number>;
|
|
1706
|
+
postTypeRequestOutcome(dictionaryTypeRequestOutcome: IOutcomeRequestTypeRequest): Observable<number>;
|
|
1707
|
+
postPriority(dictionaryPriority: IDictionaryPriority): Observable<number>;
|
|
1708
|
+
putKey(dictionaryKey: IDTOKey): Observable<string>;
|
|
1709
|
+
deleteKey(key: string): Observable<boolean>;
|
|
1710
|
+
deleteOutcome(id: string): Observable<boolean>;
|
|
1711
|
+
deleteStatus(id: string): Observable<boolean>;
|
|
1712
|
+
deleteTypeRequest(id: string): Observable<boolean>;
|
|
1713
|
+
deleteTypeRequestOutcome(id: string): Observable<boolean>;
|
|
1714
|
+
deletePriority(id: string): Observable<boolean>;
|
|
1715
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiRequestDictionaryService, never>;
|
|
1716
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiRequestDictionaryService>;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
interface IDTOAddress {
|
|
1720
|
+
fullAddress: string;
|
|
1721
|
+
street: string;
|
|
1722
|
+
cap: string;
|
|
1723
|
+
number: string;
|
|
1724
|
+
aslId: string;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
interface IDictionaryDepartment {
|
|
1728
|
+
id?: string;
|
|
1729
|
+
name: string;
|
|
1730
|
+
code: string;
|
|
1731
|
+
isEnabled: boolean;
|
|
1732
|
+
isVisible: boolean;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
interface IDepartmentResponse {
|
|
1736
|
+
department: IDictionaryDepartment;
|
|
1737
|
+
isEnabled: boolean;
|
|
1738
|
+
isVisible: boolean;
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
interface IDictionaryTypeStructure {
|
|
1742
|
+
id: number;
|
|
1743
|
+
name: string;
|
|
1744
|
+
siEnabled: boolean;
|
|
1745
|
+
isVisible: boolean;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
interface ITypeResponse {
|
|
1749
|
+
type: IDictionaryTypeStructure;
|
|
1750
|
+
isEnabled: boolean;
|
|
1751
|
+
isVisible: boolean;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
interface IStructureResponse {
|
|
1755
|
+
id: string;
|
|
1756
|
+
name: string;
|
|
1757
|
+
code: string;
|
|
1758
|
+
latitude: string;
|
|
1759
|
+
longitude: string;
|
|
1760
|
+
isEnabled: boolean;
|
|
1761
|
+
isVisible: boolean;
|
|
1762
|
+
address: IDTOAddress;
|
|
1763
|
+
types: ITypeResponse[];
|
|
1764
|
+
departments: IDepartmentResponse[];
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
interface IDepartmentRequest {
|
|
1768
|
+
departmentId: string;
|
|
1769
|
+
isEnabled: boolean;
|
|
1770
|
+
isVisible: boolean;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
interface ITypeRequest {
|
|
1774
|
+
typeId: number;
|
|
1775
|
+
isEnabled: boolean;
|
|
1776
|
+
isVisible: boolean;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
interface IStructureRequest {
|
|
1780
|
+
id?: string;
|
|
1781
|
+
name: string;
|
|
1782
|
+
code: string;
|
|
1783
|
+
latitude: string;
|
|
1784
|
+
longitude: string;
|
|
1785
|
+
isEnabled: boolean;
|
|
1786
|
+
isVisible: boolean;
|
|
1787
|
+
address: IDTOAddress;
|
|
1788
|
+
types: ITypeRequest[];
|
|
1789
|
+
departments: IDepartmentRequest[];
|
|
1790
|
+
}
|
|
1791
|
+
|
|
1792
|
+
declare class ApiStructureService {
|
|
1793
|
+
private gateway;
|
|
1794
|
+
endpoint: string;
|
|
1795
|
+
constructor(gateway: string);
|
|
1796
|
+
http: HttpClient;
|
|
1797
|
+
getStructures(): Observable<IStructureResponse[]>;
|
|
1798
|
+
getRequestById(id: string): Observable<IStructureResponse>;
|
|
1799
|
+
getStructureByDepartmentId(departmentId: string): Observable<IStructureResponse[]>;
|
|
1800
|
+
postStructure(structureRequest: IStructureRequest): Observable<string>;
|
|
1801
|
+
deleteStructure(id: string): Observable<boolean>;
|
|
1802
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiStructureService, never>;
|
|
1803
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiStructureService>;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
declare class ApiStructureDictionaryService {
|
|
1807
|
+
private gateway;
|
|
1808
|
+
endpoint: string;
|
|
1809
|
+
constructor(gateway: string);
|
|
1810
|
+
http: HttpClient;
|
|
1811
|
+
getDepartments(): Observable<IDictionaryDepartment[]>;
|
|
1812
|
+
getDepartmentById(id: string): Observable<IDictionaryDepartment>;
|
|
1813
|
+
getDepartmentByCode(code: string): Observable<IDictionaryDepartment>;
|
|
1814
|
+
getDepartmentByParameters(id: string, code: string): Observable<IDictionaryDepartment>;
|
|
1815
|
+
getTypesStructure(): Observable<IDictionaryTypeStructure[]>;
|
|
1816
|
+
getTypeStructureById(id: string): Observable<IDictionaryTypeStructure>;
|
|
1817
|
+
postDepartment(departmentRequest: IDictionaryDepartment): Observable<string>;
|
|
1818
|
+
postTypeStructure(typeStructureRequest: IDictionaryTypeStructure): Observable<string>;
|
|
1819
|
+
deleteDepartment(id: string): Observable<boolean>;
|
|
1820
|
+
deleteTypeStructure(id: string): Observable<boolean>;
|
|
1821
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiStructureDictionaryService, never>;
|
|
1822
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiStructureDictionaryService>;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
declare class ApiSurveyDictionaryService {
|
|
1826
|
+
private gateway;
|
|
1827
|
+
endpoint: string;
|
|
1828
|
+
constructor(gateway: string);
|
|
1829
|
+
http: HttpClient;
|
|
1830
|
+
getTypeQuestions(): Observable<IDictionaryTypeQuestionDTO[]>;
|
|
1831
|
+
getTypeQuestionById(id: number): Observable<IDictionaryTypeQuestionDTO>;
|
|
1832
|
+
getTypeSurveys(): Observable<IDictionaryTypeQuestionDTO[]>;
|
|
1833
|
+
getTypeSurveyById(id: number): Observable<IDictionaryTypeSurveyDTO>;
|
|
1834
|
+
getIcons(): Observable<IDictionaryIconDTO[]>;
|
|
1835
|
+
getIconById(id: number): Observable<IDictionaryIconDTO>;
|
|
1836
|
+
postTypeQuestion(dictionaryTypeQuestion: IDictionaryTypeQuestionDTO): Observable<number>;
|
|
1837
|
+
postTypeSurvey(dictionarySurveyQuestion: IDictionaryTypeSurveyDTO): Observable<number>;
|
|
1838
|
+
postIcon(dictionaryIcon: IDictionaryIconDTO): Observable<number>;
|
|
1839
|
+
deleteTypeQuestion(id: number): Observable<boolean>;
|
|
1840
|
+
deleteTypeSurvey(id: number): Observable<boolean>;
|
|
1841
|
+
deleteIcon(id: number): Observable<boolean>;
|
|
1842
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiSurveyDictionaryService, never>;
|
|
1843
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiSurveyDictionaryService>;
|
|
1844
|
+
}
|
|
1845
|
+
|
|
1846
|
+
interface IEventResponse {
|
|
1847
|
+
date: string;
|
|
1848
|
+
eventType?: string;
|
|
1849
|
+
patientId: string;
|
|
1850
|
+
macAddress?: string;
|
|
1851
|
+
value?: string;
|
|
1852
|
+
json?: string;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
declare class ApiEventService {
|
|
1856
|
+
private gateway;
|
|
1857
|
+
endpoint: string;
|
|
1858
|
+
constructor(gateway: string);
|
|
1859
|
+
http: HttpClient;
|
|
1860
|
+
getEventsByPatientIdStartEnd(patientId: string, start: string, end: string): Observable<IEventResponse[]>;
|
|
1861
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiEventService, never>;
|
|
1862
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiEventService>;
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
declare const API_CONFIG: InjectionToken<unknown>;
|
|
1866
|
+
|
|
1867
|
+
export { API_CONFIG, ApiAccountDictionaryService, ApiAccountService, ApiAdministrationService, ApiEventService, ApiExamAppointmentService, ApiExamDictionaryService, ApiExamService, ApiGeographyService, ApiKitService, ApiPatientDictionaryService, ApiPatientService, ApiRequestDictionaryService, ApiRequestService, ApiStructureDictionaryService, ApiStructureService, ApiSurveyDictionaryService, ApiSurveyService, BasicTable, Calendar, CalendarView, FormatDate, ItcLibrary20, Message, Minio, PRIMENG_ITALIAN_LOCALE, PrimaryButton, PrimengItalianLocale, SecondaryButton, SortableTable, Survey, SurveyRadio, SurveyText, SurveyValuebox, ThirdButton };
|
|
1868
|
+
export type { IAppointment, IColumn, IMinio, IQuestionAnswer };
|