forked from I-TECH/openmrs-module-kenyaemr
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2059 from njorocs/dmi-case-report
Dmi case report
- Loading branch information
Showing
14 changed files
with
700 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
...eporting/data/converter/definition/dmi/casereport/LabOrderCaseUniqueIdDataDefinition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* This Source Code Form is subject to the terms of the Mozilla Public License, | ||
* v. 2.0. If a copy of the MPL was not distributed with this file, You can | ||
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under | ||
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license. | ||
* | ||
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS | ||
* graphic logo is a trademark of OpenMRS Inc. | ||
*/ | ||
package org.openmrs.module.kenyaemr.reporting.data.converter.definition.dmi.casereport; | ||
|
||
import org.openmrs.module.reporting.data.BaseDataDefinition; | ||
import org.openmrs.module.reporting.data.visit.definition.VisitDataDefinition; | ||
import org.openmrs.module.reporting.definition.configuration.ConfigurationPropertyCachingStrategy; | ||
import org.openmrs.module.reporting.evaluation.caching.Caching; | ||
|
||
/** | ||
*Visit Date Column | ||
*/ | ||
@Caching(strategy = ConfigurationPropertyCachingStrategy.class) | ||
public class LabOrderCaseUniqueIdDataDefinition extends BaseDataDefinition implements VisitDataDefinition { | ||
|
||
public static final long serialVersionUID = 1L; | ||
|
||
/** | ||
* Default Constructor | ||
*/ | ||
public LabOrderCaseUniqueIdDataDefinition() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Constructor to populate name only | ||
*/ | ||
public LabOrderCaseUniqueIdDataDefinition(String name) { | ||
super(name); | ||
} | ||
|
||
//***** INSTANCE METHODS ***** | ||
|
||
/** | ||
* @see org.openmrs.module.reporting.data.DataDefinition#getDataType() | ||
*/ | ||
public Class<?> getDataType() { | ||
return Double.class; | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...nyaemr/reporting/data/converter/definition/dmi/casereport/LabOrderDateDataDefinition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* This Source Code Form is subject to the terms of the Mozilla Public License, | ||
* v. 2.0. If a copy of the MPL was not distributed with this file, You can | ||
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under | ||
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license. | ||
* | ||
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS | ||
* graphic logo is a trademark of OpenMRS Inc. | ||
*/ | ||
package org.openmrs.module.kenyaemr.reporting.data.converter.definition.dmi.casereport; | ||
|
||
import org.openmrs.module.reporting.data.BaseDataDefinition; | ||
import org.openmrs.module.reporting.data.visit.definition.VisitDataDefinition; | ||
import org.openmrs.module.reporting.definition.configuration.ConfigurationPropertyCachingStrategy; | ||
import org.openmrs.module.reporting.evaluation.caching.Caching; | ||
|
||
/** | ||
*Visit Date Column | ||
*/ | ||
@Caching(strategy = ConfigurationPropertyCachingStrategy.class) | ||
public class LabOrderDateDataDefinition extends BaseDataDefinition implements VisitDataDefinition { | ||
|
||
public static final long serialVersionUID = 1L; | ||
|
||
/** | ||
* Default Constructor | ||
*/ | ||
public LabOrderDateDataDefinition() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Constructor to populate name only | ||
*/ | ||
public LabOrderDateDataDefinition(String name) { | ||
super(name); | ||
} | ||
|
||
//***** INSTANCE METHODS ***** | ||
|
||
/** | ||
* @see org.openmrs.module.reporting.data.DataDefinition#getDataType() | ||
*/ | ||
public Class<?> getDataType() { | ||
return Double.class; | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...kenyaemr/reporting/data/converter/definition/dmi/casereport/LabOrderIdDataDefinition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* This Source Code Form is subject to the terms of the Mozilla Public License, | ||
* v. 2.0. If a copy of the MPL was not distributed with this file, You can | ||
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under | ||
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license. | ||
* | ||
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS | ||
* graphic logo is a trademark of OpenMRS Inc. | ||
*/ | ||
package org.openmrs.module.kenyaemr.reporting.data.converter.definition.dmi.casereport; | ||
|
||
import org.openmrs.module.reporting.data.BaseDataDefinition; | ||
import org.openmrs.module.reporting.data.visit.definition.VisitDataDefinition; | ||
import org.openmrs.module.reporting.definition.configuration.ConfigurationPropertyCachingStrategy; | ||
import org.openmrs.module.reporting.evaluation.caching.Caching; | ||
|
||
/** | ||
*Visit Date Column | ||
*/ | ||
@Caching(strategy = ConfigurationPropertyCachingStrategy.class) | ||
public class LabOrderIdDataDefinition extends BaseDataDefinition implements VisitDataDefinition { | ||
|
||
public static final long serialVersionUID = 1L; | ||
|
||
/** | ||
* Default Constructor | ||
*/ | ||
public LabOrderIdDataDefinition() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Constructor to populate name only | ||
*/ | ||
public LabOrderIdDataDefinition(String name) { | ||
super(name); | ||
} | ||
|
||
//***** INSTANCE METHODS ***** | ||
|
||
/** | ||
* @see org.openmrs.module.reporting.data.DataDefinition#getDataType() | ||
*/ | ||
public Class<?> getDataType() { | ||
return Double.class; | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...mr/reporting/data/converter/definition/dmi/casereport/LabOrderTestNameDataDefinition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* This Source Code Form is subject to the terms of the Mozilla Public License, | ||
* v. 2.0. If a copy of the MPL was not distributed with this file, You can | ||
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under | ||
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license. | ||
* | ||
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS | ||
* graphic logo is a trademark of OpenMRS Inc. | ||
*/ | ||
package org.openmrs.module.kenyaemr.reporting.data.converter.definition.dmi.casereport; | ||
|
||
import org.openmrs.module.reporting.data.BaseDataDefinition; | ||
import org.openmrs.module.reporting.data.visit.definition.VisitDataDefinition; | ||
import org.openmrs.module.reporting.definition.configuration.ConfigurationPropertyCachingStrategy; | ||
import org.openmrs.module.reporting.evaluation.caching.Caching; | ||
|
||
/** | ||
*Visit Date Column | ||
*/ | ||
@Caching(strategy = ConfigurationPropertyCachingStrategy.class) | ||
public class LabOrderTestNameDataDefinition extends BaseDataDefinition implements VisitDataDefinition { | ||
|
||
public static final long serialVersionUID = 1L; | ||
|
||
/** | ||
* Default Constructor | ||
*/ | ||
public LabOrderTestNameDataDefinition() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Constructor to populate name only | ||
*/ | ||
public LabOrderTestNameDataDefinition(String name) { | ||
super(name); | ||
} | ||
|
||
//***** INSTANCE METHODS ***** | ||
|
||
/** | ||
* @see org.openmrs.module.reporting.data.DataDefinition#getDataType() | ||
*/ | ||
public Class<?> getDataType() { | ||
return Double.class; | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
.../reporting/data/converter/definition/dmi/casereport/LabOrderTestResultDataDefinition.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/** | ||
* This Source Code Form is subject to the terms of the Mozilla Public License, | ||
* v. 2.0. If a copy of the MPL was not distributed with this file, You can | ||
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under | ||
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license. | ||
* | ||
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS | ||
* graphic logo is a trademark of OpenMRS Inc. | ||
*/ | ||
package org.openmrs.module.kenyaemr.reporting.data.converter.definition.dmi.casereport; | ||
|
||
import org.openmrs.module.reporting.data.BaseDataDefinition; | ||
import org.openmrs.module.reporting.data.visit.definition.VisitDataDefinition; | ||
import org.openmrs.module.reporting.definition.configuration.ConfigurationPropertyCachingStrategy; | ||
import org.openmrs.module.reporting.evaluation.caching.Caching; | ||
|
||
/** | ||
*Visit Date Column | ||
*/ | ||
@Caching(strategy = ConfigurationPropertyCachingStrategy.class) | ||
public class LabOrderTestResultDataDefinition extends BaseDataDefinition implements VisitDataDefinition { | ||
|
||
public static final long serialVersionUID = 1L; | ||
|
||
/** | ||
* Default Constructor | ||
*/ | ||
public LabOrderTestResultDataDefinition() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Constructor to populate name only | ||
*/ | ||
public LabOrderTestResultDataDefinition(String name) { | ||
super(name); | ||
} | ||
|
||
//***** INSTANCE METHODS ***** | ||
|
||
/** | ||
* @see org.openmrs.module.reporting.data.DataDefinition#getDataType() | ||
*/ | ||
public Class<?> getDataType() { | ||
return Double.class; | ||
} | ||
} |
Oops, something went wrong.