public class Iti65Validator extends FhirTransactionValidator.Support
FhirTransactionValidator.Support
NO_VALIDATION
Constructor and Description |
---|
Iti65Validator() |
Modifier and Type | Method and Description |
---|---|
protected void |
validateBundleConsistency(org.hl7.fhir.dstu3.model.Bundle bundle)
Verifies that bundle has expected content and consistent patient references
|
void |
validateRequest(ca.uhn.fhir.context.FhirContext context,
Object payload,
Map<String,Object> parameters)
Validates a FHIR request, throwing an
UnprocessableEntityException
on validation failure |
protected void |
validateTransactionBundle(org.hl7.fhir.dstu3.model.Bundle bundle)
Validates bundle type, meta data and consistency of contained resources
|
validateResponse
public void validateRequest(ca.uhn.fhir.context.FhirContext context, Object payload, Map<String,Object> parameters)
FhirTransactionValidator
UnprocessableEntityException
on validation failurevalidateRequest
in interface FhirTransactionValidator
validateRequest
in class FhirTransactionValidator.Support
context
- FHIR contextpayload
- request payloadparameters
- request parametersprotected void validateTransactionBundle(org.hl7.fhir.dstu3.model.Bundle bundle)
bundle
- transaction bundleprotected void validateBundleConsistency(org.hl7.fhir.dstu3.model.Bundle bundle)
bundle
- transaction bundleCopyright © 2018 Open eHealth Foundation. All rights reserved.