Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update medicalrecord_data_gen.js #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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