-
Notifications
You must be signed in to change notification settings - Fork 40
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
Adding test member oid as the extension to all observations in the el… #16397
base: master
Are you sure you want to change the base?
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
Test Results1 249 tests +2 1 243 ✅ ±0 7m 5s ⏱️ -45s For more details on these failures, see this check. Results for commit 5536e4a. ± Comparison against base commit abfc0c0. ♻️ This comment has been updated with latest results. |
Integration Test Results0 tests 0 ✅ 0s ⏱️ Results for commit 5536e4a. ♻️ This comment has been updated with latest results. |
c4d718e
to
884f3fe
Compare
Quality Gate failedFailed conditions |
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.
I don't see where AC "The process to determine results are antigen is documented" is met.
I also don't see any new tests.
Please address the above and I'll take another look.
ty!
@@ -34,16 +42,32 @@ class LookupTableConditionMapper(metadata: Metadata) : IConditionMapper { | |||
acc | |||
} | |||
} | |||
|
|||
override fun lookupMemberOid(codings: List<Coding>): Map<String, String> { | |||
return mappingTable.FilterBuilder() |
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.
this statement is dense and difficult to parse. In future please don't pack so much logic into the return statement
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.
Changes look good, but I agree with the need for tests. At a minimum, an integration test similar to: should send valid FHIR report filtered by mapped condition filter
. This would also show what a FHIRExpression filter would look like. Also see FHIRBundleHelpersTest
(like addMappedCondition supports adding a condition when code is null
) for guidance on unit tests.
} | ||
acc | ||
} | ||
} | ||
} | ||
|
||
class ConditionStamper(private val conditionMapper: IConditionMapper) { | ||
companion object { | ||
const val conditionCodeExtensionURL = "https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code" |
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.
We can fix the IntelliJ warning on this var name while we're here?
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.
yes please. Trying to see how to fix this?
884f3fe
to
9943de0
Compare
9943de0
to
04bd870
Compare
04bd870
to
ead1fd8
Compare
ead1fd8
to
cb7de06
Compare
Sorry the tests were in another branch. rebased and merged. |
cb7de06
to
5536e4a
Compare
…r messages
This PR adds the member OID as the extension to all observations in the elr messages.
Test Steps:
Changes
Checklist
Testing
./prime test
or./gradlew testSmoke
against local Docker ReportStream container? yesLinked Issues