Class InteropScenario

  • All Implemented Interfaces:
    IPatientScenario

    public class InteropScenario
    extends java.lang.Object
    implements IPatientScenario
    A workload simulating interop client access. Fetch a Patient and related ExplanationOfBenefit resources, then use these to drive a second request fetching the Claim and Provider resources referenced by each of the retrieved ExplanationOfBenefit resources.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(java.lang.String patientId, java.util.concurrent.atomic.AtomicInteger fhirRequest, java.util.concurrent.atomic.AtomicLong fhirRequestTime, java.util.concurrent.atomic.AtomicInteger resourceCount)
      Execute the scenario for the given patient, incrementing the atomic counters to report the statistics
      protected int processResult​(Bundle bundle)
      Process the result bundle we retrieved.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InteropScenario

        public InteropScenario​(FHIRBucketClient client)
        Public constructor
        Parameters:
        client -
    • Method Detail

      • process

        public void process​(java.lang.String patientId,
                            java.util.concurrent.atomic.AtomicInteger fhirRequest,
                            java.util.concurrent.atomic.AtomicLong fhirRequestTime,
                            java.util.concurrent.atomic.AtomicInteger resourceCount)
        Description copied from interface: IPatientScenario
        Execute the scenario for the given patient, incrementing the atomic counters to report the statistics
        Specified by:
        process in interface IPatientScenario
      • processResult

        protected int processResult​(Bundle bundle)
        Process the result bundle we retrieved. Create a new bundle to fetch the details from each of the bundles.
        Parameters:
        bundle -