<commit_before>"use strict";

angular.module('app.services', [])

.factory('formData', [function(){

  var staffmems = [{
      name: "<NAME>",
      role: "Doctor 1",
      contact: "12345",
      team: "ward 10",
      picture: "img/dP6h8dpQSY6tDxqMA7OF_Consultant.png"
      },
      {
      name: "<NAME>",
      role: "Doctor 2",
      contact: "23456",
      team: "ward 10",
      picture: "img/ep8SJoL3RZ6EqXtn74g7_Junior1.png"
      }
    ];

  var teams = [{
      name: "<NAME>",
      location: "UCL London",
      },
      {
      name: "<NAME>",
      location: "Birmingham New Hospital",
      }
    ];

  var patients = [{
      name: "<NAME>",
      location: "UCL London",
      },
      {
      name: "<NAME>",
      location: "Birmingham New Hospital",
      }
    ];

  return {
    addTeam: function(team) {
      teams.push(team);
      return teams;
    },
    getTeams: function() {
      return teams;
    },
    addStaff: function(staff) {
      staffmems.push(staff);
      return staffmems;
    },
    getStaff: function() {
      return staffmems;
    },
    getPatients: function() {
      return patients;
    }
  };
<commit_msg>Added example test patient database<commit_after>"use strict";

angular.module('app.services', [])

.factory('formData', [function(){

  var staffmems = [{
      name: "<NAME>",
      role: "Doctor 1",
      contact: "12345",
      team: "ward 10",
      picture: "img/dP6h8dpQSY6tDxqMA7OF_Consultant.png"
      },
      {
      name: "<NAME>",
      role: "Doctor 2",
      contact: "23456",
      team: "ward 10",
      picture: "img/ep8SJoL3RZ6EqXtn74g7_Junior1.png"
      }
    ];

  var teams = [{
      name: "<NAME>",
      location: "UCL London",
      },
      {
      name: "<NAME>",
      location: "Birmingham New Hospital",
      }
    ];

  var patients = [{
      id: 0,
      patientName: "<NAME>",
      patientDOB: 19911119,
      HospitalNumber: "H129994G"
      },
      {
      id: 1,
      patientName: "<NAME>",
      patientDOB: 19999919,
      HospitalNumber: "H122224G"
      }
    ];

  return {
    addTeam: function(team) {
      teams.push(team);
      return teams;
    },
    getTeams: function() {
      return teams;
    },
    addStaff: function(staff) {
      staffmems.push(staff);
      return staffmems;
    },
    getStaff: function() {
      return staffmems;
    },
    getPatients: function() {
      return patients;
    }
  };

{'fraction_non_alphanumeric': 0.15207562679819153, 'fraction_numerical': 0.0345252774352651, 'mean_word_length': 1.9755501222493888, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3580519', 'n_tokens_mistral': 894, 'n_tokens_neox': 829, 'n_words': 169}