##clincal:accounts-housemd
Meteor package to populate your Meteor.users() collection with personalities from the television series House, MD.
===============================
Installation
First, install the accounts-famous-dead-people package from the command line, like so:
# to add House MD users to your application meteor add clinical:accounts-housemd # to initialize House MD users INITIALIZE=true meteor # to initialize fHouse MD doctors using the HL7 FHIR Practitioner resource INITIALIZE=true Practitioners=true meteor
===============================
Meteor Methods
1// initializeUsers() 2Meteor.call('initializeHouseUsers', { 3 asPractitioner: true, 4 asUsers: true 5}); 6 7// removeHouseUsers() 8Meteor.call('removeHouseUsers', { 9 practitioners: true, 10 users: true 11});
===============================
Default User Record Schema
The user objects are have a fairly simple document schema that looks like the following:
1{ 2 username: 'camron', 3 password: 'camron', 4 email: 'camron@test.org', 5 profile: { 6 name: 'Allison Camron', 7 role: 'Physician', 8 avatar: '/packages/clinical_accounts-housemd/housemd/allison.camron.jpg' 9 } 10}
===============================
Default Usernames and Passwords
Usernames and passwords for all the users should be the same. For the most part, the username and password will both be the person's first name, but a number of users are set as the last name. All emails will be at the test.org
domain.
===============================
Users List
Allison Camron
Eric Foreman
Gregory House
James Wilson
Lawrence Kutner
Lisa Cuddy
Robert Chase
Thirteen
===============================
Example Usage
1{{#each userList}} 2 {{profile.name}}<br> 3{{/each}}
1if (Meteor.isClient) { 2 Meteor.subscribe("users"); 3 4 Template.registerHelper('userList', function(){ 5 return Meteor.users.find(); 6 }); 7} 8 9if (Meteor.isServer) { 10 Meteor.publish("users", function(){ 11 return Meteor.users.find(); 12 }); 13}
===============================
Licensing
Images may be restricted by Fox Media. Best to only use this package for testing purposes.