Skip to content

Commit

Permalink
feat(rup): configurar diagnostico principal dinamico (#992)
Browse files Browse the repository at this point in the history
* feat(RUP): agrega a schema elementoRUP atributo bool requiereDiagnosticoPrincipal

* feat(RUP): remueve tratibuto motivoConsultaOpcional de prestacion
  • Loading branch information
plammel authored Jul 20, 2020
1 parent 6dd76a4 commit 262129b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/rup/schemas/elementoRUP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@ export let schema = new mongoose.Schema({
default: false
},

// true si no muestra el label de motivo de consulta.
motivoConsultaOpcional: Boolean,
// Indica si este elementoRUP requiere indicar diagnostico principal
requiereDiagnosticoPrincipal: {
type: Boolean,
required: false,
default: true
},

// Parámetros generales a la hora de iniciar la prestación
/**
Expand Down

0 comments on commit 262129b

Please sign in to comment.