Multipatients view
Multipatients view

API URL
/api/patients
GET data
{ address:"6948 Et St., Halesowen, Worcestershire, VX27 5DV" dateOfBirth:-806976000000 department:"Neighbourhood" gender:"Male" gpAddress:"Hamilton Practice, 5544 Ante Street, Hamilton, Lanarkshire, N06 5LP" gpName:"Goff Carolyn D." id:"9999999000" name:"Ivor Cox" nhsNumber:"9999999000" pasNo:"352541" phone:"(011981) 32362" }
Component structure
//component template let templatePatientsListFull = require('./patients-list-full.html'); //controller init class PatientsListFullController { constructor($scope, $window, $rootScope, $state, $stateParams, $ngRedux) { } const PatientsSummaryComponent = { template: templatePatientsListFull, controller: PatientsListFullController }; //inject services/modules to controller PatientsListFullController.$inject = ['$scope', '$window', '$rootScope', '$state', '$stateParams', '$ngRedux']; //es6 export for component export default PatientsSummaryComponent;
