Skip to content
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

Rti perform #288

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft

Rti perform #288

wants to merge 19 commits into from

Conversation

ndduc01
Copy link
Collaborator

@ndduc01 ndduc01 commented Jan 24, 2025

Notes

Please include a summary of the change and which issue is fixed or which feature is added.

JIRA

Checklist

Types of changes

What types of changes does this PR introduces?

  • Bugfix
  • New feature
  • Breaking change

Testing

  • Does this PR has >90% code coverage?
  • Is the screenshot attached for code coverage?
  • Does the gradle build pass in your local?
  • Is the gradle build logs attached?

@@ -98,7 +105,7 @@ private LocalUidGeneratorDto fetchLocalId(LocalIdClass localIdClass) throws RtiC
newLocalId.setUidPrefixCd(localId.getUidPrefixCd());
newLocalId.setTypeCd(localId.getTypeCd());
newLocalId.setClassNameCd(localId.getClassNameCd());
newLocalId.setSeedValueNbr(seed + LocalUidCacheModel.SEED_COUNTER + 1);
newLocalId.setSeedValueNbr(seed + LocalUidCacheModel.SEED_COUNTER + 2);
Copy link
Collaborator

Choose a reason for hiding this comment

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

There was some discussion during the demo meeting about switching from the 1000 ID cache to a 1 at a time retrieval.
I do not have all the information on what is planned but thought sharing how Ids are fetched for patient creation might be useful.

Id generator for Modernization-api

The referenced code will:

  1. query to get the current seed value for the specified entity type
  2. increment the local_UID_generator seed value by 1

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, Anil told me about that

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