Skip to content

Commit

Permalink
Change Casing of Risk Profile Parameters (#191)
Browse files Browse the repository at this point in the history
## Description of Changes

This PR adjust the query string parameters passed to the
/insight/riskprofile endpoint to align with the casing in the
Orchestrate docs:

https://orchestrate.docs.careevolution.com/insight/risk_profile.html

Of note, I only updated the python code; I believe the Typescript
portion is already correct.

## Issue Link

This PR addresses the following issues:

#190 

## Security

**REMINDER: All file contents are public.**

- [x] I have ensured no secure credentials or sensitive information
remain in code, metadata, comments, etc. Of particular note: No
temporary testing changes committed such as API base URLs, access
tokens, print/log statements, etc.
- [x] My changes do not introduce any security risks, or any such risks
have been properly mitigated.

Describe briefly what security risks you considered, why they don't
apply, or how they've been mitigated.

This change is extemely minor, changing only the names of existing
parameters used to compose the URL. This change aligns the python SDK
with existing functionality in the typescript SDK.

## Reviewers

- [x] I have assigned the appropriate reviewer(s).

Minimally, a second set of eyes is needed ensure no non-public
information is published. Consider also including subject-matter experts
and editing/style reviewers.
  • Loading branch information
jeremytwfortune authored Sep 16, 2024
2 parents 0f91d8e + 15a2c9e commit 40a4b5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/orchestrate/_internal/insight.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ def risk_profile(
<https://orchestrate.docs.careevolution.com/insight/risk_profile.html>
"""
parameters = {
"hccVersion": hcc_version,
"periodEndDate": period_end_date,
"raSegment": ra_segment,
"hcc_version": hcc_version,
"period_end_date": period_end_date,
"ra_segment": ra_segment,
}
return self.__http_handler.post(
path="/insight/v1/riskprofile",
Expand Down

0 comments on commit 40a4b5c

Please sign in to comment.