Class PixV3QueryResponseTransformer
java.lang.Object
org.openehealth.ipf.commons.ihe.hl7v3.core.transform.responses.PixV3QueryResponseTransformer
Transformer between objects
PixV3QueryResponse
and PRPAIN201310UV02Type
.- Since:
- 4.1
- Author:
- Quentin Ligier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromPrpa
(net.ihe.gazelle.hl7v3.prpain201310UV02.PRPAIN201310UV02Type response) Transforms a full PRPA response into the simplified model.fromReceiver
(net.ihe.gazelle.hl7v3.mccimt000300UV01.MCCIMT000300UV01Receiver receiver) fromSender
(net.ihe.gazelle.hl7v3.mccimt000300UV01.MCCIMT000300UV01Sender sender) net.ihe.gazelle.hl7v3.prpain201310UV02.PRPAIN201310UV02Type
toPrpa
(PixV3QueryResponse simpleResponse) Transforms a simplified response into the full PRPA model.
-
Constructor Details
-
PixV3QueryResponseTransformer
public PixV3QueryResponseTransformer()
-
-
Method Details
-
toPrpa
public net.ihe.gazelle.hl7v3.prpain201310UV02.PRPAIN201310UV02Type toPrpa(PixV3QueryResponse simpleResponse) Transforms a simplified response into the full PRPA model.- Parameters:
simpleResponse
- The simplified response to transform.- Returns:
- the PRPA model response or
null
if the input wasnull
.
-
fromPrpa
public PixV3QueryResponse fromPrpa(net.ihe.gazelle.hl7v3.prpain201310UV02.PRPAIN201310UV02Type response) Transforms a full PRPA response into the simplified model. Data loss can occur, as the simplified model is not complete.- Parameters:
response
- The full PRPA response to transform.- Returns:
- the simplified response or
null
if the input wasnull
.
-
fromReceiver
public Device fromReceiver(net.ihe.gazelle.hl7v3.mccimt000300UV01.MCCIMT000300UV01Receiver receiver) -
fromSender
-