Skip to content

Commit

Permalink
Merge pull request #329 from noharm-ai/develop
Browse files Browse the repository at this point in the history
v3.1.12
  • Loading branch information
marceloarocha authored Jun 6, 2024
2 parents 74d4721 + a7ae8a5 commit db8db9a
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "noharm-app",
"version": "3.1.11",
"version": "3.1.12",
"private": true,
"dependencies": {
"@ckeditor/ckeditor5-build-classic": "^35.0.1",
Expand Down
58 changes: 49 additions & 9 deletions src/components/Screening/ClinicalNotes/ClinicalNotesIndicator.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
const clinicalNotesIndicator = {
list: (t) => [
{
key: "acesso",
label: t("clinicalNotesIndicator.acesso"),
value: "acesso",
color: "#68FACF",
backgroundColor: "#68FACF0A",
category: "info",
},
{
key: "allergy",
label: t("clinicalNotesIndicator.allergy"),
value: "alergia",
color: "#E65100",
backgroundColor: "rgba(230, 81, 0, 0.1)",
category: "indo",
category: "info",
},
{
key: "conduct",
Expand All @@ -24,6 +32,14 @@ const clinicalNotesIndicator = {
backgroundColor: "rgba(25,25,224, 0.1)",
category: "info",
},
{
key: "dialysis",
label: t("clinicalNotesIndicator.dialysis"),
value: "dialise",
color: "#3b3b35",
backgroundColor: "rgba(59, 59, 53, 0.1)",
category: "info",
},
{
key: "diseases",
label: t("clinicalNotesIndicator.diseases"),
Expand All @@ -32,6 +48,14 @@ const clinicalNotesIndicator = {
backgroundColor: "rgba(241, 211, 2, 0.1)",
category: "priority",
},
{
key: "diliexc",
label: t("clinicalNotesIndicator.diliexc"),
value: "diliexc",
color: "#9924FA",
backgroundColor: "#9924FA0A",
category: "info",
},
{
key: "complication",
label: t("clinicalNotesIndicator.complication"),
Expand All @@ -40,6 +64,22 @@ const clinicalNotesIndicator = {
backgroundColor: "rgba(231, 29, 54, 0.1)",
category: "priority",
},
{
key: "germes",
label: t("clinicalNotesIndicator.germes"),
value: "germes",
color: "#22FA67",
backgroundColor: "#22FA670A",
category: "info",
},
{
key: "gestante",
label: t("clinicalNotesIndicator.gestante"),
value: "gestante",
color: "#6BC6FA",
backgroundColor: "#6BC6FA0A",
category: "info",
},
{
key: "medications",
label: t("clinicalNotesIndicator.medications"),
Expand All @@ -56,6 +96,14 @@ const clinicalNotesIndicator = {
backgroundColor: "rgba(128, 128, 128, 0.1)",
category: "info",
},
{
key: "resthid",
label: t("clinicalNotesIndicator.resthid"),
value: "resthid",
color: "#316DF7",
backgroundColor: "#316DF70A",
category: "info",
},
{
key: "signs",
label: t("clinicalNotesIndicator.signs"),
Expand All @@ -72,14 +120,6 @@ const clinicalNotesIndicator = {
backgroundColor: "rgba(67,188,205, 0.1)",
category: "priority",
},
{
key: "dialysis",
label: t("clinicalNotesIndicator.dialysis"),
value: "dialise",
color: "#3b3b35",
backgroundColor: "rgba(59, 59, 53, 0.1)",
category: "info",
},
],

listByCategory(category, t) {
Expand Down
7 changes: 6 additions & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,12 @@
"names": "Names",
"signs": "Signs",
"symptoms": "Symptoms",
"dialysis": "Dialysis"
"dialysis": "Dialysis",
"acesso": "Access",
"diliexc": "Diseases excluding DILI",
"resthid": "Water restriction",
"gestante": "Pregnant",
"germes": "Germs"
},

"alerts": {
Expand Down
7 changes: 6 additions & 1 deletion src/translations/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,12 @@
"names": "Nomes",
"signs": "Sinais",
"symptoms": "Sintomas",
"dialysis": "Diálise"
"dialysis": "Diálise",
"acesso": "Acesso",
"diliexc": "Doenças exclusoras de DILI",
"resthid": "Restrição hídrica",
"gestante": "Gestante",
"germes": "Germes"
},

"actions": {
Expand Down

0 comments on commit db8db9a

Please sign in to comment.