Skip to content

Commit

Permalink
fix: update fhir patient id (#249)
Browse files Browse the repository at this point in the history
Signed-off-by: maxwellgithinji <maxwellgithinji@gmail.com>
  • Loading branch information
maxwellgithinji committed Jun 5, 2023
1 parent 544c238 commit b789b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/clinical/usecases/clinical/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (c *UseCasesClinicalImpl) CreatePubsubPatient(ctx context.Context, payload
return err
}

err = c.infrastructure.MyCareHub.AddFHIRIDToPatientProfile(ctx, *patient.PatientRecord.ID, payload.ClientID)
err = c.infrastructure.MyCareHub.AddFHIRIDToPatientProfile(context.Background(), *patient.PatientRecord.ID, payload.ClientID)
if err != nil {
return err
}
Expand Down

0 comments on commit b789b17

Please sign in to comment.