grapp-common-se 0.6.260 → 0.6.262

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;
@@ -15,4 +16,5 @@ export interface CodableConcept {
15
16
  name: string;
16
17
  group: Array<String>;
17
18
  }>;
19
+ comments?: Array<TraceabilityComment>;
18
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 = {}));
@@ -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,6 +307,7 @@ export interface RequestTypes {
305
307
  deleted?: boolean;
306
308
  createdAt?: number;
307
309
  lastModified?: number;
310
+ comments?: Array<TraceabilityComment>;
308
311
  }
309
312
  export interface CustomCauses {
310
313
  name: string;
@@ -317,6 +320,7 @@ export interface CustomCauses {
317
320
  tableName?: string;
318
321
  createdAt?: number;
319
322
  lastModified?: number;
323
+ comments?: Array<TraceabilityComment>;
320
324
  }
321
325
  export interface Eps {
322
326
  id?: string;
@@ -386,6 +390,7 @@ export interface Specialties {
386
390
  name?: string;
387
391
  code?: string;
388
392
  active?: boolean;
393
+ comments?: Array<TraceabilityComment>;
389
394
  }
390
395
  export interface DeletionInfo {
391
396
  date?: Timestamp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grapp-common-se",
3
- "version": "0.6.260",
3
+ "version": "0.6.262",
4
4
  "description": "Interfaces for GRAPP project",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {