{
  "openapi": "3.0.0",
  "info": {
    "title": "backend-clinica",
    "version": "0.0.1",
    "description": "Backend para la aplicacion de la clinican de salud mental Minerva",
    "contact": {}
  },
  "paths": {
    "/academia/cuentas/{id}/password": {
      "patch": {
        "x-controller-name": "AcademiaCuentasController",
        "x-operation-name": "restablecerPassword",
        "tags": [
          "AcademiaCuentasController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Contraseña restablecida"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AcademiaCuentasController.restablecerPassword"
      }
    },
    "/academia/cuentas/{id}/suspender": {
      "patch": {
        "x-controller-name": "AcademiaCuentasController",
        "x-operation-name": "suspender",
        "tags": [
          "AcademiaCuentasController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Estado de la cuenta actualizado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "activo"
                ],
                "properties": {
                  "activo": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AcademiaCuentasController.suspender"
      }
    },
    "/academia/cuentas/{id}": {
      "delete": {
        "x-controller-name": "AcademiaCuentasController",
        "x-operation-name": "eliminar",
        "tags": [
          "AcademiaCuentasController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Cuenta eliminada"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AcademiaCuentasController.eliminar"
      }
    },
    "/academia/cuentas": {
      "post": {
        "x-controller-name": "AcademiaCuentasController",
        "x-operation-name": "crear",
        "tags": [
          "AcademiaCuentasController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Cuenta de academia creada"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "Email",
                  "rolId"
                ],
                "properties": {
                  "Email": {
                    "type": "string"
                  },
                  "Nombre": {
                    "type": "string"
                  },
                  "rolId": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "AcademiaCuentasController.crear"
      },
      "get": {
        "x-controller-name": "AcademiaCuentasController",
        "x-operation-name": "listar",
        "tags": [
          "AcademiaCuentasController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Cuentas de la academia"
                }
              }
            }
          }
        },
        "operationId": "AcademiaCuentasController.listar"
      }
    },
    "/academias/auditoria": {
      "get": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "auditoria",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Historial de cambios con búsqueda"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AcademiaController.auditoria"
      }
    },
    "/academias/clases/{id}": {
      "patch": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "editarClase",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Clase actualizada"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClaseAcademiaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AcademiaController.editarClase"
      }
    },
    "/academias/clases": {
      "post": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "crearClase",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Clase creada"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClaseAcademiaExcluding_id_"
              }
            }
          }
        },
        "operationId": "AcademiaController.crearClase"
      },
      "get": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "clases",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Clases/grupos de las academias"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "academia",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AcademiaController.clases"
      }
    },
    "/academias/corte": {
      "get": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "corte",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Corte de caja"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "desde",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hasta",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "academia",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AcademiaController.corte"
      }
    },
    "/academias/egresos/{id}": {
      "delete": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "eliminarEgreso",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Egreso eliminado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AcademiaController.eliminarEgreso"
      }
    },
    "/academias/egresos": {
      "post": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "crearEgreso",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Egreso registrado"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EgresoAcademiaExcluding_id-RegistradoPor_"
              }
            }
          }
        },
        "operationId": "AcademiaController.crearEgreso"
      },
      "get": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "egresos",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Egresos"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "academia",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AcademiaController.egresos"
      }
    },
    "/academias/paquetes/{id}": {
      "patch": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "editarPaquete",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Paquete actualizado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaqueteAcademiaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AcademiaController.editarPaquete"
      },
      "delete": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "eliminarPaquete",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Paquete eliminado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AcademiaController.eliminarPaquete"
      }
    },
    "/academias/paquetes": {
      "post": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "crearPaquete",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Paquete creado"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaqueteAcademiaExcluding_id_"
              }
            }
          }
        },
        "operationId": "AcademiaController.crearPaquete"
      },
      "get": {
        "x-controller-name": "AcademiaController",
        "x-operation-name": "paquetes",
        "tags": [
          "AcademiaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Paquetes de las academias"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "academia",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AcademiaController.paquetes"
      }
    },
    "/auth/reset-password": {
      "post": {
        "x-controller-name": "reinicioContrasenaController",
        "x-operation-name": "resetPassword",
        "tags": [
          "reinicioContrasenaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Password updated"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token",
                  "newPassword"
                ],
                "properties": {
                  "token": {
                    "type": "string"
                  },
                  "newPassword": {
                    "type": "string",
                    "minLength": 8
                  }
                }
              }
            }
          }
        },
        "operationId": "reinicioContrasenaController.resetPassword"
      }
    },
    "/baile/alumnos/{id}/asistencias": {
      "get": {
        "x-controller-name": "BaileController",
        "x-operation-name": "asistenciasDeAlumno",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Historial de asistencias de un alumno"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BaileController.asistenciasDeAlumno"
      }
    },
    "/baile/alumnos/{id}": {
      "patch": {
        "x-controller-name": "BaileController",
        "x-operation-name": "actualizarAlumno",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Alumno actualizado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AlumnoBailePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BaileController.actualizarAlumno"
      },
      "delete": {
        "x-controller-name": "BaileController",
        "x-operation-name": "eliminarAlumno",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Alumno eliminado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BaileController.eliminarAlumno"
      }
    },
    "/baile/alumnos": {
      "post": {
        "x-controller-name": "BaileController",
        "x-operation-name": "crearAlumno",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "200": {
            "description": "Alumno de baile creado",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AlumnoBaile"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NuevoAlumnoBaile"
              }
            }
          }
        },
        "operationId": "BaileController.crearAlumno"
      },
      "get": {
        "x-controller-name": "BaileController",
        "x-operation-name": "listarAlumnos",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Lista de alumnos de baile"
                }
              }
            }
          }
        },
        "operationId": "BaileController.listarAlumnos"
      }
    },
    "/baile/asistencia/{fecha}": {
      "get": {
        "x-controller-name": "BaileController",
        "x-operation-name": "asistenciaPorFecha",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Asistencia de una fecha"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fecha",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "BaileController.asistenciaPorFecha"
      }
    },
    "/baile/asistencia": {
      "post": {
        "x-controller-name": "BaileController",
        "x-operation-name": "guardarPaseDeLista",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Pase de lista guardado"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "fecha",
                  "registros"
                ],
                "properties": {
                  "fecha": {
                    "type": "string",
                    "format": "date"
                  },
                  "claseId": {
                    "type": "number"
                  },
                  "academia": {
                    "type": "string"
                  },
                  "claseNombre": {
                    "type": "string"
                  },
                  "registros": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "alumnoBaileId",
                        "presente"
                      ],
                      "properties": {
                        "alumnoBaileId": {
                          "type": "number"
                        },
                        "presente": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "BaileController.guardarPaseDeLista"
      }
    },
    "/baile/cumpleanos-hoy": {
      "get": {
        "x-controller-name": "BaileController",
        "x-operation-name": "cumpleanosHoy",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Cumpleaños de hoy y avisos generados"
                }
              }
            }
          }
        },
        "operationId": "BaileController.cumpleanosHoy"
      }
    },
    "/baile/estado-pagos/{fecha}": {
      "get": {
        "x-controller-name": "BaileController",
        "x-operation-name": "estadoPagos",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Estado de pago por alumno para una fecha"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fecha",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "BaileController.estadoPagos"
      }
    },
    "/baile/pagos/{id}": {
      "delete": {
        "x-controller-name": "BaileController",
        "x-operation-name": "eliminarPago",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Pago eliminado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BaileController.eliminarPago"
      }
    },
    "/baile/pagos": {
      "post": {
        "x-controller-name": "BaileController",
        "x-operation-name": "registrarPago",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Pago de academia registrado"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "alumnoBaileId",
                  "Fecha",
                  "Monto"
                ],
                "properties": {
                  "alumnoBaileId": {
                    "type": "number"
                  },
                  "Fecha": {
                    "type": "string",
                    "format": "date"
                  },
                  "Monto": {
                    "type": "number"
                  },
                  "Concepto": {
                    "type": "string"
                  },
                  "paqueteId": {
                    "type": "number"
                  },
                  "Metodo": {
                    "type": "string"
                  },
                  "Notas": {
                    "type": "string"
                  },
                  "Evidencia": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BaileController.registrarPago"
      },
      "get": {
        "x-controller-name": "BaileController",
        "x-operation-name": "listarPagos",
        "tags": [
          "BaileController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Lista de pagos de clases de baile"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "alumnoBaileId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BaileController.listarPagos"
      }
    },
    "/bitacora/filtros": {
      "get": {
        "x-controller-name": "BitacoraController",
        "x-operation-name": "filtros",
        "tags": [
          "BitacoraController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Valores posibles para los filtros del visor"
                }
              }
            }
          }
        },
        "operationId": "BitacoraController.filtros"
      }
    },
    "/bitacora/resumen": {
      "get": {
        "x-controller-name": "BitacoraController",
        "x-operation-name": "resumen",
        "tags": [
          "BitacoraController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Totales y tendencias del periodo"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "desde",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hasta",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BitacoraController.resumen"
      }
    },
    "/bitacora/{id}": {
      "get": {
        "x-controller-name": "BitacoraController",
        "x-operation-name": "detalle",
        "tags": [
          "BitacoraController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Una entrada de la bitácora con su detalle (solo super administrador)"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "operationId": "BitacoraController.detalle"
      }
    },
    "/bitacora": {
      "get": {
        "x-controller-name": "BitacoraController",
        "x-operation-name": "listar",
        "tags": [
          "BitacoraController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Entradas de la bitácora (más recientes primero)"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "desde",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hasta",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "usuario",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accion",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "modulo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entidad",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "rol",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "resultado",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "texto",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pacienteId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "soloSeguridad",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "antesDeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "limite",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "conTotal",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "BitacoraController.listar"
      }
    },
    "/conceptualizacion-caso/count": {
      "get": {
        "x-controller-name": "ConceptualizacionCasoController",
        "x-operation-name": "count",
        "tags": [
          "ConceptualizacionCasoController"
        ],
        "responses": {
          "200": {
            "description": "ConceptualizacionCaso model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ConceptualizacionCaso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ConceptualizacionCaso>"
                }
              }
            }
          }
        ],
        "operationId": "ConceptualizacionCasoController.count"
      }
    },
    "/conceptualizacion-caso/{id}": {
      "put": {
        "x-controller-name": "ConceptualizacionCasoController",
        "x-operation-name": "replaceById",
        "tags": [
          "ConceptualizacionCasoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ConceptualizacionCaso PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConceptualizacionCaso"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConceptualizacionCasoController.replaceById"
      },
      "patch": {
        "x-controller-name": "ConceptualizacionCasoController",
        "x-operation-name": "updateById",
        "tags": [
          "ConceptualizacionCasoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ConceptualizacionCaso PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConceptualizacionCasoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConceptualizacionCasoController.updateById"
      },
      "get": {
        "x-controller-name": "ConceptualizacionCasoController",
        "x-operation-name": "findById",
        "tags": [
          "ConceptualizacionCasoController"
        ],
        "responses": {
          "200": {
            "description": "ConceptualizacionCaso model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConceptualizacionCasoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConceptualizacionCaso.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ConceptualizacionCasoController.findById"
      },
      "delete": {
        "x-controller-name": "ConceptualizacionCasoController",
        "x-operation-name": "deleteById",
        "tags": [
          "ConceptualizacionCasoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ConceptualizacionCaso DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ConceptualizacionCasoController.deleteById"
      }
    },
    "/conceptualizacion-caso": {
      "post": {
        "x-controller-name": "ConceptualizacionCasoController",
        "x-operation-name": "create",
        "tags": [
          "ConceptualizacionCasoController"
        ],
        "responses": {
          "200": {
            "description": "ConceptualizacionCaso model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConceptualizacionCaso"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewConceptualizacionCaso"
              }
            }
          }
        },
        "operationId": "ConceptualizacionCasoController.create"
      },
      "patch": {
        "x-controller-name": "ConceptualizacionCasoController",
        "x-operation-name": "updateAll",
        "tags": [
          "ConceptualizacionCasoController"
        ],
        "responses": {
          "200": {
            "description": "ConceptualizacionCaso PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ConceptualizacionCaso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ConceptualizacionCaso>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConceptualizacionCasoPartial"
              }
            }
          }
        },
        "operationId": "ConceptualizacionCasoController.updateAll"
      },
      "get": {
        "x-controller-name": "ConceptualizacionCasoController",
        "x-operation-name": "find",
        "tags": [
          "ConceptualizacionCasoController"
        ],
        "responses": {
          "200": {
            "description": "Array of ConceptualizacionCaso model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConceptualizacionCasoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConceptualizacionCaso.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ConceptualizacionCasoController.find"
      }
    },
    "/consulta/{id}": {
      "get": {
        "x-controller-name": "TerapeutaConsultaController",
        "x-operation-name": "findById",
        "tags": [
          "TerapeutaConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Consulta model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsultaWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Consulta.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaConsultaController.findById"
      }
    },
    "/consulta-tests/count": {
      "get": {
        "x-controller-name": "ConsultaTestPsicometricoController",
        "x-operation-name": "count",
        "tags": [
          "ConsultaTestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "ConsultaTest model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ConsultaTest.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ConsultaTest>"
                }
              }
            }
          }
        ],
        "operationId": "ConsultaTestPsicometricoController.count"
      }
    },
    "/consulta-tests/{id}/progreso": {
      "patch": {
        "x-controller-name": "ConsultaTestPsicometricoController",
        "x-operation-name": "actualizarProgreso",
        "tags": [
          "ConsultaTestPsicometricoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ConsultaTest progreso actualizado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConsultaTestPsicometricoController.actualizarProgreso"
      }
    },
    "/consulta-tests/{id}": {
      "put": {
        "x-controller-name": "ConsultaTestPsicometricoController",
        "x-operation-name": "replaceById",
        "tags": [
          "ConsultaTestPsicometricoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ConsultaTest PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsultaTest"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConsultaTestPsicometricoController.replaceById"
      },
      "patch": {
        "x-controller-name": "ConsultaTestPsicometricoController",
        "x-operation-name": "updateById",
        "tags": [
          "ConsultaTestPsicometricoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ConsultaTest PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsultaTestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConsultaTestPsicometricoController.updateById"
      },
      "get": {
        "x-controller-name": "ConsultaTestPsicometricoController",
        "x-operation-name": "findById",
        "tags": [
          "ConsultaTestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "ConsultaTest model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsultaTestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ConsultaTestPsicometricoController.findById"
      },
      "delete": {
        "x-controller-name": "ConsultaTestPsicometricoController",
        "x-operation-name": "deleteById",
        "tags": [
          "ConsultaTestPsicometricoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ConsultaTest DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ConsultaTestPsicometricoController.deleteById"
      }
    },
    "/consulta-tests": {
      "post": {
        "x-controller-name": "ConsultaTestPsicometricoController",
        "x-operation-name": "create",
        "tags": [
          "ConsultaTestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "ConsultaTest model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsultaTest"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "consultaId": {
                    "type": "number"
                  },
                  "testPsicometricoId": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "consultaId",
                  "testPsicometricoId"
                ]
              }
            }
          }
        },
        "operationId": "ConsultaTestPsicometricoController.create"
      },
      "patch": {
        "x-controller-name": "ConsultaTestPsicometricoController",
        "x-operation-name": "updateAll",
        "tags": [
          "ConsultaTestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "ConsultaTest PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ConsultaTest.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ConsultaTest>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsultaTestPartial"
              }
            }
          }
        },
        "operationId": "ConsultaTestPsicometricoController.updateAll"
      },
      "get": {
        "x-controller-name": "ConsultaTestPsicometricoController",
        "x-operation-name": "find",
        "tags": [
          "ConsultaTestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "Array of ConsultaTest model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConsultaTestWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsultaTest.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ConsultaTestPsicometricoController.find"
      }
    },
    "/consultas/{id}/completar": {
      "patch": {
        "x-controller-name": "ConsultaController",
        "x-operation-name": "completarConsulta",
        "tags": [
          "ConsultaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Consulta marcada como completada"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConsultaController.completarConsulta"
      }
    },
    "/consultas/{id}/confirmar": {
      "patch": {
        "x-controller-name": "ConsultaController",
        "x-operation-name": "confirmarCita",
        "tags": [
          "ConsultaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Confirmación de la cita actualizada"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConsultaController.confirmarCita"
      }
    },
    "/consultas/{id}/entrada-historias": {
      "post": {
        "x-controller-name": "ConsultaEntradaHistoriaController",
        "x-operation-name": "create",
        "tags": [
          "ConsultaEntradaHistoriaController"
        ],
        "responses": {
          "200": {
            "description": "Consulta model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntradaHistoria"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewEntradaHistoriaInConsulta"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConsultaEntradaHistoriaController.create"
      },
      "patch": {
        "x-controller-name": "ConsultaEntradaHistoriaController",
        "x-operation-name": "patch",
        "tags": [
          "ConsultaEntradaHistoriaController"
        ],
        "responses": {
          "200": {
            "description": "Consulta.EntradaHistoria PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EntradaHistoria.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EntradaHistoria>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EntradaHistoriaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConsultaEntradaHistoriaController.patch"
      },
      "get": {
        "x-controller-name": "ConsultaEntradaHistoriaController",
        "x-operation-name": "find",
        "tags": [
          "ConsultaEntradaHistoriaController"
        ],
        "responses": {
          "200": {
            "description": "Array of Consulta has many EntradaHistoria",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EntradaHistoria"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ConsultaEntradaHistoriaController.find"
      },
      "delete": {
        "x-controller-name": "ConsultaEntradaHistoriaController",
        "x-operation-name": "delete",
        "tags": [
          "ConsultaEntradaHistoriaController"
        ],
        "responses": {
          "200": {
            "description": "Consulta.EntradaHistoria DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EntradaHistoria.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EntradaHistoria>"
                }
              }
            }
          }
        ],
        "operationId": "ConsultaEntradaHistoriaController.delete"
      }
    },
    "/consultas/{id}/finalizar": {
      "patch": {
        "x-controller-name": "ConsultaController",
        "x-operation-name": "finalizarConsulta",
        "tags": [
          "ConsultaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Consulta finalizada"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ConsultaController.finalizarConsulta"
      }
    },
    "/consultas/{id}/iniciar": {
      "patch": {
        "x-controller-name": "ConsultaController",
        "x-operation-name": "iniciarConsulta",
        "tags": [
          "ConsultaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Consulta iniciada"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ConsultaController.iniciarConsulta"
      }
    },
    "/consultas/{id}/paciente": {
      "get": {
        "x-controller-name": "ConsultaPacienteController",
        "x-operation-name": "getPaciente",
        "tags": [
          "ConsultaPacienteController"
        ],
        "responses": {
          "200": {
            "description": "Paciente belonging to Consulta",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Paciente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ConsultaPacienteController.getPaciente"
      }
    },
    "/consultas/{id}/pago": {
      "patch": {
        "x-controller-name": "ConsultaController",
        "x-operation-name": "actualizarPago",
        "tags": [
          "ConsultaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Estado de pago actualizado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConsultaController.actualizarPago"
      }
    },
    "/consultas/{id}/resultado-tests": {
      "post": {
        "x-controller-name": "ConsultaResultadoTestController",
        "x-operation-name": "create",
        "tags": [
          "ConsultaResultadoTestController"
        ],
        "responses": {
          "200": {
            "description": "Consulta model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultadoTest"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewResultadoTestInConsulta"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConsultaResultadoTestController.create"
      },
      "patch": {
        "x-controller-name": "ConsultaResultadoTestController",
        "x-operation-name": "patch",
        "tags": [
          "ConsultaResultadoTestController"
        ],
        "responses": {
          "200": {
            "description": "Consulta.ResultadoTest PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ResultadoTest.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ResultadoTest>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResultadoTestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConsultaResultadoTestController.patch"
      },
      "get": {
        "x-controller-name": "ConsultaResultadoTestController",
        "x-operation-name": "find",
        "tags": [
          "ConsultaResultadoTestController"
        ],
        "responses": {
          "200": {
            "description": "Array of Consulta has many ResultadoTest",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ResultadoTest"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ConsultaResultadoTestController.find"
      },
      "delete": {
        "x-controller-name": "ConsultaResultadoTestController",
        "x-operation-name": "delete",
        "tags": [
          "ConsultaResultadoTestController"
        ],
        "responses": {
          "200": {
            "description": "Consulta.ResultadoTest DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ResultadoTest.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ResultadoTest>"
                }
              }
            }
          }
        ],
        "operationId": "ConsultaResultadoTestController.delete"
      }
    },
    "/consultas/{id}/terapeuta": {
      "get": {
        "x-controller-name": "ConsultaTerapeutaController",
        "x-operation-name": "getTerapeuta",
        "tags": [
          "ConsultaTerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta belonging to Consulta",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Terapeuta"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ConsultaTerapeutaController.getTerapeuta"
      }
    },
    "/consultas/{id}": {
      "delete": {
        "x-controller-name": "ConsultaController",
        "x-operation-name": "deleteCascada",
        "tags": [
          "ConsultaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Consulta DELETE success (cascada)"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ConsultaController.deleteCascada"
      }
    },
    "/consultas": {
      "get": {
        "x-controller-name": "ConsultaController",
        "x-operation-name": "listarTodas",
        "tags": [
          "ConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ConsultaController.listarTodas"
          }
        },
        "parameters": [
          {
            "name": "desde",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hasta",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ConsultaController.listarTodas"
      }
    },
    "/correo/diagnostico": {
      "get": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "diagnosticoCorreo",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Return value of UsuarioController.diagnosticoCorreo"
          }
        },
        "parameters": [
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "UsuarioController.diagnosticoCorreo"
      }
    },
    "/ejercicio-practicos/{id}/modulo-psicoeducativo": {
      "get": {
        "x-controller-name": "EjercicioPracticoModuloPsicoeducativoController",
        "x-operation-name": "getModuloPsicoeducativo",
        "tags": [
          "EjercicioPracticoModuloPsicoeducativoController"
        ],
        "responses": {
          "200": {
            "description": "ModuloPsicoeducativo belonging to EjercicioPractico",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModuloPsicoeducativo"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EjercicioPracticoModuloPsicoeducativoController.getModuloPsicoeducativo"
      }
    },
    "/ejercicio-practicos/{id}/pacientes": {
      "post": {
        "x-controller-name": "EjercicioPracticoPacienteController",
        "x-operation-name": "create",
        "tags": [
          "EjercicioPracticoPacienteController"
        ],
        "responses": {
          "200": {
            "description": "create a Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Paciente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPacienteInEjercicioPractico"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EjercicioPracticoPacienteController.create"
      },
      "patch": {
        "x-controller-name": "EjercicioPracticoPacienteController",
        "x-operation-name": "patch",
        "tags": [
          "EjercicioPracticoPacienteController"
        ],
        "responses": {
          "200": {
            "description": "EjercicioPractico.Paciente PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Paciente.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Paciente>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacientePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EjercicioPracticoPacienteController.patch"
      },
      "get": {
        "x-controller-name": "EjercicioPracticoPacienteController",
        "x-operation-name": "find",
        "tags": [
          "EjercicioPracticoPacienteController"
        ],
        "responses": {
          "200": {
            "description": "Array of EjercicioPractico has many Paciente through PacienteEjercicioPractico",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Paciente"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "EjercicioPracticoPacienteController.find"
      },
      "delete": {
        "x-controller-name": "EjercicioPracticoPacienteController",
        "x-operation-name": "delete",
        "tags": [
          "EjercicioPracticoPacienteController"
        ],
        "responses": {
          "200": {
            "description": "EjercicioPractico.Paciente DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Paciente.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Paciente>"
                }
              }
            }
          }
        ],
        "operationId": "EjercicioPracticoPacienteController.delete"
      }
    },
    "/ejercicio-practicos/{id}": {
      "put": {
        "x-controller-name": "EjercicioPracticoController",
        "x-operation-name": "replaceById",
        "tags": [
          "EjercicioPracticoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EjercicioPractico PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EjercicioPractico"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EjercicioPracticoController.replaceById"
      },
      "patch": {
        "x-controller-name": "EjercicioPracticoController",
        "x-operation-name": "updateById",
        "tags": [
          "EjercicioPracticoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EjercicioPractico PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EjercicioPracticoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EjercicioPracticoController.updateById"
      },
      "get": {
        "x-controller-name": "EjercicioPracticoController",
        "x-operation-name": "findById",
        "tags": [
          "EjercicioPracticoController"
        ],
        "responses": {
          "200": {
            "description": "EjercicioPractico model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EjercicioPracticoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EjercicioPractico.Filter"
                }
              }
            }
          }
        ],
        "operationId": "EjercicioPracticoController.findById"
      }
    },
    "/ejercicios-practicos/{id}": {
      "delete": {
        "x-controller-name": "ModuloPsicoeducativoEjercicioPracticoController",
        "x-operation-name": "deleteById",
        "tags": [
          "ModuloPsicoeducativoEjercicioPracticoController"
        ],
        "responses": {
          "204": {
            "description": "EjercicioPractico DELETE success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ModuloPsicoeducativoEjercicioPracticoController.deleteById"
      }
    },
    "/entrada-historias/{id}/consulta": {
      "get": {
        "x-controller-name": "EntradaHistoriaConsultaController",
        "x-operation-name": "getConsulta",
        "tags": [
          "EntradaHistoriaConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Consulta belonging to EntradaHistoria",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Consulta"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EntradaHistoriaConsultaController.getConsulta"
      }
    },
    "/entrada-historias/{id}/historia-clinica": {
      "get": {
        "x-controller-name": "EntradaHistoriaHistoriaClinicaController",
        "x-operation-name": "getHistoriaClinica",
        "tags": [
          "EntradaHistoriaHistoriaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "HistoriaClinica belonging to EntradaHistoria",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoriaClinica"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EntradaHistoriaHistoriaClinicaController.getHistoriaClinica"
      }
    },
    "/evaluacion-progresos/{id}/paciente": {
      "get": {
        "x-controller-name": "EvaluacionProgresoPacienteController",
        "x-operation-name": "getPaciente",
        "tags": [
          "EvaluacionProgresoPacienteController"
        ],
        "responses": {
          "200": {
            "description": "Paciente belonging to EvaluacionProgreso",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Paciente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EvaluacionProgresoPacienteController.getPaciente"
      }
    },
    "/evaluacion-progresos/{id}/terapeuta": {
      "get": {
        "x-controller-name": "EvaluacionProgresoTerapeutaController",
        "x-operation-name": "getTerapeuta",
        "tags": [
          "EvaluacionProgresoTerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta belonging to EvaluacionProgreso",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Terapeuta"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EvaluacionProgresoTerapeutaController.getTerapeuta"
      }
    },
    "/eventos-globales/count": {
      "get": {
        "x-controller-name": "EventoGlobalController",
        "x-operation-name": "count",
        "tags": [
          "EventoGlobalController"
        ],
        "responses": {
          "200": {
            "description": "EventoGlobal model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EventoGlobal.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EventoGlobal>"
                }
              }
            }
          }
        ],
        "operationId": "EventoGlobalController.count"
      }
    },
    "/eventos-globales/{id}": {
      "patch": {
        "x-controller-name": "EventoGlobalController",
        "x-operation-name": "updateById",
        "tags": [
          "EventoGlobalController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EventoGlobal PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EventoGlobalPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EventoGlobalController.updateById"
      },
      "get": {
        "x-controller-name": "EventoGlobalController",
        "x-operation-name": "findById",
        "tags": [
          "EventoGlobalController"
        ],
        "responses": {
          "200": {
            "description": "EventoGlobal model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventoGlobal"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventoGlobal.Filter"
                }
              }
            }
          }
        ],
        "operationId": "EventoGlobalController.findById"
      },
      "delete": {
        "x-controller-name": "EventoGlobalController",
        "x-operation-name": "deleteById",
        "tags": [
          "EventoGlobalController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EventoGlobal DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EventoGlobalController.deleteById"
      }
    },
    "/eventos-globales": {
      "post": {
        "x-controller-name": "EventoGlobalController",
        "x-operation-name": "create",
        "tags": [
          "EventoGlobalController"
        ],
        "responses": {
          "200": {
            "description": "EventoGlobal model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventoGlobal"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewEventoGlobal"
              }
            }
          }
        },
        "operationId": "EventoGlobalController.create"
      },
      "get": {
        "x-controller-name": "EventoGlobalController",
        "x-operation-name": "find",
        "tags": [
          "EventoGlobalController"
        ],
        "responses": {
          "200": {
            "description": "Array of EventoGlobal model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EventoGlobal"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EventoGlobal.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "EventoGlobalController.find"
      }
    },
    "/files/{type}/{filename}": {
      "get": {
        "x-controller-name": "DescargaArchivoController",
        "x-operation-name": "downloadFile",
        "tags": [
          "DescargaArchivoController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filename",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DescargaArchivoController.downloadFile"
      }
    },
    "/files/{type}": {
      "get": {
        "x-controller-name": "DescargaArchivoController",
        "x-operation-name": "listFiles",
        "tags": [
          "DescargaArchivoController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            },
            "description": "A list of files"
          }
        },
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DescargaArchivoController.listFiles"
      }
    },
    "/generarToken": {
      "post": {
        "x-controller-name": "ConsultaResultadoTestController",
        "x-operation-name": "generarToken",
        "tags": [
          "ConsultaResultadoTestController"
        ],
        "responses": {
          "200": {
            "description": "Dar acceso para responder"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TestSelect"
              }
            }
          }
        },
        "operationId": "ConsultaResultadoTestController.generarToken"
      }
    },
    "/historia-clinicas/{id}/entrada-historias": {
      "post": {
        "x-controller-name": "HistoriaClinicaEntradaHistoriaController",
        "x-operation-name": "create",
        "tags": [
          "HistoriaClinicaEntradaHistoriaController"
        ],
        "responses": {
          "200": {
            "description": "HistoriaClinica model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntradaHistoria"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewEntradaHistoriaInHistoriaClinica"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "HistoriaClinicaEntradaHistoriaController.create"
      },
      "patch": {
        "x-controller-name": "HistoriaClinicaEntradaHistoriaController",
        "x-operation-name": "patch",
        "tags": [
          "HistoriaClinicaEntradaHistoriaController"
        ],
        "responses": {
          "200": {
            "description": "HistoriaClinica.EntradaHistoria PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EntradaHistoria.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EntradaHistoria>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EntradaHistoriaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "HistoriaClinicaEntradaHistoriaController.patch"
      },
      "get": {
        "x-controller-name": "HistoriaClinicaEntradaHistoriaController",
        "x-operation-name": "find",
        "tags": [
          "HistoriaClinicaEntradaHistoriaController"
        ],
        "responses": {
          "200": {
            "description": "Array of HistoriaClinica has many EntradaHistoria",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EntradaHistoria"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "HistoriaClinicaEntradaHistoriaController.find"
      },
      "delete": {
        "x-controller-name": "HistoriaClinicaEntradaHistoriaController",
        "x-operation-name": "delete",
        "tags": [
          "HistoriaClinicaEntradaHistoriaController"
        ],
        "responses": {
          "200": {
            "description": "HistoriaClinica.EntradaHistoria DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EntradaHistoria.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EntradaHistoria>"
                }
              }
            }
          }
        ],
        "operationId": "HistoriaClinicaEntradaHistoriaController.delete"
      }
    },
    "/historia-clinicas/{id}/paciente": {
      "get": {
        "x-controller-name": "HistoriaClinicaPacienteController",
        "x-operation-name": "getPaciente",
        "tags": [
          "HistoriaClinicaPacienteController"
        ],
        "responses": {
          "200": {
            "description": "Paciente belonging to HistoriaClinica",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Paciente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "HistoriaClinicaPacienteController.getPaciente"
      }
    },
    "/historias-clinicas/count": {
      "get": {
        "x-controller-name": "HistoriaClinicaController",
        "x-operation-name": "count",
        "tags": [
          "HistoriaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "HistoriaClinica model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "HistoriaClinica.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<HistoriaClinica>"
                }
              }
            }
          }
        ],
        "operationId": "HistoriaClinicaController.count"
      }
    },
    "/historias-clinicas/{id}": {
      "put": {
        "x-controller-name": "HistoriaClinicaController",
        "x-operation-name": "replaceById",
        "tags": [
          "HistoriaClinicaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "HistoriaClinica PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HistoriaClinica"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "HistoriaClinicaController.replaceById"
      },
      "patch": {
        "x-controller-name": "HistoriaClinicaController",
        "x-operation-name": "updateById",
        "tags": [
          "HistoriaClinicaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "HistoriaClinica PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HistoriaClinicaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "HistoriaClinicaController.updateById"
      },
      "get": {
        "x-controller-name": "HistoriaClinicaController",
        "x-operation-name": "findById",
        "tags": [
          "HistoriaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "HistoriaClinica model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoriaClinicaWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoriaClinica.Filter"
                }
              }
            }
          }
        ],
        "operationId": "HistoriaClinicaController.findById"
      },
      "delete": {
        "x-controller-name": "HistoriaClinicaController",
        "x-operation-name": "deleteById",
        "tags": [
          "HistoriaClinicaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "HistoriaClinica DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "HistoriaClinicaController.deleteById"
      }
    },
    "/historias-clinicas": {
      "post": {
        "x-controller-name": "HistoriaClinicaController",
        "x-operation-name": "create",
        "tags": [
          "HistoriaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "HistoriaClinica model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoriaClinica"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewHistoriaClinica"
              }
            }
          }
        },
        "operationId": "HistoriaClinicaController.create"
      },
      "patch": {
        "x-controller-name": "HistoriaClinicaController",
        "x-operation-name": "updateAll",
        "tags": [
          "HistoriaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "HistoriaClinica PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "HistoriaClinica.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<HistoriaClinica>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HistoriaClinicaPartial"
              }
            }
          }
        },
        "operationId": "HistoriaClinicaController.updateAll"
      },
      "get": {
        "x-controller-name": "HistoriaClinicaController",
        "x-operation-name": "find",
        "tags": [
          "HistoriaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "Array of HistoriaClinica model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HistoriaClinicaWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoriaClinica.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "HistoriaClinicaController.find"
      }
    },
    "/identificar": {
      "post": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "identificar",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Identificación de usuarios"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Credenciales"
              }
            }
          }
        },
        "operationId": "UsuarioController.identificar"
      }
    },
    "/mensajes/{id}/paciente": {
      "get": {
        "x-controller-name": "MensajePacienteController",
        "x-operation-name": "getPaciente",
        "tags": [
          "MensajePacienteController"
        ],
        "responses": {
          "200": {
            "description": "Paciente belonging to Mensaje",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Paciente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MensajePacienteController.getPaciente"
      }
    },
    "/mensajes/{id}/terapeuta": {
      "get": {
        "x-controller-name": "MensajeTerapeutaController",
        "x-operation-name": "getTerapeuta",
        "tags": [
          "MensajeTerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta belonging to Mensaje",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Terapeuta"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MensajeTerapeutaController.getTerapeuta"
      }
    },
    "/modulo-psicoeducativos/{id}/ejercicio-practicos": {
      "post": {
        "x-controller-name": "ModuloPsicoeducativoEjercicioPracticoController",
        "x-operation-name": "create",
        "tags": [
          "ModuloPsicoeducativoEjercicioPracticoController"
        ],
        "responses": {
          "200": {
            "description": "ModuloPsicoeducativo model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EjercicioPractico"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewEjercicioPracticoInModuloPsicoeducativo"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModuloPsicoeducativoEjercicioPracticoController.create"
      },
      "patch": {
        "x-controller-name": "ModuloPsicoeducativoEjercicioPracticoController",
        "x-operation-name": "patch",
        "tags": [
          "ModuloPsicoeducativoEjercicioPracticoController"
        ],
        "responses": {
          "200": {
            "description": "ModuloPsicoeducativo.EjercicioPractico PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EjercicioPractico.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EjercicioPractico>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EjercicioPracticoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModuloPsicoeducativoEjercicioPracticoController.patch"
      },
      "get": {
        "x-controller-name": "ModuloPsicoeducativoEjercicioPracticoController",
        "x-operation-name": "find",
        "tags": [
          "ModuloPsicoeducativoEjercicioPracticoController"
        ],
        "responses": {
          "200": {
            "description": "Array of ModuloPsicoeducativo has many EjercicioPractico",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EjercicioPractico"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ModuloPsicoeducativoEjercicioPracticoController.find"
      },
      "delete": {
        "x-controller-name": "ModuloPsicoeducativoEjercicioPracticoController",
        "x-operation-name": "delete",
        "tags": [
          "ModuloPsicoeducativoEjercicioPracticoController"
        ],
        "responses": {
          "200": {
            "description": "ModuloPsicoeducativo.EjercicioPractico DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EjercicioPractico.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EjercicioPractico>"
                }
              }
            }
          }
        ],
        "operationId": "ModuloPsicoeducativoEjercicioPracticoController.delete"
      }
    },
    "/modulo-psicoeducativos/{id}/pacientes": {
      "post": {
        "x-controller-name": "ModuloPsicoeducativoPacienteController",
        "x-operation-name": "create",
        "tags": [
          "ModuloPsicoeducativoPacienteController"
        ],
        "responses": {
          "200": {
            "description": "create a Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Paciente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPacienteInModuloPsicoeducativo"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModuloPsicoeducativoPacienteController.create"
      },
      "patch": {
        "x-controller-name": "ModuloPsicoeducativoPacienteController",
        "x-operation-name": "patch",
        "tags": [
          "ModuloPsicoeducativoPacienteController"
        ],
        "responses": {
          "200": {
            "description": "ModuloPsicoeducativo.Paciente PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Paciente.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Paciente>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacientePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModuloPsicoeducativoPacienteController.patch"
      },
      "get": {
        "x-controller-name": "ModuloPsicoeducativoPacienteController",
        "x-operation-name": "find",
        "tags": [
          "ModuloPsicoeducativoPacienteController"
        ],
        "responses": {
          "200": {
            "description": "Array of ModuloPsicoeducativo has many Paciente through PacienteModuloPsicoeducativo",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Paciente"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ModuloPsicoeducativoPacienteController.find"
      },
      "delete": {
        "x-controller-name": "ModuloPsicoeducativoPacienteController",
        "x-operation-name": "delete",
        "tags": [
          "ModuloPsicoeducativoPacienteController"
        ],
        "responses": {
          "200": {
            "description": "ModuloPsicoeducativo.Paciente DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Paciente.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Paciente>"
                }
              }
            }
          }
        ],
        "operationId": "ModuloPsicoeducativoPacienteController.delete"
      }
    },
    "/modulos-psicoeducativos/count": {
      "get": {
        "x-controller-name": "ModulosPsicoeducativosController",
        "x-operation-name": "count",
        "tags": [
          "ModulosPsicoeducativosController"
        ],
        "responses": {
          "200": {
            "description": "ModuloPsicoeducativo model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ModuloPsicoeducativo.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ModuloPsicoeducativo>"
                }
              }
            }
          }
        ],
        "operationId": "ModulosPsicoeducativosController.count"
      }
    },
    "/modulos-psicoeducativos/{id}": {
      "put": {
        "x-controller-name": "ModulosPsicoeducativosController",
        "x-operation-name": "replaceById",
        "tags": [
          "ModulosPsicoeducativosController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ModuloPsicoeducativo PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModuloPsicoeducativo"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModulosPsicoeducativosController.replaceById"
      },
      "patch": {
        "x-controller-name": "ModulosPsicoeducativosController",
        "x-operation-name": "updateById",
        "tags": [
          "ModulosPsicoeducativosController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ModuloPsicoeducativo PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModuloPsicoeducativoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModulosPsicoeducativosController.updateById"
      },
      "get": {
        "x-controller-name": "ModulosPsicoeducativosController",
        "x-operation-name": "findById",
        "tags": [
          "ModulosPsicoeducativosController"
        ],
        "responses": {
          "200": {
            "description": "ModuloPsicoeducativo model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModuloPsicoeducativoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModuloPsicoeducativo.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ModulosPsicoeducativosController.findById"
      },
      "delete": {
        "x-controller-name": "ModulosPsicoeducativosController",
        "x-operation-name": "deleteById",
        "tags": [
          "ModulosPsicoeducativosController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ModuloPsicoeducativo DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ModulosPsicoeducativosController.deleteById"
      }
    },
    "/modulos-psicoeducativos": {
      "post": {
        "x-controller-name": "ModulosPsicoeducativosController",
        "x-operation-name": "create",
        "tags": [
          "ModulosPsicoeducativosController"
        ],
        "responses": {
          "200": {
            "description": "ModuloPsicoeducativo model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModuloPsicoeducativo"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewModuloPsicoeducativo"
              }
            }
          }
        },
        "operationId": "ModulosPsicoeducativosController.create"
      },
      "patch": {
        "x-controller-name": "ModulosPsicoeducativosController",
        "x-operation-name": "updateAll",
        "tags": [
          "ModulosPsicoeducativosController"
        ],
        "responses": {
          "200": {
            "description": "ModuloPsicoeducativo PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ModuloPsicoeducativo.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ModuloPsicoeducativo>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModuloPsicoeducativoPartial"
              }
            }
          }
        },
        "operationId": "ModulosPsicoeducativosController.updateAll"
      },
      "get": {
        "x-controller-name": "ModulosPsicoeducativosController",
        "x-operation-name": "find",
        "tags": [
          "ModulosPsicoeducativosController"
        ],
        "responses": {
          "200": {
            "description": "Array of ModuloPsicoeducativo model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModuloPsicoeducativoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModuloPsicoeducativo.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ModulosPsicoeducativosController.find"
      }
    },
    "/nota-egresos/count": {
      "get": {
        "x-controller-name": "NotaEgresoController",
        "x-operation-name": "count",
        "tags": [
          "NotaEgresoController"
        ],
        "responses": {
          "200": {
            "description": "NotaEgreso model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "NotaEgreso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<NotaEgreso>"
                }
              }
            }
          }
        ],
        "operationId": "NotaEgresoController.count"
      }
    },
    "/nota-egresos/{id}": {
      "put": {
        "x-controller-name": "NotaEgresoController",
        "x-operation-name": "replaceById",
        "tags": [
          "NotaEgresoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "NotaEgreso PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotaEgreso"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NotaEgresoController.replaceById"
      },
      "patch": {
        "x-controller-name": "NotaEgresoController",
        "x-operation-name": "updateById",
        "tags": [
          "NotaEgresoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "NotaEgreso PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotaEgresoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NotaEgresoController.updateById"
      },
      "get": {
        "x-controller-name": "NotaEgresoController",
        "x-operation-name": "findById",
        "tags": [
          "NotaEgresoController"
        ],
        "responses": {
          "200": {
            "description": "NotaEgreso model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaEgresoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaEgreso.Filter"
                }
              }
            }
          }
        ],
        "operationId": "NotaEgresoController.findById"
      },
      "delete": {
        "x-controller-name": "NotaEgresoController",
        "x-operation-name": "deleteById",
        "tags": [
          "NotaEgresoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "NotaEgreso DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotaEgresoController.deleteById"
      }
    },
    "/nota-egresos": {
      "post": {
        "x-controller-name": "NotaEgresoController",
        "x-operation-name": "create",
        "tags": [
          "NotaEgresoController"
        ],
        "responses": {
          "200": {
            "description": "NotaEgreso model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaEgreso"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNotaEgreso"
              }
            }
          }
        },
        "operationId": "NotaEgresoController.create"
      },
      "patch": {
        "x-controller-name": "NotaEgresoController",
        "x-operation-name": "updateAll",
        "tags": [
          "NotaEgresoController"
        ],
        "responses": {
          "200": {
            "description": "NotaEgreso PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "NotaEgreso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<NotaEgreso>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotaEgresoPartial"
              }
            }
          }
        },
        "operationId": "NotaEgresoController.updateAll"
      },
      "get": {
        "x-controller-name": "NotaEgresoController",
        "x-operation-name": "find",
        "tags": [
          "NotaEgresoController"
        ],
        "responses": {
          "200": {
            "description": "Array of NotaEgreso model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotaEgresoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaEgreso.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "NotaEgresoController.find"
      }
    },
    "/nota-evolucions/count": {
      "get": {
        "x-controller-name": "NotaEvolucionController",
        "x-operation-name": "count",
        "tags": [
          "NotaEvolucionController"
        ],
        "responses": {
          "200": {
            "description": "NotaEvolucion model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "NotaEvolucion.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<NotaEvolucion>"
                }
              }
            }
          }
        ],
        "operationId": "NotaEvolucionController.count"
      }
    },
    "/nota-evolucions/{id}/paciente": {
      "get": {
        "x-controller-name": "NotaEvolucionPacienteController",
        "x-operation-name": "getPaciente",
        "tags": [
          "NotaEvolucionPacienteController"
        ],
        "responses": {
          "200": {
            "description": "Paciente belonging to NotaEvolucion",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Paciente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotaEvolucionPacienteController.getPaciente"
      }
    },
    "/nota-evolucions/{id}": {
      "put": {
        "x-controller-name": "NotaEvolucionController",
        "x-operation-name": "replaceById",
        "tags": [
          "NotaEvolucionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "NotaEvolucion PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotaEvolucion"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NotaEvolucionController.replaceById"
      },
      "patch": {
        "x-controller-name": "NotaEvolucionController",
        "x-operation-name": "updateById",
        "tags": [
          "NotaEvolucionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "NotaEvolucion PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotaEvolucionPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NotaEvolucionController.updateById"
      },
      "get": {
        "x-controller-name": "NotaEvolucionController",
        "x-operation-name": "findById",
        "tags": [
          "NotaEvolucionController"
        ],
        "responses": {
          "200": {
            "description": "NotaEvolucion model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaEvolucionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaEvolucion.Filter"
                }
              }
            }
          }
        ],
        "operationId": "NotaEvolucionController.findById"
      },
      "delete": {
        "x-controller-name": "NotaEvolucionController",
        "x-operation-name": "deleteById",
        "tags": [
          "NotaEvolucionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "NotaEvolucion DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotaEvolucionController.deleteById"
      }
    },
    "/nota-evolucions": {
      "post": {
        "x-controller-name": "NotaEvolucionController",
        "x-operation-name": "create",
        "tags": [
          "NotaEvolucionController"
        ],
        "responses": {
          "200": {
            "description": "NotaEvolucion model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaEvolucion"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNotaEvolucion"
              }
            }
          }
        },
        "operationId": "NotaEvolucionController.create"
      },
      "patch": {
        "x-controller-name": "NotaEvolucionController",
        "x-operation-name": "updateAll",
        "tags": [
          "NotaEvolucionController"
        ],
        "responses": {
          "200": {
            "description": "NotaEvolucion PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "NotaEvolucion.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<NotaEvolucion>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotaEvolucionPartial"
              }
            }
          }
        },
        "operationId": "NotaEvolucionController.updateAll"
      },
      "get": {
        "x-controller-name": "NotaEvolucionController",
        "x-operation-name": "find",
        "tags": [
          "NotaEvolucionController"
        ],
        "responses": {
          "200": {
            "description": "Array of NotaEvolucion model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotaEvolucionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaEvolucion.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "NotaEvolucionController.find"
      }
    },
    "/notas-clinicas/count": {
      "get": {
        "x-controller-name": "NotaClinicaController",
        "x-operation-name": "count",
        "tags": [
          "NotaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "NotaClinica model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "NotaClinica.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<NotaClinica>"
                }
              }
            }
          }
        ],
        "operationId": "NotaClinicaController.count"
      }
    },
    "/notas-clinicas/{id}": {
      "put": {
        "x-controller-name": "NotaClinicaController",
        "x-operation-name": "replaceById",
        "tags": [
          "NotaClinicaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "NotaClinica PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotaClinica"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NotaClinicaController.replaceById"
      },
      "patch": {
        "x-controller-name": "NotaClinicaController",
        "x-operation-name": "updateById",
        "tags": [
          "NotaClinicaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "NotaClinica PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotaClinicaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NotaClinicaController.updateById"
      },
      "get": {
        "x-controller-name": "NotaClinicaController",
        "x-operation-name": "findById",
        "tags": [
          "NotaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "NotaClinica model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaClinicaWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaClinica.Filter"
                }
              }
            }
          }
        ],
        "operationId": "NotaClinicaController.findById"
      },
      "delete": {
        "x-controller-name": "NotaClinicaController",
        "x-operation-name": "deleteById",
        "tags": [
          "NotaClinicaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "NotaClinica DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotaClinicaController.deleteById"
      }
    },
    "/notas-clinicas": {
      "post": {
        "x-controller-name": "NotaClinicaController",
        "x-operation-name": "create",
        "tags": [
          "NotaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "NotaClinica model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaClinica"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNotaClinica"
              }
            }
          }
        },
        "operationId": "NotaClinicaController.create"
      },
      "patch": {
        "x-controller-name": "NotaClinicaController",
        "x-operation-name": "updateAll",
        "tags": [
          "NotaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "NotaClinica PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "NotaClinica.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<NotaClinica>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotaClinicaPartial"
              }
            }
          }
        },
        "operationId": "NotaClinicaController.updateAll"
      }
    },
    "/notificar-administradores": {
      "post": {
        "x-controller-name": "NotificacionesController",
        "x-operation-name": "notificarAdministradores",
        "tags": [
          "NotificacionesController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NotificacionesController.notificarAdministradores"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "NotificacionesController.notificarAdministradores"
      }
    },
    "/notifications/{id}/read": {
      "patch": {
        "x-controller-name": "NotificacionesController",
        "x-operation-name": "markAsRead",
        "tags": [
          "NotificacionesController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NotificacionesController.markAsRead"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotificacionesController.markAsRead"
      }
    },
    "/notifications/{id}": {
      "delete": {
        "x-controller-name": "NotificacionesController",
        "x-operation-name": "deleteById",
        "tags": [
          "NotificacionesController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NotificacionesController.deleteById"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotificacionesController.deleteById"
      }
    },
    "/notifications": {
      "post": {
        "x-controller-name": "NotificacionesController",
        "x-operation-name": "create",
        "tags": [
          "NotificacionesController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NotificacionesController.create"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "NotificacionesController.create"
      }
    },
    "/paciente-ejercicios-practicos/count": {
      "get": {
        "x-controller-name": "PacienteEjercicioController",
        "x-operation-name": "count",
        "tags": [
          "PacienteEjercicioController"
        ],
        "responses": {
          "200": {
            "description": "PacienteEjercicioPractico model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PacienteEjercicioPractico.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PacienteEjercicioPractico>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteEjercicioController.count"
      }
    },
    "/paciente-ejercicios-practicos/{id}": {
      "put": {
        "x-controller-name": "PacienteEjercicioController",
        "x-operation-name": "replaceById",
        "tags": [
          "PacienteEjercicioController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PacienteEjercicioPractico PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacienteEjercicioPractico"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteEjercicioController.replaceById"
      },
      "patch": {
        "x-controller-name": "PacienteEjercicioController",
        "x-operation-name": "updateById",
        "tags": [
          "PacienteEjercicioController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PacienteEjercicioPractico PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacienteEjercicioPracticoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteEjercicioController.updateById"
      },
      "get": {
        "x-controller-name": "PacienteEjercicioController",
        "x-operation-name": "findById",
        "tags": [
          "PacienteEjercicioController"
        ],
        "responses": {
          "200": {
            "description": "PacienteEjercicioPractico model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteEjercicioPracticoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PacienteEjercicioController.findById"
      },
      "delete": {
        "x-controller-name": "PacienteEjercicioController",
        "x-operation-name": "deleteById",
        "tags": [
          "PacienteEjercicioController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PacienteEjercicioPractico DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PacienteEjercicioController.deleteById"
      }
    },
    "/paciente-ejercicios-practicos": {
      "post": {
        "x-controller-name": "PacienteEjercicioController",
        "x-operation-name": "create",
        "tags": [
          "PacienteEjercicioController"
        ],
        "responses": {
          "200": {
            "description": "PacienteEjercicioPractico model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteEjercicioPractico"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "pacienteId": {
                    "type": "number"
                  },
                  "ejercicioPracticoId": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "pacienteId",
                  "ejercicioPracticoId"
                ]
              }
            }
          }
        },
        "operationId": "PacienteEjercicioController.create"
      },
      "patch": {
        "x-controller-name": "PacienteEjercicioController",
        "x-operation-name": "updateAll",
        "tags": [
          "PacienteEjercicioController"
        ],
        "responses": {
          "200": {
            "description": "PacienteEjercicioPractico PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PacienteEjercicioPractico.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PacienteEjercicioPractico>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacienteEjercicioPracticoPartial"
              }
            }
          }
        },
        "operationId": "PacienteEjercicioController.updateAll"
      },
      "get": {
        "x-controller-name": "PacienteEjercicioController",
        "x-operation-name": "find",
        "tags": [
          "PacienteEjercicioController"
        ],
        "responses": {
          "200": {
            "description": "Array of PacienteEjercicioPractico model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PacienteEjercicioPracticoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteEjercicioPractico.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PacienteEjercicioController.find"
      }
    },
    "/paciente-modulo-psicoeducativos/count": {
      "get": {
        "x-controller-name": "PacienteModuloController",
        "x-operation-name": "count",
        "tags": [
          "PacienteModuloController"
        ],
        "responses": {
          "200": {
            "description": "PacienteModuloPsicoeducativo model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PacienteModuloPsicoeducativo.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PacienteModuloPsicoeducativo>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteModuloController.count"
      }
    },
    "/paciente-modulo-psicoeducativos/{id}": {
      "put": {
        "x-controller-name": "PacienteModuloController",
        "x-operation-name": "replaceById",
        "tags": [
          "PacienteModuloController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PacienteModuloPsicoeducativo PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacienteModuloPsicoeducativo"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteModuloController.replaceById"
      },
      "patch": {
        "x-controller-name": "PacienteModuloController",
        "x-operation-name": "updateById",
        "tags": [
          "PacienteModuloController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PacienteModuloPsicoeducativo PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacienteModuloPsicoeducativoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteModuloController.updateById"
      },
      "get": {
        "x-controller-name": "PacienteModuloController",
        "x-operation-name": "findById",
        "tags": [
          "PacienteModuloController"
        ],
        "responses": {
          "200": {
            "description": "PacienteModuloPsicoeducativo model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteModuloPsicoeducativoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteModuloPsicoeducativo.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PacienteModuloController.findById"
      },
      "delete": {
        "x-controller-name": "PacienteModuloController",
        "x-operation-name": "deleteById",
        "tags": [
          "PacienteModuloController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PacienteModuloPsicoeducativo DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PacienteModuloController.deleteById"
      }
    },
    "/paciente-modulo-psicoeducativos": {
      "post": {
        "x-controller-name": "PacienteModuloController",
        "x-operation-name": "create",
        "tags": [
          "PacienteModuloController"
        ],
        "responses": {
          "200": {
            "description": "PacienteModuloPsicoeducativo model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteModuloPsicoeducativo"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "pacienteId": {
                    "type": "number"
                  },
                  "moduloPsicoeducativoId": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "pacienteId",
                  "moduloPsicoeducativoId"
                ]
              }
            }
          }
        },
        "operationId": "PacienteModuloController.create"
      },
      "patch": {
        "x-controller-name": "PacienteModuloController",
        "x-operation-name": "updateAll",
        "tags": [
          "PacienteModuloController"
        ],
        "responses": {
          "200": {
            "description": "PacienteModuloPsicoeducativo PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PacienteModuloPsicoeducativo.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PacienteModuloPsicoeducativo>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacienteModuloPsicoeducativoPartial"
              }
            }
          }
        },
        "operationId": "PacienteModuloController.updateAll"
      }
    },
    "/paciente-modulos-psicoeducativos/{id}": {
      "get": {
        "x-controller-name": "PacienteModuloController",
        "x-operation-name": "find",
        "tags": [
          "PacienteModuloController"
        ],
        "responses": {
          "200": {
            "description": "Array of PacienteModuloPsicoeducativo model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PacienteModuloPsicoeducativoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PacienteModuloController.find"
      }
    },
    "/paciente-terapeutas/count": {
      "get": {
        "x-controller-name": "PacienteTerapeutaController",
        "x-operation-name": "count",
        "tags": [
          "PacienteTerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "PacienteTerapeuta model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PacienteTerapeuta.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PacienteTerapeuta>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteTerapeutaController.count"
      }
    },
    "/paciente-terapeutas/{id}": {
      "put": {
        "x-controller-name": "PacienteTerapeutaController",
        "x-operation-name": "replaceById",
        "tags": [
          "PacienteTerapeutaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PacienteTerapeuta PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacienteTerapeuta"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteTerapeutaController.replaceById"
      },
      "patch": {
        "x-controller-name": "PacienteTerapeutaController",
        "x-operation-name": "updateById",
        "tags": [
          "PacienteTerapeutaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PacienteTerapeuta PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacienteTerapeutaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteTerapeutaController.updateById"
      },
      "get": {
        "x-controller-name": "PacienteTerapeutaController",
        "x-operation-name": "findById",
        "tags": [
          "PacienteTerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "PacienteTerapeuta model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteTerapeutaWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteTerapeuta.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PacienteTerapeutaController.findById"
      },
      "delete": {
        "x-controller-name": "PacienteTerapeutaController",
        "x-operation-name": "deleteById",
        "tags": [
          "PacienteTerapeutaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PacienteTerapeuta DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PacienteTerapeutaController.deleteById"
      }
    },
    "/paciente-terapeutas": {
      "post": {
        "x-controller-name": "PacienteTerapeutaController",
        "x-operation-name": "create",
        "tags": [
          "PacienteTerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "PacienteTerapeuta model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteTerapeuta"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPacienteTerapeuta"
              }
            }
          }
        },
        "operationId": "PacienteTerapeutaController.create"
      },
      "patch": {
        "x-controller-name": "PacienteTerapeutaController",
        "x-operation-name": "updateAll",
        "tags": [
          "PacienteTerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "PacienteTerapeuta PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PacienteTerapeuta.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PacienteTerapeuta>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacienteTerapeutaPartial"
              }
            }
          }
        },
        "operationId": "PacienteTerapeutaController.updateAll"
      },
      "get": {
        "x-controller-name": "PacienteTerapeutaController",
        "x-operation-name": "find",
        "tags": [
          "PacienteTerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Array of PacienteTerapeuta model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PacienteTerapeutaWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteTerapeuta.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "PacienteTerapeutaController.find"
      }
    },
    "/pacientes/buscar-duplicado": {
      "get": {
        "x-controller-name": "PacienteController",
        "x-operation-name": "buscarDuplicado",
        "tags": [
          "PacienteController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PacienteController.buscarDuplicado"
          }
        },
        "parameters": [
          {
            "name": "nombre",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apellidoPaterno",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apellidoMaterno",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fechaNacimiento",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "PacienteController.buscarDuplicado"
      }
    },
    "/pacientes/count": {
      "get": {
        "x-controller-name": "PacienteController",
        "x-operation-name": "count",
        "tags": [
          "PacienteController"
        ],
        "responses": {
          "200": {
            "description": "Paciente model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Paciente.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Paciente>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteController.count"
      }
    },
    "/pacientes/{id}/conceptualizacion-caso": {
      "post": {
        "x-controller-name": "PacienteConceptualizacionCasoController",
        "x-operation-name": "create",
        "tags": [
          "PacienteConceptualizacionCasoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConceptualizacionCaso"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewConceptualizacionCasoInPaciente"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteConceptualizacionCasoController.create"
      },
      "patch": {
        "x-controller-name": "PacienteConceptualizacionCasoController",
        "x-operation-name": "patch",
        "tags": [
          "PacienteConceptualizacionCasoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.ConceptualizacionCaso PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ConceptualizacionCaso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ConceptualizacionCaso>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConceptualizacionCasoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteConceptualizacionCasoController.patch"
      },
      "get": {
        "x-controller-name": "PacienteConceptualizacionCasoController",
        "x-operation-name": "get",
        "tags": [
          "PacienteConceptualizacionCasoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente has one ConceptualizacionCaso",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConceptualizacionCaso"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PacienteConceptualizacionCasoController.get"
      },
      "delete": {
        "x-controller-name": "PacienteConceptualizacionCasoController",
        "x-operation-name": "delete",
        "tags": [
          "PacienteConceptualizacionCasoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.ConceptualizacionCaso DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ConceptualizacionCaso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ConceptualizacionCaso>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteConceptualizacionCasoController.delete"
      }
    },
    "/pacientes/{id}/consultas": {
      "post": {
        "x-controller-name": "PacienteConsultaController",
        "x-operation-name": "create",
        "tags": [
          "PacienteConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Consulta"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewConsultaInPaciente"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteConsultaController.create"
      },
      "patch": {
        "x-controller-name": "PacienteConsultaController",
        "x-operation-name": "patch",
        "tags": [
          "PacienteConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.Consulta PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Consulta.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Consulta>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsultaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteConsultaController.patch"
      },
      "get": {
        "x-controller-name": "PacienteConsultaController",
        "x-operation-name": "find",
        "tags": [
          "PacienteConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Array of Paciente has many Consulta",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Consulta"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PacienteConsultaController.find"
      },
      "delete": {
        "x-controller-name": "PacienteConsultaController",
        "x-operation-name": "delete",
        "tags": [
          "PacienteConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.Consulta DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Consulta.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Consulta>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteConsultaController.delete"
      }
    },
    "/pacientes/{id}/ejercicio-practicos": {
      "post": {
        "x-controller-name": "PacienteEjercicioPracticoController",
        "x-operation-name": "create",
        "tags": [
          "PacienteEjercicioPracticoController"
        ],
        "responses": {
          "200": {
            "description": "create a EjercicioPractico model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EjercicioPractico"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewEjercicioPracticoInPaciente"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteEjercicioPracticoController.create"
      },
      "patch": {
        "x-controller-name": "PacienteEjercicioPracticoController",
        "x-operation-name": "patch",
        "tags": [
          "PacienteEjercicioPracticoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.EjercicioPractico PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EjercicioPractico.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EjercicioPractico>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EjercicioPracticoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteEjercicioPracticoController.patch"
      },
      "get": {
        "x-controller-name": "PacienteEjercicioPracticoController",
        "x-operation-name": "find",
        "tags": [
          "PacienteEjercicioPracticoController"
        ],
        "responses": {
          "200": {
            "description": "Array of Paciente has many EjercicioPractico through PacienteEjercicioPractico",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EjercicioPractico"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PacienteEjercicioPracticoController.find"
      },
      "delete": {
        "x-controller-name": "PacienteEjercicioPracticoController",
        "x-operation-name": "delete",
        "tags": [
          "PacienteEjercicioPracticoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.EjercicioPractico DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EjercicioPractico.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EjercicioPractico>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteEjercicioPracticoController.delete"
      }
    },
    "/pacientes/{id}/evaluacion-progresos": {
      "post": {
        "x-controller-name": "PacienteEvaluacionProgresoController",
        "x-operation-name": "create",
        "tags": [
          "PacienteEvaluacionProgresoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvaluacionProgreso"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewEvaluacionProgresoInPaciente"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteEvaluacionProgresoController.create"
      },
      "patch": {
        "x-controller-name": "PacienteEvaluacionProgresoController",
        "x-operation-name": "patch",
        "tags": [
          "PacienteEvaluacionProgresoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.EvaluacionProgreso PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EvaluacionProgreso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EvaluacionProgreso>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvaluacionProgresoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteEvaluacionProgresoController.patch"
      },
      "get": {
        "x-controller-name": "PacienteEvaluacionProgresoController",
        "x-operation-name": "find",
        "tags": [
          "PacienteEvaluacionProgresoController"
        ],
        "responses": {
          "200": {
            "description": "Array of Paciente has many EvaluacionProgreso",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EvaluacionProgreso"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PacienteEvaluacionProgresoController.find"
      },
      "delete": {
        "x-controller-name": "PacienteEvaluacionProgresoController",
        "x-operation-name": "delete",
        "tags": [
          "PacienteEvaluacionProgresoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.EvaluacionProgreso DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EvaluacionProgreso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EvaluacionProgreso>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteEvaluacionProgresoController.delete"
      }
    },
    "/pacientes/{id}/ficha/acceso": {
      "post": {
        "x-controller-name": "FichaPacienteController",
        "x-operation-name": "registrarAcceso",
        "tags": [
          "FichaPacienteController"
        ],
        "responses": {
          "204": {
            "description": "Registrado"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "motivo",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "atencion",
                "supervision",
                "administrativo",
                "traspaso",
                "auditoria"
              ]
            }
          }
        ],
        "operationId": "FichaPacienteController.registrarAcceso"
      }
    },
    "/pacientes/{id}/ficha/impresion": {
      "post": {
        "x-controller-name": "FichaPacienteController",
        "x-operation-name": "registrarImpresion",
        "tags": [
          "FichaPacienteController"
        ],
        "responses": {
          "204": {
            "description": "Registrado"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FichaPacienteController.registrarImpresion"
      }
    },
    "/pacientes/{id}/ficha": {
      "get": {
        "x-controller-name": "FichaPacienteController",
        "x-operation-name": "ficha",
        "tags": [
          "FichaPacienteController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Expediente completo del paciente (solo lectura)"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FichaPacienteController.ficha"
      }
    },
    "/pacientes/{id}/foto-perfil": {
      "patch": {
        "x-controller-name": "PacienteController",
        "x-operation-name": "actualizarFotoPerfil",
        "tags": [
          "PacienteController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PacienteController.actualizarFotoPerfil"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteController.actualizarFotoPerfil"
      }
    },
    "/pacientes/{id}/historia-clinica": {
      "post": {
        "x-controller-name": "PacienteHistoriaClinicaController",
        "x-operation-name": "create",
        "tags": [
          "PacienteHistoriaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoriaClinica"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewHistoriaClinicaInPaciente"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteHistoriaClinicaController.create"
      },
      "patch": {
        "x-controller-name": "PacienteHistoriaClinicaController",
        "x-operation-name": "patch",
        "tags": [
          "PacienteHistoriaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.HistoriaClinica PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "HistoriaClinica.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<HistoriaClinica>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HistoriaClinicaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteHistoriaClinicaController.patch"
      },
      "get": {
        "x-controller-name": "PacienteHistoriaClinicaController",
        "x-operation-name": "get",
        "tags": [
          "PacienteHistoriaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "Paciente has one HistoriaClinica",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoriaClinica"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PacienteHistoriaClinicaController.get"
      },
      "delete": {
        "x-controller-name": "PacienteHistoriaClinicaController",
        "x-operation-name": "delete",
        "tags": [
          "PacienteHistoriaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.HistoriaClinica DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "HistoriaClinica.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<HistoriaClinica>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteHistoriaClinicaController.delete"
      }
    },
    "/pacientes/{id}/mensajes": {
      "post": {
        "x-controller-name": "PacienteMensajeController",
        "x-operation-name": "create",
        "tags": [
          "PacienteMensajeController"
        ],
        "responses": {
          "200": {
            "description": "Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Mensaje"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewMensajeInPaciente"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteMensajeController.create"
      },
      "patch": {
        "x-controller-name": "PacienteMensajeController",
        "x-operation-name": "patch",
        "tags": [
          "PacienteMensajeController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.Mensaje PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Mensaje.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Mensaje>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MensajePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteMensajeController.patch"
      },
      "get": {
        "x-controller-name": "PacienteMensajeController",
        "x-operation-name": "find",
        "tags": [
          "PacienteMensajeController"
        ],
        "responses": {
          "200": {
            "description": "Array of Paciente has many Mensaje",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Mensaje"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PacienteMensajeController.find"
      },
      "delete": {
        "x-controller-name": "PacienteMensajeController",
        "x-operation-name": "delete",
        "tags": [
          "PacienteMensajeController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.Mensaje DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Mensaje.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Mensaje>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteMensajeController.delete"
      }
    },
    "/pacientes/{id}/modulo-psicoeducativos": {
      "post": {
        "x-controller-name": "PacienteModuloPsicoeducativoController",
        "x-operation-name": "create",
        "tags": [
          "PacienteModuloPsicoeducativoController"
        ],
        "responses": {
          "200": {
            "description": "create a ModuloPsicoeducativo model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModuloPsicoeducativo"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewModuloPsicoeducativoInPaciente"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteModuloPsicoeducativoController.create"
      },
      "patch": {
        "x-controller-name": "PacienteModuloPsicoeducativoController",
        "x-operation-name": "patch",
        "tags": [
          "PacienteModuloPsicoeducativoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.ModuloPsicoeducativo PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ModuloPsicoeducativo.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ModuloPsicoeducativo>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModuloPsicoeducativoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteModuloPsicoeducativoController.patch"
      },
      "get": {
        "x-controller-name": "PacienteModuloPsicoeducativoController",
        "x-operation-name": "find",
        "tags": [
          "PacienteModuloPsicoeducativoController"
        ],
        "responses": {
          "200": {
            "description": "Array of Paciente has many ModuloPsicoeducativo through PacienteModuloPsicoeducativo",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModuloPsicoeducativo"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PacienteModuloPsicoeducativoController.find"
      },
      "delete": {
        "x-controller-name": "PacienteModuloPsicoeducativoController",
        "x-operation-name": "delete",
        "tags": [
          "PacienteModuloPsicoeducativoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.ModuloPsicoeducativo DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ModuloPsicoeducativo.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ModuloPsicoeducativo>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteModuloPsicoeducativoController.delete"
      }
    },
    "/pacientes/{id}/nota-egreso": {
      "post": {
        "x-controller-name": "PacienteNotaEgresoController",
        "x-operation-name": "create",
        "tags": [
          "PacienteNotaEgresoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaEgreso"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNotaEgresoInPaciente"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteNotaEgresoController.create"
      },
      "patch": {
        "x-controller-name": "PacienteNotaEgresoController",
        "x-operation-name": "patch",
        "tags": [
          "PacienteNotaEgresoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.NotaEgreso PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "NotaEgreso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<NotaEgreso>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotaEgresoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteNotaEgresoController.patch"
      },
      "get": {
        "x-controller-name": "PacienteNotaEgresoController",
        "x-operation-name": "get",
        "tags": [
          "PacienteNotaEgresoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente has one NotaEgreso",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaEgreso"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PacienteNotaEgresoController.get"
      },
      "delete": {
        "x-controller-name": "PacienteNotaEgresoController",
        "x-operation-name": "delete",
        "tags": [
          "PacienteNotaEgresoController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.NotaEgreso DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "NotaEgreso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<NotaEgreso>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteNotaEgresoController.delete"
      }
    },
    "/pacientes/{id}/nota-evolucions": {
      "post": {
        "x-controller-name": "PacienteNotaEvolucionController",
        "x-operation-name": "create",
        "tags": [
          "PacienteNotaEvolucionController"
        ],
        "responses": {
          "200": {
            "description": "Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotaEvolucion"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNotaEvolucionInPaciente"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteNotaEvolucionController.create"
      },
      "patch": {
        "x-controller-name": "PacienteNotaEvolucionController",
        "x-operation-name": "patch",
        "tags": [
          "PacienteNotaEvolucionController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.NotaEvolucion PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "NotaEvolucion.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<NotaEvolucion>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotaEvolucionPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteNotaEvolucionController.patch"
      },
      "get": {
        "x-controller-name": "PacienteNotaEvolucionController",
        "x-operation-name": "find",
        "tags": [
          "PacienteNotaEvolucionController"
        ],
        "responses": {
          "200": {
            "description": "Array of Paciente has many NotaEvolucion",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotaEvolucion"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PacienteNotaEvolucionController.find"
      },
      "delete": {
        "x-controller-name": "PacienteNotaEvolucionController",
        "x-operation-name": "delete",
        "tags": [
          "PacienteNotaEvolucionController"
        ],
        "responses": {
          "200": {
            "description": "Paciente.NotaEvolucion DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "NotaEvolucion.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<NotaEvolucion>"
                }
              }
            }
          }
        ],
        "operationId": "PacienteNotaEvolucionController.delete"
      }
    },
    "/pacientes/{id}/notas-clinicas": {
      "get": {
        "x-controller-name": "NotaClinicaController",
        "x-operation-name": "find",
        "tags": [
          "NotaClinicaController"
        ],
        "responses": {
          "200": {
            "description": "Array of Paciente has many Consulta",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotaClinica"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "NotaClinicaController.find"
      }
    },
    "/pacientes/{id}/planes-tratamiento": {
      "get": {
        "x-controller-name": "PlanTratamientoController",
        "x-operation-name": "find",
        "tags": [
          "PlanTratamientoController"
        ],
        "responses": {
          "200": {
            "description": "Planes de tratamiento de un paciente",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlanTratamiento"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PlanTratamientoController.find"
      }
    },
    "/pacientes/{id}/tareas": {
      "get": {
        "x-controller-name": "TareaController",
        "x-operation-name": "find",
        "tags": [
          "TareaController"
        ],
        "responses": {
          "200": {
            "description": "Tareas de un paciente",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Tarea"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TareaController.find"
      }
    },
    "/pacientes/{id}/terapeuta": {
      "get": {
        "x-controller-name": "PacienteTerapeutaController",
        "x-operation-name": "findTerapeutaByPacienteId",
        "tags": [
          "PacienteTerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Encontrar Terapeuta Por ID Paciente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteTerapeutaWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PacienteTerapeutaController.findTerapeutaByPacienteId"
      }
    },
    "/pacientes/{pacienteId}/traspasar": {
      "post": {
        "x-controller-name": "TerapeutaPacienteController",
        "x-operation-name": "traspasarPaciente",
        "tags": [
          "TerapeutaPacienteController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TerapeutaPacienteController.traspasarPaciente"
          }
        },
        "parameters": [
          {
            "name": "pacienteId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaPacienteController.traspasarPaciente"
      }
    },
    "/pacientes/{id}": {
      "put": {
        "x-controller-name": "PacienteController",
        "x-operation-name": "replaceById",
        "tags": [
          "PacienteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Paciente PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Paciente"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteController.replaceById"
      },
      "patch": {
        "x-controller-name": "PacienteController",
        "x-operation-name": "updateById",
        "tags": [
          "PacienteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Paciente PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacientePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PacienteController.updateById"
      },
      "get": {
        "x-controller-name": "PacienteController",
        "x-operation-name": "findById",
        "tags": [
          "PacienteController"
        ],
        "responses": {
          "200": {
            "description": "Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PacienteWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Paciente.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PacienteController.findById"
      },
      "delete": {
        "x-controller-name": "PacienteController",
        "x-operation-name": "deleteById",
        "tags": [
          "PacienteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Paciente DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PacienteController.deleteById"
      }
    },
    "/pacientes": {
      "post": {
        "x-controller-name": "PacienteController",
        "x-operation-name": "create",
        "tags": [
          "PacienteController"
        ],
        "responses": {
          "200": {
            "description": "Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Paciente"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPaciente"
              }
            }
          }
        },
        "operationId": "PacienteController.create"
      },
      "patch": {
        "x-controller-name": "PacienteController",
        "x-operation-name": "updateAll",
        "tags": [
          "PacienteController"
        ],
        "responses": {
          "200": {
            "description": "Paciente PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Paciente.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Paciente>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacientePartial"
              }
            }
          }
        },
        "operationId": "PacienteController.updateAll"
      },
      "get": {
        "x-controller-name": "PacienteController",
        "x-operation-name": "find",
        "tags": [
          "PacienteController"
        ],
        "responses": {
          "200": {
            "description": "Array of Paciente model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PacienteWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Paciente.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "PacienteController.find"
      }
    },
    "/ping": {
      "get": {
        "x-controller-name": "PingController",
        "x-operation-name": "ping",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Ping Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PingResponse"
                }
              }
            }
          }
        },
        "operationId": "PingController.ping"
      }
    },
    "/planes-tratamiento/{id}": {
      "delete": {
        "x-controller-name": "PlanTratamientoController",
        "x-operation-name": "deleteById",
        "tags": [
          "PlanTratamientoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PlanTratamiento DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PlanTratamientoController.deleteById"
      }
    },
    "/planes-tratamiento": {
      "post": {
        "x-controller-name": "PlanTratamientoController",
        "x-operation-name": "create",
        "tags": [
          "PlanTratamientoController"
        ],
        "responses": {
          "200": {
            "description": "PlanTratamiento model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlanTratamiento"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPlanTratamiento"
              }
            }
          }
        },
        "operationId": "PlanTratamientoController.create"
      }
    },
    "/recuperacion/cambiar": {
      "post": {
        "x-controller-name": "RecuperacionController",
        "x-operation-name": "cambiar",
        "tags": [
          "RecuperacionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Contraseña actualizada"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token",
                  "newPassword"
                ],
                "properties": {
                  "token": {
                    "type": "string"
                  },
                  "newPassword": {
                    "type": "string",
                    "minLength": 8
                  }
                }
              }
            }
          }
        },
        "operationId": "RecuperacionController.cambiar"
      }
    },
    "/recuperacion/estado": {
      "post": {
        "x-controller-name": "RecuperacionController",
        "x-operation-name": "estado",
        "tags": [
          "RecuperacionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Estado de la solicitud del solicitante"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "claveSeguimiento": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "RecuperacionController.estado"
      }
    },
    "/recuperacion/pendientes": {
      "get": {
        "x-controller-name": "RecuperacionController",
        "x-operation-name": "pendientes",
        "tags": [
          "RecuperacionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Solicitudes pendientes que puede aprobar"
                }
              }
            }
          }
        },
        "operationId": "RecuperacionController.pendientes"
      }
    },
    "/recuperacion/solicitar": {
      "post": {
        "x-controller-name": "RecuperacionController",
        "x-operation-name": "solicitar",
        "tags": [
          "RecuperacionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Solicitud de recuperación creada"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "RecuperacionController.solicitar"
      }
    },
    "/recuperacion/{id}/aprobar": {
      "post": {
        "x-controller-name": "RecuperacionController",
        "x-operation-name": "aprobar",
        "tags": [
          "RecuperacionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Solicitud aprobada"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RecuperacionController.aprobar"
      }
    },
    "/recuperacion/{id}/rechazar": {
      "post": {
        "x-controller-name": "RecuperacionController",
        "x-operation-name": "rechazar",
        "tags": [
          "RecuperacionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Solicitud rechazada"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RecuperacionController.rechazar"
      }
    },
    "/registro-pagos/{id}/evidencia": {
      "get": {
        "x-controller-name": "RegistroPagosController",
        "x-operation-name": "evidencia",
        "tags": [
          "RegistroPagosController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Evidencia fotográfica del pago"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RegistroPagosController.evidencia"
      }
    },
    "/registro-pagos/{id}": {
      "delete": {
        "x-controller-name": "RegistroPagosController",
        "x-operation-name": "eliminar",
        "tags": [
          "RegistroPagosController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Registro eliminado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RegistroPagosController.eliminar"
      }
    },
    "/registro-pagos": {
      "post": {
        "x-controller-name": "RegistroPagosController",
        "x-operation-name": "crear",
        "tags": [
          "RegistroPagosController"
        ],
        "responses": {
          "200": {
            "description": "Pago agregado al registro",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegistroPago"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NuevoRegistroPago"
              }
            }
          }
        },
        "operationId": "RegistroPagosController.crear"
      },
      "get": {
        "x-controller-name": "RegistroPagosController",
        "x-operation-name": "listar",
        "tags": [
          "RegistroPagosController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Registro de pagos (sin evidencias)"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "desde",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RegistroPagosController.listar"
      }
    },
    "/reset-password/request": {
      "post": {
        "x-controller-name": "reinicioContrasenaController",
        "x-operation-name": "requestResetPassword",
        "tags": [
          "reinicioContrasenaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Request reset password"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  }
                },
                "required": [
                  "email"
                ]
              }
            }
          }
        },
        "operationId": "reinicioContrasenaController.requestResetPassword"
      }
    },
    "/respaldos/completo": {
      "get": {
        "x-controller-name": "RespaldoController",
        "x-operation-name": "completo",
        "tags": [
          "RespaldoController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Respaldo completo: expedientes en HTML y pagos en CSV"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "key",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RespaldoController.completo"
      }
    },
    "/respaldos/estado": {
      "get": {
        "x-controller-name": "RespaldoController",
        "x-operation-name": "estado",
        "tags": [
          "RespaldoController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Estado de las exportaciones"
                }
              }
            }
          }
        },
        "operationId": "RespaldoController.estado"
      }
    },
    "/respaldos/expediente/{id}/zip": {
      "get": {
        "x-controller-name": "RespaldoController",
        "x-operation-name": "expedienteZip",
        "tags": [
          "RespaldoController"
        ],
        "responses": {
          "200": {
            "description": "ZIP cifrado",
            "content": {
              "application/zip": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RespaldoController.expedienteZip"
      }
    },
    "/respaldos/expediente/{id}": {
      "get": {
        "x-controller-name": "RespaldoController",
        "x-operation-name": "expediente",
        "tags": [
          "RespaldoController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Expediente clínico del paciente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RespaldoController.expediente"
      }
    },
    "/respaldos/pacientes": {
      "get": {
        "x-controller-name": "RespaldoController",
        "x-operation-name": "pacientes",
        "tags": [
          "RespaldoController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Pacientes (datos básicos)"
                }
              }
            }
          }
        },
        "operationId": "RespaldoController.pacientes"
      }
    },
    "/respaldos/pagos": {
      "get": {
        "x-controller-name": "RespaldoController",
        "x-operation-name": "pagos",
        "tags": [
          "RespaldoController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Registro de pagos"
                }
              }
            }
          }
        },
        "operationId": "RespaldoController.pagos"
      }
    },
    "/respuesta-relevantes/{id}/resultado-test": {
      "get": {
        "x-controller-name": "RespuestaRelevanteResultadoTestController",
        "x-operation-name": "getResultadoTest",
        "tags": [
          "RespuestaRelevanteResultadoTestController"
        ],
        "responses": {
          "200": {
            "description": "ResultadoTest belonging to RespuestaRelevante",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultadoTest"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RespuestaRelevanteResultadoTestController.getResultadoTest"
      }
    },
    "/respuestas-relevantes/count": {
      "get": {
        "x-controller-name": "RespuestaRelevanteController",
        "x-operation-name": "count",
        "tags": [
          "RespuestaRelevanteController"
        ],
        "responses": {
          "200": {
            "description": "RespuestaRelevante model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RespuestaRelevante.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RespuestaRelevante>"
                }
              }
            }
          }
        ],
        "operationId": "RespuestaRelevanteController.count"
      }
    },
    "/respuestas-relevantes/{id}": {
      "put": {
        "x-controller-name": "RespuestaRelevanteController",
        "x-operation-name": "replaceById",
        "tags": [
          "RespuestaRelevanteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "RespuestaRelevante PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RespuestaRelevante"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RespuestaRelevanteController.replaceById"
      },
      "patch": {
        "x-controller-name": "RespuestaRelevanteController",
        "x-operation-name": "updateById",
        "tags": [
          "RespuestaRelevanteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "RespuestaRelevante PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RespuestaRelevantePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RespuestaRelevanteController.updateById"
      },
      "get": {
        "x-controller-name": "RespuestaRelevanteController",
        "x-operation-name": "findById",
        "tags": [
          "RespuestaRelevanteController"
        ],
        "responses": {
          "200": {
            "description": "RespuestaRelevante model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RespuestaRelevanteWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RespuestaRelevante.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RespuestaRelevanteController.findById"
      },
      "delete": {
        "x-controller-name": "RespuestaRelevanteController",
        "x-operation-name": "deleteById",
        "tags": [
          "RespuestaRelevanteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "RespuestaRelevante DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RespuestaRelevanteController.deleteById"
      }
    },
    "/respuestas-relevantes": {
      "post": {
        "x-controller-name": "RespuestaRelevanteController",
        "x-operation-name": "create",
        "tags": [
          "RespuestaRelevanteController"
        ],
        "responses": {
          "200": {
            "description": "RespuestaRelevante model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RespuestaRelevante"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRespuestaRelevante"
              }
            }
          }
        },
        "operationId": "RespuestaRelevanteController.create"
      },
      "patch": {
        "x-controller-name": "RespuestaRelevanteController",
        "x-operation-name": "updateAll",
        "tags": [
          "RespuestaRelevanteController"
        ],
        "responses": {
          "200": {
            "description": "RespuestaRelevante PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RespuestaRelevante.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RespuestaRelevante>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RespuestaRelevantePartial"
              }
            }
          }
        },
        "operationId": "RespuestaRelevanteController.updateAll"
      },
      "get": {
        "x-controller-name": "RespuestaRelevanteController",
        "x-operation-name": "find",
        "tags": [
          "RespuestaRelevanteController"
        ],
        "responses": {
          "200": {
            "description": "Array of RespuestaRelevante model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RespuestaRelevanteWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RespuestaRelevante.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "RespuestaRelevanteController.find"
      }
    },
    "/resultado-tests/{id}/consulta": {
      "get": {
        "x-controller-name": "ResultadoTestConsultaController",
        "x-operation-name": "getConsulta",
        "tags": [
          "ResultadoTestConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Consulta belonging to ResultadoTest",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Consulta"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ResultadoTestConsultaController.getConsulta"
      }
    },
    "/resultado-tests/{id}/respuesta-relevantes": {
      "post": {
        "x-controller-name": "ResultadoTestRespuestaRelevanteController",
        "x-operation-name": "create",
        "tags": [
          "ResultadoTestRespuestaRelevanteController"
        ],
        "responses": {
          "200": {
            "description": "Respuestas Relevantes",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RespuestaRelevante"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "resultadoTestId": {
                    "type": "number"
                  },
                  "respuestasRelevantes": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  }
                },
                "required": [
                  "resultadoTestId",
                  "respuestasRelevantes"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ResultadoTestRespuestaRelevanteController.create"
      },
      "patch": {
        "x-controller-name": "ResultadoTestRespuestaRelevanteController",
        "x-operation-name": "patch",
        "tags": [
          "ResultadoTestRespuestaRelevanteController"
        ],
        "responses": {
          "200": {
            "description": "ResultadoTest.RespuestaRelevante PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RespuestaRelevante.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RespuestaRelevante>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RespuestaRelevantePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ResultadoTestRespuestaRelevanteController.patch"
      },
      "get": {
        "x-controller-name": "ResultadoTestRespuestaRelevanteController",
        "x-operation-name": "find",
        "tags": [
          "ResultadoTestRespuestaRelevanteController"
        ],
        "responses": {
          "200": {
            "description": "Array of ResultadoTest has many RespuestaRelevante",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RespuestaRelevante"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ResultadoTestRespuestaRelevanteController.find"
      },
      "delete": {
        "x-controller-name": "ResultadoTestRespuestaRelevanteController",
        "x-operation-name": "delete",
        "tags": [
          "ResultadoTestRespuestaRelevanteController"
        ],
        "responses": {
          "200": {
            "description": "ResultadoTest.RespuestaRelevante DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RespuestaRelevante.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RespuestaRelevante>"
                }
              }
            }
          }
        ],
        "operationId": "ResultadoTestRespuestaRelevanteController.delete"
      }
    },
    "/resultado-tests/{id}/test-psicometrico": {
      "get": {
        "x-controller-name": "ResultadoTestTestPsicometricoController",
        "x-operation-name": "getTestPsicometrico",
        "tags": [
          "ResultadoTestTestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "TestPsicometrico belonging to ResultadoTest",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestPsicometrico"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ResultadoTestTestPsicometricoController.getTestPsicometrico"
      }
    },
    "/rols/{id}/usuarios": {
      "post": {
        "x-controller-name": "RolUsuarioController",
        "x-operation-name": "create",
        "tags": [
          "RolUsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Rol model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Usuario"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUsuarioInRol"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RolUsuarioController.create"
      },
      "patch": {
        "x-controller-name": "RolUsuarioController",
        "x-operation-name": "patch",
        "tags": [
          "RolUsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Rol.Usuario PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Usuario.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Usuario>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsuarioPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RolUsuarioController.patch"
      },
      "get": {
        "x-controller-name": "RolUsuarioController",
        "x-operation-name": "find",
        "tags": [
          "RolUsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Array of Rol has many Usuario",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Usuario"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "RolUsuarioController.find"
      },
      "delete": {
        "x-controller-name": "RolUsuarioController",
        "x-operation-name": "delete",
        "tags": [
          "RolUsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Rol.Usuario DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Usuario.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Usuario>"
                }
              }
            }
          }
        ],
        "operationId": "RolUsuarioController.delete"
      }
    },
    "/setup/estado": {
      "get": {
        "x-controller-name": "SetupController",
        "x-operation-name": "estado",
        "tags": [
          "SetupController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Indica si falta la instalación inicial"
                }
              }
            }
          }
        },
        "operationId": "SetupController.estado"
      }
    },
    "/setup/super-admin": {
      "post": {
        "x-controller-name": "SetupController",
        "x-operation-name": "crearPrimerSuperAdmin",
        "tags": [
          "SetupController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Primer super administrador creado"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "password",
                  "claveInstalacion"
                ],
                "properties": {
                  "Nombre": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  },
                  "claveInstalacion": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "SetupController.crearPrimerSuperAdmin"
      }
    },
    "/superadmin/roles": {
      "get": {
        "x-controller-name": "SuperAdminController",
        "x-operation-name": "roles",
        "tags": [
          "SuperAdminController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Roles disponibles para el alta de usuarios"
                }
              }
            }
          }
        },
        "operationId": "SuperAdminController.roles"
      }
    },
    "/superadmin/usuarios/{id}/correo": {
      "patch": {
        "x-controller-name": "SuperAdminController",
        "x-operation-name": "cambiarCorreo",
        "tags": [
          "SuperAdminController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Correo actualizado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SuperAdminController.cambiarCorreo"
      }
    },
    "/superadmin/usuarios/{id}/password": {
      "patch": {
        "x-controller-name": "SuperAdminController",
        "x-operation-name": "cambiarPassword",
        "tags": [
          "SuperAdminController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Contraseña actualizada"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "passwordNueva"
                ],
                "properties": {
                  "passwordNueva": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SuperAdminController.cambiarPassword"
      }
    },
    "/superadmin/usuarios/{id}/rol-superadmin": {
      "patch": {
        "x-controller-name": "SuperAdminController",
        "x-operation-name": "cambiarRolSuperAdmin",
        "tags": [
          "SuperAdminController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Rol de super administrador actualizado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "esSuperAdmin"
                ],
                "properties": {
                  "esSuperAdmin": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SuperAdminController.cambiarRolSuperAdmin"
      }
    },
    "/superadmin/usuarios": {
      "post": {
        "x-controller-name": "SuperAdminController",
        "x-operation-name": "crearUsuario",
        "tags": [
          "SuperAdminController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Cuenta creada"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "Email",
                  "Nombre",
                  "rolId"
                ],
                "properties": {
                  "Email": {
                    "type": "string",
                    "maxLength": 254
                  },
                  "Nombre": {
                    "type": "string",
                    "maxLength": 200
                  },
                  "rolId": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string",
                    "maxLength": 72
                  },
                  "activo": {
                    "type": "boolean"
                  },
                  "emailVerificado": {
                    "type": "boolean"
                  },
                  "enviarCorreo": {
                    "type": "boolean"
                  },
                  "ficha": {
                    "type": "object",
                    "additionalProperties": true
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "operationId": "SuperAdminController.crearUsuario"
      },
      "get": {
        "x-controller-name": "SuperAdminController",
        "x-operation-name": "listarUsuarios",
        "tags": [
          "SuperAdminController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Lista de usuarios del sistema"
                }
              }
            }
          }
        },
        "operationId": "SuperAdminController.listarUsuarios"
      }
    },
    "/tareas/{id}": {
      "patch": {
        "x-controller-name": "TareaController",
        "x-operation-name": "updateById",
        "tags": [
          "TareaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Tarea PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TareaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TareaController.updateById"
      },
      "delete": {
        "x-controller-name": "TareaController",
        "x-operation-name": "deleteById",
        "tags": [
          "TareaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Tarea DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TareaController.deleteById"
      }
    },
    "/tareas": {
      "post": {
        "x-controller-name": "TareaController",
        "x-operation-name": "create",
        "tags": [
          "TareaController"
        ],
        "responses": {
          "200": {
            "description": "Tarea model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tarea"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTarea"
              }
            }
          }
        },
        "operationId": "TareaController.create"
      }
    },
    "/terapeutas/count": {
      "get": {
        "x-controller-name": "TerapeutaController",
        "x-operation-name": "count",
        "tags": [
          "TerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Terapeuta.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Terapeuta>"
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaController.count"
      }
    },
    "/terapeutas/{id}/consultas": {
      "post": {
        "x-controller-name": "TerapeutaConsultaController",
        "x-operation-name": "create",
        "tags": [
          "TerapeutaConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Consulta"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewConsultaInTerapeuta"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaConsultaController.create"
      },
      "patch": {
        "x-controller-name": "TerapeutaConsultaController",
        "x-operation-name": "patch",
        "tags": [
          "TerapeutaConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta.Consulta PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Consulta.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Consulta>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsultaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaConsultaController.patch"
      },
      "get": {
        "x-controller-name": "TerapeutaConsultaController",
        "x-operation-name": "find",
        "tags": [
          "TerapeutaConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Array of Terapeuta has many Consulta",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Consulta"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaConsultaController.find"
      },
      "delete": {
        "x-controller-name": "TerapeutaConsultaController",
        "x-operation-name": "delete",
        "tags": [
          "TerapeutaConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta.Consulta DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Consulta.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Consulta>"
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaConsultaController.delete"
      }
    },
    "/terapeutas/{id}/evaluacion-progresos": {
      "post": {
        "x-controller-name": "TerapeutaEvaluacionProgresoController",
        "x-operation-name": "create",
        "tags": [
          "TerapeutaEvaluacionProgresoController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EvaluacionProgreso"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewEvaluacionProgresoInTerapeuta"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaEvaluacionProgresoController.create"
      },
      "patch": {
        "x-controller-name": "TerapeutaEvaluacionProgresoController",
        "x-operation-name": "patch",
        "tags": [
          "TerapeutaEvaluacionProgresoController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta.EvaluacionProgreso PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EvaluacionProgreso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EvaluacionProgreso>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvaluacionProgresoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaEvaluacionProgresoController.patch"
      },
      "get": {
        "x-controller-name": "TerapeutaEvaluacionProgresoController",
        "x-operation-name": "find",
        "tags": [
          "TerapeutaEvaluacionProgresoController"
        ],
        "responses": {
          "200": {
            "description": "Array of Terapeuta has many EvaluacionProgreso",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EvaluacionProgreso"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaEvaluacionProgresoController.find"
      },
      "delete": {
        "x-controller-name": "TerapeutaEvaluacionProgresoController",
        "x-operation-name": "delete",
        "tags": [
          "TerapeutaEvaluacionProgresoController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta.EvaluacionProgreso DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EvaluacionProgreso.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EvaluacionProgreso>"
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaEvaluacionProgresoController.delete"
      }
    },
    "/terapeutas/{id}/foto-perfil": {
      "patch": {
        "x-controller-name": "TerapeutaController",
        "x-operation-name": "actualizarFotoPerfil",
        "tags": [
          "TerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TerapeutaController.actualizarFotoPerfil"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaController.actualizarFotoPerfil"
      }
    },
    "/terapeutas/{id}/mensajes": {
      "post": {
        "x-controller-name": "TerapeutaMensajeController",
        "x-operation-name": "create",
        "tags": [
          "TerapeutaMensajeController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Mensaje"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewMensajeInTerapeuta"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaMensajeController.create"
      },
      "patch": {
        "x-controller-name": "TerapeutaMensajeController",
        "x-operation-name": "patch",
        "tags": [
          "TerapeutaMensajeController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta.Mensaje PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Mensaje.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Mensaje>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MensajePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaMensajeController.patch"
      },
      "get": {
        "x-controller-name": "TerapeutaMensajeController",
        "x-operation-name": "find",
        "tags": [
          "TerapeutaMensajeController"
        ],
        "responses": {
          "200": {
            "description": "Array of Terapeuta has many Mensaje",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Mensaje"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaMensajeController.find"
      },
      "delete": {
        "x-controller-name": "TerapeutaMensajeController",
        "x-operation-name": "delete",
        "tags": [
          "TerapeutaMensajeController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta.Mensaje DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Mensaje.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Mensaje>"
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaMensajeController.delete"
      }
    },
    "/terapeutas/{terapeutaId}/pacientes/{pacienteId}/anclado": {
      "patch": {
        "x-controller-name": "PacienteTerapeutaController",
        "x-operation-name": "setAnclado",
        "tags": [
          "PacienteTerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Estado de anclado actualizado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "terapeutaId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "pacienteId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "PacienteTerapeutaController.setAnclado"
      }
    },
    "/terapeutas/{id}/pacientes": {
      "post": {
        "x-controller-name": "TerapeutaPacienteController",
        "x-operation-name": "create",
        "tags": [
          "TerapeutaPacienteController"
        ],
        "responses": {
          "200": {
            "description": "create a Paciente model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Paciente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPacienteInTerapeuta"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaPacienteController.create"
      },
      "patch": {
        "x-controller-name": "TerapeutaPacienteController",
        "x-operation-name": "patch",
        "tags": [
          "TerapeutaPacienteController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta.Paciente PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Paciente.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Paciente>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PacientePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaPacienteController.patch"
      },
      "get": {
        "x-controller-name": "TerapeutaPacienteController",
        "x-operation-name": "find",
        "tags": [
          "TerapeutaPacienteController"
        ],
        "responses": {
          "200": {
            "description": "Array of Terapeuta has many Paciente through PacienteTerapeuta",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Paciente"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaPacienteController.find"
      },
      "delete": {
        "x-controller-name": "TerapeutaPacienteController",
        "x-operation-name": "delete",
        "tags": [
          "TerapeutaPacienteController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta.Paciente DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Paciente.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Paciente>"
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaPacienteController.delete"
      }
    },
    "/terapeutas/{id}/pacientes-asignados": {
      "get": {
        "x-controller-name": "TerapeutaController",
        "x-operation-name": "pacientesAsignados",
        "tags": [
          "TerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Pacientes asignados al terapeuta (información completa)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Paciente"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TerapeutaController.pacientesAsignados"
      }
    },
    "/terapeutas/{id}": {
      "put": {
        "x-controller-name": "TerapeutaController",
        "x-operation-name": "replaceById",
        "tags": [
          "TerapeutaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Terapeuta PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Terapeuta"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaController.replaceById"
      },
      "patch": {
        "x-controller-name": "TerapeutaController",
        "x-operation-name": "updateById",
        "tags": [
          "TerapeutaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Terapeuta PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TerapeutaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TerapeutaController.updateById"
      },
      "get": {
        "x-controller-name": "TerapeutaController",
        "x-operation-name": "findById",
        "tags": [
          "TerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TerapeutaWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Terapeuta.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaController.findById"
      },
      "delete": {
        "x-controller-name": "TerapeutaController",
        "x-operation-name": "deleteById",
        "tags": [
          "TerapeutaController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Terapeuta DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TerapeutaController.deleteById"
      }
    },
    "/terapeutas": {
      "post": {
        "x-controller-name": "TerapeutaController",
        "x-operation-name": "create",
        "tags": [
          "TerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Terapeuta"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTerapeuta"
              }
            }
          }
        },
        "operationId": "TerapeutaController.create"
      },
      "patch": {
        "x-controller-name": "TerapeutaController",
        "x-operation-name": "updateAll",
        "tags": [
          "TerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Terapeuta PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Terapeuta.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Terapeuta>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TerapeutaPartial"
              }
            }
          }
        },
        "operationId": "TerapeutaController.updateAll"
      },
      "get": {
        "x-controller-name": "TerapeutaController",
        "x-operation-name": "find",
        "tags": [
          "TerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Array of Terapeuta model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TerapeutaWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Terapeuta.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TerapeutaController.find"
      }
    },
    "/terapeutas-seleccionables": {
      "get": {
        "x-controller-name": "TerapeutaController",
        "x-operation-name": "seleccionables",
        "tags": [
          "TerapeutaController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TerapeutaController.seleccionables"
          }
        },
        "operationId": "TerapeutaController.seleccionables"
      }
    },
    "/test/notification": {
      "get": {
        "x-controller-name": "NotificacionesController",
        "x-operation-name": "sendTest",
        "tags": [
          "NotificacionesController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NotificacionesController.sendTest"
          }
        },
        "operationId": "NotificacionesController.sendTest"
      }
    },
    "/test-psicometricos/{id}/consultas": {
      "post": {
        "x-controller-name": "TestPsicometricoConsultaController",
        "x-operation-name": "create",
        "tags": [
          "TestPsicometricoConsultaController"
        ],
        "responses": {
          "200": {
            "description": "create a Consulta model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Consulta"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewConsultaInTestPsicometrico"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TestPsicometricoConsultaController.create"
      },
      "patch": {
        "x-controller-name": "TestPsicometricoConsultaController",
        "x-operation-name": "patch",
        "tags": [
          "TestPsicometricoConsultaController"
        ],
        "responses": {
          "200": {
            "description": "TestPsicometrico.Consulta PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Consulta.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Consulta>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConsultaPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TestPsicometricoConsultaController.patch"
      },
      "get": {
        "x-controller-name": "TestPsicometricoConsultaController",
        "x-operation-name": "find",
        "tags": [
          "TestPsicometricoConsultaController"
        ],
        "responses": {
          "200": {
            "description": "Array of TestPsicometrico has many Consulta through ConsultaTest",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Consulta"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TestPsicometricoConsultaController.find"
      },
      "delete": {
        "x-controller-name": "TestPsicometricoConsultaController",
        "x-operation-name": "delete",
        "tags": [
          "TestPsicometricoConsultaController"
        ],
        "responses": {
          "200": {
            "description": "TestPsicometrico.Consulta DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Consulta.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Consulta>"
                }
              }
            }
          }
        ],
        "operationId": "TestPsicometricoConsultaController.delete"
      }
    },
    "/test-psicometricos/{id}/resultado-tests": {
      "post": {
        "x-controller-name": "TestPsicometricoResultadoTestController",
        "x-operation-name": "create",
        "tags": [
          "TestPsicometricoResultadoTestController"
        ],
        "responses": {
          "200": {
            "description": "TestPsicometrico model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultadoTest"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewResultadoTestInTestPsicometrico"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TestPsicometricoResultadoTestController.create"
      },
      "patch": {
        "x-controller-name": "TestPsicometricoResultadoTestController",
        "x-operation-name": "patch",
        "tags": [
          "TestPsicometricoResultadoTestController"
        ],
        "responses": {
          "200": {
            "description": "TestPsicometrico.ResultadoTest PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ResultadoTest.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ResultadoTest>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResultadoTestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TestPsicometricoResultadoTestController.patch"
      },
      "get": {
        "x-controller-name": "TestPsicometricoResultadoTestController",
        "x-operation-name": "find",
        "tags": [
          "TestPsicometricoResultadoTestController"
        ],
        "responses": {
          "200": {
            "description": "Array of TestPsicometrico has many ResultadoTest",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ResultadoTest"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TestPsicometricoResultadoTestController.find"
      },
      "delete": {
        "x-controller-name": "TestPsicometricoResultadoTestController",
        "x-operation-name": "delete",
        "tags": [
          "TestPsicometricoResultadoTestController"
        ],
        "responses": {
          "200": {
            "description": "TestPsicometrico.ResultadoTest DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ResultadoTest.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ResultadoTest>"
                }
              }
            }
          }
        ],
        "operationId": "TestPsicometricoResultadoTestController.delete"
      }
    },
    "/tests-psicometricos/count": {
      "get": {
        "x-controller-name": "TestPsicometricoController",
        "x-operation-name": "count",
        "tags": [
          "TestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "TestPsicometrico model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TestPsicometrico.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TestPsicometrico>"
                }
              }
            }
          }
        ],
        "operationId": "TestPsicometricoController.count"
      }
    },
    "/tests-psicometricos/extract-test": {
      "post": {
        "x-controller-name": "TestPsicometricoController",
        "x-operation-name": "extractDataPdf",
        "tags": [
          "TestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "Extracted data from PDF",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data",
          "required": true
        },
        "operationId": "TestPsicometricoController.extractDataPdf"
      }
    },
    "/tests-psicometricos/{id}": {
      "put": {
        "x-controller-name": "TestPsicometricoController",
        "x-operation-name": "replaceById",
        "tags": [
          "TestPsicometricoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TestPsicometrico PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TestPsicometrico"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TestPsicometricoController.replaceById"
      },
      "patch": {
        "x-controller-name": "TestPsicometricoController",
        "x-operation-name": "updateById",
        "tags": [
          "TestPsicometricoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TestPsicometrico PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TestPsicometricoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TestPsicometricoController.updateById"
      },
      "get": {
        "x-controller-name": "TestPsicometricoController",
        "x-operation-name": "findById",
        "tags": [
          "TestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "TestPsicometrico model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestPsicometricoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestPsicometrico.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TestPsicometricoController.findById"
      },
      "delete": {
        "x-controller-name": "TestPsicometricoController",
        "x-operation-name": "deleteById",
        "tags": [
          "TestPsicometricoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TestPsicometrico DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TestPsicometricoController.deleteById"
      }
    },
    "/tests-psicometricos": {
      "post": {
        "x-controller-name": "TestPsicometricoController",
        "x-operation-name": "create",
        "tags": [
          "TestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "TestPsicometrico model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestPsicometrico"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTestPsicometrico"
              }
            }
          }
        },
        "operationId": "TestPsicometricoController.create"
      },
      "patch": {
        "x-controller-name": "TestPsicometricoController",
        "x-operation-name": "updateAll",
        "tags": [
          "TestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "TestPsicometrico PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TestPsicometrico.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TestPsicometrico>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TestPsicometricoPartial"
              }
            }
          }
        },
        "operationId": "TestPsicometricoController.updateAll"
      },
      "get": {
        "x-controller-name": "TestPsicometricoController",
        "x-operation-name": "find",
        "tags": [
          "TestPsicometricoController"
        ],
        "responses": {
          "200": {
            "description": "Array of TestPsicometrico model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TestPsicometricoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestPsicometrico.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TestPsicometricoController.find"
      }
    },
    "/uploadImage": {
      "post": {
        "x-controller-name": "CargaArchivosController",
        "x-operation-name": "profileImageUpload",
        "tags": [
          "CargaArchivosController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Profile Image"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "CargaArchivosController.profileImageUpload"
      }
    },
    "/uploadPDF": {
      "post": {
        "x-controller-name": "CargaArchivosController",
        "x-operation-name": "pdfUpload",
        "tags": [
          "CargaArchivosController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "PDF Resultados Test"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "CargaArchivosController.pdfUpload"
      }
    },
    "/users/{userID}/notifications": {
      "get": {
        "x-controller-name": "NotificacionesController",
        "x-operation-name": "findByUser",
        "tags": [
          "NotificacionesController"
        ],
        "responses": {
          "200": {
            "description": "Return value of NotificacionesController.findByUser"
          }
        },
        "parameters": [
          {
            "name": "userID",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotificacionesController.findByUser"
      }
    },
    "/usuarios/cambiar-password": {
      "post": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "cambiarPassword",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Cambio de contraseña"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "passwordActual",
                  "passwordNueva"
                ],
                "properties": {
                  "passwordActual": {
                    "type": "string"
                  },
                  "passwordNueva": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "UsuarioController.cambiarPassword"
      }
    },
    "/usuarios/count": {
      "get": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "count",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Usuario model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Usuario.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Usuario>"
                }
              }
            }
          }
        ],
        "operationId": "UsuarioController.count"
      }
    },
    "/usuarios/mi-nombre": {
      "post": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "actualizarMiNombre",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Actualiza el nombre del usuario"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "Nombre"
                ],
                "properties": {
                  "Nombre": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "UsuarioController.actualizarMiNombre"
      }
    },
    "/usuarios/{id}/foto-perfil": {
      "patch": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "actualizarFotoPerfil",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Return value of UsuarioController.actualizarFotoPerfil"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsuarioController.actualizarFotoPerfil"
      },
      "get": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "obtenerFotoPerfil",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Return value of UsuarioController.obtenerFotoPerfil"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "UsuarioController.obtenerFotoPerfil"
      }
    },
    "/usuarios/{id}/reenviar-verificacion": {
      "post": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "reenviarVerificacion",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Reenvío de correo de verificación"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "UsuarioController.reenviarVerificacion"
      }
    },
    "/usuarios/{id}/rol": {
      "get": {
        "x-controller-name": "UsuarioRolController",
        "x-operation-name": "getRol",
        "tags": [
          "UsuarioRolController"
        ],
        "responses": {
          "200": {
            "description": "Rol belonging to Usuario",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Rol"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "UsuarioRolController.getRol"
      }
    },
    "/usuarios/{id}": {
      "put": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "replaceById",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Usuario PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Usuario"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsuarioController.replaceById"
      },
      "patch": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "updateById",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Usuario PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsuarioPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsuarioController.updateById"
      },
      "get": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "findById",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Usuario model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsuarioWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Usuario.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UsuarioController.findById"
      }
    },
    "/usuarios/{idPersona}": {
      "delete": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "deleteById",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Usuario DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "idPersona",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UsuarioController.deleteById"
      }
    },
    "/usuarios": {
      "post": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "create",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Usuario model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Usuario"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUsuario"
              }
            }
          }
        },
        "operationId": "UsuarioController.create"
      },
      "patch": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "updateAll",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Usuario PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Usuario.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Usuario>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsuarioPartial"
              }
            }
          }
        },
        "operationId": "UsuarioController.updateAll"
      },
      "get": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "find",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Array of Usuario model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UsuarioWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Usuario.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "UsuarioController.find"
      }
    },
    "/verificar-correo": {
      "get": {
        "x-controller-name": "UsuarioController",
        "x-operation-name": "verificarCorreo",
        "tags": [
          "UsuarioController"
        ],
        "responses": {
          "200": {
            "description": "Return value of UsuarioController.verificarCorreo"
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "UsuarioController.verificarCorreo"
      }
    }
  },
  "servers": [
    {
      "url": "https://api-clinica.jetzidigital.com"
    }
  ],
  "components": {
    "schemas": {
      "TestPsicometrico": {
        "title": "TestPsicometrico",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "Nombre": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Link": {
            "type": "string"
          },
          "Test": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "Configuracion": {
            "type": "object"
          },
          "Evaluacion": {
            "type": "object"
          }
        },
        "required": [
          "Nombre",
          "Descripcion"
        ],
        "additionalProperties": false
      },
      "NewTestPsicometrico": {
        "title": "NewTestPsicometrico",
        "type": "object",
        "description": "(tsType: Omit<TestPsicometrico, 'id'>, schemaOptions: { title: 'NewTestPsicometrico', exclude: [ 'id' ] })",
        "properties": {
          "Nombre": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Link": {
            "type": "string"
          },
          "Test": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "Configuracion": {
            "type": "object"
          },
          "Evaluacion": {
            "type": "object"
          }
        },
        "required": [
          "Nombre",
          "Descripcion"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<TestPsicometrico, 'id'>"
      },
      "Pregunta": {
        "title": "Pregunta",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "texto": {
            "type": "string"
          },
          "testPsicometricoId": {
            "type": "number"
          }
        },
        "required": [
          "texto"
        ],
        "additionalProperties": false
      },
      "ResultadoTest": {
        "title": "ResultadoTest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaRealizacion": {
            "type": "string",
            "format": "date"
          },
          "Puntuacion": {
            "type": "string"
          },
          "respuestas": {},
          "Interpretacion": {
            "type": "string"
          },
          "consultaId": {
            "type": "number"
          },
          "testPsicometricoId": {
            "type": "number"
          }
        },
        "required": [
          "Puntuacion"
        ],
        "additionalProperties": false
      },
      "Consulta": {
        "title": "Consulta",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaConsulta": {
            "type": "string",
            "format": "date"
          },
          "NotasConsulta": {
            "type": "string"
          },
          "HoraConsulta": {
            "type": "string"
          },
          "TipoPago": {
            "type": "string"
          },
          "Pagado": {
            "type": "boolean"
          },
          "EstadoConfirmacion": {
            "type": "string"
          },
          "Completada": {
            "type": "boolean"
          },
          "InicioConsulta": {
            "type": "string"
          },
          "DuracionSegundos": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "TestPsicometricoWithRelations": {
        "title": "TestPsicometricoWithRelations",
        "type": "object",
        "description": "(tsType: TestPsicometricoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "Nombre": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Link": {
            "type": "string"
          },
          "Test": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "Configuracion": {
            "type": "object"
          },
          "Evaluacion": {
            "type": "object"
          },
          "preguntas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Pregunta"
            }
          },
          "resultadoTests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResultadoTest"
            }
          },
          "consultas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Consulta"
            }
          }
        },
        "required": [
          "Nombre",
          "Descripcion"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TestPsicometricoWithRelations"
      },
      "TestPsicometricoPartial": {
        "title": "TestPsicometricoPartial",
        "type": "object",
        "description": "(tsType: Partial<TestPsicometrico>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "Nombre": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Link": {
            "type": "string"
          },
          "Test": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "Configuracion": {
            "type": "object"
          },
          "Evaluacion": {
            "type": "object"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<TestPsicometrico>"
      },
      "NewResultadoTestInTestPsicometrico": {
        "title": "NewResultadoTestInTestPsicometrico",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<ResultadoTest, 'id'>, 'testPsicometricoId'>, schemaOptions: { title: 'NewResultadoTestInTestPsicometrico', exclude: [ 'id' ], optional: [ 'testPsicometricoId' ] })",
        "properties": {
          "FechaRealizacion": {
            "type": "string",
            "format": "date"
          },
          "Puntuacion": {
            "type": "string"
          },
          "respuestas": {},
          "Interpretacion": {
            "type": "string"
          },
          "consultaId": {
            "type": "number"
          },
          "testPsicometricoId": {
            "type": "number"
          }
        },
        "required": [
          "Puntuacion"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<ResultadoTest, 'id'>, 'testPsicometricoId'>"
      },
      "ResultadoTestPartial": {
        "title": "ResultadoTestPartial",
        "type": "object",
        "description": "(tsType: Partial<ResultadoTest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaRealizacion": {
            "type": "string",
            "format": "date"
          },
          "Puntuacion": {
            "type": "string"
          },
          "respuestas": {},
          "Interpretacion": {
            "type": "string"
          },
          "consultaId": {
            "type": "number"
          },
          "testPsicometricoId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ResultadoTest>"
      },
      "NewConsultaInTestPsicometrico": {
        "title": "NewConsultaInTestPsicometrico",
        "type": "object",
        "description": "(tsType: Omit<Consulta, 'id'>, schemaOptions: { title: 'NewConsultaInTestPsicometrico', exclude: [ 'id' ] })",
        "properties": {
          "FechaConsulta": {
            "type": "string",
            "format": "date"
          },
          "NotasConsulta": {
            "type": "string"
          },
          "HoraConsulta": {
            "type": "string"
          },
          "TipoPago": {
            "type": "string"
          },
          "Pagado": {
            "type": "boolean"
          },
          "EstadoConfirmacion": {
            "type": "string"
          },
          "Completada": {
            "type": "boolean"
          },
          "InicioConsulta": {
            "type": "string"
          },
          "DuracionSegundos": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Consulta, 'id'>"
      },
      "ConsultaPartial": {
        "title": "ConsultaPartial",
        "type": "object",
        "description": "(tsType: Partial<Consulta>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaConsulta": {
            "type": "string",
            "format": "date"
          },
          "NotasConsulta": {
            "type": "string"
          },
          "HoraConsulta": {
            "type": "string"
          },
          "TipoPago": {
            "type": "string"
          },
          "Pagado": {
            "type": "boolean"
          },
          "EstadoConfirmacion": {
            "type": "string"
          },
          "Completada": {
            "type": "boolean"
          },
          "InicioConsulta": {
            "type": "string"
          },
          "DuracionSegundos": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Consulta>"
      },
      "RespuestaRelevante": {
        "title": "RespuestaRelevante",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "pregunta": {
            "type": "string"
          },
          "respuesta": {
            "type": "string"
          },
          "respuestaValor": {
            "type": "number"
          },
          "preguntaNumero": {
            "type": "number"
          },
          "resultadoTestId": {
            "type": "number"
          }
        },
        "required": [
          "pregunta",
          "respuesta",
          "respuestaValor",
          "preguntaNumero"
        ],
        "additionalProperties": false
      },
      "RespuestaRelevantePartial": {
        "title": "RespuestaRelevantePartial",
        "type": "object",
        "description": "(tsType: Partial<RespuestaRelevante>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "pregunta": {
            "type": "string"
          },
          "respuesta": {
            "type": "string"
          },
          "respuestaValor": {
            "type": "number"
          },
          "preguntaNumero": {
            "type": "number"
          },
          "resultadoTestId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<RespuestaRelevante>"
      },
      "NewRespuestaRelevante": {
        "title": "NewRespuestaRelevante",
        "type": "object",
        "description": "(tsType: Omit<RespuestaRelevante, 'id'>, schemaOptions: { title: 'NewRespuestaRelevante', exclude: [ 'id' ] })",
        "properties": {
          "pregunta": {
            "type": "string"
          },
          "respuesta": {
            "type": "string"
          },
          "respuestaValor": {
            "type": "number"
          },
          "preguntaNumero": {
            "type": "number"
          },
          "resultadoTestId": {
            "type": "number"
          }
        },
        "required": [
          "pregunta",
          "respuesta",
          "respuestaValor",
          "preguntaNumero"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<RespuestaRelevante, 'id'>"
      },
      "RespuestaRelevanteWithRelations": {
        "title": "RespuestaRelevanteWithRelations",
        "type": "object",
        "description": "(tsType: RespuestaRelevanteWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "pregunta": {
            "type": "string"
          },
          "respuesta": {
            "type": "string"
          },
          "respuestaValor": {
            "type": "number"
          },
          "preguntaNumero": {
            "type": "number"
          },
          "resultadoTestId": {
            "type": "number"
          },
          "resultadoTest": {
            "$ref": "#/components/schemas/ResultadoTest"
          },
          "foreignKey": {}
        },
        "required": [
          "pregunta",
          "respuesta",
          "respuestaValor",
          "preguntaNumero"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RespuestaRelevanteWithRelations"
      },
      "Paciente": {
        "title": "Paciente",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "estado": {
            "type": "boolean"
          },
          "avatar": {
            "type": "string"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "Direccion": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaNacimiento": {
            "type": "string",
            "format": "date"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "descripcion": {
            "type": "string"
          },
          "sex": {
            "type": "string"
          },
          "CURP": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "estadoTerapeutico": {
            "type": "string"
          },
          "FechaEstadoTerapeutico": {
            "type": "string",
            "format": "date"
          }
        },
        "required": [
          "Nombre",
          "ApellidoPaterno",
          "ApellidoMaterno",
          "Email"
        ],
        "additionalProperties": false
      },
      "Terapeuta": {
        "title": "Terapeuta",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "CedulaLicenciatura": {
            "type": "string"
          },
          "CedulaEspecialidad": {
            "type": "string"
          },
          "Especialidad": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "avatar": {
            "type": "string"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "Licenciatura": {
            "type": "string"
          },
          "Sede": {
            "type": "string"
          }
        },
        "required": [
          "Nombre",
          "ApellidoPaterno",
          "ApellidoMaterno",
          "CedulaLicenciatura",
          "Telefono",
          "Email"
        ],
        "additionalProperties": false
      },
      "NewTerapeuta": {
        "title": "NewTerapeuta",
        "type": "object",
        "description": "(tsType: Omit<Terapeuta, 'id'>, schemaOptions: { title: 'NewTerapeuta', exclude: [ 'id' ] })",
        "properties": {
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "CedulaLicenciatura": {
            "type": "string"
          },
          "CedulaEspecialidad": {
            "type": "string"
          },
          "Especialidad": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "avatar": {
            "type": "string"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "Licenciatura": {
            "type": "string"
          },
          "Sede": {
            "type": "string"
          }
        },
        "required": [
          "Nombre",
          "ApellidoPaterno",
          "ApellidoMaterno",
          "CedulaLicenciatura",
          "Telefono",
          "Email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Terapeuta, 'id'>"
      },
      "Mensaje": {
        "title": "Mensaje",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "Contenido": {
            "type": "string"
          },
          "FechaEnvio": {
            "type": "string",
            "format": "date-time"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          }
        },
        "required": [
          "Contenido"
        ],
        "additionalProperties": false
      },
      "EvaluacionProgreso": {
        "title": "EvaluacionProgreso",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaEvaluacion": {
            "type": "string",
            "format": "date-time"
          },
          "ProgresoObservado": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          }
        },
        "required": [
          "ProgresoObservado"
        ],
        "additionalProperties": false
      },
      "TerapeutaWithRelations": {
        "title": "TerapeutaWithRelations",
        "type": "object",
        "description": "(tsType: TerapeutaWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "CedulaLicenciatura": {
            "type": "string"
          },
          "CedulaEspecialidad": {
            "type": "string"
          },
          "Especialidad": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "avatar": {
            "type": "string"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "Licenciatura": {
            "type": "string"
          },
          "Sede": {
            "type": "string"
          },
          "consultas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Consulta"
            }
          },
          "mensajes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Mensaje"
            }
          },
          "evaluacionProgresos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EvaluacionProgreso"
            }
          },
          "pacientes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Paciente"
            }
          }
        },
        "required": [
          "Nombre",
          "ApellidoPaterno",
          "ApellidoMaterno",
          "CedulaLicenciatura",
          "Telefono",
          "Email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TerapeutaWithRelations"
      },
      "TerapeutaPartial": {
        "title": "TerapeutaPartial",
        "type": "object",
        "description": "(tsType: Partial<Terapeuta>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "CedulaLicenciatura": {
            "type": "string"
          },
          "CedulaEspecialidad": {
            "type": "string"
          },
          "Especialidad": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "avatar": {
            "type": "string"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "Licenciatura": {
            "type": "string"
          },
          "Sede": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Terapeuta>"
      },
      "EntradaHistoria": {
        "title": "EntradaHistoria",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaEntrada": {
            "type": "string",
            "format": "date-time"
          },
          "Detalles": {
            "type": "string"
          },
          "consultaId": {
            "type": "number"
          },
          "historiaClinicaId": {
            "type": "number"
          }
        },
        "required": [
          "Detalles"
        ],
        "additionalProperties": false
      },
      "ConsultaWithRelations": {
        "title": "ConsultaWithRelations",
        "type": "object",
        "description": "(tsType: ConsultaWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaConsulta": {
            "type": "string",
            "format": "date"
          },
          "NotasConsulta": {
            "type": "string"
          },
          "HoraConsulta": {
            "type": "string"
          },
          "TipoPago": {
            "type": "string"
          },
          "Pagado": {
            "type": "boolean"
          },
          "EstadoConfirmacion": {
            "type": "string"
          },
          "Completada": {
            "type": "boolean"
          },
          "InicioConsulta": {
            "type": "string"
          },
          "DuracionSegundos": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaConsulta": {
            "$ref": "#/components/schemas/Terapeuta"
          },
          "foreignKey": {},
          "pacienteConsulta": {
            "$ref": "#/components/schemas/Paciente"
          },
          "resultadosTests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResultadoTest"
            }
          },
          "entradaHistorias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntradaHistoria"
            }
          },
          "testPsicometricos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TestPsicometrico"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ConsultaWithRelations"
      },
      "NewConsultaInTerapeuta": {
        "title": "NewConsultaInTerapeuta",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Consulta, 'id'>, 'terapeutaId'>, schemaOptions: { title: 'NewConsultaInTerapeuta', exclude: [ 'id' ], optional: [ 'terapeutaId' ] })",
        "properties": {
          "FechaConsulta": {
            "type": "string",
            "format": "date"
          },
          "NotasConsulta": {
            "type": "string"
          },
          "HoraConsulta": {
            "type": "string"
          },
          "TipoPago": {
            "type": "string"
          },
          "Pagado": {
            "type": "boolean"
          },
          "EstadoConfirmacion": {
            "type": "string"
          },
          "Completada": {
            "type": "boolean"
          },
          "InicioConsulta": {
            "type": "string"
          },
          "DuracionSegundos": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Consulta, 'id'>, 'terapeutaId'>"
      },
      "PacienteModuloPsicoeducativo": {
        "title": "PacienteModuloPsicoeducativo",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          },
          "moduloPsicoeducativoId": {
            "type": "number"
          },
          "contestado": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PacienteModuloPsicoeducativoWithRelations": {
        "title": "PacienteModuloPsicoeducativoWithRelations",
        "type": "object",
        "description": "(tsType: PacienteModuloPsicoeducativoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          },
          "moduloPsicoeducativoId": {
            "type": "number"
          },
          "contestado": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "PacienteModuloPsicoeducativoWithRelations"
      },
      "PacienteModuloPsicoeducativoPartial": {
        "title": "PacienteModuloPsicoeducativoPartial",
        "type": "object",
        "description": "(tsType: Partial<PacienteModuloPsicoeducativo>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          },
          "moduloPsicoeducativoId": {
            "type": "number"
          },
          "contestado": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<PacienteModuloPsicoeducativo>"
      },
      "ModuloPsicoeducativo": {
        "title": "ModuloPsicoeducativo",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "UrlVideo": {
            "type": "string"
          }
        },
        "required": [
          "Titulo",
          "Descripcion",
          "UrlVideo"
        ],
        "additionalProperties": false
      },
      "NewModuloPsicoeducativoInPaciente": {
        "title": "NewModuloPsicoeducativoInPaciente",
        "type": "object",
        "description": "(tsType: Omit<ModuloPsicoeducativo, 'id'>, schemaOptions: { title: 'NewModuloPsicoeducativoInPaciente', exclude: [ 'id' ] })",
        "properties": {
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "UrlVideo": {
            "type": "string"
          }
        },
        "required": [
          "Titulo",
          "Descripcion",
          "UrlVideo"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ModuloPsicoeducativo, 'id'>"
      },
      "ModuloPsicoeducativoPartial": {
        "title": "ModuloPsicoeducativoPartial",
        "type": "object",
        "description": "(tsType: Partial<ModuloPsicoeducativo>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "UrlVideo": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ModuloPsicoeducativo>"
      },
      "PacienteEjercicioPractico": {
        "title": "PacienteEjercicioPractico",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          },
          "ejercicioPracticoId": {
            "type": "number"
          },
          "contestado": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PacienteEjercicioPracticoWithRelations": {
        "title": "PacienteEjercicioPracticoWithRelations",
        "type": "object",
        "description": "(tsType: PacienteEjercicioPracticoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          },
          "ejercicioPracticoId": {
            "type": "number"
          },
          "contestado": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "PacienteEjercicioPracticoWithRelations"
      },
      "PacienteEjercicioPracticoPartial": {
        "title": "PacienteEjercicioPracticoPartial",
        "type": "object",
        "description": "(tsType: Partial<PacienteEjercicioPractico>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          },
          "ejercicioPracticoId": {
            "type": "number"
          },
          "contestado": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<PacienteEjercicioPractico>"
      },
      "EjercicioPractico": {
        "title": "EjercicioPractico",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Instrucciones": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "archivoNombre": {
            "type": "string"
          },
          "archivoContenido": {
            "type": "string"
          },
          "moduloPsicoeducativoId": {
            "type": "number"
          }
        },
        "required": [
          "Titulo",
          "Descripcion",
          "Instrucciones"
        ],
        "additionalProperties": false
      },
      "NewEjercicioPracticoInPaciente": {
        "title": "NewEjercicioPracticoInPaciente",
        "type": "object",
        "description": "(tsType: Omit<EjercicioPractico, 'id'>, schemaOptions: { title: 'NewEjercicioPracticoInPaciente', exclude: [ 'id' ] })",
        "properties": {
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Instrucciones": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "archivoNombre": {
            "type": "string"
          },
          "archivoContenido": {
            "type": "string"
          },
          "moduloPsicoeducativoId": {
            "type": "number"
          }
        },
        "required": [
          "Titulo",
          "Descripcion",
          "Instrucciones"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<EjercicioPractico, 'id'>"
      },
      "EjercicioPracticoPartial": {
        "title": "EjercicioPracticoPartial",
        "type": "object",
        "description": "(tsType: Partial<EjercicioPractico>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Instrucciones": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "archivoNombre": {
            "type": "string"
          },
          "archivoContenido": {
            "type": "string"
          },
          "moduloPsicoeducativoId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<EjercicioPractico>"
      },
      "NewModuloPsicoeducativo": {
        "title": "NewModuloPsicoeducativo",
        "type": "object",
        "description": "(tsType: Omit<ModuloPsicoeducativo, 'id'>, schemaOptions: { title: 'NewModuloPsicoeducativo', exclude: [ 'id' ] })",
        "properties": {
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "UrlVideo": {
            "type": "string"
          }
        },
        "required": [
          "Titulo",
          "Descripcion",
          "UrlVideo"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ModuloPsicoeducativo, 'id'>"
      },
      "ModuloPsicoeducativoWithRelations": {
        "title": "ModuloPsicoeducativoWithRelations",
        "type": "object",
        "description": "(tsType: ModuloPsicoeducativoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "UrlVideo": {
            "type": "string"
          },
          "ejercicioPracticos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EjercicioPractico"
            }
          },
          "modeloPsicoeducativoPacientes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Paciente"
            }
          }
        },
        "required": [
          "Titulo",
          "Descripcion",
          "UrlVideo"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ModuloPsicoeducativoWithRelations"
      },
      "NewPacienteInModuloPsicoeducativo": {
        "title": "NewPacienteInModuloPsicoeducativo",
        "type": "object",
        "description": "(tsType: Omit<Paciente, 'id'>, schemaOptions: { title: 'NewPacienteInModuloPsicoeducativo', exclude: [ 'id' ] })",
        "properties": {
          "estado": {
            "type": "boolean"
          },
          "avatar": {
            "type": "string"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "Direccion": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaNacimiento": {
            "type": "string",
            "format": "date"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "descripcion": {
            "type": "string"
          },
          "sex": {
            "type": "string"
          },
          "CURP": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "estadoTerapeutico": {
            "type": "string"
          },
          "FechaEstadoTerapeutico": {
            "type": "string",
            "format": "date"
          }
        },
        "required": [
          "Nombre",
          "ApellidoPaterno",
          "ApellidoMaterno",
          "Email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Paciente, 'id'>"
      },
      "PacientePartial": {
        "title": "PacientePartial",
        "type": "object",
        "description": "(tsType: Partial<Paciente>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "estado": {
            "type": "boolean"
          },
          "avatar": {
            "type": "string"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "Direccion": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaNacimiento": {
            "type": "string",
            "format": "date"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "descripcion": {
            "type": "string"
          },
          "sex": {
            "type": "string"
          },
          "CURP": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "estadoTerapeutico": {
            "type": "string"
          },
          "FechaEstadoTerapeutico": {
            "type": "string",
            "format": "date"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Paciente>"
      },
      "NewEjercicioPracticoInModuloPsicoeducativo": {
        "title": "NewEjercicioPracticoInModuloPsicoeducativo",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<EjercicioPractico, 'id'>, 'moduloPsicoeducativoId'>, schemaOptions: { title: 'NewEjercicioPracticoInModuloPsicoeducativo', exclude: [ 'id' ], optional: [ 'moduloPsicoeducativoId' ] })",
        "properties": {
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Instrucciones": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "archivoNombre": {
            "type": "string"
          },
          "archivoContenido": {
            "type": "string"
          },
          "moduloPsicoeducativoId": {
            "type": "number"
          }
        },
        "required": [
          "Titulo",
          "Descripcion",
          "Instrucciones"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<EjercicioPractico, 'id'>, 'moduloPsicoeducativoId'>"
      },
      "EjercicioPracticoWithRelations": {
        "title": "EjercicioPracticoWithRelations",
        "type": "object",
        "description": "(tsType: EjercicioPracticoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Instrucciones": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "archivoNombre": {
            "type": "string"
          },
          "archivoContenido": {
            "type": "string"
          },
          "moduloPsicoeducativoId": {
            "type": "number"
          },
          "moduloPsicoeducativo": {
            "$ref": "#/components/schemas/ModuloPsicoeducativo"
          },
          "foreignKey": {},
          "pacienteEjercicios": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Paciente"
            }
          }
        },
        "required": [
          "Titulo",
          "Descripcion",
          "Instrucciones"
        ],
        "additionalProperties": false,
        "x-typescript-type": "EjercicioPracticoWithRelations"
      },
      "NewPacienteInEjercicioPractico": {
        "title": "NewPacienteInEjercicioPractico",
        "type": "object",
        "description": "(tsType: Omit<Paciente, 'id'>, schemaOptions: { title: 'NewPacienteInEjercicioPractico', exclude: [ 'id' ] })",
        "properties": {
          "estado": {
            "type": "boolean"
          },
          "avatar": {
            "type": "string"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "Direccion": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaNacimiento": {
            "type": "string",
            "format": "date"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "descripcion": {
            "type": "string"
          },
          "sex": {
            "type": "string"
          },
          "CURP": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "estadoTerapeutico": {
            "type": "string"
          },
          "FechaEstadoTerapeutico": {
            "type": "string",
            "format": "date"
          }
        },
        "required": [
          "Nombre",
          "ApellidoPaterno",
          "ApellidoMaterno",
          "Email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Paciente, 'id'>"
      },
      "NewPacienteInTerapeuta": {
        "title": "NewPacienteInTerapeuta",
        "type": "object",
        "description": "(tsType: Omit<Paciente, 'id'>, schemaOptions: { title: 'NewPacienteInTerapeuta', exclude: [ 'id' ] })",
        "properties": {
          "estado": {
            "type": "boolean"
          },
          "avatar": {
            "type": "string"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "Direccion": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaNacimiento": {
            "type": "string",
            "format": "date"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "descripcion": {
            "type": "string"
          },
          "sex": {
            "type": "string"
          },
          "CURP": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "estadoTerapeutico": {
            "type": "string"
          },
          "FechaEstadoTerapeutico": {
            "type": "string",
            "format": "date"
          }
        },
        "required": [
          "Nombre",
          "ApellidoPaterno",
          "ApellidoMaterno",
          "Email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Paciente, 'id'>"
      },
      "NewPaciente": {
        "title": "NewPaciente",
        "type": "object",
        "description": "(tsType: Omit<Paciente, 'id'>, schemaOptions: { title: 'NewPaciente', exclude: [ 'id' ] })",
        "properties": {
          "estado": {
            "type": "boolean"
          },
          "avatar": {
            "type": "string"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "Direccion": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaNacimiento": {
            "type": "string",
            "format": "date"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "descripcion": {
            "type": "string"
          },
          "sex": {
            "type": "string"
          },
          "CURP": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "estadoTerapeutico": {
            "type": "string"
          },
          "FechaEstadoTerapeutico": {
            "type": "string",
            "format": "date"
          }
        },
        "required": [
          "Nombre",
          "ApellidoPaterno",
          "ApellidoMaterno",
          "Email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Paciente, 'id'>"
      },
      "NotaClinica": {
        "title": "NotaClinica",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "Contenido": {
            "type": "string"
          },
          "PlanTratamiento": {
            "type": "string"
          },
          "Objetivos": {
            "type": "string"
          },
          "Conceptualizacion": {
            "type": "string"
          },
          "tipoNota": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "required": [
          "Contenido"
        ],
        "additionalProperties": false
      },
      "MedicamentoActual": {
        "title": "MedicamentoActual",
        "type": "object",
        "properties": {
          "medicamentoDosis": {
            "type": "string"
          },
          "paraQue": {
            "type": "string"
          },
          "quienReceta": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ConsumoSustancia": {
        "title": "ConsumoSustancia",
        "type": "object",
        "properties": {
          "sustancia": {
            "type": "string"
          },
          "frecuenciaCantidad": {
            "type": "string"
          },
          "desdeCuando": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "InstrumentoAplicado": {
        "title": "InstrumentoAplicado",
        "type": "object",
        "properties": {
          "instrumento": {
            "type": "string"
          },
          "fecha": {
            "type": "string"
          },
          "puntaje": {
            "type": "string"
          },
          "interpretacion": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ProblemaClinico": {
        "title": "ProblemaClinico",
        "type": "object",
        "properties": {
          "numero": {
            "type": "number"
          },
          "descripcion": {
            "type": "string"
          },
          "prioridad": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Adenda": {
        "title": "Adenda",
        "type": "object",
        "properties": {
          "fechaHora": {
            "type": "string"
          },
          "autor": {
            "type": "string"
          },
          "texto": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "HistoriaClinica": {
        "title": "HistoriaClinica",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "numeroExpediente": {
            "type": "string"
          },
          "tipoExpediente": {
            "type": "string"
          },
          "fechaHoraInicio": {
            "type": "string"
          },
          "tipoEstablecimiento": {
            "type": "string"
          },
          "nombreEstablecimiento": {
            "type": "string"
          },
          "domicilioEstablecimiento": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "primerApellido": {
            "type": "string"
          },
          "segundoApellido": {
            "type": "string"
          },
          "curp": {
            "type": "string"
          },
          "fechaNacimiento": {
            "type": "string"
          },
          "edad": {
            "type": "number"
          },
          "sexo": {
            "type": "string"
          },
          "identidadGenero": {
            "type": "string"
          },
          "identidadGeneroOtra": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "domicilio": {
            "type": "object"
          },
          "ocupacion": {
            "type": "string"
          },
          "ahfSaludFisica": {
            "type": "string"
          },
          "ahfSaludMental": {
            "type": "string"
          },
          "appCondicionesMedicas": {
            "type": "string"
          },
          "appMedicamentos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MedicamentoActual"
            }
          },
          "appDiagnosticosPsiquiatricos": {
            "type": "string"
          },
          "appTratamientosPrevios": {
            "type": "string"
          },
          "appConsumoSustancias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsumoSustancia"
            }
          },
          "appIntentosSuicidioAutolesiones": {
            "type": "string"
          },
          "appIntentosSuicidioDescripcion": {
            "type": "string"
          },
          "apnpViveConRelacion": {
            "type": "string"
          },
          "apnpOtrasPersonas": {
            "type": "string"
          },
          "apnpRelacionPareja": {
            "type": "string"
          },
          "apnpVidaSocialApoyo": {
            "type": "string"
          },
          "apnpAmbitoLaboral": {
            "type": "string"
          },
          "apnpAmbitoEscolar": {
            "type": "string"
          },
          "apnpDiaTipico": {
            "type": "string"
          },
          "apnpActividadesDisfrute": {
            "type": "string"
          },
          "apnpAlimentacion": {
            "type": "string"
          },
          "apnpAlimentacionObs": {
            "type": "string"
          },
          "apnpSueno": {
            "type": "string"
          },
          "apnpEjercicio": {
            "type": "string"
          },
          "motivoConsulta": {
            "type": "string"
          },
          "inicioEvolucionSintomas": {
            "type": "string"
          },
          "temasObjetivosPaciente": {
            "type": "string"
          },
          "iasSintomasFisicos": {
            "type": "object"
          },
          "iasDescripcion": {
            "type": "string"
          },
          "iasUltimaValoracionMedica": {
            "type": "string"
          },
          "examenMental": {
            "type": "object"
          },
          "riesgoSuicida": {
            "type": "boolean"
          },
          "riesgoHomicida": {
            "type": "boolean"
          },
          "estudiosPrevios": {
            "type": "string"
          },
          "instrumentosAplicados": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstrumentoAplicado"
            }
          },
          "diagnosticos": {
            "type": "string"
          },
          "listaProblemas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProblemaClinico"
            }
          },
          "pronostico": {
            "type": "string"
          },
          "pronosticoJustificacion": {
            "type": "string"
          },
          "itModalidad": {
            "type": "string"
          },
          "itFrecuenciaDuracion": {
            "type": "string"
          },
          "itFocoInicial": {
            "type": "string"
          },
          "itDerivaciones": {
            "type": "object"
          },
          "itReevaluacion": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "elaboroNombre": {
            "type": "string"
          },
          "elaboroTerapeutaId": {
            "type": "number"
          },
          "firmaFechaHora": {
            "type": "string"
          },
          "firmaImagen": {
            "type": "string"
          },
          "adendas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Adenda"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NotaEvolucion": {
        "title": "NotaEvolucion",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "dia": {
            "type": "string"
          },
          "semana": {
            "type": "string"
          },
          "sesion": {
            "type": "string"
          },
          "horaInicial": {
            "type": "string"
          },
          "Contenido": {
            "type": "string"
          },
          "trabajoSesion": {
            "type": "string"
          },
          "tarea": {
            "type": "string"
          },
          "problemasAbordados": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NotaEgreso": {
        "title": "NotaEgreso",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "fechaIngreso": {
            "type": "string",
            "format": "date-time"
          },
          "fechaEgreso": {
            "type": "string",
            "format": "date-time"
          },
          "numeroSesiones": {
            "type": "number"
          },
          "motivoCierre": {
            "type": "string"
          },
          "tipoEgreso": {
            "type": "string"
          },
          "detallesMotivo": {
            "type": "string"
          },
          "objetivosAlcanzados": {
            "type": "string"
          },
          "progresoSintomas": {
            "type": "string"
          },
          "competenciasDesarrolladas": {
            "type": "string"
          },
          "evaluacionFinal": {
            "type": "string"
          },
          "recomendaciones": {
            "type": "string"
          },
          "seguimientoSugerido": {
            "type": "string"
          },
          "derivaciones": {
            "type": "string"
          },
          "observacionesFinales": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "CognitiveModel": {
        "title": "CognitiveModel",
        "type": "object",
        "properties": {
          "fecha": {
            "type": "string"
          },
          "situacion": {
            "type": "string"
          },
          "pensamientos": {
            "type": "string"
          },
          "emociones": {
            "type": "string"
          },
          "conductas": {
            "type": "string"
          },
          "resultados": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "TreatmentPlan": {
        "title": "TreatmentPlan",
        "type": "object",
        "properties": {
          "objetivo": {
            "type": "string"
          },
          "mecanismos": {
            "type": "string"
          },
          "intervenciones": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ConceptualizacionCaso": {
        "title": "ConceptualizacionCaso",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "modelosCognitivos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CognitiveModel"
            }
          },
          "creenciasIntermedias": {
            "type": "string"
          },
          "creenciasCentralesSelf": {
            "type": "string"
          },
          "creenciasCentralesMundo": {
            "type": "string"
          },
          "creenciasCentralesFuturo": {
            "type": "string"
          },
          "diagnosticoProbable": {
            "type": "string"
          },
          "motivoConsulta": {
            "type": "string"
          },
          "listaProblemas": {
            "type": "string"
          },
          "planesIntervenciones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TreatmentPlan"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "PacienteWithRelations": {
        "title": "PacienteWithRelations",
        "type": "object",
        "description": "(tsType: PacienteWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "estado": {
            "type": "boolean"
          },
          "avatar": {
            "type": "string"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "Direccion": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaNacimiento": {
            "type": "string",
            "format": "date"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "descripcion": {
            "type": "string"
          },
          "sex": {
            "type": "string"
          },
          "CURP": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "estadoTerapeutico": {
            "type": "string"
          },
          "FechaEstadoTerapeutico": {
            "type": "string",
            "format": "date"
          },
          "evaluacionesDelProgreso": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EvaluacionProgreso"
            }
          },
          "mensajes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Mensaje"
            }
          },
          "consultas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Consulta"
            }
          },
          "notasClinicas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotaClinica"
            }
          },
          "historiaClinica": {
            "$ref": "#/components/schemas/HistoriaClinica"
          },
          "notasEvolucion": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotaEvolucion"
            }
          },
          "terapeutas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Terapeuta"
            }
          },
          "notaEvolucions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotaEvolucion"
            }
          },
          "notaEvoluciones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotaEvolucion"
            }
          },
          "notaEgreso": {
            "$ref": "#/components/schemas/NotaEgreso"
          },
          "conceptualizacionCaso": {
            "$ref": "#/components/schemas/ConceptualizacionCaso"
          },
          "ejercicioPracticos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EjercicioPractico"
            }
          },
          "pacienteModelosPsicoeducativos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModuloPsicoeducativo"
            }
          }
        },
        "required": [
          "Nombre",
          "ApellidoPaterno",
          "ApellidoMaterno",
          "Email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PacienteWithRelations"
      },
      "PacienteTerapeuta": {
        "title": "PacienteTerapeuta",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaInicio": {
            "type": "string",
            "format": "date"
          },
          "FechaFin": {
            "type": "string",
            "format": "date"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          },
          "anclado": {
            "type": "boolean"
          },
          "activo": {
            "type": "boolean"
          }
        },
        "required": [
          "terapeutaId"
        ],
        "additionalProperties": false
      },
      "NewPacienteTerapeuta": {
        "title": "NewPacienteTerapeuta",
        "type": "object",
        "description": "(tsType: Omit<PacienteTerapeuta, 'id'>, schemaOptions: { title: 'NewPacienteTerapeuta', exclude: [ 'id' ] })",
        "properties": {
          "FechaInicio": {
            "type": "string",
            "format": "date"
          },
          "FechaFin": {
            "type": "string",
            "format": "date"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          },
          "anclado": {
            "type": "boolean"
          },
          "activo": {
            "type": "boolean"
          }
        },
        "required": [
          "terapeutaId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<PacienteTerapeuta, 'id'>"
      },
      "PacienteTerapeutaWithRelations": {
        "title": "PacienteTerapeutaWithRelations",
        "type": "object",
        "description": "(tsType: PacienteTerapeutaWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaInicio": {
            "type": "string",
            "format": "date"
          },
          "FechaFin": {
            "type": "string",
            "format": "date"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          },
          "anclado": {
            "type": "boolean"
          },
          "activo": {
            "type": "boolean"
          }
        },
        "required": [
          "terapeutaId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PacienteTerapeutaWithRelations"
      },
      "PacienteTerapeutaPartial": {
        "title": "PacienteTerapeutaPartial",
        "type": "object",
        "description": "(tsType: Partial<PacienteTerapeuta>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaInicio": {
            "type": "string",
            "format": "date"
          },
          "FechaFin": {
            "type": "string",
            "format": "date"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          },
          "anclado": {
            "type": "boolean"
          },
          "activo": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<PacienteTerapeuta>"
      },
      "NewConsultaInPaciente": {
        "title": "NewConsultaInPaciente",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Consulta, 'id'>, 'pacienteId'>, schemaOptions: { title: 'NewConsultaInPaciente', exclude: [ 'id' ], optional: [ 'pacienteId' ] })",
        "properties": {
          "FechaConsulta": {
            "type": "string",
            "format": "date"
          },
          "NotasConsulta": {
            "type": "string"
          },
          "HoraConsulta": {
            "type": "string"
          },
          "TipoPago": {
            "type": "string"
          },
          "Pagado": {
            "type": "boolean"
          },
          "EstadoConfirmacion": {
            "type": "string"
          },
          "Completada": {
            "type": "boolean"
          },
          "InicioConsulta": {
            "type": "string"
          },
          "DuracionSegundos": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Consulta, 'id'>, 'pacienteId'>"
      },
      "EventoGlobal": {
        "title": "EventoGlobal",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "titulo": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "fecha": {
            "type": "string"
          },
          "hora": {
            "type": "string"
          },
          "prioridad": {
            "type": "string"
          },
          "fechaCreacion": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "titulo",
          "fecha"
        ],
        "additionalProperties": false
      },
      "NewEventoGlobal": {
        "title": "NewEventoGlobal",
        "type": "object",
        "description": "(tsType: Omit<EventoGlobal, 'id'>, schemaOptions: { title: 'NewEventoGlobal', exclude: [ 'id' ] })",
        "properties": {
          "titulo": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "fecha": {
            "type": "string"
          },
          "hora": {
            "type": "string"
          },
          "prioridad": {
            "type": "string"
          },
          "fechaCreacion": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "titulo",
          "fecha"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<EventoGlobal, 'id'>"
      },
      "EventoGlobalPartial": {
        "title": "EventoGlobalPartial",
        "type": "object",
        "description": "(tsType: Partial<EventoGlobal>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "titulo": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "fecha": {
            "type": "string"
          },
          "hora": {
            "type": "string"
          },
          "prioridad": {
            "type": "string"
          },
          "fechaCreacion": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<EventoGlobal>"
      },
      "ConsultaTest": {
        "title": "ConsultaTest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "consultaId": {
            "type": "number"
          },
          "testPsicometricoId": {
            "type": "number"
          },
          "contestado": {
            "type": "boolean"
          },
          "LinkAbierto": {
            "type": "boolean"
          },
          "CapturaResultado": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ConsultaTestWithRelations": {
        "title": "ConsultaTestWithRelations",
        "type": "object",
        "description": "(tsType: ConsultaTestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "consultaId": {
            "type": "number"
          },
          "testPsicometricoId": {
            "type": "number"
          },
          "contestado": {
            "type": "boolean"
          },
          "LinkAbierto": {
            "type": "boolean"
          },
          "CapturaResultado": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ConsultaTestWithRelations"
      },
      "ConsultaTestPartial": {
        "title": "ConsultaTestPartial",
        "type": "object",
        "description": "(tsType: Partial<ConsultaTest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "consultaId": {
            "type": "number"
          },
          "testPsicometricoId": {
            "type": "number"
          },
          "contestado": {
            "type": "boolean"
          },
          "LinkAbierto": {
            "type": "boolean"
          },
          "CapturaResultado": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ConsultaTest>"
      },
      "NewResultadoTestInConsulta": {
        "title": "NewResultadoTestInConsulta",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<ResultadoTest, 'id'>, 'consultaId'>, schemaOptions: { title: 'NewResultadoTestInConsulta', exclude: [ 'id' ], optional: [ 'consultaId' ] })",
        "properties": {
          "FechaRealizacion": {
            "type": "string",
            "format": "date"
          },
          "Puntuacion": {
            "type": "string"
          },
          "respuestas": {},
          "Interpretacion": {
            "type": "string"
          },
          "consultaId": {
            "type": "number"
          },
          "testPsicometricoId": {
            "type": "number"
          }
        },
        "required": [
          "Puntuacion"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<ResultadoTest, 'id'>, 'consultaId'>"
      },
      "TestSelect": {
        "title": "TestSelect",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "consultaId": {
            "type": "number"
          }
        },
        "required": [
          "id",
          "nombre",
          "consultaId"
        ],
        "additionalProperties": false
      },
      "NewEntradaHistoriaInConsulta": {
        "title": "NewEntradaHistoriaInConsulta",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<EntradaHistoria, 'id'>, 'consultaId'>, schemaOptions: { title: 'NewEntradaHistoriaInConsulta', exclude: [ 'id' ], optional: [ 'consultaId' ] })",
        "properties": {
          "FechaEntrada": {
            "type": "string",
            "format": "date-time"
          },
          "Detalles": {
            "type": "string"
          },
          "consultaId": {
            "type": "number"
          },
          "historiaClinicaId": {
            "type": "number"
          }
        },
        "required": [
          "Detalles"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<EntradaHistoria, 'id'>, 'consultaId'>"
      },
      "EntradaHistoriaPartial": {
        "title": "EntradaHistoriaPartial",
        "type": "object",
        "description": "(tsType: Partial<EntradaHistoria>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaEntrada": {
            "type": "string",
            "format": "date-time"
          },
          "Detalles": {
            "type": "string"
          },
          "consultaId": {
            "type": "number"
          },
          "historiaClinicaId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<EntradaHistoria>"
      },
      "NewEvaluacionProgresoInTerapeuta": {
        "title": "NewEvaluacionProgresoInTerapeuta",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<EvaluacionProgreso, 'id'>, 'terapeutaId'>, schemaOptions: { title: 'NewEvaluacionProgresoInTerapeuta', exclude: [ 'id' ], optional: [ 'terapeutaId' ] })",
        "properties": {
          "FechaEvaluacion": {
            "type": "string",
            "format": "date-time"
          },
          "ProgresoObservado": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          }
        },
        "required": [
          "ProgresoObservado"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<EvaluacionProgreso, 'id'>, 'terapeutaId'>"
      },
      "EvaluacionProgresoPartial": {
        "title": "EvaluacionProgresoPartial",
        "type": "object",
        "description": "(tsType: Partial<EvaluacionProgreso>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaEvaluacion": {
            "type": "string",
            "format": "date-time"
          },
          "ProgresoObservado": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<EvaluacionProgreso>"
      },
      "Tarea": {
        "title": "Tarea",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Completada": {
            "type": "boolean"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "FechaLimite": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "required": [
          "Titulo"
        ],
        "additionalProperties": false
      },
      "NewTarea": {
        "title": "NewTarea",
        "type": "object",
        "description": "(tsType: Omit<Tarea, 'id'>, schemaOptions: { title: 'NewTarea', exclude: [ 'id' ] })",
        "properties": {
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Completada": {
            "type": "boolean"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "FechaLimite": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "required": [
          "Titulo"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Tarea, 'id'>"
      },
      "TareaPartial": {
        "title": "TareaPartial",
        "type": "object",
        "description": "(tsType: Partial<Tarea>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Completada": {
            "type": "boolean"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "FechaLimite": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Tarea>"
      },
      "PlanTratamiento": {
        "title": "PlanTratamiento",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Objetivos": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "required": [
          "Titulo"
        ],
        "additionalProperties": false
      },
      "NewPlanTratamiento": {
        "title": "NewPlanTratamiento",
        "type": "object",
        "description": "(tsType: Omit<PlanTratamiento, 'id'>, schemaOptions: { title: 'NewPlanTratamiento', exclude: [ 'id' ] })",
        "properties": {
          "Titulo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Objetivos": {
            "type": "string"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "required": [
          "Titulo"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<PlanTratamiento, 'id'>"
      },
      "NewNotaEvolucionInPaciente": {
        "title": "NewNotaEvolucionInPaciente",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<NotaEvolucion, 'id'>, 'pacienteId'>, schemaOptions: { title: 'NewNotaEvolucionInPaciente', exclude: [ 'id' ], optional: [ 'pacienteId' ] })",
        "properties": {
          "dia": {
            "type": "string"
          },
          "semana": {
            "type": "string"
          },
          "sesion": {
            "type": "string"
          },
          "horaInicial": {
            "type": "string"
          },
          "Contenido": {
            "type": "string"
          },
          "trabajoSesion": {
            "type": "string"
          },
          "tarea": {
            "type": "string"
          },
          "problemasAbordados": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<NotaEvolucion, 'id'>, 'pacienteId'>"
      },
      "NotaEvolucionPartial": {
        "title": "NotaEvolucionPartial",
        "type": "object",
        "description": "(tsType: Partial<NotaEvolucion>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "dia": {
            "type": "string"
          },
          "semana": {
            "type": "string"
          },
          "sesion": {
            "type": "string"
          },
          "horaInicial": {
            "type": "string"
          },
          "Contenido": {
            "type": "string"
          },
          "trabajoSesion": {
            "type": "string"
          },
          "tarea": {
            "type": "string"
          },
          "problemasAbordados": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<NotaEvolucion>"
      },
      "NewNotaEgresoInPaciente": {
        "title": "NewNotaEgresoInPaciente",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<NotaEgreso, 'id'>, 'pacienteId'>, schemaOptions: { title: 'NewNotaEgresoInPaciente', exclude: [ 'id' ], optional: [ 'pacienteId' ] })",
        "properties": {
          "fechaIngreso": {
            "type": "string",
            "format": "date-time"
          },
          "fechaEgreso": {
            "type": "string",
            "format": "date-time"
          },
          "numeroSesiones": {
            "type": "number"
          },
          "motivoCierre": {
            "type": "string"
          },
          "tipoEgreso": {
            "type": "string"
          },
          "detallesMotivo": {
            "type": "string"
          },
          "objetivosAlcanzados": {
            "type": "string"
          },
          "progresoSintomas": {
            "type": "string"
          },
          "competenciasDesarrolladas": {
            "type": "string"
          },
          "evaluacionFinal": {
            "type": "string"
          },
          "recomendaciones": {
            "type": "string"
          },
          "seguimientoSugerido": {
            "type": "string"
          },
          "derivaciones": {
            "type": "string"
          },
          "observacionesFinales": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<NotaEgreso, 'id'>, 'pacienteId'>"
      },
      "NotaEgresoPartial": {
        "title": "NotaEgresoPartial",
        "type": "object",
        "description": "(tsType: Partial<NotaEgreso>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "fechaIngreso": {
            "type": "string",
            "format": "date-time"
          },
          "fechaEgreso": {
            "type": "string",
            "format": "date-time"
          },
          "numeroSesiones": {
            "type": "number"
          },
          "motivoCierre": {
            "type": "string"
          },
          "tipoEgreso": {
            "type": "string"
          },
          "detallesMotivo": {
            "type": "string"
          },
          "objetivosAlcanzados": {
            "type": "string"
          },
          "progresoSintomas": {
            "type": "string"
          },
          "competenciasDesarrolladas": {
            "type": "string"
          },
          "evaluacionFinal": {
            "type": "string"
          },
          "recomendaciones": {
            "type": "string"
          },
          "seguimientoSugerido": {
            "type": "string"
          },
          "derivaciones": {
            "type": "string"
          },
          "observacionesFinales": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<NotaEgreso>"
      },
      "MedicamentoActualOptional_pacienteId_": {
        "title": "MedicamentoActualOptional_pacienteId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<MedicamentoActual, 'pacienteId'>, schemaOptions: { optional: [ 'pacienteId' ] })",
        "properties": {
          "medicamentoDosis": {
            "type": "string"
          },
          "paraQue": {
            "type": "string"
          },
          "quienReceta": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<MedicamentoActual, 'pacienteId'>"
      },
      "ConsumoSustanciaOptional_pacienteId_": {
        "title": "ConsumoSustanciaOptional_pacienteId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<ConsumoSustancia, 'pacienteId'>, schemaOptions: { optional: [ 'pacienteId' ] })",
        "properties": {
          "sustancia": {
            "type": "string"
          },
          "frecuenciaCantidad": {
            "type": "string"
          },
          "desdeCuando": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<ConsumoSustancia, 'pacienteId'>"
      },
      "InstrumentoAplicadoOptional_pacienteId_": {
        "title": "InstrumentoAplicadoOptional_pacienteId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<InstrumentoAplicado, 'pacienteId'>, schemaOptions: { optional: [ 'pacienteId' ] })",
        "properties": {
          "instrumento": {
            "type": "string"
          },
          "fecha": {
            "type": "string"
          },
          "puntaje": {
            "type": "string"
          },
          "interpretacion": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<InstrumentoAplicado, 'pacienteId'>"
      },
      "ProblemaClinicoOptional_pacienteId_": {
        "title": "ProblemaClinicoOptional_pacienteId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<ProblemaClinico, 'pacienteId'>, schemaOptions: { optional: [ 'pacienteId' ] })",
        "properties": {
          "numero": {
            "type": "number"
          },
          "descripcion": {
            "type": "string"
          },
          "prioridad": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<ProblemaClinico, 'pacienteId'>"
      },
      "AdendaOptional_pacienteId_": {
        "title": "AdendaOptional_pacienteId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Adenda, 'pacienteId'>, schemaOptions: { optional: [ 'pacienteId' ] })",
        "properties": {
          "fechaHora": {
            "type": "string"
          },
          "autor": {
            "type": "string"
          },
          "texto": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Adenda, 'pacienteId'>"
      },
      "NewHistoriaClinicaInPaciente": {
        "title": "NewHistoriaClinicaInPaciente",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<HistoriaClinica, 'id'>, 'pacienteId'>, schemaOptions: { title: 'NewHistoriaClinicaInPaciente', exclude: [ 'id' ], optional: [ 'pacienteId' ] })",
        "properties": {
          "numeroExpediente": {
            "type": "string"
          },
          "tipoExpediente": {
            "type": "string"
          },
          "fechaHoraInicio": {
            "type": "string"
          },
          "tipoEstablecimiento": {
            "type": "string"
          },
          "nombreEstablecimiento": {
            "type": "string"
          },
          "domicilioEstablecimiento": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "primerApellido": {
            "type": "string"
          },
          "segundoApellido": {
            "type": "string"
          },
          "curp": {
            "type": "string"
          },
          "fechaNacimiento": {
            "type": "string"
          },
          "edad": {
            "type": "number"
          },
          "sexo": {
            "type": "string"
          },
          "identidadGenero": {
            "type": "string"
          },
          "identidadGeneroOtra": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "domicilio": {
            "type": "object"
          },
          "ocupacion": {
            "type": "string"
          },
          "ahfSaludFisica": {
            "type": "string"
          },
          "ahfSaludMental": {
            "type": "string"
          },
          "appCondicionesMedicas": {
            "type": "string"
          },
          "appMedicamentos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MedicamentoActualOptional_pacienteId_"
            }
          },
          "appDiagnosticosPsiquiatricos": {
            "type": "string"
          },
          "appTratamientosPrevios": {
            "type": "string"
          },
          "appConsumoSustancias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsumoSustanciaOptional_pacienteId_"
            }
          },
          "appIntentosSuicidioAutolesiones": {
            "type": "string"
          },
          "appIntentosSuicidioDescripcion": {
            "type": "string"
          },
          "apnpViveConRelacion": {
            "type": "string"
          },
          "apnpOtrasPersonas": {
            "type": "string"
          },
          "apnpRelacionPareja": {
            "type": "string"
          },
          "apnpVidaSocialApoyo": {
            "type": "string"
          },
          "apnpAmbitoLaboral": {
            "type": "string"
          },
          "apnpAmbitoEscolar": {
            "type": "string"
          },
          "apnpDiaTipico": {
            "type": "string"
          },
          "apnpActividadesDisfrute": {
            "type": "string"
          },
          "apnpAlimentacion": {
            "type": "string"
          },
          "apnpAlimentacionObs": {
            "type": "string"
          },
          "apnpSueno": {
            "type": "string"
          },
          "apnpEjercicio": {
            "type": "string"
          },
          "motivoConsulta": {
            "type": "string"
          },
          "inicioEvolucionSintomas": {
            "type": "string"
          },
          "temasObjetivosPaciente": {
            "type": "string"
          },
          "iasSintomasFisicos": {
            "type": "object"
          },
          "iasDescripcion": {
            "type": "string"
          },
          "iasUltimaValoracionMedica": {
            "type": "string"
          },
          "examenMental": {
            "type": "object"
          },
          "riesgoSuicida": {
            "type": "boolean"
          },
          "riesgoHomicida": {
            "type": "boolean"
          },
          "estudiosPrevios": {
            "type": "string"
          },
          "instrumentosAplicados": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstrumentoAplicadoOptional_pacienteId_"
            }
          },
          "diagnosticos": {
            "type": "string"
          },
          "listaProblemas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProblemaClinicoOptional_pacienteId_"
            }
          },
          "pronostico": {
            "type": "string"
          },
          "pronosticoJustificacion": {
            "type": "string"
          },
          "itModalidad": {
            "type": "string"
          },
          "itFrecuenciaDuracion": {
            "type": "string"
          },
          "itFocoInicial": {
            "type": "string"
          },
          "itDerivaciones": {
            "type": "object"
          },
          "itReevaluacion": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "elaboroNombre": {
            "type": "string"
          },
          "elaboroTerapeutaId": {
            "type": "number"
          },
          "firmaFechaHora": {
            "type": "string"
          },
          "firmaImagen": {
            "type": "string"
          },
          "adendas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdendaOptional_pacienteId_"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<HistoriaClinica, 'id'>, 'pacienteId'>"
      },
      "HistoriaClinicaPartial": {
        "title": "HistoriaClinicaPartial",
        "type": "object",
        "description": "(tsType: Partial<HistoriaClinica>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "numeroExpediente": {
            "type": "string"
          },
          "tipoExpediente": {
            "type": "string"
          },
          "fechaHoraInicio": {
            "type": "string"
          },
          "tipoEstablecimiento": {
            "type": "string"
          },
          "nombreEstablecimiento": {
            "type": "string"
          },
          "domicilioEstablecimiento": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "primerApellido": {
            "type": "string"
          },
          "segundoApellido": {
            "type": "string"
          },
          "curp": {
            "type": "string"
          },
          "fechaNacimiento": {
            "type": "string"
          },
          "edad": {
            "type": "number"
          },
          "sexo": {
            "type": "string"
          },
          "identidadGenero": {
            "type": "string"
          },
          "identidadGeneroOtra": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "domicilio": {
            "type": "object"
          },
          "ocupacion": {
            "type": "string"
          },
          "ahfSaludFisica": {
            "type": "string"
          },
          "ahfSaludMental": {
            "type": "string"
          },
          "appCondicionesMedicas": {
            "type": "string"
          },
          "appMedicamentos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MedicamentoActual"
            }
          },
          "appDiagnosticosPsiquiatricos": {
            "type": "string"
          },
          "appTratamientosPrevios": {
            "type": "string"
          },
          "appConsumoSustancias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsumoSustancia"
            }
          },
          "appIntentosSuicidioAutolesiones": {
            "type": "string"
          },
          "appIntentosSuicidioDescripcion": {
            "type": "string"
          },
          "apnpViveConRelacion": {
            "type": "string"
          },
          "apnpOtrasPersonas": {
            "type": "string"
          },
          "apnpRelacionPareja": {
            "type": "string"
          },
          "apnpVidaSocialApoyo": {
            "type": "string"
          },
          "apnpAmbitoLaboral": {
            "type": "string"
          },
          "apnpAmbitoEscolar": {
            "type": "string"
          },
          "apnpDiaTipico": {
            "type": "string"
          },
          "apnpActividadesDisfrute": {
            "type": "string"
          },
          "apnpAlimentacion": {
            "type": "string"
          },
          "apnpAlimentacionObs": {
            "type": "string"
          },
          "apnpSueno": {
            "type": "string"
          },
          "apnpEjercicio": {
            "type": "string"
          },
          "motivoConsulta": {
            "type": "string"
          },
          "inicioEvolucionSintomas": {
            "type": "string"
          },
          "temasObjetivosPaciente": {
            "type": "string"
          },
          "iasSintomasFisicos": {
            "type": "object"
          },
          "iasDescripcion": {
            "type": "string"
          },
          "iasUltimaValoracionMedica": {
            "type": "string"
          },
          "examenMental": {
            "type": "object"
          },
          "riesgoSuicida": {
            "type": "boolean"
          },
          "riesgoHomicida": {
            "type": "boolean"
          },
          "estudiosPrevios": {
            "type": "string"
          },
          "instrumentosAplicados": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstrumentoAplicado"
            }
          },
          "diagnosticos": {
            "type": "string"
          },
          "listaProblemas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProblemaClinico"
            }
          },
          "pronostico": {
            "type": "string"
          },
          "pronosticoJustificacion": {
            "type": "string"
          },
          "itModalidad": {
            "type": "string"
          },
          "itFrecuenciaDuracion": {
            "type": "string"
          },
          "itFocoInicial": {
            "type": "string"
          },
          "itDerivaciones": {
            "type": "object"
          },
          "itReevaluacion": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "elaboroNombre": {
            "type": "string"
          },
          "elaboroTerapeutaId": {
            "type": "number"
          },
          "firmaFechaHora": {
            "type": "string"
          },
          "firmaImagen": {
            "type": "string"
          },
          "adendas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Adenda"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<HistoriaClinica>"
      },
      "NewEvaluacionProgresoInPaciente": {
        "title": "NewEvaluacionProgresoInPaciente",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<EvaluacionProgreso, 'id'>, 'pacienteId'>, schemaOptions: { title: 'NewEvaluacionProgresoInPaciente', exclude: [ 'id' ], optional: [ 'pacienteId' ] })",
        "properties": {
          "FechaEvaluacion": {
            "type": "string",
            "format": "date-time"
          },
          "ProgresoObservado": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          }
        },
        "required": [
          "ProgresoObservado"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<EvaluacionProgreso, 'id'>, 'pacienteId'>"
      },
      "CognitiveModelOptional_pacienteId_": {
        "title": "CognitiveModelOptional_pacienteId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<CognitiveModel, 'pacienteId'>, schemaOptions: { optional: [ 'pacienteId' ] })",
        "properties": {
          "fecha": {
            "type": "string"
          },
          "situacion": {
            "type": "string"
          },
          "pensamientos": {
            "type": "string"
          },
          "emociones": {
            "type": "string"
          },
          "conductas": {
            "type": "string"
          },
          "resultados": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<CognitiveModel, 'pacienteId'>"
      },
      "TreatmentPlanOptional_pacienteId_": {
        "title": "TreatmentPlanOptional_pacienteId_",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<TreatmentPlan, 'pacienteId'>, schemaOptions: { optional: [ 'pacienteId' ] })",
        "properties": {
          "objetivo": {
            "type": "string"
          },
          "mecanismos": {
            "type": "string"
          },
          "intervenciones": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<TreatmentPlan, 'pacienteId'>"
      },
      "NewConceptualizacionCasoInPaciente": {
        "title": "NewConceptualizacionCasoInPaciente",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<ConceptualizacionCaso, 'id'>, 'pacienteId'>, schemaOptions: { title: 'NewConceptualizacionCasoInPaciente', exclude: [ 'id' ], optional: [ 'pacienteId' ] })",
        "properties": {
          "modelosCognitivos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CognitiveModelOptional_pacienteId_"
            }
          },
          "creenciasIntermedias": {
            "type": "string"
          },
          "creenciasCentralesSelf": {
            "type": "string"
          },
          "creenciasCentralesMundo": {
            "type": "string"
          },
          "creenciasCentralesFuturo": {
            "type": "string"
          },
          "diagnosticoProbable": {
            "type": "string"
          },
          "motivoConsulta": {
            "type": "string"
          },
          "listaProblemas": {
            "type": "string"
          },
          "planesIntervenciones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TreatmentPlanOptional_pacienteId_"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<ConceptualizacionCaso, 'id'>, 'pacienteId'>"
      },
      "ConceptualizacionCasoPartial": {
        "title": "ConceptualizacionCasoPartial",
        "type": "object",
        "description": "(tsType: Partial<ConceptualizacionCaso>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "modelosCognitivos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CognitiveModel"
            }
          },
          "creenciasIntermedias": {
            "type": "string"
          },
          "creenciasCentralesSelf": {
            "type": "string"
          },
          "creenciasCentralesMundo": {
            "type": "string"
          },
          "creenciasCentralesFuturo": {
            "type": "string"
          },
          "diagnosticoProbable": {
            "type": "string"
          },
          "motivoConsulta": {
            "type": "string"
          },
          "listaProblemas": {
            "type": "string"
          },
          "planesIntervenciones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TreatmentPlan"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ConceptualizacionCaso>"
      },
      "NewNotaEvolucion": {
        "title": "NewNotaEvolucion",
        "type": "object",
        "description": "(tsType: Omit<NotaEvolucion, 'id'>, schemaOptions: { title: 'NewNotaEvolucion', exclude: [ 'id' ] })",
        "properties": {
          "dia": {
            "type": "string"
          },
          "semana": {
            "type": "string"
          },
          "sesion": {
            "type": "string"
          },
          "horaInicial": {
            "type": "string"
          },
          "Contenido": {
            "type": "string"
          },
          "trabajoSesion": {
            "type": "string"
          },
          "tarea": {
            "type": "string"
          },
          "problemasAbordados": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<NotaEvolucion, 'id'>"
      },
      "NotaEvolucionWithRelations": {
        "title": "NotaEvolucionWithRelations",
        "type": "object",
        "description": "(tsType: NotaEvolucionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "dia": {
            "type": "string"
          },
          "semana": {
            "type": "string"
          },
          "sesion": {
            "type": "string"
          },
          "horaInicial": {
            "type": "string"
          },
          "Contenido": {
            "type": "string"
          },
          "trabajoSesion": {
            "type": "string"
          },
          "tarea": {
            "type": "string"
          },
          "problemasAbordados": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "pacienteId": {
            "type": "number"
          },
          "paciente": {
            "$ref": "#/components/schemas/Paciente"
          },
          "foreignKey": {}
        },
        "additionalProperties": false,
        "x-typescript-type": "NotaEvolucionWithRelations"
      },
      "NewNotaEgreso": {
        "title": "NewNotaEgreso",
        "type": "object",
        "description": "(tsType: Omit<NotaEgreso, 'id'>, schemaOptions: { title: 'NewNotaEgreso', exclude: [ 'id' ] })",
        "properties": {
          "fechaIngreso": {
            "type": "string",
            "format": "date-time"
          },
          "fechaEgreso": {
            "type": "string",
            "format": "date-time"
          },
          "numeroSesiones": {
            "type": "number"
          },
          "motivoCierre": {
            "type": "string"
          },
          "tipoEgreso": {
            "type": "string"
          },
          "detallesMotivo": {
            "type": "string"
          },
          "objetivosAlcanzados": {
            "type": "string"
          },
          "progresoSintomas": {
            "type": "string"
          },
          "competenciasDesarrolladas": {
            "type": "string"
          },
          "evaluacionFinal": {
            "type": "string"
          },
          "recomendaciones": {
            "type": "string"
          },
          "seguimientoSugerido": {
            "type": "string"
          },
          "derivaciones": {
            "type": "string"
          },
          "observacionesFinales": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<NotaEgreso, 'id'>"
      },
      "NotaEgresoWithRelations": {
        "title": "NotaEgresoWithRelations",
        "type": "object",
        "description": "(tsType: NotaEgresoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "fechaIngreso": {
            "type": "string",
            "format": "date-time"
          },
          "fechaEgreso": {
            "type": "string",
            "format": "date-time"
          },
          "numeroSesiones": {
            "type": "number"
          },
          "motivoCierre": {
            "type": "string"
          },
          "tipoEgreso": {
            "type": "string"
          },
          "detallesMotivo": {
            "type": "string"
          },
          "objetivosAlcanzados": {
            "type": "string"
          },
          "progresoSintomas": {
            "type": "string"
          },
          "competenciasDesarrolladas": {
            "type": "string"
          },
          "evaluacionFinal": {
            "type": "string"
          },
          "recomendaciones": {
            "type": "string"
          },
          "seguimientoSugerido": {
            "type": "string"
          },
          "derivaciones": {
            "type": "string"
          },
          "observacionesFinales": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          },
          "paciente": {
            "$ref": "#/components/schemas/Paciente"
          },
          "foreignKey": {}
        },
        "additionalProperties": false,
        "x-typescript-type": "NotaEgresoWithRelations"
      },
      "NewNotaClinica": {
        "title": "NewNotaClinica",
        "type": "object",
        "description": "(tsType: Omit<NotaClinica, 'id'>, schemaOptions: { title: 'NewNotaClinica', exclude: [ 'id' ] })",
        "properties": {
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "Contenido": {
            "type": "string"
          },
          "PlanTratamiento": {
            "type": "string"
          },
          "Objetivos": {
            "type": "string"
          },
          "Conceptualizacion": {
            "type": "string"
          },
          "tipoNota": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "required": [
          "Contenido"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<NotaClinica, 'id'>"
      },
      "NotaClinicaPartial": {
        "title": "NotaClinicaPartial",
        "type": "object",
        "description": "(tsType: Partial<NotaClinica>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "Contenido": {
            "type": "string"
          },
          "PlanTratamiento": {
            "type": "string"
          },
          "Objetivos": {
            "type": "string"
          },
          "Conceptualizacion": {
            "type": "string"
          },
          "tipoNota": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<NotaClinica>"
      },
      "NotaClinicaWithRelations": {
        "title": "NotaClinicaWithRelations",
        "type": "object",
        "description": "(tsType: NotaClinicaWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaCreacion": {
            "type": "string",
            "format": "date"
          },
          "Contenido": {
            "type": "string"
          },
          "PlanTratamiento": {
            "type": "string"
          },
          "Objetivos": {
            "type": "string"
          },
          "Conceptualizacion": {
            "type": "string"
          },
          "tipoNota": {
            "type": "string"
          },
          "pacienteId": {
            "type": "number"
          },
          "pacienteNota": {
            "$ref": "#/components/schemas/Paciente"
          },
          "foreignKey": {}
        },
        "required": [
          "Contenido"
        ],
        "additionalProperties": false,
        "x-typescript-type": "NotaClinicaWithRelations"
      },
      "NewHistoriaClinica": {
        "title": "NewHistoriaClinica",
        "type": "object",
        "description": "(tsType: Omit<HistoriaClinica, 'id'>, schemaOptions: { title: 'NewHistoriaClinica', exclude: [ 'id' ] })",
        "properties": {
          "numeroExpediente": {
            "type": "string"
          },
          "tipoExpediente": {
            "type": "string"
          },
          "fechaHoraInicio": {
            "type": "string"
          },
          "tipoEstablecimiento": {
            "type": "string"
          },
          "nombreEstablecimiento": {
            "type": "string"
          },
          "domicilioEstablecimiento": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "primerApellido": {
            "type": "string"
          },
          "segundoApellido": {
            "type": "string"
          },
          "curp": {
            "type": "string"
          },
          "fechaNacimiento": {
            "type": "string"
          },
          "edad": {
            "type": "number"
          },
          "sexo": {
            "type": "string"
          },
          "identidadGenero": {
            "type": "string"
          },
          "identidadGeneroOtra": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "domicilio": {
            "type": "object"
          },
          "ocupacion": {
            "type": "string"
          },
          "ahfSaludFisica": {
            "type": "string"
          },
          "ahfSaludMental": {
            "type": "string"
          },
          "appCondicionesMedicas": {
            "type": "string"
          },
          "appMedicamentos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MedicamentoActual"
            }
          },
          "appDiagnosticosPsiquiatricos": {
            "type": "string"
          },
          "appTratamientosPrevios": {
            "type": "string"
          },
          "appConsumoSustancias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsumoSustancia"
            }
          },
          "appIntentosSuicidioAutolesiones": {
            "type": "string"
          },
          "appIntentosSuicidioDescripcion": {
            "type": "string"
          },
          "apnpViveConRelacion": {
            "type": "string"
          },
          "apnpOtrasPersonas": {
            "type": "string"
          },
          "apnpRelacionPareja": {
            "type": "string"
          },
          "apnpVidaSocialApoyo": {
            "type": "string"
          },
          "apnpAmbitoLaboral": {
            "type": "string"
          },
          "apnpAmbitoEscolar": {
            "type": "string"
          },
          "apnpDiaTipico": {
            "type": "string"
          },
          "apnpActividadesDisfrute": {
            "type": "string"
          },
          "apnpAlimentacion": {
            "type": "string"
          },
          "apnpAlimentacionObs": {
            "type": "string"
          },
          "apnpSueno": {
            "type": "string"
          },
          "apnpEjercicio": {
            "type": "string"
          },
          "motivoConsulta": {
            "type": "string"
          },
          "inicioEvolucionSintomas": {
            "type": "string"
          },
          "temasObjetivosPaciente": {
            "type": "string"
          },
          "iasSintomasFisicos": {
            "type": "object"
          },
          "iasDescripcion": {
            "type": "string"
          },
          "iasUltimaValoracionMedica": {
            "type": "string"
          },
          "examenMental": {
            "type": "object"
          },
          "riesgoSuicida": {
            "type": "boolean"
          },
          "riesgoHomicida": {
            "type": "boolean"
          },
          "estudiosPrevios": {
            "type": "string"
          },
          "instrumentosAplicados": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstrumentoAplicado"
            }
          },
          "diagnosticos": {
            "type": "string"
          },
          "listaProblemas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProblemaClinico"
            }
          },
          "pronostico": {
            "type": "string"
          },
          "pronosticoJustificacion": {
            "type": "string"
          },
          "itModalidad": {
            "type": "string"
          },
          "itFrecuenciaDuracion": {
            "type": "string"
          },
          "itFocoInicial": {
            "type": "string"
          },
          "itDerivaciones": {
            "type": "object"
          },
          "itReevaluacion": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "elaboroNombre": {
            "type": "string"
          },
          "elaboroTerapeutaId": {
            "type": "number"
          },
          "firmaFechaHora": {
            "type": "string"
          },
          "firmaImagen": {
            "type": "string"
          },
          "adendas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Adenda"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<HistoriaClinica, 'id'>"
      },
      "HistoriaClinicaWithRelations": {
        "title": "HistoriaClinicaWithRelations",
        "type": "object",
        "description": "(tsType: HistoriaClinicaWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "numeroExpediente": {
            "type": "string"
          },
          "tipoExpediente": {
            "type": "string"
          },
          "fechaHoraInicio": {
            "type": "string"
          },
          "tipoEstablecimiento": {
            "type": "string"
          },
          "nombreEstablecimiento": {
            "type": "string"
          },
          "domicilioEstablecimiento": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "primerApellido": {
            "type": "string"
          },
          "segundoApellido": {
            "type": "string"
          },
          "curp": {
            "type": "string"
          },
          "fechaNacimiento": {
            "type": "string"
          },
          "edad": {
            "type": "number"
          },
          "sexo": {
            "type": "string"
          },
          "identidadGenero": {
            "type": "string"
          },
          "identidadGeneroOtra": {
            "type": "string"
          },
          "lugarNacimiento": {
            "type": "string"
          },
          "nacionalidad": {
            "type": "string"
          },
          "domicilio": {
            "type": "object"
          },
          "ocupacion": {
            "type": "string"
          },
          "ahfSaludFisica": {
            "type": "string"
          },
          "ahfSaludMental": {
            "type": "string"
          },
          "appCondicionesMedicas": {
            "type": "string"
          },
          "appMedicamentos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MedicamentoActual"
            }
          },
          "appDiagnosticosPsiquiatricos": {
            "type": "string"
          },
          "appTratamientosPrevios": {
            "type": "string"
          },
          "appConsumoSustancias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsumoSustancia"
            }
          },
          "appIntentosSuicidioAutolesiones": {
            "type": "string"
          },
          "appIntentosSuicidioDescripcion": {
            "type": "string"
          },
          "apnpViveConRelacion": {
            "type": "string"
          },
          "apnpOtrasPersonas": {
            "type": "string"
          },
          "apnpRelacionPareja": {
            "type": "string"
          },
          "apnpVidaSocialApoyo": {
            "type": "string"
          },
          "apnpAmbitoLaboral": {
            "type": "string"
          },
          "apnpAmbitoEscolar": {
            "type": "string"
          },
          "apnpDiaTipico": {
            "type": "string"
          },
          "apnpActividadesDisfrute": {
            "type": "string"
          },
          "apnpAlimentacion": {
            "type": "string"
          },
          "apnpAlimentacionObs": {
            "type": "string"
          },
          "apnpSueno": {
            "type": "string"
          },
          "apnpEjercicio": {
            "type": "string"
          },
          "motivoConsulta": {
            "type": "string"
          },
          "inicioEvolucionSintomas": {
            "type": "string"
          },
          "temasObjetivosPaciente": {
            "type": "string"
          },
          "iasSintomasFisicos": {
            "type": "object"
          },
          "iasDescripcion": {
            "type": "string"
          },
          "iasUltimaValoracionMedica": {
            "type": "string"
          },
          "examenMental": {
            "type": "object"
          },
          "riesgoSuicida": {
            "type": "boolean"
          },
          "riesgoHomicida": {
            "type": "boolean"
          },
          "estudiosPrevios": {
            "type": "string"
          },
          "instrumentosAplicados": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InstrumentoAplicado"
            }
          },
          "diagnosticos": {
            "type": "string"
          },
          "listaProblemas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProblemaClinico"
            }
          },
          "pronostico": {
            "type": "string"
          },
          "pronosticoJustificacion": {
            "type": "string"
          },
          "itModalidad": {
            "type": "string"
          },
          "itFrecuenciaDuracion": {
            "type": "string"
          },
          "itFocoInicial": {
            "type": "string"
          },
          "itDerivaciones": {
            "type": "object"
          },
          "itReevaluacion": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "elaboroNombre": {
            "type": "string"
          },
          "elaboroTerapeutaId": {
            "type": "number"
          },
          "firmaFechaHora": {
            "type": "string"
          },
          "firmaImagen": {
            "type": "string"
          },
          "adendas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Adenda"
            }
          },
          "pacienteId": {
            "type": "number"
          },
          "entradaHistorias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntradaHistoria"
            }
          },
          "pacienteHistoria": {
            "$ref": "#/components/schemas/Paciente"
          },
          "foreignKey": {}
        },
        "additionalProperties": false,
        "x-typescript-type": "HistoriaClinicaWithRelations"
      },
      "NewEntradaHistoriaInHistoriaClinica": {
        "title": "NewEntradaHistoriaInHistoriaClinica",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<EntradaHistoria, 'id'>, 'historiaClinicaId'>, schemaOptions: { title: 'NewEntradaHistoriaInHistoriaClinica', exclude: [ 'id' ], optional: [ 'historiaClinicaId' ] })",
        "properties": {
          "FechaEntrada": {
            "type": "string",
            "format": "date-time"
          },
          "Detalles": {
            "type": "string"
          },
          "consultaId": {
            "type": "number"
          },
          "historiaClinicaId": {
            "type": "number"
          }
        },
        "required": [
          "Detalles"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<EntradaHistoria, 'id'>, 'historiaClinicaId'>"
      },
      "NewConceptualizacionCaso": {
        "title": "NewConceptualizacionCaso",
        "type": "object",
        "description": "(tsType: Omit<ConceptualizacionCaso, 'id'>, schemaOptions: { title: 'NewConceptualizacionCaso', exclude: [ 'id' ] })",
        "properties": {
          "modelosCognitivos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CognitiveModel"
            }
          },
          "creenciasIntermedias": {
            "type": "string"
          },
          "creenciasCentralesSelf": {
            "type": "string"
          },
          "creenciasCentralesMundo": {
            "type": "string"
          },
          "creenciasCentralesFuturo": {
            "type": "string"
          },
          "diagnosticoProbable": {
            "type": "string"
          },
          "motivoConsulta": {
            "type": "string"
          },
          "listaProblemas": {
            "type": "string"
          },
          "planesIntervenciones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TreatmentPlan"
            }
          },
          "pacienteId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<ConceptualizacionCaso, 'id'>"
      },
      "ConceptualizacionCasoWithRelations": {
        "title": "ConceptualizacionCasoWithRelations",
        "type": "object",
        "description": "(tsType: ConceptualizacionCasoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "modelosCognitivos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CognitiveModel"
            }
          },
          "creenciasIntermedias": {
            "type": "string"
          },
          "creenciasCentralesSelf": {
            "type": "string"
          },
          "creenciasCentralesMundo": {
            "type": "string"
          },
          "creenciasCentralesFuturo": {
            "type": "string"
          },
          "diagnosticoProbable": {
            "type": "string"
          },
          "motivoConsulta": {
            "type": "string"
          },
          "listaProblemas": {
            "type": "string"
          },
          "planesIntervenciones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TreatmentPlan"
            }
          },
          "pacienteId": {
            "type": "number"
          },
          "paciente": {
            "$ref": "#/components/schemas/Paciente"
          },
          "foreignKey": {}
        },
        "additionalProperties": false,
        "x-typescript-type": "ConceptualizacionCasoWithRelations"
      },
      "NewMensajeInTerapeuta": {
        "title": "NewMensajeInTerapeuta",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Mensaje, 'id'>, 'terapeutaId'>, schemaOptions: { title: 'NewMensajeInTerapeuta', exclude: [ 'id' ], optional: [ 'terapeutaId' ] })",
        "properties": {
          "Contenido": {
            "type": "string"
          },
          "FechaEnvio": {
            "type": "string",
            "format": "date-time"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          }
        },
        "required": [
          "Contenido"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Mensaje, 'id'>, 'terapeutaId'>"
      },
      "MensajePartial": {
        "title": "MensajePartial",
        "type": "object",
        "description": "(tsType: Partial<Mensaje>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "Contenido": {
            "type": "string"
          },
          "FechaEnvio": {
            "type": "string",
            "format": "date-time"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Mensaje>"
      },
      "NewMensajeInPaciente": {
        "title": "NewMensajeInPaciente",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Mensaje, 'id'>, 'pacienteId'>, schemaOptions: { title: 'NewMensajeInPaciente', exclude: [ 'id' ], optional: [ 'pacienteId' ] })",
        "properties": {
          "Contenido": {
            "type": "string"
          },
          "FechaEnvio": {
            "type": "string",
            "format": "date-time"
          },
          "pacienteId": {
            "type": "number"
          },
          "terapeutaId": {
            "type": "number"
          }
        },
        "required": [
          "Contenido"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Mensaje, 'id'>, 'pacienteId'>"
      },
      "Usuario": {
        "title": "Usuario",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "Password": {
            "type": "string"
          },
          "idPersona": {
            "type": "number"
          },
          "emailVerificado": {
            "type": "boolean"
          },
          "academia": {
            "type": "string"
          },
          "activo": {
            "type": "boolean"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "rolId": {
            "type": "string"
          }
        },
        "required": [
          "Email"
        ],
        "additionalProperties": false
      },
      "NewUsuario": {
        "title": "NewUsuario",
        "type": "object",
        "description": "(tsType: Omit<Usuario, 'id' | 'Password' | 'emailVerificado'>, schemaOptions: { title: 'NewUsuario', exclude: [ 'id', 'Password', 'emailVerificado' ] })",
        "properties": {
          "Email": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "idPersona": {
            "type": "number"
          },
          "academia": {
            "type": "string"
          },
          "activo": {
            "type": "boolean"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "rolId": {
            "type": "string"
          }
        },
        "required": [
          "Email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Usuario, 'id' | 'Password' | 'emailVerificado'>"
      },
      "Rol": {
        "title": "Rol",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          }
        },
        "required": [
          "Nombre"
        ],
        "additionalProperties": false
      },
      "UsuarioWithRelations": {
        "title": "UsuarioWithRelations",
        "type": "object",
        "description": "(tsType: UsuarioWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "Password": {
            "type": "string"
          },
          "idPersona": {
            "type": "number"
          },
          "emailVerificado": {
            "type": "boolean"
          },
          "academia": {
            "type": "string"
          },
          "activo": {
            "type": "boolean"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "rolId": {
            "type": "string"
          },
          "rol": {
            "$ref": "#/components/schemas/Rol"
          },
          "foreignKey": {}
        },
        "required": [
          "Email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "UsuarioWithRelations"
      },
      "UsuarioPartial": {
        "title": "UsuarioPartial",
        "type": "object",
        "description": "(tsType: Partial<Usuario>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "Password": {
            "type": "string"
          },
          "idPersona": {
            "type": "number"
          },
          "emailVerificado": {
            "type": "boolean"
          },
          "academia": {
            "type": "string"
          },
          "activo": {
            "type": "boolean"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "rolId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Usuario>"
      },
      "Credenciales": {
        "title": "Credenciales",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "password"
        ],
        "additionalProperties": false
      },
      "NewUsuarioInRol": {
        "title": "NewUsuarioInRol",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Usuario, 'id'>, 'rolId'>, schemaOptions: { title: 'NewUsuarioInRol', exclude: [ 'id' ], optional: [ 'rolId' ] })",
        "properties": {
          "Email": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "Password": {
            "type": "string"
          },
          "idPersona": {
            "type": "number"
          },
          "emailVerificado": {
            "type": "boolean"
          },
          "academia": {
            "type": "string"
          },
          "activo": {
            "type": "boolean"
          },
          "fotoPerfil": {
            "type": "string"
          },
          "rolId": {
            "type": "string"
          }
        },
        "required": [
          "Email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Usuario, 'id'>, 'rolId'>"
      },
      "RegistroPago": {
        "title": "RegistroPago",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "FechaHora": {
            "type": "string",
            "format": "date-time"
          },
          "Persona": {
            "type": "string"
          },
          "Motivo": {
            "type": "string"
          },
          "Metodo": {
            "type": "string"
          },
          "Monto": {
            "type": "number"
          },
          "Notas": {
            "type": "string"
          },
          "Evidencia": {
            "type": "string"
          },
          "TieneEvidencia": {
            "type": "boolean"
          },
          "refTipo": {
            "type": "string"
          },
          "refId": {
            "type": "number"
          }
        },
        "required": [
          "FechaHora",
          "Persona",
          "Motivo"
        ],
        "additionalProperties": false
      },
      "NuevoRegistroPago": {
        "title": "NuevoRegistroPago",
        "type": "object",
        "description": "(tsType: Omit<RegistroPago, 'id' | 'TieneEvidencia'>, schemaOptions: { title: 'NuevoRegistroPago', exclude: [ 'id', 'TieneEvidencia' ] })",
        "properties": {
          "FechaHora": {
            "type": "string",
            "format": "date-time"
          },
          "Persona": {
            "type": "string"
          },
          "Motivo": {
            "type": "string"
          },
          "Metodo": {
            "type": "string"
          },
          "Monto": {
            "type": "number"
          },
          "Notas": {
            "type": "string"
          },
          "Evidencia": {
            "type": "string"
          },
          "refTipo": {
            "type": "string"
          },
          "refId": {
            "type": "number"
          }
        },
        "required": [
          "FechaHora",
          "Persona",
          "Motivo"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<RegistroPago, 'id' | 'TieneEvidencia'>"
      },
      "AlumnoBaile": {
        "title": "AlumnoBaile",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "academia": {
            "type": "string"
          },
          "Foto": {
            "type": "string"
          },
          "FechaNacimiento": {
            "type": "string",
            "format": "date"
          },
          "paqueteId": {
            "type": "number"
          },
          "FechaVencimiento": {
            "type": "string",
            "format": "date"
          },
          "estado": {
            "type": "boolean"
          },
          "horariosAsignados": {}
        },
        "required": [
          "Nombre"
        ],
        "additionalProperties": false
      },
      "NuevoAlumnoBaile": {
        "title": "NuevoAlumnoBaile",
        "type": "object",
        "description": "(tsType: Omit<AlumnoBaile, 'id'>, schemaOptions: { title: 'NuevoAlumnoBaile', exclude: [ 'id' ] })",
        "properties": {
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "academia": {
            "type": "string"
          },
          "Foto": {
            "type": "string"
          },
          "FechaNacimiento": {
            "type": "string",
            "format": "date"
          },
          "paqueteId": {
            "type": "number"
          },
          "FechaVencimiento": {
            "type": "string",
            "format": "date"
          },
          "estado": {
            "type": "boolean"
          },
          "horariosAsignados": {}
        },
        "required": [
          "Nombre"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<AlumnoBaile, 'id'>"
      },
      "AlumnoBailePartial": {
        "title": "AlumnoBailePartial",
        "type": "object",
        "description": "(tsType: Partial<AlumnoBaile>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "Nombre": {
            "type": "string"
          },
          "ApellidoPaterno": {
            "type": "string"
          },
          "ApellidoMaterno": {
            "type": "string"
          },
          "Telefono": {
            "type": "string"
          },
          "Email": {
            "type": "string"
          },
          "FechaRegistro": {
            "type": "string",
            "format": "date"
          },
          "academia": {
            "type": "string"
          },
          "Foto": {
            "type": "string"
          },
          "FechaNacimiento": {
            "type": "string",
            "format": "date"
          },
          "paqueteId": {
            "type": "number"
          },
          "FechaVencimiento": {
            "type": "string",
            "format": "date"
          },
          "estado": {
            "type": "boolean"
          },
          "horariosAsignados": {}
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<AlumnoBaile>"
      },
      "PaqueteAcademiaExcluding_id_": {
        "title": "PaqueteAcademiaExcluding_id_",
        "type": "object",
        "description": "(tsType: Omit<PaqueteAcademia, 'id'>, schemaOptions: { exclude: [ 'id' ] })",
        "properties": {
          "academia": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "Precio": {
            "type": "number"
          },
          "Descripcion": {
            "type": "string"
          },
          "MesesVigencia": {
            "type": "number"
          },
          "activo": {
            "type": "boolean"
          },
          "horarios": {}
        },
        "required": [
          "academia",
          "Nombre",
          "Precio"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<PaqueteAcademia, 'id'>"
      },
      "PaqueteAcademiaPartial": {
        "title": "PaqueteAcademiaPartial",
        "type": "object",
        "description": "(tsType: Partial<PaqueteAcademia>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "academia": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "Precio": {
            "type": "number"
          },
          "Descripcion": {
            "type": "string"
          },
          "MesesVigencia": {
            "type": "number"
          },
          "activo": {
            "type": "boolean"
          },
          "horarios": {}
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<PaqueteAcademia>"
      },
      "ClaseAcademiaExcluding_id_": {
        "title": "ClaseAcademiaExcluding_id_",
        "type": "object",
        "description": "(tsType: Omit<ClaseAcademia, 'id'>, schemaOptions: { exclude: [ 'id' ] })",
        "properties": {
          "academia": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "Sede": {
            "type": "string"
          },
          "Dias": {
            "type": "string"
          },
          "HoraInicio": {
            "type": "string"
          },
          "HoraFin": {
            "type": "string"
          },
          "activo": {
            "type": "boolean"
          }
        },
        "required": [
          "academia",
          "Nombre"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ClaseAcademia, 'id'>"
      },
      "ClaseAcademiaPartial": {
        "title": "ClaseAcademiaPartial",
        "type": "object",
        "description": "(tsType: Partial<ClaseAcademia>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "academia": {
            "type": "string"
          },
          "Nombre": {
            "type": "string"
          },
          "Sede": {
            "type": "string"
          },
          "Dias": {
            "type": "string"
          },
          "HoraInicio": {
            "type": "string"
          },
          "HoraFin": {
            "type": "string"
          },
          "activo": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ClaseAcademia>"
      },
      "EgresoAcademiaExcluding_id-RegistradoPor_": {
        "title": "EgresoAcademiaExcluding_id-RegistradoPor_",
        "type": "object",
        "description": "(tsType: Omit<EgresoAcademia, 'id' | 'RegistradoPor'>, schemaOptions: { exclude: [ 'id', 'RegistradoPor' ] })",
        "properties": {
          "academia": {
            "type": "string"
          },
          "FechaHora": {
            "type": "string",
            "format": "date-time"
          },
          "Tipo": {
            "type": "string"
          },
          "Descripcion": {
            "type": "string"
          },
          "Cantidad": {
            "type": "number"
          },
          "Metodo": {
            "type": "string"
          }
        },
        "required": [
          "academia",
          "FechaHora",
          "Descripcion",
          "Cantidad"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<EgresoAcademia, 'id' | 'RegistradoPor'>"
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "ConceptualizacionCaso.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "ConceptualizacionCaso.ScopeFilter"
      },
      "ConceptualizacionCaso.IncludeFilter.Items": {
        "title": "ConceptualizacionCaso.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "paciente"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ConceptualizacionCaso.ScopeFilter"
          }
        }
      },
      "ConceptualizacionCaso.Filter": {
        "type": "object",
        "title": "ConceptualizacionCaso.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "modelosCognitivos": {
                    "type": "boolean"
                  },
                  "creenciasIntermedias": {
                    "type": "boolean"
                  },
                  "creenciasCentralesSelf": {
                    "type": "boolean"
                  },
                  "creenciasCentralesMundo": {
                    "type": "boolean"
                  },
                  "creenciasCentralesFuturo": {
                    "type": "boolean"
                  },
                  "diagnosticoProbable": {
                    "type": "boolean"
                  },
                  "motivoConsulta": {
                    "type": "boolean"
                  },
                  "listaProblemas": {
                    "type": "boolean"
                  },
                  "planesIntervenciones": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "modelosCognitivos",
                    "creenciasIntermedias",
                    "creenciasCentralesSelf",
                    "creenciasCentralesMundo",
                    "creenciasCentralesFuturo",
                    "diagnosticoProbable",
                    "motivoConsulta",
                    "listaProblemas",
                    "planesIntervenciones",
                    "pacienteId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ConceptualizacionCaso.Fields"
          },
          "include": {
            "title": "ConceptualizacionCaso.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ConceptualizacionCaso.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ConceptualizacionCaso>"
      },
      "ConceptualizacionCaso.Filter1": {
        "type": "object",
        "title": "ConceptualizacionCaso.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "ConceptualizacionCaso.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "modelosCognitivos": {
                    "type": "boolean"
                  },
                  "creenciasIntermedias": {
                    "type": "boolean"
                  },
                  "creenciasCentralesSelf": {
                    "type": "boolean"
                  },
                  "creenciasCentralesMundo": {
                    "type": "boolean"
                  },
                  "creenciasCentralesFuturo": {
                    "type": "boolean"
                  },
                  "diagnosticoProbable": {
                    "type": "boolean"
                  },
                  "motivoConsulta": {
                    "type": "boolean"
                  },
                  "listaProblemas": {
                    "type": "boolean"
                  },
                  "planesIntervenciones": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "modelosCognitivos",
                    "creenciasIntermedias",
                    "creenciasCentralesSelf",
                    "creenciasCentralesMundo",
                    "creenciasCentralesFuturo",
                    "diagnosticoProbable",
                    "motivoConsulta",
                    "listaProblemas",
                    "planesIntervenciones",
                    "pacienteId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ConceptualizacionCaso.Fields"
          },
          "include": {
            "title": "ConceptualizacionCaso.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ConceptualizacionCaso.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ConceptualizacionCaso>"
      },
      "Consulta.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Consulta.ScopeFilter"
      },
      "Consulta.IncludeFilter.Items": {
        "title": "Consulta.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "terapeutaConsulta",
              "pacienteConsulta",
              "resultadosTests",
              "entradaHistorias",
              "testPsicometricos"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Consulta.ScopeFilter"
          }
        }
      },
      "Consulta.Filter": {
        "type": "object",
        "title": "Consulta.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "FechaConsulta": {
                    "type": "boolean"
                  },
                  "NotasConsulta": {
                    "type": "boolean"
                  },
                  "HoraConsulta": {
                    "type": "boolean"
                  },
                  "TipoPago": {
                    "type": "boolean"
                  },
                  "Pagado": {
                    "type": "boolean"
                  },
                  "EstadoConfirmacion": {
                    "type": "boolean"
                  },
                  "Completada": {
                    "type": "boolean"
                  },
                  "InicioConsulta": {
                    "type": "boolean"
                  },
                  "DuracionSegundos": {
                    "type": "boolean"
                  },
                  "terapeutaId": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "FechaConsulta",
                    "NotasConsulta",
                    "HoraConsulta",
                    "TipoPago",
                    "Pagado",
                    "EstadoConfirmacion",
                    "Completada",
                    "InicioConsulta",
                    "DuracionSegundos",
                    "terapeutaId",
                    "pacienteId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Consulta.Fields"
          },
          "include": {
            "title": "Consulta.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Consulta.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Consulta>"
      },
      "ConsultaTest.Filter": {
        "type": "object",
        "title": "ConsultaTest.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "ConsultaTest.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "consultaId": {
                    "type": "boolean"
                  },
                  "testPsicometricoId": {
                    "type": "boolean"
                  },
                  "contestado": {
                    "type": "boolean"
                  },
                  "LinkAbierto": {
                    "type": "boolean"
                  },
                  "CapturaResultado": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "consultaId",
                    "testPsicometricoId",
                    "contestado",
                    "LinkAbierto",
                    "CapturaResultado"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ConsultaTest.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ConsultaTest>"
      },
      "EjercicioPractico.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "EjercicioPractico.ScopeFilter"
      },
      "EjercicioPractico.IncludeFilter.Items": {
        "title": "EjercicioPractico.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "moduloPsicoeducativo",
              "pacienteEjercicios"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/EjercicioPractico.ScopeFilter"
          }
        }
      },
      "EjercicioPractico.Filter": {
        "type": "object",
        "title": "EjercicioPractico.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "Titulo": {
                    "type": "boolean"
                  },
                  "Descripcion": {
                    "type": "boolean"
                  },
                  "Instrucciones": {
                    "type": "boolean"
                  },
                  "FechaCreacion": {
                    "type": "boolean"
                  },
                  "archivoNombre": {
                    "type": "boolean"
                  },
                  "archivoContenido": {
                    "type": "boolean"
                  },
                  "moduloPsicoeducativoId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "Titulo",
                    "Descripcion",
                    "Instrucciones",
                    "FechaCreacion",
                    "archivoNombre",
                    "archivoContenido",
                    "moduloPsicoeducativoId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "EjercicioPractico.Fields"
          },
          "include": {
            "title": "EjercicioPractico.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/EjercicioPractico.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<EjercicioPractico>"
      },
      "EventoGlobal.Filter": {
        "type": "object",
        "title": "EventoGlobal.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "titulo": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "fecha": {
                    "type": "boolean"
                  },
                  "hora": {
                    "type": "boolean"
                  },
                  "prioridad": {
                    "type": "boolean"
                  },
                  "fechaCreacion": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "titulo",
                    "descripcion",
                    "fecha",
                    "hora",
                    "prioridad",
                    "fechaCreacion"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "EventoGlobal.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<EventoGlobal>"
      },
      "EventoGlobal.Filter1": {
        "type": "object",
        "title": "EventoGlobal.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "EventoGlobal.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "titulo": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "fecha": {
                    "type": "boolean"
                  },
                  "hora": {
                    "type": "boolean"
                  },
                  "prioridad": {
                    "type": "boolean"
                  },
                  "fechaCreacion": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "titulo",
                    "descripcion",
                    "fecha",
                    "hora",
                    "prioridad",
                    "fechaCreacion"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "EventoGlobal.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<EventoGlobal>"
      },
      "HistoriaClinica.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "HistoriaClinica.ScopeFilter"
      },
      "HistoriaClinica.IncludeFilter.Items": {
        "title": "HistoriaClinica.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "entradaHistorias",
              "pacienteHistoria"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/HistoriaClinica.ScopeFilter"
          }
        }
      },
      "HistoriaClinica.Filter": {
        "type": "object",
        "title": "HistoriaClinica.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "numeroExpediente": {
                    "type": "boolean"
                  },
                  "tipoExpediente": {
                    "type": "boolean"
                  },
                  "fechaHoraInicio": {
                    "type": "boolean"
                  },
                  "tipoEstablecimiento": {
                    "type": "boolean"
                  },
                  "nombreEstablecimiento": {
                    "type": "boolean"
                  },
                  "domicilioEstablecimiento": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "primerApellido": {
                    "type": "boolean"
                  },
                  "segundoApellido": {
                    "type": "boolean"
                  },
                  "curp": {
                    "type": "boolean"
                  },
                  "fechaNacimiento": {
                    "type": "boolean"
                  },
                  "edad": {
                    "type": "boolean"
                  },
                  "sexo": {
                    "type": "boolean"
                  },
                  "identidadGenero": {
                    "type": "boolean"
                  },
                  "identidadGeneroOtra": {
                    "type": "boolean"
                  },
                  "lugarNacimiento": {
                    "type": "boolean"
                  },
                  "nacionalidad": {
                    "type": "boolean"
                  },
                  "domicilio": {
                    "type": "boolean"
                  },
                  "ocupacion": {
                    "type": "boolean"
                  },
                  "ahfSaludFisica": {
                    "type": "boolean"
                  },
                  "ahfSaludMental": {
                    "type": "boolean"
                  },
                  "appCondicionesMedicas": {
                    "type": "boolean"
                  },
                  "appMedicamentos": {
                    "type": "boolean"
                  },
                  "appDiagnosticosPsiquiatricos": {
                    "type": "boolean"
                  },
                  "appTratamientosPrevios": {
                    "type": "boolean"
                  },
                  "appConsumoSustancias": {
                    "type": "boolean"
                  },
                  "appIntentosSuicidioAutolesiones": {
                    "type": "boolean"
                  },
                  "appIntentosSuicidioDescripcion": {
                    "type": "boolean"
                  },
                  "apnpViveConRelacion": {
                    "type": "boolean"
                  },
                  "apnpOtrasPersonas": {
                    "type": "boolean"
                  },
                  "apnpRelacionPareja": {
                    "type": "boolean"
                  },
                  "apnpVidaSocialApoyo": {
                    "type": "boolean"
                  },
                  "apnpAmbitoLaboral": {
                    "type": "boolean"
                  },
                  "apnpAmbitoEscolar": {
                    "type": "boolean"
                  },
                  "apnpDiaTipico": {
                    "type": "boolean"
                  },
                  "apnpActividadesDisfrute": {
                    "type": "boolean"
                  },
                  "apnpAlimentacion": {
                    "type": "boolean"
                  },
                  "apnpAlimentacionObs": {
                    "type": "boolean"
                  },
                  "apnpSueno": {
                    "type": "boolean"
                  },
                  "apnpEjercicio": {
                    "type": "boolean"
                  },
                  "motivoConsulta": {
                    "type": "boolean"
                  },
                  "inicioEvolucionSintomas": {
                    "type": "boolean"
                  },
                  "temasObjetivosPaciente": {
                    "type": "boolean"
                  },
                  "iasSintomasFisicos": {
                    "type": "boolean"
                  },
                  "iasDescripcion": {
                    "type": "boolean"
                  },
                  "iasUltimaValoracionMedica": {
                    "type": "boolean"
                  },
                  "examenMental": {
                    "type": "boolean"
                  },
                  "riesgoSuicida": {
                    "type": "boolean"
                  },
                  "riesgoHomicida": {
                    "type": "boolean"
                  },
                  "estudiosPrevios": {
                    "type": "boolean"
                  },
                  "instrumentosAplicados": {
                    "type": "boolean"
                  },
                  "diagnosticos": {
                    "type": "boolean"
                  },
                  "listaProblemas": {
                    "type": "boolean"
                  },
                  "pronostico": {
                    "type": "boolean"
                  },
                  "pronosticoJustificacion": {
                    "type": "boolean"
                  },
                  "itModalidad": {
                    "type": "boolean"
                  },
                  "itFrecuenciaDuracion": {
                    "type": "boolean"
                  },
                  "itFocoInicial": {
                    "type": "boolean"
                  },
                  "itDerivaciones": {
                    "type": "boolean"
                  },
                  "itReevaluacion": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "elaboroNombre": {
                    "type": "boolean"
                  },
                  "elaboroTerapeutaId": {
                    "type": "boolean"
                  },
                  "firmaFechaHora": {
                    "type": "boolean"
                  },
                  "firmaImagen": {
                    "type": "boolean"
                  },
                  "adendas": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "numeroExpediente",
                    "tipoExpediente",
                    "fechaHoraInicio",
                    "tipoEstablecimiento",
                    "nombreEstablecimiento",
                    "domicilioEstablecimiento",
                    "nombre",
                    "primerApellido",
                    "segundoApellido",
                    "curp",
                    "fechaNacimiento",
                    "edad",
                    "sexo",
                    "identidadGenero",
                    "identidadGeneroOtra",
                    "lugarNacimiento",
                    "nacionalidad",
                    "domicilio",
                    "ocupacion",
                    "ahfSaludFisica",
                    "ahfSaludMental",
                    "appCondicionesMedicas",
                    "appMedicamentos",
                    "appDiagnosticosPsiquiatricos",
                    "appTratamientosPrevios",
                    "appConsumoSustancias",
                    "appIntentosSuicidioAutolesiones",
                    "appIntentosSuicidioDescripcion",
                    "apnpViveConRelacion",
                    "apnpOtrasPersonas",
                    "apnpRelacionPareja",
                    "apnpVidaSocialApoyo",
                    "apnpAmbitoLaboral",
                    "apnpAmbitoEscolar",
                    "apnpDiaTipico",
                    "apnpActividadesDisfrute",
                    "apnpAlimentacion",
                    "apnpAlimentacionObs",
                    "apnpSueno",
                    "apnpEjercicio",
                    "motivoConsulta",
                    "inicioEvolucionSintomas",
                    "temasObjetivosPaciente",
                    "iasSintomasFisicos",
                    "iasDescripcion",
                    "iasUltimaValoracionMedica",
                    "examenMental",
                    "riesgoSuicida",
                    "riesgoHomicida",
                    "estudiosPrevios",
                    "instrumentosAplicados",
                    "diagnosticos",
                    "listaProblemas",
                    "pronostico",
                    "pronosticoJustificacion",
                    "itModalidad",
                    "itFrecuenciaDuracion",
                    "itFocoInicial",
                    "itDerivaciones",
                    "itReevaluacion",
                    "estado",
                    "elaboroNombre",
                    "elaboroTerapeutaId",
                    "firmaFechaHora",
                    "firmaImagen",
                    "adendas",
                    "pacienteId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "HistoriaClinica.Fields"
          },
          "include": {
            "title": "HistoriaClinica.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/HistoriaClinica.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<HistoriaClinica>"
      },
      "HistoriaClinica.Filter1": {
        "type": "object",
        "title": "HistoriaClinica.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "HistoriaClinica.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "numeroExpediente": {
                    "type": "boolean"
                  },
                  "tipoExpediente": {
                    "type": "boolean"
                  },
                  "fechaHoraInicio": {
                    "type": "boolean"
                  },
                  "tipoEstablecimiento": {
                    "type": "boolean"
                  },
                  "nombreEstablecimiento": {
                    "type": "boolean"
                  },
                  "domicilioEstablecimiento": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "primerApellido": {
                    "type": "boolean"
                  },
                  "segundoApellido": {
                    "type": "boolean"
                  },
                  "curp": {
                    "type": "boolean"
                  },
                  "fechaNacimiento": {
                    "type": "boolean"
                  },
                  "edad": {
                    "type": "boolean"
                  },
                  "sexo": {
                    "type": "boolean"
                  },
                  "identidadGenero": {
                    "type": "boolean"
                  },
                  "identidadGeneroOtra": {
                    "type": "boolean"
                  },
                  "lugarNacimiento": {
                    "type": "boolean"
                  },
                  "nacionalidad": {
                    "type": "boolean"
                  },
                  "domicilio": {
                    "type": "boolean"
                  },
                  "ocupacion": {
                    "type": "boolean"
                  },
                  "ahfSaludFisica": {
                    "type": "boolean"
                  },
                  "ahfSaludMental": {
                    "type": "boolean"
                  },
                  "appCondicionesMedicas": {
                    "type": "boolean"
                  },
                  "appMedicamentos": {
                    "type": "boolean"
                  },
                  "appDiagnosticosPsiquiatricos": {
                    "type": "boolean"
                  },
                  "appTratamientosPrevios": {
                    "type": "boolean"
                  },
                  "appConsumoSustancias": {
                    "type": "boolean"
                  },
                  "appIntentosSuicidioAutolesiones": {
                    "type": "boolean"
                  },
                  "appIntentosSuicidioDescripcion": {
                    "type": "boolean"
                  },
                  "apnpViveConRelacion": {
                    "type": "boolean"
                  },
                  "apnpOtrasPersonas": {
                    "type": "boolean"
                  },
                  "apnpRelacionPareja": {
                    "type": "boolean"
                  },
                  "apnpVidaSocialApoyo": {
                    "type": "boolean"
                  },
                  "apnpAmbitoLaboral": {
                    "type": "boolean"
                  },
                  "apnpAmbitoEscolar": {
                    "type": "boolean"
                  },
                  "apnpDiaTipico": {
                    "type": "boolean"
                  },
                  "apnpActividadesDisfrute": {
                    "type": "boolean"
                  },
                  "apnpAlimentacion": {
                    "type": "boolean"
                  },
                  "apnpAlimentacionObs": {
                    "type": "boolean"
                  },
                  "apnpSueno": {
                    "type": "boolean"
                  },
                  "apnpEjercicio": {
                    "type": "boolean"
                  },
                  "motivoConsulta": {
                    "type": "boolean"
                  },
                  "inicioEvolucionSintomas": {
                    "type": "boolean"
                  },
                  "temasObjetivosPaciente": {
                    "type": "boolean"
                  },
                  "iasSintomasFisicos": {
                    "type": "boolean"
                  },
                  "iasDescripcion": {
                    "type": "boolean"
                  },
                  "iasUltimaValoracionMedica": {
                    "type": "boolean"
                  },
                  "examenMental": {
                    "type": "boolean"
                  },
                  "riesgoSuicida": {
                    "type": "boolean"
                  },
                  "riesgoHomicida": {
                    "type": "boolean"
                  },
                  "estudiosPrevios": {
                    "type": "boolean"
                  },
                  "instrumentosAplicados": {
                    "type": "boolean"
                  },
                  "diagnosticos": {
                    "type": "boolean"
                  },
                  "listaProblemas": {
                    "type": "boolean"
                  },
                  "pronostico": {
                    "type": "boolean"
                  },
                  "pronosticoJustificacion": {
                    "type": "boolean"
                  },
                  "itModalidad": {
                    "type": "boolean"
                  },
                  "itFrecuenciaDuracion": {
                    "type": "boolean"
                  },
                  "itFocoInicial": {
                    "type": "boolean"
                  },
                  "itDerivaciones": {
                    "type": "boolean"
                  },
                  "itReevaluacion": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "elaboroNombre": {
                    "type": "boolean"
                  },
                  "elaboroTerapeutaId": {
                    "type": "boolean"
                  },
                  "firmaFechaHora": {
                    "type": "boolean"
                  },
                  "firmaImagen": {
                    "type": "boolean"
                  },
                  "adendas": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "numeroExpediente",
                    "tipoExpediente",
                    "fechaHoraInicio",
                    "tipoEstablecimiento",
                    "nombreEstablecimiento",
                    "domicilioEstablecimiento",
                    "nombre",
                    "primerApellido",
                    "segundoApellido",
                    "curp",
                    "fechaNacimiento",
                    "edad",
                    "sexo",
                    "identidadGenero",
                    "identidadGeneroOtra",
                    "lugarNacimiento",
                    "nacionalidad",
                    "domicilio",
                    "ocupacion",
                    "ahfSaludFisica",
                    "ahfSaludMental",
                    "appCondicionesMedicas",
                    "appMedicamentos",
                    "appDiagnosticosPsiquiatricos",
                    "appTratamientosPrevios",
                    "appConsumoSustancias",
                    "appIntentosSuicidioAutolesiones",
                    "appIntentosSuicidioDescripcion",
                    "apnpViveConRelacion",
                    "apnpOtrasPersonas",
                    "apnpRelacionPareja",
                    "apnpVidaSocialApoyo",
                    "apnpAmbitoLaboral",
                    "apnpAmbitoEscolar",
                    "apnpDiaTipico",
                    "apnpActividadesDisfrute",
                    "apnpAlimentacion",
                    "apnpAlimentacionObs",
                    "apnpSueno",
                    "apnpEjercicio",
                    "motivoConsulta",
                    "inicioEvolucionSintomas",
                    "temasObjetivosPaciente",
                    "iasSintomasFisicos",
                    "iasDescripcion",
                    "iasUltimaValoracionMedica",
                    "examenMental",
                    "riesgoSuicida",
                    "riesgoHomicida",
                    "estudiosPrevios",
                    "instrumentosAplicados",
                    "diagnosticos",
                    "listaProblemas",
                    "pronostico",
                    "pronosticoJustificacion",
                    "itModalidad",
                    "itFrecuenciaDuracion",
                    "itFocoInicial",
                    "itDerivaciones",
                    "itReevaluacion",
                    "estado",
                    "elaboroNombre",
                    "elaboroTerapeutaId",
                    "firmaFechaHora",
                    "firmaImagen",
                    "adendas",
                    "pacienteId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "HistoriaClinica.Fields"
          },
          "include": {
            "title": "HistoriaClinica.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/HistoriaClinica.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<HistoriaClinica>"
      },
      "ModuloPsicoeducativo.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "ModuloPsicoeducativo.ScopeFilter"
      },
      "ModuloPsicoeducativo.IncludeFilter.Items": {
        "title": "ModuloPsicoeducativo.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "ejercicioPracticos",
              "modeloPsicoeducativoPacientes"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ModuloPsicoeducativo.ScopeFilter"
          }
        }
      },
      "ModuloPsicoeducativo.Filter": {
        "type": "object",
        "title": "ModuloPsicoeducativo.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "Titulo": {
                    "type": "boolean"
                  },
                  "Descripcion": {
                    "type": "boolean"
                  },
                  "FechaCreacion": {
                    "type": "boolean"
                  },
                  "UrlVideo": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "Titulo",
                    "Descripcion",
                    "FechaCreacion",
                    "UrlVideo"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ModuloPsicoeducativo.Fields"
          },
          "include": {
            "title": "ModuloPsicoeducativo.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ModuloPsicoeducativo.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ModuloPsicoeducativo>"
      },
      "ModuloPsicoeducativo.Filter1": {
        "type": "object",
        "title": "ModuloPsicoeducativo.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "ModuloPsicoeducativo.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "Titulo": {
                    "type": "boolean"
                  },
                  "Descripcion": {
                    "type": "boolean"
                  },
                  "FechaCreacion": {
                    "type": "boolean"
                  },
                  "UrlVideo": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "Titulo",
                    "Descripcion",
                    "FechaCreacion",
                    "UrlVideo"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ModuloPsicoeducativo.Fields"
          },
          "include": {
            "title": "ModuloPsicoeducativo.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ModuloPsicoeducativo.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ModuloPsicoeducativo>"
      },
      "NotaEgreso.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "NotaEgreso.ScopeFilter"
      },
      "NotaEgreso.IncludeFilter.Items": {
        "title": "NotaEgreso.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "paciente"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/NotaEgreso.ScopeFilter"
          }
        }
      },
      "NotaEgreso.Filter": {
        "type": "object",
        "title": "NotaEgreso.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "fechaIngreso": {
                    "type": "boolean"
                  },
                  "fechaEgreso": {
                    "type": "boolean"
                  },
                  "numeroSesiones": {
                    "type": "boolean"
                  },
                  "motivoCierre": {
                    "type": "boolean"
                  },
                  "tipoEgreso": {
                    "type": "boolean"
                  },
                  "detallesMotivo": {
                    "type": "boolean"
                  },
                  "objetivosAlcanzados": {
                    "type": "boolean"
                  },
                  "progresoSintomas": {
                    "type": "boolean"
                  },
                  "competenciasDesarrolladas": {
                    "type": "boolean"
                  },
                  "evaluacionFinal": {
                    "type": "boolean"
                  },
                  "recomendaciones": {
                    "type": "boolean"
                  },
                  "seguimientoSugerido": {
                    "type": "boolean"
                  },
                  "derivaciones": {
                    "type": "boolean"
                  },
                  "observacionesFinales": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "fechaIngreso",
                    "fechaEgreso",
                    "numeroSesiones",
                    "motivoCierre",
                    "tipoEgreso",
                    "detallesMotivo",
                    "objetivosAlcanzados",
                    "progresoSintomas",
                    "competenciasDesarrolladas",
                    "evaluacionFinal",
                    "recomendaciones",
                    "seguimientoSugerido",
                    "derivaciones",
                    "observacionesFinales",
                    "pacienteId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "NotaEgreso.Fields"
          },
          "include": {
            "title": "NotaEgreso.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/NotaEgreso.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<NotaEgreso>"
      },
      "NotaEgreso.Filter1": {
        "type": "object",
        "title": "NotaEgreso.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "NotaEgreso.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "fechaIngreso": {
                    "type": "boolean"
                  },
                  "fechaEgreso": {
                    "type": "boolean"
                  },
                  "numeroSesiones": {
                    "type": "boolean"
                  },
                  "motivoCierre": {
                    "type": "boolean"
                  },
                  "tipoEgreso": {
                    "type": "boolean"
                  },
                  "detallesMotivo": {
                    "type": "boolean"
                  },
                  "objetivosAlcanzados": {
                    "type": "boolean"
                  },
                  "progresoSintomas": {
                    "type": "boolean"
                  },
                  "competenciasDesarrolladas": {
                    "type": "boolean"
                  },
                  "evaluacionFinal": {
                    "type": "boolean"
                  },
                  "recomendaciones": {
                    "type": "boolean"
                  },
                  "seguimientoSugerido": {
                    "type": "boolean"
                  },
                  "derivaciones": {
                    "type": "boolean"
                  },
                  "observacionesFinales": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "fechaIngreso",
                    "fechaEgreso",
                    "numeroSesiones",
                    "motivoCierre",
                    "tipoEgreso",
                    "detallesMotivo",
                    "objetivosAlcanzados",
                    "progresoSintomas",
                    "competenciasDesarrolladas",
                    "evaluacionFinal",
                    "recomendaciones",
                    "seguimientoSugerido",
                    "derivaciones",
                    "observacionesFinales",
                    "pacienteId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "NotaEgreso.Fields"
          },
          "include": {
            "title": "NotaEgreso.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/NotaEgreso.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<NotaEgreso>"
      },
      "NotaEvolucion.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "NotaEvolucion.ScopeFilter"
      },
      "NotaEvolucion.IncludeFilter.Items": {
        "title": "NotaEvolucion.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "paciente"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/NotaEvolucion.ScopeFilter"
          }
        }
      },
      "NotaEvolucion.Filter": {
        "type": "object",
        "title": "NotaEvolucion.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "dia": {
                    "type": "boolean"
                  },
                  "semana": {
                    "type": "boolean"
                  },
                  "sesion": {
                    "type": "boolean"
                  },
                  "horaInicial": {
                    "type": "boolean"
                  },
                  "Contenido": {
                    "type": "boolean"
                  },
                  "trabajoSesion": {
                    "type": "boolean"
                  },
                  "tarea": {
                    "type": "boolean"
                  },
                  "problemasAbordados": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "dia",
                    "semana",
                    "sesion",
                    "horaInicial",
                    "Contenido",
                    "trabajoSesion",
                    "tarea",
                    "problemasAbordados",
                    "pacienteId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "NotaEvolucion.Fields"
          },
          "include": {
            "title": "NotaEvolucion.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/NotaEvolucion.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<NotaEvolucion>"
      },
      "NotaEvolucion.Filter1": {
        "type": "object",
        "title": "NotaEvolucion.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "NotaEvolucion.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "dia": {
                    "type": "boolean"
                  },
                  "semana": {
                    "type": "boolean"
                  },
                  "sesion": {
                    "type": "boolean"
                  },
                  "horaInicial": {
                    "type": "boolean"
                  },
                  "Contenido": {
                    "type": "boolean"
                  },
                  "trabajoSesion": {
                    "type": "boolean"
                  },
                  "tarea": {
                    "type": "boolean"
                  },
                  "problemasAbordados": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "dia",
                    "semana",
                    "sesion",
                    "horaInicial",
                    "Contenido",
                    "trabajoSesion",
                    "tarea",
                    "problemasAbordados",
                    "pacienteId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "NotaEvolucion.Fields"
          },
          "include": {
            "title": "NotaEvolucion.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/NotaEvolucion.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<NotaEvolucion>"
      },
      "NotaClinica.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "NotaClinica.ScopeFilter"
      },
      "NotaClinica.IncludeFilter.Items": {
        "title": "NotaClinica.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "pacienteNota"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/NotaClinica.ScopeFilter"
          }
        }
      },
      "NotaClinica.Filter": {
        "type": "object",
        "title": "NotaClinica.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "FechaCreacion": {
                    "type": "boolean"
                  },
                  "Contenido": {
                    "type": "boolean"
                  },
                  "PlanTratamiento": {
                    "type": "boolean"
                  },
                  "Objetivos": {
                    "type": "boolean"
                  },
                  "Conceptualizacion": {
                    "type": "boolean"
                  },
                  "tipoNota": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "FechaCreacion",
                    "Contenido",
                    "PlanTratamiento",
                    "Objetivos",
                    "Conceptualizacion",
                    "tipoNota",
                    "pacienteId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "NotaClinica.Fields"
          },
          "include": {
            "title": "NotaClinica.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/NotaClinica.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<NotaClinica>"
      },
      "PacienteEjercicioPractico.Filter": {
        "type": "object",
        "title": "PacienteEjercicioPractico.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "PacienteEjercicioPractico.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  },
                  "ejercicioPracticoId": {
                    "type": "boolean"
                  },
                  "contestado": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "pacienteId",
                    "ejercicioPracticoId",
                    "contestado"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "PacienteEjercicioPractico.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<PacienteEjercicioPractico>"
      },
      "PacienteModuloPsicoeducativo.Filter": {
        "type": "object",
        "title": "PacienteModuloPsicoeducativo.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  },
                  "moduloPsicoeducativoId": {
                    "type": "boolean"
                  },
                  "contestado": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "pacienteId",
                    "moduloPsicoeducativoId",
                    "contestado"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "PacienteModuloPsicoeducativo.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<PacienteModuloPsicoeducativo>"
      },
      "PacienteTerapeuta.Filter": {
        "type": "object",
        "title": "PacienteTerapeuta.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "FechaInicio": {
                    "type": "boolean"
                  },
                  "FechaFin": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  },
                  "terapeutaId": {
                    "type": "boolean"
                  },
                  "anclado": {
                    "type": "boolean"
                  },
                  "activo": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "FechaInicio",
                    "FechaFin",
                    "pacienteId",
                    "terapeutaId",
                    "anclado",
                    "activo"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "PacienteTerapeuta.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<PacienteTerapeuta>"
      },
      "PacienteTerapeuta.Filter1": {
        "type": "object",
        "title": "PacienteTerapeuta.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "PacienteTerapeuta.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "FechaInicio": {
                    "type": "boolean"
                  },
                  "FechaFin": {
                    "type": "boolean"
                  },
                  "pacienteId": {
                    "type": "boolean"
                  },
                  "terapeutaId": {
                    "type": "boolean"
                  },
                  "anclado": {
                    "type": "boolean"
                  },
                  "activo": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "FechaInicio",
                    "FechaFin",
                    "pacienteId",
                    "terapeutaId",
                    "anclado",
                    "activo"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "PacienteTerapeuta.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<PacienteTerapeuta>"
      },
      "Paciente.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Paciente.ScopeFilter"
      },
      "Paciente.IncludeFilter.Items": {
        "title": "Paciente.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "evaluacionesDelProgreso",
              "mensajes",
              "consultas",
              "notasClinicas",
              "historiaClinica",
              "notasEvolucion",
              "terapeutas",
              "notaEvolucions",
              "notaEvoluciones",
              "notaEgreso",
              "conceptualizacionCaso",
              "ejercicioPracticos",
              "pacienteModelosPsicoeducativos"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Paciente.ScopeFilter"
          }
        }
      },
      "Paciente.Filter": {
        "type": "object",
        "title": "Paciente.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "avatar": {
                    "type": "boolean"
                  },
                  "fotoPerfil": {
                    "type": "boolean"
                  },
                  "Nombre": {
                    "type": "boolean"
                  },
                  "ApellidoPaterno": {
                    "type": "boolean"
                  },
                  "ApellidoMaterno": {
                    "type": "boolean"
                  },
                  "Direccion": {
                    "type": "boolean"
                  },
                  "Telefono": {
                    "type": "boolean"
                  },
                  "Email": {
                    "type": "boolean"
                  },
                  "FechaNacimiento": {
                    "type": "boolean"
                  },
                  "FechaRegistro": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "sex": {
                    "type": "boolean"
                  },
                  "CURP": {
                    "type": "boolean"
                  },
                  "lugarNacimiento": {
                    "type": "boolean"
                  },
                  "nacionalidad": {
                    "type": "boolean"
                  },
                  "estadoTerapeutico": {
                    "type": "boolean"
                  },
                  "FechaEstadoTerapeutico": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "estado",
                    "avatar",
                    "fotoPerfil",
                    "Nombre",
                    "ApellidoPaterno",
                    "ApellidoMaterno",
                    "Direccion",
                    "Telefono",
                    "Email",
                    "FechaNacimiento",
                    "FechaRegistro",
                    "descripcion",
                    "sex",
                    "CURP",
                    "lugarNacimiento",
                    "nacionalidad",
                    "estadoTerapeutico",
                    "FechaEstadoTerapeutico"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Paciente.Fields"
          },
          "include": {
            "title": "Paciente.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Paciente.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Paciente>"
      },
      "Paciente.Filter1": {
        "type": "object",
        "title": "Paciente.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Paciente.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "avatar": {
                    "type": "boolean"
                  },
                  "fotoPerfil": {
                    "type": "boolean"
                  },
                  "Nombre": {
                    "type": "boolean"
                  },
                  "ApellidoPaterno": {
                    "type": "boolean"
                  },
                  "ApellidoMaterno": {
                    "type": "boolean"
                  },
                  "Direccion": {
                    "type": "boolean"
                  },
                  "Telefono": {
                    "type": "boolean"
                  },
                  "Email": {
                    "type": "boolean"
                  },
                  "FechaNacimiento": {
                    "type": "boolean"
                  },
                  "FechaRegistro": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "sex": {
                    "type": "boolean"
                  },
                  "CURP": {
                    "type": "boolean"
                  },
                  "lugarNacimiento": {
                    "type": "boolean"
                  },
                  "nacionalidad": {
                    "type": "boolean"
                  },
                  "estadoTerapeutico": {
                    "type": "boolean"
                  },
                  "FechaEstadoTerapeutico": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "estado",
                    "avatar",
                    "fotoPerfil",
                    "Nombre",
                    "ApellidoPaterno",
                    "ApellidoMaterno",
                    "Direccion",
                    "Telefono",
                    "Email",
                    "FechaNacimiento",
                    "FechaRegistro",
                    "descripcion",
                    "sex",
                    "CURP",
                    "lugarNacimiento",
                    "nacionalidad",
                    "estadoTerapeutico",
                    "FechaEstadoTerapeutico"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Paciente.Fields"
          },
          "include": {
            "title": "Paciente.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Paciente.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Paciente>"
      },
      "PingResponse": {
        "type": "object",
        "title": "PingResponse",
        "properties": {
          "greeting": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "headers": {
            "type": "object",
            "properties": {
              "Content-Type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "RespuestaRelevante.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "RespuestaRelevante.ScopeFilter"
      },
      "RespuestaRelevante.IncludeFilter.Items": {
        "title": "RespuestaRelevante.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "resultadoTest"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/RespuestaRelevante.ScopeFilter"
          }
        }
      },
      "RespuestaRelevante.Filter": {
        "type": "object",
        "title": "RespuestaRelevante.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "pregunta": {
                    "type": "boolean"
                  },
                  "respuesta": {
                    "type": "boolean"
                  },
                  "respuestaValor": {
                    "type": "boolean"
                  },
                  "preguntaNumero": {
                    "type": "boolean"
                  },
                  "resultadoTestId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "pregunta",
                    "respuesta",
                    "respuestaValor",
                    "preguntaNumero",
                    "resultadoTestId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "RespuestaRelevante.Fields"
          },
          "include": {
            "title": "RespuestaRelevante.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RespuestaRelevante.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<RespuestaRelevante>"
      },
      "RespuestaRelevante.Filter1": {
        "type": "object",
        "title": "RespuestaRelevante.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "RespuestaRelevante.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "pregunta": {
                    "type": "boolean"
                  },
                  "respuesta": {
                    "type": "boolean"
                  },
                  "respuestaValor": {
                    "type": "boolean"
                  },
                  "preguntaNumero": {
                    "type": "boolean"
                  },
                  "resultadoTestId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "pregunta",
                    "respuesta",
                    "respuestaValor",
                    "preguntaNumero",
                    "resultadoTestId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "RespuestaRelevante.Fields"
          },
          "include": {
            "title": "RespuestaRelevante.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RespuestaRelevante.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<RespuestaRelevante>"
      },
      "Terapeuta.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Terapeuta.ScopeFilter"
      },
      "Terapeuta.IncludeFilter.Items": {
        "title": "Terapeuta.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "consultas",
              "mensajes",
              "evaluacionProgresos",
              "pacientes"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Terapeuta.ScopeFilter"
          }
        }
      },
      "Terapeuta.Filter": {
        "type": "object",
        "title": "Terapeuta.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "Nombre": {
                    "type": "boolean"
                  },
                  "ApellidoPaterno": {
                    "type": "boolean"
                  },
                  "ApellidoMaterno": {
                    "type": "boolean"
                  },
                  "CedulaLicenciatura": {
                    "type": "boolean"
                  },
                  "CedulaEspecialidad": {
                    "type": "boolean"
                  },
                  "Especialidad": {
                    "type": "boolean"
                  },
                  "Telefono": {
                    "type": "boolean"
                  },
                  "Email": {
                    "type": "boolean"
                  },
                  "FechaRegistro": {
                    "type": "boolean"
                  },
                  "avatar": {
                    "type": "boolean"
                  },
                  "fotoPerfil": {
                    "type": "boolean"
                  },
                  "Licenciatura": {
                    "type": "boolean"
                  },
                  "Sede": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "Nombre",
                    "ApellidoPaterno",
                    "ApellidoMaterno",
                    "CedulaLicenciatura",
                    "CedulaEspecialidad",
                    "Especialidad",
                    "Telefono",
                    "Email",
                    "FechaRegistro",
                    "avatar",
                    "fotoPerfil",
                    "Licenciatura",
                    "Sede"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Terapeuta.Fields"
          },
          "include": {
            "title": "Terapeuta.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Terapeuta.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Terapeuta>"
      },
      "Terapeuta.Filter1": {
        "type": "object",
        "title": "Terapeuta.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Terapeuta.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "Nombre": {
                    "type": "boolean"
                  },
                  "ApellidoPaterno": {
                    "type": "boolean"
                  },
                  "ApellidoMaterno": {
                    "type": "boolean"
                  },
                  "CedulaLicenciatura": {
                    "type": "boolean"
                  },
                  "CedulaEspecialidad": {
                    "type": "boolean"
                  },
                  "Especialidad": {
                    "type": "boolean"
                  },
                  "Telefono": {
                    "type": "boolean"
                  },
                  "Email": {
                    "type": "boolean"
                  },
                  "FechaRegistro": {
                    "type": "boolean"
                  },
                  "avatar": {
                    "type": "boolean"
                  },
                  "fotoPerfil": {
                    "type": "boolean"
                  },
                  "Licenciatura": {
                    "type": "boolean"
                  },
                  "Sede": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "Nombre",
                    "ApellidoPaterno",
                    "ApellidoMaterno",
                    "CedulaLicenciatura",
                    "CedulaEspecialidad",
                    "Especialidad",
                    "Telefono",
                    "Email",
                    "FechaRegistro",
                    "avatar",
                    "fotoPerfil",
                    "Licenciatura",
                    "Sede"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Terapeuta.Fields"
          },
          "include": {
            "title": "Terapeuta.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Terapeuta.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Terapeuta>"
      },
      "TestPsicometrico.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "TestPsicometrico.ScopeFilter"
      },
      "TestPsicometrico.IncludeFilter.Items": {
        "title": "TestPsicometrico.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "preguntas",
              "resultadoTests",
              "consultas"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/TestPsicometrico.ScopeFilter"
          }
        }
      },
      "TestPsicometrico.Filter": {
        "type": "object",
        "title": "TestPsicometrico.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "Nombre": {
                    "type": "boolean"
                  },
                  "Descripcion": {
                    "type": "boolean"
                  },
                  "Link": {
                    "type": "boolean"
                  },
                  "Test": {
                    "type": "boolean"
                  },
                  "Configuracion": {
                    "type": "boolean"
                  },
                  "Evaluacion": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "Nombre",
                    "Descripcion",
                    "Link",
                    "Test",
                    "Configuracion",
                    "Evaluacion"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TestPsicometrico.Fields"
          },
          "include": {
            "title": "TestPsicometrico.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TestPsicometrico.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TestPsicometrico>"
      },
      "TestPsicometrico.Filter1": {
        "type": "object",
        "title": "TestPsicometrico.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "TestPsicometrico.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "Nombre": {
                    "type": "boolean"
                  },
                  "Descripcion": {
                    "type": "boolean"
                  },
                  "Link": {
                    "type": "boolean"
                  },
                  "Test": {
                    "type": "boolean"
                  },
                  "Configuracion": {
                    "type": "boolean"
                  },
                  "Evaluacion": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "Nombre",
                    "Descripcion",
                    "Link",
                    "Test",
                    "Configuracion",
                    "Evaluacion"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TestPsicometrico.Fields"
          },
          "include": {
            "title": "TestPsicometrico.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TestPsicometrico.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TestPsicometrico>"
      },
      "Usuario.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Usuario.ScopeFilter"
      },
      "Usuario.IncludeFilter.Items": {
        "title": "Usuario.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "rol"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Usuario.ScopeFilter"
          }
        }
      },
      "Usuario.Filter": {
        "type": "object",
        "title": "Usuario.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "Email": {
                    "type": "boolean"
                  },
                  "Nombre": {
                    "type": "boolean"
                  },
                  "Password": {
                    "type": "boolean"
                  },
                  "idPersona": {
                    "type": "boolean"
                  },
                  "emailVerificado": {
                    "type": "boolean"
                  },
                  "academia": {
                    "type": "boolean"
                  },
                  "activo": {
                    "type": "boolean"
                  },
                  "fotoPerfil": {
                    "type": "boolean"
                  },
                  "rolId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "Email",
                    "Nombre",
                    "Password",
                    "idPersona",
                    "emailVerificado",
                    "academia",
                    "activo",
                    "fotoPerfil",
                    "rolId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Usuario.Fields"
          },
          "include": {
            "title": "Usuario.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Usuario.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Usuario>"
      },
      "Usuario.Filter1": {
        "type": "object",
        "title": "Usuario.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Usuario.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "Email": {
                    "type": "boolean"
                  },
                  "Nombre": {
                    "type": "boolean"
                  },
                  "Password": {
                    "type": "boolean"
                  },
                  "idPersona": {
                    "type": "boolean"
                  },
                  "emailVerificado": {
                    "type": "boolean"
                  },
                  "academia": {
                    "type": "boolean"
                  },
                  "activo": {
                    "type": "boolean"
                  },
                  "fotoPerfil": {
                    "type": "boolean"
                  },
                  "rolId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "Email",
                    "Nombre",
                    "Password",
                    "idPersona",
                    "emailVerificado",
                    "academia",
                    "activo",
                    "fotoPerfil",
                    "rolId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Usuario.Fields"
          },
          "include": {
            "title": "Usuario.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Usuario.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Usuario>"
      }
    }
  }
}