java.lang.Object
org.projecthusky.communication.ch.camel.chpharm1.validate.requests.query.ChPharm1RequestValidator
All Implemented Interfaces:
org.openehealth.ipf.commons.core.modules.api.Validator<org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest,org.openehealth.ipf.commons.ihe.xds.core.validate.ValidationProfile>

public class ChPharm1RequestValidator extends Object implements org.openehealth.ipf.commons.core.modules.api.Validator<org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest,org.openehealth.ipf.commons.ihe.xds.core.validate.ValidationProfile>
Validates a CH:PHARM-1 EbXMLAdhocQueryRequest.
Author:
Jens Riemschneider, Quentin Ligier
  • Constructor Details

    • ChPharm1RequestValidator

      public ChPharm1RequestValidator()
  • Method Details

    • validate

      public void validate(org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest request, org.openehealth.ipf.commons.ihe.xds.core.validate.ValidationProfile profile)
      Specified by:
      validate in interface org.openehealth.ipf.commons.core.modules.api.Validator<org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest,org.openehealth.ipf.commons.ihe.xds.core.validate.ValidationProfile>
      Parameters:
      request - message to be validated
      profile - profile to be validated against
      Throws:
      org.openehealth.ipf.commons.core.modules.api.ValidationException - if the validation has failed due to non-conformance or internal errors.