Class ExtensionProcessor

java.lang.Object
org.opencds.cqf.fhir.cr.common.ExtensionProcessor

public class ExtensionProcessor extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processExtensions(IOperationRequest request, org.hl7.fhir.instance.model.api.IBase resource, ca.uhn.fhir.model.api.IElement definition, List<String> excludedExtList)
    This method gets extensions from the definition element, resolves any CQF Expression extensions found and copies the resolved extensions to the resource.
    void
    processExtensionsInList(IOperationRequest request, org.hl7.fhir.instance.model.api.IBase resource, ca.uhn.fhir.model.api.IElement definition, List<String> extList)
    This method gets extensions from the definition element, resolves any CQF Expression extensions found and copies the resolved extensions to the resource.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExtensionProcessor

      public ExtensionProcessor()
  • Method Details

    • processExtensions

      public void processExtensions(IOperationRequest request, org.hl7.fhir.instance.model.api.IBase resource, ca.uhn.fhir.model.api.IElement definition, List<String> excludedExtList)
      This method gets extensions from the definition element, resolves any CQF Expression extensions found and copies the resolved extensions to the resource.
      Parameters:
      request - The operation request containing data needed for evaluation
      resource - The resource to copy the resolved extensions to
      definition - The element containing the extensions to be resolved
      excludedExtList - A list of extension URL's to excluded from the definition
    • processExtensionsInList

      public void processExtensionsInList(IOperationRequest request, org.hl7.fhir.instance.model.api.IBase resource, ca.uhn.fhir.model.api.IElement definition, List<String> extList)
      This method gets extensions from the definition element, resolves any CQF Expression extensions found and copies the resolved extensions to the resource.
      Parameters:
      request - The operation request containing data needed for evaluation
      resource - The resource to copy the resolved extensions to
      definition - The element containing the extensions to be resolved
      extList - A list of extension URL's to include from the definition