Skip to content

Conversation

@calmwalija
Copy link

@calmwalija calmwalija commented Nov 23, 2022

IMPORTANT: Where possible all PRs must be linked to a Github issue

Fixes https://github.com/opensrp/fhir-resources/issues/432

Checklist

  • I have written Unit tests for any new feature(s) and edge cases for bug fixes
  • I have added any strings visible on UI components to the strings.xml file
  • I have updated the CHANGELOG.md file for any notable changes to the codebase
  • I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
  • I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

@calmwalija calmwalija self-assigned this Nov 24, 2022
@codecov
Copy link

codecov bot commented Nov 24, 2022

Codecov Report

Merging #1858 (c25f68e) into mwcore-dev (7cca3a0) will decrease coverage by 0.03%.
The diff coverage is 68.26%.

@@               Coverage Diff                @@
##             mwcore-dev    #1858      +/-   ##
================================================
- Coverage         64.46%   64.42%   -0.04%     
- Complexity          816      825       +9     
================================================
  Files               139      140       +1     
  Lines              5110     5184      +74     
  Branches            837      853      +16     
================================================
+ Hits               3294     3340      +46     
- Misses             1329     1347      +18     
- Partials            487      497      +10     
Flag Coverage Δ
engine 64.42% <68.26%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...e/data/local/register/PatientRegisterRepository.kt 0.00% <0.00%> (ø)
...r/fhircore/engine/domain/repository/RegisterDao.kt 40.00% <0.00%> (-10.00%) ⬇️
...smartregister/fhircore/engine/sync/NetworkState.kt 26.66% <26.66%> (ø)
...egister/fhircore/engine/ui/login/LoginViewModel.kt 66.97% <66.66%> (-0.01%) ⬇️
...rtregister/fhircore/engine/sync/SyncBroadcaster.kt 81.81% <73.91%> (-14.34%) ⬇️
...rtregister/fhircore/engine/ui/login/LoginScreen.kt 76.47% <76.19%> (+0.28%) ⬆️
...e/engine/data/local/register/dao/HivRegisterDao.kt 83.17% <88.00%> (+0.54%) ⬆️
...ister/fhircore/engine/auth/AccountAuthenticator.kt 73.33% <100.00%> (+0.55%) ⬆️
...gister/fhircore/engine/domain/model/ProfileData.kt 98.50% <100.00%> (+0.02%) ⬆️
...register/fhircore/engine/ui/login/LoginActivity.kt 72.13% <100.00%> (+3.04%) ⬆️
... and 2 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@calmwalija calmwalija requested a review from LZRS November 24, 2022 05:49
val resources = conditions + guardiansRelatedPersonResource + observations
val resourcesAsBundle = Bundle().apply { resources.map { this.addEntry().resource = it } }
arrayListOf(*carePlans.toTypedArray(), resourcesAsBundle)
arrayListOf(*practitioners.toTypedArray(), resourcesAsBundle)
Copy link
Contributor

Choose a reason for hiding this comment

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

Returned list seems to not include careplans from previous line. Maybe merge to return all in a single list

@calmwalija calmwalija merged commit c55569c into mwcore-dev Nov 24, 2022
@calmwalija calmwalija deleted the 432-questmalawi-core-pass-signed-in-practitioner-resource-to-every-questionnaire branch November 24, 2022 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants