Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions medicalrecord_data_gen.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ chance.mixin({
});

chance.mixin({
'p_problems': function() {
'p_diagnosis': function() {
return chance.pickset([
'C00.3 Malignant neoplasm of upper lip, inner aspect',
'C00.8 Malignant neoplasm of overlapping sites of lip',
Expand Down Expand Up @@ -63,7 +63,7 @@ function medical_record()
this.birth_date = chance.birthday({string: true, type: 'adult'});
this.home_phone = chance.phone();
this.address = chance.p_address();
this.problems = chance.p_problems();
this.diagnosis = chance.p_diagnosis();
this.gender = chance.gender();
this.marital_status = chance.pickone(['Single','Married','Divorced','Widowed']);
this.contact_by = chance.pickone(['email','phone','postal mail']);
Expand Down