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


Java Dxresearch.setCodingSystem方法代码示例

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


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

示例1: saveToDx

import org.oscarehr.common.model.Dxresearch; //导入方法依赖的package包/类
public void saveToDx(LoggedInInfo loggedInInfo, String demographicNo, String code, String codingSystem, boolean association) {
	if (codingSystem == null) {
		codingSystem = "icd10";
	}

	Dxresearch dx = new Dxresearch();
	dx.setDxresearchCode(code);
	dx.setCodingSystem(codingSystem);
	dx.setDemographicNo(Integer.parseInt(demographicNo));
	dx.setStartDate(new Date());
	dx.setUpdateDate(new Date());
	dx.setStatus('A');
	dx.setAssociation(association?(byte)1:(byte)0);
	dx.setProviderNo(loggedInInfo.getLoggedInProviderNo());
	if (!dxresearchDAO.entryExists(dx.getDemographicNo(), codingSystem, code)) {
		this.dxresearchDAO.save(dx);
	}
}
 
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:19,代码来源:CaseManagementManager.java

示例2: addToDiseaseRegistry

import org.oscarehr.common.model.Dxresearch; //导入方法依赖的package包/类
@POST
@Path("/{demographicNo}/add")
@Produces("application/json")
@Consumes("application/json")
public Response addToDiseaseRegistry(@PathParam("demographicNo") Integer demographicNo,IssueTo1 issue){		
	boolean activeEntryExists = dxresearchDao.activeEntryExists(demographicNo, issue.getType(), issue.getCode());
	
	if(!activeEntryExists){
		Dxresearch dx = new Dxresearch();
		dx.setStartDate(new Date());
		dx.setCodingSystem(issue.getType());
		dx.setDemographicNo(demographicNo);
		dx.setDxresearchCode(issue.getCode());
		dx.setStatus('A');
		dx.setProviderNo(getCurrentProvider().getProviderNo());
		dxresearchDao.persist(dx);
		LogAction.addLog(getLoggedInInfo(), "Dxresearch.add", "dxresearch", ""+dx.getId(), ""+demographicNo, dx.toString());
	}
	
	return Response.ok().build();
}
 
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:22,代码来源:DiseaseRegistryService.java

示例3: saveToDx

import org.oscarehr.common.model.Dxresearch; //导入方法依赖的package包/类
public void saveToDx(String demographicNo, String code, String codingSystem, boolean association) {
	if (codingSystem == null) {
		codingSystem = "icd10";
	}

	Dxresearch dx = new Dxresearch();
	dx.setDxresearchCode(code);
	dx.setCodingSystem(codingSystem);
	dx.setDemographicNo(Integer.parseInt(demographicNo));
	dx.setStartDate(new Date());
	dx.setUpdateDate(new Date());
	dx.setStatus('A');
	dx.setAssociation(association?(byte)1:(byte)0);

	if (!dxresearchDAO.entryExists(dx.getDemographicNo(), codingSystem, code)) {
		this.dxresearchDAO.save(dx);
	}
}
 
开发者ID:oscarservice,项目名称:oscar-old,代码行数:19,代码来源:CaseManagementManager.java

示例4: getDxResearch

import org.oscarehr.common.model.Dxresearch; //导入方法依赖的package包/类
Dxresearch getDxResearch(String codingSystem, String code,String status,Date startDate,Date updateDate,Integer demographicNo){
	Dxresearch dxresearch = new Dxresearch();
	dxresearch.setCodingSystem(codingSystem);
	dxresearch.setDxresearchCode(code);
	dxresearch.setStatus(status.toCharArray()[0]);
	dxresearch.setStartDate(startDate);
	dxresearch.setUpdateDate(updateDate);
	dxresearch.setDemographicNo(demographicNo);
	return dxresearch;
}
 
开发者ID:williamgrosset,项目名称:OSCAR-ConCert,代码行数:11,代码来源:OntarioMDSpec4DataTest.java


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