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


Java CaseManagementIssue.setProgram_id方法代码示例

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


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

示例1: newIssueToCIssue

import org.oscarehr.casemgmt.model.CaseManagementIssue; //导入方法依赖的package包/类
protected CaseManagementIssue newIssueToCIssue(String demoNo, Issue iss, Integer programId) {
          	CaseManagementIssue cIssue = new CaseManagementIssue();
// cIssue.setActive(true);
cIssue.setAcute(false);
cIssue.setCertain(false);
cIssue.setDemographic_no(demoNo);

cIssue.setIssue_id(iss.getId().longValue());

cIssue.setIssue(iss);
cIssue.setMajor(false);
// cIssue.setMedical_diagnosis(true);
cIssue.setNotes(new HashSet());
cIssue.setResolved(false);
String issueType = iss.getRole();
cIssue.setType(issueType);
cIssue.setUpdate_date(new Date());
cIssue.setProgram_id(programId);
// add it to database
List<CaseManagementIssue> uList = new ArrayList<CaseManagementIssue>();
uList.add(cIssue);
caseManagementMgr.saveAndUpdateCaseIssues(uList);
// add new issues to ongoing concern
//caseManagementMgr.addNewIssueToConcern((String) cform.getDemoNo(), iss.getDescription());
return cIssue;
      }
 
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:27,代码来源:BaseCaseManagementEntryAction.java

示例2: getCaseMangementIssue

import org.oscarehr.casemgmt.model.CaseManagementIssue; //导入方法依赖的package包/类
CaseManagementIssue getCaseMangementIssue(Demographic demographic,Issue issue,Integer oscarProgramID,String type){

		CaseManagementIssue caseManagementIssue = new CaseManagementIssue();
		caseManagementIssue.setDemographic_no(""+demographic.getDemographicNo());
		caseManagementIssue.setIssue_id(issue.getId());
		caseManagementIssue.setProgram_id(oscarProgramID);
		caseManagementIssue.setType(type);
		return caseManagementIssue;
	}
 
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:10,代码来源:OntarioMDSpec4DataTest.java


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