Package org.opencds.cqf.fhir.cr.common
Class ExtensionProcessor
java.lang.Object
org.opencds.cqf.fhir.cr.common.ExtensionProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessExtensions(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.voidprocessExtensionsInList(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.
-
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 evaluationresource- The resource to copy the resolved extensions todefinition- The element containing the extensions to be resolvedexcludedExtList- 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 evaluationresource- The resource to copy the resolved extensions todefinition- The element containing the extensions to be resolvedextList- A list of extension URL's to include from the definition
-