Class FhirValidate

java.lang.Object
org.apache.camel.component.fhir.api.FhirValidate

public class FhirValidate extends Object
API for validating resources
  • Constructor Details

    • FhirValidate

      public FhirValidate(ca.uhn.fhir.rest.client.api.IGenericClient client)
  • Method Details

    • resource

      public ca.uhn.fhir.rest.api.MethodOutcome resource(org.hl7.fhir.instance.model.api.IBaseResource resource, Map<ExtraParameters,Object> extraParameters)
      Validates the resource
      Parameters:
      resource - the IBaseResource to validate
      extraParameters - see ExtraParameters for a full list of parameters that can be passed, may be NULL
    • resource

      public ca.uhn.fhir.rest.api.MethodOutcome resource(String resourceAsString, Map<ExtraParameters,Object> extraParameters)
      Validates the resource
      Parameters:
      resourceAsString - raw resource to validate
      extraParameters - see ExtraParameters for a full list of parameters that can be passed, may be NULL