resources-acquired

Resources Acquired

Description

The Data Acquisition Worker service will cache all retrieved FHIR resources prior to producing the ResourcesAcquired event. Depending on configuration and capacity, the cached resources will either be stored in Redis or Azure Blob Storage. The value segment of the event contains information for consuming services to know where the resources are cached and which FHIR types were acquired for a patient. A single ResourcesAcquired event should be produced per correlation Id and query type (initial, supplemental)

Event Information

Value

QueryType: Which query phase the acquired resources were for. The value will either be Initial or Supplemental.

CacheType: Describes the cache destination of the acquired FHIR resources. Currently, Link Cloud supports either Redis or ABS.

CacheKeys: Will be the cache destination for each acquired FHIR resource type: - Redis: For Redis, each cache key value will represent the hash key name of the Redis entry. - ABS: For ABS, each cache key will represent the directory for resource type file. For example, the following cache key: b208b1d6-035c-4cc0-9292-f525056124e6:Condition will be found in Azure Blob Storage as <blob_root>/b208b1d6-035c-4cc0-9292-f525056124e6/Condition.

Relationships

flowchart LR
nresources_acquired_566EB692["Event: Resources Acquired"]
  nDataAcquisitionWorkerService_1C09C8B6["Service: DataAcquisitionWorkerService"] -->|produces| nresources_acquired_566EB692
  nresources_acquired_566EB692 -->|consumed by| nNormalizationService_4A3628B6["Service: NormalizationService"]
  subgraph nDataAccess_2A523756_domain["Domain: Data Access"]
    nDataAcquisitionWorkerService_1C09C8B6
    nresources_acquired_566EB692
  end
  subgraph nReport_4D4FBBDA_domain["Domain: Report"]
    nNormalizationService_4A3628B6
  end