本文整理汇总了Java中ims.core.vo.AuthoringInformationVo类的典型用法代码示例。如果您正苦于以下问题:Java AuthoringInformationVo类的具体用法?Java AuthoringInformationVo怎么用?Java AuthoringInformationVo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AuthoringInformationVo类属于ims.core.vo包,在下文中一共展示了AuthoringInformationVo类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: populateContactInfo
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private void populateContactInfo(NeuroSenastionFindingsVo voNeuroSenastionFindings)
{
if(voNeuroSenastionFindings != null && voNeuroSenastionFindings.getAuthoringCPIsNotNull())
{
//WDEV-15172
AuthoringInformationVo authoringInfo = new AuthoringInformationVo();
authoringInfo.setAuthoringHcp(voNeuroSenastionFindings.getAuthoringCP());
authoringInfo.setAuthoringDateTime(voNeuroSenastionFindings.getAuthoringDateTime());
form.ccAuthoring().setValue(authoringInfo);
return;
}
if(form.getGlobalContext().Core.getCurrentClinicalContactIsNotNull())
{
ClinicalContactShortVo voClinicalContactShort = form.getGlobalContext().Core.getCurrentClinicalContact();
if(voClinicalContactShort != null)
{
if(voClinicalContactShort.getStartDateTimeIsNotNull())
{
form.ccAuthoring().initializeComponent(false); //WDEV-15172
}
}
}
}
示例2: populateContactInfo
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private void populateContactInfo(ClinicalContactShortVo voClinicalContactShort)
{
if(voClinicalContactShort != null)
{
AuthoringInformationVo voAuthoringInfo = new AuthoringInformationVo();
voAuthoringInfo.setAuthoringDateTime(voClinicalContactShort.getStartDateTime());
if(voClinicalContactShort.getSeenByIsNotNull())
{
voAuthoringInfo.setAuthoringHcp(voClinicalContactShort.getSeenBy());
}
form.customControlAuthoring().setValue(voAuthoringInfo);
}
}
示例3: initialize
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private void initialize()
{
AuthoringInformationVo voAuthoringInformation=new AuthoringInformationVo();
voAuthoringInformation.setAuthoringDateTime(new DateTime());
if (domain.getHcpLiteUser()!=null)
voAuthoringInformation.setAuthoringHcp((HcpLiteVo) domain.getHcpLiteUser());
form.cc2().setValue(voAuthoringInformation);
form.grpFilter().setValue(grpFilterEnumeration.rdoAll); //wdev-13763
if (domain.getHcpLiteUser() == null)
{
form.cmbSourceOfInformation().setEnabled(false);
form.setcc1Enabled(false);
form.setcc2Enabled(false);
}
}
示例4: setCustomCompomentValue
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private void setCustomCompomentValue(IComponent customControl, PlanOfCareVo record)
{
AuthoringInformationVo voAuthoringStart = new AuthoringInformationVo();
if (customControl.equals(form.lyrPOC().tabPocDetails().customStart()))
{
voAuthoringStart.setAuthoringDateTime(record.getStartDateTime());
voAuthoringStart.setAuthoringHcp(record.getStartHCP());
}
if (customControl.equals(form.lyrPOC().tabPocDetails().customResolved()))
{
voAuthoringStart.setAuthoringDateTime(record.getResolvedDateTime());
voAuthoringStart.setAuthoringHcp(record.getResolvingHCP());
}
if (customControl.equals(form.lyrPOC().tabPocDetails().customConfirming()))
{
voAuthoringStart.setAuthoringDateTime(record.getConfirmingDateTime());
voAuthoringStart.setAuthoringHcp(record.getConfirmingHCP());
}
customControl.setValue(voAuthoringStart);
}
示例5: populateDataFromScreenForNoting
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private PlanOfCareNotingVo populateDataFromScreenForNoting(PlanOfCareActionsVoCollection recordColl)
{
PlanOfCareNotingVo pocNoting = form.getGlobalContext().getPlanOfCareActionsReview();
// POCNoting CareContext
pocNoting.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
AuthoringInformationVo voAuthoringInformation = new AuthoringInformationVo();
voAuthoringInformation.setAuthoringDateTime(form.customAuthoring().getValue().getAuthoringDateTime());
voAuthoringInformation.setAuthoringHcp(form.customAuthoring().getValue().getAuthoringHcp());
pocNoting.setAuthoringInformation(voAuthoringInformation);
//POCNoting ReviewingHCP ReviewingDateTime
pocNoting.setReviewingDateTime(form.customReviewing().getValue().getAuthoringDateTime());
pocNoting.setReviewingHCP(form.customReviewing().getValue().getAuthoringHcp());
pocNoting.setActionStatus(PlanOfCareActionStatus.ACTIVE);
pocNoting.setActions(recordColl);
return pocNoting;
}
示例6: getAuthoringInfoForMultiSelectAnswer
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private AuthoringInformationVo getAuthoringInfoForMultiSelectAnswer(PatientAssessmentQuestionVo voAssessQuestion)
{
if(voAssessQuestion == null)
return null;
for (int i = 0; i < voAssessQuestion.getPatientAnswers().size(); i++)
{
for (int j = 0; j < voAssessQuestion.getPatientAnswers().get(i).getAnswerDetails().size(); j++)
{
AnswerDetailsVo answerDetail = voAssessQuestion.getPatientAnswers().get(i).getAnswerDetails().get(j);
if(isMultiSelectAnswer(answerDetail))
{
return voAssessQuestion.getPatientAnswers().get(i).getAuthoringInfo();
}
}
}
return null;
}
示例7: getInitialsTooltip
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private String getInitialsTooltip(PatientAssessmentQuestionVo voPatAssQuestion)
{
if (voPatAssQuestion != null && voPatAssQuestion.getPatientAnswers().size() > 0)
{
StringBuffer tooltip = new StringBuffer();
PatientAssessmentAnswerVo voPatAssessmentAnswer = getMultiSelectAnswer(voPatAssQuestion);
if (voPatAssessmentAnswer != null)
{
AuthoringInformationVo voAuthoring = voPatAssessmentAnswer.getAuthoringInfo();
if (voAuthoring != null)
{
tooltip.append("*Authoring Information:* ");
tooltip.append(voAuthoring.toString(", "));
}
AuthoringInformationVo voConfirming = voPatAssessmentAnswer.getConfirmingInfo();
if (voConfirming != null)
{
tooltip.append("\n");
tooltip.append("*Confirming Information:* ");
tooltip.append(voConfirming.toString(", "));
}
return new Textile().process(tooltip.toString());
}
}
return "";
}
示例8: newPatientProcedure
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private PatientProcedureLiteVo newPatientProcedure(ProcedureLiteVo procedure, String description, CareContextShortVo careContext, AuthoringInformationVo authoringInformation, SourceofInformation sourceOfInformation)
{
if (description == null || careContext == null || sourceOfInformation == null)
return null;
PatientProcedureLiteVo patientProcedure = new PatientProcedureLiteVo();
patientProcedure.setProcedure(procedure);
patientProcedure.setProcedureDescription(description);
patientProcedure.setEpisodeOfCare(form.getGlobalContext().Core.getEpisodeofCareShort());
patientProcedure.setCareContext(careContext);
patientProcedure.setAuthoringInformation(authoringInformation);
patientProcedure.setInfoSource(sourceOfInformation);
patientProcedure.setProcedureStatus(PatientProcedureStatus.PLANNED);
patientProcedure.setProcDate(form.lyrMain().tabCareRecord().dteDate().getValue() != null ? new PartialDate(form.lyrMain().tabCareRecord().dteDate().getValue()) : null);// wdev-8393
return patientProcedure;
}
示例9: setDefaultValuesToControls
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private void setDefaultValuesToControls(boolean ignoreClinicalContact)//WDEV-11523
{
AuthoringInformationVo voAuthoring = new AuthoringInformationVo();
if(!ignoreClinicalContact && form.getGlobalContext().Core.getCurrentClinicalContactIsNotNull())//WDEV-11523
{
voAuthoring.setAuthoringDateTime(form.getGlobalContext().Core.getCurrentClinicalContact().getStartDateTime() == null ? new DateTime() : form.getGlobalContext().Core.getCurrentClinicalContact().getStartDateTime());
voAuthoring.setAuthoringHcp(form.getGlobalContext().Core.getCurrentClinicalContact().getSeenBy());
}
else
{
voAuthoring.setAuthoringDateTime(new DateTime());
voAuthoring.setAuthoringHcp((HcpLiteVo) domain.getHcpLiteUser());
}
populateControlsFromData(voAuthoring);
}
示例10: newPatientProcedure
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private PatientProcedureLiteVo newPatientProcedure(ProcedureLiteVo procedure, String description, CareContextShortVo careContext, AuthoringInformationVo authoringInformation, SourceofInformation sourceOfInformation)
{
if (description == null || careContext == null || sourceOfInformation == null)
return null;
PatientProcedureLiteVo patientProcedure = new PatientProcedureLiteVo();
patientProcedure.setProcedure(procedure);
patientProcedure.setProcedureDescription(description);
patientProcedure.setCareContext(careContext);
patientProcedure.setEpisodeOfCare(form.getGlobalContext().Core.getEpisodeofCareShort());
patientProcedure.setAuthoringInformation(authoringInformation);
patientProcedure.setInfoSource(sourceOfInformation);
patientProcedure.setProcedureStatus(PatientProcedureStatus.PLANNED);
patientProcedure.setProcDate(form.lyr1().tabCareRecord().dteDate().getValue() != null ? new PartialDate(form.lyr1().tabCareRecord().dteDate().getValue()) : null);// wdev-8393
return patientProcedure;
}
示例11: populateDataFromScreen
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
protected ims.assessment.vo.PatientAssessmentDataVo populateDataFromScreen(ims.assessment.vo.PatientAssessmentDataVo voPatientAssessmentData, PatientAssessmentVo voPatientAssessment)
{
populateAssociatedQuestionsData(voPatientAssessmentData);
PatientAssessmentStatusReason status = form.cmbStatus().getValue();
voPatientAssessment.setAuthoringInformation(form.customControlAuthoringInfo().getValue());
voPatientAssessment.setStatus(status);
voPatientAssessment.setStatusReason(form.cmbReason().getValue());
if(status != null && status.equals(PatientAssessmentStatusReason.COMPLETED))
{
AuthoringInformationVo confirmingInfo = form.customControlCompleted().getValue();
if(confirmingInfo != null)
{
voPatientAssessment.setCompletedHCP(confirmingInfo.getAuthoringHcp());
voPatientAssessment.setCompletedDateTime(confirmingInfo.getAuthoringDateTime());
}
}
return voPatientAssessmentData;
}
示例12: populateControls
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private void populateControls()
{
PatientAssessmentVo voPatientAssessment = form.getLocalContext().getCurrentPatientAssessment();
if(voPatientAssessment == null)
return;
//Status
form.cmbStatus().setValue(voPatientAssessment.getStatus());
//Reason
cmbStatusValueChanged();
form.cmbReason().setValue(voPatientAssessment != null?voPatientAssessment.getStatusReason():null);
//Authoring Informations
form.customControlAuthoringInfo().setValue(voPatientAssessment.getAuthoringInfo());
//Completing Info
AuthoringInformationVo voCompleted = new AuthoringInformationVo();
voCompleted.setAuthoringDateTime(voPatientAssessment.getCompletedDateTime());
voCompleted.setAuthoringHcp(voPatientAssessment.getCompletedHCP());
form.customControlCompleted().setValue(voCompleted);
}
示例13: populateHCPDataForAnswers
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
public static PatientAssessmentVo populateHCPDataForAnswers(PatientAssessmentVo initialData, PatientAssessmentVo updatedData, AuthoringInformationVo author)
{
if(updatedData == null || updatedData.getAssessmentData() == null)
throw new CodingRuntimeException("Invalid assessment data to update");
// Answer Groups
if(updatedData.getAssessmentData().getAnswerGroups() != null)
{
populateHCPDataForAnswerGroups(initialData, updatedData, author);
}
//Associated Graphic Questions
if(updatedData.getAssessmentData().getGraphicQuestion() != null)
{
populateHCPDataForGraphicQuestions(initialData, updatedData, author);
}
// Findings
if(updatedData.getAssessmentData().getGraphicFindings() != null)
{
populateHCPDataForGraphicFindings(initialData, updatedData, author);
}
return updatedData;
}
示例14: populateDataFromScreen
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
@Override
protected SurgicalOperationDetailsVo populateDataFromScreen(SurgicalOperationDetailsVo value) {
SurgicalOperationDetailsVo result = super.populateDataFromScreen(value);
if (!result.getAuthoringInformationIsNotNull())
{
result.setAuthoringInformation(new AuthoringInformationVo());
result.getAuthoringInformation().setAuthoringDateTime(new DateTime());
result.getAuthoringInformation().setAuthoringHcp((HcpLiteVo) domain.getHcpLiteUser());
}
if (!result.getCareContextIsNotNull())
{
result.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
}
//wdev-13658
result.setProsthesis(form.txtProsthesis().getValue());
result.setDrain(form.txtDrain().getValue());
//--------
return result;
}
示例15: initialize
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private void initialize()
{
AuthoringInformationVo voAuthoringInformation=new AuthoringInformationVo();
voAuthoringInformation.setAuthoringDateTime(new DateTime());
if (domain.getHcpLiteUser()!=null)
voAuthoringInformation.setAuthoringHcp((HcpLiteVo) domain.getHcpLiteUser());
form.cc2().setValue(voAuthoringInformation);
form.pdt1().setValue(new PartialDate(new Date()));
form.grpFilter().setValue(grpFilterEnumeration.rdoSpecialty);
if (domain.getHcpLiteUser() == null)
{
form.pdt1().setEnabled(false);
form.setcc1Enabled(false);
form.setcc2Enabled(false);
}
}