Skip to content

Commit

Permalink
Merge pull request #969 from andes/delete-auditoria-prestacion
Browse files Browse the repository at this point in the history
Auditoria - Elimina prestación auditoría
  • Loading branch information
condorpiedra authored Jun 8, 2020
2 parents 92e4522 + fb2c910 commit d51e9ac
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 205 deletions.
6 changes: 0 additions & 6 deletions config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,6 @@ export const modules = {
route: '/modules/rup',
middleware: appMiddleware
},
auditorias: { // Auditorías RUP (prestacionPaciente)
active: true,
path: './modules/auditorias/routes',
route: '/modules/auditorias',
middleware: appMiddleware
},
turnos_mobile_auth: {
active: true,
path: './modules/mobileApp/auth_routes',
Expand Down
164 changes: 0 additions & 164 deletions modules/auditorias/routes/auditoriaPrestacionPaciente.ts

This file was deleted.

29 changes: 0 additions & 29 deletions modules/auditorias/schemas/auditoriaPrestacionPaciente.ts

This file was deleted.

6 changes: 0 additions & 6 deletions modules/rup/schemas/prestacion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import * as mongoose from 'mongoose';
import * as registro from './prestacion.registro';
import { PrestacionSolicitudHistorialschema } from './prestacion.solicitud.historial';
import * as estado from './prestacion.estado';
import { auditoriaPrestacionPacienteSchema } from '../../auditorias/schemas/auditoriaPrestacionPaciente';
import { iterate, convertToObjectId } from '../controllers/rup';
import { AuditPlugin } from '@andes/mongoose-plugin-audit';
import { ObraSocialSchema } from '../../obraSocial/schemas/obraSocial';
Expand Down Expand Up @@ -67,9 +66,6 @@ export let schema = new mongoose.Schema({
refsetIds: [String]
},

// Datos de auditoría sobre el estado de la solicitud (aprobada, desaprobada, ...)
auditoria: auditoriaPrestacionPacienteSchema,

// ID del turno relacionado con esta prestación
turno: mongoose.Schema.Types.ObjectId,

Expand Down Expand Up @@ -238,7 +234,5 @@ schema.index({
'ejecucion.fecha': 1,
'solicitud.tipoPrestacion.conceptId': 1
});
schema.index({ 'solicitud.auditoria.auditor.documento': 1 });


export let model = mongoose.model('prestacion', schema, 'prestaciones');

0 comments on commit d51e9ac

Please sign in to comment.