Investigate using a factory for this, passing in the FhirServiceClient may be a good way to reuse code
Rules pertaining to VISTA are use the EHRSource.VISTA enum and check for it before firing.
If the ehrSource value is not set in the EnrichedRequestAccessUnit, deny the request with a 500
If the ehrSource value is not set in the PreEnrichmentRequestAccessUnit for Appointment Create requests, deny the request with a 500
Tests continue to work
CES-609: https://issues.mobilehealth.va.gov/browse/CES-609 I want incoming requests to run different sets of rules based on the EHR they are targeting.
Investigate using a factory for this, passing in the FhirServiceClient may be a good way to reuse code
Rules pertaining to VISTA are use the EHRSource.VISTA enum and check for it before firing. If the ehrSource value is not set in the EnrichedRequestAccessUnit, deny the request with a 500 If the ehrSource value is not set in the PreEnrichmentRequestAccessUnit for Appointment Create requests, deny the request with a 500 Tests continue to work