Skip to content

[EHR] add pdf-parsing feature for tests for SSN feature#5946

Open
ValeriyDyachenko wants to merge 5 commits intorelease/1.26from
vdyachenko/otr-1649-ehr-ssn-is-not-displayed-in-visit-details-patient-record
Open

[EHR] add pdf-parsing feature for tests for SSN feature#5946
ValeriyDyachenko wants to merge 5 commits intorelease/1.26from
vdyachenko/otr-1649-ehr-ssn-is-not-displayed-in-visit-details-patient-record

Conversation

@ValeriyDyachenko
Copy link
Contributor

@ValeriyDyachenko ValeriyDyachenko commented Jan 23, 2026

test.describe.configure({ mode: 'serial' });

test('should display visit details page correctly', async () => {});
test('should display SSN from pre-paperwork', async () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

let's make sure this test doesn't run if paperwork in downstream repo doesn't have ssn field

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added the ability to determine the repository where the test is running and to perform the check only if it's upstream https://github.com/masslight/ottehr/pull/5946/files#diff-dba89a5f00386a7c76cb45dcd9dbc8ec6c9027b20c0b371435fc867349bbf840R64-R74. I think this is a better option than optional checks within tests, because optional checks waste a lot of time on tests. Later, we can add separate checks for downstreams if needed. What do you think about this?

Copy link
Collaborator

Choose a reason for hiding this comment

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

some downstream repos have ssn field, so this won't work for some repos, this should be checked based on config

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

@ValeriyDyachenko ValeriyDyachenko force-pushed the vdyachenko/otr-1649-ehr-ssn-is-not-displayed-in-visit-details-patient-record branch from d5c96af to c36071a Compare January 26, 2026 12:18
@ValeriyDyachenko ValeriyDyachenko force-pushed the vdyachenko/otr-1649-ehr-ssn-is-not-displayed-in-visit-details-patient-record branch from 69c64e7 to fd2da06 Compare January 28, 2026 15:00
@ValeriyDyachenko ValeriyDyachenko changed the title [EHR] add pdf-parsing feature for tests; implement SSN feature [EHR] add pdf-parsing feature for tests for SSN feature Jan 28, 2026
…r-1649-ehr-ssn-is-not-displayed-in-visit-details-patient-record
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

Comments