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_7C72478A["Event: Resources Acquired"]
  nDataAcquisitionWorkerService_34AD5529["Service: DataAcquisitionWorkerService"] -->|produces| nresources_acquired_7C72478A
  nresources_acquired_7C72478A -->|consumed by| nNormalizationService_78B0F5BC["Service: NormalizationService"]
  subgraph nDataAccess_43BF0C8B_domain["Domain: Data Access"]
    nDataAcquisitionWorkerService_34AD5529
    nresources_acquired_7C72478A
  end
  subgraph nReport_523BC237_domain["Domain: Report"]
    nNormalizationService_78B0F5BC
  end