Skip to content

Commit 8c55121

Browse files
committed
ref(CIT): nuevos atributos para teleconferencia
1 parent ae9971f commit 8c55121

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

modules/turnos/schemas/turno.ts

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ import { tipoPrestacionSchema } from '../../../core/tm/schemas/tipoPrestacion';
44
import { SnomedConcept } from '../../rup/schemas/snomed-concept';
55
import { PacienteSubSchema } from '../../../core-v2/mpi/paciente/paciente.schema';
66

7+
const conexionVideoSchema = new mongoose.Schema({
8+
plataforma: String,
9+
params: {
10+
host: [{
11+
cipher: String,
12+
short: String,
13+
}],
14+
guest: [{
15+
cipher: String,
16+
short: String,
17+
}],
18+
baseUrl: String
19+
}
20+
});
21+
722
const turnoSchema = new mongoose.Schema({
823
horaInicio: Date,
924
horaAsistencia: Date,
@@ -89,7 +104,9 @@ const turnoSchema = new mongoose.Schema({
89104
fechaHoraDacion: Date,
90105
usuarioDacion: mongoose.Schema.Types.Mixed,
91106
profesional: mongoose.Schema.Types.ObjectId,
92-
notificar: Boolean
107+
notificar: Boolean,
108+
admiteVideo: Boolean,
109+
conexionVideo: conexionVideoSchema
93110
});
94111

95112
export = turnoSchema;

0 commit comments

Comments
 (0)