Class ChPharmacyStableDocumentsQueryTransformer<T extends ChPharmacyStableDocumentsQuery>
java.lang.Object
org.projecthusky.communication.ch.camel.chpharm1.transform.requests.query.ChPharmacyDocumentsQueryTransformer<T>
org.projecthusky.communication.ch.camel.chpharm1.transform.requests.query.ChPharmacyStableDocumentsQueryTransformer<T>
- Direct Known Subclasses:
ChFindDispensesQueryTransformer,ChFindMedicationAdministrationsQueryTransformer,ChFindMedicationTreatmentPlansQueryTransformer,ChFindPrescriptionsForDispenseQueryTransformer,ChFindPrescriptionsForValidationQueryTransformer,ChFindPrescriptionsQueryTransformer
public class ChPharmacyStableDocumentsQueryTransformer<T extends ChPharmacyStableDocumentsQuery>
extends ChPharmacyDocumentsQueryTransformer<T>
Base transformations for all stable-documents CH:PHARM-1 queries.
- Author:
- Quentin Ligier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfromEbXML(@Nullable T query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML) Transforms the ebXML representation of a query into a query object.voidtoEbXML(@Nullable T query, @Nullable org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLAdhocQueryRequest ebXML) Transforms the query into its ebXML representation.
-
Constructor Details
-
ChPharmacyStableDocumentsQueryTransformer
public ChPharmacyStableDocumentsQueryTransformer()
-
-
Method Details
-
toEbXML
public void toEbXML(@Nullable T 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:
toEbXMLin classChPharmacyDocumentsQueryTransformer<T extends ChPharmacyStableDocumentsQuery>- Parameters:
query- the query. Can benull.ebXML- the ebXML representation. Can benull.
-
fromEbXML
public void fromEbXML(@Nullable T 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:
fromEbXMLin classChPharmacyDocumentsQueryTransformer<T extends ChPharmacyStableDocumentsQuery>- Parameters:
query- the query. Can benull.ebXML- the ebXML representation. Can benull.
-