@andes/fhir 1.13.0-beta.2 → 1.13.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,7 +76,7 @@ function encode(practitioner) {
76
76
  identifier: datosGrado.profesion.nombre
77
77
  ? [{
78
78
  system: 'https://www.saludneuquen.gob.ar/matriculacionGrado',
79
- value: datosGrado.profesion.nombre
79
+ value: String(datosGrado.profesion.nombre ?? '')
80
80
  }]
81
81
  : []
82
82
  };
@@ -85,7 +85,7 @@ function encode(practitioner) {
85
85
  coding: [{
86
86
  system: 'http://www.saludneuquen.gob.ar/fiscalizacion.html',
87
87
  code: String(datosGrado.profesion.codigo ?? ''),
88
- display: datosGrado.profesion.tipoDeFormacion
88
+ display: String(datosGrado.profesion.tipoDeFormacion ?? '')
89
89
  }],
90
90
  text: String(ultima.matriculaNumero ?? '')
91
91
  };
@@ -115,7 +115,7 @@ function encode(practitioner) {
115
115
  identifier: datosPosgrado.especialidad.nombre
116
116
  ? [{
117
117
  system: 'https://www.saludneuquen.gob.ar/matriculacionEspecialidad/',
118
- value: datosPosgrado.especialidad.nombre
118
+ value: String(datosPosgrado.especialidad.nombre ?? '')
119
119
  }]
120
120
  : []
121
121
  };
@@ -124,7 +124,7 @@ function encode(practitioner) {
124
124
  coding: [{
125
125
  system: 'http://www.saludneuquen.gob.ar/fiscalizacion.html',
126
126
  code: String(datosPosgrado.especialidad.codigo ?? ''),
127
- display: datosPosgrado.especialidad.tipo
127
+ display: String(datosPosgrado.especialidad.tipo ?? '')
128
128
  }],
129
129
  text: String(ultima.matriculaNumero ?? '')
130
130
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@andes/fhir",
3
- "version": "1.13.0-beta.2",
3
+ "version": "1.13.0-beta.3",
4
4
  "engines": {
5
5
  "node": ">=18.0.0"
6
6
  },