本文整理汇总了Java中ims.core.vo.AuthoringInformationVo类的典型用法代码示例。如果您正苦于以下问题:Java AuthoringInformationVo类的具体用法?Java AuthoringInformationVo怎么用?Java AuthoringInformationVo使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AuthoringInformationVo类属于ims.core.vo包,在下文中一共展示了AuthoringInformationVo类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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
}
}
}
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:27,代码来源:Logic.java
示例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);
}
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:17,代码来源:Logic.java
示例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);
}
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:18,代码来源:Logic.java
示例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);
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:22,代码来源:Logic.java
示例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;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:22,代码来源:Logic.java
示例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;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:19,代码来源:Logic.java
示例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 "";
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:27,代码来源:Logic.java
示例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;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:19,代码来源:Logic.java
示例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);
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:18,代码来源:Logic.java
示例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;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:21,代码来源:Logic.java
示例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;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:21,代码来源:Logic.java
示例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);
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:23,代码来源:Logic.java
示例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;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:27,代码来源:DynamicAssessmentHelper.java
示例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;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:21,代码来源:Logic.java
示例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);
}
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:19,代码来源:Logic.java
示例16: clearData
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private void clearData(TTAMedicationDetailVo ttaMedicationDetailVo)
{
if (ttaMedicationDetailVo == null)
return;
ttaMedicationDetailVo.clearIDAndVersion();
ttaMedicationDetailVo.setCommencedDate(null);
ttaMedicationDetailVo.setClinicalCommentsForPharmacy(null);
ttaMedicationDetailVo.setMedicationInstructionsForPatient(null);
ttaMedicationDetailVo.setPrescriberContacted(null);
ttaMedicationDetailVo.setDurationValue(null);
ttaMedicationDetailVo.setDurationUnit(null);
AuthoringInformationVo auth = new AuthoringInformationVo();
auth.setAuthoringDateTime(new DateTime());
if (domain.getHcpLiteUser() instanceof HcpLiteVo)
auth.setAuthoringHcp((HcpLiteVo) domain.getHcpLiteUser());
ttaMedicationDetailVo.setAuthoringInformation(auth);
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:19,代码来源:Logic.java
示例17: populateAuthoringInfo
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private void populateAuthoringInfo(StrengtheningProgramVo voStrengtheningProgram)
{
if (voStrengtheningProgram != null)
{
AuthoringInformationVo voAuthoringInformation = voStrengtheningProgram.getAuthoringInformation();
if (voAuthoringInformation != null)
{
form.dtimAuthoring().setValue(voAuthoringInformation.getAuthoringDateTime());
if (voAuthoringInformation.getAuthoringHcpIsNotNull())
{
form.qmbHCP().newRow(voAuthoringInformation.getAuthoringHcp(), voAuthoringInformation.getAuthoringHcp().toString());
form.qmbHCP().setValue(voAuthoringInformation.getAuthoringHcp());
}
}
}
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:17,代码来源:Logic.java
示例18: populatePatientAssessmentFromGraphicalUserAssessmentShort
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private PatientAssessmentVo populatePatientAssessmentFromGraphicalUserAssessmentShort(GraphicAssessmentVo voGA) {
if(voGA == null)
throw new CodingRuntimeException("No GraphicAssessmentShortVo provided");
PatientAssessmentVo voPatientAssessment = new PatientAssessmentVo();
voPatientAssessment.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());
voPatientAssessment.setClinicalContact(form.getGlobalContext().Core.getCurrentClinicalContact());
voPatientAssessment.setStatus(PatientAssessmentStatusReason.NOTCOMMENCED);
AuthoringInformationVo voAuthoringInformation = new AuthoringInformationVo();
voAuthoringInformation.setAuthoringDateTime(new DateTime());
if (domain.getHcpUser() != null)
{
Hcp hcpVo = (Hcp) domain.getHcpUser();
HcpLiteVo liteVo = domain.getHcpLiteById(hcpVo);
voAuthoringInformation.setAuthoringHcp(liteVo);
}
voPatientAssessment.setAuthoringInformation(voAuthoringInformation);
//Patient Assessment Data
PatientAssessmentDataVo voPatientAssessmentData = new PatientAssessmentDataVo();
voPatientAssessmentData.setGraphic(voGA);
voPatientAssessmentData.setUserAssessment(null);
voPatientAssessment.setAssessmentData(voPatientAssessmentData);
return voPatientAssessment;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:27,代码来源:Logic.java
示例19: populateDataFromScreen
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private FollowUpNoteVo populateDataFromScreen()
{
FollowUpNoteVo editedFollowUpNote = form.getLocalContext().getEditedRecord();
if (editedFollowUpNote == null) {
editedFollowUpNote = new FollowUpNoteVo();
}
editedFollowUpNote.setAuthoringInformation(form.ccAuthoring().getValue());
editedFollowUpNote.setCatsReferral(form.getGlobalContext().RefMan.getCatsReferral());
editedFollowUpNote.setFollowUpType(form.cmbType().getValue());
editedFollowUpNote.setFollowUpNote(form.richTextNote().getValue());
editedFollowUpNote.setIncludeInCatsReport(form.chkIncludeNoteInCATSReport().getValue());
AuthoringInformationVo recording = new AuthoringInformationVo();
recording.setAuthoringDateTime(new DateTime());
HcpLiteVo hcp = new HcpLiteVo();
hcp.setID_Hcp(engine.getLoggedInUser().getHcpId());
hcp.setMos(domain.getMosUser() != null ? (MemberOfStaffLiteVo) domain.getMosUser() : null);
recording.setAuthoringHcp(hcp);
editedFollowUpNote.setRecordingInformation(recording);
return editedFollowUpNote;
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:24,代码来源:Logic.java
示例20: getDisplayText
import ims.core.vo.AuthoringInformationVo; //导入依赖的package包/类
private String getDisplayText(PatientAssessmentShortVo patientAssessment)
{
StringBuilder displayText = new StringBuilder();
// Build the Authoring Information part of display text
AuthoringInformationVo authoringInfo = patientAssessment.getAuthoringInfo();
if (authoringInfo != null)
{
// Put authoring date / time into display string
if (authoringInfo.getAuthoringDateTime() != null)
displayText.append(authoringInfo.getAuthoringDateTime().toString()).append(" - ");
// Put authoring HCP into display string
if (authoringInfo.getAuthoringHcp() != null)
displayText.append(authoringInfo.getAuthoringHcp().toString()).append(" - ");
}
// Build the assessment name part of display text
displayText.append(patientAssessment.getAssessmentName());
// Return the display text
return displayText.toString();
}
开发者ID:oopcell,项目名称:AvoinApotti,代码行数:27,代码来源:Logic.java
注:本文中的ims.core.vo.AuthoringInformationVo类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论