Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,061 changes: 400 additions & 661 deletions LICENSE

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions NOTICE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# NOTICE

## Openmrs Module Rulesengine

Copyright © 2026 OpenMRS Inc

### Contributors

This repository has got source code generated at Thoughtworks.

### Third-Party Components

This repository includes third-party source code that is licensed separately:

- Maven Wrapper (`mvnw`, `mvnw.cmd`, `.mvn/wrapper/*`)
Licensed under the Apache License, Version 2.0.
Copyright © the original authors.
7 changes: 7 additions & 0 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@
<name>Rules Engine Module API</name>
<description>API project for RulesEngine</description>

<licenses>
<license>
<name>Mozilla Public License Version 2.0</name>
<url>https://www.bahmni.org/license/mplv2hd</url>
</license>
</licenses>

<dependencies>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine;

public class CIELDictionary {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine;


Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.domain;

import org.codehaus.jackson.map.ObjectMapper;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.domain;

public class Dose {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.domain;

import org.bahmni.csv.CSVEntity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.domain;

import java.lang.annotation.ElementType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.engine;

import org.openmrs.module.rulesengine.domain.DosageRequest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.engine;

import org.apache.commons.lang.ArrayUtils;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.rule;

import org.openmrs.Patient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.rule;

import org.apache.commons.logging.Log;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.rule;

import org.openmrs.module.rulesengine.domain.DosageRequest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.rule;

import org.openmrs.Patient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.service;

import org.apache.commons.collections.CollectionUtils;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.service;

import org.openmrs.Patient;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.util;

import org.joda.time.LocalDate;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.util;

import org.bahmni.csv.CSVEntity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.util;

import org.apache.commons.lang.StringUtils;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.util;

import org.openmrs.module.rulesengine.service.ObservationService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine;

import org.junit.Before;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.engine;

import org.junit.Assert;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.rule;

import org.junit.Before;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.rule;

import org.bahmni.csv.CSVFile;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.rule;

import org.junit.Before;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.service;

import org.junit.Before;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.service;

import org.junit.Before;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.util;

import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/*
* 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 https://www.bahmni.org/license/mplv2hd.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/

package org.openmrs.module.rulesengine.util;

import org.junit.Rule;
Expand Down
9 changes: 8 additions & 1 deletion omod/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@
<name>Rules Engine Module OMOD</name>
<description>OMOD project for RulesEngine</description>

<dependencies>

<licenses>
<license>
<name>Mozilla Public License Version 2.0</name>
<url>https://www.bahmni.org/license/mplv2hd</url>
</license>
</licenses>
<dependencies>


<dependency>
Expand Down
Loading
Loading