本文整理汇总了Java中org.hl7.v3.PRPAIN201309UV02.setProcessingModeCode方法的典型用法代码示例。如果您正苦于以下问题:Java PRPAIN201309UV02.setProcessingModeCode方法的具体用法?Java PRPAIN201309UV02.setProcessingModeCode怎么用?Java PRPAIN201309UV02.setProcessingModeCode使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.hl7.v3.PRPAIN201309UV02
的用法示例。
在下文中一共展示了PRPAIN201309UV02.setProcessingModeCode方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getCorrespondingIds
import org.hl7.v3.PRPAIN201309UV02; //导入方法依赖的package包/类
public PRPAIN201309UV02 getCorrespondingIds(MviId pid) {
LOG.debug("Start building 1309 request - get corresponding ids");
LOG.info("Building 1309 SOAP message for " + pid.toString());
UUID messageId = UUID.randomUUID();
LOG.debug("Assigning message id " + messageId.toString());
PRPAIN201309UV02 message = factory.createPRPAIN201309UV02();
//Set root level parameters
message.setId(createId(ROOT_CODE_1, "MCID-"+messageId.toString()));
message.setCreationTime(getTimestamp(null));
message.setVersionCode(createCode("3.0"));
message.setInteractionId(createId(ROOT_CODE_2, null));
message.setProcessingCode(createCode("T"));
message.setProcessingModeCode(createCode("T"));
message.setAcceptAckCode(createCode("AL"));
//Set Receiver not available via API
//Set Sender
message.setSender(getSender());
//Build controlActProcess
PRPAIN201309UV02QUQIMT021001UV01ControlActProcess controlActProcess = factory.createPRPAIN201309UV02QUQIMT021001UV01ControlActProcess();
message.setControlActProcess(controlActProcess);
controlActProcess.setMoodCode(XActMoodIntentEvent.EVN);
controlActProcess.setClassCode(ActClassControlAct.CACT);
controlActProcess.setCode(createCodeElement("PRPA_TE201309UV02",ROOT_CODE_2));
//data enterer not available via API
controlActProcess.setQueryByParameter(getQueryByParam(pid, messageId));
LOG.debug("Finished building 1309 message " + messageId.toString());
return message;
}