-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
76 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
import { FormattedMessage } from 'react-intl'; | ||
export const labHeaderData = [ | ||
{ | ||
key: "formName", | ||
header: "FormName", | ||
header: <FormattedMessage id="header.formname"/>, | ||
}, | ||
{ | ||
key: "firstName", | ||
header: "First Name", | ||
header: <FormattedMessage id="patient.first.name"/>, | ||
}, | ||
{ | ||
key: "lastName", | ||
header: "Last Name", | ||
header: <FormattedMessage id="patient.last.name"/>, | ||
}, | ||
]; |
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 |
---|---|---|
@@ -1,56 +1,58 @@ | ||
import { FormattedMessage } from 'react-intl'; | ||
|
||
export const relationOptions = [ | ||
{ | ||
value: "EQUALS", | ||
label: "equals", | ||
label: <FormattedMessage id="label.equals"/>, | ||
}, | ||
{ | ||
value: "NOT_EQUALS", | ||
label: "does not equal", | ||
label: <FormattedMessage id="label.notequals"/>, | ||
}, | ||
{ | ||
value: "INSIDE_NORMAL_RANGE", | ||
label: "is inside the normal range", | ||
label: <FormattedMessage id="label.inside.normalrange"/>, | ||
}, | ||
{ | ||
value: "OUTSIDE_NORMAL_RANGE", | ||
label: "is outside the normal range", | ||
label: <FormattedMessage id="label.outside.normalrange"/>, | ||
}, | ||
]; | ||
|
||
export const overallOptions = [ | ||
{ | ||
value: "ANY", | ||
label: "Any", | ||
label: <FormattedMessage id="label.any"/>, | ||
}, | ||
{ | ||
value: "ALL", | ||
label: "All", | ||
label: <FormattedMessage id="all.label"/>, | ||
}, | ||
]; | ||
|
||
export const actionOptions = [ | ||
{ | ||
value: "ADD_TEST", | ||
label: "Add test to order", | ||
label: <FormattedMessage id="label.test.add"/>, | ||
}, | ||
{ | ||
value: "ADD_NOTIFICATION", | ||
label: "Add pop up notification to user", | ||
label: <FormattedMessage id="label.add.notification"/>, | ||
}, | ||
{ | ||
value: "ADD_INTERNAL_NOTE", | ||
label: "Add Internal Note", | ||
label: <FormData id="rulebuilder.label.addInternalNote"/>, | ||
}, | ||
{ | ||
value: "ADD_EXTERNAL_NOTE", | ||
label: "Add External Note", | ||
label: <FormattedMessage id="rulebuilder.label.addExternalNote"/>, | ||
}, | ||
{ | ||
value: "ADD_INTERNAL_TRIGGER_MESSAGE", | ||
label: "Add Internal `triggered by` message", | ||
label: <FormattedMessage id="rulebuilder.label.add.internaltrigger"/>, | ||
}, | ||
{ | ||
value: "ADD_EXTERNAL_TRIGGER_MESSAGE", | ||
label: "Add External `triggered by` message", | ||
label: <FormattedMessage id="rulebuilder.label.add.externaltrigger"/>, | ||
}, | ||
]; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,55 @@ | ||
import { FormattedMessage } from 'react-intl'; | ||
export const OrderCurrentTestsHeaders = [ | ||
{ | ||
key: "accessionNumber", | ||
header: "Lab No.", | ||
header: <FormattedMessage id="sample.label.labnumber"/>, | ||
}, | ||
{ | ||
key: "sampleType", | ||
header: "Sample Type", | ||
header: <FormattedMessage id="sample.type"/>, | ||
}, | ||
{ | ||
key: "collectionDate", | ||
header: "Collection Date", | ||
header: <FormattedMessage id="sample.collection.date"/>, | ||
}, | ||
{ | ||
key: "collectionTime", | ||
header: "Collection Time", | ||
header: <FormattedMessage id="sample.collection.time"/>, | ||
}, | ||
{ | ||
key: "removeSample", | ||
header: "Remove Sample", | ||
header: <FormattedMessage id="sample.remove.action"/>, | ||
}, | ||
{ | ||
key: "testName", | ||
header: "Test Name", | ||
header: <FormattedMessage id="sample.entry.project.testName"/>, | ||
}, | ||
{ | ||
key: "hasResults", | ||
header: "Results Recorded", | ||
header: <FormattedMessage id="header.results.recorded"/>, | ||
}, | ||
{ | ||
key: "canceled", | ||
header: "Cancel Test", | ||
header: <FormattedMessage id= "header.cancel.test"/>, | ||
}, | ||
]; | ||
|
||
export const OrderPossibleTestsHeaders = [ | ||
{ | ||
key: "accessionNumber", | ||
header: "Lab No.", | ||
header:< FormattedMessage id="sample.label.labnumber"/>, | ||
}, | ||
{ | ||
key: "sampleType", | ||
header: "Sample Type", | ||
header: <FormattedMessage id="sample.type"/>, | ||
}, | ||
{ | ||
key: "testName", | ||
header: "Test Name", | ||
header: <FormattedMessage id="sample.entry.project.testName"/>, | ||
}, | ||
{ | ||
key: "add", | ||
header: "Assign", | ||
header: <FormattedMessage id="header.assign"/>, | ||
}, | ||
]; | ||
|
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