Class ChFindMedicationListQueryTransformer

java.lang.Object
org.projecthusky.communication.ch.camel.chpharm1.transform.requests.query.ChPharmacyDocumentsQueryTransformer<ChFindMedicationListQuery>
org.projecthusky.communication.ch.camel.chpharm1.transform.requests.query.ChFindMedicationListQueryTransformer

public class ChFindMedicationListQueryTransformer extends ChPharmacyDocumentsQueryTransformer<ChFindMedicationListQuery>
Transforms between ChFindMedicationListQuery and EbXMLAdhocQueryRequest.
Author:
Quentin Ligier
  • Constructor Details

    • ChFindMedicationListQueryTransformer

      public ChFindMedicationListQueryTransformer()
  • Method Details

    • toEbXML

      public void toEbXML(@Nullable ChFindMedicationListQuery query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML)
      Transforms the query into its EbXML representation.

      Does not perform any transformation if one of the parameters is null.

      Overrides:
      toEbXML in class ChPharmacyDocumentsQueryTransformer<ChFindMedicationListQuery>
      Parameters:
      query - the query to transform.
      ebXML - the EbXML representation.
    • fromEbXML

      public void fromEbXML(@Nullable ChFindMedicationListQuery query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML)
      Transforms the ebXML representation of a query into a query object.

      Does not perform any transformation if one of the parameters is null.

      Overrides:
      fromEbXML in class ChPharmacyDocumentsQueryTransformer<ChFindMedicationListQuery>
      Parameters:
      query - the query. Can be null.
      ebXML - the ebXML representation. Can be null.