Class GoldenResourceAnnotatingProcessor

java.lang.Object
ca.uhn.fhir.jpa.batch.processor.GoldenResourceAnnotatingProcessor
All Implemented Interfaces:
org.springframework.batch.item.ItemProcessor<List<org.hl7.fhir.instance.model.api.IBaseResource>,List<org.hl7.fhir.instance.model.api.IBaseResource>>

public class GoldenResourceAnnotatingProcessor extends Object implements org.springframework.batch.item.ItemProcessor<List<org.hl7.fhir.instance.model.api.IBaseResource>,List<org.hl7.fhir.instance.model.api.IBaseResource>>
Reusable Item Processor which attaches an extension to any outgoing resource. This extension will contain a resource reference to the golden resource patient of the given resources' patient. (e.g. Observation.subject, Immunization.patient, etc)
  • Constructor Details

  • Method Details

    • process

      public List<org.hl7.fhir.instance.model.api.IBaseResource> process(List<org.hl7.fhir.instance.model.api.IBaseResource> theIBaseResources) throws Exception
      Specified by:
      process in interface org.springframework.batch.item.ItemProcessor<List<org.hl7.fhir.instance.model.api.IBaseResource>,List<org.hl7.fhir.instance.model.api.IBaseResource>>
      Throws:
      Exception