当前位置: 首页>>代码示例>>Java>>正文


Java CaseManagementIssue.isAcute方法代码示例

本文整理汇总了Java中org.oscarehr.casemgmt.model.CaseManagementIssue.isAcute方法的典型用法代码示例。如果您正苦于以下问题:Java CaseManagementIssue.isAcute方法的具体用法?Java CaseManagementIssue.isAcute怎么用?Java CaseManagementIssue.isAcute使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.oscarehr.casemgmt.model.CaseManagementIssue的用法示例。


在下文中一共展示了CaseManagementIssue.isAcute方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getIssueDisplay

import org.oscarehr.casemgmt.model.CaseManagementIssue; //导入方法依赖的package包/类
protected IssueDisplay getIssueDisplay(String providerNo, Integer programId, CaseManagementIssue cmi) {
	IssueDisplay issueDisplay = new IssueDisplay();

	if (programId != null) issueDisplay.writeAccess = cmi.isWriteAccess(providerNo, programId);

	issueDisplay.acute = cmi.isAcute() ? "acute" : "chronic";
	issueDisplay.certain = cmi.isCertain() ? "certain" : "uncertain";

	long issueId = cmi.getIssue_id();
	Issue issue = issueDao.getIssue(issueId);

	issueDisplay.code = issue.getCode();
	issueDisplay.codeType = OscarProperties.getInstance().getProperty("COMMUNITY_ISSUE_CODETYPE").toUpperCase();
	issueDisplay.description = issue.getDescription();
	issueDisplay.location = "local";
	issueDisplay.major = cmi.isMajor() ? "major" : "not major";
	issueDisplay.priority = issue.getPriority();
	issueDisplay.resolved = cmi.isResolved() ? "resolved" : "unresolved";
	issueDisplay.role = issue.getRole();
	issueDisplay.sortOrderId = issue.getSortOrderId();

	return issueDisplay;
}
 
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:24,代码来源:CaseManagementViewAction.java

示例2: getIssueDisplay

import org.oscarehr.casemgmt.model.CaseManagementIssue; //导入方法依赖的package包/类
protected IssueDisplay getIssueDisplay(Integer programId,
		CaseManagementIssue cmi) {
	IssueDisplay issueDisplay = new IssueDisplay();

	if (programId != null)
		issueDisplay.writeAccess = cmi.isWriteAccess(programId);

	issueDisplay.acute = cmi.isAcute() ? "acute" : "chronic";
	issueDisplay.certain = cmi.isCertain() ? "certain" : "uncertain";

	long issueId = cmi.getIssue_id();
	Issue issue = issueDao.getIssue(issueId);

	issueDisplay.code = issue.getCode();
	issueDisplay.codeType = OscarProperties.getInstance()
			.getProperty("COMMUNITY_ISSUE_CODETYPE").toUpperCase();
	issueDisplay.description = issue.getDescription();
	issueDisplay.location = "local";
	issueDisplay.major = cmi.isMajor() ? "major" : "not major";
	issueDisplay.priority = issue.getPriority();
	issueDisplay.resolved = cmi.isResolved() ? "resolved" : "unresolved";
	issueDisplay.role = issue.getRole();
	issueDisplay.sortOrderId = issue.getSortOrderId();

	return issueDisplay;
}
 
开发者ID:oscarservice,项目名称:oscar-old,代码行数:27,代码来源:CaseManagementViewAction.java

示例3: createIssueString

import org.oscarehr.casemgmt.model.CaseManagementIssue; //导入方法依赖的package包/类
protected String createIssueString(Set<CaseManagementIssue> issuelist) {
	if (issuelist.isEmpty())
		return "";
	String rt = "\n[" + relateIssueString;
	Iterator<CaseManagementIssue> itr = issuelist.iterator();
	while (itr.hasNext()) {
		CaseManagementIssue iss =  itr.next();
		rt = rt + "\n" + iss.getIssue().getDescription() + "\t\t\n";
		if (iss.isCertain())
			rt = rt + "certain" + "  ";
		else
			rt = rt + "uncertain" + "  ";
		if (iss.isAcute())
			rt = rt + "acute" + "  ";
		else
			rt = rt + "chronic" + "  ";
		if (iss.isMajor())
			rt = rt + "major" + "  ";
		else
			rt = rt + "not major" + "  ";
		if (iss.isResolved())
			rt = rt + "resolved";
		else
			rt = rt + "unresolved";
	}
	return rt + "]\n";
}
 
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:28,代码来源:BaseCaseManagementEntryAction.java


注:本文中的org.oscarehr.casemgmt.model.CaseManagementIssue.isAcute方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。