Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
feat(patients): pass is approximate date of birth flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcmeyer committed Dec 21, 2019
1 parent 97cf263 commit 281674c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/__tests__/patients/new/NewPatientForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ describe('New Patient Form', () => {
suffix: expectedSuffix,
sex: expectedSex,
type: expectedType,
isApproximateDateOfBirth: false,
dateOfBirth: '',
occupation: expectedOccupation,
preferredLanguage: expectedPreferredLanguage,
Expand Down
1 change: 1 addition & 0 deletions src/patients/new/NewPatientForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const NewPatientForm = (props: Props) => {
suffix: patient.suffix,
sex: patient.sex,
dateOfBirth: patient.dateOfBirth,
isApproximateDateOfBirth: patient.isApproximateDateOfBirth,
type: patient.type,
occupation: patient.occupation,
preferredLanguage: patient.preferredLanguage,
Expand Down

0 comments on commit 281674c

Please sign in to comment.