Class PixV3QueryRequestTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.hl7v3.core.transform.requests.PixV3QueryRequestTransformer
Transformer between objects
PixV3QueryRequest
and PRPAIN201309UV02Type
.- Since:
- 4.1
- Author:
- Quentin Ligier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromPrpa
(net.ihe.gazelle.hl7v3.prpain201309UV02.PRPAIN201309UV02Type query) Transforms a full PRPA query into the simplified model.fromReceiver
(net.ihe.gazelle.hl7v3.mccimt000100UV01.MCCIMT000100UV01Receiver receiver) fromSender
(net.ihe.gazelle.hl7v3.mccimt000100UV01.MCCIMT000100UV01Sender sender) net.ihe.gazelle.hl7v3.prpain201309UV02.PRPAIN201309UV02Type
toPrpa
(PixV3QueryRequest simpleQuery) Transforms a simplified query into the full PRPA model.
-
Constructor Details
-
PixV3QueryRequestTransformer
public PixV3QueryRequestTransformer()
-
-
Method Details
-
toPrpa
public net.ihe.gazelle.hl7v3.prpain201309UV02.PRPAIN201309UV02Type toPrpa(PixV3QueryRequest simpleQuery) Transforms a simplified query into the full PRPA model.- Parameters:
simpleQuery
- The simplified query to transform.- Returns:
- the PRPA model query or
null
if the input wasnull
.
-
fromPrpa
public PixV3QueryRequest fromPrpa(net.ihe.gazelle.hl7v3.prpain201309UV02.PRPAIN201309UV02Type query) Transforms a full PRPA query into the simplified model. Data loss can occur, as the simplified model is not complete.- Parameters:
query
- The full PRPA query to transform.- Returns:
- the simplified query or
null
if the input wasnull
.
-
fromReceiver
public Device fromReceiver(net.ihe.gazelle.hl7v3.mccimt000100UV01.MCCIMT000100UV01Receiver receiver) -
fromSender
-