LinuxForHealth / health-patterns

A collection of documentation and reference implementations that highlight how to combine various technologies into meaningful patterns for healthcare
https://alvearie.io/health-patterns/
Apache License 2.0
23 stars 22 forks source link

Interaction between FHIR-CQL, ASCVD, and nifi causes intermittent ASCVD failures #396

Closed rguderian closed 2 years ago

rguderian commented 2 years ago

The update test scenario for ASCVD: Ingest a patient bundle that has an "old" RiskAssessment resource. With enough data in the rest of the bundle for ASCVD to update the RiskAssessment, verify the RaiskAssessment is updated.

Using the FHIR-CQL image (used in IVT testing), this test scenario fails about 30% of the time because the "old" RiskAssessment resource does not get updated.

This ASCVD test works consistently in FVT where the FHIR image used in that deployment does not contain CQL.

rguderian commented 2 years ago

This may be related to #409

rguderian commented 2 years ago

ASCVD test changes were made after a deep dive into the behavior of the ASCVD services in health-patterns. The ASCVD tests were failing in FVT before the test changes were made. After the changes, the ASCVD tests were reliably successful. We have added the ASCVD tests back into IVT, and they are reliably successful.