grapp-common-se 0.6.261 → 0.6.263
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TraceabilityComment } from "../orders/param.comments";
|
|
1
2
|
export interface CodableConcept {
|
|
2
3
|
_id?: string;
|
|
3
4
|
id?: string;
|
|
@@ -11,13 +12,9 @@ export interface CodableConcept {
|
|
|
11
12
|
ownCode?: string;
|
|
12
13
|
plan?: string;
|
|
13
14
|
group?: Array<{
|
|
14
|
-
id
|
|
15
|
-
name
|
|
16
|
-
group
|
|
17
|
-
}>;
|
|
18
|
-
comments?: Array<{
|
|
19
|
-
property: string;
|
|
20
|
-
value: string;
|
|
21
|
-
oldValue: string;
|
|
15
|
+
id?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
group?: Array<String>;
|
|
22
18
|
}>;
|
|
19
|
+
comments?: Array<TraceabilityComment>;
|
|
23
20
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface TraceabilityComment {
|
|
2
|
+
type: ParametrizationType;
|
|
3
|
+
name: string;
|
|
4
|
+
valuesChanged: Array<{
|
|
5
|
+
property: string;
|
|
6
|
+
value: string;
|
|
7
|
+
oldValue: string;
|
|
8
|
+
}>;
|
|
9
|
+
date: number;
|
|
10
|
+
}
|
|
11
|
+
export declare enum ParametrizationType {
|
|
12
|
+
CAUSAS_DE_CANCELACION = "CAUSAS DE CANCELACION",
|
|
13
|
+
CAUSAS_DE_DIFERIR = "CAUSAS DE DIFERIR",
|
|
14
|
+
TIPIFICACION_PACIENTE_ATENDIDO = "TIPIFICACION PACIENTE ATENDIDO",
|
|
15
|
+
TECNOLOGIAS = "TECNOLOGIAS",
|
|
16
|
+
SEDES = "SEDES",
|
|
17
|
+
ESPECIALIDAD = "ESPECIALIDAD",
|
|
18
|
+
MEDICOS = "MEDICOS",
|
|
19
|
+
SERVICIOS = "SERVICIOS",
|
|
20
|
+
TIPO_DE_SOLICITUD_Y_ORDEN = "TIPO DE SOLICITUD Y ORDEN",
|
|
21
|
+
CIE10 = "CIE10"
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ParametrizationType = void 0;
|
|
4
|
+
var ParametrizationType;
|
|
5
|
+
(function (ParametrizationType) {
|
|
6
|
+
ParametrizationType["CAUSAS_DE_CANCELACION"] = "CAUSAS DE CANCELACION";
|
|
7
|
+
ParametrizationType["CAUSAS_DE_DIFERIR"] = "CAUSAS DE DIFERIR";
|
|
8
|
+
ParametrizationType["TIPIFICACION_PACIENTE_ATENDIDO"] = "TIPIFICACION PACIENTE ATENDIDO";
|
|
9
|
+
ParametrizationType["TECNOLOGIAS"] = "TECNOLOGIAS";
|
|
10
|
+
ParametrizationType["SEDES"] = "SEDES";
|
|
11
|
+
ParametrizationType["ESPECIALIDAD"] = "ESPECIALIDAD";
|
|
12
|
+
ParametrizationType["MEDICOS"] = "MEDICOS";
|
|
13
|
+
ParametrizationType["SERVICIOS"] = "SERVICIOS";
|
|
14
|
+
ParametrizationType["TIPO_DE_SOLICITUD_Y_ORDEN"] = "TIPO DE SOLICITUD Y ORDEN";
|
|
15
|
+
ParametrizationType["CIE10"] = "CIE10";
|
|
16
|
+
})(ParametrizationType = exports.ParametrizationType || (exports.ParametrizationType = {}));
|
package/dist/orders/request.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { Resource, Timestamp } from '3a-common';
|
|
|
2
2
|
import { ExecutorActivate, Order, OrderComment, SpecialitiesDoctorComplete } from './order';
|
|
3
3
|
import { Patient, User } from '../users';
|
|
4
4
|
import { Users } from '..';
|
|
5
|
+
import { TraceabilityComment } from './param.comments';
|
|
5
6
|
/**
|
|
6
7
|
* The initial request done by an assistant
|
|
7
8
|
*/
|
|
@@ -292,6 +293,7 @@ export interface Service {
|
|
|
292
293
|
deleted?: boolean;
|
|
293
294
|
createdAt?: number;
|
|
294
295
|
lastModified?: number;
|
|
296
|
+
comments?: Array<TraceabilityComment>;
|
|
295
297
|
}
|
|
296
298
|
export interface RequestTypes {
|
|
297
299
|
code: string;
|
|
@@ -305,11 +307,7 @@ export interface RequestTypes {
|
|
|
305
307
|
deleted?: boolean;
|
|
306
308
|
createdAt?: number;
|
|
307
309
|
lastModified?: number;
|
|
308
|
-
comments?: Array<
|
|
309
|
-
property: string;
|
|
310
|
-
value: string;
|
|
311
|
-
oldValue: string;
|
|
312
|
-
}>;
|
|
310
|
+
comments?: Array<TraceabilityComment>;
|
|
313
311
|
}
|
|
314
312
|
export interface CustomCauses {
|
|
315
313
|
name: string;
|
|
@@ -322,11 +320,7 @@ export interface CustomCauses {
|
|
|
322
320
|
tableName?: string;
|
|
323
321
|
createdAt?: number;
|
|
324
322
|
lastModified?: number;
|
|
325
|
-
comments?: Array<
|
|
326
|
-
property: string;
|
|
327
|
-
value: string;
|
|
328
|
-
oldValue: string;
|
|
329
|
-
}>;
|
|
323
|
+
comments?: Array<TraceabilityComment>;
|
|
330
324
|
}
|
|
331
325
|
export interface Eps {
|
|
332
326
|
id?: string;
|
|
@@ -396,11 +390,7 @@ export interface Specialties {
|
|
|
396
390
|
name?: string;
|
|
397
391
|
code?: string;
|
|
398
392
|
active?: boolean;
|
|
399
|
-
comments?: Array<
|
|
400
|
-
property: string;
|
|
401
|
-
value: string;
|
|
402
|
-
oldValue: string;
|
|
403
|
-
}>;
|
|
393
|
+
comments?: Array<TraceabilityComment>;
|
|
404
394
|
}
|
|
405
395
|
export interface DeletionInfo {
|
|
406
396
|
date?: Timestamp;
|