Skip to content

Commit

Permalink
feat(RUP):agregar unidad organizativa a la prestación
Browse files Browse the repository at this point in the history
  • Loading branch information
waltergarrido authored and liquid36 committed May 31, 2021
1 parent f0029ae commit 601fd40
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export class NuevoRegistroSaludComponent implements OnInit {
cama.paciente, concepto, 'ejecucion', this.mapaCamasService.ambito, fecha
);
nuevaPrestacion.trackId = cama.idInternacion;
nuevaPrestacion.unidadOrganizativa = cama.unidadOrganizativa;
return this.prestacionService.post(nuevaPrestacion);
}

Expand Down
3 changes: 3 additions & 0 deletions src/app/modules/rup/components/huds/vistaPrestacion.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<plex-label icon="hospital" size="md" case="capitalize" titulo="Organización origen"
subtitulo="{{ prestacion.solicitud.organizacion.nombre }}">
</plex-label>
<plex-label *ngIf="prestacion.unidadOrganizativa" icon="centro-salud" span="2" size="md" case="capitalize"
titulo="Unidad organizativa" subtitulo="{{ prestacion.unidadOrganizativa.term }}">
</plex-label>
<plex-label icon="estetoscopio" size="md" case="capitalize" titulo="Ámbito"
subtitulo="{{ prestacion.solicitud.ambitoOrigen }}"></plex-label>
</plex-grid>
Expand Down
1 change: 1 addition & 0 deletions src/app/modules/rup/interfaces/prestacion.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { IObraSocial } from '../../../interfaces/IObraSocial';
export class IPrestacion {
id: string;
trackId: string;
unidadOrganizativa: ISnomedConcept;
elementoRUP: string;
// Datos principales del paciente
paciente: {
Expand Down

0 comments on commit 601fd40

Please sign in to comment.