Skip to content

WIP - EHR - Insurance Page#1022

Open
olhakovalenko91 wants to merge 8 commits intodevelopfrom
ok/insurance
Open

WIP - EHR - Insurance Page#1022
olhakovalenko91 wants to merge 8 commits intodevelopfrom
ok/insurance

Conversation

@olhakovalenko91
Copy link
Copy Markdown
Contributor

@olhakovalenko91 olhakovalenko91 commented Feb 5, 2025

export const PATIENT_LINE = '10 Cooper Square';
export const PATIENT_STATE = 'NY';
export const PATIENT_POSTALCODE = '06001';
export const INSURANCE_NAME = 'Test insurance' + randomUUID();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Random strings cause problems often (because they are different in different threads). We could use today's date in format YYYY-MM-DD probably. Does that work for you?


if (!this.insurancePlan) {
try {
this.insurancePlan = await this.apiClient.fhir.create({
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like that's outdated code. We are currently using createSamplePrebookAppointments and createSampleTelemedAppointments from utils package. I think we should add insurance handling in those zambdas too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants