Skip to content

Commit

Permalink
fix code location
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Chen authored and Amy Chen committed Jan 31, 2024
1 parent caee46f commit 0ad2750
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/model/Patient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,15 @@ export default class Patient implements IPatient {
)[0];

if (!smsContactPoint) {
const smsPeriod: IPeriod = {
start: new Date().toISOString(),
};
smsContactPoint = {
system: ContactPointSystemKind._sms,
period: smsPeriod,
system: ContactPointSystemKind._sms
};
this.telecom.push(smsContactPoint);
}

const smsPeriod: IPeriod = {
start: new Date().toISOString(),
};
smsContactPoint.period = smsPeriod;
smsContactPoint.value = phone;
}

Expand Down

0 comments on commit 0ad2750

Please sign in to comment.