Skip to content

OTC-780: update business logic#160

Merged
delcroip merged 3 commits intodevelopfrom
feature/OTC-780
Feb 16, 2023
Merged

OTC-780: update business logic#160
delcroip merged 3 commits intodevelopfrom
feature/OTC-780

Conversation

@jdolkowski
Copy link
Copy Markdown

https://openimis.atlassian.net/browse/OTC-780

Update business logic: items/serives left is now being calculate as a sum of quantity in all valid claims assigned to insuree.

Related: openimis/openimis-be-policy_py#39

…late as a sum of quantity in all valid claims assigned to insuree
@dragos-dobre
Copy link
Copy Markdown
Member

@jdolkowski tests are failing. It is because of this PR?

@jdolkowski
Copy link
Copy Markdown
Author

@dragos-dobre Tests are failing not because of the PR. It a different issue that @malinowskikam said will take care of.

@delcroip delcroip merged commit 828dd24 into develop Feb 16, 2023
@delcroip delcroip deleted the feature/OTC-780 branch February 16, 2023 13:58
dragos-dobre added a commit that referenced this pull request May 23, 2023
* ajustement 5_base/data

* OP-975 Added additional filters to uspAPIGetClaims (#157)

* OP-1066: modular IMIS: time correlations don't work (#158)

* SubmitSingleClaim SP is now includes historical timestamp for ProductItems/ProductServices

* SubmitSingleClaim SP is now taking historical data for items/services

* Historical Price lists are taken care while processing claims

* OTC-780: update business logic (#160)

* OTC-780: update business logic: items/serives left is now being calculate as a sum of quantity in all valid claims assigned to insuree

* OTC-780: refactor the code

* Update openmis-module-test.yml

* Devision by 0 while calculating Allocated amount (#159)

* change encoding to UTF-8

* UTF-8 + LF

* Merge docker and fix SQL

* remove run that never stops

* to unblock CI on other repo

* fix end date for batch process

the old code does a process date between start and stop date BUT processdate is a DateTime so any datetime after 0.00 on the last day was NOT taken into account

* Capitation : Wrong formula to calculate allocation is fixed

* Change type of env INIT_MODE from 'empty' to empty

* Update Dockerfile

* Update Dockerfile

* Fixed the INIT_MODE variable

* utf-8

* Update docker.yml

---------

Co-authored-by: mngoe <[email protected]>
Co-authored-by: Kamil Malinowski <[email protected]>
Co-authored-by: Hiren Soni <[email protected]>
Co-authored-by: Jan <[email protected]>
Co-authored-by: Patrick Delcroix <[email protected]>
Co-authored-by: Patrick Delcroix <[email protected]>
Co-authored-by: Hiren Soni <[email protected]>
Co-authored-by: Damian Borowiecki <[email protected]>
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.

3 participants