Class ChFindMedicationCardQueryTransformer

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

public class ChFindMedicationCardQueryTransformer extends ChPharmacyDocumentsQueryTransformer<ChFindMedicationCardQuery>
Transforms between ChFindMedicationCardQuery and EbXMLAdhocQueryRequest.
Author:
Quentin Ligier
  • Field Details

    • DOC_ENTRY_LANGUAGE_CODE

      public static final String DOC_ENTRY_LANGUAGE_CODE
      This parameter doesn't exist in QueryParameter.
      See Also:
    • PMLC_QUERY_INCLUDE_NON_ACTIVE

      public static final String PMLC_QUERY_INCLUDE_NON_ACTIVE
      See Also:
  • Constructor Details

    • ChFindMedicationCardQueryTransformer

      public ChFindMedicationCardQueryTransformer()
  • Method Details

    • toEbXML

      public void toEbXML(@Nullable ChFindMedicationCardQuery 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<ChFindMedicationCardQuery>
      Parameters:
      query - the query to transform.
      ebXML - the EbXML representation.
    • fromEbXML

      public void fromEbXML(@Nullable ChFindMedicationCardQuery 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<ChFindMedicationCardQuery>
      Parameters:
      query - the query. Can be null.
      ebXML - the ebXML representation. Can be null.