-
Notifications
You must be signed in to change notification settings - Fork 299
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
Rename install API to index for file in knowledge manager #2634
Conversation
knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt
Outdated
Show resolved
Hide resolved
knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt
Outdated
Show resolved
Hide resolved
knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt
Outdated
Show resolved
Hide resolved
knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt
Outdated
Show resolved
Hide resolved
knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt
Outdated
Show resolved
Hide resolved
@jingtang10 for you consideration, please check out my comment on the Github ticket here. If the recommendations there make sense then this might be an appropriate PR to piggy back the enhancement on. |
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.
The change to rename the API looks good to merge.
However, we need to clarify and also document the reasoning whether the KnowledgeManager Library should be able to handle non MetadataResource (such as Patient, Practitioner) or not.
knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt
Outdated
Show resolved
Hide resolved
knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt
Outdated
Show resolved
Hide resolved
thanks martin - that will be handled in a subsequent pr - let's keep the scope of this pr smaller. |
knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt
Outdated
Show resolved
Hide resolved
knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt
Outdated
Show resolved
Hide resolved
knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt
Show resolved
Hide resolved
…ledgeManager.kt Co-authored-by: aditya-07 <[email protected]>
…ledgeManager.kt Co-authored-by: aditya-07 <[email protected]>
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. 👍
* Rename install to index for file * Revert workflow unit tests since they use published knowledge manager * Remove extra dependency in workflow build file * Address review comments * Fix smart immunizations test * Update knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt Co-authored-by: aditya-07 <[email protected]> * Update knowledge/src/main/java/com/google/android/fhir/knowledge/KnowledgeManager.kt Co-authored-by: aditya-07 <[email protected]> * Run spotless --------- Co-authored-by: aditya-07 <[email protected]>
IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Description
Rename install API to index for file in knowledge manager
Note In this PR we also change the test dependency in the workflow module to the current version of knowledge manager instead of the published version. This makes sure we're testing against the latest Knowledge Manager APIs.
Alternative(s) considered
NA
Type
Code health
Screenshots (if applicable)
Checklist
./gradlew spotlessApply
and./gradlew spotlessCheck
to check my code follows the style guide of this project../gradlew check
and./gradlew connectedCheck
to test my changes locally.