File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,21 @@ import { tipoPrestacionSchema } from '../../../core/tm/schemas/tipoPrestacion';
44import { SnomedConcept } from '../../rup/schemas/snomed-concept' ;
55import { 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+
722const 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
95112export = turnoSchema ;
You can’t perform that action at this time.
0 commit comments