Skip to content

Commit

Permalink
Change system for patient identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
projkov committed Dec 8, 2023
1 parent 605cbd3 commit d01dcab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const UserModel = types
return self.patient?.name?.[0] ? formatHumanName(self.patient.name[0]) : undefined;
},
get appleUserId() {
return self.patient?.identifier?.find((i) => i.system === 'https://appleid.apple.com')?.value;
return self.patient?.identifier?.find((i) => i.system === 'https://ingest.emr.beda.software')?.value;
},
}))
.actions((self) => ({
Expand Down

0 comments on commit d01dcab

Please sign in to comment.