Class FhirValidate
java.lang.Object
org.apache.camel.component.fhir.api.FhirValidate
API for validating resources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.rest.api.MethodOutcomeresource(String resourceAsString, Map<ExtraParameters, Object> extraParameters) Validates the resourceca.uhn.fhir.rest.api.MethodOutcomeresource(org.hl7.fhir.instance.model.api.IBaseResource resource, Map<ExtraParameters, Object> extraParameters) Validates the resource
-
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- theIBaseResourceto validateextraParameters- seeExtraParametersfor 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 validateextraParameters- seeExtraParametersfor a full list of parameters that can be passed, may be NULL
-