Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #923 from Ferlab-Ste-Justine/fix/795-patient-builder
Browse files Browse the repository at this point in the history
fix: CLIN-795 - typo patient builder
  • Loading branch information
creativeyann17 authored Apr 22, 2022
2 parents a467853 + ad00369 commit c694650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/helpers/fhir/builder/PatientBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export class PatientBuilder {
return this
.withId(patient.id)
.withFamily(get(patient, 'name[0].family'))
.withGiven(get(patient, '.name[0].given[0]'))
.withGiven(get(patient, 'name[0].given[0]'))
.withActive(patient.active)
.withBirthDate(moment(patient.birthDate).toDate())
.withGender(patient.gender)
Expand Down

0 comments on commit c694650

Please sign in to comment.