-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/gpcapim 251 #46
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
Conversation
a73f501 to
89fa638
Compare
Vox-Ben
left a comment
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, comments mostly on non-critical stuff. :-)
2da189a to
2026888
Compare
|
ALB Target: |
davidhamill1-nhs
left a comment
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.
Happy with functionality. Some minor comments about style
Same comment as I left with @Vox-Ben , which needs a discussion amongst the team: to what extent do we document in code?
|
|
||
| headers = self._build_headers(trace_id) | ||
|
|
||
| endpoint_path = "/".join([ars_fhir_base, fhir_resource, ars_fhir_operation]) |
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.
Nit: I would say it is easier to parse ...
| endpoint_path = "/".join([ars_fhir_base, fhir_resource, ars_fhir_operation]) | |
| endpoint_path = f"{ars_fhir_base}/{fhir_resource}/{ars_fhir_operation}" |
| """ | ||
| provider_asid = "200000001154" | ||
| consumer_asid = "200000001152" | ||
| provider_endpoint = "https://invalid.com" |
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.
Nit: Given the assigned string, I would assume this to be an invalid url.
| provider_endpoint = "https://invalid.com" | |
| provider_endpoint = "https://test.com" |
|
ALB Target: |
3 similar comments
|
ALB Target: |
|
ALB Target: |
|
ALB Target: |
|
(I'm fine with 👍 this once the coverage and the sonar issue are sorted) |
|
ALB Target: |
Vox-Ben
left a comment
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.
LGTM. One or two outstanding things to be discussed next week, but can be picked up as tech debt if we decide to do things differently.
42041dd to
a673938
Compare
|
ALB Target: |
|
Completed walkthrough with @BJSS-russell-pollock ahead of merging |
|




Description
This pull request introduces the GpProviderClient class, which provides a simple client for interacting with the GPProvider FHIR GP System. The client includes methods to fetch structured patient records from a GPProvider FHIR API endpoint. Additionally, unit tests and a stub for the GPProvider FHIR API have been implemented to ensure the correctness of the client.
Context
This change is required to enable integration with the GPProvider FHIR GP System, allowing the retrieval of structured patient records. It addresses the need for a robust and reusable client to interact with the GPProvider API, ensuring compliance with the GPConnect specifications.
Type of changes
Checklist
Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.