Class IgBasedInstanceValidator

java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.FhirTransactionValidator.Support
org.openehealth.ipf.commons.ihe.fhir.support.IgBasedInstanceValidator
All Implemented Interfaces:
FhirTransactionValidator
Direct Known Subclasses:
Iti105Validator

public abstract class IgBasedInstanceValidator extends FhirTransactionValidator.Support
Validator which uses Implementation Guides to validate FHIR resources.
Author:
Dmytro Rud
  • Constructor Details

    • IgBasedInstanceValidator

      protected IgBasedInstanceValidator(FhirContext fhirContext)
  • Method Details

    • validateProfileConformance

      protected org.hl7.fhir.r4.model.OperationOutcome validateProfileConformance(org.hl7.fhir.r4.model.Resource resource, String profileUri)
      Parameters:
      resource - FHIR resource to validate.
      Returns:
      OperationOutcome containing or not containing validation errors (never null).
    • handleOperationOutcome

      protected void handleOperationOutcome(org.hl7.fhir.r4.model.OperationOutcome outcome)