Skip to content

Commit

Permalink
Merge pull request #629 from mozzy11/2.8
Browse files Browse the repository at this point in the history
Update Reflex rule implementation
  • Loading branch information
mozzy11 authored Dec 5, 2023
2 parents 62b1f8d + 1a4e3f0 commit 0cb9169
Show file tree
Hide file tree
Showing 13 changed files with 198 additions and 349 deletions.
9 changes: 9 additions & 0 deletions frontend/src/components/addOrder/Index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ const Index = () => {
};
const handleSubmitOrderForm = (e) => {
e.preventDefault();
if ("years" in orderFormValues.patientProperties) {
delete orderFormValues.patientProperties.years;
}
if ("months" in orderFormValues.patientProperties) {
delete orderFormValues.patientProperties.months;
}
if ("days" in orderFormValues.patientProperties) {
delete orderFormValues.patientProperties.days;
}
console.log(JSON.stringify(orderFormValues))
postToOpenElisServer(
"/rest/SamplePatientEntry",
Expand Down
159 changes: 0 additions & 159 deletions frontend/src/components/admin/reflexTests/AutoComplete.js

This file was deleted.

Loading

0 comments on commit 0cb9169

Please sign in to comment.