Class Iti65Validator
java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.FhirTransactionValidator.Support
org.openehealth.ipf.commons.ihe.fhir.iti65.Iti65Validator
- All Implemented Interfaces:
FhirTransactionValidator
Validator for ITI-65 transactions.
THIS does not work properly yet!
- Since:
- 3.6
- Author:
- Christian Ohr
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openehealth.ipf.commons.ihe.fhir.FhirTransactionValidator
FhirTransactionValidator.Support
-
Field Summary
Fields inherited from interface org.openehealth.ipf.commons.ihe.fhir.FhirTransactionValidator
NO_VALIDATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.common.hapi.validation.support.ValidationSupportChain
loadStructureDefinitionsv320
(IValidationSupport baseValidationSupport, String kind) protected void
validateBundleConsistency320
(org.hl7.fhir.r4.model.Bundle bundle) Verifies that bundle has expected content and consistent patient referencesprotected void
validateBundleConsistency421
(org.hl7.fhir.r4.model.Bundle bundle) Verifies that bundle has expected content and consistent patient referencesvoid
validateRequest
(Object payload, Map<String, Object> parameters) Validates a FHIR request, throwing anUnprocessableEntityException
on validation failureMethods inherited from class org.openehealth.ipf.commons.ihe.fhir.FhirTransactionValidator.Support
validateResponse
-
Constructor Details
-
Iti65Validator
-
-
Method Details
-
validateRequest
Description copied from interface:FhirTransactionValidator
Validates a FHIR request, throwing anUnprocessableEntityException
on validation failure- Specified by:
validateRequest
in interfaceFhirTransactionValidator
- Overrides:
validateRequest
in classFhirTransactionValidator.Support
- Parameters:
payload
- request payloadparameters
- request parameters
-
loadStructureDefinitionsv320
public org.hl7.fhir.common.hapi.validation.support.ValidationSupportChain loadStructureDefinitionsv320(IValidationSupport baseValidationSupport, String kind) -
validateBundleConsistency320
protected void validateBundleConsistency320(org.hl7.fhir.r4.model.Bundle bundle) Verifies that bundle has expected content and consistent patient references- Parameters:
bundle
- transaction bundle
-
validateBundleConsistency421
protected void validateBundleConsistency421(org.hl7.fhir.r4.model.Bundle bundle) Verifies that bundle has expected content and consistent patient references- Parameters:
bundle
- transaction bundle
-