-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure list view uses FH results #94
Conversation
That way we don't have to run unnecessary requests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
beforeAll(() => { | ||
/* | ||
* For some reason on first load of FHIR server, creating a batch of requests doesn't seem to validate | ||
* Sending a resource before any test are run fixed the issue | ||
*/ | ||
const practitioner = new Practitioner(); | ||
practitioner.resourceType = "Practitioner"; | ||
practitioner.identifier = [createIdentifier("initial")]; | ||
return createPractitioner(practitioner); | ||
}); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, is this a frontend issue I wonder? Does it work if you interact with the backend directly? Hopefully this doesn't cause any user interaction issues on the deployed application.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah it's only the first time a FHIR server is spun up that it happens which is interesting.
We're now implementing the results list for FH patients and using the new structure of the FHIR bundle 🎉
closes #63