本文整理汇总了Java中org.hl7.v3.MCCIIN000002UV01类的典型用法代码示例。如果您正苦于以下问题:Java MCCIIN000002UV01类的具体用法?Java MCCIIN000002UV01怎么用?Java MCCIIN000002UV01使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MCCIIN000002UV01类属于org.hl7.v3包,在下文中一共展示了MCCIIN000002UV01类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: udpatePatientRecord
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
@Test
public void udpatePatientRecord() throws Exception {
PRPAIN201302UV02 request;
MCCIIN000002UV01 response;
PixManagerBean pixManagerBean = new PixManagerBean();
// Delegate to webServiceTemplate for the actual pixadd
try {
request = requestXMLToJava.getPIXUpdateReqObject(getRequest(UPDATE_REQUEST_XML));
response = pixManagerService.pixManagerPRPAIN201302UV02(request);
pixManagerMessageHelper.getAddUpdateMessage(response, pixManagerBean,
PixPdqConstants.PIX_UPDATE.getMsg());
} catch (JAXBException | IOException e) {
pixManagerMessageHelper.getGeneralExpMessage(e, pixManagerBean,
PixPdqConstants.PIX_UPDATE.getMsg());
log.error(e.getMessage());
}
log.debug("response" + pixManagerBean.getAddMessage());
}
示例2: addPatientRecord
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
@Test
public void addPatientRecord() throws Exception {
PRPAIN201301UV02 request;
MCCIIN000002UV01 response;
PixManagerBean pixManagerBean = new PixManagerBean();
// Delegate to webServiceTemplate for the actual pixadd
try {
request = requestXMLToJava.getPIXAddReqObject(getRequest(ADD_REQUEST_XML));
response = pixManagerService.pixManagerPRPAIN201301UV02(request);
pixManagerMessageHelper.getAddUpdateMessage(response, pixManagerBean,
PixPdqConstants.PIX_ADD.getMsg());
} catch (JAXBException | IOException e) {
pixManagerMessageHelper.getGeneralExpMessage(e, pixManagerBean,
PixPdqConstants.PIX_ADD.getMsg());
log.error(e.getMessage() + e);
}
log.debug("response" + pixManagerBean.getAddMessage());
}
示例3: testpdqQueryCancel
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
@Test
public void testpdqQueryCancel() throws Exception {
//Arrange
//Add the sample data from PIXAdd
PRPAIN201301UV02 addRequest1 = getFile(PRPAIN201301UV02.class, ADD_REQUEST_XML1);
pixManagerService.pixManagerPRPAIN201301UV02(addRequest1);
PRPAIN201301UV02 addRequest2 = getFile(PRPAIN201301UV02.class, ADD_REQUEST_XML2);
pixManagerService.pixManagerPRPAIN201301UV02(addRequest2);
//Query Request
PRPAIN201305UV02 request0 = getFile(PRPAIN201305UV02.class, Query_REQUEST_XML);
pdqSupplierService.pdqQuery(request0);
//Cancel Request
QUQIIN000003UV01Type request = getFile(QUQIIN000003UV01Type.class, Cancel_REQUEST_XML);
MCCIIN000002UV01 response = pdqSupplierService.pdqQueryCancel(request);
//Act and assert
assertEquals("CA", response.getAcknowledgement().get(0).getTypeCode().getCode());
}
示例4: pdqQueryCancel
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
@Override
public MCCIIN000002UV01 pdqQueryCancel(QUQIIN000003UV01Type body) {
try (PDQSupplierPortTypeProxy port = createPort()) {
final MCCIIN000002UV01 pdqSupplierQUQIIN000003UV01Cancel = port.pdqSupplierQUQIIN000003UV01Cancel(body);
return pdqSupplierQUQIIN000003UV01Cancel;
} catch (final Exception e) {
throw toPDQSupplierServiceException(e);
}
}
示例5: patientRegistryRecordRevised
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
@Override
public MCCIIN000002UV01 patientRegistryRecordRevised(
PRPAIN201302UV02 input) {
LOG.info("Executing operation patientRegistryRecordRevised");
System.out.println(input);
try {
MCCIIN000002UV01 _return = null;
return _return;
} catch (java.lang.Exception ex) {
ex.printStackTrace();
throw new RuntimeException(ex);
}
}
示例6: patientRegistryRecordAdded
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
@Override
public MCCIIN000002UV01 patientRegistryRecordAdded(
PRPAIN201301UV02 input) {
LOG.info("Executing operation patientRegistryRecordAdded");
System.out.println(input);
try {
MCCIIN000002UV01 _return = null;
return _return;
} catch (java.lang.Exception ex) {
ex.printStackTrace();
throw new RuntimeException(ex);
}
}
示例7: patientRegistryDuplicatesResolved
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
@Override
public MCCIIN000002UV01 patientRegistryDuplicatesResolved(
PRPAIN201304UV02 input) {
LOG.info("Executing operation patientRegistryDuplicatesResolved");
System.out.println(input);
try {
MCCIIN000002UV01 _return = null;
return _return;
} catch (java.lang.Exception ex) {
ex.printStackTrace();
throw new RuntimeException(ex);
}
}
示例8: getAddUpdateMessage
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
/**
* Gets the add and update message.
*
* @param response the response
* @param pixMgrBean the pix mgr bean
* @param msg the msg
*/
public void getAddUpdateMessage(MCCIIN000002UV01 response,
PixManagerBean pixMgrBean, String msg) {
log.debug("Response Ack Code:" + response.getAcceptAckCode());
log.debug("Response Type Id: " + response.getTypeId());
final List<MCCIMT000200UV01Acknowledgement> acknowledgementList = response
.getAcknowledgement();
for (final MCCIMT000200UV01Acknowledgement acknowledgement : acknowledgementList) {
if (acknowledgement.getTypeCode().getCode().equals(PixPdqConstants.RESPONSE_CA.getMsg())) {
if (PixPdqConstants.PIX_ADD.getMsg().equals(msg)) {
pixMgrBean.setAddMessage(msg + " Success! ");
} else if (PixPdqConstants.PIX_UPDATE.getMsg().equals(msg)) {
pixMgrBean.setUpdateMessage(msg + " Success! ");
}
pixMgrBean.setSuccess(true);
break;
} else if (acknowledgement.getTypeCode().getCode().equals(PixPdqConstants.RESPONSE_CE.getMsg())) {
final List<MCCIMT000200UV01AcknowledgementDetail> acknowledgementDetailList = acknowledgement
.getAcknowledgementDetail();
final MCCIMT000200UV01AcknowledgementDetail acknowledgementDetail = acknowledgementDetailList.get(0);
log.error(msg + " error : " + acknowledgementDetail.getText().toString());
if (PixPdqConstants.PIX_ADD.getMsg().equals(msg)) {
pixMgrBean.setAddMessage(msg + " Failure! " + acknowledgementDetail.getText().toString());
} else if (PixPdqConstants.PIX_UPDATE.getMsg()
.equals(msg)) {
pixMgrBean.setUpdateMessage(msg + " Failure! " + acknowledgementDetail.getText().toString());
}
pixMgrBean.setSuccess(false);
} else {
if (PixPdqConstants.PIX_ADD.getMsg().equals(msg)) {
pixMgrBean.setAddMessage(msg + " Failure! ");
} else if (PixPdqConstants.PIX_UPDATE.getMsg().equals(msg)) {
pixMgrBean.setUpdateMessage(msg + " Failure! ");
}
pixMgrBean.setSuccess(false);
}
}
}
示例9: pixManagerPRPAIN201301UV02
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
/**
*
* @param body
* @return
* returns org.hl7.v3.MCCIIN000002UV01
*/
@WebMethod(operationName = "PIXManager_PRPA_IN201301UV02", action = "urn:hl7-org:v3:PRPA_IN201301UV02")
@WebResult(name = "MCCI_IN000002UV01", targetNamespace = "urn:hl7-org:v3", partName = "Body")
public MCCIIN000002UV01 pixManagerPRPAIN201301UV02(
@WebParam(name = "PRPA_IN201301UV02", targetNamespace = "urn:hl7-org:v3", partName = "Body")
PRPAIN201301UV02 body);
示例10: pixManagerPRPAIN201301UV02
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
/**
* Pix manager PRPAIN201301UV02 (Add).
*
* @param body the body
* @return the MCCIIN000002UV01 (Acknowledgement)
*/
MCCIIN000002UV01 pixManagerPRPAIN201301UV02(
PRPAIN201301UV02 body);
示例11: pixManagerPRPAIN201302UV02
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
/**
* Pix manager PRPAIN201302UV02 (Update).
*
* @param body the body
* @return the MCCIIN000002UV01 (Acknowledgement)
*/
MCCIIN000002UV01 pixManagerPRPAIN201302UV02(
PRPAIN201302UV02 body);
示例12: pixManagerPRPAIN201304UV02
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
/**
* Pix manager PRPAIN201304UV02 (Merge).
*
* @param body the body
* @return the MCCIIN000002UV01 (Acknowledgement)
*/
MCCIIN000002UV01 pixManagerPRPAIN201304UV02(
PRPAIN201304UV02 body);
示例13: isSuccess
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
/**
* Checks if response is success.
*
* @param response the response
* @return true, if iis success
*/
public boolean isSuccess(MCCIIN000002UV01 response) {
return response.getAcknowledgement().stream()
.map(a -> a.getTypeCode().getCode())
.filter(c -> PixPdqConstants.RESPONSE_CA.getMsg().equals(c) || PixPdqConstants.RESPONSE_AA.getMsg().equals(c)).count() > 0;
}
示例14: pdqSupplierQUQIIN000003UV01Cancel
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
/**
*
* @param body
* @return
* returns org.hl7.v3.MCCIIN000002UV01
*/
@WebMethod(operationName = "PDQSupplier_QUQI_IN000003UV01_Cancel", action = "urn:hl7-org:v3: QUQI_IN000003UV01_Cancel")
@WebResult(name = "MCCI_IN000002UV01", targetNamespace = "urn:hl7-org:v3", partName = "Body")
public MCCIIN000002UV01 pdqSupplierQUQIIN000003UV01Cancel(
@WebParam(name = "QUQI_IN000003UV01_Cancel", targetNamespace = "urn:hl7-org:v3", partName = "Body")
QUQIIN000003UV01Type body);
示例15: pixManagerPRPAIN201302UV02
import org.hl7.v3.MCCIIN000002UV01; //导入依赖的package包/类
/**
*
* @param body
* @return
* returns org.hl7.v3.MCCIIN000002UV01
*/
@WebMethod(operationName = "PIXManager_PRPA_IN201302UV02", action = "urn:hl7-org:v3:PRPA_IN201302UV02")
@WebResult(name = "MCCI_IN000002UV01", targetNamespace = "urn:hl7-org:v3", partName = "Body")
public MCCIIN000002UV01 pixManagerPRPAIN201302UV02(
@WebParam(name = "PRPA_IN201302UV02", targetNamespace = "urn:hl7-org:v3", partName = "Body")
PRPAIN201302UV02 body);